From 2c53ace3b857bc0fc32ab8dd9741508564e05ce6 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Sun, 19 Jan 2025 23:32:30 +0800 Subject: [PATCH] Auto Submit --- ...nHomework__Review__index.32dc4da7.async.js | 110 +++++++++--------- umi.f2a09eb7.js => umi.280a9069.js | 2 +- 2 files changed, 56 insertions(+), 56 deletions(-) rename p__Classrooms__Lists__CommonHomework__Review__index.9e722ba8.async.js => p__Classrooms__Lists__CommonHomework__Review__index.32dc4da7.async.js (95%) rename umi.f2a09eb7.js => umi.280a9069.js (99%) diff --git a/p__Classrooms__Lists__CommonHomework__Review__index.9e722ba8.async.js b/p__Classrooms__Lists__CommonHomework__Review__index.32dc4da7.async.js similarity index 95% rename from p__Classrooms__Lists__CommonHomework__Review__index.9e722ba8.async.js rename to p__Classrooms__Lists__CommonHomework__Review__index.32dc4da7.async.js index 9814787937..136e357a2d 100644 --- a/p__Classrooms__Lists__CommonHomework__Review__index.9e722ba8.async.js +++ b/p__Classrooms__Lists__CommonHomework__Review__index.32dc4da7.async.js @@ -1,22 +1,22 @@ -!(function(){var Rb=Object.defineProperty,Ub=Object.defineProperties;var _b=Object.getOwnPropertyDescriptors;var mv=Object.getOwnPropertySymbols;var x1=Object.prototype.hasOwnProperty,b1=Object.prototype.propertyIsEnumerable;var w1=Math.pow,S1=(_e,be,oe)=>be in _e?Rb(_e,be,{enumerable:!0,configurable:!0,writable:!0,value:oe}):_e[be]=oe,Ys=(_e,be)=>{for(var oe in be||(be={}))x1.call(be,oe)&&S1(_e,oe,be[oe]);if(mv)for(var oe of mv(be))b1.call(be,oe)&&S1(_e,oe,be[oe]);return _e},rS=(_e,be)=>Ub(_e,_b(be));var E1=(_e,be)=>{var oe={};for(var se in _e)x1.call(_e,se)&&be.indexOf(se)<0&&(oe[se]=_e[se]);if(_e!=null&&mv)for(var se of mv(_e))be.indexOf(se)<0&&b1.call(_e,se)&&(oe[se]=_e[se]);return oe};var C1=(_e,be,oe)=>new Promise((se,Ce)=>{var we=Ke=>{try{De(oe.next(Ke))}catch(Ee){Ce(Ee)}},Ie=Ke=>{try{De(oe.throw(Ke))}catch(Ee){Ce(Ee)}},De=Ke=>Ke.done?se(Ke.value):Promise.resolve(Ke.value).then(we,Ie);De((oe=oe.apply(_e,be)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[2338],{35323:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},19155:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},10402:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},72295:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},93343:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},24566:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},61441:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},30631:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},43971:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},58358:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},44757:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},76298:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},16537:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},77042:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},5527:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},86902:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},53878:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},21970:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},79906:function(){"use strict"},93938:function(_e,be){"use strict";be.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},11037:function(_e,be){"use strict";be.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},99372:function(_e,be,oe){"use strict";var se=oe(59301),Ce=Object.defineProperty,we=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ke=(Je,Ye,tt)=>Ye in Je?Ce(Je,Ye,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Je[Ye]=tt,Ee=(Je,Ye)=>{for(var tt in Ye||(Ye={}))Ie.call(Ye,tt)&&Ke(Je,tt,Ye[tt]);if(we)for(var tt of we(Ye))De.call(Ye,tt)&&Ke(Je,tt,Ye[tt]);return Je};const et=Je=>React.createElement("svg",Ee({width:99,height:80,xmlns:"http://www.w3.org/2000/svg"},Je),React.createElement("title",null,"\u6279\u6CE8\u6587\u4EF6"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M62.7 79.6H0V8.5h39.3l23.4 18.4z",fill:"#F0A221"}),React.createElement("path",{d:"M71.4 71.1H8.7V0h44.4l18.3 18z",fill:"#F1C84C"}),React.createElement("path",{d:"M53.3 7.3v11.5h11.5z",fill:"#FFF"}),React.createElement("path",{d:"M34.9 13.9h-17v4.6h17zM45.9 27h-28v4.6h28zM45.9 40.6h-28v4.6h28zM45.9 53.7h-28v4.7h28z",fill:"#F0A221"}),React.createElement("path",{d:"M65 32H50v4.6h15zM65 45.6H50v4.6h15zM65 58.7H50v4.7h15z",fill:"#FFF"}),React.createElement("path",{d:"M60 56.5c.7 4.3-1 8.3-1 8.3s4-1.7 8.3-1c0 0 1.4-4.5 5.2-10L70 51.2c-5.5 3.9-10 5.3-10 5.3Z",fill:"#000"}),React.createElement("path",{d:"m64 59.2 7.1-7.1.5.5-7.1 7.1z",fill:"#F9A54C"}),React.createElement("path",{d:"M62.8 59.8c0 .7.5 1.2 1.2 1.2s1.2-.5 1.2-1.2-.5-1.2-1.2-1.2-1.2.6-1.2 1.2Z",fill:"#FFF"}),React.createElement("path",{d:"M71.6 55.8c4-2.6 6.7-4.5 12.6-10.5 10.2-10.2 16-18.3 14.3-20-1.7-1.7-9.5 3.8-20 14.3-6 6-7.6 8.6-10.5 12.6l3.6 3.6Z",fill:"#324A5E"}),React.createElement("path",{d:"m78 39.8 5.7 5.7.5-.5 1.4-1.4-5.6-5.7-1.4 1.4-.6.5Zm10.5-5.7c-.5.2-1.2.7-1.7 1.4-1.2 1.2-1.9 2.4-1.7 2.9.5.5 1.7-.5 2.9-1.7.7-.7 1.2-1.2 1.4-1.7l6.2-6.2 1.4 1.4c1.7-2.6 2.1-4.5 1.4-5-.5-.5-2.6-.2-5 1.4l1.6 1.6-6.5 5.9Z",fill:"#FFC65B"}),React.createElement("path",{d:"m49.6 36.4-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 50.4l-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 64.4l-3.8-3.9H18v-1h28.2l4.2 4.1z",fill:"#FFF"})));be.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTkiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNNjIuNyA3OS42SDBWOC41aDM5LjNsMjMuNCAxOC40eiIgZmlsbD0iI0YwQTIyMSIvPjxwYXRoIGQ9Ik03MS40IDcxLjFIOC43VjBoNDQuNGwxOC4zIDE4eiIgZmlsbD0iI0YxQzg0QyIvPjxwYXRoIGQ9Ik01My4zIDcuM3YxMS41aDExLjV6IiBmaWxsPSIjRkZGIi8+PHBhdGggZD0iTTM0LjkgMTMuOWgtMTd2NC42aDE3ek00NS45IDI3aC0yOHY0LjZoMjh6TTQ1LjkgNDAuNmgtMjh2NC42aDI4ek00NS45IDUzLjdoLTI4djQuN2gyOHoiIGZpbGw9IiNGMEEyMjEiLz48cGF0aCBkPSJNNjUgMzJINTB2NC42aDE1ek02NSA0NS42SDUwdjQuNmgxNXpNNjUgNTguN0g1MHY0LjdoMTV6IiBmaWxsPSIjRkZGIi8+PGc+PHBhdGggZD0iTTYwIDU2LjVjLjcgNC4zLTEgOC4zLTEgOC4zczQtMS43IDguMy0xYzAgMCAxLjQtNC41IDUuMi0xMEw3MCA1MS4yYy01LjUgMy45LTEwIDUuMy0xMCA1LjNaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0ibTY0IDU5LjIgNy4xLTcuMS41LjUtNy4xIDcuMXoiIGZpbGw9IiNGOUE1NEMiLz48cGF0aCBkPSJNNjIuOCA1OS44YzAgLjcuNSAxLjIgMS4yIDEuMnMxLjItLjUgMS4yLTEuMi0uNS0xLjItMS4yLTEuMi0xLjIuNi0xLjIgMS4yWiIgZmlsbD0iI0ZGRiIvPjxwYXRoIGQ9Ik03MS42IDU1LjhjNC0yLjYgNi43LTQuNSAxMi42LTEwLjUgMTAuMi0xMC4yIDE2LTE4LjMgMTQuMy0yMC0xLjctMS43LTkuNSAzLjgtMjAgMTQuMy02IDYtNy42IDguNi0xMC41IDEyLjZsMy42IDMuNloiIGZpbGw9IiMzMjRBNUUiLz48cGF0aCBkPSJtNzggMzkuOCA1LjcgNS43LjUtLjUgMS40LTEuNC01LjYtNS43LTEuNCAxLjQtLjYuNVptMTAuNS01LjdjLS41LjItMS4yLjctMS43IDEuNC0xLjIgMS4yLTEuOSAyLjQtMS43IDIuOS41LjUgMS43LS41IDIuOS0xLjcuNy0uNyAxLjItMS4yIDEuNC0xLjdsNi4yLTYuMiAxLjQgMS40YzEuNy0yLjYgMi4xLTQuNSAxLjQtNS0uNS0uNS0yLjYtLjItNSAxLjRsMS42IDEuNi02LjUgNS45WiIgZmlsbD0iI0ZGQzY1QiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiAzNi40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA1MC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA2NC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48L2c+PC9zdmc+"},44965:function(_e,be,oe){"use strict";var se=oe(59301),Ce=Object.defineProperty,we=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ke=(Je,Ye,tt)=>Ye in Je?Ce(Je,Ye,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Je[Ye]=tt,Ee=(Je,Ye)=>{for(var tt in Ye||(Ye={}))Ie.call(Ye,tt)&&Ke(Je,tt,Ye[tt]);if(we)for(var tt of we(Ye))De.call(Ye,tt)&&Ke(Je,tt,Ye[tt]);return Je};const et=Je=>React.createElement("svg",Ee({width:72,height:80,xmlns:"http://www.w3.org/2000/svg"},Je),React.createElement("title",null,"\u6587\u4EF6 "),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fill:"#F0A221",d:"M62.698 79.631H.04V8.534h39.22l23.438 18.332z"}),React.createElement("path",{d:"M71.387 71.1H8.73V.005h44.326l18.337 18.03v53.067h-.005ZM53.331 7.336v11.48h11.48L53.33 7.335Zm-8.367 6.536H17.938v4.623h27.026V13.87ZM62.26 27.024H17.857v4.623H62.26v-4.623Zm0 13.551H17.857v4.623H62.26v-4.623Zm0 13.158H17.857v4.623H62.26v-4.623Z",fill:"#F1C84C"})));be.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjRjBBMjIxIiBkPSJNNjIuNjk4IDc5LjYzMUguMDRWOC41MzRoMzkuMjJsMjMuNDM4IDE4LjMzMnoiLz48cGF0aCBkPSJNNzEuMzg3IDcxLjFIOC43M1YuMDA1aDQ0LjMyNmwxOC4zMzcgMTguMDN2NTMuMDY3aC0uMDA1Wk01My4zMzEgNy4zMzZ2MTEuNDhoMTEuNDhMNTMuMzMgNy4zMzVabS04LjM2NyA2LjUzNkgxNy45Mzh2NC42MjNoMjcuMDI2VjEzLjg3Wk02Mi4yNiAyNy4wMjRIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy41NTFIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy4xNThIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1oiIGZpbGw9IiNGMUM4NEMiLz48L2c+PC9zdmc+"},37404:function(){"use strict";function _e(ze,ee,ne,ge){ne===void 0&&(ne=0),ge===void 0&&(ge=1/0),this._name=ze,this._defaultValue=ee,this._minimum=ne,this._maximum=ge}Object.defineProperty(_e.prototype,"name",{get:function(){return this._name},set:function(ze){if(typeof ze!="string"||ze==="")throw new Error("Shape name must be a valid string.");this._name=ze}}),Object.defineProperty(_e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ze){if(typeof ze!="number"||isNaN(ze))throw new Error("The default value must be a real number, not: "+ze);this._defaultValue=ze}}),Object.defineProperty(_e.prototype,"minimum",{get:function(){return this._minimum},set:function(ze){if(typeof ze!="number"||isNaN(ze))throw new Error("Minimum must be a real number, not: "+ze);this._minimum=ze}}),Object.defineProperty(_e.prototype,"maximum",{get:function(){return this._maximum},set:function(ze){if(typeof ze!="number"||isNaN(ze))throw new Error("Maximum must be a real number, not: "+ze);this._maximum=ze}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ze,ee){var ne=go.Shape._FigureParameters[ze];return ne?ne[ee]:null},go.Shape.setFigureParameter=function(ze,ee,ne){if(!(ne instanceof _e))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+ne);if(ne.defaultValuene.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+ne.defaultValue);var ge=go.Shape._FigureParameters[ze];ge||(ge=[],go.Shape._FigureParameters[ze]=ge),ge[ee]=ne};var be=[];function oe(ze,ee){var ne=be.pop();return ne===void 0?new go.Point(ze,ee):(ne.x=ze,ne.y=ee,ne)}function se(){var ze=be.pop();return ze===void 0?new go.Point:ze}function Ce(ze){be.push(ze)}function we(ze,ee,ne,ge,ue,me,Se,Ne,ke){ke||(ke=new go.Point);var Te=ze-ne,We=ue-Se,$e=NaN,st=NaN;if(Te===0)if(We===0)ze===ne&&($e=ze,st=ee);else{var ut=(me-Ne)/We,Mt=me-ut*ue;$e=ze,st=ut*$e+Mt}else if(We===0){var nt=(ee-ge)/Te,$t=ee-nt*ze;$e=ue,st=nt*$e+$t}else{var nt=(ee-ge)/Te,ut=(me-Ne)/We,$t=ee-nt*ze,Mt=me-ut*ue;$e=(Mt-$t)/(nt-ut),st=nt*$e+$t}return ke.x=$e,ke.y=st,ke}function Ie(ze,ee,ne,ge,ue,me,Se,Ne,ke,Te,We,$e,st,ut){var Mt=1-ke,nt=ke,$t=ze*Mt+ne*nt,Pt=ee*Mt+ge*nt,dn=ne*Mt+ue*nt,zt=ge*Mt+me*nt,Xt=ue*Mt+Se*nt,fn=me*Mt+Ne*nt,an=$t*Mt+dn*nt,it=Pt*Mt+zt*nt,Ve=dn*Mt+Xt*nt,gt=zt*Mt+fn*nt,Bt=an*Mt+Ve*nt,sn=it*Mt+gt*nt;Te.x=$t,Te.y=Pt,We.x=an,We.y=it,$e.x=Bt,$e.y=sn,st.x=Ve,st.y=gt,ut.x=Xt,ut.y=fn}var De=new go.Spot(.156,.156),Ke=new go.Spot(.844,.844),Ee=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new _e("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=5),ge=Math.min(ge,ee/3),ge=Math.min(ge,ne/3);var ue=ge*Ee,me=new go.Geometry().add(new go.PathFigure(ge,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee-ge,0)).add(new go.PathSegment(go.PathSegment.Bezier,ee,ge,ee-ue,0,ee,ue)).add(new go.PathSegment(go.PathSegment.Line,ee,ne-ge)).add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,ne,ee,ne-ue,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,ge,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ge,ue,ne,0,ne-ue)).add(new go.PathSegment(go.PathSegment.Line,0,ge)).add(new go.PathSegment(go.PathSegment.Bezier,ge,0,0,ue,ue,0).close()));return ue>1&&(me.spot1=new go.Spot(0,0,ue,ue),me.spot2=new go.Spot(1,1,-ue,-ue)),me}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,ne).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,ne).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.5*ee,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ze,ee,ne){var ge=new go.Geometry(go.Geometry.Line);return ge.startX=0,ge.startY=ne/2,ge.endX=ee,ge.endY=ne/2,ge}),go.Shape.defineFigureGenerator("LineV",function(ze,ee,ne){var ge=new go.Geometry(go.Geometry.Line);return ge.startX=ee/2,ge.startY=0,ge.endX=ee/2,ge.endY=ne,ge}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,ne/2,!1).add(new go.PathSegment(go.PathSegment.Line,ee,ne/2)).add(new go.PathSegment(go.PathSegment.Move,ee/2,0)).add(new go.PathSegment(go.PathSegment.Line,ee/2,ne)))}),go.Shape.defineFigureGenerator("XLine",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)))}),go.Shape.defineFigureGenerator("LineRight",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.25*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*ee,ne)))}),go.Shape.defineFigureGenerator("LineDown",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,.25*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,.75*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)))}),go.Shape.defineFigureGenerator("LineLeft",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.75*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*ee,ne)))}),go.Shape.defineFigureGenerator("LineUp",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,.75*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.75*ne)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ze,ee,ne){var ge=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ge*ee,(1-ge)*ne,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Move,ge*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,(1-ge)*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne/2)).add(new go.PathSegment(go.PathSegment.Line,ee,ne/2)).add(new go.PathSegment(go.PathSegment.Move,ee/2,0)).add(new go.PathSegment(go.PathSegment.Line,ee/2,ne)))}),go.Shape.defineFigureGenerator("CircleLine",function(ze,ee,ne){var ge=ee/2,ue=new go.Geometry().add(new go.PathFigure(ee,ee/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ge,ge,ge,ge).close()));return ue.spot1=De,ue.spot2=Ke,ue.defaultStretch=go.GraphObject.Uniform,ue}),go.Shape.defineFigureGenerator("Line1",function(ze,ee,ne){var ge=new go.Geometry(go.Geometry.Line);return ge.startX=0,ge.startY=0,ge.endX=ee,ge.endY=ne,ge}),go.Shape.defineFigureGenerator("Line2",function(ze,ee,ne){var ge=new go.Geometry(go.Geometry.Line);return ge.startX=ee,ge.startY=0,ge.endX=0,ge.endY=ne,ge}),go.Shape.defineFigureGenerator("Curve1",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,ee,ne,Ee*ee,0,ee,(1-Ee)*ne)))}),go.Shape.defineFigureGenerator("Curve2",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,ee,ne,0,Ee*ne,(1-Ee)*ee,ne)))}),go.Shape.defineFigureGenerator("Curve3",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,ee,Ee*ne,Ee*ee,ne)))}),go.Shape.defineFigureGenerator("Curve4",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,(1-Ee)*ee,0,0,(1-Ee)*ne)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new _e("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)?ge=.1:ge<-1?ge=-1:ge>1&&(ge=1);var ue=Math.abs(ge)*ee;if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())),ueee&&(ge=ee);var ue=Math.abs(ge);if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())),ue.5&&(ge=.5);var ue=Math.abs(ge)*ee;if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())),ueee&&(ge=ee/2);var ue=Math.abs(ge);if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())),ueee&&(ge=ee/2);var ue=Math.abs(ge);if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())):me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())),ue0&&(Se.add(new go.PathSegment(go.PathSegment.Move,ee/2+Ne,ee/2)),Se.add(new go.PathSegment(go.PathSegment.Arc,0,-360,ue,ue,Ne,Ne).close())),me.spot1=De,me.spot2=Ke,me.defaultStretch=go.GraphObject.Uniform,me}),go.Shape.defineFigureGenerator("Cloud",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.08034461*ee,.1944299*ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*ee,.05349299*ne,-.09239631*ee,.07836421*ne,.1406031*ee,-.0542823*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*ee,.074219*ne,.2450511*ee,-.00697547*ne,.3776197*ee,-.01112067*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*ee,.07004196*ne,.4539471*ee,0,.6066018*ee,-.02526587*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*ee,.08370865*ne,.6914277*ee,-.01904177*ne,.8921095*ee,-.01220843*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*ee,.3194596*ne,1.036446*ee,.04105738*ne,1.020377*ee,.3022052*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*ee,.562044*ne,1.04448*ee,.360238*ne,.992256*ee,.5219009*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*ee,.8217117*ne,1.032337*ee,.5771781*ne,1.018411*ee,.8120651*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*ee,.9156953*ne,1.028411*ee,.9571472*ne,.8556702*ee,1.052487*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*ee,.9310455*ne,.7431877*ee,1.009325*ne,.5624123*ee,1.021761*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*ee,.9344623*ne,.4820677*ee,1.031761*ne,.3030112*ee,1.002796*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*ee,.870098*ne,.2329994*ee,1.01518*ne,.03213784*ee,1.01518*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*ee,.6545475*ne,-.02812061*ee,.9032597*ne,-.01205169*ee,.6835638*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*ee,.4265613*ne,-.01812061*ee,.6089503*ne,-.00606892*ee,.4555777*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*ee,.1944299*ne,-.01606892*ee,.3892545*ne,-.01205169*ee,.1944299*ne))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ze,ee,ne){var ge=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ge*ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,(1-ge)*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ge*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ge)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ge*ne).close())).setSpots(ge/2,ge/2,1-ge/2,1-ge/2)}),go.Shape.setFigureParameter("Pie",0,new _e("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new _e("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN,ue=ze?ze.parameter2:NaN;isNaN(ge)&&(ge=0),isNaN(ue)&&(ue=315);var me=ge%360;me<0&&(me+=360);var Se=ue%360,Ne=Math.min(ee,ne)/2;return new go.Geometry().add(new go.PathFigure(Ne,Ne).add(new go.PathSegment(go.PathSegment.Arc,me,Se,Ne,Ne,Ne,Ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ze,ee,ne){var ge=Ee/Math.SQRT2*.5,ue=Math.SQRT2/2,me=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(ee,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,ue*ee,me*ne,ee,(1-ge)*ne,(ue+ge)*ee,(me+ge)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()))}),go.Shape.setFigureParameter("ThickCross",0,new _e("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=30);var ue=Math.min(ge,ee)/2,me=ee/2,Se=ne/2;return new go.Geometry().add(new go.PathFigure(me-ue,0,!0).add(new go.PathSegment(go.PathSegment.Line,me+ue,0)).add(new go.PathSegment(go.PathSegment.Line,me+ue,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,ee,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,ee,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,me+ue,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,me+ue,ne)).add(new go.PathSegment(go.PathSegment.Line,me-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,me-ue,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,0,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,0,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,me-ue,Se-ue).close()))}),go.Shape.setFigureParameter("ThinCross",0,new _e("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=10);var ue=Math.min(ge,ee)/2,me=ee/2,Se=ne/2;return new go.Geometry().add(new go.PathFigure(me-ue,0,!0).add(new go.PathSegment(go.PathSegment.Line,me+ue,0)).add(new go.PathSegment(go.PathSegment.Line,me+ue,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,ee,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,ee,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,me+ue,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,me+ue,ne)).add(new go.PathSegment(go.PathSegment.Line,me-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,me-ue,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,0,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,0,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,me-ue,Se-ue).close()))}),go.Shape.setFigureParameter("ThickX",0,new _e("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;if((isNaN(ge)||ge<0)&&(ge=30),ee===0||ne===0){var ue=new go.Geometry(go.Geometry.Rectangle);return ue.startX=0,ue.startY=0,ue.endX=ee,ue.endY=ne,ue}else{var me=ee/2,Se=ne/2,Ne=Math.atan2(ne,ee),ke=ge-Math.min(Math.cos(Ne)*ge/2,me),Te=ge-Math.min(Math.sin(Ne)*ge/2,Se),ue=new go.Geometry,We=new go.PathFigure(ke,0,!0);return ue.add(We),We.add(new go.PathSegment(go.PathSegment.Line,me,.2*ne)),We.add(new go.PathSegment(go.PathSegment.Line,ee-ke,0)),We.add(new go.PathSegment(go.PathSegment.Line,ee,Te)),We.add(new go.PathSegment(go.PathSegment.Line,.8*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,ee,ne-Te)),We.add(new go.PathSegment(go.PathSegment.Line,ee-ke,ne)),We.add(new go.PathSegment(go.PathSegment.Line,me,.8*ne)),We.add(new go.PathSegment(go.PathSegment.Line,ke,ne)),We.add(new go.PathSegment(go.PathSegment.Line,0,ne-Te)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,0,Te).close()),ue}}),go.Shape.setFigureParameter("ThinX",0,new _e("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=10);var ue=new go.Geometry,me=new go.PathFigure(.1*ee,0,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne).close()),ue}),go.Shape.setFigureParameter("SquareIBeam",0,new _e("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.2);var ue=new go.Geometry,me=new go.PathFigure(0,0,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ge*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(.5+ge/2)*ee,ge*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(.5+ge/2)*ee,(1-ge)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,(1-ge)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,(1-ge)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(.5-ge/2)*ee,(1-ge)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(.5-ge/2)*ee,ge*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ge*ne).close()),ue}),go.Shape.setFigureParameter("RoundedIBeam",0,new _e("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.5);var ue=new go.Geometry,me=new go.PathFigure(0,0,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee,ne,Math.abs(1-ge)*ee,.25*ne,Math.abs(1-ge)*ee,.75*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ge*ee,.75*ne,ge*ee,.25*ne).close()),ue}),go.Shape.defineFigureGenerator("HalfEllipse",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,Ee*ee,0,ee,(.5-Ee/2)*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,ee,(.5+Ee/2)*ne,Ee*ee,ne).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,ee,0,ee,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*ee,.75*ne,.5*ee,.25*ne).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.5*ee,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,.1*ee,.8*ne,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.3*ne,0,0,.45*ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,ee,.3*ne,.55*ee,0,ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,.5*ne,.9*ee,.8*ne).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.5*ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*ee,.01*ne)).add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,.6*ee,.2*ne,ee,.25*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.55*ee,.7*ne,ee,.8*ne,.6*ee,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.75*ee,ne,.5*ee,.75*ne,.55*ee,.95*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*ee,ne)).add(new go.PathSegment(go.PathSegment.Bezier,.45*ee,.7*ne,.45*ee,.95*ne,.5*ee,.75*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.4*ee,.8*ne,0,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.49*ee,.01*ne,0,.25*ne,.4*ee,.2*ne).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.4*ee,.6*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.15*ee,ne,.5*ee,.75*ne,.45*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.6*ee,.6*ne,.55*ee,.95*ne,.5*ee,.75*ne));var me=.2,Se=.3,Ne=0,ke=me*Ee;return ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5+me+Ne)*ne,(.5-me+Se)*ee,(.5+ke+Ne)*ne,(.5-ke+Se)*ee,(.5+me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+me+Se)*ee,(.5+Ne)*ne,(.5+ke+Se)*ee,(.5+me+Ne)*ne,(.5+me+Se)*ee,(.5+ke+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5-me+Ne)*ne,(1-.5+me+Se)*ee,(.5-ke+Ne)*ne,(.5+ke+Se)*ee,(.5-me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.65*ee,.36771243*ne,(.5-ke+Se)*ee,(.5-me+Ne)*ne,(.5-me+Se+.05)*ee,(.5-ke+Ne-.02)*ne)),me=.2,Se=0,Ne=-.3,ke=me*Ee,ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+me+Se)*ee,(.5+Ne)*ne,(.5+ke+Se)*ee,(.5+me+Ne)*ne,(.5+me+Se)*ee,(.5+ke+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5-me+Ne)*ne,(1-.5+me+Se)*ee,(.5-ke+Ne)*ne,(.5+ke+Se)*ee,(.5-me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-me+Se)*ee,(.5+Ne)*ne,(.5-ke+Se)*ee,(.5-me+Ne)*ne,(.5-me+Se)*ee,(.5-ke+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ke+Se)*ee,(.5+me+Ne)*ne,(.5-me+Se)*ee,(.5+ke+Ne)*ne,(.5-ke+Se)*ee,(.5+me+Ne)*ne)),me=.2,Se=-.3,Ne=0,ke=me*Ee,ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5-me+Ne)*ne,(1-.5+me+Se-.05)*ee,(.5-ke+Ne-.02)*ne,(.5+ke+Se)*ee,(.5-me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-me+Se)*ee,(.5+Ne)*ne,(.5-ke+Se)*ee,(.5-me+Ne)*ne,(.5-me+Se)*ee,(.5-ke+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5+me+Ne)*ne,(.5-me+Se)*ee,(.5+ke+Ne)*ne,(.5-ke+Se)*ee,(.5+me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*ee,.6*ne,(.5+ke+Se)*ee,(.5+me+Ne)*ne,(.5+me+Se)*ee,(.5+ke+Ne)*ne).close()),ge.setSpots(.06,.33,.93,.68),ge}),go.Shape.defineFigureGenerator("YinYang",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*.5,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,270,180,ee*.5,ee*.5,ee*.5,ee*.5)),ue.add(new go.PathSegment(go.PathSegment.Arc,90,-180,ee*.5,ee*.75,ee*.25,ee*.25)),ue.add(new go.PathSegment(go.PathSegment.Arc,90,180,ee*.5,ee*.25,ee*.25,ee*.25));var me=.1,Se=.5,Ne=.25;return ue.add(new go.PathSegment(go.PathSegment.Move,(Se+me)*ee,Ne*ne)),ue.add(new go.PathSegment(go.PathSegment.Arc,0,-360,ee*Se,ne*Ne,me*ee,me*ee).close()),ue=new go.PathFigure(ee*.5,0,!1),ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,270,-180,ee*.5,ee*.5,ee*.5,ee*.5)),Ne=.75,ue=new go.PathFigure((Se+me)*ee,Ne*ne,!0),ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,0,360,ee*Se,ne*Ne,me*ee,me*ee).close()),ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("Peace",function(ze,ee,ne){var ge=.8535533905932737,ue=.5*ee,me=.5*ne;return new go.Geometry().add(new go.PathFigure(ue,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,ue,me,ue,me)).add(new go.PathSegment(go.PathSegment.Line,ue,ne)).add(new go.PathSegment(go.PathSegment.Move,ue,me)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Move,ue,me)).add(new go.PathSegment(go.PathSegment.Line,ge*ee,ge*ne)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=.5,Ne=.5,ke=new go.PathFigure(Se*ee,(Ne-me)*ne);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),me=.4,ue=Ee*.4;var Te=se(),We=se(),$e=se(),st=se();Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.42,Te,We,$e,st,st);var ut=se(),Mt=se(),nt=se();Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.58,st,st,nt,ut,Mt);var $t=se(),Pt=se(),dn=se();Ie(Se,Ne+me,Se-ue,Ne+me,Se-me,Ne+ue,Se-me,Ne,.42,$t,Pt,dn,st,st);var zt=se(),Xt=se(),fn=se();return Ie(Se,Ne+me,Se-ue,Ne+me,Se-me,Ne+ue,Se-me,Ne,.58,st,st,fn,zt,Xt),ke.add(new go.PathSegment(go.PathSegment.Move,fn.x*ee,fn.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,zt.x*ee,zt.y*ne,Xt.x*ee,Xt.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,$e.x*ee,$e.y*ne,Te.x*ee,Te.y*ne,We.x*ee,We.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,fn.x*ee,fn.y*ne).close()),ke.add(new go.PathSegment(go.PathSegment.Move,dn.x*ee,dn.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,nt.x*ee,nt.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,ut.x*ee,ut.y*ne,Mt.x*ee,Mt.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,dn.x*ee,dn.y*ne,$t.x*ee,$t.y*ne,Pt.x*ee,Pt.y*ne).close()),Ce(Te),Ce(We),Ce($e),Ce(st),Ce(ut),Ce(Mt),Ce(nt),Ce($t),Ce(Pt),Ce(dn),Ce(zt),Ce(Xt),Ce(fn),ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("Fragile",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*ee,0)).add(new go.PathSegment(go.PathSegment.Line,.2*ee,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.29*ee,.33*ne)).add(new go.PathSegment(go.PathSegment.Line,.35*ee,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*ee,.5*ne,ee,.25*ne,.75*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.55*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*ee,.5*ne,0,.25*ne).close()))}),go.Shape.setFigureParameter("HourGlass",0,new _e("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=30),ge>ee&&(ge=ee);var ue=(ee-ge)/2,me=ue+ge;return new go.Geometry().add(new go.PathFigure(me,.5*ne).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,ee,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,.55*ne).add(new go.PathSegment(go.PathSegment.Line,.6*ee,0)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,.55*ne).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.4,me=.4,Se=.5,Ne=.5,ke=se(),Te=se(),We=se(),$e=se(),st=new go.PathFigure((Se-me)*ee,Ne*ne,!1);ge.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne)),Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.44,We,$e,Te,ke,ke),st.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*ee,Te.y*ne,We.x*ee,We.y*ne,$e.x*ee,$e.y*ne));var ut=oe(Te.x,Te.y);Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.56,ke,ke,Te,We,$e);var Mt=oe(Te.x,Te.y);st.add(new go.PathSegment(go.PathSegment.Line,(ut.x*.1+.95*.9)*ee,ut.y*.1*ne)),st.add(new go.PathSegment(go.PathSegment.Line,.85*ee,ut.y*.1*ne)),st.add(new go.PathSegment(go.PathSegment.Line,.85*ee,0)),st.add(new go.PathSegment(go.PathSegment.Line,ee,0)),st.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),st.add(new go.PathSegment(go.PathSegment.Line,(Mt.x*.1+.9)*ee,.15*ne)),st.add(new go.PathSegment(go.PathSegment.Line,(Mt.x*.1+.9)*ee,(Mt.y*.1+.05*.9)*ne)),st.add(new go.PathSegment(go.PathSegment.Line,Mt.x*ee,Mt.y*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,We.x*ee,We.y*ne,$e.x*ee,$e.y*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne)),me=.35,ue=Ee*.35;var nt=new go.PathFigure(Se*ee,(Ne-me)*ne,!1);ge.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne));var $t=new go.PathFigure((Se-me)*ee,Ne*ne,!1);return ge.add($t),Ce(ke),Ce(Te),Ce(We),Ce($e),Ce(ut),Ce(Mt),ge.spot1=new go.Spot(.202,.257),ge.spot2=new go.Spot(.792,.739),ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("GenderFemale",function(ze,ee,ne){var ge=new go.Geometry,ue=.375,me=0,Se=-.125,Ne=ue*Ee,ke=new go.PathFigure((.525+me)*ee,(.5+ue+Se)*ne,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ue+me)*ee,(.5+Se)*ne,(.5+Ne+me)*ee,(.5+ue+Se)*ne,(.5+ue+me)*ee,(.5+Ne+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5+me)*ee,(.5-ue+Se)*ne,(1-.5+ue+me)*ee,(.5-Ne+Se)*ne,(.5+Ne+me)*ee,(.5-ue+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+me)*ee,(.5+Se)*ne,(.5-Ne+me)*ee,(.5-ue+Se)*ne,(.5-ue+me)*ee,(.5-Ne+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.475+me)*ee,(.5+ue+Se)*ne,(.5-ue+me)*ee,(.5+Ne+Se)*ne,(.5-Ne+me)*ee,(.5+ue+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.475*ee,.85*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.425*ee,.85*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.425*ee,.9*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.475*ee,.9*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.475*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.525*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.525*ee,.9*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.575*ee,.9*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.575*ee,.85*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.525*ee,.85*ne).close()),ue=.325,me=0,Se=-.125,Ne=ue*Ee;var ke=new go.PathFigure((1-.5+ue+me)*ee,(.5+Se)*ne,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5+me)*ee,(.5+ue+Se)*ne,(.5+ue+me)*ee,(.5+Ne+Se)*ne,(.5+Ne+me)*ee,(.5+ue+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+me)*ee,(.5+Se)*ne,(.5-Ne+me)*ee,(.5+ue+Se)*ne,(.5-ue+me)*ee,(.5+Ne+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5+me)*ee,(.5-ue+Se)*ne,(.5-ue+me)*ee,(.5-Ne+Se)*ne,(.5-Ne+me)*ee,(.5-ue+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ue+me)*ee,(.5+Se)*ne,(.5+Ne+me)*ee,(.5-ue+Se)*ne,(1-.5+ue+me)*ee,(.5-Ne+Se)*ne));var ke=new go.PathFigure((.525+me)*ee,(.5+ue+Se)*ne,!1);return ge.add(ke),ge.spot1=new go.Spot(.232,.136),ge.spot2=new go.Spot(.682,.611),ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("LogicImplies",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;return isNaN(ge)&&(ge=.2),new go.Geometry().add(new go.PathFigure((1-ge)*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;return isNaN(ge)&&(ge=.2),new go.Geometry().add(new go.PathFigure((1-ge)*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,ge*ee,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ge*ee,ne))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ee,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ze,ee,ne){var ge=new go.Geometry().add(new go.PathFigure(.5*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*ee,.5*ne,.5*ee,.5*ne)));return ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("LogicTruth",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Move,.5*ee,0)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Move,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Move,.25*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*ee,.5*ne))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne)).add(new go.PathSegment(go.PathSegment.Line,ee,ne))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ze,ee,ne){var ge=.5;return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,0,ge*ne)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ge*ee,ge*ne,ge*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,ne))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ze,ee,ne){var ge=.5;return new go.Geometry().add(new go.PathFigure(ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ge*ee,ge*ne,ge*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new _e("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new _e("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.3);var ue=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=.3);var me=(1-ge)*ee,Se=(.5-ue/2)*ne,Ne=(.5+ue/2)*ne,ke=new go.Geometry,Te=new go.PathFigure(0,Se,!0);ke.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,me,Se)),Te.add(new go.PathSegment(go.PathSegment.Line,me,0)),Te.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),Te.add(new go.PathSegment(go.PathSegment.Line,me,ne)),Te.add(new go.PathSegment(go.PathSegment.Line,me,Ne)),Te.add(new go.PathSegment(go.PathSegment.Line,0,Ne).close()),ke.spot1=new go.Spot(0,Se/ne);var We=we(0,Ne/ne,1,Ne/ne,me/ee,1,1,.5,se());return ke.spot2=new go.Spot(We.x,We.y),Ce(We),ke}),go.Shape.setFigureParameter("Arrow2",0,new _e("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new _e("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=30),ge>ee&&(ge=ee);var ue=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=30),ue=Math.min(ue,ne/2);var me=ee-ge,Se=(ne-ue)/2,Ne=Se+ue,ke=new go.Geometry,Te=new go.PathFigure(0,Se,!0);ke.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,me,Se)),Te.add(new go.PathSegment(go.PathSegment.Line,me,0)),Te.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),Te.add(new go.PathSegment(go.PathSegment.Line,me,ne)),Te.add(new go.PathSegment(go.PathSegment.Line,me,Ne)),Te.add(new go.PathSegment(go.PathSegment.Line,0,Ne).close()),ke.spot1=new go.Spot(0,Se/ne);var We=we(0,Ne/ne,1,Ne/ne,me/ee,1,1,.5,se());return ke.spot2=new go.Spot(We.x,We.y),Ce(We),ke}),go.Shape.defineFigureGenerator("Chevron",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne).close()),ge}),go.Shape.defineFigureGenerator("DoubleArrow",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,.214*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,1*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,.786*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,1*ne).close()),ge}),go.Shape.setFigureParameter("DoubleEndArrow",0,new _e("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.3);var ue=(.5-ge/2)*ne,me=(.5+ge/2)*ne,Se=new go.Geometry,Ne=new go.PathFigure(ee,.5*ne,!0);Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.3*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.3*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.3*ee,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,.3*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0).close());var ke=we(0,.5,.3,0,0,ue/ne,.1,ue/ne,se());return Se.spot1=new go.Spot(ke.x,ke.y),ke=we(.7,1,1,.5,0,me/ne,1,me/ne,ke),Se.spot2=new go.Spot(ke.x,ke.y),Ce(ke),Se}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new _e("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new _e("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=40);var ue=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=100);var me=(ne-ge)/2,Se=me+ge,Ne=(ne-ue)/2,ke=Ne+ue;(ge>ne||ue>ne)&&(ue>ge?(ge=ge*ne/ue,me=(ne-ge)/2,Se=me+ge,Ne=0,ke=ne):(me=0,Se=ne,Ne=0,ke=ne));var Te=new go.Geometry,We=new go.PathFigure(ee,.5*ne,!0);Te.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ke)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,.3*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,.3*ee,ke)),We.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),We.add(new go.PathSegment(go.PathSegment.Line,.3*ee,Ne)),We.add(new go.PathSegment(go.PathSegment.Line,.3*ee,me)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,Ne).close());var $e=we(0,.5,.3,Ne/ne,0,me/ne,1,me/ne,se());return Te.spot1=new go.Spot($e.x,$e.y),$e=we(.7,ke/ne,1,.5,0,Se/ne,1,Se/ne,$e),Te.spot2=new go.Spot($e.x,$e.y),Ce($e),Te}),go.Shape.setFigureParameter("IBeamArrow",0,new _e("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.3);var ue=(.5-ge/2)*ne,me=(.5+ge/2)*ne,Se=new go.Geometry,Ne=new go.PathFigure(ee,.5*ne,!0);Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0).close()),Se.spot1=new go.Spot(0,ue/ne);var ke=we(.7,1,1,.5,0,me/ne,1,me/ne,se());return Se.spot2=new go.Spot(ke.x,ke.y),Ce(ke),Se}),go.Shape.setFigureParameter("IBeamArrow2",0,new _e("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new _e("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=40);var ue=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=100);var me=(ne-ge)/2,Se=me+ge,Ne=(ne-ue)/2,ke=Ne+ue;(ge>ne||ue>ne)&&(ue>ge?(ge=ge*ne/ue,me=(ne-ge)/2,Se=me+ge,Ne=0,ke=ne):(me=0,Se=ne,Ne=0,ke=ne));var Te=new go.Geometry,We=new go.PathFigure(ee,.5*ne,!0);Te.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ke)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ke)),We.add(new go.PathSegment(go.PathSegment.Line,0,ke)),We.add(new go.PathSegment(go.PathSegment.Line,0,Ne)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,Ne)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,me)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,Ne).close()),Te.spot1=new go.Spot(0,me/ne);var $e=we(.7,ke/ne,1,.5,0,Se/ne,1,Se/ne,se());return Te.spot2=new go.Spot($e.x,$e.y),Ce($e),Te}),go.Shape.setFigureParameter("Pointer",0,new _e("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.1);var ue=new go.Geometry,me=new go.PathFigure(ee,.5*ne,!0);ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,ge*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),ue.spot1=new go.Spot(ge,.35);var Se=we(.2,.65,1,.65,0,1,1,.5,se());return ue.spot2=new go.Spot(Se.x,Se.y),Ce(Se),ue}),go.Shape.setFigureParameter("RoundedPointer",0,new _e("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.3);var ue=new go.Geometry,me=new go.PathFigure(ee,.5*ne,!0);ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ge*ee,.75*ne,ge*ee,.25*ne).close()),ue.spot1=new go.Spot(ge,.35);var Se=we(0,.65,1,.65,0,1,1,.5,se());return ue.spot2=new go.Spot(Se.x,Se.y),Ce(Se),ue}),go.Shape.setFigureParameter("SplitEndArrow",0,new _e("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.4);var ue=(.5-ge/2)*ne,me=(.5+ge/2)*ne,Se=new go.Geometry,Ne=new go.PathFigure(ee,.5*ne,!0);Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0).close()),Se.spot1=new go.Spot(.2,.3);var ke=we(.7,1,1,.5,0,me/ne,1,me/ne,se());return Se.spot2=new go.Spot(ke.x,ke.y),Ce(ke),Se}),go.Shape.setFigureParameter("SplitEndArrow2",0,new _e("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=50);var ue=(ne-ge)/2,me=ue+ge;ge>ne&&(ue=0,me=ne);var Se=new go.Geometry,Ne=new go.PathFigure(ee,.5*ne,!0);Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0).close()),Se.spot1=new go.Spot(.2,ue/ne);var ke=we(.7,1,1,.5,0,me/ne,1,me/ne,se());return Se.spot2=new go.Spot(ke.x,ke.y),Ce(ke),Se}),go.Shape.setFigureParameter("SquareArrow",0,new _e("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.7);var ue=new go.Geometry,me=new go.PathFigure(ee,.5*ne,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ge*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,ge*ee,0).close()),ue.spot1=go.Spot.TopLeft,ue.spot2=new go.Spot(ge,1),ue}),go.Shape.defineFigureGenerator("Cone1",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=Ee*.1,Se=new go.PathFigure(0,.9*ne,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,(.9+me)*ne,(.5+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-ue)*ee,ne,0,(.9+me)*ne).close()),ge.spot1=new go.Spot(.25,.5),ge.spot2=new go.Spot(.75,.97),ge}),go.Shape.defineFigureGenerator("Cone2",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.9*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.9*ne,(1-.85/.9)*ee,ne,.85/.9*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne).close());var me=new go.PathFigure(0,.9*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee,.9*ne,(1-.85/.9)*ee,.8*ne,.85/.9*ee,.8*ne)),ge.spot1=new go.Spot(.25,.5),ge.spot2=new go.Spot(.75,.82),ge}),go.Shape.defineFigureGenerator("Cube1",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var me=new go.PathFigure(.5*ee,ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),ge.spot1=new go.Spot(0,.3),ge.spot2=new go.Spot(.5,.85),ge}),go.Shape.defineFigureGenerator("Cube2",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.3*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,0).close());var me=new go.PathFigure(0,.3*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Move,.7*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),ge.spot1=new go.Spot(0,.3),ge.spot2=new go.Spot(.7,1),ge}),go.Shape.defineFigureGenerator("Cylinder1",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=5),ge=Math.min(ge,ne/3);var ue=new go.Geometry,me=Ee*.5,Se=new go.PathFigure(0,ge,!0);ue.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,Ee*ge,(.5-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,1*ee,ge,(.5+me)*ee,0,1*ee,Ee*ge)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne-ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,1*ne,1*ee,ne-Ee*ge,(.5+me)*ee,1*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ge,(.5-me)*ee,1*ne,0,ne-Ee*ge)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ge));var Ne=new go.PathFigure(ee,ge,!1);return ue.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,2*ge,1*ee,2*ge-Ee*ge,(.5+me)*ee,2*ge)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ge,(.5-me)*ee,2*ge,0,2*ge-Ee*ge)),ue.spot1=new go.Spot(0,0,0,2*ge),ue.spot2=new go.Spot(1,1),ue}),go.Shape.defineFigureGenerator("Cylinder2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=5),ge=Math.min(ge,ne/3);var ue=new go.Geometry,me=Ee*.5,Se=new go.PathFigure(0,ne-ge,!0);ue.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,0,ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,Ee*ge,(.5-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,ge,(.5+me)*ee,0,ee,Ee*ge)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne-ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,ne-Ee*ge,(.5+me)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ge,(.5-me)*ee,ne,0,ne-Ee*ge));var Ne=new go.PathFigure(0,ne-ge,!1);return ue.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne-2*ge,0,ne-ge-Ee*ge,(.5-me)*ee,ne-2*ge)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,ne-ge,(.5+me)*ee,ne-2*ge,ee,ne-ge-Ee*ge)),ue.spot1=new go.Spot(0,0),ue.spot2=new go.Spot(1,1,0,-2*ge),ue}),go.Shape.defineFigureGenerator("Cylinder3",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=5),ge=Math.min(ge,ee/3);var ue=new go.Geometry,me=Ee*.5,Se=new go.PathFigure(ge,0,!0);ue.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee-ge,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,ee-Ee*ge,0,ee,(.5-me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,ne,ee,(.5+me)*ne,ee-Ee*ge,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ge,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,Ee*ge,ne,0,(.5+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge,0,0,(.5-me)*ne,Ee*ge,0));var Ne=new go.PathFigure(ge,0,!1);return ue.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,2*ge,.5*ne,ge+Ee*ge,0,2*ge,(.5-me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ge,ne,2*ge,(.5+me)*ne,ge+Ee*ge,ne)),ue.spot1=new go.Spot(0,0,2*ge,0),ue.spot2=new go.Spot(1,1),ue}),go.Shape.defineFigureGenerator("Cylinder4",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=5),ge=Math.min(ge,ee/3);var ue=new go.Geometry,me=Ee*.5,Se=new go.PathFigure(ee-ge,0,!0);ue.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,ee-Ee*ge,0,ee,(.5-me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,ne,ee,(.5+me)*ne,ee-Ee*ge,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ge,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,Ee*ge,ne,0,(.5+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge,0,0,(.5-me)*ne,Ee*ge,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee-ge,0));var Ne=new go.PathFigure(ee-ge,0,!1);return ue.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee-2*ge,.5*ne,ee-ge-Ee*ge,0,ee-2*ge,(.5-me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,ne,ee-2*ge,(.5+me)*ne,ee-ge-Ee*ge,ne)),ue.spot1=new go.Spot(0,0),ue.spot2=new go.Spot(1,1,-2*ge,0),ue}),go.Shape.defineFigureGenerator("Prism1",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.25*ee,.25*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var me=new go.PathFigure(.25*ee,.25*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ge.spot1=new go.Spot(.408,.172),ge.spot2=new go.Spot(.833,.662),ge}),go.Shape.defineFigureGenerator("Prism2",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.25*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var me=new go.PathFigure(0,ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),me.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.5*ne)),ge.spot1=new go.Spot(.25,.5),ge.spot2=new go.Spot(.75,.75),ge}),go.Shape.defineFigureGenerator("Pyramid1",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne).close());var me=new go.PathFigure(.5*ee,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ge.spot1=new go.Spot(.25,.367),ge.spot2=new go.Spot(.75,.875),ge}),go.Shape.defineFigureGenerator("Pyramid2",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var me=new go.PathFigure(.5*ee,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.7*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.7*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.85*ne)),ge.spot1=new go.Spot(.25,.367),ge.spot2=new go.Spot(.75,.875),ge}),go.Shape.defineFigureGenerator("Actor",function(ze,ee,ne){var ge=new go.Geometry,ue=.2,me=.1,Se=Ee*ue,Ne=Ee*me,ke=.5,Te=.1,We=new go.PathFigure(ke*ee,(Te+me)*ne,!0);ge.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(ke-ue)*ee,Te*ne,(ke-Se)*ee,(Te+me)*ne,(ke-ue)*ee,(Te+Ne)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-me)*ne,(ke-ue)*ee,(Te-Ne)*ne,(ke-Se)*ee,(Te-me)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ke+ue)*ee,Te*ne,(ke+Se)*ee,(Te-me)*ne,(ke+ue)*ee,(Te-Ne)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te+me)*ne,(ke+ue)*ee,(Te+Ne)*ne,(ke+Se)*ee,(Te+me)*ne));var $e=.05,st=Ee*$e;ke=.05,Te=.25;var ut=new go.PathFigure(.5*ee,.2*ne,!0);return ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.95*ee,.2*ne)),ke=.95,Te=.25,ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke+$e)*ee,Te*ne,(ke+st)*ee,(Te-$e)*ne,(ke+$e)*ee,(Te-st)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,ee,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.35*ne)),$e=.025,st=Ee*$e,ke=.825,Te=.35,ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-$e)*ne,(ke+$e)*ee,(Te-st)*ne,(ke+st)*ee,(Te-$e)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-$e)*ee,Te*ne,(ke-st)*ee,(Te-$e)*ne,(ke-$e)*ee,(Te-st)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.8*ee,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*ee,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.7*ne)),$e=.05,st=Ee*$e,ke=.5,Te=.7,ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-$e)*ne,(ke+$e)*ee,(Te-st)*ne,(ke+st)*ee,(Te-$e)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-$e)*ee,Te*ne,(ke-st)*ee,(Te-$e)*ne,(ke-$e)*ee,(Te-st)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.45*ee,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.35*ne)),$e=.025,st=Ee*$e,ke=.175,Te=.35,ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-$e)*ne,(ke+$e)*ee,(Te-st)*ne,(ke+st)*ee,(Te-$e)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-$e)*ee,Te*ne,(ke-st)*ee,(Te-$e)*ne,(ke-$e)*ee,(Te-st)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),$e=.05,st=Ee*$e,ke=.05,Te=.25,ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-$e)*ne,(ke-$e)*ee,(Te-st)*ne,(ke-st)*ee,(Te-$e)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.2*ne)),ge.spot1=new go.Spot(.2,.2),ge.spot2=new go.Spot(.8,.65),ge}),go.Shape.setFigureParameter("Card",0,new _e("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.2);var ue=new go.Geometry,me=new go.PathFigure(ee,0,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ge*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ge*ee,0).close()),ue.spot1=new go.Spot(0,ge),ue.spot2=go.Spot.BottomRight,ue}),go.Shape.defineFigureGenerator("Collate",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,.5*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne));var me=new go.PathFigure(.5*ee,.5*ne,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ge.spot1=new go.Spot(.25,0),ge.spot2=new go.Spot(.75,.25),ge}),go.Shape.defineFigureGenerator("CreateRequest",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure(0,ue*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ue*ne)),Se.add(new go.PathSegment(go.PathSegment.Move,0,(1-ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,(1-ue)*ne)),ge}),go.Shape.defineFigureGenerator("Database",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=Ee*.1,Se=new go.PathFigure(ee,.1*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,(.9+me)*ne,(.5+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-ue)*ee,ne,0,(.9+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,(.1-me)*ne,(.5-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.1*ne,(.5+ue)*ee,0,ee,(.1-me)*ne));var Ne=new go.PathFigure(ee,.1*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.2*ne,ee,(.1+me)*ne,(.5+ue)*ee,.2*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-ue)*ee,.2*ne,0,(.1+me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ee,.2*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.3*ne,ee,(.2+me)*ne,(.5+ue)*ee,.3*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-ue)*ee,.3*ne,0,(.2+me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ee,.3*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.4*ne,ee,(.3+me)*ne,(.5+ue)*ee,.4*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,(.5-ue)*ee,.4*ne,0,(.3+me)*ne)),ge.spot1=new go.Spot(0,.4),ge.spot2=new go.Spot(1,.9),ge}),go.Shape.defineFigureGenerator("DataStorage",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.75*ee,ne,ee,0,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*ee,.9*ne,.25*ee,.1*ne).close()),ge.spot1=new go.Spot(.226,0),ge.spot2=new go.Spot(.81,1),ge}),go.Shape.defineFigureGenerator("DiskStorage",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=Ee*.1,Se=new go.PathFigure(ee,.1*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,(.9+me)*ne,(.5+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-ue)*ee,ne,0,(.9+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,(.1-me)*ne,(.5-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.1*ne,(.5+ue)*ee,0,ee,(.1-me)*ne));var Ne=new go.PathFigure(ee,.1*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.2*ne,ee,(.1+me)*ne,(.5+ue)*ee,.2*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-ue)*ee,.2*ne,0,(.1+me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ee,.2*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.3*ne,ee,(.2+me)*ne,(.5+ue)*ee,.3*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-ue)*ee,.3*ne,0,(.2+me)*ne)),ge.spot1=new go.Spot(0,.3),ge.spot2=new go.Spot(1,.9),ge}),go.Shape.defineFigureGenerator("Display",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.25*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.75*ee,ne,ee,0,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close()),ge.spot1=new go.Spot(.25,0),ge.spot2=new go.Spot(.75,1),ge}),go.Shape.defineFigureGenerator("DividedEvent",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)?ue=.2:ue<.15&&(ue=.15);var me=Ee*.2,Se=new go.PathFigure(0,.2*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,0,0,(.2-me)*ne,(.2-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,.8*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.2*ne,(.8+me)*ee,0,ee,(.2-me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,ne,ee,(.8+me)*ne,(.8+me)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*ne,(.2-me)*ee,ne,0,(.8+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne));var Ne=new go.PathFigure(0,ue*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,ue*ne)),ge}),go.Shape.defineFigureGenerator("DividedProcess",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;(isNaN(ue)||ue<.1)&&(ue=.1);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure(0,ue*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ue*ne)),ge}),go.Shape.defineFigureGenerator("Document",function(ze,ee,ne){var ge=new go.Geometry;ne=ne/.8;var ue=new go.PathFigure(0,.7*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*ee,.4*ne,.5*ee,ne).close()),ge.spot1=go.Spot.TopLeft,ge.spot2=new go.Spot(1,.6),ge}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;(isNaN(ue)||ue<.2)&&(ue=.2);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure(ue*ee,0,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,0,ue*ne)),Se.add(new go.PathSegment(go.PathSegment.Move,ee,ue*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(1-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Move,0,(1-ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Move,(1-ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,(1-ue)*ne)),ge}),go.Shape.defineFigureGenerator("ExternalProcess",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var me=new go.PathFigure(.1*ee,.4*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.9*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.6*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.4*ee,.9*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.9*ne)),ge.spot1=new go.Spot(.25,.25),ge.spot2=new go.Spot(.75,.75),ge}),go.Shape.defineFigureGenerator("File",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var me=new go.PathFigure(.75*ee,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.25*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ge.spot1=new go.Spot(0,.25),ge.spot2=go.Spot.BottomRight,ge}),go.Shape.defineFigureGenerator("Interrupt",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,.5*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne));var me=new go.PathFigure(ee,.5*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne));var Se=new go.PathFigure(ee,.5*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.5,.75),ge}),go.Shape.defineFigureGenerator("InternalStorage",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN,me=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=.1),isNaN(me)&&(me=.1);var Se=new go.PathFigure(0,0,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Ne=new go.PathFigure(ue*ee,0,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,0,me*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,me*ne)),ge}),go.Shape.defineFigureGenerator("Junction",function(ze,ee,ne){var ge=new go.Geometry,ue=1/Math.SQRT2,me=(1-1/Math.SQRT2)/2,Se=Ee*.5,Ne=.5,ke=new go.PathFigure(ee,Ne*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Ne*ee,ne,ee,(Ne+Se)*ne,(Ne+Se)*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,Ne*ne,(Ne-Se)*ee,ne,0,(Ne+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Ne*ee,0,0,(Ne-Se)*ne,(Ne-Se)*ee,0)),ke.add(new go.PathSegment(go.PathSegment.Bezier,ee,Ne*ne,(Ne+Se)*ee,0,ee,(Ne-Se)*ne));var Te=new go.PathFigure((me+ue)*ee,(me+ue)*ne,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,me*ee,me*ne)),Te.add(new go.PathSegment(go.PathSegment.Move,me*ee,(me+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Line,(me+ue)*ee,me*ne)),ge}),go.Shape.defineFigureGenerator("LinedDocument",function(ze,ee,ne){var ge=new go.Geometry;ne=ne/.8;var ue=new go.PathFigure(0,.7*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*ee,.4*ne,.5*ee,ne).close());var me=new go.PathFigure(.1*ee,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.75*ne)),ge.spot1=new go.Spot(.1,0),ge.spot2=new go.Spot(1,.6),ge}),go.Shape.defineFigureGenerator("LoopLimit",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne).close()),ge.spot1=new go.Spot(0,.25),ge.spot2=go.Spot.BottomRight,ge}),go.Shape.defineFigureGenerator("MagneticTape",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=new go.PathFigure(.5*ee,ne,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,me*ne,(me-ue)*ee,ne,0,(me+ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,0,0,(me-ue)*ne,(me-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,me*ne,(me+ue)*ee,0,ee,(me-ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me+.1)*ee,.9*ne,ee,(me+ue)*ne,(me+ue)*ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ge.spot1=new go.Spot(.15,.15),ge.spot2=new go.Spot(.85,.8),ge}),go.Shape.defineFigureGenerator("ManualInput",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne).close()),ge.spot1=new go.Spot(0,.25),ge.spot2=go.Spot.BottomRight,ge}),go.Shape.defineFigureGenerator("MessageFromUser",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.7);var me=new go.PathFigure(0,0,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ue*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=go.Spot.TopLeft,ge}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.25);var me=new go.PathFigure(0,0,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ue*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,(1-ue)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge}),go.Shape.defineFigureGenerator("MicroformRecording",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(1,.75),ge}),go.Shape.defineFigureGenerator("MultiDocument",function(ze,ee,ne){var ge=new go.Geometry;ne=ne/.8;var ue=new go.PathFigure(ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,.44*ne,.96*ee,.47*ne,.93*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.54*ne,.86*ee,.57*ne,.83*ee,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.4*ee,.4*ne,.4*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,0).close());var me=new go.PathFigure(.1*ee,.2*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.54*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.44*ne)),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.8,.77),ge}),go.Shape.defineFigureGenerator("MultiProcess",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.1*ee,.1*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.2*ne).close());var me=new go.PathFigure(.2*ee,.1*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.1*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.9*ne)),ge.spot1=new go.Spot(0,.2),ge.spot2=new go.Spot(.8,1),ge}),go.Shape.defineFigureGenerator("OfflineStorage",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=1-ue,Se=new go.PathFigure(0,0,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne).close());var Ne=new go.PathFigure(.5*ue*ee,ue*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*ue)*ee,ue*ne)),ge}),go.Shape.defineFigureGenerator("OffPageConnector",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=go.Spot.TopLeft,ge.spot2=new go.Spot(.75,1),ge}),go.Shape.defineFigureGenerator("Or",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=new go.PathFigure(ee,me*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,ne,ee,(me+ue)*ne,(me+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,me*ne,(me-ue)*ee,ne,0,(me+ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,0,0,(me-ue)*ne,(me-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,me*ne,(me+ue)*ee,0,ee,(me-ue)*ne));var Ne=new go.PathFigure(ee,.5*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,.5*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ge}),go.Shape.defineFigureGenerator("PaperTape",function(ze,ee,ne){var ge=new go.Geometry;ne=ne/.8;var ue=new go.PathFigure(0,.7*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.3*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.3*ne,.5*ee,.6*ne,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*ee,.4*ne,.5*ee,ne).close()),ge.spot1=new go.Spot(0,.49),ge.spot2=new go.Spot(1,.75),ge}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN,me=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=.1),isNaN(me)&&(me=.3);var Se=new go.PathFigure(0,0,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,(1-me)*ee,.5*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN,me=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=.1),isNaN(me)&&(me=.3);var Se=new go.PathFigure(0,0,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,(1-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(1-me)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge}),go.Shape.defineFigureGenerator("Procedure",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure((1-ue)*ee,0,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,(1-ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Move,ue*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),ge}),go.Shape.defineFigureGenerator("Process",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure(ue*ee,0,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),ge.spot2=go.Spot.BottomRight,ge}),go.Shape.defineFigureGenerator("Sort",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var me=new go.PathFigure(0,.5*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ge.spot1=new go.Spot(.25,.25),ge.spot2=new go.Spot(.75,.5),ge}),go.Shape.defineFigureGenerator("Start",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.25);var me=new go.PathFigure(ue*ee,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*ee,.5*ne,.25*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*ee,.5*ne,.25*ee,.5*ne));var Se=new go.PathFigure(ue*ee,0,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Move,(1-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,(1-ue)*ee,ne)),ge.spot1=new go.Spot(ue,0),ge.spot2=new go.Spot(1-ue,1),ge}),go.Shape.defineFigureGenerator("Terminator",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.25*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*ee,.5*ne,.25*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*ee,.5*ne,.25*ee,.5*ne)),ge.spot1=new go.Spot(.23,0),ge.spot2=new go.Spot(.77,1),ge}),go.Shape.defineFigureGenerator("TransmittalTape",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=new go.PathFigure(0,0,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.75*ee,(1-ue)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,(1-ue)*ne).close()),ge.spot1=go.Spot.TopLeft,ge}),go.Shape.defineFigureGenerator("AndGate",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=new go.PathFigure(0,0,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,(.5+ue)*ee,0,ee,(.5-ue)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,(.5+ue)*ne,(.5+ue)*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=go.Spot.TopLeft,ge.spot2=new go.Spot(.55,1),ge}),go.Shape.defineFigureGenerator("Buffer",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.5,.75),ge}),go.Shape.defineFigureGenerator("Clock",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=new go.PathFigure(ee,me*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,ne,ee,(me+ue)*ne,(me+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,me*ne,(me-ue)*ee,ne,0,(me+ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,0,0,(me-ue)*ne,(me-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,me*ne,(me+ue)*ee,0,ee,(me-ue)*ne));var Ne=new go.PathFigure(ee,me*ne,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,me*ne));var ke=new go.PathFigure(.8*ee,.75*ne,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.75*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.75*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.75*ne)),ge}),go.Shape.defineFigureGenerator("Ground",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.3*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.4*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,ne)),ge}),go.Shape.defineFigureGenerator("Inverter",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.1,me=.1,Se=.9,Ne=.5,ke=new go.PathFigure(.8*ee,.5*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,0,0)),ke.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.5*ne));var Te=new go.PathFigure((Se+me)*ee,Ne*ne,!0);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne-me)*ne,(Se+me)*ee,(Ne-ue)*ne)),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.4,.75),ge}),go.Shape.defineFigureGenerator("NandGate",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=Ee*.4,Se=Ee*.1,Ne=.1,ke=.9,Te=.5,We=new go.PathFigure(.8*ee,.5*ne,!0);ge.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,.4*ee,ne,.8*ee,(.5+me)*ne,(.4+ue)*ee,ne)),We.add(new go.PathSegment(go.PathSegment.Line,0,ne)),We.add(new go.PathSegment(go.PathSegment.Line,0,0)),We.add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)),We.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.5*ne,(.4+ue)*ee,0,.8*ee,(.5-me)*ne));var $e=new go.PathFigure((ke+Ne)*ee,Te*ne,!0);return ge.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te+Ne)*ne,(ke+Ne)*ee,(Te+Se)*ne,(ke+Se)*ee,(Te+Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne)*ee,Te*ne,(ke-Se)*ee,(Te+Ne)*ne,(ke-Ne)*ee,(Te+Se)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-Ne)*ne,(ke-Ne)*ee,(Te-Se)*ne,(ke-Se)*ee,(Te-Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne)*ee,Te*ne,(ke+Se)*ee,(Te-Ne)*ne,(ke+Ne)*ee,(Te-Se)*ne)),ge.spot1=new go.Spot(0,.05),ge.spot2=new go.Spot(.55,.95),ge}),go.Shape.defineFigureGenerator("NorGate",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*ue,Se=0,Ne=.5,ke=new go.PathFigure(.8*ee,.5*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.7*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*ee,.75*ne,.25*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.5*ne,(Se+me)*ee,(Ne-ue)*ne,.7*ee,(Ne-me)*ne)),ue=.1,me=Ee*.1,Se=.9,Ne=.5;var Te=new go.PathFigure((Se-ue)*ee,Ne*ne,!0);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),ge.spot1=new go.Spot(.2,.25),ge.spot2=new go.Spot(.6,.75),ge}),go.Shape.defineFigureGenerator("OrGate",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*ue,Se=0,Ne=.5,ke=new go.PathFigure(0,0,!0);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,(Se+me+me)*ee,(Ne-ue)*ne,.8*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.8*ee,(Ne+me)*ne,(Se+me+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*ee,.75*ne,.25*ee,.25*ne).close()),ge.spot1=new go.Spot(.2,.25),ge.spot2=new go.Spot(.75,.75),ge}),go.Shape.defineFigureGenerator("XnorGate",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*ue,Se=.2,Ne=.5,ke=new go.PathFigure(.1*ee,0,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,.1*ee,ne,.35*ee,.25*ne,.35*ee,.75*ne));var Te=new go.PathFigure(.8*ee,.5*ne,!0);ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,ne,.7*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,0,.45*ee,.75*ne,.45*ee,.25*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.5*ne,(Se+me)*ee,(Ne-ue)*ne,.7*ee,(Ne-me)*ne)),ue=.1,me=Ee*.1,Se=.9,Ne=.5;var We=new go.PathFigure((Se-ue)*ee,Ne*ne,!0);return ge.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),ge.spot1=new go.Spot(.4,.25),ge.spot2=new go.Spot(.65,.75),ge}),go.Shape.defineFigureGenerator("XorGate",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*ue,Se=.2,Ne=.5,ke=new go.PathFigure(.1*ee,0,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,.1*ee,ne,.35*ee,.25*ne,.35*ee,.75*ne));var Te=new go.PathFigure(.2*ee,0,!0);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,(Se+me)*ee,(Ne-ue)*ne,.9*ee,(Ne-me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,ne,.9*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,0,.45*ee,.75*ne,.45*ee,.25*ne).close()),ge.spot1=new go.Spot(.4,.25),ge.spot2=new go.Spot(.8,.75),ge}),go.Shape.defineFigureGenerator("Capacitor",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge}),go.Shape.defineFigureGenerator("Resistor",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.5*ne)),ge}),go.Shape.defineFigureGenerator("Inductor",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.1,me=.1,Se=.1,Ne=.5,ke=new go.PathFigure((Se-ue*.5)*ee,ne,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,0,(Se-ue)*ee,ne,(Se-me)*ee,0)),Se=.3,ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,ne,(Se+me)*ee,0,(Se+ue)*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,0,(Se-ue)*ee,ne,(Se-me)*ee,0)),Se=.5,ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,ne,(Se+me)*ee,0,(Se+ue)*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,0,(Se-ue)*ee,ne,(Se-me)*ee,0)),Se=.7,ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,ne,(Se+me)*ee,0,(Se+ue)*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,0,(Se-ue)*ee,ne,(Se-me)*ee,0)),Se=.9,ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue*.5)*ee,ne,(Se+me)*ee,0,(Se+ue)*ee,ne)),ge}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=.5,Ne=.5,ke=new go.PathFigure((Se-me)*ee,Ne*ne,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne-me)*ne,(Se+me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Move,(Se-me+.1)*ee,Ne*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me-.1)*ee,Ne*ne,Se*ee,(Ne-me)*ne,Se*ee,(Ne+me)*ne)),ge}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.75*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge}),go.Shape.defineFigureGenerator("Diode",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.5,.75),ge}),go.Shape.defineFigureGenerator("Wifi",function(ze,ee,ne){var ge=new go.Geometry,ue=ee,me=ne;ee=ee*.38,ne=ne*.6;var Se=Ee*.8,Ne=.8,ke=0,Te=.5,We=(ue-ee)/2,$e=(me-ne)/2,st=new go.PathFigure(ke*ee+We,(Te+Ne)*ne+$e,!0);ge.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne)*ee+We,Te*ne+$e,(ke-Se)*ee+We,(Te+Ne)*ne+$e,(ke-Ne)*ee+We,(Te+Se)*ne+$e)),st.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne)*ee+We,(Te-Se)*ne+$e,(ke-Se)*ee+We,(Te-Ne)*ne+$e)),st.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne+Se*.5)*ee+We,Te*ne+$e,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne+Se*.5)*ee+We,(Te-Se)*ne+$e)),st.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke-Ne+Se*.5)*ee+We,(Te+Se)*ne+$e,ke*ee+We,(Te+Ne)*ne+$e).close()),Se=Ee*.4,Ne=.4,ke=.2,Te=.5;var ut=new go.PathFigure(ke*ee+We,(Te+Ne)*ne+$e,!0);ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne)*ee+We,Te*ne+$e,(ke-Se)*ee+We,(Te+Ne)*ne+$e,(ke-Ne)*ee+We,(Te+Se)*ne+$e)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne)*ee+We,(Te-Se)*ne+$e,(ke-Se)*ee+We,(Te-Ne)*ne+$e)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne+Se*.5)*ee+We,Te*ne+$e,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne+Se*.5)*ee+We,(Te-Se)*ne+$e)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke-Ne+Se*.5)*ee+We,(Te+Se)*ne+$e,ke*ee+We,(Te+Ne)*ne+$e).close()),Se=Ee*.2,Ne=.2,ke=.5,Te=.5;var Mt=new go.PathFigure((ke-Ne)*ee+We,Te*ne+$e,!0);ge.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne)*ee+We,(Te-Se)*ne+$e,(ke-Se)*ee+We,(Te-Ne)*ne+$e)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne)*ee+We,Te*ne+$e,(ke+Se)*ee+We,(Te-Ne)*ne+$e,(ke+Ne)*ee+We,(Te-Se)*ne+$e)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne)*ee+We,(Te+Se)*ne+$e,(ke+Se)*ee+We,(Te+Ne)*ne+$e)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne)*ee+We,Te*ne+$e,(ke-Se)*ee+We,(Te+Ne)*ne+$e,(ke-Ne)*ee+We,(Te+Se)*ne+$e)),Se=Ee*.4,Ne=.4,ke=.8,Te=.5;var nt=new go.PathFigure(ke*ee+We,(Te-Ne)*ne+$e,!0);ge.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne)*ee+We,Te*ne+$e,(ke+Se)*ee+We,(Te-Ne)*ne+$e,(ke+Ne)*ee+We,(Te-Se)*ne+$e)),nt.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne)*ee+We,(Te+Se)*ne+$e,(ke+Se)*ee+We,(Te+Ne)*ne+$e)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne-Se*.5)*ee+We,Te*ne+$e,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne-Se*.5)*ee+We,(Te+Se)*ne+$e)),nt.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke+Ne-Se*.5)*ee+We,(Te-Se)*ne+$e,ke*ee+We,(Te-Ne)*ne+$e).close()),Se=Ee*.8,Ne=.8,ke=1,Te=.5;var $t=new go.PathFigure(ke*ee+We,(Te-Ne)*ne+$e,!0);return ge.add($t),$t.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne)*ee+We,Te*ne+$e,(ke+Se)*ee+We,(Te-Ne)*ne+$e,(ke+Ne)*ee+We,(Te-Se)*ne+$e)),$t.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne)*ee+We,(Te+Se)*ne+$e,(ke+Se)*ee+We,(Te+Ne)*ne+$e)),$t.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne-Se*.5)*ee+We,Te*ne+$e,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne-Se*.5)*ee+We,(Te+Se)*ne+$e)),$t.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke+Ne-Se*.5)*ee+We,(Te-Se)*ne+$e,ke*ee+We,(Te-Ne)*ne+$e).close()),ge}),go.Shape.defineFigureGenerator("Email",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var me=new go.PathFigure(0,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Move,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.54*ne)),me.add(new go.PathSegment(go.PathSegment.Move,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.54*ne)),ge}),go.Shape.defineFigureGenerator("Ethernet",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.35*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,0).close());var me=new go.PathFigure(.1*ee,ne,!0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,ne).close());var Se=new go.PathFigure(.6*ee,ne,!0,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.6*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.6*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.6*ee,ne).close());var Ne=new go.PathFigure(0,.5*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.4*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,.75*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.6*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,.25*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.6*ne)),ge}),go.Shape.defineFigureGenerator("Power",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.4,me=.4,Se=.5,Ne=.5,ke=se(),Te=se(),We=se(),$e=se();Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.5,ke,ke,Te,We,$e);var st=oe(Te.x,Te.y),ut=new go.PathFigure(Te.x*ee,Te.y*ne,!0);ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,We.x*ee,We.y*ne,$e.x*ee,$e.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne)),Ie(Se-me,Ne,Se-me,Ne-ue,Se-ue,Ne-me,Se,Ne-me,.5,We,$e,Te,ke,ke),ut.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*ee,Te.y*ne,We.x*ee,We.y*ne,$e.x*ee,$e.y*ne)),ue=Ee*.3,me=.3,Ie(Se-me,Ne,Se-me,Ne-ue,Se-ue,Ne-me,Se,Ne-me,.5,We,$e,Te,ke,ke),ut.add(new go.PathSegment(go.PathSegment.Line,Te.x*ee,Te.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,$e.x*ee,$e.y*ne,We.x*ee,We.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.5,ke,ke,Te,We,$e),ut.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*ee,Te.y*ne,$e.x*ee,$e.y*ne,We.x*ee,We.y*ne).close());var ut=new go.PathFigure(.45*ee,0,!0);return ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.5*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.5*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*ee,0).close()),Ce(ke),Ce(Te),Ce(We),Ce($e),Ce(st),ge.spot1=new go.Spot(.25,.45),ge.spot2=new go.Spot(.75,.8),ge}),go.Shape.defineFigureGenerator("Fallout",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne/2,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,180,360,ee/2,ne/2,ee/2,ne/2));function me(Se,Ne,ke){Se.add(new go.PathSegment(go.PathSegment.Move,(.3+Ne)*ee,(.8+ke)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(.5+Ne)*ee,(.5+ke)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(.1+Ne)*ee,(.5+ke)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(.3+Ne)*ee,(.8+ke)*ne).close())}return me(ue,0,0),me(ue,.4,0),me(ue,.2,-.3),ge}),go.Shape.defineFigureGenerator("IrritationHazard",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.2*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.3*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close()),ge.spot1=new go.Spot(.3,.3),ge.spot2=new go.Spot(.7,.7),ge}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.37*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.11*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.77*ee,.04*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,.49*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.37*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.63*ee,.86*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.77*ee,.91*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.34*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.34*ee,.78*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.44*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.56*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne).close()),ge}),go.Shape.defineFigureGenerator("FireHazard",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.1*ee,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.29*ee,0,-.25*ee,.63*ne,.45*ee,.44*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.51*ee,.42*ne,.48*ee,.17*ne,.54*ee,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.59*ee,.18*ne,.59*ee,.29*ne,.58*ee,.28*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.75*ee,.6*ne,.8*ee,.34*ne,.88*ee,.43*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.88*ee,.31*ne,.87*ee,.48*ne,.88*ee,.43*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,ne,1.17*ee,.76*ne,.82*ee,.8*ne).close()),ge.spot1=new go.Spot(.07,.445),ge.spot2=new go.Spot(.884,.958),ge}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=0,Se=0,Ne=ue*Ee,ke=.4*Math.SQRT2/2+.5,Te=.5-.5*Math.SQRT2/2,We=1,$e=.5,st=.5,ut=0,Mt=new go.PathFigure(ke*ee,(1-Te)*ne,!1);return ge.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,$e*ne,We*ee,.7*ne,We*ee,$e*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(st+me)*ee,(ut+me)*ne,(.5+ue+me)*ee,(.5-Ne+me)*ne,(.5+Ne+me)*ee,(.5-ue+me)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+me)*ee,(.5+Se)*ne,(.5-Ne+me)*ee,(.5-ue+Se)*ne,(.5-ue+me)*ee,(.5-Ne+Se)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+me)*ee,.9*ne,(.5-ue+me)*ee,(.5+Ne+Se)*ne,(.5-Ne+me)*ee,.9*ne)),Mt.add(new go.PathSegment(go.PathSegment.Move,(.25+me)*ee,.8*ne)),Mt.add(new go.PathSegment(go.PathSegment.Line,(.35+me)*ee,.9*ne)),Mt.add(new go.PathSegment(go.PathSegment.Line,(.2+me)*ee,.95*ne)),ge}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);ge.add(ue);var me=new go.PathFigure(ee,ne,!1);ge.add(me);var Se=new go.PathFigure(0,.5*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.5*ne,.2*ee,.35*ne,.3*ee,.35*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,.7*ee,.65*ne,.8*ee,.65*ne)),ge}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne).close()),ge}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.2*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne).close());var ue=new go.PathFigure(0,.2*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne)),ge}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.7*ee,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,0,.6*ee,.5*ne,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.7*ee,ne,.4*ee,.5*ne,ee,.5*ne).close());var me=new go.PathFigure(.45*ee,.73*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.73*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.38*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.63*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.31*ee,.27*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.56*ee,.27*ne)),ge}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);ge.add(ue);var me=new go.PathFigure(.335*ee,(1-.555)*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.335*ee,(1-.405)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*ee,(1-.405)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*ee,(1-.555)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee,.68*ne,(1-.12)*ee,.46*ne,(1-.02)*ee,.54*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.335*ee,(1-.555)*ne,.02*ee,.54*ne,.12*ee,.46*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.365*ee,(1-.595)*ne));var Se=.5-.285,Ne=.5,ke=Se,Te=Math.PI/4,We=4*(1-Math.cos(Te))/(3*Math.sin(Te)),$e=We*.5,st=Se,ut=Se,Mt=We*st,nt=We*ut;me.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-st)*ee,ke*ne,(Ne-(Mt+st)/2)*ee,(ke+(ut+nt)/2)*ne,(Ne-st)*ee,(ke+nt)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,Ne*ee,(ke-ut)*ne,(Ne-st)*ee,(ke-nt)*ne,(Ne-Mt)*ee,(ke-ut)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+st)*ee,ke*ne,(Ne+Mt)*ee,(ke-ut)*ne,(Ne+st)*ee,(ke-nt)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*ee,(1-.595)*ne,(Ne+st)*ee,(ke+nt)*ne,(Ne+(Mt+st)/2)*ee,(ke+(ut+nt)/2)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*ee,(1-.595)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*ee,(1-.555)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*ee,(1-.405)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.335*ee,(1-.405)*ne));var $t=new go.PathFigure(.2*ee,ne,!1);ge.add($t),$t.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.8*ne));var Pt=new go.PathFigure(.8*ee,ne,!1);return ge.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.8*ne)),ge}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.1*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,ne).close());var me=new go.PathFigure(.2*ee,.2*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.8*ne)),ge}),go.Shape.defineFigureGenerator("BpmnEventError",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.66*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.66*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,.5*ne).close()),ge}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);ge.add(ue);var me=new go.PathFigure(ee,ne,!1);ge.add(me);var Se=new go.PathFigure(.1*ee,ne,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne).close()),ge}),go.Shape.defineFigureGenerator("Caution",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.05*ee,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*ee,.8*ne,0,ne,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.55*ee,.1*ne,.5*ee,0,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.95*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,ne,ee,ne,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.05*ee,ne));var me=.05;return ue.add(new go.PathSegment(go.PathSegment.Move,(.5-me)*ee,.875*ne)),ue.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*ee,.875*ne,me*ee,me*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.325*ne,.575*ee,.725*ne,.625*ee,.375*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.75*ne,.375*ee,.375*ne,.425*ee,.725*ne)),ge}),go.Shape.defineFigureGenerator("Recycle",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.45*ee,.95*ne,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.185*ee,.85*ne,.17*ee,.95*ne,.15*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.235*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,.625*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.275*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.05*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.05*ee,.575*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1875*ee,.95*ne,0,.675*ne,0,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.45*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.775*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.22*ee,.775*ne));var me=new go.PathFigure(.475*ee,.2*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.225*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.275*ee,.175*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.325*ee,.05*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.4*ee,.05*ne,.35*ee,0,.375*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.575*ee,.375*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.525*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.475*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.315*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.32*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.05*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.575*ee,0,.65*ee,.05*ne,.625*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.38*ee,.0105*ne));var Se=new go.PathFigure(.675*ee,.575*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.875*ee,.525*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.775*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.85*ee,.95*ne,ee,.8*ne,ee,.85*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.95*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.65*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.85*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.725*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.775*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.775*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.775*ne)),Se.add(new go.PathSegment(go.PathSegment.Move,.675*ee,.575*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.775*ee,.775*ne)),ge}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*.5,Se=new go.PathFigure(ee,ue*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ue*ee,ne,ee,(ue+me)*ne,(ue+me)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*ne,(ue-me)*ee,ne,0,(ue+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ue*ee,0,0,(ue-me)*ne,(ue-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,ue*ne,(ue+me)*ee,0,ee,(ue-me)*ne));var Ne=new go.PathFigure(ue*ee,0,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ue*ee,.15*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ue*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,ue*ee,.85*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,0,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.15*ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ue*ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.58*ee,.1*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ue*ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.78*ee,.54*ne)),ge}),go.Shape.defineFigureGenerator("Package",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.15*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var me=new go.PathFigure(0,.15*ne,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.15*ne).close()),ge.spot1=new go.Spot(0,.1),ge.spot2=new go.Spot(1,1),ge}),go.Shape.defineFigureGenerator("Class",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var me=new go.PathFigure(0,.2*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne).close());var Se=new go.PathFigure(0,.5*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne).close()),ge}),go.Shape.defineFigureGenerator("Component",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne).close());var me=new go.PathFigure(0,.2*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close());var Se=new go.PathFigure(0,.6*ne,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.6*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.8*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne).close()),ge}),go.Shape.defineFigureGenerator("Boat Shipment",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.15*ee,.6*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.6*ne));var me=new go.PathFigure(.15*ee,.6*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.6*ne)),ge}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.66*ee,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.66*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne).close()),ge}),go.Shape.defineFigureGenerator("Workcell",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge}),go.Shape.defineFigureGenerator("Supermarket",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.66*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.66*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,.66*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge}),go.Shape.defineFigureGenerator("TruckShipment",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var me=new go.PathFigure(ee,.8*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne).close());var Se=.1,Ne=Ee*.1,ke=.2,Te=.9,We=new go.PathFigure((ke-Se)*ee,Te*ne,!0);ge.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-Se)*ne,(ke-Se)*ee,(Te-Ne)*ne,(ke-Ne)*ee,(Te-Se)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Se)*ee,Te*ne,(ke+Ne)*ee,(Te-Se)*ne,(ke+Se)*ee,(Te-Ne)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te+Se)*ne,(ke+Se)*ee,(Te+Ne)*ne,(ke+Ne)*ee,(Te+Se)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Se)*ee,Te*ne,(ke-Ne)*ee,(Te+Se)*ne,(ke-Se)*ee,(Te+Ne)*ne).close()),Se=.1,Ne=Ee*.1,ke=.8,Te=.9;var $e=new go.PathFigure((ke-Se)*ee,Te*ne,!0);return ge.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-Se)*ne,(ke-Se)*ee,(Te-Ne)*ne,(ke-Ne)*ee,(Te-Se)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Se)*ee,Te*ne,(ke+Ne)*ee,(Te-Se)*ne,(ke+Se)*ee,(Te-Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te+Se)*ne,(ke+Se)*ee,(Te+Ne)*ne,(ke+Ne)*ee,(Te+Se)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Se)*ee,Te*ne,(ke-Ne)*ee,(Te+Se)*ne,(ke-Se)*ee,(Te+Ne)*ne).close()),ge}),go.Shape.defineFigureGenerator("KanbanPost",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.2*ee,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,ne)),ge}),go.Shape.defineFigureGenerator("Forklift",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0));var me=new go.PathFigure(0,.5*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var Se=new go.PathFigure(.5*ee,.8*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.1*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.1*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.8*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.8*ne));var Ne=new go.PathFigure(.5*ee,.7*ne,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne));var ke=.1,Te=Ee*.1,We=.1,$e=.9,st=new go.PathFigure((We-ke)*ee,$e*ne,!0);ge.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,($e-ke)*ne,(We-ke)*ee,($e-Te)*ne,(We-Te)*ee,($e-ke)*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We+ke)*ee,$e*ne,(We+Te)*ee,($e-ke)*ne,(We+ke)*ee,($e-Te)*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,($e+ke)*ne,(We+ke)*ee,($e+Te)*ne,(We+Te)*ee,($e+ke)*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We-ke)*ee,$e*ne,(We-Te)*ee,($e+ke)*ne,(We-ke)*ee,($e+Te)*ne)),ke=.1,Te=Ee*.1,We=.4,$e=.9;var ut=new go.PathFigure((We-ke)*ee,$e*ne,!0);return ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,($e-ke)*ne,(We-ke)*ee,($e-Te)*ne,(We-Te)*ee,($e-ke)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(We+ke)*ee,$e*ne,(We+Te)*ee,($e-ke)*ne,(We+ke)*ee,($e-Te)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,($e+ke)*ne,(We+ke)*ee,($e+Te)*ne,(We+Te)*ee,($e+ke)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(We-ke)*ee,$e*ne,(We-Te)*ee,($e+ke)*ne,(We-ke)*ee,($e+Te)*ne)),ge}),go.Shape.defineFigureGenerator("RailShipment",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.1*ee,.4*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.4*ne).close());var me=new go.PathFigure(.45*ee,.7*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.7*ne));var Se=new go.PathFigure(.55*ee,.4*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.4*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.4*ne).close());var We=.05,$e=Ee*.05,st=.175,ut=.95,Ne=new go.PathFigure((st-We)*ee,ut*ne,!0);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut-We)*ne,(st-We)*ee,(ut-$e)*ne,(st-$e)*ee,(ut-We)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(st+We)*ee,ut*ne,(st+$e)*ee,(ut-We)*ne,(st+We)*ee,(ut-$e)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut+We)*ne,(st+We)*ee,(ut+$e)*ne,(st+$e)*ee,(ut+We)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(st-We)*ee,ut*ne,(st-$e)*ee,(ut+We)*ne,(st-We)*ee,(ut+$e)*ne));var We=.05,$e=Ee*.05,st=.375,ut=.95,ke=new go.PathFigure((st-We)*ee,ut*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut-We)*ne,(st-We)*ee,(ut-$e)*ne,(st-$e)*ee,(ut-We)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(st+We)*ee,ut*ne,(st+$e)*ee,(ut-We)*ne,(st+We)*ee,(ut-$e)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut+We)*ne,(st+We)*ee,(ut+$e)*ne,(st+$e)*ee,(ut+We)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(st-We)*ee,ut*ne,(st-$e)*ee,(ut+We)*ne,(st-We)*ee,(ut+$e)*ne));var We=.05,$e=Ee*.05,st=.625,ut=.95,Te=new go.PathFigure((st-We)*ee,ut*ne,!0);ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut-We)*ne,(st-We)*ee,(ut-$e)*ne,(st-$e)*ee,(ut-We)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(st+We)*ee,ut*ne,(st+$e)*ee,(ut-We)*ne,(st+We)*ee,(ut-$e)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut+We)*ne,(st+We)*ee,(ut+$e)*ne,(st+$e)*ee,(ut+We)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(st-We)*ee,ut*ne,(st-$e)*ee,(ut+We)*ne,(st-We)*ee,(ut+$e)*ne));var We=.05,$e=Ee*.05,st=.825,ut=.95,Mt=new go.PathFigure((st-We)*ee,ut*ne,!0);ge.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut-We)*ne,(st-We)*ee,(ut-$e)*ne,(st-$e)*ee,(ut-We)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(st+We)*ee,ut*ne,(st+$e)*ee,(ut-We)*ne,(st+We)*ee,(ut-$e)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut+We)*ne,(st+We)*ee,(ut+$e)*ne,(st+$e)*ee,(ut+We)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(st-We)*ee,ut*ne,(st-$e)*ee,(ut+We)*ne,(st-We)*ee,(ut+$e)*ne).close());var nt=new go.PathFigure(0,ne,!1);return ge.add(nt),nt.add(new go.PathSegment(go.PathSegment.Line,ee,ne).close()),ge}),go.Shape.defineFigureGenerator("Warehouse",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var me=new go.PathFigure(0,.2*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne).close());var Se=new go.PathFigure(.15*ee,ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.5*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.5*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.4*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.15*ee,ne).close());var Ne=.05,ke=Ee*.05,Te=.35,We=.775,$e=new go.PathFigure((Te-Ne)*ee,We*ne,!0);return ge.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,Te*ee,(We-Ne)*ne,(Te-Ne)*ee,(We-ke)*ne,(Te-ke)*ee,(We-Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(Te+Ne)*ee,We*ne,(Te+ke)*ee,(We-Ne)*ne,(Te+Ne)*ee,(We-ke)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,Te*ee,(We+Ne)*ne,(Te+Ne)*ee,(We+ke)*ne,(Te+ke)*ee,(We+Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(Te-Ne)*ee,We*ne,(Te-ke)*ee,(We+Ne)*ne,(Te-Ne)*ee,(We+ke)*ne).close()),ge}),go.Shape.defineFigureGenerator("ControlCenter",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.1*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne).close()),ge}),go.Shape.defineFigureGenerator("Bluetooth",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.75*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),ge}),go.Shape.defineFigureGenerator("Bookmark",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.4*ne)),ge}),go.Shape.defineFigureGenerator("Bookmark",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.4*ne)),ge}),go.Shape.defineFigureGenerator("Globe",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,.75*ee,0,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,.75*ne,.75*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.25*ee,ne,0,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,.25*ne,.25*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,.15*ee,.25*ne,.15*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,.85*ee,.75*ne,.85*ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.1675*ee,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8325*ee,.15*ne,.35*ee,.3*ne,.65*ee,.3*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.1675*ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8325*ee,.85*ne,.35*ee,.7*ne,.65*ee,.7*ne)),ge}),go.Shape.defineFigureGenerator("Wave",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.25*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,.25*ne,.1*ee,0,.2*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.7*ee,.25*ne,.425*ee,.5*ne,.575*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.25*ne,.8*ee,0,.9*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,.75*ne,.1*ee,.5*ne,.2*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.7*ee,.75*ne,.425*ee,ne,.575*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.75*ne,.8*ee,.5*ne,.9*ee,.5*ne)),ge}),go.Shape.defineFigureGenerator("Operator",function(ze,ee,ne){var ge=new go.Geometry,ue=.3,me=Ee*.3,Se=.5,Ne=.7,ke=new go.PathFigure((Se-ue)*ee,Ne*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne));var Te=new go.PathFigure(0,.7*ne,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,ee,.7*ne,0,0,ee,0)),ge}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.65*ne,.65*ee,.3*ne,.65*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,.35*ee,.5*ne,.35*ee,.3*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.3*ee,.6*ne,.1*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.65*ne,.2*ee,ne,.35*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,ne,.7*ee,.6*ne,.9*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.65*ne,.8*ee,ne,.65*ee,.95*ne)),ge}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,0,.075*ne,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*ee,ne,0,ne,.4*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.4*ne,.8*ee,ne,.85*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge}),go.Shape.defineFigureGenerator("Battery",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.4*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.1*ne));var me=new go.PathFigure(0,.6*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Move,0,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.4*ne)),ge}),go.Shape.defineFigureGenerator("Delete",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*.5,Se=.5,Ne=.5,ke=new go.PathFigure((Se-ue)*ee,Ne*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne));var Te=new go.PathFigure(.15*ee,.5*ne,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.5*ne)),ge}),go.Shape.defineFigureGenerator("Flag",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.1*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,0,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.1*ne,.15*ee,0,.35*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.1*ne,.65*ee,.2*ne,.85*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.5*ne,.85*ee,.6*ne,.65*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.35*ee,.4*ne,.15*ee,.4*ne).close()),ge}),go.Shape.defineFigureGenerator("Help",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*.5,Se=.5,Ne=.5,ke=new go.PathFigure((Se-ue)*ee,Ne*ne,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne).close()),ue=.05,me=Ee*.05,Se=.5,Ne=.8;var Te=new go.PathFigure((Se-ue)*ee,Ne*ne,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne).close()),Te.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.7*ne)),Te.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.2*ne,.75*ee,.475*ne,.75*ee,.225*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,.35*ne,.4*ee,.2*ne,.3*ee,.25*ne)),ge}),go.Shape.defineFigureGenerator("Location",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.5*ee,ne,!0).add(new go.PathSegment(go.PathSegment.Line,.75*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,.975*ee,.025*ne,.5*ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*ee,.5*ne,.5*ee,0,.025*ee,.025*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*ee,.2*ne)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*ee,.3*ne,.1*ee,.1*ne).close()))}),go.Shape.defineFigureGenerator("Lock",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var me=new go.PathFigure(.2*ee,.5*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.3*ne,.25*ee,0,.75*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.3*ne)),ge}),go.Shape.defineFigureGenerator("Unlocked",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var me=new go.PathFigure(.2*ee,.5*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.3*ne,.25*ee,0,.75*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.35*ne)),ge}),go.Shape.defineFigureGenerator("Gear",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.9375*ee,.56246875*ne,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*ee,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.80621875*ee,.4375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.763*ee,.3316875*ne,.79840625*ee,.39915625*ne,.7834375*ee,.3635*ne)).add(new go.PathSegment(go.PathSegment.Line,.8566875*ee,.23796875*ne)).add(new go.PathSegment(go.PathSegment.Line,.76825*ee,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.67596875*ee,.24184375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*ee,.19378125*ne,.64228125*ee,.2188125*ne,.603875*ee,.2021875*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*ee,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*ee,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*ee,.19378125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*ee,.239375*ne,.39759375*ee,.20190625*ne,.36053125*ee,.2176875*ne)).add(new go.PathSegment(go.PathSegment.Line,.2379375*ee,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.14953125*ee,.2379375*ne)).add(new go.PathSegment(go.PathSegment.Line,.23934375*ee,.3278125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*ee,.4375*ne,.21765625*ee,.36059375*ne,.201875*ee,.397625*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*ee,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*ee,.5625*ne)).add(new go.PathSegment(go.PathSegment.Line,.1938125*ee,.5625*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*ee,.67596875*ne,.20221875*ee,.603875*ne,.21884375*ee,.64228125*ne)).add(new go.PathSegment(go.PathSegment.Line,.1495625*ee,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.238*ee,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.3316875*ee,.76296875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*ee,.80621875*ne,.36353125*ee,.78340625*ne,.3991875*ee,.79840625*ne)).add(new go.PathSegment(go.PathSegment.Line,.43753125*ee,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*ee,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*ee,.80621875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*ee,.760625*ne,.602375*ee,.79809375*ne,.63946875*ee,.78234375*ne)).add(new go.PathSegment(go.PathSegment.Line,.76828125*ee,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.85671875*ee,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.76065625*ee,.67221875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*ee,.56246875*ne,.78234375*ee,.63940625*ne,.798125*ee,.602375*ne)).add(new go.PathSegment(go.PathSegment.Line,.9375*ee,.56246875*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*ee,.6*ne)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*ee,.5*ne,.1*ee,.1*ne).close()))}),go.Shape.defineFigureGenerator("Hand",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*ee,.3*ne,0,.375*ne,.05*ee,.325*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.45*ee,.075*ne,.3*ee,.225*ne,.4*ee,.175*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.525*ee,.075*ne,.46*ee,.05*ne,.525*ee,.05*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,.4*ne,.525*ee,.275*ne,.475*ee,.325*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,.55*ne,ee,.4*ne,ee,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*ee,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.6*ee,.7*ne,.675*ee,.55*ne,.675*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.575*ee,.85*ne,.65*ee,.7*ne,.65*ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.535*ee,ne,.61*ee,.85*ne,.61*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,.435*ee,ne,0,ne).close()),ge}),go.Shape.defineFigureGenerator("Map",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.2*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ue.add(new go.PathSegment(go.PathSegment.Move,.25*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.8*ne)),ge}),go.Shape.defineFigureGenerator("Eject",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne*.7)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.7).close());var me=new go.PathFigure(0,ne*.6,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0).close()),ge}),go.Shape.defineFigureGenerator("Pencil",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*ee,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.1*ee,.2*ne).close()))}),go.Shape.defineFigureGenerator("Building",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*1,ne*1,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.85)),ue.add(new go.PathSegment(go.PathSegment.Line,.046*ee,ne*.85)),ue.add(new go.PathSegment(go.PathSegment.Line,.046*ee,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,.046*ee,ne*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*ee,ne*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*ee,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*ee,ne*.85)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne*.85).close());var me=new go.PathFigure(.126*ee,.85*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.126*ee,.45*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.322*ee,.45*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.322*ee,.85*ne).close());var Se=new go.PathFigure(.402*ee,.85*ne,!1);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.402*ee,.45*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.598*ee,.45*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.598*ee,.85*ne).close());var Ne=new go.PathFigure(.678*ee,.85*ne,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.678*ee,.45*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.874*ee,.45*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.874*ee,.85*ne).close());var ke=new go.PathFigure(.5*ee,.1*ne,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*ee,.3*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*ee,.3*ne).close()),ge}),go.Shape.defineFigureGenerator("Staircase",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne*1,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.2,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.2,ne*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.6)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.6)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.4)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*.4)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*.2)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.2)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.15)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.15)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.35)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.35)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.15,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.15,ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.95).close()),ge}),go.Shape.defineFigureGenerator("5Bars",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne*1,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.184,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.184,ne*(1-.184)).close());var me=new go.PathFigure(ee*.204,ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.204,ne*(1-.184))),me.add(new go.PathSegment(go.PathSegment.Line,ee*.388,ne*(1-.184*2))),me.add(new go.PathSegment(go.PathSegment.Line,ee*.388,ne*1).close());var Se=new go.PathFigure(ee*.408,ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.408,ne*(1-.184*2))),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.592,ne*(1-.184*3))),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.592,ne*1).close());var Ne=new go.PathFigure(ee*.612,ne,!0);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.612,ne*(1-.184*3))),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.796,ne*(1-.184*4))),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.796,ne*1).close());var ke=new go.PathFigure(ee*.816,ne,!0);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.816,ne*(1-.184*4))),ke.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*(1-.184*5))),ke.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1).close()),ge}),go.Shape.defineFigureGenerator("PC",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,0).close());var me=new go.PathFigure(ee*.055,.07*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.07)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.1)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.055,ne*.1).close());var Se=new go.PathFigure(ee*.055,.13*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.13)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.16)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.055,ne*.16).close());var Ne=new go.PathFigure(ee*.055,.18*ne,!0);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.18)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.21)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.055,ne*.21).close());var ke=new go.PathFigure(ee*1,0,!0);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.4,0)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.65)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.65).close()),ge}),go.Shape.defineFigureGenerator("Plane",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.55*ee,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.475*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.35*ee,.525*ne,0,.4*ne,.225*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.475*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.325*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.325*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,.2*ne,.975*ee,0,ee,.08*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*ee,ne).close()),ge}),go.Shape.defineFigureGenerator("Key",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*1,ne*.5,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.9,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.15,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.15,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.6,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.65,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.7,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.85,.575*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.9,.6*ne).close()),ue.add(new go.PathSegment(go.PathSegment.Move,.17*ee,.425*ne)),ue.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*ee,.5*ne,.075*ee,.075*ne).close()),ge}),go.Shape.defineFigureGenerator("FilmTape",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,270,180,ee*0,ee*.3,ee*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.08,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.08,ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*1),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*1),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*2),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*2),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*3),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*3),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*4),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*4),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*5),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*5),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*6),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*6),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*7),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*7),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*8),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*8),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*9),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*9),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*10),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*10),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*11),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*11),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*12),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*12),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*13),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*13),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*14),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*14),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*15),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*15),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1));var me=new go.PathFigure(0,0,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*0)),me.add(new go.PathSegment(go.PathSegment.Arc,270,-180,ee*1,ee*.3,ee*.055)),me.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1));var Se=new go.PathFigure(ee*.11,ne*.1,!1);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*1+.028*0),ne*.1)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*1+.028*0),ne*.8)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.11,ne*.8).close());var Ne=new go.PathFigure(ee*(.11+.24133333*1+.028*1),ne*.1,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*2+.028*1),ne*.1)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*2+.028*1),ne*.8)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*1+.028*1),ne*.8).close());var ke=new go.PathFigure(ee*(.11+.24133333*2+.028*2),ne*.1,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*3+.028*2),ne*.1)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*3+.028*2),ne*.8)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*2+.028*2),ne*.8).close()),ge}),go.Shape.defineFigureGenerator("FloppyDisk",function(ze,ee,ne){var ge=new go.Geometry,ue=8,me=ue*Ee,Se=new go.PathFigure(ue,0,!1);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.86,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.14)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne-ue)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee-ue,ne,ee,ne-me,ee-me,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ue,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ue,me,ne,0,ne-me)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ue)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ue,0,0,me,me,0).close());var Ne=new go.PathFigure(ee*.83,0,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.83,ne*.3)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.17,ne*.3)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.17,ne*0).close());var ke=new go.PathFigure(ee*.83,ne*1,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.83,ne*.5)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.17,ne*.5)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.17,ne*1).close());var Te=new go.PathFigure(ee*.78,ne*.05,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.05)),Te.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.25)),Te.add(new go.PathSegment(go.PathSegment.Line,ee*.78,ne*.25).close()),ge}),go.Shape.defineFigureGenerator("SpeechBubble",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=15),ge=Math.min(ge,ee/3),ge=Math.min(ge,ne/3);var ue=ge*Ee,me=ne*.8,Se=new go.Geometry,Ne=new go.PathFigure(ge,0,!0);return Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee-ge,0)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,ge,ee-ue,0,ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,me-ge)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,me,ee,me-ue,ee-ue,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.7,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.55,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,ge,me)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,me-ge,ue,me,0,me-ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,ge)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ge,0,0,ue,ue,0).close()),ue>1?(Se.spot1=new go.Spot(0,0,ue,ue),Se.spot2=new go.Spot(1,.8,-ue,-ue)):(Se.spot1=go.Spot.TopLeft,Se.spot2=new go.Spot(1,.8)),Se}),go.Shape.defineFigureGenerator("Repeat",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*.45,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*.9)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.9)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.65,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.2,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.2,ne*.45).close());var me=new go.PathFigure(ee*1,ne*.55,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*1)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.55)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne*.55)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne*.1)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.1)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*0)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*0)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*.55).close()),ge}),go.Shape.defineFigureGenerator("Windows",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()).add(new go.PathSegment(go.PathSegment.Move,.4*ee,.4*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*ee,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*ee,.4*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.2*ee,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,.2*ee,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,.1*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.1*ee,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.1*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*.1,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.9)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*.9).close());var me=new go.PathFigure(ee*.1,ne*.2,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.1,ne*.25)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.22,ne*.285)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.1,ne*.32)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.1,ne*.37)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.275,ne*.32)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.275,ne*.25).close());var Se=new go.PathFigure(ee*.28,ne*.37,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.37)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.41)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.28,ne*.41).close()),ge}),go.Shape.defineFigureGenerator("Beaker",function(ze,ee,ne){var ge=new go.Geometry,ue=15,me=ue*Ee,Se=new go.PathFigure(ee*.62,ne*.475,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne-ue)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee-ue,ne,ee,ne-me,ee-me,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ue,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ue,me,ne,0,ne-me)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.38,ne*.475)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.38,ne*.03)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.36,ne*0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.64,ne*0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.62,ne*.03).close()),me>1?(ge.spot1=new go.Spot(0,0,me,me),ge.spot2=new go.Spot(1,1,-me,-me)):(ge.spot1=go.Spot.TopLeft,ge.spot2=go.Spot.BottomRight),ge}),go.Shape.defineFigureGenerator("Download",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*1,!0);ge.add(ue);var me=.1/.3;ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.755,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.93,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.64,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.61,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.39,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.36,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.07,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.755),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.8),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*(1-me)).close());var Se=new go.PathFigure(ee*.4,ne*0,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.44)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.26,ne*.44)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.66)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.26),ne*.44)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.44)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*0).close()),ge}),go.Shape.defineFigureGenerator("Bin",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*1,!0);ge.add(ue);var me=.1/.3;return ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.755,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.93,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.64,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.61,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.39,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.36,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.07,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.755),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.8),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*(1-me)).close()),ge}),go.Shape.defineFigureGenerator("Upload",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*1,!0);ge.add(ue);var me=.1/.3;ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.755,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.93,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.64,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.61,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.39,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.36,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.07,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.755),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.8),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*(1-me)).close());var Se=new go.PathFigure(ee*.5,ne*0,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.26,ne*.25)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.25)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.63)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.63)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.25)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.74,ne*.25).close()),ge}),go.Shape.defineFigureGenerator("EmptyDrink",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*.15,ne*0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.85,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*1).close()),ge}),go.Shape.defineFigureGenerator("Drink",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*.15,ne*0,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.85,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*1).close());var me=new go.PathFigure(ee*.235,ne*.28,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.765,ne*.28)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.655,ne*.97)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.345,ne*.97).close()),ge}),go.Shape.defineFigureGenerator("4Arrows",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*.5,ne*0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.65,ne*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.35)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.65,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*.35)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*.25).close()),ge}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},98598:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var _e={},be="5.0",oe={},se=null,Ce=!1,we=!1,Ie=null,De=!1,Ke=null,Ee=null,et=0;et4?parseFloat(It):5};_e.setHTML5Codebase=function(It,en){Ee=It,gt(It,en)},_e.setJavaCodebase=_e.setJavaCodebaseVersion=_e.isCompiledInstalled=_e.setPreCompiledScriptPath=_e.setPreCompiledResourcePath=function(){},_e.setHTML5CodebaseVersion=function(It,en){var En=parseFloat(It);if(En!==NaN&&En<5){console.log("The GeoGebra HTML5 codebase version "+En+" is deprecated. Using version latest instead.");return}Ke=It,Ve(It,en)},_e.getHTML5CodebaseVersion=function(){return ze},_e.getParameters=function(){return oe},_e.setFontsCSSURL=function(It){Se=It},_e.setGiacJSURL=function(It){},_e.setJNLPFile=function(It){Ye=It},_e.setJNLPBaseDir=function(It){},_e.inject=function(){function It(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var en="auto",En=oe.id,ei,An=!1,Kn=0;Kn=5)return!0;var It=_e.getAppletObject();return It&&typeof It.recalculateEnvironments=="function"?(It.recalculateEnvironments(),!0):!1},_e.startAnimation=function(){var It=_e.getAppletObject();return It&&typeof It.startAnimation=="function"?(It.startAnimation(),!0):!1},_e.stopAnimation=function(){var It=_e.getAppletObject();return It&&typeof It.stopAnimation=="function"?(It.stopAnimation(),!0):!1},_e.getAppletObject=function(){var It=oe.id!==void 0?oe.id:"ggbApplet";return window[It]},_e.resize=function(){};var Mt=function(It,en,En){var ei=document.createElement("param");ei.setAttribute("name",en),ei.setAttribute("value",En),It.appendChild(ei)},nt=function(It){return It&&It!=="false"},$t=function(It,en,En){ke(ze)<=4.2&&(En=!0);var ei=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ze||ggbHTML5LoadedCodebaseIsWebSimple&&!ne)&&(ei=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var An=document.createElement("div");An.classList.add("appletParameters","notranslate");var Kn=en.width,jt=en.height;if(en.disableAutoScale=en.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():en.disableAutoScale,en.width!==void 0)if(ke(ze)<=4.4)nt(en.showToolBar)&&(en.height-=7),nt(en.showAlgebraInput)&&(en.height-=37),en.width<605&&nt(en.showToolBar)&&(en.width=605,Kn=605);else{var Nn=100;(nt(en.showToolBar)||nt(en.showMenuBar))&&(en.hasOwnProperty("customToolBar")&&(en.customToolbar=en.customToolBar),Nn=nt(en.showMenuBar)?245:155),Kn=5?(en.appletOnLoad=function(xe){var je=It.querySelector(".ggb_preview");je&&je.parentNode.removeChild(je),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Sn),window.GGBT_wsf_view&&$(window).trigger("resize"),ii(xe)},Yt||Sn.appendChild(Zt)):An.appendChild(Zt),Sn.appendChild(An),Yt||It.appendChild(Sn),setTimeout(function(){_e.resize()},1)}else{var St=document.createElement("div");St.className="applet_scaler",St.style.position="relative",St.style.display="block",St.appendChild(An),It.appendChild(St),en.appletOnLoad=function(xe){_e.resize(),ii(xe)}}function rt(xe,je){je&&typeof je.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(xe,je.appletOnLoad):renderGGBElement(xe),Bt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",je)}function Ft(xe,je){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:xe,params:je}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Qe){rt(Qe.article,Qe.params)}),html5AppletsToProcess=null)},ke(ze)<5&&(xe.className+=" geogebraweb")):rt(xe,je)}if(ei){scriptLoadStarted=!0;for(var Ot=0;Ot0?(Gn.remove(),Sn.attr("id","fullscreencontent").show(),jQuery(ii).append(Sn),window.dispatchEvent(new Event("resize"))):$t(Gn,en,!1),window.GGBT_wsf_view.launchFullScreen(ii)}else kt=ei,$t(It,en,!1);if(!window.GGBT_wsf_view)for(jt=0;jtIt/4*3&&(Gn=It/4*3),ii=Gn/5.8,Nn.setAttribute("src",ue),Nn.setAttribute("width",Gn),Nn.setAttribute("height",ii);var Sn=(It-Gn)/2,Yt=(en-ii)/2;Nn.style.left=Sn+"px",Nn.style.top=Yt+"px",An.appendChild(Nn)}}return An.appendChild(jt),An},an=function(It){return It=It.toLowerCase(),It==="html5"||It==="screenshot"?It:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],Ve=function(It,en){if(ze=It,en){gt(ze,!0);return}var En=!Ce;if(En){var ei=ke(ze);!isNaN(ei)&&ei<4.4&&(En=!1)}var An,Kn;window.location.protocol.substr(0,4)==="http"?An=window.location.protocol:An="http:";var jt=ze.indexOf("//");jt>0?Kn=ze:jt===0?Kn=An+ze:Kn="https://www.geogebra.org/apps/5.2.814.0/";for(var Nn in it)if(ze.slice(it[Nn].length*-1)===it[Nn]||ze.slice((it[Nn].length+1)*-1)===it[Nn]+"/"){gt(Kn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&En&&!se.is3D&&!se.AV&&!se.SV&&!se.CV&&!se.EV2&&!se.CP&&!se.PC&&!se.DA&&!se.FI&&!se.PV&&!nt(oe.showToolBar)&&!nt(oe.showMenuBar)&&!nt(oe.showAlgebraInput)&&!nt(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?Kn+="webSimple/":Kn+="web3d/",gt(Kn,!1)},gt=function(It,en){if(It.requirejs){tt=It;return}It.slice(-1)!=="/"&&(It+="/"),tt=It,en===null&&(en=It.indexOf("http")===-1),ht=en,ee="web.nocache.js",ne=!1;var En=tt.split("/");En.length>1&&(!en&&En[En.length-2]==="webSimple"?(ee="webSimple.nocache.js",ne=!0):it.indexOf(En[En.length-2])>=0&&(ee=En[En.length-2]+".nocache.js")),En=It.split("/"),ze=En[En.length-3],ze.substr(0,4)==="test"?ze=ze.substr(4,1)+"."+ze.substr(5,1):(ze.substr(0,3)==="war"||ze.substr(0,4)==="beta")&&(ze="5.0");var ei=parseFloat(ze);ei!==NaN&&ei<5&&It.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ei+" is deprecated. Using version latest instead."),Ve("5.0",en))},Bt=function(It,en){window.console&&window.console.log&&(!en||typeof en.showLogging=="undefined"||en.showLogging&&en.showLogging!=="false")&&console.log(It)};oe.material_id!==void 0?$e(sn):sn();function sn(){var It=be;Ke!==null?It=Ke:parseFloat(It)<5&&(It="5.0"),Ve(It,!1),Ee!==null&>(Ee,ht),De=!0}return _e},GGBAppletUtils=function(){"use strict";function _e(){return window.GGBT_wsf_edit!==void 0}function be(De,Ke){Ke!=1?(De.style.transformOrigin="0% 0% 0px",De.style.webkitTransformOrigin="0% 0% 0px",De.style.transform="scale("+Ke+","+Ke+")",De.style.webkitTransform="scale("+Ke+","+Ke+")",De.style.maxWidth="initial",De.querySelector(".ggb_preview")!==null&&(De.querySelector(".ggb_preview").style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[0]!==void 0&&(De.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[1]!==void 0&&(De.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(De.style.transform="none",De.style.webkitTransform="none")}function oe(De,Ke,Ee,et,Je,Ye){var tt=null;if(Ye!=null&&Ye!="")for(var ht=De.parentNode;ht!=null;)if((" "+ht.className+" ").indexOf(" "+Ye+" ")>-1){tt=ht;break}else ht=ht.parentNode;var kt=0,ze=0,ee=0,ne=0,ge=0,ue=0,me=0;if(tt)kt=tt.offsetWidth,ze=Math.max(et?tt.offsetWidth:0,tt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(kt=Math.min(window.innerWidth,document.documentElement.clientWidth),ze=Math.min(window.innerHeight,document.documentElement.clientHeight),ee=kt):(kt=window.innerWidth,ze=window.innerHeight,ee=window.innerWidth),De){var Se=De.getBoundingClientRect();Se.left>0&&Se.left<=kt&&(Je===void 0||!Je)&&(document.dir==="rtl"?(ge=kt-Se.width-Se.left,ue=ee<=480?10:30):(ue=Se.left,ge=ee<=480?10:30),ne=ue+ge)}if(De&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Ne=De.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ne=40,me=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ne=0,me=40)}}return De&&((Ee===void 0||!Ee)&&Ke>0&&Ke+ne1&&(Ye=!0)),Ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ye=!0),!(De.hasOwnProperty("disableAutoScale")&&De.disableAutoScale))Je=se(De,Ke,Ye,Ee,De.scaleContainerClass);else return et;return Ye&&(!De.hasOwnProperty("scale")||et===1)?Je:Math.min(et,Je)}function we(De){var Ke=Math.min(window.innerWidth,document.documentElement.clientWidth),Ee=Math.min(window.innerHeight,document.documentElement.clientHeight),et=De.getBoundingClientRect(),Je=(Ke-et.width)/2,Ye=(Ee-et.height)/2;Ye<0&&(Ye=0),De.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Je<40?De.style.left="40px":De.style.left=Je+"px",De.style.top=Ye+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ye<40?De.style.top="40px":De.style.top=Ye+"px",De.style.left=Je+"px")}function Ie(De,Ke){var Ee=De.querySelector(".appletParameters");if(Ee){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ke.id!==Ee.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(De)}if(Ee.parentElement&&/fullscreen/.test(Ee.parentElement.className))return;var et=Ce(Ke,De);_e()&&Ee.setAttribute("data-param-scale",et);for(var Je=null,Ye=0;Ye=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(_e){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(_e){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(_e){var be=c[_e];return be==null?null:be},r=d,webModule.__errFn=e}function B(){function _e(De){var Ke=De.lastIndexOf(rb);Ke==-1&&(Ke=De.length);var Ee=De.indexOf(sb);Ee==-1&&(Ee=De.length);var et=De.lastIndexOf(tb,Math.min(Ee,Ke));return et>=O?De.substring(O,et+P):W}function be(De){if(!De.match(/^\w+:\/\//)){var Ke=o.createElement(ub);Ke.src=De+vb,De=_e(Ke.src)}return De}function oe(){var De=__gwt_getMetaProperty(wb);return De!=null?De:W}function se(){for(var De=o.getElementsByTagName(_),Ke=O;KeO?De[De.length-P].href:W}function we(){var De=o.location;return De.href==De.protocol+zb+De.host+De.pathname+De.search+De.hash}var Ie=oe();return Ie==W&&(Ie=se()),Ie==W&&(Ie=Ce()),Ie==W&&we()&&(Ie=_e(o.location.href)),Ie=be(Ie),Ie}function C(_e){return _e.match(/^\//)||_e.match(/^[a-zA-Z]+:\/\//)?_e:webModule.__moduleBase+_e}function D(){var _e=[],be=O,oe=[],se=[];function Ce(De){var Ke=se[De](),Ee=oe[De];if(Ke in Ee)return Ke;var et=[];for(var Je in Ee)et[Ee[Je]]=Je;throw r&&r(De,et,Ke),null}if(__gwt_isKnownPropertyValue=function(De,Ke){return Ke in oe[De]},webModule.__getPropMap=function(){var De={};for(var Ke in oe)oe.hasOwnProperty(Ke)&&(De[Ke]=Ce(Ke));return De},webModule.__computePropValue=Ce,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var we;try{we=Cb;var Ie=we.indexOf(Db);Ie!=-1&&(be=parseInt(we.substring(Ie+P),$),we=we.substring(O,Ie))}catch(De){}return webModule.__softPermutationId=be,C(we+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},58788:function(_e,be,oe){"use strict";oe.d(be,{Ax:function(){return Ie},Ds:function(){return De},KI:function(){return Ee},SI:function(){return we},f1:function(){return Ce}});var se=oe(10148);function Ce(et){let Je=!0;if(et.length>0){for(let Ye=0;Ye4&&Re.slice(0,4)==="data"&&ft.test(Me)){if(Me.charAt(4)==="-"){const vt=Me.slice(5).replace(ct,je);He="data"+vt.charAt(0).toUpperCase()+vt.slice(1)}else{const vt=Me.slice(4);if(!ct.test(vt)){let At=vt.replace(Ge,xe);At.charAt(0)!=="-"&&(At="-"+At),Me="data"+At}}dt=ei}return new dt(He,Me)}function xe(he){return"-"+he.toLowerCase()}function je(he){return he.charAt(1).toUpperCase()}const Qe={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Oe(he){const Me=String(he||"").trim();return Me?Me.split(/[ \t\n\r\f]+/g):[]}function xt(he){return he.join(" ").trim()}var hn=oe(58970),Pn=hn.default||hn;const wt=Mn("end"),nn=Mn("start");function Mn(he){return Me;function Me(Re){const He=Re&&Re.position&&Re.position[he]||{};if(typeof He.line=="number"&&He.line>0&&typeof He.column=="number"&&He.column>0)return{line:He.line,column:He.column,offset:typeof He.offset=="number"&&He.offset>-1?He.offset:void 0}}}function Zn(he){const Me=nn(he),Re=wt(he);if(Me&&Re)return{start:Me,end:Re}}function li(he){return!he||typeof he!="object"?"":"position"in he||"type"in he?Mi(he.position):"start"in he||"end"in he?Mi(he):"line"in he||"column"in he?xi(he):""}function xi(he){return Si(he&&he.line)+":"+Si(he&&he.column)}function Mi(he){return xi(he&&he.start)+"-"+xi(he&&he.end)}function Si(he){return he&&typeof he=="number"?he:1}class Ri extends Error{constructor(Me,Re,He){super(),typeof Re=="string"&&(He=Re,Re=void 0);let dt="",vt={},At=!1;if(Re&&("line"in Re&&"column"in Re?vt={place:Re}:"start"in Re&&"end"in Re?vt={place:Re}:"type"in Re?vt={ancestors:[Re],place:Re.position}:vt=Ys({},Re)),typeof Me=="string"?dt=Me:!vt.cause&&Me&&(At=!0,dt=Me.message,vt.cause=Me),!vt.ruleId&&!vt.source&&typeof He=="string"){const Tn=He.indexOf(":");Tn===-1?vt.ruleId=He:(vt.source=He.slice(0,Tn),vt.ruleId=He.slice(Tn+1))}if(!vt.place&&vt.ancestors&&vt.ancestors){const Tn=vt.ancestors[vt.ancestors.length-1];Tn&&(vt.place=Tn.position)}const Jt=vt.place&&"start"in vt.place?vt.place.start:vt.place;this.ancestors=vt.ancestors||void 0,this.cause=vt.cause||void 0,this.column=Jt?Jt.column:void 0,this.fatal=void 0,this.file,this.message=dt,this.line=Jt?Jt.line:void 0,this.name=li(vt.place)||"1:1",this.place=vt.place||void 0,this.reason=this.message,this.ruleId=vt.ruleId||void 0,this.source=vt.source||void 0,this.stack=At&&vt.cause&&typeof vt.cause.stack=="string"?vt.cause.stack:"",this.actual,this.expected,this.note,this.url}}Ri.prototype.file="",Ri.prototype.name="",Ri.prototype.reason="",Ri.prototype.message="",Ri.prototype.stack="",Ri.prototype.column=void 0,Ri.prototype.line=void 0,Ri.prototype.ancestors=void 0,Ri.prototype.cause=void 0,Ri.prototype.fatal=void 0,Ri.prototype.place=void 0,Ri.prototype.ruleId=void 0,Ri.prototype.source=void 0;const lr={}.hasOwnProperty,dr=new Map,ur=/[A-Z]/g,Sr=/-([a-z])/g,Wr=new Set(["table","tbody","thead","tfoot","tr"]),Gi=new Set(["td","th"]),Zr="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Yi(he,Me){if(!Me||Me.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const Re=Me.filePath||void 0;let He;if(Me.development){if(typeof Me.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");He=qt(Re,Me.jsxDEV)}else{if(typeof Me.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof Me.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");He=ln(Re,Me.jsx,Me.jsxs)}const dt={Fragment:Me.Fragment,ancestors:[],components:Me.components||{},create:He,elementAttributeNameCase:Me.elementAttributeNameCase||"react",evaluater:Me.createEvaluater?Me.createEvaluater():void 0,filePath:Re,ignoreInvalidStyle:Me.ignoreInvalidStyle||!1,passKeys:Me.passKeys!==!1,passNode:Me.passNode||!1,schema:Me.space==="svg"?Ot:Ft,stylePropertyNameCase:Me.stylePropertyNameCase||"dom",tableCellAlignToStyle:Me.tableCellAlignToStyle!==!1},vt=Ue(dt,he,void 0);return vt&&typeof vt!="string"?vt:dt.create(he,dt.Fragment,{children:vt||void 0},void 0)}function Ue(he,Me,Re){if(Me.type==="element")return no(he,Me,Re);if(Me.type==="mdxFlowExpression"||Me.type==="mdxTextExpression")return pr(he,Me);if(Me.type==="mdxJsxFlowElement"||Me.type==="mdxJsxTextElement")return Fo(he,Me,Re);if(Me.type==="mdxjsEsm")return fo(he,Me);if(Me.type==="root")return Vo(he,Me,Re);if(Me.type==="text")return Io(he,Me)}function no(he,Me,Re){const He=he.schema;let dt=He;Me.tagName.toLowerCase()==="svg"&&He.space==="html"&&(dt=Ot,he.schema=dt),he.ancestors.push(Me);const vt=In(he,Me.tagName,!1),At=Nt(he,Me);let Jt=Un(he,Me);return Wr.has(Me.tagName)&&(Jt=Jt.filter(function(Tn){return typeof Tn=="string"?!nt(Tn):!0})),Oi(he,At,vt,Me),on(At,Jt),he.ancestors.pop(),he.schema=He,he.create(Me,vt,At,Re)}function pr(he,Me){if(Me.data&&Me.data.estree&&he.evaluater){const He=Me.data.estree.body[0];return He.type,he.evaluater.evaluateExpression(He.expression)}zn(he,Me.position)}function fo(he,Me){if(Me.data&&Me.data.estree&&he.evaluater)return he.evaluater.evaluateProgram(Me.data.estree);zn(he,Me.position)}function Fo(he,Me,Re){const He=he.schema;let dt=He;Me.name==="svg"&&He.space==="html"&&(dt=Ot,he.schema=dt),he.ancestors.push(Me);const vt=Me.name===null?he.Fragment:In(he,Me.name,!0),At=On(he,Me),Jt=Un(he,Me);return Oi(he,At,vt,Me),on(At,Jt),he.ancestors.pop(),he.schema=He,he.create(Me,vt,At,Re)}function Vo(he,Me,Re){const He={};return on(He,Un(he,Me)),he.create(Me,he.Fragment,He,Re)}function Io(he,Me){return Me.value}function Oi(he,Me,Re,He){typeof Re!="string"&&Re!==he.Fragment&&he.passNode&&(Me.node=He)}function on(he,Me){if(Me.length>0){const Re=Me.length>1?Me:Me[0];Re&&(he.children=Re)}}function ln(he,Me,Re){return He;function He(dt,vt,At,Jt){const $n=Array.isArray(At.children)?Re:Me;return Jt?$n(vt,At,Jt):$n(vt,At)}}function qt(he,Me){return Re;function Re(He,dt,vt,At){const Jt=Array.isArray(vt.children),Tn=nn(He);return Me(dt,vt,At,Jt,{columnNumber:Tn?Tn.column-1:void 0,fileName:he,lineNumber:Tn?Tn.line:void 0},void 0)}}function Nt(he,Me){const Re={};let He,dt;for(dt in Me.properties)if(dt!=="children"&&lr.call(Me.properties,dt)){const vt=Vt(he,dt,Me.properties[dt]);if(vt){const[At,Jt]=vt;he.tableCellAlignToStyle&&At==="align"&&typeof Jt=="string"&&Gi.has(Me.tagName)?He=Jt:Re[At]=Jt}}if(He){const vt=Re.style||(Re.style={});vt[he.stylePropertyNameCase==="css"?"text-align":"textAlign"]=He}return Re}function On(he,Me){const Re={};for(const He of Me.attributes)if(He.type==="mdxJsxExpressionAttribute")if(He.data&&He.data.estree&&he.evaluater){const vt=He.data.estree.body[0];vt.type;const At=vt.expression;At.type;const Jt=At.properties[0];Jt.type,Object.assign(Re,he.evaluater.evaluateExpression(Jt.argument))}else zn(he,Me.position);else{const dt=He.name;let vt;if(He.value&&typeof He.value=="object")if(He.value.data&&He.value.data.estree&&he.evaluater){const Jt=He.value.data.estree.body[0];Jt.type,vt=he.evaluater.evaluateExpression(Jt.expression)}else zn(he,Me.position);else vt=He.value===null?!0:He.value;Re[dt]=vt}return Re}function Un(he,Me){const Re=[];let He=-1;const dt=he.passKeys?new Map:dr;for(;++Hedt?0:dt+Me:Me=Me>dt?dt:Me,Re=Re>0?Re:0,He.length<1e4)At=Array.from(He),At.unshift(Me,Re),he.splice(...At);else for(Re&&he.splice(Me,Re);vt0?(gn(he,he.length,0,Me),he):Me}class Bn{constructor(Me){this.left=Me?[...Me]:[],this.right=[]}get(Me){if(Me<0||Me>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+Me+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return Methis.left.length?this.right.slice(this.right.length-He+this.left.length,this.right.length-Me+this.left.length).reverse():this.left.slice(Me).concat(this.right.slice(this.right.length-He+this.left.length).reverse())}splice(Me,Re,He){const dt=Re||0;this.setCursor(Math.trunc(Me));const vt=this.right.splice(this.right.length-dt,Number.POSITIVE_INFINITY);return He&&Vn(this.left,He),vt.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(Me){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(Me)}pushMany(Me){this.setCursor(Number.POSITIVE_INFINITY),Vn(this.left,Me)}unshift(Me){this.setCursor(0),this.right.push(Me)}unshiftMany(Me){this.setCursor(0),Vn(this.right,Me.reverse())}setCursor(Me){if(!(Me===this.left.length||Me>this.left.length&&this.right.length===0||Me<0&&this.left.length===0))if(Me-1&&he.test(String.fromCharCode(Re))}}function po(he,Me,Re,He){const dt=He?He-1:Number.POSITIVE_INFINITY;let vt=0;return At;function At(Tn){return Fn(Tn)?(he.enter(Re),Jt(Tn)):Me(Tn)}function Jt(Tn){return Fn(Tn)&&vt++At))return;const ot=Me.events.length;let Tt=ot,mn,Rt;for(;Tt--;)if(Me.events[Tt][0]==="exit"&&Me.events[Tt][1].type==="chunkFlow"){if(mn){Rt=Me.events[Tt][1].end;break}mn=!0}for(fe(He),qe=ot;qeye;){const Xe=Re[Be];Me.containerState=Xe[1],Xe[0].exit.call(Me,he)}Re.length=ye}function pe(){dt.write([null]),vt=void 0,dt=void 0,Me.containerState._closeFlow=void 0}}function Ii(he,Me,Re){return po(he,he.attempt(this.parser.constructs.document,Me,Re),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const lt={partial:!0,tokenize:Rr};function Rr(he,Me,Re){return He;function He(vt){return Fn(vt)?po(he,dt,"linePrefix")(vt):dt(vt)}function dt(vt){return vt===null||Gt(vt)?Me(vt):Re(vt)}}const Ko={resolve:yo,tokenize:Mr},Yr={partial:!0,tokenize:mr};function yo(he){return Jn(he),he}function Mr(he,Me){let Re;return He;function He(Jt){return he.enter("content"),Re=he.enter("chunkContent",{contentType:"content"}),dt(Jt)}function dt(Jt){return Jt===null?vt(Jt):Gt(Jt)?he.check(Yr,At,vt)(Jt):(he.consume(Jt),dt)}function vt(Jt){return he.exit("chunkContent"),he.exit("content"),Me(Jt)}function At(Jt){return he.consume(Jt),he.exit("chunkContent"),Re.next=he.enter("chunkContent",{contentType:"content",previous:Re}),Re=Re.next,dt}}function mr(he,Me,Re){const He=this;return dt;function dt(At){return he.exit("chunkContent"),he.enter("lineEnding"),he.consume(At),he.exit("lineEnding"),po(he,vt,"linePrefix")}function vt(At){if(At===null||Gt(At))return Re(At);const Jt=He.events[He.events.length-1];return!He.parser.constructs.disable.null.includes("codeIndented")&&Jt&&Jt[1].type==="linePrefix"&&Jt[2].sliceSerialize(Jt[1],!0).length>=4?Me(At):he.interrupt(He.parser.constructs.flow,Re,Me)(At)}}const co={tokenize:Uo};function Uo(he){const Me=this,Re=he.attempt(lt,He,he.attempt(this.parser.constructs.flowInitial,dt,po(he,he.attempt(this.parser.constructs.flow,dt,he.attempt(Ko,dt)),"linePrefix")));return Re;function He(vt){if(vt===null){he.consume(vt);return}return he.enter("lineEndingBlank"),he.consume(vt),he.exit("lineEndingBlank"),Me.currentConstruct=void 0,Re}function dt(vt){if(vt===null){he.consume(vt);return}return he.enter("lineEnding"),he.consume(vt),he.exit("lineEnding"),Me.currentConstruct=void 0,Re}}const ao={resolveAll:xr()},ra=Qi("string"),gr=Qi("text");function Qi(he){return{resolveAll:xr(he==="text"?fi:void 0),tokenize:Me};function Me(Re){const He=this,dt=this.parser.constructs[he],vt=Re.attempt(dt,At,Jt);return At;function At(Cn){return $n(Cn)?vt(Cn):Jt(Cn)}function Jt(Cn){if(Cn===null){Re.consume(Cn);return}return Re.enter("data"),Re.consume(Cn),Tn}function Tn(Cn){return $n(Cn)?(Re.exit("data"),vt(Cn)):(Re.consume(Cn),Tn)}function $n(Cn){if(Cn===null)return!0;const ci=dt[Cn];let si=-1;if(ci)for(;++si=3&&($n===null||Gt($n))?(he.exit("thematicBreak"),Me($n)):Re($n)}function Tn($n){return $n===dt?(he.consume($n),He++,Tn):(he.exit("thematicBreakSequence"),Fn($n)?po(he,Jt,"whitespace")($n):Jt($n))}}const ca={continuation:{tokenize:cs},exit:ks,name:"list",tokenize:ts},oa={partial:!0,tokenize:Ds},Ra={partial:!0,tokenize:Qa};function ts(he,Me,Re){const He=this,dt=He.events[He.events.length-1];let vt=dt&&dt[1].type==="linePrefix"?dt[2].sliceSerialize(dt[1],!0).length:0,At=0;return Jt;function Jt(Yn){const zr=He.containerState.type||(Yn===42||Yn===43||Yn===45?"listUnordered":"listOrdered");if(zr==="listUnordered"?!He.containerState.marker||Yn===He.containerState.marker:Xi(Yn)){if(He.containerState.type||(He.containerState.type=zr,he.enter(zr,{_container:!0})),zr==="listUnordered")return he.enter("listItemPrefix"),Yn===42||Yn===45?he.check(bo,Re,$n)(Yn):$n(Yn);if(!He.interrupt||Yn===49)return he.enter("listItemPrefix"),he.enter("listItemValue"),Tn(Yn)}return Re(Yn)}function Tn(Yn){return Xi(Yn)&&++At<10?(he.consume(Yn),Tn):(!He.interrupt||At<2)&&(He.containerState.marker?Yn===He.containerState.marker:Yn===41||Yn===46)?(he.exit("listItemValue"),$n(Yn)):Re(Yn)}function $n(Yn){return he.enter("listItemMarker"),he.consume(Yn),he.exit("listItemMarker"),He.containerState.marker=He.containerState.marker||Yn,he.check(lt,He.interrupt?Re:Cn,he.attempt(oa,si,ci))}function Cn(Yn){return He.containerState.initialBlankLine=!0,vt++,si(Yn)}function ci(Yn){return Fn(Yn)?(he.enter("listItemPrefixWhitespace"),he.consume(Yn),he.exit("listItemPrefixWhitespace"),si):Re(Yn)}function si(Yn){return He.containerState.size=vt+He.sliceSerialize(he.exit("listItemPrefix"),!0).length,Me(Yn)}}function cs(he,Me,Re){const He=this;return He.containerState._closeFlow=void 0,he.check(lt,dt,vt);function dt(Jt){return He.containerState.furtherBlankLines=He.containerState.furtherBlankLines||He.containerState.initialBlankLine,po(he,Me,"listItemIndent",He.containerState.size+1)(Jt)}function vt(Jt){return He.containerState.furtherBlankLines||!Fn(Jt)?(He.containerState.furtherBlankLines=void 0,He.containerState.initialBlankLine=void 0,At(Jt)):(He.containerState.furtherBlankLines=void 0,He.containerState.initialBlankLine=void 0,he.attempt(Ra,Me,At)(Jt))}function At(Jt){return He.containerState._closeFlow=!0,He.interrupt=void 0,po(he,he.attempt(ca,Me,Re),"linePrefix",He.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Jt)}}function Qa(he,Me,Re){const He=this;return po(he,dt,"listItemIndent",He.containerState.size+1);function dt(vt){const At=He.events[He.events.length-1];return At&&At[1].type==="listItemIndent"&&At[2].sliceSerialize(At[1],!0).length===He.containerState.size?Me(vt):Re(vt)}}function ks(he){he.exit(this.containerState.type)}function Ds(he,Me,Re){const He=this;return po(he,dt,"listItemPrefixWhitespace",He.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function dt(vt){const At=He.events[He.events.length-1];return!Fn(vt)&&At&&At[1].type==="listItemPrefixWhitespace"?Me(vt):Re(vt)}}const jn={continuation:{tokenize:Ql},exit:Kl,name:"blockQuote",tokenize:gs};function gs(he,Me,Re){const He=this;return dt;function dt(At){if(At===62){const Jt=He.containerState;return Jt.open||(he.enter("blockQuote",{_container:!0}),Jt.open=!0),he.enter("blockQuotePrefix"),he.enter("blockQuoteMarker"),he.consume(At),he.exit("blockQuoteMarker"),vt}return Re(At)}function vt(At){return Fn(At)?(he.enter("blockQuotePrefixWhitespace"),he.consume(At),he.exit("blockQuotePrefixWhitespace"),he.exit("blockQuotePrefix"),Me):(he.exit("blockQuotePrefix"),Me(At))}}function Ql(he,Me,Re){const He=this;return dt;function dt(At){return Fn(At)?po(he,vt,"linePrefix",He.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(At):vt(At)}function vt(At){return he.attempt(jn,Me,Re)(At)}}function Kl(he){he.exit("blockQuote")}function Oo(he,Me,Re,He,dt,vt,At,Jt,Tn){const $n=Tn||Number.POSITIVE_INFINITY;let Cn=0;return ci;function ci(fe){return fe===60?(he.enter(He),he.enter(dt),he.enter(vt),he.consume(fe),he.exit(vt),si):fe===null||fe===32||fe===41||br(fe)?Re(fe):(he.enter(He),he.enter(At),he.enter(Jt),he.enter("chunkString",{contentType:"string"}),ie(fe))}function si(fe){return fe===62?(he.enter(vt),he.consume(fe),he.exit(vt),he.exit(dt),he.exit(He),Me):(he.enter(Jt),he.enter("chunkString",{contentType:"string"}),Yn(fe))}function Yn(fe){return fe===62?(he.exit("chunkString"),he.exit(Jt),si(fe)):fe===null||fe===60||Gt(fe)?Re(fe):(he.consume(fe),fe===92?zr:Yn)}function zr(fe){return fe===60||fe===62||fe===92?(he.consume(fe),Yn):Yn(fe)}function ie(fe){return!Cn&&(fe===null||fe===41||Kr(fe))?(he.exit("chunkString"),he.exit(Jt),he.exit(At),he.exit(He),Me(fe)):Cn<$n&&fe===40?(he.consume(fe),Cn++,ie):fe===41?(he.consume(fe),Cn--,ie):fe===null||fe===32||fe===40||br(fe)?Re(fe):(he.consume(fe),fe===92?ae:ie)}function ae(fe){return fe===40||fe===41||fe===92?(he.consume(fe),ie):ie(fe)}}function ma(he,Me,Re,He,dt,vt){const At=this;let Jt=0,Tn;return $n;function $n(Yn){return he.enter(He),he.enter(dt),he.consume(Yn),he.exit(dt),he.enter(vt),Cn}function Cn(Yn){return Jt>999||Yn===null||Yn===91||Yn===93&&!Tn||Yn===94&&!Jt&&"_hiddenFootnoteSupport"in At.parser.constructs?Re(Yn):Yn===93?(he.exit(vt),he.enter(dt),he.consume(Yn),he.exit(dt),he.exit(He),Me):Gt(Yn)?(he.enter("lineEnding"),he.consume(Yn),he.exit("lineEnding"),Cn):(he.enter("chunkString",{contentType:"string"}),ci(Yn))}function ci(Yn){return Yn===null||Yn===91||Yn===93||Gt(Yn)||Jt++>999?(he.exit("chunkString"),Cn(Yn)):(he.consume(Yn),Tn||(Tn=!Fn(Yn)),Yn===92?si:ci)}function si(Yn){return Yn===91||Yn===92||Yn===93?(he.consume(Yn),Jt++,ci):ci(Yn)}}function ds(he,Me,Re,He,dt,vt){let At;return Jt;function Jt(si){return si===34||si===39||si===40?(he.enter(He),he.enter(dt),he.consume(si),he.exit(dt),At=si===40?41:si,Tn):Re(si)}function Tn(si){return si===At?(he.enter(dt),he.consume(si),he.exit(dt),he.exit(He),Me):(he.enter(vt),$n(si))}function $n(si){return si===At?(he.exit(vt),Tn(At)):si===null?Re(si):Gt(si)?(he.enter("lineEnding"),he.consume(si),he.exit("lineEnding"),po(he,$n,"linePrefix")):(he.enter("chunkString",{contentType:"string"}),Cn(si))}function Cn(si){return si===At||si===null||Gt(si)?(he.exit("chunkString"),$n(si)):(he.consume(si),si===92?ci:Cn)}function ci(si){return si===At||si===92?(he.consume(si),Cn):Cn(si)}}function aa(he,Me){let Re;return He;function He(dt){return Gt(dt)?(he.enter("lineEnding"),he.consume(dt),he.exit("lineEnding"),Re=!0,He):Fn(dt)?po(he,He,Re?"linePrefix":"lineSuffix")(dt):Me(dt)}}function Xr(he){return he.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Qr={name:"definition",tokenize:so},ns={partial:!0,tokenize:Po};function so(he,Me,Re){const He=this;let dt;return vt;function vt(Yn){return he.enter("definition"),At(Yn)}function At(Yn){return ma.call(He,he,Jt,Re,"definitionLabel","definitionLabelMarker","definitionLabelString")(Yn)}function Jt(Yn){return dt=Xr(He.sliceSerialize(He.events[He.events.length-1][1]).slice(1,-1)),Yn===58?(he.enter("definitionMarker"),he.consume(Yn),he.exit("definitionMarker"),Tn):Re(Yn)}function Tn(Yn){return Kr(Yn)?aa(he,$n)(Yn):$n(Yn)}function $n(Yn){return Oo(he,Cn,Re,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(Yn)}function Cn(Yn){return he.attempt(ns,ci,ci)(Yn)}function ci(Yn){return Fn(Yn)?po(he,si,"whitespace")(Yn):si(Yn)}function si(Yn){return Yn===null||Gt(Yn)?(he.exit("definition"),He.parser.defined.push(dt),Me(Yn)):Re(Yn)}}function Po(he,Me,Re){return He;function He(Jt){return Kr(Jt)?aa(he,dt)(Jt):Re(Jt)}function dt(Jt){return ds(he,vt,Re,"definitionTitle","definitionTitleMarker","definitionTitleString")(Jt)}function vt(Jt){return Fn(Jt)?po(he,At,"whitespace")(Jt):At(Jt)}function At(Jt){return Jt===null||Gt(Jt)?Me(Jt):Re(Jt)}}const Mo={name:"codeIndented",tokenize:Ja},$i={partial:!0,tokenize:xs};function Ja(he,Me,Re){const He=this;return dt;function dt($n){return he.enter("codeIndented"),po(he,vt,"linePrefix",5)($n)}function vt($n){const Cn=He.events[He.events.length-1];return Cn&&Cn[1].type==="linePrefix"&&Cn[2].sliceSerialize(Cn[1],!0).length>=4?At($n):Re($n)}function At($n){return $n===null?Tn($n):Gt($n)?he.attempt($i,At,Tn)($n):(he.enter("codeFlowValue"),Jt($n))}function Jt($n){return $n===null||Gt($n)?(he.exit("codeFlowValue"),At($n)):(he.consume($n),Jt)}function Tn($n){return he.exit("codeIndented"),Me($n)}}function xs(he,Me,Re){const He=this;return dt;function dt(At){return He.parser.lazy[He.now().line]?Re(At):Gt(At)?(he.enter("lineEnding"),he.consume(At),he.exit("lineEnding"),dt):po(he,vt,"linePrefix",5)(At)}function vt(At){const Jt=He.events[He.events.length-1];return Jt&&Jt[1].type==="linePrefix"&&Jt[2].sliceSerialize(Jt[1],!0).length>=4?Me(At):Gt(At)?dt(At):Re(At)}}const ul={name:"headingAtx",resolve:Yl,tokenize:Jl};function Yl(he,Me){let Re=he.length-2,He=3,dt,vt;return he[He][1].type==="whitespace"&&(He+=2),Re-2>He&&he[Re][1].type==="whitespace"&&(Re-=2),he[Re][1].type==="atxHeadingSequence"&&(He===Re-1||Re-4>He&&he[Re-2][1].type==="whitespace")&&(Re-=He+1===Re?2:4),Re>He&&(dt={type:"atxHeadingText",start:he[He][1].start,end:he[Re][1].end},vt={type:"chunkText",start:he[He][1].start,end:he[Re][1].end,contentType:"text"},gn(he,He,Re-He+1,[["enter",dt,Me],["enter",vt,Me],["exit",vt,Me],["exit",dt,Me]])),he}function Jl(he,Me,Re){let He=0;return dt;function dt(Cn){return he.enter("atxHeading"),vt(Cn)}function vt(Cn){return he.enter("atxHeadingSequence"),At(Cn)}function At(Cn){return Cn===35&&He++<6?(he.consume(Cn),At):Cn===null||Kr(Cn)?(he.exit("atxHeadingSequence"),Jt(Cn)):Re(Cn)}function Jt(Cn){return Cn===35?(he.enter("atxHeadingSequence"),Tn(Cn)):Cn===null||Gt(Cn)?(he.exit("atxHeading"),Me(Cn)):Fn(Cn)?po(he,Jt,"whitespace")(Cn):(he.enter("atxHeadingText"),$n(Cn))}function Tn(Cn){return Cn===35?(he.consume(Cn),Tn):(he.exit("atxHeadingSequence"),Jt(Cn))}function $n(Cn){return Cn===null||Cn===35||Kr(Cn)?(he.exit("atxHeadingText"),Jt(Cn)):(he.consume(Cn),$n)}}const _i={name:"setextUnderline",resolveTo:is,tokenize:Hs};function is(he,Me){let Re=he.length,He,dt,vt;for(;Re--;)if(he[Re][0]==="enter"){if(he[Re][1].type==="content"){He=Re;break}he[Re][1].type==="paragraph"&&(dt=Re)}else he[Re][1].type==="content"&&he.splice(Re,1),!vt&&he[Re][1].type==="definition"&&(vt=Re);const At={type:"setextHeading",start:Ys({},he[dt][1].start),end:Ys({},he[he.length-1][1].end)};return he[dt][1].type="setextHeadingText",vt?(he.splice(dt,0,["enter",At,Me]),he.splice(vt+1,0,["exit",he[He][1],Me]),he[He][1].end=Ys({},he[vt][1].end)):he[He][1]=At,he.push(["exit",At,Me]),he}function Hs(he,Me,Re){const He=this;let dt;return vt;function vt($n){let Cn=He.events.length,ci;for(;Cn--;)if(He.events[Cn][1].type!=="lineEnding"&&He.events[Cn][1].type!=="linePrefix"&&He.events[Cn][1].type!=="content"){ci=He.events[Cn][1].type==="paragraph";break}return!He.parser.lazy[He.now().line]&&(He.interrupt||ci)?(he.enter("setextHeadingLine"),dt=$n,At($n)):Re($n)}function At($n){return he.enter("setextHeadingLineSequence"),Jt($n)}function Jt($n){return $n===dt?(he.consume($n),Jt):(he.exit("setextHeadingLineSequence"),Fn($n)?po(he,Tn,"lineSuffix")($n):Tn($n))}function Tn($n){return $n===null||Gt($n)?(he.exit("setextHeadingLine"),Me($n)):Re($n)}}const tu=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ui=["pre","script","style","textarea"],du={concrete:!0,name:"htmlFlow",resolveTo:Wl,tokenize:$l},wo={partial:!0,tokenize:Zu},Uc={partial:!0,tokenize:Fl};function Wl(he){let Me=he.length;for(;Me--&&!(he[Me][0]==="enter"&&he[Me][1].type==="htmlFlow"););return Me>1&&he[Me-2][1].type==="linePrefix"&&(he[Me][1].start=he[Me-2][1].start,he[Me+1][1].start=he[Me-2][1].start,he.splice(Me-2,2)),he}function $l(he,Me,Re){const He=this;let dt,vt,At,Jt,Tn;return $n;function $n(oi){return Cn(oi)}function Cn(oi){return he.enter("htmlFlow"),he.enter("htmlFlowData"),he.consume(oi),ci}function ci(oi){return oi===33?(he.consume(oi),si):oi===47?(he.consume(oi),vt=!0,ie):oi===63?(he.consume(oi),dt=3,He.interrupt?Me:Hn):Ti(oi)?(he.consume(oi),At=String.fromCharCode(oi),ae):Re(oi)}function si(oi){return oi===45?(he.consume(oi),dt=2,Yn):oi===91?(he.consume(oi),dt=5,Jt=0,zr):Ti(oi)?(he.consume(oi),dt=4,He.interrupt?Me:Hn):Re(oi)}function Yn(oi){return oi===45?(he.consume(oi),He.interrupt?Me:Hn):Re(oi)}function zr(oi){const ls="CDATA[";return oi===ls.charCodeAt(Jt++)?(he.consume(oi),Jt===ls.length?He.interrupt?Me:_n:zr):Re(oi)}function ie(oi){return Ti(oi)?(he.consume(oi),At=String.fromCharCode(oi),ae):Re(oi)}function ae(oi){if(oi===null||oi===47||oi===62||Kr(oi)){const ls=oi===47,Xa=At.toLowerCase();return!ls&&!vt&&ui.includes(Xa)?(dt=1,He.interrupt?Me(oi):_n(oi)):tu.includes(At.toLowerCase())?(dt=6,ls?(he.consume(oi),fe):He.interrupt?Me(oi):_n(oi)):(dt=7,He.interrupt&&!He.parser.lazy[He.now().line]?Re(oi):vt?pe(oi):ye(oi))}return oi===45||hr(oi)?(he.consume(oi),At+=String.fromCharCode(oi),ae):Re(oi)}function fe(oi){return oi===62?(he.consume(oi),He.interrupt?Me:_n):Re(oi)}function pe(oi){return Fn(oi)?(he.consume(oi),pe):Rt(oi)}function ye(oi){return oi===47?(he.consume(oi),Rt):oi===58||oi===95||Ti(oi)?(he.consume(oi),Be):Fn(oi)?(he.consume(oi),ye):Rt(oi)}function Be(oi){return oi===45||oi===46||oi===58||oi===95||hr(oi)?(he.consume(oi),Be):Xe(oi)}function Xe(oi){return oi===61?(he.consume(oi),qe):Fn(oi)?(he.consume(oi),Xe):ye(oi)}function qe(oi){return oi===null||oi===60||oi===61||oi===62||oi===96?Re(oi):oi===34||oi===39?(he.consume(oi),Tn=oi,ot):Fn(oi)?(he.consume(oi),qe):Tt(oi)}function ot(oi){return oi===Tn?(he.consume(oi),Tn=null,mn):oi===null||Gt(oi)?Re(oi):(he.consume(oi),ot)}function Tt(oi){return oi===null||oi===34||oi===39||oi===47||oi===60||oi===61||oi===62||oi===96||Kr(oi)?Xe(oi):(he.consume(oi),Tt)}function mn(oi){return oi===47||oi===62||Fn(oi)?ye(oi):Re(oi)}function Rt(oi){return oi===62?(he.consume(oi),Qn):Re(oi)}function Qn(oi){return oi===null||Gt(oi)?_n(oi):Fn(oi)?(he.consume(oi),Qn):Re(oi)}function _n(oi){return oi===45&&dt===2?(he.consume(oi),ar):oi===60&&dt===1?(he.consume(oi),Nr):oi===62&&dt===4?(he.consume(oi),Cr):oi===63&&dt===3?(he.consume(oi),Hn):oi===93&&dt===5?(he.consume(oi),$r):Gt(oi)&&(dt===6||dt===7)?(he.exit("htmlFlowData"),he.check(wo,$o,pi)(oi)):oi===null||Gt(oi)?(he.exit("htmlFlowData"),pi(oi)):(he.consume(oi),_n)}function pi(oi){return he.check(Uc,Ci,$o)(oi)}function Ci(oi){return he.enter("lineEnding"),he.consume(oi),he.exit("lineEnding"),ki}function ki(oi){return oi===null||Gt(oi)?pi(oi):(he.enter("htmlFlowData"),_n(oi))}function ar(oi){return oi===45?(he.consume(oi),Hn):_n(oi)}function Nr(oi){return oi===47?(he.consume(oi),At="",Er):_n(oi)}function Er(oi){if(oi===62){const ls=At.toLowerCase();return ui.includes(ls)?(he.consume(oi),Cr):_n(oi)}return Ti(oi)&&At.length<8?(he.consume(oi),At+=String.fromCharCode(oi),Er):_n(oi)}function $r(oi){return oi===93?(he.consume(oi),Hn):_n(oi)}function Hn(oi){return oi===62?(he.consume(oi),Cr):oi===45&&dt===2?(he.consume(oi),Hn):_n(oi)}function Cr(oi){return oi===null||Gt(oi)?(he.exit("htmlFlowData"),$o(oi)):(he.consume(oi),Cr)}function $o(oi){return he.exit("htmlFlow"),Me(oi)}}function Fl(he,Me,Re){const He=this;return dt;function dt(At){return Gt(At)?(he.enter("lineEnding"),he.consume(At),he.exit("lineEnding"),vt):Re(At)}function vt(At){return He.parser.lazy[He.now().line]?Re(At):Me(At)}}function Zu(he,Me,Re){return He;function He(dt){return he.enter("lineEnding"),he.consume(dt),he.exit("lineEnding"),he.attempt(lt,Me,Re)}}const Ws={partial:!0,tokenize:Jc},Zs={concrete:!0,name:"codeFenced",tokenize:Al};function Al(he,Me,Re){const He=this,dt={partial:!0,tokenize:Xe};let vt=0,At=0,Jt;return Tn;function Tn(qe){return $n(qe)}function $n(qe){const ot=He.events[He.events.length-1];return vt=ot&&ot[1].type==="linePrefix"?ot[2].sliceSerialize(ot[1],!0).length:0,Jt=qe,he.enter("codeFenced"),he.enter("codeFencedFence"),he.enter("codeFencedFenceSequence"),Cn(qe)}function Cn(qe){return qe===Jt?(At++,he.consume(qe),Cn):At<3?Re(qe):(he.exit("codeFencedFenceSequence"),Fn(qe)?po(he,ci,"whitespace")(qe):ci(qe))}function ci(qe){return qe===null||Gt(qe)?(he.exit("codeFencedFence"),He.interrupt?Me(qe):he.check(Ws,ie,Be)(qe)):(he.enter("codeFencedFenceInfo"),he.enter("chunkString",{contentType:"string"}),si(qe))}function si(qe){return qe===null||Gt(qe)?(he.exit("chunkString"),he.exit("codeFencedFenceInfo"),ci(qe)):Fn(qe)?(he.exit("chunkString"),he.exit("codeFencedFenceInfo"),po(he,Yn,"whitespace")(qe)):qe===96&&qe===Jt?Re(qe):(he.consume(qe),si)}function Yn(qe){return qe===null||Gt(qe)?ci(qe):(he.enter("codeFencedFenceMeta"),he.enter("chunkString",{contentType:"string"}),zr(qe))}function zr(qe){return qe===null||Gt(qe)?(he.exit("chunkString"),he.exit("codeFencedFenceMeta"),ci(qe)):qe===96&&qe===Jt?Re(qe):(he.consume(qe),zr)}function ie(qe){return he.attempt(dt,Be,ae)(qe)}function ae(qe){return he.enter("lineEnding"),he.consume(qe),he.exit("lineEnding"),fe}function fe(qe){return vt>0&&Fn(qe)?po(he,pe,"linePrefix",vt+1)(qe):pe(qe)}function pe(qe){return qe===null||Gt(qe)?he.check(Ws,ie,Be)(qe):(he.enter("codeFlowValue"),ye(qe))}function ye(qe){return qe===null||Gt(qe)?(he.exit("codeFlowValue"),pe(qe)):(he.consume(qe),ye)}function Be(qe){return he.exit("codeFenced"),Me(qe)}function Xe(qe,ot,Tt){let mn=0;return Rt;function Rt(ki){return qe.enter("lineEnding"),qe.consume(ki),qe.exit("lineEnding"),Qn}function Qn(ki){return qe.enter("codeFencedFence"),Fn(ki)?po(qe,_n,"linePrefix",He.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ki):_n(ki)}function _n(ki){return ki===Jt?(qe.enter("codeFencedFenceSequence"),pi(ki)):Tt(ki)}function pi(ki){return ki===Jt?(mn++,qe.consume(ki),pi):mn>=At?(qe.exit("codeFencedFenceSequence"),Fn(ki)?po(qe,Ci,"whitespace")(ki):Ci(ki)):Tt(ki)}function Ci(ki){return ki===null||Gt(ki)?(qe.exit("codeFencedFence"),ot(ki)):Tt(ki)}}}function Jc(he,Me,Re){const He=this;return dt;function dt(At){return At===null?Re(At):(he.enter("lineEnding"),he.consume(At),he.exit("lineEnding"),vt)}function vt(At){return He.parser.lazy[He.now().line]?Re(At):Me(At)}}const qc=document.createElement("i");function Pc(he){const Me="&"+he+";";qc.innerHTML=Me;const Re=qc.textContent;return Re.charCodeAt(Re.length-1)===59&&he!=="semi"||Re===Me?!1:Re}const md={name:"characterReference",tokenize:ed};function ed(he,Me,Re){const He=this;let dt=0,vt,At;return Jt;function Jt(ci){return he.enter("characterReference"),he.enter("characterReferenceMarker"),he.consume(ci),he.exit("characterReferenceMarker"),Tn}function Tn(ci){return ci===35?(he.enter("characterReferenceMarkerNumeric"),he.consume(ci),he.exit("characterReferenceMarkerNumeric"),$n):(he.enter("characterReferenceValue"),vt=31,At=hr,Cn(ci))}function $n(ci){return ci===88||ci===120?(he.enter("characterReferenceMarkerHexadecimal"),he.consume(ci),he.exit("characterReferenceMarkerHexadecimal"),he.enter("characterReferenceValue"),vt=6,At=Hi,Cn):(he.enter("characterReferenceValue"),vt=7,At=Xi,Cn(ci))}function Cn(ci){if(ci===59&&dt){const si=he.exit("characterReferenceValue");return At===hr&&!Pc(He.sliceSerialize(si))?Re(ci):(he.enter("characterReferenceMarker"),he.consume(ci),he.exit("characterReferenceMarker"),he.exit("characterReference"),Me)}return At(ci)&&dt++1&&he[Re][1].end.offset-he[Re][1].start.offset>1?2:1;const ci=Ys({},he[He][1].end),si=Ys({},he[Re][1].start);fr(ci,-Tn),fr(si,Tn),At={type:Tn>1?"strongSequence":"emphasisSequence",start:ci,end:Ys({},he[He][1].end)},Jt={type:Tn>1?"strongSequence":"emphasisSequence",start:Ys({},he[Re][1].start),end:si},vt={type:Tn>1?"strongText":"emphasisText",start:Ys({},he[He][1].end),end:Ys({},he[Re][1].start)},dt={type:Tn>1?"strong":"emphasis",start:Ys({},At.start),end:Ys({},Jt.end)},he[He][1].end=Ys({},At.start),he[Re][1].start=Ys({},Jt.end),$n=[],he[He][1].end.offset-he[He][1].start.offset&&($n=kn($n,[["enter",he[He][1],Me],["exit",he[He][1],Me]])),$n=kn($n,[["enter",dt,Me],["enter",At,Me],["exit",At,Me],["enter",vt,Me]]),$n=kn($n,ta(Me.parser.constructs.insideSpan.null,he.slice(He+1,Re),Me)),$n=kn($n,[["exit",vt,Me],["enter",Jt,Me],["exit",Jt,Me],["exit",dt,Me]]),he[Re][1].end.offset-he[Re][1].start.offset?(Cn=2,$n=kn($n,[["enter",he[Re][1],Me],["exit",he[Re][1],Me]])):Cn=0,gn(he,He-1,Re-He+3,$n),Re=He+$n.length-Cn-2;break}}for(Re=-1;++Re-1){const Jt=At[0];typeof Jt=="string"?At[0]=Jt.slice(He):At.shift()}vt>0&&At.push(he[dt].slice(0,vt))}return At}function Bl(he,Me){let Re=-1;const He=[];let dt;for(;++Rebe in _e?Rb(_e,be,{enumerable:!0,configurable:!0,writable:!0,value:oe}):_e[be]=oe,Ys=(_e,be)=>{for(var oe in be||(be={}))x1.call(be,oe)&&S1(_e,oe,be[oe]);if(mv)for(var oe of mv(be))b1.call(be,oe)&&S1(_e,oe,be[oe]);return _e},rS=(_e,be)=>Ub(_e,_b(be));var E1=(_e,be)=>{var oe={};for(var se in _e)x1.call(_e,se)&&be.indexOf(se)<0&&(oe[se]=_e[se]);if(_e!=null&&mv)for(var se of mv(_e))be.indexOf(se)<0&&b1.call(_e,se)&&(oe[se]=_e[se]);return oe};var C1=(_e,be,oe)=>new Promise((se,Ce)=>{var we=Ke=>{try{De(oe.next(Ke))}catch(Ee){Ce(Ee)}},Ie=Ke=>{try{De(oe.throw(Ke))}catch(Ee){Ce(Ee)}},De=Ke=>Ke.done?se(Ke.value):Promise.resolve(Ke.value).then(we,Ie);De((oe=oe.apply(_e,be)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[2338],{35323:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},19155:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},10402:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},72295:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},93343:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},24566:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},61441:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},30631:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},43971:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},58358:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},44757:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},76298:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},16537:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},77042:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},5527:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},86902:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},53878:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},21970:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return et}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(Ye,tt){return Ce.createElement(De.Z,(0,se.Z)({},Ye,{ref:tt,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee},79906:function(){"use strict"},93938:function(_e,be){"use strict";be.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},11037:function(_e,be){"use strict";be.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},99372:function(_e,be,oe){"use strict";var se=oe(59301),Ce=Object.defineProperty,we=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ke=(Je,Ye,tt)=>Ye in Je?Ce(Je,Ye,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Je[Ye]=tt,Ee=(Je,Ye)=>{for(var tt in Ye||(Ye={}))Ie.call(Ye,tt)&&Ke(Je,tt,Ye[tt]);if(we)for(var tt of we(Ye))De.call(Ye,tt)&&Ke(Je,tt,Ye[tt]);return Je};const et=Je=>React.createElement("svg",Ee({width:99,height:80,xmlns:"http://www.w3.org/2000/svg"},Je),React.createElement("title",null,"\u6279\u6CE8\u6587\u4EF6"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M62.7 79.6H0V8.5h39.3l23.4 18.4z",fill:"#F0A221"}),React.createElement("path",{d:"M71.4 71.1H8.7V0h44.4l18.3 18z",fill:"#F1C84C"}),React.createElement("path",{d:"M53.3 7.3v11.5h11.5z",fill:"#FFF"}),React.createElement("path",{d:"M34.9 13.9h-17v4.6h17zM45.9 27h-28v4.6h28zM45.9 40.6h-28v4.6h28zM45.9 53.7h-28v4.7h28z",fill:"#F0A221"}),React.createElement("path",{d:"M65 32H50v4.6h15zM65 45.6H50v4.6h15zM65 58.7H50v4.7h15z",fill:"#FFF"}),React.createElement("path",{d:"M60 56.5c.7 4.3-1 8.3-1 8.3s4-1.7 8.3-1c0 0 1.4-4.5 5.2-10L70 51.2c-5.5 3.9-10 5.3-10 5.3Z",fill:"#000"}),React.createElement("path",{d:"m64 59.2 7.1-7.1.5.5-7.1 7.1z",fill:"#F9A54C"}),React.createElement("path",{d:"M62.8 59.8c0 .7.5 1.2 1.2 1.2s1.2-.5 1.2-1.2-.5-1.2-1.2-1.2-1.2.6-1.2 1.2Z",fill:"#FFF"}),React.createElement("path",{d:"M71.6 55.8c4-2.6 6.7-4.5 12.6-10.5 10.2-10.2 16-18.3 14.3-20-1.7-1.7-9.5 3.8-20 14.3-6 6-7.6 8.6-10.5 12.6l3.6 3.6Z",fill:"#324A5E"}),React.createElement("path",{d:"m78 39.8 5.7 5.7.5-.5 1.4-1.4-5.6-5.7-1.4 1.4-.6.5Zm10.5-5.7c-.5.2-1.2.7-1.7 1.4-1.2 1.2-1.9 2.4-1.7 2.9.5.5 1.7-.5 2.9-1.7.7-.7 1.2-1.2 1.4-1.7l6.2-6.2 1.4 1.4c1.7-2.6 2.1-4.5 1.4-5-.5-.5-2.6-.2-5 1.4l1.6 1.6-6.5 5.9Z",fill:"#FFC65B"}),React.createElement("path",{d:"m49.6 36.4-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 50.4l-3.8-3.9H18v-1h28.2l4.2 4.1zM49.6 64.4l-3.8-3.9H18v-1h28.2l4.2 4.1z",fill:"#FFF"})));be.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTkiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNNjIuNyA3OS42SDBWOC41aDM5LjNsMjMuNCAxOC40eiIgZmlsbD0iI0YwQTIyMSIvPjxwYXRoIGQ9Ik03MS40IDcxLjFIOC43VjBoNDQuNGwxOC4zIDE4eiIgZmlsbD0iI0YxQzg0QyIvPjxwYXRoIGQ9Ik01My4zIDcuM3YxMS41aDExLjV6IiBmaWxsPSIjRkZGIi8+PHBhdGggZD0iTTM0LjkgMTMuOWgtMTd2NC42aDE3ek00NS45IDI3aC0yOHY0LjZoMjh6TTQ1LjkgNDAuNmgtMjh2NC42aDI4ek00NS45IDUzLjdoLTI4djQuN2gyOHoiIGZpbGw9IiNGMEEyMjEiLz48cGF0aCBkPSJNNjUgMzJINTB2NC42aDE1ek02NSA0NS42SDUwdjQuNmgxNXpNNjUgNTguN0g1MHY0LjdoMTV6IiBmaWxsPSIjRkZGIi8+PGc+PHBhdGggZD0iTTYwIDU2LjVjLjcgNC4zLTEgOC4zLTEgOC4zczQtMS43IDguMy0xYzAgMCAxLjQtNC41IDUuMi0xMEw3MCA1MS4yYy01LjUgMy45LTEwIDUuMy0xMCA1LjNaIiBmaWxsPSIjMDAwIi8+PHBhdGggZD0ibTY0IDU5LjIgNy4xLTcuMS41LjUtNy4xIDcuMXoiIGZpbGw9IiNGOUE1NEMiLz48cGF0aCBkPSJNNjIuOCA1OS44YzAgLjcuNSAxLjIgMS4yIDEuMnMxLjItLjUgMS4yLTEuMi0uNS0xLjItMS4yLTEuMi0xLjIuNi0xLjIgMS4yWiIgZmlsbD0iI0ZGRiIvPjxwYXRoIGQ9Ik03MS42IDU1LjhjNC0yLjYgNi43LTQuNSAxMi42LTEwLjUgMTAuMi0xMC4yIDE2LTE4LjMgMTQuMy0yMC0xLjctMS43LTkuNSAzLjgtMjAgMTQuMy02IDYtNy42IDguNi0xMC41IDEyLjZsMy42IDMuNloiIGZpbGw9IiMzMjRBNUUiLz48cGF0aCBkPSJtNzggMzkuOCA1LjcgNS43LjUtLjUgMS40LTEuNC01LjYtNS43LTEuNCAxLjQtLjYuNVptMTAuNS01LjdjLS41LjItMS4yLjctMS43IDEuNC0xLjIgMS4yLTEuOSAyLjQtMS43IDIuOS41LjUgMS43LS41IDIuOS0xLjcuNy0uNyAxLjItMS4yIDEuNC0xLjdsNi4yLTYuMiAxLjQgMS40YzEuNy0yLjYgMi4xLTQuNSAxLjQtNS0uNS0uNS0yLjYtLjItNSAxLjRsMS42IDEuNi02LjUgNS45WiIgZmlsbD0iI0ZGQzY1QiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiAzNi40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA1MC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJtNDkuNiA2NC40LTMuOC0zLjlIMTh2LTFoMjguMmw0LjIgNC4xeiIvPjwvZz48L2c+PC9zdmc+"},44965:function(_e,be,oe){"use strict";var se=oe(59301),Ce=Object.defineProperty,we=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ke=(Je,Ye,tt)=>Ye in Je?Ce(Je,Ye,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Je[Ye]=tt,Ee=(Je,Ye)=>{for(var tt in Ye||(Ye={}))Ie.call(Ye,tt)&&Ke(Je,tt,Ye[tt]);if(we)for(var tt of we(Ye))De.call(Ye,tt)&&Ke(Je,tt,Ye[tt]);return Je};const et=Je=>React.createElement("svg",Ee({width:72,height:80,xmlns:"http://www.w3.org/2000/svg"},Je),React.createElement("title",null,"\u6587\u4EF6 "),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fill:"#F0A221",d:"M62.698 79.631H.04V8.534h39.22l23.438 18.332z"}),React.createElement("path",{d:"M71.387 71.1H8.73V.005h44.326l18.337 18.03v53.067h-.005ZM53.331 7.336v11.48h11.48L53.33 7.335Zm-8.367 6.536H17.938v4.623h27.026V13.87ZM62.26 27.024H17.857v4.623H62.26v-4.623Zm0 13.551H17.857v4.623H62.26v-4.623Zm0 13.158H17.857v4.623H62.26v-4.623Z",fill:"#F1C84C"})));be.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIiIGhlaWdodD0iODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjRjBBMjIxIiBkPSJNNjIuNjk4IDc5LjYzMUguMDRWOC41MzRoMzkuMjJsMjMuNDM4IDE4LjMzMnoiLz48cGF0aCBkPSJNNzEuMzg3IDcxLjFIOC43M1YuMDA1aDQ0LjMyNmwxOC4zMzcgMTguMDN2NTMuMDY3aC0uMDA1Wk01My4zMzEgNy4zMzZ2MTEuNDhoMTEuNDhMNTMuMzMgNy4zMzVabS04LjM2NyA2LjUzNkgxNy45Mzh2NC42MjNoMjcuMDI2VjEzLjg3Wk02Mi4yNiAyNy4wMjRIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy41NTFIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1ptMCAxMy4xNThIMTcuODU3djQuNjIzSDYyLjI2di00LjYyM1oiIGZpbGw9IiNGMUM4NEMiLz48L2c+PC9zdmc+"},37404:function(){"use strict";function _e(ze,ee,ne,ge){ne===void 0&&(ne=0),ge===void 0&&(ge=1/0),this._name=ze,this._defaultValue=ee,this._minimum=ne,this._maximum=ge}Object.defineProperty(_e.prototype,"name",{get:function(){return this._name},set:function(ze){if(typeof ze!="string"||ze==="")throw new Error("Shape name must be a valid string.");this._name=ze}}),Object.defineProperty(_e.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ze){if(typeof ze!="number"||isNaN(ze))throw new Error("The default value must be a real number, not: "+ze);this._defaultValue=ze}}),Object.defineProperty(_e.prototype,"minimum",{get:function(){return this._minimum},set:function(ze){if(typeof ze!="number"||isNaN(ze))throw new Error("Minimum must be a real number, not: "+ze);this._minimum=ze}}),Object.defineProperty(_e.prototype,"maximum",{get:function(){return this._maximum},set:function(ze){if(typeof ze!="number"||isNaN(ze))throw new Error("Maximum must be a real number, not: "+ze);this._maximum=ze}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ze,ee){var ne=go.Shape._FigureParameters[ze];return ne?ne[ee]:null},go.Shape.setFigureParameter=function(ze,ee,ne){if(!(ne instanceof _e))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+ne);if(ne.defaultValuene.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+ne.defaultValue);var ge=go.Shape._FigureParameters[ze];ge||(ge=[],go.Shape._FigureParameters[ze]=ge),ge[ee]=ne};var be=[];function oe(ze,ee){var ne=be.pop();return ne===void 0?new go.Point(ze,ee):(ne.x=ze,ne.y=ee,ne)}function se(){var ze=be.pop();return ze===void 0?new go.Point:ze}function Ce(ze){be.push(ze)}function we(ze,ee,ne,ge,ue,me,Se,Ne,ke){ke||(ke=new go.Point);var Te=ze-ne,We=ue-Se,$e=NaN,st=NaN;if(Te===0)if(We===0)ze===ne&&($e=ze,st=ee);else{var ut=(me-Ne)/We,Mt=me-ut*ue;$e=ze,st=ut*$e+Mt}else if(We===0){var nt=(ee-ge)/Te,$t=ee-nt*ze;$e=ue,st=nt*$e+$t}else{var nt=(ee-ge)/Te,ut=(me-Ne)/We,$t=ee-nt*ze,Mt=me-ut*ue;$e=(Mt-$t)/(nt-ut),st=nt*$e+$t}return ke.x=$e,ke.y=st,ke}function Ie(ze,ee,ne,ge,ue,me,Se,Ne,ke,Te,We,$e,st,ut){var Mt=1-ke,nt=ke,$t=ze*Mt+ne*nt,Pt=ee*Mt+ge*nt,dn=ne*Mt+ue*nt,zt=ge*Mt+me*nt,Xt=ue*Mt+Se*nt,fn=me*Mt+Ne*nt,an=$t*Mt+dn*nt,it=Pt*Mt+zt*nt,Ve=dn*Mt+Xt*nt,gt=zt*Mt+fn*nt,Bt=an*Mt+Ve*nt,sn=it*Mt+gt*nt;Te.x=$t,Te.y=Pt,We.x=an,We.y=it,$e.x=Bt,$e.y=sn,st.x=Ve,st.y=gt,ut.x=Xt,ut.y=fn}var De=new go.Spot(.156,.156),Ke=new go.Spot(.844,.844),Ee=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new _e("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=5),ge=Math.min(ge,ee/3),ge=Math.min(ge,ne/3);var ue=ge*Ee,me=new go.Geometry().add(new go.PathFigure(ge,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee-ge,0)).add(new go.PathSegment(go.PathSegment.Bezier,ee,ge,ee-ue,0,ee,ue)).add(new go.PathSegment(go.PathSegment.Line,ee,ne-ge)).add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,ne,ee,ne-ue,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,ge,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ge,ue,ne,0,ne-ue)).add(new go.PathSegment(go.PathSegment.Line,0,ge)).add(new go.PathSegment(go.PathSegment.Bezier,ge,0,0,ue,ue,0).close()));return ue>1&&(me.spot1=new go.Spot(0,0,ue,ue),me.spot2=new go.Spot(1,1,-ue,-ue)),me}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,ne).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,ne).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.5*ee,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ze,ee,ne){var ge=new go.Geometry(go.Geometry.Line);return ge.startX=0,ge.startY=ne/2,ge.endX=ee,ge.endY=ne/2,ge}),go.Shape.defineFigureGenerator("LineV",function(ze,ee,ne){var ge=new go.Geometry(go.Geometry.Line);return ge.startX=ee/2,ge.startY=0,ge.endX=ee/2,ge.endY=ne,ge}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,ne/2,!1).add(new go.PathSegment(go.PathSegment.Line,ee,ne/2)).add(new go.PathSegment(go.PathSegment.Move,ee/2,0)).add(new go.PathSegment(go.PathSegment.Line,ee/2,ne)))}),go.Shape.defineFigureGenerator("XLine",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)))}),go.Shape.defineFigureGenerator("LineRight",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.25*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*ee,ne)))}),go.Shape.defineFigureGenerator("LineDown",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,.25*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,.75*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)))}),go.Shape.defineFigureGenerator("LineLeft",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.75*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*ee,ne)))}),go.Shape.defineFigureGenerator("LineUp",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,.75*ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.75*ne)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ze,ee,ne){var ge=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ge*ee,(1-ge)*ne,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Move,ge*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,(1-ge)*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne/2)).add(new go.PathSegment(go.PathSegment.Line,ee,ne/2)).add(new go.PathSegment(go.PathSegment.Move,ee/2,0)).add(new go.PathSegment(go.PathSegment.Line,ee/2,ne)))}),go.Shape.defineFigureGenerator("CircleLine",function(ze,ee,ne){var ge=ee/2,ue=new go.Geometry().add(new go.PathFigure(ee,ee/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ge,ge,ge,ge).close()));return ue.spot1=De,ue.spot2=Ke,ue.defaultStretch=go.GraphObject.Uniform,ue}),go.Shape.defineFigureGenerator("Line1",function(ze,ee,ne){var ge=new go.Geometry(go.Geometry.Line);return ge.startX=0,ge.startY=0,ge.endX=ee,ge.endY=ne,ge}),go.Shape.defineFigureGenerator("Line2",function(ze,ee,ne){var ge=new go.Geometry(go.Geometry.Line);return ge.startX=ee,ge.startY=0,ge.endX=0,ge.endY=ne,ge}),go.Shape.defineFigureGenerator("Curve1",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,ee,ne,Ee*ee,0,ee,(1-Ee)*ne)))}),go.Shape.defineFigureGenerator("Curve2",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,ee,ne,0,Ee*ne,(1-Ee)*ee,ne)))}),go.Shape.defineFigureGenerator("Curve3",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,ee,Ee*ne,Ee*ee,ne)))}),go.Shape.defineFigureGenerator("Curve4",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,(1-Ee)*ee,0,0,(1-Ee)*ne)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new _e("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)?ge=.1:ge<-1?ge=-1:ge>1&&(ge=1);var ue=Math.abs(ge)*ee;if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())),ueee&&(ge=ee);var ue=Math.abs(ge);if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())),ue.5&&(ge=.5);var ue=Math.abs(ge)*ee;if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())),ueee&&(ge=ee/2);var ue=Math.abs(ge);if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())):me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())),ueee&&(ge=ee/2);var ue=Math.abs(ge);if(ge===0){var me=new go.Geometry(go.Geometry.Rectangle);return me.startX=0,me.startY=0,me.endX=ee,me.endY=ne,me}else{var me=new go.Geometry;return ge>0?me.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,ne).close())):me.add(new go.PathFigure(ue,0).add(new go.PathSegment(go.PathSegment.Line,ee-ue,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close())),ue0&&(Se.add(new go.PathSegment(go.PathSegment.Move,ee/2+Ne,ee/2)),Se.add(new go.PathSegment(go.PathSegment.Arc,0,-360,ue,ue,Ne,Ne).close())),me.spot1=De,me.spot2=Ke,me.defaultStretch=go.GraphObject.Uniform,me}),go.Shape.defineFigureGenerator("Cloud",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.08034461*ee,.1944299*ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*ee,.05349299*ne,-.09239631*ee,.07836421*ne,.1406031*ee,-.0542823*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*ee,.074219*ne,.2450511*ee,-.00697547*ne,.3776197*ee,-.01112067*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*ee,.07004196*ne,.4539471*ee,0,.6066018*ee,-.02526587*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*ee,.08370865*ne,.6914277*ee,-.01904177*ne,.8921095*ee,-.01220843*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*ee,.3194596*ne,1.036446*ee,.04105738*ne,1.020377*ee,.3022052*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*ee,.562044*ne,1.04448*ee,.360238*ne,.992256*ee,.5219009*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*ee,.8217117*ne,1.032337*ee,.5771781*ne,1.018411*ee,.8120651*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*ee,.9156953*ne,1.028411*ee,.9571472*ne,.8556702*ee,1.052487*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*ee,.9310455*ne,.7431877*ee,1.009325*ne,.5624123*ee,1.021761*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*ee,.9344623*ne,.4820677*ee,1.031761*ne,.3030112*ee,1.002796*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*ee,.870098*ne,.2329994*ee,1.01518*ne,.03213784*ee,1.01518*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*ee,.6545475*ne,-.02812061*ee,.9032597*ne,-.01205169*ee,.6835638*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*ee,.4265613*ne,-.01812061*ee,.6089503*ne,-.00606892*ee,.4555777*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*ee,.1944299*ne,-.01606892*ee,.3892545*ne,-.01205169*ee,.1944299*ne))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ze,ee,ne){var ge=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ge*ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,(1-ge)*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ge*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ge)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ge*ne).close())).setSpots(ge/2,ge/2,1-ge/2,1-ge/2)}),go.Shape.setFigureParameter("Pie",0,new _e("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new _e("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN,ue=ze?ze.parameter2:NaN;isNaN(ge)&&(ge=0),isNaN(ue)&&(ue=315);var me=ge%360;me<0&&(me+=360);var Se=ue%360,Ne=Math.min(ee,ne)/2;return new go.Geometry().add(new go.PathFigure(Ne,Ne).add(new go.PathSegment(go.PathSegment.Arc,me,Se,Ne,Ne,Ne,Ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ze,ee,ne){var ge=Ee/Math.SQRT2*.5,ue=Math.SQRT2/2,me=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(ee,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,ue*ee,me*ne,ee,(1-ge)*ne,(ue+ge)*ee,(me+ge)*ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()))}),go.Shape.setFigureParameter("ThickCross",0,new _e("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=30);var ue=Math.min(ge,ee)/2,me=ee/2,Se=ne/2;return new go.Geometry().add(new go.PathFigure(me-ue,0,!0).add(new go.PathSegment(go.PathSegment.Line,me+ue,0)).add(new go.PathSegment(go.PathSegment.Line,me+ue,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,ee,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,ee,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,me+ue,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,me+ue,ne)).add(new go.PathSegment(go.PathSegment.Line,me-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,me-ue,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,0,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,0,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,me-ue,Se-ue).close()))}),go.Shape.setFigureParameter("ThinCross",0,new _e("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=10);var ue=Math.min(ge,ee)/2,me=ee/2,Se=ne/2;return new go.Geometry().add(new go.PathFigure(me-ue,0,!0).add(new go.PathSegment(go.PathSegment.Line,me+ue,0)).add(new go.PathSegment(go.PathSegment.Line,me+ue,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,ee,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,ee,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,me+ue,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,me+ue,ne)).add(new go.PathSegment(go.PathSegment.Line,me-ue,ne)).add(new go.PathSegment(go.PathSegment.Line,me-ue,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,0,Se+ue)).add(new go.PathSegment(go.PathSegment.Line,0,Se-ue)).add(new go.PathSegment(go.PathSegment.Line,me-ue,Se-ue).close()))}),go.Shape.setFigureParameter("ThickX",0,new _e("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;if((isNaN(ge)||ge<0)&&(ge=30),ee===0||ne===0){var ue=new go.Geometry(go.Geometry.Rectangle);return ue.startX=0,ue.startY=0,ue.endX=ee,ue.endY=ne,ue}else{var me=ee/2,Se=ne/2,Ne=Math.atan2(ne,ee),ke=ge-Math.min(Math.cos(Ne)*ge/2,me),Te=ge-Math.min(Math.sin(Ne)*ge/2,Se),ue=new go.Geometry,We=new go.PathFigure(ke,0,!0);return ue.add(We),We.add(new go.PathSegment(go.PathSegment.Line,me,.2*ne)),We.add(new go.PathSegment(go.PathSegment.Line,ee-ke,0)),We.add(new go.PathSegment(go.PathSegment.Line,ee,Te)),We.add(new go.PathSegment(go.PathSegment.Line,.8*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,ee,ne-Te)),We.add(new go.PathSegment(go.PathSegment.Line,ee-ke,ne)),We.add(new go.PathSegment(go.PathSegment.Line,me,.8*ne)),We.add(new go.PathSegment(go.PathSegment.Line,ke,ne)),We.add(new go.PathSegment(go.PathSegment.Line,0,ne-Te)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,0,Te).close()),ue}}),go.Shape.setFigureParameter("ThinX",0,new _e("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=10);var ue=new go.Geometry,me=new go.PathFigure(.1*ee,0,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne).close()),ue}),go.Shape.setFigureParameter("SquareIBeam",0,new _e("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.2);var ue=new go.Geometry,me=new go.PathFigure(0,0,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ge*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(.5+ge/2)*ee,ge*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(.5+ge/2)*ee,(1-ge)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,(1-ge)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,(1-ge)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(.5-ge/2)*ee,(1-ge)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(.5-ge/2)*ee,ge*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ge*ne).close()),ue}),go.Shape.setFigureParameter("RoundedIBeam",0,new _e("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.5);var ue=new go.Geometry,me=new go.PathFigure(0,0,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee,ne,Math.abs(1-ge)*ee,.25*ne,Math.abs(1-ge)*ee,.75*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ge*ee,.75*ne,ge*ee,.25*ne).close()),ue}),go.Shape.defineFigureGenerator("HalfEllipse",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,Ee*ee,0,ee,(.5-Ee/2)*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,ee,(.5+Ee/2)*ne,Ee*ee,ne).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,ne,ee,0,ee,ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*ee,.75*ne,.5*ee,.25*ne).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.5*ee,ne,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,.1*ee,.8*ne,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.3*ne,0,0,.45*ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,ee,.3*ne,.55*ee,0,ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,.5*ne,.9*ee,.8*ne).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.5*ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*ee,.01*ne)).add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,.6*ee,.2*ne,ee,.25*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.55*ee,.7*ne,ee,.8*ne,.6*ee,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.75*ee,ne,.5*ee,.75*ne,.55*ee,.95*ne)).add(new go.PathSegment(go.PathSegment.Line,.25*ee,ne)).add(new go.PathSegment(go.PathSegment.Bezier,.45*ee,.7*ne,.45*ee,.95*ne,.5*ee,.75*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.4*ee,.8*ne,0,.8*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.49*ee,.01*ne,0,.25*ne,.4*ee,.2*ne).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.4*ee,.6*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.15*ee,ne,.5*ee,.75*ne,.45*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.6*ee,.6*ne,.55*ee,.95*ne,.5*ee,.75*ne));var me=.2,Se=.3,Ne=0,ke=me*Ee;return ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5+me+Ne)*ne,(.5-me+Se)*ee,(.5+ke+Ne)*ne,(.5-ke+Se)*ee,(.5+me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+me+Se)*ee,(.5+Ne)*ne,(.5+ke+Se)*ee,(.5+me+Ne)*ne,(.5+me+Se)*ee,(.5+ke+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5-me+Ne)*ne,(1-.5+me+Se)*ee,(.5-ke+Ne)*ne,(.5+ke+Se)*ee,(.5-me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.65*ee,.36771243*ne,(.5-ke+Se)*ee,(.5-me+Ne)*ne,(.5-me+Se+.05)*ee,(.5-ke+Ne-.02)*ne)),me=.2,Se=0,Ne=-.3,ke=me*Ee,ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+me+Se)*ee,(.5+Ne)*ne,(.5+ke+Se)*ee,(.5+me+Ne)*ne,(.5+me+Se)*ee,(.5+ke+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5-me+Ne)*ne,(1-.5+me+Se)*ee,(.5-ke+Ne)*ne,(.5+ke+Se)*ee,(.5-me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-me+Se)*ee,(.5+Ne)*ne,(.5-ke+Se)*ee,(.5-me+Ne)*ne,(.5-me+Se)*ee,(.5-ke+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ke+Se)*ee,(.5+me+Ne)*ne,(.5-me+Se)*ee,(.5+ke+Ne)*ne,(.5-ke+Se)*ee,(.5+me+Ne)*ne)),me=.2,Se=-.3,Ne=0,ke=me*Ee,ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5-me+Ne)*ne,(1-.5+me+Se-.05)*ee,(.5-ke+Ne-.02)*ne,(.5+ke+Se)*ee,(.5-me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-me+Se)*ee,(.5+Ne)*ne,(.5-ke+Se)*ee,(.5-me+Ne)*ne,(.5-me+Se)*ee,(.5-ke+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+Se)*ee,(.5+me+Ne)*ne,(.5-me+Se)*ee,(.5+ke+Ne)*ne,(.5-ke+Se)*ee,(.5+me+Ne)*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*ee,.6*ne,(.5+ke+Se)*ee,(.5+me+Ne)*ne,(.5+me+Se)*ee,(.5+ke+Ne)*ne).close()),ge.setSpots(.06,.33,.93,.68),ge}),go.Shape.defineFigureGenerator("YinYang",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*.5,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,270,180,ee*.5,ee*.5,ee*.5,ee*.5)),ue.add(new go.PathSegment(go.PathSegment.Arc,90,-180,ee*.5,ee*.75,ee*.25,ee*.25)),ue.add(new go.PathSegment(go.PathSegment.Arc,90,180,ee*.5,ee*.25,ee*.25,ee*.25));var me=.1,Se=.5,Ne=.25;return ue.add(new go.PathSegment(go.PathSegment.Move,(Se+me)*ee,Ne*ne)),ue.add(new go.PathSegment(go.PathSegment.Arc,0,-360,ee*Se,ne*Ne,me*ee,me*ee).close()),ue=new go.PathFigure(ee*.5,0,!1),ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,270,-180,ee*.5,ee*.5,ee*.5,ee*.5)),Ne=.75,ue=new go.PathFigure((Se+me)*ee,Ne*ne,!0),ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,0,360,ee*Se,ne*Ne,me*ee,me*ee).close()),ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("Peace",function(ze,ee,ne){var ge=.8535533905932737,ue=.5*ee,me=.5*ne;return new go.Geometry().add(new go.PathFigure(ue,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,ue,me,ue,me)).add(new go.PathSegment(go.PathSegment.Line,ue,ne)).add(new go.PathSegment(go.PathSegment.Move,ue,me)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Move,ue,me)).add(new go.PathSegment(go.PathSegment.Line,ge*ee,ge*ne)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=.5,Ne=.5,ke=new go.PathFigure(Se*ee,(Ne-me)*ne);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),me=.4,ue=Ee*.4;var Te=se(),We=se(),$e=se(),st=se();Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.42,Te,We,$e,st,st);var ut=se(),Mt=se(),nt=se();Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.58,st,st,nt,ut,Mt);var $t=se(),Pt=se(),dn=se();Ie(Se,Ne+me,Se-ue,Ne+me,Se-me,Ne+ue,Se-me,Ne,.42,$t,Pt,dn,st,st);var zt=se(),Xt=se(),fn=se();return Ie(Se,Ne+me,Se-ue,Ne+me,Se-me,Ne+ue,Se-me,Ne,.58,st,st,fn,zt,Xt),ke.add(new go.PathSegment(go.PathSegment.Move,fn.x*ee,fn.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,zt.x*ee,zt.y*ne,Xt.x*ee,Xt.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,$e.x*ee,$e.y*ne,Te.x*ee,Te.y*ne,We.x*ee,We.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,fn.x*ee,fn.y*ne).close()),ke.add(new go.PathSegment(go.PathSegment.Move,dn.x*ee,dn.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,nt.x*ee,nt.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,ut.x*ee,ut.y*ne,Mt.x*ee,Mt.y*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,dn.x*ee,dn.y*ne,$t.x*ee,$t.y*ne,Pt.x*ee,Pt.y*ne).close()),Ce(Te),Ce(We),Ce($e),Ce(st),Ce(ut),Ce(Mt),Ce(nt),Ce($t),Ce(Pt),Ce(dn),Ce(zt),Ce(Xt),Ce(fn),ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("Fragile",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*ee,0)).add(new go.PathSegment(go.PathSegment.Line,.2*ee,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.29*ee,.33*ne)).add(new go.PathSegment(go.PathSegment.Line,.35*ee,.25*ne)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,.15*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*ee,.5*ne,ee,.25*ne,.75*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.55*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.45*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*ee,.5*ne,0,.25*ne).close()))}),go.Shape.setFigureParameter("HourGlass",0,new _e("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=30),ge>ee&&(ge=ee);var ue=(ee-ge)/2,me=ue+ge;return new go.Geometry().add(new go.PathFigure(me,.5*ne).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)).add(new go.PathSegment(go.PathSegment.Line,ue,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,ee,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,.55*ne).add(new go.PathSegment(go.PathSegment.Line,.6*ee,0)).add(new go.PathSegment(go.PathSegment.Line,.3*ee,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.45*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,.55*ne).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.4,me=.4,Se=.5,Ne=.5,ke=se(),Te=se(),We=se(),$e=se(),st=new go.PathFigure((Se-me)*ee,Ne*ne,!1);ge.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne)),Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.44,We,$e,Te,ke,ke),st.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*ee,Te.y*ne,We.x*ee,We.y*ne,$e.x*ee,$e.y*ne));var ut=oe(Te.x,Te.y);Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.56,ke,ke,Te,We,$e);var Mt=oe(Te.x,Te.y);st.add(new go.PathSegment(go.PathSegment.Line,(ut.x*.1+.95*.9)*ee,ut.y*.1*ne)),st.add(new go.PathSegment(go.PathSegment.Line,.85*ee,ut.y*.1*ne)),st.add(new go.PathSegment(go.PathSegment.Line,.85*ee,0)),st.add(new go.PathSegment(go.PathSegment.Line,ee,0)),st.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),st.add(new go.PathSegment(go.PathSegment.Line,(Mt.x*.1+.9)*ee,.15*ne)),st.add(new go.PathSegment(go.PathSegment.Line,(Mt.x*.1+.9)*ee,(Mt.y*.1+.05*.9)*ne)),st.add(new go.PathSegment(go.PathSegment.Line,Mt.x*ee,Mt.y*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,We.x*ee,We.y*ne,$e.x*ee,$e.y*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne)),me=.35,ue=Ee*.35;var nt=new go.PathFigure(Se*ee,(Ne-me)*ne,!1);ge.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne));var $t=new go.PathFigure((Se-me)*ee,Ne*ne,!1);return ge.add($t),Ce(ke),Ce(Te),Ce(We),Ce($e),Ce(ut),Ce(Mt),ge.spot1=new go.Spot(.202,.257),ge.spot2=new go.Spot(.792,.739),ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("GenderFemale",function(ze,ee,ne){var ge=new go.Geometry,ue=.375,me=0,Se=-.125,Ne=ue*Ee,ke=new go.PathFigure((.525+me)*ee,(.5+ue+Se)*ne,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ue+me)*ee,(.5+Se)*ne,(.5+Ne+me)*ee,(.5+ue+Se)*ne,(.5+ue+me)*ee,(.5+Ne+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5+me)*ee,(.5-ue+Se)*ne,(1-.5+ue+me)*ee,(.5-Ne+Se)*ne,(.5+Ne+me)*ee,(.5-ue+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+me)*ee,(.5+Se)*ne,(.5-Ne+me)*ee,(.5-ue+Se)*ne,(.5-ue+me)*ee,(.5-Ne+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.475+me)*ee,(.5+ue+Se)*ne,(.5-ue+me)*ee,(.5+Ne+Se)*ne,(.5-Ne+me)*ee,(.5+ue+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.475*ee,.85*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.425*ee,.85*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.425*ee,.9*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.475*ee,.9*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.475*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.525*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.525*ee,.9*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.575*ee,.9*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.575*ee,.85*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.525*ee,.85*ne).close()),ue=.325,me=0,Se=-.125,Ne=ue*Ee;var ke=new go.PathFigure((1-.5+ue+me)*ee,(.5+Se)*ne,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5+me)*ee,(.5+ue+Se)*ne,(.5+ue+me)*ee,(.5+Ne+Se)*ne,(.5+Ne+me)*ee,(.5+ue+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+me)*ee,(.5+Se)*ne,(.5-Ne+me)*ee,(.5+ue+Se)*ne,(.5-ue+me)*ee,(.5+Ne+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(.5+me)*ee,(.5-ue+Se)*ne,(.5-ue+me)*ee,(.5-Ne+Se)*ne,(.5-Ne+me)*ee,(.5-ue+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ue+me)*ee,(.5+Se)*ne,(.5+Ne+me)*ee,(.5-ue+Se)*ne,(1-.5+ue+me)*ee,(.5-Ne+Se)*ne));var ke=new go.PathFigure((.525+me)*ee,(.5+ue+Se)*ne,!1);return ge.add(ke),ge.spot1=new go.Spot(.232,.136),ge.spot2=new go.Spot(.682,.611),ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("LogicImplies",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;return isNaN(ge)&&(ge=.2),new go.Geometry().add(new go.PathFigure((1-ge)*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;return isNaN(ge)&&(ge=.2),new go.Geometry().add(new go.PathFigure((1-ge)*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,(1-ge)*ee,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,ge*ee,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ge*ee,ne))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ee,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ze,ee,ne){var ge=new go.Geometry().add(new go.PathFigure(.5*ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*ee,.5*ne,.5*ee,.5*ne)));return ge.defaultStretch=go.GraphObject.Uniform,ge}),go.Shape.defineFigureGenerator("LogicTruth",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Move,.5*ee,0)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Move,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Move,.25*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,.75*ee,.5*ne))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Move,0,ne)).add(new go.PathSegment(go.PathSegment.Line,ee,ne))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ze,ee,ne){var ge=.5;return new go.Geometry().add(new go.PathFigure(0,ne,!1).add(new go.PathSegment(go.PathSegment.Line,0,ge*ne)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ge*ee,ge*ne,ge*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,ne))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ze,ee,ne){var ge=.5;return new go.Geometry().add(new go.PathFigure(ee,0,!1).add(new go.PathSegment(go.PathSegment.Line,ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ge*ee,ge*ne,ge*ee,ge*ne)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new _e("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new _e("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.3);var ue=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=.3);var me=(1-ge)*ee,Se=(.5-ue/2)*ne,Ne=(.5+ue/2)*ne,ke=new go.Geometry,Te=new go.PathFigure(0,Se,!0);ke.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,me,Se)),Te.add(new go.PathSegment(go.PathSegment.Line,me,0)),Te.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),Te.add(new go.PathSegment(go.PathSegment.Line,me,ne)),Te.add(new go.PathSegment(go.PathSegment.Line,me,Ne)),Te.add(new go.PathSegment(go.PathSegment.Line,0,Ne).close()),ke.spot1=new go.Spot(0,Se/ne);var We=we(0,Ne/ne,1,Ne/ne,me/ee,1,1,.5,se());return ke.spot2=new go.Spot(We.x,We.y),Ce(We),ke}),go.Shape.setFigureParameter("Arrow2",0,new _e("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new _e("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=30),ge>ee&&(ge=ee);var ue=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=30),ue=Math.min(ue,ne/2);var me=ee-ge,Se=(ne-ue)/2,Ne=Se+ue,ke=new go.Geometry,Te=new go.PathFigure(0,Se,!0);ke.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,me,Se)),Te.add(new go.PathSegment(go.PathSegment.Line,me,0)),Te.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),Te.add(new go.PathSegment(go.PathSegment.Line,me,ne)),Te.add(new go.PathSegment(go.PathSegment.Line,me,Ne)),Te.add(new go.PathSegment(go.PathSegment.Line,0,Ne).close()),ke.spot1=new go.Spot(0,Se/ne);var We=we(0,Ne/ne,1,Ne/ne,me/ee,1,1,.5,se());return ke.spot2=new go.Spot(We.x,We.y),Ce(We),ke}),go.Shape.defineFigureGenerator("Chevron",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne).close()),ge}),go.Shape.defineFigureGenerator("DoubleArrow",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,.214*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,1*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,.786*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,1*ne).close()),ge}),go.Shape.setFigureParameter("DoubleEndArrow",0,new _e("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.3);var ue=(.5-ge/2)*ne,me=(.5+ge/2)*ne,Se=new go.Geometry,Ne=new go.PathFigure(ee,.5*ne,!0);Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.3*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.3*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.3*ee,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,.3*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0).close());var ke=we(0,.5,.3,0,0,ue/ne,.1,ue/ne,se());return Se.spot1=new go.Spot(ke.x,ke.y),ke=we(.7,1,1,.5,0,me/ne,1,me/ne,ke),Se.spot2=new go.Spot(ke.x,ke.y),Ce(ke),Se}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new _e("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new _e("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=40);var ue=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=100);var me=(ne-ge)/2,Se=me+ge,Ne=(ne-ue)/2,ke=Ne+ue;(ge>ne||ue>ne)&&(ue>ge?(ge=ge*ne/ue,me=(ne-ge)/2,Se=me+ge,Ne=0,ke=ne):(me=0,Se=ne,Ne=0,ke=ne));var Te=new go.Geometry,We=new go.PathFigure(ee,.5*ne,!0);Te.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ke)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,.3*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,.3*ee,ke)),We.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),We.add(new go.PathSegment(go.PathSegment.Line,.3*ee,Ne)),We.add(new go.PathSegment(go.PathSegment.Line,.3*ee,me)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,Ne).close());var $e=we(0,.5,.3,Ne/ne,0,me/ne,1,me/ne,se());return Te.spot1=new go.Spot($e.x,$e.y),$e=we(.7,ke/ne,1,.5,0,Se/ne,1,Se/ne,$e),Te.spot2=new go.Spot($e.x,$e.y),Ce($e),Te}),go.Shape.setFigureParameter("IBeamArrow",0,new _e("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.3);var ue=(.5-ge/2)*ne,me=(.5+ge/2)*ne,Se=new go.Geometry,Ne=new go.PathFigure(ee,.5*ne,!0);Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,0)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0).close()),Se.spot1=new go.Spot(0,ue/ne);var ke=we(.7,1,1,.5,0,me/ne,1,me/ne,se());return Se.spot2=new go.Spot(ke.x,ke.y),Ce(ke),Se}),go.Shape.setFigureParameter("IBeamArrow2",0,new _e("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new _e("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=40);var ue=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=100);var me=(ne-ge)/2,Se=me+ge,Ne=(ne-ue)/2,ke=Ne+ue;(ge>ne||ue>ne)&&(ue>ge?(ge=ge*ne/ue,me=(ne-ge)/2,Se=me+ge,Ne=0,ke=ne):(me=0,Se=ne,Ne=0,ke=ne));var Te=new go.Geometry,We=new go.PathFigure(ee,.5*ne,!0);Te.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ke)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,Se)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ke)),We.add(new go.PathSegment(go.PathSegment.Line,0,ke)),We.add(new go.PathSegment(go.PathSegment.Line,0,Ne)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,Ne)),We.add(new go.PathSegment(go.PathSegment.Line,.2*ee,me)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),We.add(new go.PathSegment(go.PathSegment.Line,.7*ee,Ne).close()),Te.spot1=new go.Spot(0,me/ne);var $e=we(.7,ke/ne,1,.5,0,Se/ne,1,Se/ne,se());return Te.spot2=new go.Spot($e.x,$e.y),Ce($e),Te}),go.Shape.setFigureParameter("Pointer",0,new _e("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.1);var ue=new go.Geometry,me=new go.PathFigure(ee,.5*ne,!0);ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,ge*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),ue.spot1=new go.Spot(ge,.35);var Se=we(.2,.65,1,.65,0,1,1,.5,se());return ue.spot2=new go.Spot(Se.x,Se.y),Ce(Se),ue}),go.Shape.setFigureParameter("RoundedPointer",0,new _e("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.3);var ue=new go.Geometry,me=new go.PathFigure(ee,.5*ne,!0);ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ge*ee,.75*ne,ge*ee,.25*ne).close()),ue.spot1=new go.Spot(ge,.35);var Se=we(0,.65,1,.65,0,1,1,.5,se());return ue.spot2=new go.Spot(Se.x,Se.y),Ce(Se),ue}),go.Shape.setFigureParameter("SplitEndArrow",0,new _e("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.4);var ue=(.5-ge/2)*ne,me=(.5+ge/2)*ne,Se=new go.Geometry,Ne=new go.PathFigure(ee,.5*ne,!0);Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0).close()),Se.spot1=new go.Spot(.2,.3);var ke=we(.7,1,1,.5,0,me/ne,1,me/ne,se());return Se.spot2=new go.Spot(ke.x,ke.y),Ce(ke),Se}),go.Shape.setFigureParameter("SplitEndArrow2",0,new _e("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=50);var ue=(ne-ge)/2,me=ue+ge;ge>ne&&(ue=0,me=ne);var Se=new go.Geometry,Ne=new go.PathFigure(ee,.5*ne,!0);Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0).close()),Se.spot1=new go.Spot(.2,ue/ne);var ke=we(.7,1,1,.5,0,me/ne,1,me/ne,se());return Se.spot2=new go.Spot(ke.x,ke.y),Ce(ke),Se}),go.Shape.setFigureParameter("SquareArrow",0,new _e("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.7);var ue=new go.Geometry,me=new go.PathFigure(ee,.5*ne,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ge*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,ge*ee,0).close()),ue.spot1=go.Spot.TopLeft,ue.spot2=new go.Spot(ge,1),ue}),go.Shape.defineFigureGenerator("Cone1",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=Ee*.1,Se=new go.PathFigure(0,.9*ne,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,(.9+me)*ne,(.5+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-ue)*ee,ne,0,(.9+me)*ne).close()),ge.spot1=new go.Spot(.25,.5),ge.spot2=new go.Spot(.75,.97),ge}),go.Shape.defineFigureGenerator("Cone2",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.9*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.9*ne,(1-.85/.9)*ee,ne,.85/.9*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.9*ne).close());var me=new go.PathFigure(0,.9*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee,.9*ne,(1-.85/.9)*ee,.8*ne,.85/.9*ee,.8*ne)),ge.spot1=new go.Spot(.25,.5),ge.spot2=new go.Spot(.75,.82),ge}),go.Shape.defineFigureGenerator("Cube1",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var me=new go.PathFigure(.5*ee,ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.15*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),ge.spot1=new go.Spot(0,.3),ge.spot2=new go.Spot(.5,.85),ge}),go.Shape.defineFigureGenerator("Cube2",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.3*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,0).close());var me=new go.PathFigure(0,.3*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Move,.7*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.7*ee,ne)),ge.spot1=new go.Spot(0,.3),ge.spot2=new go.Spot(.7,1),ge}),go.Shape.defineFigureGenerator("Cylinder1",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=5),ge=Math.min(ge,ne/3);var ue=new go.Geometry,me=Ee*.5,Se=new go.PathFigure(0,ge,!0);ue.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,Ee*ge,(.5-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,1*ee,ge,(.5+me)*ee,0,1*ee,Ee*ge)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne-ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,1*ne,1*ee,ne-Ee*ge,(.5+me)*ee,1*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ge,(.5-me)*ee,1*ne,0,ne-Ee*ge)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ge));var Ne=new go.PathFigure(ee,ge,!1);return ue.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,2*ge,1*ee,2*ge-Ee*ge,(.5+me)*ee,2*ge)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,ge,(.5-me)*ee,2*ge,0,2*ge-Ee*ge)),ue.spot1=new go.Spot(0,0,0,2*ge),ue.spot2=new go.Spot(1,1),ue}),go.Shape.defineFigureGenerator("Cylinder2",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=5),ge=Math.min(ge,ne/3);var ue=new go.Geometry,me=Ee*.5,Se=new go.PathFigure(0,ne-ge,!0);ue.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,0,ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,Ee*ge,(.5-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,ge,(.5+me)*ee,0,ee,Ee*ge)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne-ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,ne-Ee*ge,(.5+me)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ge,(.5-me)*ee,ne,0,ne-Ee*ge));var Ne=new go.PathFigure(0,ne-ge,!1);return ue.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne-2*ge,0,ne-ge-Ee*ge,(.5-me)*ee,ne-2*ge)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,ne-ge,(.5+me)*ee,ne-2*ge,ee,ne-ge-Ee*ge)),ue.spot1=new go.Spot(0,0),ue.spot2=new go.Spot(1,1,0,-2*ge),ue}),go.Shape.defineFigureGenerator("Cylinder3",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=5),ge=Math.min(ge,ee/3);var ue=new go.Geometry,me=Ee*.5,Se=new go.PathFigure(ge,0,!0);ue.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee-ge,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,ee-Ee*ge,0,ee,(.5-me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,ne,ee,(.5+me)*ne,ee-Ee*ge,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ge,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,Ee*ge,ne,0,(.5+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge,0,0,(.5-me)*ne,Ee*ge,0));var Ne=new go.PathFigure(ge,0,!1);return ue.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,2*ge,.5*ne,ge+Ee*ge,0,2*ge,(.5-me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ge,ne,2*ge,(.5+me)*ne,ge+Ee*ge,ne)),ue.spot1=new go.Spot(0,0,2*ge,0),ue.spot2=new go.Spot(1,1),ue}),go.Shape.defineFigureGenerator("Cylinder4",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=5),ge=Math.min(ge,ee/3);var ue=new go.Geometry,me=Ee*.5,Se=new go.PathFigure(ee-ge,0,!0);ue.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,ee-Ee*ge,0,ee,(.5-me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,ne,ee,(.5+me)*ne,ee-Ee*ge,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ge,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,Ee*ge,ne,0,(.5+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge,0,0,(.5-me)*ne,Ee*ge,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee-ge,0));var Ne=new go.PathFigure(ee-ge,0,!1);return ue.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee-2*ge,.5*ne,ee-ge-Ee*ge,0,ee-2*ge,(.5-me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,ne,ee-2*ge,(.5+me)*ne,ee-ge-Ee*ge,ne)),ue.spot1=new go.Spot(0,0),ue.spot2=new go.Spot(1,1,-2*ge,0),ue}),go.Shape.defineFigureGenerator("Prism1",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.25*ee,.25*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var me=new go.PathFigure(.25*ee,.25*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ge.spot1=new go.Spot(.408,.172),ge.spot2=new go.Spot(.833,.662),ge}),go.Shape.defineFigureGenerator("Prism2",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.25*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var me=new go.PathFigure(0,ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),me.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.5*ne)),ge.spot1=new go.Spot(.25,.5),ge.spot2=new go.Spot(.75,.75),ge}),go.Shape.defineFigureGenerator("Pyramid1",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne).close());var me=new go.PathFigure(.5*ee,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ge.spot1=new go.Spot(.25,.367),ge.spot2=new go.Spot(.75,.875),ge}),go.Shape.defineFigureGenerator("Pyramid2",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne).close());var me=new go.PathFigure(.5*ee,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.7*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.85*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.7*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.85*ne)),ge.spot1=new go.Spot(.25,.367),ge.spot2=new go.Spot(.75,.875),ge}),go.Shape.defineFigureGenerator("Actor",function(ze,ee,ne){var ge=new go.Geometry,ue=.2,me=.1,Se=Ee*ue,Ne=Ee*me,ke=.5,Te=.1,We=new go.PathFigure(ke*ee,(Te+me)*ne,!0);ge.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(ke-ue)*ee,Te*ne,(ke-Se)*ee,(Te+me)*ne,(ke-ue)*ee,(Te+Ne)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-me)*ne,(ke-ue)*ee,(Te-Ne)*ne,(ke-Se)*ee,(Te-me)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ke+ue)*ee,Te*ne,(ke+Se)*ee,(Te-me)*ne,(ke+ue)*ee,(Te-Ne)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te+me)*ne,(ke+ue)*ee,(Te+Ne)*ne,(ke+Se)*ee,(Te+me)*ne));var $e=.05,st=Ee*$e;ke=.05,Te=.25;var ut=new go.PathFigure(.5*ee,.2*ne,!0);return ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.95*ee,.2*ne)),ke=.95,Te=.25,ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke+$e)*ee,Te*ne,(ke+st)*ee,(Te-$e)*ne,(ke+$e)*ee,(Te-st)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,ee,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.35*ne)),$e=.025,st=Ee*$e,ke=.825,Te=.35,ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-$e)*ne,(ke+$e)*ee,(Te-st)*ne,(ke+st)*ee,(Te-$e)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-$e)*ee,Te*ne,(ke-st)*ee,(Te-$e)*ne,(ke-$e)*ee,(Te-st)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.8*ee,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*ee,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.7*ne)),$e=.05,st=Ee*$e,ke=.5,Te=.7,ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-$e)*ne,(ke+$e)*ee,(Te-st)*ne,(ke+st)*ee,(Te-$e)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-$e)*ee,Te*ne,(ke-st)*ee,(Te-$e)*ne,(ke-$e)*ee,(Te-st)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.45*ee,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.35*ne)),$e=.025,st=Ee*$e,ke=.175,Te=.35,ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-$e)*ne,(ke+$e)*ee,(Te-st)*ne,(ke+st)*ee,(Te-$e)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-$e)*ee,Te*ne,(ke-st)*ee,(Te-$e)*ne,(ke-$e)*ee,(Te-st)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),$e=.05,st=Ee*$e,ke=.05,Te=.25,ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-$e)*ne,(ke-$e)*ee,(Te-st)*ne,(ke-st)*ee,(Te-$e)*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.2*ne)),ge.spot1=new go.Spot(.2,.2),ge.spot2=new go.Spot(.8,.65),ge}),go.Shape.setFigureParameter("Card",0,new _e("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;isNaN(ge)&&(ge=.2);var ue=new go.Geometry,me=new go.PathFigure(ee,0,!0);return ue.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ge*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ge*ee,0).close()),ue.spot1=new go.Spot(0,ge),ue.spot2=go.Spot.BottomRight,ue}),go.Shape.defineFigureGenerator("Collate",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,.5*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne));var me=new go.PathFigure(.5*ee,.5*ne,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ge.spot1=new go.Spot(.25,0),ge.spot2=new go.Spot(.75,.25),ge}),go.Shape.defineFigureGenerator("CreateRequest",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure(0,ue*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ue*ne)),Se.add(new go.PathSegment(go.PathSegment.Move,0,(1-ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,(1-ue)*ne)),ge}),go.Shape.defineFigureGenerator("Database",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=Ee*.1,Se=new go.PathFigure(ee,.1*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,(.9+me)*ne,(.5+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-ue)*ee,ne,0,(.9+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,(.1-me)*ne,(.5-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.1*ne,(.5+ue)*ee,0,ee,(.1-me)*ne));var Ne=new go.PathFigure(ee,.1*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.2*ne,ee,(.1+me)*ne,(.5+ue)*ee,.2*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-ue)*ee,.2*ne,0,(.1+me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ee,.2*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.3*ne,ee,(.2+me)*ne,(.5+ue)*ee,.3*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-ue)*ee,.3*ne,0,(.2+me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ee,.3*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.4*ne,ee,(.3+me)*ne,(.5+ue)*ee,.4*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*ne,(.5-ue)*ee,.4*ne,0,(.3+me)*ne)),ge.spot1=new go.Spot(0,.4),ge.spot2=new go.Spot(1,.9),ge}),go.Shape.defineFigureGenerator("DataStorage",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.75*ee,ne,ee,0,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*ee,.9*ne,.25*ee,.1*ne).close()),ge.spot1=new go.Spot(.226,0),ge.spot2=new go.Spot(.81,1),ge}),go.Shape.defineFigureGenerator("DiskStorage",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=Ee*.1,Se=new go.PathFigure(ee,.1*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,(.9+me)*ne,(.5+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,(.5-ue)*ee,ne,0,(.9+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,(.1-me)*ne,(.5-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.1*ne,(.5+ue)*ee,0,ee,(.1-me)*ne));var Ne=new go.PathFigure(ee,.1*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.2*ne,ee,(.1+me)*ne,(.5+ue)*ee,.2*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*ne,(.5-ue)*ee,.2*ne,0,(.1+me)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ee,.2*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.3*ne,ee,(.2+me)*ne,(.5+ue)*ee,.3*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*ne,(.5-ue)*ee,.3*ne,0,(.2+me)*ne)),ge.spot1=new go.Spot(0,.3),ge.spot2=new go.Spot(1,.9),ge}),go.Shape.defineFigureGenerator("Display",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.25*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.75*ee,ne,ee,0,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close()),ge.spot1=new go.Spot(.25,0),ge.spot2=new go.Spot(.75,1),ge}),go.Shape.defineFigureGenerator("DividedEvent",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)?ue=.2:ue<.15&&(ue=.15);var me=Ee*.2,Se=new go.PathFigure(0,.2*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,0,0,(.2-me)*ne,(.2-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,.8*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.2*ne,(.8+me)*ee,0,ee,(.2-me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,ne,ee,(.8+me)*ne,(.8+me)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*ne,(.2-me)*ee,ne,0,(.8+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne));var Ne=new go.PathFigure(0,ue*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,ue*ne)),ge}),go.Shape.defineFigureGenerator("DividedProcess",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;(isNaN(ue)||ue<.1)&&(ue=.1);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure(0,ue*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ue*ne)),ge}),go.Shape.defineFigureGenerator("Document",function(ze,ee,ne){var ge=new go.Geometry;ne=ne/.8;var ue=new go.PathFigure(0,.7*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*ee,.4*ne,.5*ee,ne).close()),ge.spot1=go.Spot.TopLeft,ge.spot2=new go.Spot(1,.6),ge}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;(isNaN(ue)||ue<.2)&&(ue=.2);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure(ue*ee,0,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,0,ue*ne)),Se.add(new go.PathSegment(go.PathSegment.Move,ee,ue*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(1-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Move,0,(1-ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Move,(1-ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,(1-ue)*ne)),ge}),go.Shape.defineFigureGenerator("ExternalProcess",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var me=new go.PathFigure(.1*ee,.4*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.9*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.6*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.4*ee,.9*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.9*ne)),ge.spot1=new go.Spot(.25,.25),ge.spot2=new go.Spot(.75,.75),ge}),go.Shape.defineFigureGenerator("File",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var me=new go.PathFigure(.75*ee,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.25*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ge.spot1=new go.Spot(0,.25),ge.spot2=go.Spot.BottomRight,ge}),go.Shape.defineFigureGenerator("Interrupt",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,.5*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne));var me=new go.PathFigure(ee,.5*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne));var Se=new go.PathFigure(ee,.5*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.5,.75),ge}),go.Shape.defineFigureGenerator("InternalStorage",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN,me=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=.1),isNaN(me)&&(me=.1);var Se=new go.PathFigure(0,0,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Ne=new go.PathFigure(ue*ee,0,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,0,me*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,me*ne)),ge}),go.Shape.defineFigureGenerator("Junction",function(ze,ee,ne){var ge=new go.Geometry,ue=1/Math.SQRT2,me=(1-1/Math.SQRT2)/2,Se=Ee*.5,Ne=.5,ke=new go.PathFigure(ee,Ne*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Ne*ee,ne,ee,(Ne+Se)*ne,(Ne+Se)*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,Ne*ne,(Ne-Se)*ee,ne,0,(Ne+Se)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Ne*ee,0,0,(Ne-Se)*ne,(Ne-Se)*ee,0)),ke.add(new go.PathSegment(go.PathSegment.Bezier,ee,Ne*ne,(Ne+Se)*ee,0,ee,(Ne-Se)*ne));var Te=new go.PathFigure((me+ue)*ee,(me+ue)*ne,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,me*ee,me*ne)),Te.add(new go.PathSegment(go.PathSegment.Move,me*ee,(me+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Line,(me+ue)*ee,me*ne)),ge}),go.Shape.defineFigureGenerator("LinedDocument",function(ze,ee,ne){var ge=new go.Geometry;ne=ne/.8;var ue=new go.PathFigure(0,.7*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*ee,.4*ne,.5*ee,ne).close());var me=new go.PathFigure(.1*ee,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.75*ne)),ge.spot1=new go.Spot(.1,0),ge.spot2=new go.Spot(1,.6),ge}),go.Shape.defineFigureGenerator("LoopLimit",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne).close()),ge.spot1=new go.Spot(0,.25),ge.spot2=go.Spot.BottomRight,ge}),go.Shape.defineFigureGenerator("MagneticTape",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=new go.PathFigure(.5*ee,ne,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,me*ne,(me-ue)*ee,ne,0,(me+ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,0,0,(me-ue)*ne,(me-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,me*ne,(me+ue)*ee,0,ee,(me-ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me+.1)*ee,.9*ne,ee,(me+ue)*ne,(me+ue)*ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ge.spot1=new go.Spot(.15,.15),ge.spot2=new go.Spot(.85,.8),ge}),go.Shape.defineFigureGenerator("ManualInput",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne).close()),ge.spot1=new go.Spot(0,.25),ge.spot2=go.Spot.BottomRight,ge}),go.Shape.defineFigureGenerator("MessageFromUser",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.7);var me=new go.PathFigure(0,0,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ue*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=go.Spot.TopLeft,ge}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.25);var me=new go.PathFigure(0,0,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ue*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,(1-ue)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge}),go.Shape.defineFigureGenerator("MicroformRecording",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(1,.75),ge}),go.Shape.defineFigureGenerator("MultiDocument",function(ze,ee,ne){var ge=new go.Geometry;ne=ne/.8;var ue=new go.PathFigure(ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,.44*ne,.96*ee,.47*ne,.93*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.54*ne,.86*ee,.57*ne,.83*ee,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.4*ee,.4*ne,.4*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,0).close());var me=new go.PathFigure(.1*ee,.2*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.54*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.44*ne)),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.8,.77),ge}),go.Shape.defineFigureGenerator("MultiProcess",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.1*ee,.1*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.2*ne).close());var me=new go.PathFigure(.2*ee,.1*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.1*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.1*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.9*ne)),ge.spot1=new go.Spot(0,.2),ge.spot2=new go.Spot(.8,1),ge}),go.Shape.defineFigureGenerator("OfflineStorage",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=1-ue,Se=new go.PathFigure(0,0,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne).close());var Ne=new go.PathFigure(.5*ue*ee,ue*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*ue)*ee,ue*ne)),ge}),go.Shape.defineFigureGenerator("OffPageConnector",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=go.Spot.TopLeft,ge.spot2=new go.Spot(.75,1),ge}),go.Shape.defineFigureGenerator("Or",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=new go.PathFigure(ee,me*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,ne,ee,(me+ue)*ne,(me+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,me*ne,(me-ue)*ee,ne,0,(me+ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,0,0,(me-ue)*ne,(me-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,me*ne,(me+ue)*ee,0,ee,(me-ue)*ne));var Ne=new go.PathFigure(ee,.5*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,.5*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ge}),go.Shape.defineFigureGenerator("PaperTape",function(ze,ee,ne){var ge=new go.Geometry;ne=ne/.8;var ue=new go.PathFigure(0,.7*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.3*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.3*ne,.5*ee,.6*ne,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*ne,.5*ee,.4*ne,.5*ee,ne).close()),ge.spot1=new go.Spot(0,.49),ge.spot2=new go.Spot(1,.75),ge}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN,me=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=.1),isNaN(me)&&(me=.3);var Se=new go.PathFigure(0,0,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,(1-me)*ee,.5*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN,me=ze?ze.parameter2:NaN;isNaN(ue)&&(ue=.1),isNaN(me)&&(me=.3);var Se=new go.PathFigure(0,0,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,(1-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(1-me)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge}),go.Shape.defineFigureGenerator("Procedure",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure((1-ue)*ee,0,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,(1-ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Move,ue*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),ge}),go.Shape.defineFigureGenerator("Process",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=new go.PathFigure(0,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var Se=new go.PathFigure(ue*ee,0,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),ge.spot2=go.Spot.BottomRight,ge}),go.Shape.defineFigureGenerator("Sort",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne).close());var me=new go.PathFigure(0,.5*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ge.spot1=new go.Spot(.25,.25),ge.spot2=new go.Spot(.75,.5),ge}),go.Shape.defineFigureGenerator("Start",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.25);var me=new go.PathFigure(ue*ee,0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*ee,.5*ne,.25*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*ee,.5*ne,.25*ee,.5*ne));var Se=new go.PathFigure(ue*ee,0,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ue*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Move,(1-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,(1-ue)*ee,ne)),ge.spot1=new go.Spot(ue,0),ge.spot2=new go.Spot(1-ue,1),ge}),go.Shape.defineFigureGenerator("Terminator",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.25*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*ee,.5*ne,.25*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*ee,.5*ne,.25*ee,.5*ne)),ge.spot1=new go.Spot(.23,0),ge.spot2=new go.Spot(.77,1),ge}),go.Shape.defineFigureGenerator("TransmittalTape",function(ze,ee,ne){var ge=new go.Geometry,ue=ze?ze.parameter1:NaN;isNaN(ue)&&(ue=.1);var me=new go.PathFigure(0,0,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.75*ee,(1-ue)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,(1-ue)*ne).close()),ge.spot1=go.Spot.TopLeft,ge}),go.Shape.defineFigureGenerator("AndGate",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=new go.PathFigure(0,0,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,(.5+ue)*ee,0,ee,(.5-ue)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,(.5+ue)*ne,(.5+ue)*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=go.Spot.TopLeft,ge.spot2=new go.Spot(.55,1),ge}),go.Shape.defineFigureGenerator("Buffer",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.5,.75),ge}),go.Shape.defineFigureGenerator("Clock",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=new go.PathFigure(ee,me*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,ne,ee,(me+ue)*ne,(me+ue)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,me*ne,(me-ue)*ee,ne,0,(me+ue)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*ee,0,0,(me-ue)*ne,(me-ue)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,me*ne,(me+ue)*ee,0,ee,(me-ue)*ne));var Ne=new go.PathFigure(ee,me*ne,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,me*ne));var ke=new go.PathFigure(.8*ee,.75*ne,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.75*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.75*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.75*ne)),ge}),go.Shape.defineFigureGenerator("Ground",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.3*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.4*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,ne)),ge}),go.Shape.defineFigureGenerator("Inverter",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.1,me=.1,Se=.9,Ne=.5,ke=new go.PathFigure(.8*ee,.5*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ke.add(new go.PathSegment(go.PathSegment.Line,0,0)),ke.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.5*ne));var Te=new go.PathFigure((Se+me)*ee,Ne*ne,!0);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne-me)*ne,(Se+me)*ee,(Ne-ue)*ne)),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.4,.75),ge}),go.Shape.defineFigureGenerator("NandGate",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=Ee*.4,Se=Ee*.1,Ne=.1,ke=.9,Te=.5,We=new go.PathFigure(.8*ee,.5*ne,!0);ge.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,.4*ee,ne,.8*ee,(.5+me)*ne,(.4+ue)*ee,ne)),We.add(new go.PathSegment(go.PathSegment.Line,0,ne)),We.add(new go.PathSegment(go.PathSegment.Line,0,0)),We.add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)),We.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.5*ne,(.4+ue)*ee,0,.8*ee,(.5-me)*ne));var $e=new go.PathFigure((ke+Ne)*ee,Te*ne,!0);return ge.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te+Ne)*ne,(ke+Ne)*ee,(Te+Se)*ne,(ke+Se)*ee,(Te+Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne)*ee,Te*ne,(ke-Se)*ee,(Te+Ne)*ne,(ke-Ne)*ee,(Te+Se)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-Ne)*ne,(ke-Ne)*ee,(Te-Se)*ne,(ke-Se)*ee,(Te-Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne)*ee,Te*ne,(ke+Se)*ee,(Te-Ne)*ne,(ke+Ne)*ee,(Te-Se)*ne)),ge.spot1=new go.Spot(0,.05),ge.spot2=new go.Spot(.55,.95),ge}),go.Shape.defineFigureGenerator("NorGate",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*ue,Se=0,Ne=.5,ke=new go.PathFigure(.8*ee,.5*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.7*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*ee,.75*ne,.25*ee,.25*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.5*ne,(Se+me)*ee,(Ne-ue)*ne,.7*ee,(Ne-me)*ne)),ue=.1,me=Ee*.1,Se=.9,Ne=.5;var Te=new go.PathFigure((Se-ue)*ee,Ne*ne,!0);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),ge.spot1=new go.Spot(.2,.25),ge.spot2=new go.Spot(.6,.75),ge}),go.Shape.defineFigureGenerator("OrGate",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*ue,Se=0,Ne=.5,ke=new go.PathFigure(0,0,!0);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,(Se+me+me)*ee,(Ne-ue)*ne,.8*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.8*ee,(Ne+me)*ne,(Se+me+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*ee,.75*ne,.25*ee,.25*ne).close()),ge.spot1=new go.Spot(.2,.25),ge.spot2=new go.Spot(.75,.75),ge}),go.Shape.defineFigureGenerator("XnorGate",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*ue,Se=.2,Ne=.5,ke=new go.PathFigure(.1*ee,0,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,.1*ee,ne,.35*ee,.25*ne,.35*ee,.75*ne));var Te=new go.PathFigure(.8*ee,.5*ne,!0);ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,ne,.7*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,0,.45*ee,.75*ne,.45*ee,.25*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.5*ne,(Se+me)*ee,(Ne-ue)*ne,.7*ee,(Ne-me)*ne)),ue=.1,me=Ee*.1,Se=.9,Ne=.5;var We=new go.PathFigure((Se-ue)*ee,Ne*ne,!0);return ge.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),ge.spot1=new go.Spot(.4,.25),ge.spot2=new go.Spot(.65,.75),ge}),go.Shape.defineFigureGenerator("XorGate",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*ue,Se=.2,Ne=.5,ke=new go.PathFigure(.1*ee,0,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,.1*ee,ne,.35*ee,.25*ne,.35*ee,.75*ne));var Te=new go.PathFigure(.2*ee,0,!0);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,(Se+me)*ee,(Ne-ue)*ne,.9*ee,(Ne-me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,ne,.9*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.2*ee,0,.45*ee,.75*ne,.45*ee,.25*ne).close()),ge.spot1=new go.Spot(.4,.25),ge.spot2=new go.Spot(.8,.75),ge}),go.Shape.defineFigureGenerator("Capacitor",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge}),go.Shape.defineFigureGenerator("Resistor",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.5*ne)),ge}),go.Shape.defineFigureGenerator("Inductor",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.1,me=.1,Se=.1,Ne=.5,ke=new go.PathFigure((Se-ue*.5)*ee,ne,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,0,(Se-ue)*ee,ne,(Se-me)*ee,0)),Se=.3,ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,ne,(Se+me)*ee,0,(Se+ue)*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,0,(Se-ue)*ee,ne,(Se-me)*ee,0)),Se=.5,ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,ne,(Se+me)*ee,0,(Se+ue)*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,0,(Se-ue)*ee,ne,(Se-me)*ee,0)),Se=.7,ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,ne,(Se+me)*ee,0,(Se+ue)*ee,ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,0,(Se-ue)*ee,ne,(Se-me)*ee,0)),Se=.9,ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue*.5)*ee,ne,(Se+me)*ee,0,(Se+ue)*ee,ne)),ge}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.5,me=.5,Se=.5,Ne=.5,ke=new go.PathFigure((Se-me)*ee,Ne*ne,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne-me)*ne,(Se+me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Move,(Se-me+.1)*ee,Ne*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me-.1)*ee,Ne*ne,Se*ee,(Ne-me)*ne,Se*ee,(Ne+me)*ne)),ge}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.75*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge}),go.Shape.defineFigureGenerator("Diode",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge.spot1=new go.Spot(0,.25),ge.spot2=new go.Spot(.5,.75),ge}),go.Shape.defineFigureGenerator("Wifi",function(ze,ee,ne){var ge=new go.Geometry,ue=ee,me=ne;ee=ee*.38,ne=ne*.6;var Se=Ee*.8,Ne=.8,ke=0,Te=.5,We=(ue-ee)/2,$e=(me-ne)/2,st=new go.PathFigure(ke*ee+We,(Te+Ne)*ne+$e,!0);ge.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne)*ee+We,Te*ne+$e,(ke-Se)*ee+We,(Te+Ne)*ne+$e,(ke-Ne)*ee+We,(Te+Se)*ne+$e)),st.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne)*ee+We,(Te-Se)*ne+$e,(ke-Se)*ee+We,(Te-Ne)*ne+$e)),st.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne+Se*.5)*ee+We,Te*ne+$e,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne+Se*.5)*ee+We,(Te-Se)*ne+$e)),st.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke-Ne+Se*.5)*ee+We,(Te+Se)*ne+$e,ke*ee+We,(Te+Ne)*ne+$e).close()),Se=Ee*.4,Ne=.4,ke=.2,Te=.5;var ut=new go.PathFigure(ke*ee+We,(Te+Ne)*ne+$e,!0);ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne)*ee+We,Te*ne+$e,(ke-Se)*ee+We,(Te+Ne)*ne+$e,(ke-Ne)*ee+We,(Te+Se)*ne+$e)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne)*ee+We,(Te-Se)*ne+$e,(ke-Se)*ee+We,(Te-Ne)*ne+$e)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne+Se*.5)*ee+We,Te*ne+$e,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne+Se*.5)*ee+We,(Te-Se)*ne+$e)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke-Ne+Se*.5)*ee+We,(Te+Se)*ne+$e,ke*ee+We,(Te+Ne)*ne+$e).close()),Se=Ee*.2,Ne=.2,ke=.5,Te=.5;var Mt=new go.PathFigure((ke-Ne)*ee+We,Te*ne+$e,!0);ge.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke-Ne)*ee+We,(Te-Se)*ne+$e,(ke-Se)*ee+We,(Te-Ne)*ne+$e)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne)*ee+We,Te*ne+$e,(ke+Se)*ee+We,(Te-Ne)*ne+$e,(ke+Ne)*ee+We,(Te-Se)*ne+$e)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne)*ee+We,(Te+Se)*ne+$e,(ke+Se)*ee+We,(Te+Ne)*ne+$e)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Ne)*ee+We,Te*ne+$e,(ke-Se)*ee+We,(Te+Ne)*ne+$e,(ke-Ne)*ee+We,(Te+Se)*ne+$e)),Se=Ee*.4,Ne=.4,ke=.8,Te=.5;var nt=new go.PathFigure(ke*ee+We,(Te-Ne)*ne+$e,!0);ge.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne)*ee+We,Te*ne+$e,(ke+Se)*ee+We,(Te-Ne)*ne+$e,(ke+Ne)*ee+We,(Te-Se)*ne+$e)),nt.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne)*ee+We,(Te+Se)*ne+$e,(ke+Se)*ee+We,(Te+Ne)*ne+$e)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne-Se*.5)*ee+We,Te*ne+$e,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne-Se*.5)*ee+We,(Te+Se)*ne+$e)),nt.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke+Ne-Se*.5)*ee+We,(Te-Se)*ne+$e,ke*ee+We,(Te-Ne)*ne+$e).close()),Se=Ee*.8,Ne=.8,ke=1,Te=.5;var $t=new go.PathFigure(ke*ee+We,(Te-Ne)*ne+$e,!0);return ge.add($t),$t.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne)*ee+We,Te*ne+$e,(ke+Se)*ee+We,(Te-Ne)*ne+$e,(ke+Ne)*ee+We,(Te-Se)*ne+$e)),$t.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne)*ee+We,(Te+Se)*ne+$e,(ke+Se)*ee+We,(Te+Ne)*ne+$e)),$t.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Ne-Se*.5)*ee+We,Te*ne+$e,ke*ee+We,(Te+Ne)*ne+$e,(ke+Ne-Se*.5)*ee+We,(Te+Se)*ne+$e)),$t.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee+We,(Te-Ne)*ne+$e,(ke+Ne-Se*.5)*ee+We,(Te-Se)*ne+$e,ke*ee+We,(Te-Ne)*ne+$e).close()),ge}),go.Shape.defineFigureGenerator("Email",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var me=new go.PathFigure(0,0,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,0)),me.add(new go.PathSegment(go.PathSegment.Move,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.54*ne)),me.add(new go.PathSegment(go.PathSegment.Move,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.54*ne)),ge}),go.Shape.defineFigureGenerator("Ethernet",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.35*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,0).close());var me=new go.PathFigure(.1*ee,ne,!0,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.1*ee,ne).close());var Se=new go.PathFigure(.6*ee,ne,!0,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.6*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.6*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.6*ee,ne).close());var Ne=new go.PathFigure(0,.5*ne,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.4*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,.75*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.6*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,.25*ee,.5*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.6*ne)),ge}),go.Shape.defineFigureGenerator("Power",function(ze,ee,ne){var ge=new go.Geometry,ue=Ee*.4,me=.4,Se=.5,Ne=.5,ke=se(),Te=se(),We=se(),$e=se();Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.5,ke,ke,Te,We,$e);var st=oe(Te.x,Te.y),ut=new go.PathFigure(Te.x*ee,Te.y*ne,!0);ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,We.x*ee,We.y*ne,$e.x*ee,$e.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,(Se-ue)*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne)),Ie(Se-me,Ne,Se-me,Ne-ue,Se-ue,Ne-me,Se,Ne-me,.5,We,$e,Te,ke,ke),ut.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*ee,Te.y*ne,We.x*ee,We.y*ne,$e.x*ee,$e.y*ne)),ue=Ee*.3,me=.3,Ie(Se-me,Ne,Se-me,Ne-ue,Se-ue,Ne-me,Se,Ne-me,.5,We,$e,Te,ke,ke),ut.add(new go.PathSegment(go.PathSegment.Line,Te.x*ee,Te.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*ee,Ne*ne,$e.x*ee,$e.y*ne,We.x*ee,We.y*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+me)*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*ee,Ne*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Ie(Se,Ne-me,Se+ue,Ne-me,Se+me,Ne-ue,Se+me,Ne,.5,ke,ke,Te,We,$e),ut.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*ee,Te.y*ne,$e.x*ee,$e.y*ne,We.x*ee,We.y*ne).close());var ut=new go.PathFigure(.45*ee,0,!0);return ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.5*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.5*ne)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*ee,0).close()),Ce(ke),Ce(Te),Ce(We),Ce($e),Ce(st),ge.spot1=new go.Spot(.25,.45),ge.spot2=new go.Spot(.75,.8),ge}),go.Shape.defineFigureGenerator("Fallout",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne/2,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,180,360,ee/2,ne/2,ee/2,ne/2));function me(Se,Ne,ke){Se.add(new go.PathSegment(go.PathSegment.Move,(.3+Ne)*ee,(.8+ke)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(.5+Ne)*ee,(.5+ke)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(.1+Ne)*ee,(.5+ke)*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,(.3+Ne)*ee,(.8+ke)*ne).close())}return me(ue,0,0),me(ue,.4,0),me(ue,.2,-.3),ge}),go.Shape.defineFigureGenerator("IrritationHazard",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.2*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.3*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close()),ge.spot1=new go.Spot(.3,.3),ge.spot2=new go.Spot(.7,.7),ge}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.37*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.11*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.77*ee,.04*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,.49*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.37*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.63*ee,.86*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.77*ee,.91*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.34*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.34*ee,.78*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.44*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.56*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne).close()),ge}),go.Shape.defineFigureGenerator("FireHazard",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.1*ee,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.29*ee,0,-.25*ee,.63*ne,.45*ee,.44*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.51*ee,.42*ne,.48*ee,.17*ne,.54*ee,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.59*ee,.18*ne,.59*ee,.29*ne,.58*ee,.28*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.75*ee,.6*ne,.8*ee,.34*ne,.88*ee,.43*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.88*ee,.31*ne,.87*ee,.48*ne,.88*ee,.43*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,ne,1.17*ee,.76*ne,.82*ee,.8*ne).close()),ge.spot1=new go.Spot(.07,.445),ge.spot2=new go.Spot(.884,.958),ge}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=0,Se=0,Ne=ue*Ee,ke=.4*Math.SQRT2/2+.5,Te=.5-.5*Math.SQRT2/2,We=1,$e=.5,st=.5,ut=0,Mt=new go.PathFigure(ke*ee,(1-Te)*ne,!1);return ge.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,$e*ne,We*ee,.7*ne,We*ee,$e*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(st+me)*ee,(ut+me)*ne,(.5+ue+me)*ee,(.5-Ne+me)*ne,(.5+Ne+me)*ee,(.5-ue+me)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+me)*ee,(.5+Se)*ne,(.5-Ne+me)*ee,(.5-ue+Se)*ne,(.5-ue+me)*ee,(.5-Ne+Se)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+me)*ee,.9*ne,(.5-ue+me)*ee,(.5+Ne+Se)*ne,(.5-Ne+me)*ee,.9*ne)),Mt.add(new go.PathSegment(go.PathSegment.Move,(.25+me)*ee,.8*ne)),Mt.add(new go.PathSegment(go.PathSegment.Line,(.35+me)*ee,.9*ne)),Mt.add(new go.PathSegment(go.PathSegment.Line,(.2+me)*ee,.95*ne)),ge}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ge}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);ge.add(ue);var me=new go.PathFigure(ee,ne,!1);ge.add(me);var Se=new go.PathFigure(0,.5*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.5*ne,.2*ee,.35*ne,.3*ee,.35*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,.7*ee,.65*ne,.8*ee,.65*ne)),ge}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne).close()),ge}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.2*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne).close());var ue=new go.PathFigure(0,.2*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne)),ge}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.7*ee,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,0,.6*ee,.5*ne,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.7*ee,ne,.4*ee,.5*ne,ee,.5*ne).close());var me=new go.PathFigure(.45*ee,.73*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.73*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.38*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.63*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.31*ee,.27*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.56*ee,.27*ne)),ge}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);ge.add(ue);var me=new go.PathFigure(.335*ee,(1-.555)*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.335*ee,(1-.405)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*ee,(1-.405)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*ee,(1-.555)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee,.68*ne,(1-.12)*ee,.46*ne,(1-.02)*ee,.54*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.68*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.335*ee,(1-.555)*ne,.02*ee,.54*ne,.12*ee,.46*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.365*ee,(1-.595)*ne));var Se=.5-.285,Ne=.5,ke=Se,Te=Math.PI/4,We=4*(1-Math.cos(Te))/(3*Math.sin(Te)),$e=We*.5,st=Se,ut=Se,Mt=We*st,nt=We*ut;me.add(new go.PathSegment(go.PathSegment.Bezier,(Ne-st)*ee,ke*ne,(Ne-(Mt+st)/2)*ee,(ke+(ut+nt)/2)*ne,(Ne-st)*ee,(ke+nt)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,Ne*ee,(ke-ut)*ne,(Ne-st)*ee,(ke-nt)*ne,(Ne-Mt)*ee,(ke-ut)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,(Ne+st)*ee,ke*ne,(Ne+Mt)*ee,(ke-ut)*ne,(Ne+st)*ee,(ke-nt)*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*ee,(1-.595)*ne,(Ne+st)*ee,(ke+nt)*ne,(Ne+(Mt+st)/2)*ee,(ke+(ut+nt)/2)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*ee,(1-.595)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*ee,(1-.555)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*ee,(1-.405)*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.335*ee,(1-.405)*ne));var $t=new go.PathFigure(.2*ee,ne,!1);ge.add($t),$t.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.8*ne));var Pt=new go.PathFigure(.8*ee,ne,!1);return ge.add(Pt),Pt.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.8*ne)),ge}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.1*ee,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,ne).close());var me=new go.PathFigure(.2*ee,.2*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.8*ne)),ge}),go.Shape.defineFigureGenerator("BpmnEventError",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.66*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.66*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,.5*ne).close()),ge}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);ge.add(ue);var me=new go.PathFigure(ee,ne,!1);ge.add(me);var Se=new go.PathFigure(.1*ee,ne,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne).close()),ge}),go.Shape.defineFigureGenerator("Caution",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.05*ee,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*ee,.8*ne,0,ne,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.55*ee,.1*ne,.5*ee,0,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.95*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,ne,ee,ne,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.05*ee,ne));var me=.05;return ue.add(new go.PathSegment(go.PathSegment.Move,(.5-me)*ee,.875*ne)),ue.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*ee,.875*ne,me*ee,me*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.325*ne,.575*ee,.725*ne,.625*ee,.375*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.75*ne,.375*ee,.375*ne,.425*ee,.725*ne)),ge}),go.Shape.defineFigureGenerator("Recycle",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.45*ee,.95*ne,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.185*ee,.85*ne,.17*ee,.95*ne,.15*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.235*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*ee,.625*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.275*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.05*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.05*ee,.575*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1875*ee,.95*ne,0,.675*ne,0,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.45*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.775*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.22*ee,.775*ne));var me=new go.PathFigure(.475*ee,.2*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.225*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.275*ee,.175*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.325*ee,.05*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.4*ee,.05*ne,.35*ee,0,.375*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.575*ee,.375*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.525*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.475*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.315*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.32*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.05*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.575*ee,0,.65*ee,.05*ne,.625*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.38*ee,.0105*ne));var Se=new go.PathFigure(.675*ee,.575*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.875*ee,.525*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.775*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,.85*ee,.95*ne,ee,.8*ne,ee,.85*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.95*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.65*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.85*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.725*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.775*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.775*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.775*ne)),Se.add(new go.PathSegment(go.PathSegment.Move,.675*ee,.575*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.775*ee,.775*ne)),ge}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*.5,Se=new go.PathFigure(ee,ue*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,ue*ee,ne,ee,(ue+me)*ne,(ue+me)*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*ne,(ue-me)*ee,ne,0,(ue+me)*ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ue*ee,0,0,(ue-me)*ne,(ue-me)*ee,0)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee,ue*ne,(ue+me)*ee,0,ee,(ue-me)*ne));var Ne=new go.PathFigure(ue*ee,0,!1);return ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ue*ee,.15*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ue*ee,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,ue*ee,.85*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,0,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.15*ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ue*ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.58*ee,.1*ne)),Ne.add(new go.PathSegment(go.PathSegment.Move,ue*ee,ue*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.78*ee,.54*ne)),ge}),go.Shape.defineFigureGenerator("Package",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.15*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close());var me=new go.PathFigure(0,.15*ne,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.15*ne).close()),ge.spot1=new go.Spot(0,.1),ge.spot2=new go.Spot(1,1),ge}),go.Shape.defineFigureGenerator("Class",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var me=new go.PathFigure(0,.2*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne).close());var Se=new go.PathFigure(0,.5*ne,!1);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne).close()),ge}),go.Shape.defineFigureGenerator("Component",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne).close());var me=new go.PathFigure(0,.2*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.2*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.2*ne).close());var Se=new go.PathFigure(0,.6*ne,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.6*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.8*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne).close()),ge}),go.Shape.defineFigureGenerator("Boat Shipment",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.15*ee,.6*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.6*ne));var me=new go.PathFigure(.15*ee,.6*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.6*ne)),ge}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.66*ee,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.66*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.33*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne).close()),ge}),go.Shape.defineFigureGenerator("Workcell",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.65*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.35*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ge}),go.Shape.defineFigureGenerator("Supermarket",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,.33*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.66*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.66*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,ee,.66*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge}),go.Shape.defineFigureGenerator("TruckShipment",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var me=new go.PathFigure(ee,.8*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne).close());var Se=.1,Ne=Ee*.1,ke=.2,Te=.9,We=new go.PathFigure((ke-Se)*ee,Te*ne,!0);ge.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-Se)*ne,(ke-Se)*ee,(Te-Ne)*ne,(ke-Ne)*ee,(Te-Se)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Se)*ee,Te*ne,(ke+Ne)*ee,(Te-Se)*ne,(ke+Se)*ee,(Te-Ne)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te+Se)*ne,(ke+Se)*ee,(Te+Ne)*ne,(ke+Ne)*ee,(Te+Se)*ne)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Se)*ee,Te*ne,(ke-Ne)*ee,(Te+Se)*ne,(ke-Se)*ee,(Te+Ne)*ne).close()),Se=.1,Ne=Ee*.1,ke=.8,Te=.9;var $e=new go.PathFigure((ke-Se)*ee,Te*ne,!0);return ge.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te-Se)*ne,(ke-Se)*ee,(Te-Ne)*ne,(ke-Ne)*ee,(Te-Se)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ke+Se)*ee,Te*ne,(ke+Ne)*ee,(Te-Se)*ne,(ke+Se)*ee,(Te-Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,ke*ee,(Te+Se)*ne,(ke+Se)*ee,(Te+Ne)*ne,(ke+Ne)*ee,(Te+Se)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(ke-Se)*ee,Te*ne,(ke-Ne)*ee,(Te+Se)*ne,(ke-Se)*ee,(Te+Ne)*ne).close()),ge}),go.Shape.defineFigureGenerator("KanbanPost",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.2*ee,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,ne)),ge}),go.Shape.defineFigureGenerator("Forklift",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0));var me=new go.PathFigure(0,.5*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.8*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var Se=new go.PathFigure(.5*ee,.8*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.1*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.1*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.8*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.8*ne));var Ne=new go.PathFigure(.5*ee,.7*ne,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,.7*ne));var ke=.1,Te=Ee*.1,We=.1,$e=.9,st=new go.PathFigure((We-ke)*ee,$e*ne,!0);ge.add(st),st.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,($e-ke)*ne,(We-ke)*ee,($e-Te)*ne,(We-Te)*ee,($e-ke)*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We+ke)*ee,$e*ne,(We+Te)*ee,($e-ke)*ne,(We+ke)*ee,($e-Te)*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,($e+ke)*ne,(We+ke)*ee,($e+Te)*ne,(We+Te)*ee,($e+ke)*ne)),st.add(new go.PathSegment(go.PathSegment.Bezier,(We-ke)*ee,$e*ne,(We-Te)*ee,($e+ke)*ne,(We-ke)*ee,($e+Te)*ne)),ke=.1,Te=Ee*.1,We=.4,$e=.9;var ut=new go.PathFigure((We-ke)*ee,$e*ne,!0);return ge.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,($e-ke)*ne,(We-ke)*ee,($e-Te)*ne,(We-Te)*ee,($e-ke)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(We+ke)*ee,$e*ne,(We+Te)*ee,($e-ke)*ne,(We+ke)*ee,($e-Te)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,We*ee,($e+ke)*ne,(We+ke)*ee,($e+Te)*ne,(We+Te)*ee,($e+ke)*ne)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(We-ke)*ee,$e*ne,(We-Te)*ee,($e+ke)*ne,(We-ke)*ee,($e+Te)*ne)),ge}),go.Shape.defineFigureGenerator("RailShipment",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.1*ee,.4*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.9*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.4*ne).close());var me=new go.PathFigure(.45*ee,.7*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.7*ne));var Se=new go.PathFigure(.55*ee,.4*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.4*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.9*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.55*ee,.4*ne).close());var We=.05,$e=Ee*.05,st=.175,ut=.95,Ne=new go.PathFigure((st-We)*ee,ut*ne,!0);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut-We)*ne,(st-We)*ee,(ut-$e)*ne,(st-$e)*ee,(ut-We)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(st+We)*ee,ut*ne,(st+$e)*ee,(ut-We)*ne,(st+We)*ee,(ut-$e)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut+We)*ne,(st+We)*ee,(ut+$e)*ne,(st+$e)*ee,(ut+We)*ne)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(st-We)*ee,ut*ne,(st-$e)*ee,(ut+We)*ne,(st-We)*ee,(ut+$e)*ne));var We=.05,$e=Ee*.05,st=.375,ut=.95,ke=new go.PathFigure((st-We)*ee,ut*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut-We)*ne,(st-We)*ee,(ut-$e)*ne,(st-$e)*ee,(ut-We)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(st+We)*ee,ut*ne,(st+$e)*ee,(ut-We)*ne,(st+We)*ee,(ut-$e)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut+We)*ne,(st+We)*ee,(ut+$e)*ne,(st+$e)*ee,(ut+We)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(st-We)*ee,ut*ne,(st-$e)*ee,(ut+We)*ne,(st-We)*ee,(ut+$e)*ne));var We=.05,$e=Ee*.05,st=.625,ut=.95,Te=new go.PathFigure((st-We)*ee,ut*ne,!0);ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut-We)*ne,(st-We)*ee,(ut-$e)*ne,(st-$e)*ee,(ut-We)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(st+We)*ee,ut*ne,(st+$e)*ee,(ut-We)*ne,(st+We)*ee,(ut-$e)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut+We)*ne,(st+We)*ee,(ut+$e)*ne,(st+$e)*ee,(ut+We)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(st-We)*ee,ut*ne,(st-$e)*ee,(ut+We)*ne,(st-We)*ee,(ut+$e)*ne));var We=.05,$e=Ee*.05,st=.825,ut=.95,Mt=new go.PathFigure((st-We)*ee,ut*ne,!0);ge.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut-We)*ne,(st-We)*ee,(ut-$e)*ne,(st-$e)*ee,(ut-We)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(st+We)*ee,ut*ne,(st+$e)*ee,(ut-We)*ne,(st+We)*ee,(ut-$e)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,st*ee,(ut+We)*ne,(st+We)*ee,(ut+$e)*ne,(st+$e)*ee,(ut+We)*ne)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(st-We)*ee,ut*ne,(st-$e)*ee,(ut+We)*ne,(st-We)*ee,(ut+$e)*ne).close());var nt=new go.PathFigure(0,ne,!1);return ge.add(nt),nt.add(new go.PathSegment(go.PathSegment.Line,ee,ne).close()),ge}),go.Shape.defineFigureGenerator("Warehouse",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var me=new go.PathFigure(0,.2*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne).close());var Se=new go.PathFigure(.15*ee,ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.5*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.5*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.4*ee,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.15*ee,ne).close());var Ne=.05,ke=Ee*.05,Te=.35,We=.775,$e=new go.PathFigure((Te-Ne)*ee,We*ne,!0);return ge.add($e),$e.add(new go.PathSegment(go.PathSegment.Bezier,Te*ee,(We-Ne)*ne,(Te-Ne)*ee,(We-ke)*ne,(Te-ke)*ee,(We-Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(Te+Ne)*ee,We*ne,(Te+ke)*ee,(We-Ne)*ne,(Te+Ne)*ee,(We-ke)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,Te*ee,(We+Ne)*ne,(Te+Ne)*ee,(We+ke)*ne,(Te+ke)*ee,(We+Ne)*ne)),$e.add(new go.PathSegment(go.PathSegment.Bezier,(Te-Ne)*ee,We*ne,(Te-ke)*ee,(We+Ne)*ne,(Te-Ne)*ee,(We+ke)*ne).close()),ge}),go.Shape.defineFigureGenerator("ControlCenter",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.1*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne).close()),ge}),go.Shape.defineFigureGenerator("Bluetooth",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.75*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*ne)),ge}),go.Shape.defineFigureGenerator("Bookmark",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.4*ne)),ge}),go.Shape.defineFigureGenerator("Bookmark",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.4*ne)),ge}),go.Shape.defineFigureGenerator("Globe",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.5*ne,.75*ee,0,ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,ee,.75*ne,.75*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.25*ee,ne,0,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,0,.25*ne,.25*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,ne,.15*ee,.25*ne,.15*ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,.85*ee,.75*ne,.85*ee,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.1675*ee,.15*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8325*ee,.15*ne,.35*ee,.3*ne,.65*ee,.3*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.1675*ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8325*ee,.85*ne,.35*ee,.7*ne,.65*ee,.7*ne)),ge}),go.Shape.defineFigureGenerator("Wave",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.25*ne,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,.25*ne,.1*ee,0,.2*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.7*ee,.25*ne,.425*ee,.5*ne,.575*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.25*ne,.8*ee,0,.9*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,0,.25*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.75*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,.75*ne,.1*ee,.5*ne,.2*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.7*ee,.75*ne,.425*ee,ne,.575*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.75*ne,.8*ee,.5*ne,.9*ee,.5*ne)),ge}),go.Shape.defineFigureGenerator("Operator",function(ze,ee,ne){var ge=new go.Geometry,ue=.3,me=Ee*.3,Se=.5,Ne=.7,ke=new go.PathFigure((Se-ue)*ee,Ne*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne));var Te=new go.PathFigure(0,.7*ne,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,ee,.7*ne,0,0,ee,0)),ge}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.5*ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.65*ne,.65*ee,.3*ne,.65*ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,.35*ee,.5*ne,.35*ee,.3*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ne,.3*ee,.6*ne,.1*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.65*ne,.2*ee,ne,.35*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,ne,.7*ee,.6*ne,.9*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.65*ne,.8*ee,ne,.65*ee,.95*ne)),ge}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee,0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,0,.075*ne,0,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*ee,ne,0,ne,.4*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.4*ne,.8*ee,ne,.85*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge}),go.Shape.defineFigureGenerator("Battery",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.4*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.1*ne));var me=new go.PathFigure(0,.6*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Move,0,.4*ne)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.4*ne)),ge}),go.Shape.defineFigureGenerator("Delete",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*.5,Se=.5,Ne=.5,ke=new go.PathFigure((Se-ue)*ee,Ne*ne,!0);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne));var Te=new go.PathFigure(.15*ee,.5*ne,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.5*ne)),ge}),go.Shape.defineFigureGenerator("Flag",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.1*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,0,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.1*ne,.15*ee,0,.35*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ee,.1*ne,.65*ee,.2*ne,.85*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.5*ne,.85*ee,.6*ne,.65*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*ne,.35*ee,.4*ne,.15*ee,.4*ne).close()),ge}),go.Shape.defineFigureGenerator("Help",function(ze,ee,ne){var ge=new go.Geometry,ue=.5,me=Ee*.5,Se=.5,Ne=.5,ke=new go.PathFigure((Se-ue)*ee,Ne*ne,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne).close()),ue=.05,me=Ee*.05,Se=.5,Ne=.8;var Te=new go.PathFigure((Se-ue)*ee,Ne*ne,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne-ue)*ne,(Se-ue)*ee,(Ne-me)*ne,(Se-me)*ee,(Ne-ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ue)*ee,Ne*ne,(Se+me)*ee,(Ne-ue)*ne,(Se+ue)*ee,(Ne-me)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,Se*ee,(Ne+ue)*ne,(Se+ue)*ee,(Ne+me)*ne,(Se+me)*ee,(Ne+ue)*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(Se-ue)*ee,Ne*ne,(Se-me)*ee,(Ne+ue)*ne,(Se-ue)*ee,(Ne+me)*ne).close()),Te.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.7*ne)),Te.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.5*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,.2*ne,.75*ee,.475*ne,.75*ee,.225*ne)),Te.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,.35*ne,.4*ee,.2*ne,.3*ee,.25*ne)),ge}),go.Shape.defineFigureGenerator("Location",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.5*ee,ne,!0).add(new go.PathSegment(go.PathSegment.Line,.75*ee,.5*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5*ee,0,.975*ee,.025*ne,.5*ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*ee,.5*ne,.5*ee,0,.025*ee,.025*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*ee,.2*ne)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*ee,.3*ne,.1*ee,.1*ne).close()))}),go.Shape.defineFigureGenerator("Lock",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var me=new go.PathFigure(.2*ee,.5*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.3*ne,.25*ee,0,.75*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.3*ne)),ge}),go.Shape.defineFigureGenerator("Unlocked",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.5*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*ne));var me=new go.PathFigure(.2*ee,.5*ne,!1);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Move,.2*ee,.5*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.3*ne)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*ee,.3*ne,.25*ee,0,.75*ee,0)),me.add(new go.PathSegment(go.PathSegment.Line,.8*ee,.35*ne)),ge}),go.Shape.defineFigureGenerator("Gear",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(.9375*ee,.56246875*ne,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*ee,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.80621875*ee,.4375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.763*ee,.3316875*ne,.79840625*ee,.39915625*ne,.7834375*ee,.3635*ne)).add(new go.PathSegment(go.PathSegment.Line,.8566875*ee,.23796875*ne)).add(new go.PathSegment(go.PathSegment.Line,.76825*ee,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.67596875*ee,.24184375*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*ee,.19378125*ne,.64228125*ee,.2188125*ne,.603875*ee,.2021875*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*ee,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*ee,.0625*ne)).add(new go.PathSegment(go.PathSegment.Line,.4375*ee,.19378125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*ee,.239375*ne,.39759375*ee,.20190625*ne,.36053125*ee,.2176875*ne)).add(new go.PathSegment(go.PathSegment.Line,.2379375*ee,.14959375*ne)).add(new go.PathSegment(go.PathSegment.Line,.14953125*ee,.2379375*ne)).add(new go.PathSegment(go.PathSegment.Line,.23934375*ee,.3278125*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*ee,.4375*ne,.21765625*ee,.36059375*ne,.201875*ee,.397625*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*ee,.4375*ne)).add(new go.PathSegment(go.PathSegment.Line,.0625*ee,.5625*ne)).add(new go.PathSegment(go.PathSegment.Line,.1938125*ee,.5625*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*ee,.67596875*ne,.20221875*ee,.603875*ne,.21884375*ee,.64228125*ne)).add(new go.PathSegment(go.PathSegment.Line,.1495625*ee,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.238*ee,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.3316875*ee,.76296875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*ee,.80621875*ne,.36353125*ee,.78340625*ne,.3991875*ee,.79840625*ne)).add(new go.PathSegment(go.PathSegment.Line,.43753125*ee,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*ee,.9375*ne)).add(new go.PathSegment(go.PathSegment.Line,.5625*ee,.80621875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*ee,.760625*ne,.602375*ee,.79809375*ne,.63946875*ee,.78234375*ne)).add(new go.PathSegment(go.PathSegment.Line,.76828125*ee,.8566875*ne)).add(new go.PathSegment(go.PathSegment.Line,.85671875*ee,.76825*ne)).add(new go.PathSegment(go.PathSegment.Line,.76065625*ee,.67221875*ne)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*ee,.56246875*ne,.78234375*ee,.63940625*ne,.798125*ee,.602375*ne)).add(new go.PathSegment(go.PathSegment.Line,.9375*ee,.56246875*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.5*ee,.6*ne)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*ee,.5*ne,.1*ee,.1*ne).close()))}),go.Shape.defineFigureGenerator("Hand",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.5*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*ee,.3*ne,0,.375*ne,.05*ee,.325*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.45*ee,.075*ne,.3*ee,.225*ne,.4*ee,.175*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.525*ee,.075*ne,.46*ee,.05*ne,.525*ee,.05*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*ee,.4*ne,.525*ee,.275*ne,.475*ee,.325*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.9*ee,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,.55*ne,ee,.4*ne,ee,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*ee,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.6*ee,.7*ne,.675*ee,.55*ne,.675*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.575*ee,.85*ne,.65*ee,.7*ne,.65*ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*ee,.85*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.535*ee,ne,.61*ee,.85*ne,.61*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*ne,.435*ee,ne,0,ne).close()),ge}),go.Shape.defineFigureGenerator("Map",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,.2*ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),ue.add(new go.PathSegment(go.PathSegment.Move,.25*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*ee,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*ee,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*ee,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*ee,.8*ne)),ge}),go.Shape.defineFigureGenerator("Eject",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne*.7)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.7).close());var me=new go.PathFigure(0,ne*.6,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.6*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.5*ee,0).close()),ge}),go.Shape.defineFigureGenerator("Pencil",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*ee,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*ee,ne)).add(new go.PathSegment(go.PathSegment.Line,.1*ee,.2*ne).close()))}),go.Shape.defineFigureGenerator("Building",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*1,ne*1,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.85)),ue.add(new go.PathSegment(go.PathSegment.Line,.046*ee,ne*.85)),ue.add(new go.PathSegment(go.PathSegment.Line,.046*ee,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,.046*ee,ne*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*ee,ne*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*ee,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*ee,ne*.85)),ue.add(new go.PathSegment(go.PathSegment.Line,ee,ne*.85).close());var me=new go.PathFigure(.126*ee,.85*ne,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.126*ee,.45*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.322*ee,.45*ne)),me.add(new go.PathSegment(go.PathSegment.Line,.322*ee,.85*ne).close());var Se=new go.PathFigure(.402*ee,.85*ne,!1);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,.402*ee,.45*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.598*ee,.45*ne)),Se.add(new go.PathSegment(go.PathSegment.Line,.598*ee,.85*ne).close());var Ne=new go.PathFigure(.678*ee,.85*ne,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.678*ee,.45*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.874*ee,.45*ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,.874*ee,.85*ne).close());var ke=new go.PathFigure(.5*ee,.1*ne,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*ee,.3*ne)),ke.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*ee,.3*ne).close()),ge}),go.Shape.defineFigureGenerator("Staircase",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne*1,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.2,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.2,ne*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.6)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.6)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.4)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*.4)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*.2)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.2)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.15)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.15)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.35)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.35)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.15,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.15,ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*.95).close()),ge}),go.Shape.defineFigureGenerator("5Bars",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,ne*1,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.184,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.184,ne*(1-.184)).close());var me=new go.PathFigure(ee*.204,ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.204,ne*(1-.184))),me.add(new go.PathSegment(go.PathSegment.Line,ee*.388,ne*(1-.184*2))),me.add(new go.PathSegment(go.PathSegment.Line,ee*.388,ne*1).close());var Se=new go.PathFigure(ee*.408,ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.408,ne*(1-.184*2))),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.592,ne*(1-.184*3))),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.592,ne*1).close());var Ne=new go.PathFigure(ee*.612,ne,!0);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.612,ne*(1-.184*3))),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.796,ne*(1-.184*4))),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.796,ne*1).close());var ke=new go.PathFigure(ee*.816,ne,!0);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.816,ne*(1-.184*4))),ke.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*(1-.184*5))),ke.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1).close()),ge}),go.Shape.defineFigureGenerator("PC",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,0).close());var me=new go.PathFigure(ee*.055,.07*ne,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.07)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.1)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.055,ne*.1).close());var Se=new go.PathFigure(ee*.055,.13*ne,!0);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.13)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.16)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.055,ne*.16).close());var Ne=new go.PathFigure(ee*.055,.18*ne,!0);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.18)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.245,ne*.21)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.055,ne*.21).close());var ke=new go.PathFigure(ee*1,0,!0);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.4,0)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.65)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.65).close()),ge}),go.Shape.defineFigureGenerator("Plane",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(.55*ee,ne,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.7*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.1*ee,.475*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.35*ee,.525*ne,0,.4*ne,.225*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*ee,.475*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*ee,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*ee,.325*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.325*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*ee,.1*ne)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.9*ee,.2*ne,.975*ee,0,ee,.08*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*ee,.45*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*ee,.95*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*ee,ne).close()),ge}),go.Shape.defineFigureGenerator("Key",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*1,ne*.5,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.9,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,.4*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.15,.2*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.35*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.15,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,.8*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,.65*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.6,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.65,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.7,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,.55*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,.6*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.85,.575*ne)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.9,.6*ne).close()),ue.add(new go.PathSegment(go.PathSegment.Move,.17*ee,.425*ne)),ue.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*ee,.5*ne,.075*ee,.075*ne).close()),ge}),go.Shape.defineFigureGenerator("FilmTape",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(0,0,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Arc,270,180,ee*0,ee*.3,ee*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.08,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.08,ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*1),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*1),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*2),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*2),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*3),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*3),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*4),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*4),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*5),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*5),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*6),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*6),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*7),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*7),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*8),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*8),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*9),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*9),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*10),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*10),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*11),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*11),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*12),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*12),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*13),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*13),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*14),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*14),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*15),ne*.95)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(.08+.056*15),ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1));var me=new go.PathFigure(0,0,!1);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*0)),me.add(new go.PathSegment(go.PathSegment.Arc,270,-180,ee*1,ee*.3,ee*.055)),me.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1));var Se=new go.PathFigure(ee*.11,ne*.1,!1);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*1+.028*0),ne*.1)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*1+.028*0),ne*.8)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.11,ne*.8).close());var Ne=new go.PathFigure(ee*(.11+.24133333*1+.028*1),ne*.1,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*2+.028*1),ne*.1)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*2+.028*1),ne*.8)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*1+.028*1),ne*.8).close());var ke=new go.PathFigure(ee*(.11+.24133333*2+.028*2),ne*.1,!1);return ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*3+.028*2),ne*.1)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*3+.028*2),ne*.8)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*(.11+.24133333*2+.028*2),ne*.8).close()),ge}),go.Shape.defineFigureGenerator("FloppyDisk",function(ze,ee,ne){var ge=new go.Geometry,ue=8,me=ue*Ee,Se=new go.PathFigure(ue,0,!1);ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.86,0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.14)),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne-ue)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee-ue,ne,ee,ne-me,ee-me,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ue,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ue,me,ne,0,ne-me)),Se.add(new go.PathSegment(go.PathSegment.Line,0,ue)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ue,0,0,me,me,0).close());var Ne=new go.PathFigure(ee*.83,0,!1);ge.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.83,ne*.3)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.17,ne*.3)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.17,ne*0).close());var ke=new go.PathFigure(ee*.83,ne*1,!1);ge.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.83,ne*.5)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.17,ne*.5)),ke.add(new go.PathSegment(go.PathSegment.Line,ee*.17,ne*1).close());var Te=new go.PathFigure(ee*.78,ne*.05,!1);return ge.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.05)),Te.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.25)),Te.add(new go.PathSegment(go.PathSegment.Line,ee*.78,ne*.25).close()),ge}),go.Shape.defineFigureGenerator("SpeechBubble",function(ze,ee,ne){var ge=ze?ze.parameter1:NaN;(isNaN(ge)||ge<0)&&(ge=15),ge=Math.min(ge,ee/3),ge=Math.min(ge,ne/3);var ue=ge*Ee,me=ne*.8,Se=new go.Geometry,Ne=new go.PathFigure(ge,0,!0);return Se.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,ee-ge,0)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,ge,ee-ue,0,ee,ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee,me-ge)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ee-ge,me,ee,me-ue,ee-ue,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.7,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne)),Ne.add(new go.PathSegment(go.PathSegment.Line,ee*.55,me)),Ne.add(new go.PathSegment(go.PathSegment.Line,ge,me)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,0,me-ge,ue,me,0,me-ue)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,ge)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ge,0,0,ue,ue,0).close()),ue>1?(Se.spot1=new go.Spot(0,0,ue,ue),Se.spot2=new go.Spot(1,.8,-ue,-ue)):(Se.spot1=go.Spot.TopLeft,Se.spot2=new go.Spot(1,.8)),Se}),go.Shape.defineFigureGenerator("Repeat",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*.45,!0);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*.9)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.9)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.65,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.2,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.2,ne*.45).close());var me=new go.PathFigure(ee*1,ne*.55,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*1)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.55)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne*.55)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne*.1)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.1)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*0)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*0)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*.55).close()),ge}),go.Shape.defineFigureGenerator("Windows",function(ze,ee,ne){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee,0)).add(new go.PathSegment(go.PathSegment.Line,ee,ne)).add(new go.PathSegment(go.PathSegment.Line,0,ne).close()).add(new go.PathSegment(go.PathSegment.Move,.4*ee,.4*ne)).add(new go.PathSegment(go.PathSegment.Line,.4*ee,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*ee,.8*ne)).add(new go.PathSegment(go.PathSegment.Line,.9*ee,.4*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.2*ee,.1*ne)).add(new go.PathSegment(go.PathSegment.Line,.2*ee,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.7*ee,.1*ne).close()).add(new go.PathSegment(go.PathSegment.Move,.1*ee,.6*ne)).add(new go.PathSegment(go.PathSegment.Line,.1*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,.9*ne)).add(new go.PathSegment(go.PathSegment.Line,.5*ee,.6*ne).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*.1,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.9)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*.9).close());var me=new go.PathFigure(ee*.1,ne*.2,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.1,ne*.25)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.22,ne*.285)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.1,ne*.32)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.1,ne*.37)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.275,ne*.32)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.275,ne*.25).close());var Se=new go.PathFigure(ee*.28,ne*.37,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.37)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.41)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.28,ne*.41).close()),ge}),go.Shape.defineFigureGenerator("Beaker",function(ze,ee,ne){var ge=new go.Geometry,ue=15,me=ue*Ee,Se=new go.PathFigure(ee*.62,ne*.475,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee,ne-ue)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee-ue,ne,ee,ne-me,ee-me,ne)),Se.add(new go.PathSegment(go.PathSegment.Line,ue,ne)),Se.add(new go.PathSegment(go.PathSegment.Bezier,0,ne-ue,me,ne,0,ne-me)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.38,ne*.475)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.38,ne*.03)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.36,ne*0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.64,ne*0)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.62,ne*.03).close()),me>1?(ge.spot1=new go.Spot(0,0,me,me),ge.spot2=new go.Spot(1,1,-me,-me)):(ge.spot1=go.Spot.TopLeft,ge.spot2=go.Spot.BottomRight),ge}),go.Shape.defineFigureGenerator("Download",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*1,!0);ge.add(ue);var me=.1/.3;ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.755,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.93,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.64,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.61,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.39,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.36,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.07,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.755),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.8),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*(1-me)).close());var Se=new go.PathFigure(ee*.4,ne*0,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.44)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.26,ne*.44)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.66)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.26),ne*.44)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.44)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*0).close()),ge}),go.Shape.defineFigureGenerator("Bin",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*1,!0);ge.add(ue);var me=.1/.3;return ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.755,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.93,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.64,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.61,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.39,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.36,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.07,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.755),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.8),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*(1-me)).close()),ge}),go.Shape.defineFigureGenerator("Upload",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*0,ne*1,!0);ge.add(ue);var me=.1/.3;ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.8,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.66,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.755,ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.93,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.64,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.61,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.39,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.36,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.07,ne*(1-me))),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.755),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*.055)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.66),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*(1-.8),ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*(1-me)).close());var Se=new go.PathFigure(ee*.5,ne*0,!0);return ge.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.26,ne*.25)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.25)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.4,ne*.63)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.63)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.6,ne*.25)),Se.add(new go.PathSegment(go.PathSegment.Line,ee*.74,ne*.25).close()),ge}),go.Shape.defineFigureGenerator("EmptyDrink",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*.15,ne*0,!1);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.85,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*1).close()),ge}),go.Shape.defineFigureGenerator("Drink",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*.15,ne*0,!1);ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.85,ne*0)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.7,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.3,ne*1).close());var me=new go.PathFigure(ee*.235,ne*.28,!0);return ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee*.765,ne*.28)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.655,ne*.97)),me.add(new go.PathSegment(go.PathSegment.Line,ee*.345,ne*.97).close()),ge}),go.Shape.defineFigureGenerator("4Arrows",function(ze,ee,ne){var ge=new go.Geometry,ue=new go.PathFigure(ee*.5,ne*0,!0);return ge.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.65,ne*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.35)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*1,ne*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.75,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.55,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.65,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.5,ne*1)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.75)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*.55)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*0,ne*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*.35)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.25,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.45)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.45,ne*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,ee*.35,ne*.25).close()),ge}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},98598:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var _e={},be="5.0",oe={},se=null,Ce=!1,we=!1,Ie=null,De=!1,Ke=null,Ee=null,et=0;et4?parseFloat(It):5};_e.setHTML5Codebase=function(It,en){Ee=It,gt(It,en)},_e.setJavaCodebase=_e.setJavaCodebaseVersion=_e.isCompiledInstalled=_e.setPreCompiledScriptPath=_e.setPreCompiledResourcePath=function(){},_e.setHTML5CodebaseVersion=function(It,en){var En=parseFloat(It);if(En!==NaN&&En<5){console.log("The GeoGebra HTML5 codebase version "+En+" is deprecated. Using version latest instead.");return}Ke=It,Ve(It,en)},_e.getHTML5CodebaseVersion=function(){return ze},_e.getParameters=function(){return oe},_e.setFontsCSSURL=function(It){Se=It},_e.setGiacJSURL=function(It){},_e.setJNLPFile=function(It){Ye=It},_e.setJNLPBaseDir=function(It){},_e.inject=function(){function It(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var en="auto",En=oe.id,ei,An=!1,Kn=0;Kn=5)return!0;var It=_e.getAppletObject();return It&&typeof It.recalculateEnvironments=="function"?(It.recalculateEnvironments(),!0):!1},_e.startAnimation=function(){var It=_e.getAppletObject();return It&&typeof It.startAnimation=="function"?(It.startAnimation(),!0):!1},_e.stopAnimation=function(){var It=_e.getAppletObject();return It&&typeof It.stopAnimation=="function"?(It.stopAnimation(),!0):!1},_e.getAppletObject=function(){var It=oe.id!==void 0?oe.id:"ggbApplet";return window[It]},_e.resize=function(){};var Mt=function(It,en,En){var ei=document.createElement("param");ei.setAttribute("name",en),ei.setAttribute("value",En),It.appendChild(ei)},nt=function(It){return It&&It!=="false"},$t=function(It,en,En){ke(ze)<=4.2&&(En=!0);var ei=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ze||ggbHTML5LoadedCodebaseIsWebSimple&&!ne)&&(ei=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var An=document.createElement("div");An.classList.add("appletParameters","notranslate");var Kn=en.width,jt=en.height;if(en.disableAutoScale=en.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():en.disableAutoScale,en.width!==void 0)if(ke(ze)<=4.4)nt(en.showToolBar)&&(en.height-=7),nt(en.showAlgebraInput)&&(en.height-=37),en.width<605&&nt(en.showToolBar)&&(en.width=605,Kn=605);else{var Nn=100;(nt(en.showToolBar)||nt(en.showMenuBar))&&(en.hasOwnProperty("customToolBar")&&(en.customToolbar=en.customToolBar),Nn=nt(en.showMenuBar)?245:155),Kn=5?(en.appletOnLoad=function(xe){var je=It.querySelector(".ggb_preview");je&&je.parentNode.removeChild(je),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Sn),window.GGBT_wsf_view&&$(window).trigger("resize"),ii(xe)},Yt||Sn.appendChild(Zt)):An.appendChild(Zt),Sn.appendChild(An),Yt||It.appendChild(Sn),setTimeout(function(){_e.resize()},1)}else{var St=document.createElement("div");St.className="applet_scaler",St.style.position="relative",St.style.display="block",St.appendChild(An),It.appendChild(St),en.appletOnLoad=function(xe){_e.resize(),ii(xe)}}function rt(xe,je){je&&typeof je.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(xe,je.appletOnLoad):renderGGBElement(xe),Bt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",je)}function Ft(xe,je){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:xe,params:je}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Qe){rt(Qe.article,Qe.params)}),html5AppletsToProcess=null)},ke(ze)<5&&(xe.className+=" geogebraweb")):rt(xe,je)}if(ei){scriptLoadStarted=!0;for(var Ot=0;Ot0?(Gn.remove(),Sn.attr("id","fullscreencontent").show(),jQuery(ii).append(Sn),window.dispatchEvent(new Event("resize"))):$t(Gn,en,!1),window.GGBT_wsf_view.launchFullScreen(ii)}else kt=ei,$t(It,en,!1);if(!window.GGBT_wsf_view)for(jt=0;jtIt/4*3&&(Gn=It/4*3),ii=Gn/5.8,Nn.setAttribute("src",ue),Nn.setAttribute("width",Gn),Nn.setAttribute("height",ii);var Sn=(It-Gn)/2,Yt=(en-ii)/2;Nn.style.left=Sn+"px",Nn.style.top=Yt+"px",An.appendChild(Nn)}}return An.appendChild(jt),An},an=function(It){return It=It.toLowerCase(),It==="html5"||It==="screenshot"?It:"html5"},it=["web","webSimple","web3d","tablet","tablet3d","phone"],Ve=function(It,en){if(ze=It,en){gt(ze,!0);return}var En=!Ce;if(En){var ei=ke(ze);!isNaN(ei)&&ei<4.4&&(En=!1)}var An,Kn;window.location.protocol.substr(0,4)==="http"?An=window.location.protocol:An="http:";var jt=ze.indexOf("//");jt>0?Kn=ze:jt===0?Kn=An+ze:Kn="https://www.geogebra.org/apps/5.2.814.0/";for(var Nn in it)if(ze.slice(it[Nn].length*-1)===it[Nn]||ze.slice((it[Nn].length+1)*-1)===it[Nn]+"/"){gt(Kn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&En&&!se.is3D&&!se.AV&&!se.SV&&!se.CV&&!se.EV2&&!se.CP&&!se.PC&&!se.DA&&!se.FI&&!se.PV&&!nt(oe.showToolBar)&&!nt(oe.showMenuBar)&&!nt(oe.showAlgebraInput)&&!nt(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?Kn+="webSimple/":Kn+="web3d/",gt(Kn,!1)},gt=function(It,en){if(It.requirejs){tt=It;return}It.slice(-1)!=="/"&&(It+="/"),tt=It,en===null&&(en=It.indexOf("http")===-1),ht=en,ee="web.nocache.js",ne=!1;var En=tt.split("/");En.length>1&&(!en&&En[En.length-2]==="webSimple"?(ee="webSimple.nocache.js",ne=!0):it.indexOf(En[En.length-2])>=0&&(ee=En[En.length-2]+".nocache.js")),En=It.split("/"),ze=En[En.length-3],ze.substr(0,4)==="test"?ze=ze.substr(4,1)+"."+ze.substr(5,1):(ze.substr(0,3)==="war"||ze.substr(0,4)==="beta")&&(ze="5.0");var ei=parseFloat(ze);ei!==NaN&&ei<5&&It.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+ei+" is deprecated. Using version latest instead."),Ve("5.0",en))},Bt=function(It,en){window.console&&window.console.log&&(!en||typeof en.showLogging=="undefined"||en.showLogging&&en.showLogging!=="false")&&console.log(It)};oe.material_id!==void 0?$e(sn):sn();function sn(){var It=be;Ke!==null?It=Ke:parseFloat(It)<5&&(It="5.0"),Ve(It,!1),Ee!==null&>(Ee,ht),De=!0}return _e},GGBAppletUtils=function(){"use strict";function _e(){return window.GGBT_wsf_edit!==void 0}function be(De,Ke){Ke!=1?(De.style.transformOrigin="0% 0% 0px",De.style.webkitTransformOrigin="0% 0% 0px",De.style.transform="scale("+Ke+","+Ke+")",De.style.webkitTransform="scale("+Ke+","+Ke+")",De.style.maxWidth="initial",De.querySelector(".ggb_preview")!==null&&(De.querySelector(".ggb_preview").style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[0]!==void 0&&(De.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[1]!==void 0&&(De.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(De.style.transform="none",De.style.webkitTransform="none")}function oe(De,Ke,Ee,et,Je,Ye){var tt=null;if(Ye!=null&&Ye!="")for(var ht=De.parentNode;ht!=null;)if((" "+ht.className+" ").indexOf(" "+Ye+" ")>-1){tt=ht;break}else ht=ht.parentNode;var kt=0,ze=0,ee=0,ne=0,ge=0,ue=0,me=0;if(tt)kt=tt.offsetWidth,ze=Math.max(et?tt.offsetWidth:0,tt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(kt=Math.min(window.innerWidth,document.documentElement.clientWidth),ze=Math.min(window.innerHeight,document.documentElement.clientHeight),ee=kt):(kt=window.innerWidth,ze=window.innerHeight,ee=window.innerWidth),De){var Se=De.getBoundingClientRect();Se.left>0&&Se.left<=kt&&(Je===void 0||!Je)&&(document.dir==="rtl"?(ge=kt-Se.width-Se.left,ue=ee<=480?10:30):(ue=Se.left,ge=ee<=480?10:30),ne=ue+ge)}if(De&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Ne=De.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ne=40,me=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ne=0,me=40)}}return De&&((Ee===void 0||!Ee)&&Ke>0&&Ke+ne1&&(Ye=!0)),Ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ye=!0),!(De.hasOwnProperty("disableAutoScale")&&De.disableAutoScale))Je=se(De,Ke,Ye,Ee,De.scaleContainerClass);else return et;return Ye&&(!De.hasOwnProperty("scale")||et===1)?Je:Math.min(et,Je)}function we(De){var Ke=Math.min(window.innerWidth,document.documentElement.clientWidth),Ee=Math.min(window.innerHeight,document.documentElement.clientHeight),et=De.getBoundingClientRect(),Je=(Ke-et.width)/2,Ye=(Ee-et.height)/2;Ye<0&&(Ye=0),De.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Je<40?De.style.left="40px":De.style.left=Je+"px",De.style.top=Ye+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ye<40?De.style.top="40px":De.style.top=Ye+"px",De.style.left=Je+"px")}function Ie(De,Ke){var Ee=De.querySelector(".appletParameters");if(Ee){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ke.id!==Ee.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(De)}if(Ee.parentElement&&/fullscreen/.test(Ee.parentElement.className))return;var et=Ce(Ke,De);_e()&&Ee.setAttribute("data-param-scale",et);for(var Je=null,Ye=0;Ye=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(_e){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(_e){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(_e){var be=c[_e];return be==null?null:be},r=d,webModule.__errFn=e}function B(){function _e(De){var Ke=De.lastIndexOf(rb);Ke==-1&&(Ke=De.length);var Ee=De.indexOf(sb);Ee==-1&&(Ee=De.length);var et=De.lastIndexOf(tb,Math.min(Ee,Ke));return et>=O?De.substring(O,et+P):W}function be(De){if(!De.match(/^\w+:\/\//)){var Ke=o.createElement(ub);Ke.src=De+vb,De=_e(Ke.src)}return De}function oe(){var De=__gwt_getMetaProperty(wb);return De!=null?De:W}function se(){for(var De=o.getElementsByTagName(_),Ke=O;KeO?De[De.length-P].href:W}function we(){var De=o.location;return De.href==De.protocol+zb+De.host+De.pathname+De.search+De.hash}var Ie=oe();return Ie==W&&(Ie=se()),Ie==W&&(Ie=Ce()),Ie==W&&we()&&(Ie=_e(o.location.href)),Ie=be(Ie),Ie}function C(_e){return _e.match(/^\//)||_e.match(/^[a-zA-Z]+:\/\//)?_e:webModule.__moduleBase+_e}function D(){var _e=[],be=O,oe=[],se=[];function Ce(De){var Ke=se[De](),Ee=oe[De];if(Ke in Ee)return Ke;var et=[];for(var Je in Ee)et[Ee[Je]]=Je;throw r&&r(De,et,Ke),null}if(__gwt_isKnownPropertyValue=function(De,Ke){return Ke in oe[De]},webModule.__getPropMap=function(){var De={};for(var Ke in oe)oe.hasOwnProperty(Ke)&&(De[Ke]=Ce(Ke));return De},webModule.__computePropValue=Ce,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var we;try{we=Cb;var Ie=we.indexOf(Db);Ie!=-1&&(be=parseInt(we.substring(Ie+P),$),we=we.substring(O,Ie))}catch(De){}return webModule.__softPermutationId=be,C(we+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},58788:function(_e,be,oe){"use strict";oe.d(be,{Ax:function(){return Ie},Ds:function(){return De},KI:function(){return Ee},SI:function(){return we},f1:function(){return Ce}});var se=oe(10148);function Ce(et){let Je=!0;if(et.length>0){for(let Ye=0;Ye4&&Re.slice(0,4)==="data"&&ft.test(Me)){if(Me.charAt(4)==="-"){const vt=Me.slice(5).replace(ct,je);He="data"+vt.charAt(0).toUpperCase()+vt.slice(1)}else{const vt=Me.slice(4);if(!ct.test(vt)){let At=vt.replace(Ge,xe);At.charAt(0)!=="-"&&(At="-"+At),Me="data"+At}}dt=ei}return new dt(He,Me)}function xe(he){return"-"+he.toLowerCase()}function je(he){return he.charAt(1).toUpperCase()}const Qe={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Oe(he){const Me=String(he||"").trim();return Me?Me.split(/[ \t\n\r\f]+/g):[]}function xt(he){return he.join(" ").trim()}var hn=oe(58970),Pn=hn.default||hn;const wt=Mn("end"),nn=Mn("start");function Mn(he){return Me;function Me(Re){const He=Re&&Re.position&&Re.position[he]||{};if(typeof He.line=="number"&&He.line>0&&typeof He.column=="number"&&He.column>0)return{line:He.line,column:He.column,offset:typeof He.offset=="number"&&He.offset>-1?He.offset:void 0}}}function Zn(he){const Me=nn(he),Re=wt(he);if(Me&&Re)return{start:Me,end:Re}}function li(he){return!he||typeof he!="object"?"":"position"in he||"type"in he?Mi(he.position):"start"in he||"end"in he?Mi(he):"line"in he||"column"in he?xi(he):""}function xi(he){return Si(he&&he.line)+":"+Si(he&&he.column)}function Mi(he){return xi(he&&he.start)+"-"+xi(he&&he.end)}function Si(he){return he&&typeof he=="number"?he:1}class Ri extends Error{constructor(Me,Re,He){super(),typeof Re=="string"&&(He=Re,Re=void 0);let dt="",vt={},At=!1;if(Re&&("line"in Re&&"column"in Re?vt={place:Re}:"start"in Re&&"end"in Re?vt={place:Re}:"type"in Re?vt={ancestors:[Re],place:Re.position}:vt=Ys({},Re)),typeof Me=="string"?dt=Me:!vt.cause&&Me&&(At=!0,dt=Me.message,vt.cause=Me),!vt.ruleId&&!vt.source&&typeof He=="string"){const Tn=He.indexOf(":");Tn===-1?vt.ruleId=He:(vt.source=He.slice(0,Tn),vt.ruleId=He.slice(Tn+1))}if(!vt.place&&vt.ancestors&&vt.ancestors){const Tn=vt.ancestors[vt.ancestors.length-1];Tn&&(vt.place=Tn.position)}const Jt=vt.place&&"start"in vt.place?vt.place.start:vt.place;this.ancestors=vt.ancestors||void 0,this.cause=vt.cause||void 0,this.column=Jt?Jt.column:void 0,this.fatal=void 0,this.file,this.message=dt,this.line=Jt?Jt.line:void 0,this.name=li(vt.place)||"1:1",this.place=vt.place||void 0,this.reason=this.message,this.ruleId=vt.ruleId||void 0,this.source=vt.source||void 0,this.stack=At&&vt.cause&&typeof vt.cause.stack=="string"?vt.cause.stack:"",this.actual,this.expected,this.note,this.url}}Ri.prototype.file="",Ri.prototype.name="",Ri.prototype.reason="",Ri.prototype.message="",Ri.prototype.stack="",Ri.prototype.column=void 0,Ri.prototype.line=void 0,Ri.prototype.ancestors=void 0,Ri.prototype.cause=void 0,Ri.prototype.fatal=void 0,Ri.prototype.place=void 0,Ri.prototype.ruleId=void 0,Ri.prototype.source=void 0;const lr={}.hasOwnProperty,dr=new Map,ur=/[A-Z]/g,Sr=/-([a-z])/g,Wr=new Set(["table","tbody","thead","tfoot","tr"]),Gi=new Set(["td","th"]),Zr="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Yi(he,Me){if(!Me||Me.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const Re=Me.filePath||void 0;let He;if(Me.development){if(typeof Me.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");He=qt(Re,Me.jsxDEV)}else{if(typeof Me.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof Me.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");He=ln(Re,Me.jsx,Me.jsxs)}const dt={Fragment:Me.Fragment,ancestors:[],components:Me.components||{},create:He,elementAttributeNameCase:Me.elementAttributeNameCase||"react",evaluater:Me.createEvaluater?Me.createEvaluater():void 0,filePath:Re,ignoreInvalidStyle:Me.ignoreInvalidStyle||!1,passKeys:Me.passKeys!==!1,passNode:Me.passNode||!1,schema:Me.space==="svg"?Ot:Ft,stylePropertyNameCase:Me.stylePropertyNameCase||"dom",tableCellAlignToStyle:Me.tableCellAlignToStyle!==!1},vt=Ue(dt,he,void 0);return vt&&typeof vt!="string"?vt:dt.create(he,dt.Fragment,{children:vt||void 0},void 0)}function Ue(he,Me,Re){if(Me.type==="element")return no(he,Me,Re);if(Me.type==="mdxFlowExpression"||Me.type==="mdxTextExpression")return pr(he,Me);if(Me.type==="mdxJsxFlowElement"||Me.type==="mdxJsxTextElement")return Fo(he,Me,Re);if(Me.type==="mdxjsEsm")return fo(he,Me);if(Me.type==="root")return Vo(he,Me,Re);if(Me.type==="text")return Io(he,Me)}function no(he,Me,Re){const He=he.schema;let dt=He;Me.tagName.toLowerCase()==="svg"&&He.space==="html"&&(dt=Ot,he.schema=dt),he.ancestors.push(Me);const vt=In(he,Me.tagName,!1),At=Nt(he,Me);let Jt=Un(he,Me);return Wr.has(Me.tagName)&&(Jt=Jt.filter(function(Tn){return typeof Tn=="string"?!nt(Tn):!0})),Oi(he,At,vt,Me),on(At,Jt),he.ancestors.pop(),he.schema=He,he.create(Me,vt,At,Re)}function pr(he,Me){if(Me.data&&Me.data.estree&&he.evaluater){const He=Me.data.estree.body[0];return He.type,he.evaluater.evaluateExpression(He.expression)}zn(he,Me.position)}function fo(he,Me){if(Me.data&&Me.data.estree&&he.evaluater)return he.evaluater.evaluateProgram(Me.data.estree);zn(he,Me.position)}function Fo(he,Me,Re){const He=he.schema;let dt=He;Me.name==="svg"&&He.space==="html"&&(dt=Ot,he.schema=dt),he.ancestors.push(Me);const vt=Me.name===null?he.Fragment:In(he,Me.name,!0),At=On(he,Me),Jt=Un(he,Me);return Oi(he,At,vt,Me),on(At,Jt),he.ancestors.pop(),he.schema=He,he.create(Me,vt,At,Re)}function Vo(he,Me,Re){const He={};return on(He,Un(he,Me)),he.create(Me,he.Fragment,He,Re)}function Io(he,Me){return Me.value}function Oi(he,Me,Re,He){typeof Re!="string"&&Re!==he.Fragment&&he.passNode&&(Me.node=He)}function on(he,Me){if(Me.length>0){const Re=Me.length>1?Me:Me[0];Re&&(he.children=Re)}}function ln(he,Me,Re){return He;function He(dt,vt,At,Jt){const $n=Array.isArray(At.children)?Re:Me;return Jt?$n(vt,At,Jt):$n(vt,At)}}function qt(he,Me){return Re;function Re(He,dt,vt,At){const Jt=Array.isArray(vt.children),Tn=nn(He);return Me(dt,vt,At,Jt,{columnNumber:Tn?Tn.column-1:void 0,fileName:he,lineNumber:Tn?Tn.line:void 0},void 0)}}function Nt(he,Me){const Re={};let He,dt;for(dt in Me.properties)if(dt!=="children"&&lr.call(Me.properties,dt)){const vt=Vt(he,dt,Me.properties[dt]);if(vt){const[At,Jt]=vt;he.tableCellAlignToStyle&&At==="align"&&typeof Jt=="string"&&Gi.has(Me.tagName)?He=Jt:Re[At]=Jt}}if(He){const vt=Re.style||(Re.style={});vt[he.stylePropertyNameCase==="css"?"text-align":"textAlign"]=He}return Re}function On(he,Me){const Re={};for(const He of Me.attributes)if(He.type==="mdxJsxExpressionAttribute")if(He.data&&He.data.estree&&he.evaluater){const vt=He.data.estree.body[0];vt.type;const At=vt.expression;At.type;const Jt=At.properties[0];Jt.type,Object.assign(Re,he.evaluater.evaluateExpression(Jt.argument))}else zn(he,Me.position);else{const dt=He.name;let vt;if(He.value&&typeof He.value=="object")if(He.value.data&&He.value.data.estree&&he.evaluater){const Jt=He.value.data.estree.body[0];Jt.type,vt=he.evaluater.evaluateExpression(Jt.expression)}else zn(he,Me.position);else vt=He.value===null?!0:He.value;Re[dt]=vt}return Re}function Un(he,Me){const Re=[];let He=-1;const dt=he.passKeys?new Map:dr;for(;++Hedt?0:dt+Me:Me=Me>dt?dt:Me,Re=Re>0?Re:0,He.length<1e4)At=Array.from(He),At.unshift(Me,Re),he.splice(...At);else for(Re&&he.splice(Me,Re);vt0?(gn(he,he.length,0,Me),he):Me}class Bn{constructor(Me){this.left=Me?[...Me]:[],this.right=[]}get(Me){if(Me<0||Me>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+Me+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return Methis.left.length?this.right.slice(this.right.length-He+this.left.length,this.right.length-Me+this.left.length).reverse():this.left.slice(Me).concat(this.right.slice(this.right.length-He+this.left.length).reverse())}splice(Me,Re,He){const dt=Re||0;this.setCursor(Math.trunc(Me));const vt=this.right.splice(this.right.length-dt,Number.POSITIVE_INFINITY);return He&&Vn(this.left,He),vt.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(Me){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(Me)}pushMany(Me){this.setCursor(Number.POSITIVE_INFINITY),Vn(this.left,Me)}unshift(Me){this.setCursor(0),this.right.push(Me)}unshiftMany(Me){this.setCursor(0),Vn(this.right,Me.reverse())}setCursor(Me){if(!(Me===this.left.length||Me>this.left.length&&this.right.length===0||Me<0&&this.left.length===0))if(Me-1&&he.test(String.fromCharCode(Re))}}function po(he,Me,Re,He){const dt=He?He-1:Number.POSITIVE_INFINITY;let vt=0;return At;function At(Tn){return Fn(Tn)?(he.enter(Re),Jt(Tn)):Me(Tn)}function Jt(Tn){return Fn(Tn)&&vt++At))return;const ot=Me.events.length;let Tt=ot,mn,Rt;for(;Tt--;)if(Me.events[Tt][0]==="exit"&&Me.events[Tt][1].type==="chunkFlow"){if(mn){Rt=Me.events[Tt][1].end;break}mn=!0}for(fe(He),qe=ot;qeye;){const Xe=Re[Be];Me.containerState=Xe[1],Xe[0].exit.call(Me,he)}Re.length=ye}function pe(){dt.write([null]),vt=void 0,dt=void 0,Me.containerState._closeFlow=void 0}}function Ii(he,Me,Re){return po(he,he.attempt(this.parser.constructs.document,Me,Re),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const lt={partial:!0,tokenize:Rr};function Rr(he,Me,Re){return He;function He(vt){return Fn(vt)?po(he,dt,"linePrefix")(vt):dt(vt)}function dt(vt){return vt===null||Ht(vt)?Me(vt):Re(vt)}}const Ko={resolve:yo,tokenize:Mr},Yr={partial:!0,tokenize:mr};function yo(he){return Jn(he),he}function Mr(he,Me){let Re;return He;function He(Jt){return he.enter("content"),Re=he.enter("chunkContent",{contentType:"content"}),dt(Jt)}function dt(Jt){return Jt===null?vt(Jt):Ht(Jt)?he.check(Yr,At,vt)(Jt):(he.consume(Jt),dt)}function vt(Jt){return he.exit("chunkContent"),he.exit("content"),Me(Jt)}function At(Jt){return he.consume(Jt),he.exit("chunkContent"),Re.next=he.enter("chunkContent",{contentType:"content",previous:Re}),Re=Re.next,dt}}function mr(he,Me,Re){const He=this;return dt;function dt(At){return he.exit("chunkContent"),he.enter("lineEnding"),he.consume(At),he.exit("lineEnding"),po(he,vt,"linePrefix")}function vt(At){if(At===null||Ht(At))return Re(At);const Jt=He.events[He.events.length-1];return!He.parser.constructs.disable.null.includes("codeIndented")&&Jt&&Jt[1].type==="linePrefix"&&Jt[2].sliceSerialize(Jt[1],!0).length>=4?Me(At):he.interrupt(He.parser.constructs.flow,Re,Me)(At)}}const co={tokenize:Uo};function Uo(he){const Me=this,Re=he.attempt(lt,He,he.attempt(this.parser.constructs.flowInitial,dt,po(he,he.attempt(this.parser.constructs.flow,dt,he.attempt(Ko,dt)),"linePrefix")));return Re;function He(vt){if(vt===null){he.consume(vt);return}return he.enter("lineEndingBlank"),he.consume(vt),he.exit("lineEndingBlank"),Me.currentConstruct=void 0,Re}function dt(vt){if(vt===null){he.consume(vt);return}return he.enter("lineEnding"),he.consume(vt),he.exit("lineEnding"),Me.currentConstruct=void 0,Re}}const ao={resolveAll:xr()},ra=Qi("string"),gr=Qi("text");function Qi(he){return{resolveAll:xr(he==="text"?fi:void 0),tokenize:Me};function Me(Re){const He=this,dt=this.parser.constructs[he],vt=Re.attempt(dt,At,Jt);return At;function At(Cn){return $n(Cn)?vt(Cn):Jt(Cn)}function Jt(Cn){if(Cn===null){Re.consume(Cn);return}return Re.enter("data"),Re.consume(Cn),Tn}function Tn(Cn){return $n(Cn)?(Re.exit("data"),vt(Cn)):(Re.consume(Cn),Tn)}function $n(Cn){if(Cn===null)return!0;const ci=dt[Cn];let si=-1;if(ci)for(;++si=3&&($n===null||Ht($n))?(he.exit("thematicBreak"),Me($n)):Re($n)}function Tn($n){return $n===dt?(he.consume($n),He++,Tn):(he.exit("thematicBreakSequence"),Fn($n)?po(he,Jt,"whitespace")($n):Jt($n))}}const ca={continuation:{tokenize:ds},exit:ks,name:"list",tokenize:ts},oa={partial:!0,tokenize:Ds},Ra={partial:!0,tokenize:Qa};function ts(he,Me,Re){const He=this,dt=He.events[He.events.length-1];let vt=dt&&dt[1].type==="linePrefix"?dt[2].sliceSerialize(dt[1],!0).length:0,At=0;return Jt;function Jt(Yn){const Ur=He.containerState.type||(Yn===42||Yn===43||Yn===45?"listUnordered":"listOrdered");if(Ur==="listUnordered"?!He.containerState.marker||Yn===He.containerState.marker:Xi(Yn)){if(He.containerState.type||(He.containerState.type=Ur,he.enter(Ur,{_container:!0})),Ur==="listUnordered")return he.enter("listItemPrefix"),Yn===42||Yn===45?he.check(bo,Re,$n)(Yn):$n(Yn);if(!He.interrupt||Yn===49)return he.enter("listItemPrefix"),he.enter("listItemValue"),Tn(Yn)}return Re(Yn)}function Tn(Yn){return Xi(Yn)&&++At<10?(he.consume(Yn),Tn):(!He.interrupt||At<2)&&(He.containerState.marker?Yn===He.containerState.marker:Yn===41||Yn===46)?(he.exit("listItemValue"),$n(Yn)):Re(Yn)}function $n(Yn){return he.enter("listItemMarker"),he.consume(Yn),he.exit("listItemMarker"),He.containerState.marker=He.containerState.marker||Yn,he.check(lt,He.interrupt?Re:Cn,he.attempt(oa,si,ci))}function Cn(Yn){return He.containerState.initialBlankLine=!0,vt++,si(Yn)}function ci(Yn){return Fn(Yn)?(he.enter("listItemPrefixWhitespace"),he.consume(Yn),he.exit("listItemPrefixWhitespace"),si):Re(Yn)}function si(Yn){return He.containerState.size=vt+He.sliceSerialize(he.exit("listItemPrefix"),!0).length,Me(Yn)}}function ds(he,Me,Re){const He=this;return He.containerState._closeFlow=void 0,he.check(lt,dt,vt);function dt(Jt){return He.containerState.furtherBlankLines=He.containerState.furtherBlankLines||He.containerState.initialBlankLine,po(he,Me,"listItemIndent",He.containerState.size+1)(Jt)}function vt(Jt){return He.containerState.furtherBlankLines||!Fn(Jt)?(He.containerState.furtherBlankLines=void 0,He.containerState.initialBlankLine=void 0,At(Jt)):(He.containerState.furtherBlankLines=void 0,He.containerState.initialBlankLine=void 0,he.attempt(Ra,Me,At)(Jt))}function At(Jt){return He.containerState._closeFlow=!0,He.interrupt=void 0,po(he,he.attempt(ca,Me,Re),"linePrefix",He.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Jt)}}function Qa(he,Me,Re){const He=this;return po(he,dt,"listItemIndent",He.containerState.size+1);function dt(vt){const At=He.events[He.events.length-1];return At&&At[1].type==="listItemIndent"&&At[2].sliceSerialize(At[1],!0).length===He.containerState.size?Me(vt):Re(vt)}}function ks(he){he.exit(this.containerState.type)}function Ds(he,Me,Re){const He=this;return po(he,dt,"listItemPrefixWhitespace",He.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function dt(vt){const At=He.events[He.events.length-1];return!Fn(vt)&&At&&At[1].type==="listItemPrefixWhitespace"?Me(vt):Re(vt)}}const jn={continuation:{tokenize:Ql},exit:Kl,name:"blockQuote",tokenize:gs};function gs(he,Me,Re){const He=this;return dt;function dt(At){if(At===62){const Jt=He.containerState;return Jt.open||(he.enter("blockQuote",{_container:!0}),Jt.open=!0),he.enter("blockQuotePrefix"),he.enter("blockQuoteMarker"),he.consume(At),he.exit("blockQuoteMarker"),vt}return Re(At)}function vt(At){return Fn(At)?(he.enter("blockQuotePrefixWhitespace"),he.consume(At),he.exit("blockQuotePrefixWhitespace"),he.exit("blockQuotePrefix"),Me):(he.exit("blockQuotePrefix"),Me(At))}}function Ql(he,Me,Re){const He=this;return dt;function dt(At){return Fn(At)?po(he,vt,"linePrefix",He.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(At):vt(At)}function vt(At){return he.attempt(jn,Me,Re)(At)}}function Kl(he){he.exit("blockQuote")}function Oo(he,Me,Re,He,dt,vt,At,Jt,Tn){const $n=Tn||Number.POSITIVE_INFINITY;let Cn=0;return ci;function ci(fe){return fe===60?(he.enter(He),he.enter(dt),he.enter(vt),he.consume(fe),he.exit(vt),si):fe===null||fe===32||fe===41||br(fe)?Re(fe):(he.enter(He),he.enter(At),he.enter(Jt),he.enter("chunkString",{contentType:"string"}),ie(fe))}function si(fe){return fe===62?(he.enter(vt),he.consume(fe),he.exit(vt),he.exit(dt),he.exit(He),Me):(he.enter(Jt),he.enter("chunkString",{contentType:"string"}),Yn(fe))}function Yn(fe){return fe===62?(he.exit("chunkString"),he.exit(Jt),si(fe)):fe===null||fe===60||Ht(fe)?Re(fe):(he.consume(fe),fe===92?Ur:Yn)}function Ur(fe){return fe===60||fe===62||fe===92?(he.consume(fe),Yn):Yn(fe)}function ie(fe){return!Cn&&(fe===null||fe===41||Kr(fe))?(he.exit("chunkString"),he.exit(Jt),he.exit(At),he.exit(He),Me(fe)):Cn<$n&&fe===40?(he.consume(fe),Cn++,ie):fe===41?(he.consume(fe),Cn--,ie):fe===null||fe===32||fe===40||br(fe)?Re(fe):(he.consume(fe),fe===92?ae:ie)}function ae(fe){return fe===40||fe===41||fe===92?(he.consume(fe),ie):ie(fe)}}function ma(he,Me,Re,He,dt,vt){const At=this;let Jt=0,Tn;return $n;function $n(Yn){return he.enter(He),he.enter(dt),he.consume(Yn),he.exit(dt),he.enter(vt),Cn}function Cn(Yn){return Jt>999||Yn===null||Yn===91||Yn===93&&!Tn||Yn===94&&!Jt&&"_hiddenFootnoteSupport"in At.parser.constructs?Re(Yn):Yn===93?(he.exit(vt),he.enter(dt),he.consume(Yn),he.exit(dt),he.exit(He),Me):Ht(Yn)?(he.enter("lineEnding"),he.consume(Yn),he.exit("lineEnding"),Cn):(he.enter("chunkString",{contentType:"string"}),ci(Yn))}function ci(Yn){return Yn===null||Yn===91||Yn===93||Ht(Yn)||Jt++>999?(he.exit("chunkString"),Cn(Yn)):(he.consume(Yn),Tn||(Tn=!Fn(Yn)),Yn===92?si:ci)}function si(Yn){return Yn===91||Yn===92||Yn===93?(he.consume(Yn),Jt++,ci):ci(Yn)}}function hs(he,Me,Re,He,dt,vt){let At;return Jt;function Jt(si){return si===34||si===39||si===40?(he.enter(He),he.enter(dt),he.consume(si),he.exit(dt),At=si===40?41:si,Tn):Re(si)}function Tn(si){return si===At?(he.enter(dt),he.consume(si),he.exit(dt),he.exit(He),Me):(he.enter(vt),$n(si))}function $n(si){return si===At?(he.exit(vt),Tn(At)):si===null?Re(si):Ht(si)?(he.enter("lineEnding"),he.consume(si),he.exit("lineEnding"),po(he,$n,"linePrefix")):(he.enter("chunkString",{contentType:"string"}),Cn(si))}function Cn(si){return si===At||si===null||Ht(si)?(he.exit("chunkString"),$n(si)):(he.consume(si),si===92?ci:Cn)}function ci(si){return si===At||si===92?(he.consume(si),Cn):Cn(si)}}function aa(he,Me){let Re;return He;function He(dt){return Ht(dt)?(he.enter("lineEnding"),he.consume(dt),he.exit("lineEnding"),Re=!0,He):Fn(dt)?po(he,He,Re?"linePrefix":"lineSuffix")(dt):Me(dt)}}function Xr(he){return he.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Qr={name:"definition",tokenize:so},ns={partial:!0,tokenize:Po};function so(he,Me,Re){const He=this;let dt;return vt;function vt(Yn){return he.enter("definition"),At(Yn)}function At(Yn){return ma.call(He,he,Jt,Re,"definitionLabel","definitionLabelMarker","definitionLabelString")(Yn)}function Jt(Yn){return dt=Xr(He.sliceSerialize(He.events[He.events.length-1][1]).slice(1,-1)),Yn===58?(he.enter("definitionMarker"),he.consume(Yn),he.exit("definitionMarker"),Tn):Re(Yn)}function Tn(Yn){return Kr(Yn)?aa(he,$n)(Yn):$n(Yn)}function $n(Yn){return Oo(he,Cn,Re,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(Yn)}function Cn(Yn){return he.attempt(ns,ci,ci)(Yn)}function ci(Yn){return Fn(Yn)?po(he,si,"whitespace")(Yn):si(Yn)}function si(Yn){return Yn===null||Ht(Yn)?(he.exit("definition"),He.parser.defined.push(dt),Me(Yn)):Re(Yn)}}function Po(he,Me,Re){return He;function He(Jt){return Kr(Jt)?aa(he,dt)(Jt):Re(Jt)}function dt(Jt){return hs(he,vt,Re,"definitionTitle","definitionTitleMarker","definitionTitleString")(Jt)}function vt(Jt){return Fn(Jt)?po(he,At,"whitespace")(Jt):At(Jt)}function At(Jt){return Jt===null||Ht(Jt)?Me(Jt):Re(Jt)}}const Mo={name:"codeIndented",tokenize:Ja},$i={partial:!0,tokenize:xs};function Ja(he,Me,Re){const He=this;return dt;function dt($n){return he.enter("codeIndented"),po(he,vt,"linePrefix",5)($n)}function vt($n){const Cn=He.events[He.events.length-1];return Cn&&Cn[1].type==="linePrefix"&&Cn[2].sliceSerialize(Cn[1],!0).length>=4?At($n):Re($n)}function At($n){return $n===null?Tn($n):Ht($n)?he.attempt($i,At,Tn)($n):(he.enter("codeFlowValue"),Jt($n))}function Jt($n){return $n===null||Ht($n)?(he.exit("codeFlowValue"),At($n)):(he.consume($n),Jt)}function Tn($n){return he.exit("codeIndented"),Me($n)}}function xs(he,Me,Re){const He=this;return dt;function dt(At){return He.parser.lazy[He.now().line]?Re(At):Ht(At)?(he.enter("lineEnding"),he.consume(At),he.exit("lineEnding"),dt):po(he,vt,"linePrefix",5)(At)}function vt(At){const Jt=He.events[He.events.length-1];return Jt&&Jt[1].type==="linePrefix"&&Jt[2].sliceSerialize(Jt[1],!0).length>=4?Me(At):Ht(At)?dt(At):Re(At)}}const ul={name:"headingAtx",resolve:Yl,tokenize:Jl};function Yl(he,Me){let Re=he.length-2,He=3,dt,vt;return he[He][1].type==="whitespace"&&(He+=2),Re-2>He&&he[Re][1].type==="whitespace"&&(Re-=2),he[Re][1].type==="atxHeadingSequence"&&(He===Re-1||Re-4>He&&he[Re-2][1].type==="whitespace")&&(Re-=He+1===Re?2:4),Re>He&&(dt={type:"atxHeadingText",start:he[He][1].start,end:he[Re][1].end},vt={type:"chunkText",start:he[He][1].start,end:he[Re][1].end,contentType:"text"},gn(he,He,Re-He+1,[["enter",dt,Me],["enter",vt,Me],["exit",vt,Me],["exit",dt,Me]])),he}function Jl(he,Me,Re){let He=0;return dt;function dt(Cn){return he.enter("atxHeading"),vt(Cn)}function vt(Cn){return he.enter("atxHeadingSequence"),At(Cn)}function At(Cn){return Cn===35&&He++<6?(he.consume(Cn),At):Cn===null||Kr(Cn)?(he.exit("atxHeadingSequence"),Jt(Cn)):Re(Cn)}function Jt(Cn){return Cn===35?(he.enter("atxHeadingSequence"),Tn(Cn)):Cn===null||Ht(Cn)?(he.exit("atxHeading"),Me(Cn)):Fn(Cn)?po(he,Jt,"whitespace")(Cn):(he.enter("atxHeadingText"),$n(Cn))}function Tn(Cn){return Cn===35?(he.consume(Cn),Tn):(he.exit("atxHeadingSequence"),Jt(Cn))}function $n(Cn){return Cn===null||Cn===35||Kr(Cn)?(he.exit("atxHeadingText"),Jt(Cn)):(he.consume(Cn),$n)}}const _i={name:"setextUnderline",resolveTo:is,tokenize:Hs};function is(he,Me){let Re=he.length,He,dt,vt;for(;Re--;)if(he[Re][0]==="enter"){if(he[Re][1].type==="content"){He=Re;break}he[Re][1].type==="paragraph"&&(dt=Re)}else he[Re][1].type==="content"&&he.splice(Re,1),!vt&&he[Re][1].type==="definition"&&(vt=Re);const At={type:"setextHeading",start:Ys({},he[dt][1].start),end:Ys({},he[he.length-1][1].end)};return he[dt][1].type="setextHeadingText",vt?(he.splice(dt,0,["enter",At,Me]),he.splice(vt+1,0,["exit",he[He][1],Me]),he[He][1].end=Ys({},he[vt][1].end)):he[He][1]=At,he.push(["exit",At,Me]),he}function Hs(he,Me,Re){const He=this;let dt;return vt;function vt($n){let Cn=He.events.length,ci;for(;Cn--;)if(He.events[Cn][1].type!=="lineEnding"&&He.events[Cn][1].type!=="linePrefix"&&He.events[Cn][1].type!=="content"){ci=He.events[Cn][1].type==="paragraph";break}return!He.parser.lazy[He.now().line]&&(He.interrupt||ci)?(he.enter("setextHeadingLine"),dt=$n,At($n)):Re($n)}function At($n){return he.enter("setextHeadingLineSequence"),Jt($n)}function Jt($n){return $n===dt?(he.consume($n),Jt):(he.exit("setextHeadingLineSequence"),Fn($n)?po(he,Tn,"lineSuffix")($n):Tn($n))}function Tn($n){return $n===null||Ht($n)?(he.exit("setextHeadingLine"),Me($n)):Re($n)}}const tu=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ui=["pre","script","style","textarea"],du={concrete:!0,name:"htmlFlow",resolveTo:Wl,tokenize:$l},wo={partial:!0,tokenize:Zu},Uc={partial:!0,tokenize:Fl};function Wl(he){let Me=he.length;for(;Me--&&!(he[Me][0]==="enter"&&he[Me][1].type==="htmlFlow"););return Me>1&&he[Me-2][1].type==="linePrefix"&&(he[Me][1].start=he[Me-2][1].start,he[Me+1][1].start=he[Me-2][1].start,he.splice(Me-2,2)),he}function $l(he,Me,Re){const He=this;let dt,vt,At,Jt,Tn;return $n;function $n(oi){return Cn(oi)}function Cn(oi){return he.enter("htmlFlow"),he.enter("htmlFlowData"),he.consume(oi),ci}function ci(oi){return oi===33?(he.consume(oi),si):oi===47?(he.consume(oi),vt=!0,ie):oi===63?(he.consume(oi),dt=3,He.interrupt?Me:Hn):Ti(oi)?(he.consume(oi),At=String.fromCharCode(oi),ae):Re(oi)}function si(oi){return oi===45?(he.consume(oi),dt=2,Yn):oi===91?(he.consume(oi),dt=5,Jt=0,Ur):Ti(oi)?(he.consume(oi),dt=4,He.interrupt?Me:Hn):Re(oi)}function Yn(oi){return oi===45?(he.consume(oi),He.interrupt?Me:Hn):Re(oi)}function Ur(oi){const us="CDATA[";return oi===us.charCodeAt(Jt++)?(he.consume(oi),Jt===us.length?He.interrupt?Me:_n:Ur):Re(oi)}function ie(oi){return Ti(oi)?(he.consume(oi),At=String.fromCharCode(oi),ae):Re(oi)}function ae(oi){if(oi===null||oi===47||oi===62||Kr(oi)){const us=oi===47,Xa=At.toLowerCase();return!us&&!vt&&ui.includes(Xa)?(dt=1,He.interrupt?Me(oi):_n(oi)):tu.includes(At.toLowerCase())?(dt=6,us?(he.consume(oi),fe):He.interrupt?Me(oi):_n(oi)):(dt=7,He.interrupt&&!He.parser.lazy[He.now().line]?Re(oi):vt?pe(oi):ye(oi))}return oi===45||hr(oi)?(he.consume(oi),At+=String.fromCharCode(oi),ae):Re(oi)}function fe(oi){return oi===62?(he.consume(oi),He.interrupt?Me:_n):Re(oi)}function pe(oi){return Fn(oi)?(he.consume(oi),pe):Rt(oi)}function ye(oi){return oi===47?(he.consume(oi),Rt):oi===58||oi===95||Ti(oi)?(he.consume(oi),Be):Fn(oi)?(he.consume(oi),ye):Rt(oi)}function Be(oi){return oi===45||oi===46||oi===58||oi===95||hr(oi)?(he.consume(oi),Be):Xe(oi)}function Xe(oi){return oi===61?(he.consume(oi),qe):Fn(oi)?(he.consume(oi),Xe):ye(oi)}function qe(oi){return oi===null||oi===60||oi===61||oi===62||oi===96?Re(oi):oi===34||oi===39?(he.consume(oi),Tn=oi,ot):Fn(oi)?(he.consume(oi),qe):Tt(oi)}function ot(oi){return oi===Tn?(he.consume(oi),Tn=null,mn):oi===null||Ht(oi)?Re(oi):(he.consume(oi),ot)}function Tt(oi){return oi===null||oi===34||oi===39||oi===47||oi===60||oi===61||oi===62||oi===96||Kr(oi)?Xe(oi):(he.consume(oi),Tt)}function mn(oi){return oi===47||oi===62||Fn(oi)?ye(oi):Re(oi)}function Rt(oi){return oi===62?(he.consume(oi),Qn):Re(oi)}function Qn(oi){return oi===null||Ht(oi)?_n(oi):Fn(oi)?(he.consume(oi),Qn):Re(oi)}function _n(oi){return oi===45&&dt===2?(he.consume(oi),ar):oi===60&&dt===1?(he.consume(oi),Nr):oi===62&&dt===4?(he.consume(oi),Cr):oi===63&&dt===3?(he.consume(oi),Hn):oi===93&&dt===5?(he.consume(oi),$r):Ht(oi)&&(dt===6||dt===7)?(he.exit("htmlFlowData"),he.check(wo,$o,pi)(oi)):oi===null||Ht(oi)?(he.exit("htmlFlowData"),pi(oi)):(he.consume(oi),_n)}function pi(oi){return he.check(Uc,Ci,$o)(oi)}function Ci(oi){return he.enter("lineEnding"),he.consume(oi),he.exit("lineEnding"),ki}function ki(oi){return oi===null||Ht(oi)?pi(oi):(he.enter("htmlFlowData"),_n(oi))}function ar(oi){return oi===45?(he.consume(oi),Hn):_n(oi)}function Nr(oi){return oi===47?(he.consume(oi),At="",Er):_n(oi)}function Er(oi){if(oi===62){const us=At.toLowerCase();return ui.includes(us)?(he.consume(oi),Cr):_n(oi)}return Ti(oi)&&At.length<8?(he.consume(oi),At+=String.fromCharCode(oi),Er):_n(oi)}function $r(oi){return oi===93?(he.consume(oi),Hn):_n(oi)}function Hn(oi){return oi===62?(he.consume(oi),Cr):oi===45&&dt===2?(he.consume(oi),Hn):_n(oi)}function Cr(oi){return oi===null||Ht(oi)?(he.exit("htmlFlowData"),$o(oi)):(he.consume(oi),Cr)}function $o(oi){return he.exit("htmlFlow"),Me(oi)}}function Fl(he,Me,Re){const He=this;return dt;function dt(At){return Ht(At)?(he.enter("lineEnding"),he.consume(At),he.exit("lineEnding"),vt):Re(At)}function vt(At){return He.parser.lazy[He.now().line]?Re(At):Me(At)}}function Zu(he,Me,Re){return He;function He(dt){return he.enter("lineEnding"),he.consume(dt),he.exit("lineEnding"),he.attempt(lt,Me,Re)}}const Ws={partial:!0,tokenize:Jc},Zs={concrete:!0,name:"codeFenced",tokenize:Al};function Al(he,Me,Re){const He=this,dt={partial:!0,tokenize:Xe};let vt=0,At=0,Jt;return Tn;function Tn(qe){return $n(qe)}function $n(qe){const ot=He.events[He.events.length-1];return vt=ot&&ot[1].type==="linePrefix"?ot[2].sliceSerialize(ot[1],!0).length:0,Jt=qe,he.enter("codeFenced"),he.enter("codeFencedFence"),he.enter("codeFencedFenceSequence"),Cn(qe)}function Cn(qe){return qe===Jt?(At++,he.consume(qe),Cn):At<3?Re(qe):(he.exit("codeFencedFenceSequence"),Fn(qe)?po(he,ci,"whitespace")(qe):ci(qe))}function ci(qe){return qe===null||Ht(qe)?(he.exit("codeFencedFence"),He.interrupt?Me(qe):he.check(Ws,ie,Be)(qe)):(he.enter("codeFencedFenceInfo"),he.enter("chunkString",{contentType:"string"}),si(qe))}function si(qe){return qe===null||Ht(qe)?(he.exit("chunkString"),he.exit("codeFencedFenceInfo"),ci(qe)):Fn(qe)?(he.exit("chunkString"),he.exit("codeFencedFenceInfo"),po(he,Yn,"whitespace")(qe)):qe===96&&qe===Jt?Re(qe):(he.consume(qe),si)}function Yn(qe){return qe===null||Ht(qe)?ci(qe):(he.enter("codeFencedFenceMeta"),he.enter("chunkString",{contentType:"string"}),Ur(qe))}function Ur(qe){return qe===null||Ht(qe)?(he.exit("chunkString"),he.exit("codeFencedFenceMeta"),ci(qe)):qe===96&&qe===Jt?Re(qe):(he.consume(qe),Ur)}function ie(qe){return he.attempt(dt,Be,ae)(qe)}function ae(qe){return he.enter("lineEnding"),he.consume(qe),he.exit("lineEnding"),fe}function fe(qe){return vt>0&&Fn(qe)?po(he,pe,"linePrefix",vt+1)(qe):pe(qe)}function pe(qe){return qe===null||Ht(qe)?he.check(Ws,ie,Be)(qe):(he.enter("codeFlowValue"),ye(qe))}function ye(qe){return qe===null||Ht(qe)?(he.exit("codeFlowValue"),pe(qe)):(he.consume(qe),ye)}function Be(qe){return he.exit("codeFenced"),Me(qe)}function Xe(qe,ot,Tt){let mn=0;return Rt;function Rt(ki){return qe.enter("lineEnding"),qe.consume(ki),qe.exit("lineEnding"),Qn}function Qn(ki){return qe.enter("codeFencedFence"),Fn(ki)?po(qe,_n,"linePrefix",He.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ki):_n(ki)}function _n(ki){return ki===Jt?(qe.enter("codeFencedFenceSequence"),pi(ki)):Tt(ki)}function pi(ki){return ki===Jt?(mn++,qe.consume(ki),pi):mn>=At?(qe.exit("codeFencedFenceSequence"),Fn(ki)?po(qe,Ci,"whitespace")(ki):Ci(ki)):Tt(ki)}function Ci(ki){return ki===null||Ht(ki)?(qe.exit("codeFencedFence"),ot(ki)):Tt(ki)}}}function Jc(he,Me,Re){const He=this;return dt;function dt(At){return At===null?Re(At):(he.enter("lineEnding"),he.consume(At),he.exit("lineEnding"),vt)}function vt(At){return He.parser.lazy[He.now().line]?Re(At):Me(At)}}const qc=document.createElement("i");function Pc(he){const Me="&"+he+";";qc.innerHTML=Me;const Re=qc.textContent;return Re.charCodeAt(Re.length-1)===59&&he!=="semi"||Re===Me?!1:Re}const md={name:"characterReference",tokenize:ed};function ed(he,Me,Re){const He=this;let dt=0,vt,At;return Jt;function Jt(ci){return he.enter("characterReference"),he.enter("characterReferenceMarker"),he.consume(ci),he.exit("characterReferenceMarker"),Tn}function Tn(ci){return ci===35?(he.enter("characterReferenceMarkerNumeric"),he.consume(ci),he.exit("characterReferenceMarkerNumeric"),$n):(he.enter("characterReferenceValue"),vt=31,At=hr,Cn(ci))}function $n(ci){return ci===88||ci===120?(he.enter("characterReferenceMarkerHexadecimal"),he.consume(ci),he.exit("characterReferenceMarkerHexadecimal"),he.enter("characterReferenceValue"),vt=6,At=Hi,Cn):(he.enter("characterReferenceValue"),vt=7,At=Xi,Cn(ci))}function Cn(ci){if(ci===59&&dt){const si=he.exit("characterReferenceValue");return At===hr&&!Pc(He.sliceSerialize(si))?Re(ci):(he.enter("characterReferenceMarker"),he.consume(ci),he.exit("characterReferenceMarker"),he.exit("characterReference"),Me)}return At(ci)&&dt++1&&he[Re][1].end.offset-he[Re][1].start.offset>1?2:1;const ci=Ys({},he[He][1].end),si=Ys({},he[Re][1].start);fr(ci,-Tn),fr(si,Tn),At={type:Tn>1?"strongSequence":"emphasisSequence",start:ci,end:Ys({},he[He][1].end)},Jt={type:Tn>1?"strongSequence":"emphasisSequence",start:Ys({},he[Re][1].start),end:si},vt={type:Tn>1?"strongText":"emphasisText",start:Ys({},he[He][1].end),end:Ys({},he[Re][1].start)},dt={type:Tn>1?"strong":"emphasis",start:Ys({},At.start),end:Ys({},Jt.end)},he[He][1].end=Ys({},At.start),he[Re][1].start=Ys({},Jt.end),$n=[],he[He][1].end.offset-he[He][1].start.offset&&($n=kn($n,[["enter",he[He][1],Me],["exit",he[He][1],Me]])),$n=kn($n,[["enter",dt,Me],["enter",At,Me],["exit",At,Me],["enter",vt,Me]]),$n=kn($n,ta(Me.parser.constructs.insideSpan.null,he.slice(He+1,Re),Me)),$n=kn($n,[["exit",vt,Me],["enter",Jt,Me],["exit",Jt,Me],["exit",dt,Me]]),he[Re][1].end.offset-he[Re][1].start.offset?(Cn=2,$n=kn($n,[["enter",he[Re][1],Me],["exit",he[Re][1],Me]])):Cn=0,gn(he,He-1,Re-He+3,$n),Re=He+$n.length-Cn-2;break}}for(Re=-1;++Re-1){const Jt=At[0];typeof Jt=="string"?At[0]=Jt.slice(He):At.shift()}vt>0&&At.push(he[dt].slice(0,vt))}return At}function Bl(he,Me){let Re=-1;const He=[];let dt;for(;++Re13&&Re<32||Re>126&&Re<160||Re>55295&&Re<57344||Re>64975&&Re<65008||(Re&65535)===65535||(Re&65535)===65534||Re>1114111?"\uFFFD":String.fromCodePoint(Re)}const ya=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ku(he){return he.replace(ya,xo)}function xo(he,Me,Re){if(Me)return Me;if(Re.charCodeAt(0)===35){const dt=Re.charCodeAt(1),vt=dt===120||dt===88;return hs(Re.slice(vt?2:1),vt?16:10)}return Pc(Re)||he}const Gc={}.hasOwnProperty;function pa(he,Me,Re){return typeof Me!="string"&&(Re=Me,Me=void 0),ah(Re)(gi(Ma(Re).document().write(ms()(he,Me,!0))))}function ah(he){const Me={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:vt(fs),autolinkProtocol:mn,autolinkEmail:mn,atxHeading:vt(Ps),blockQuote:vt(Xs),characterEscape:mn,characterReference:mn,codeFenced:vt(ha),codeFencedFenceInfo:At,codeFencedFenceMeta:At,codeIndented:vt(ha,At),codeText:vt(Ca,At),codeTextData:mn,data:mn,codeFlowValue:mn,definition:vt(Ts),definitionDestinationString:At,definitionLabelString:At,definitionTitleString:At,emphasis:vt(el),hardBreakEscape:vt(Tl),hardBreakTrailing:vt(Tl),htmlFlow:vt(ba,At),htmlFlowData:mn,htmlText:vt(ba,At),htmlTextData:mn,image:vt(Fu),label:At,link:vt(fs),listItem:vt(su),listItemValue:si,listOrdered:vt(Su,ci),listUnordered:vt(Su),paragraph:vt(Bu),reference:oi,referenceString:At,resourceDestinationString:At,resourceTitleString:At,setextHeading:vt(Ps),strong:vt(xu),thematicBreak:vt(Il)},exit:{atxHeading:Tn(),atxHeadingSequence:Xe,autolink:Tn(),autolinkEmail:ll,autolinkProtocol:Va,blockQuote:Tn(),characterEscapeValue:Rt,characterReferenceMarkerHexadecimal:Xa,characterReferenceMarkerNumeric:Xa,characterReferenceValue:pl,characterReference:ml,codeFenced:Tn(ae),codeFencedFence:ie,codeFencedFenceInfo:Yn,codeFencedFenceMeta:zr,codeFlowValue:Rt,codeIndented:Tn(fe),codeText:Tn(ki),codeTextData:Rt,data:Rt,definition:Tn(),definitionDestinationString:Be,definitionLabelString:pe,definitionTitleString:ye,emphasis:Tn(),hardBreakEscape:Tn(_n),hardBreakTrailing:Tn(_n),htmlFlow:Tn(pi),htmlFlowData:Rt,htmlText:Tn(Ci),htmlTextData:Rt,image:Tn(Nr),label:$r,labelText:Er,lineEnding:Qn,link:Tn(ar),listItem:Tn(),listOrdered:Tn(),listUnordered:Tn(),paragraph:Tn(),referenceString:ls,resourceDestinationString:Hn,resourceTitleString:Cr,resource:$o,setextHeading:Tn(Tt),setextHeadingLineSequence:ot,setextHeadingText:qe,strong:Tn(),thematicBreak:Tn()}};jl(Me,(he||{}).mdastExtensions||[]);const Re={};return He;function He(sr){let lo={type:"root",children:[]};const Ha={stack:[lo],tokenStack:[],config:Me,enter:Jt,exit:$n,buffer:At,resume:Cn,data:Re},ga=[];let Is=-1;for(;++Is0){const Dl=Ha.tokenStack[Ha.tokenStack.length-1];(Dl[1]||zl).call(Ha,void 0,Dl[0])}for(lo.position={start:ru(sr.length>0?sr[0][1].start:{line:1,column:1,offset:0}),end:ru(sr.length>0?sr[sr.length-2][1].end:{line:1,column:1,offset:0})},Is=-1;++Is{const Re=(dt,vt)=>(he.set(vt,dt),dt),He=dt=>{if(he.has(dt))return he.get(dt);const[vt,At]=Me[dt];switch(vt){case da:case zs:return Re(At,dt);case kl:{const Jt=Re([],dt);for(const Tn of At)Jt.push(He(Tn));return Jt}case Yu:{const Jt=Re({},dt);for(const[Tn,$n]of At)Jt[He(Tn)]=He($n);return Jt}case Ac:return Re(new Date(At),dt);case Id:{const{source:Jt,flags:Tn}=At;return Re(new RegExp(Jt,Tn),dt)}case $u:{const Jt=Re(new Map,dt);for(const[Tn,$n]of At)Jt.set(He(Tn),He($n));return Jt}case gu:{const Jt=Re(new Set,dt);for(const Tn of At)Jt.add(He(Tn));return Jt}case Sc:{const{name:Jt,message:Tn}=At;return Re(new Nc[Jt](Tn),dt)}case Xu:return Re(BigInt(At),dt);case"BigInt":return Re(Object(BigInt(At)),dt)}return Re(new Nc[vt](At),dt)};return He},nd=he=>td(new Map,he)(0),xc="",{toString:Mh}={},{keys:Ul}=Object,Tu=he=>{const Me=typeof he;if(Me!=="object"||!he)return[da,Me];const Re=Mh.call(he).slice(8,-1);switch(Re){case"Array":return[kl,xc];case"Object":return[Yu,xc];case"Date":return[Ac,xc];case"RegExp":return[Id,xc];case"Map":return[$u,xc];case"Set":return[gu,xc]}return Re.includes("Array")?[kl,Re]:Re.includes("Error")?[Sc,Re]:[Yu,Re]},Ud=([he,Me])=>he===da&&(Me==="function"||Me==="symbol"),mt=(he,Me,Re,He)=>{const dt=(At,Jt)=>{const Tn=He.push(At)-1;return Re.set(Jt,Tn),Tn},vt=At=>{if(Re.has(At))return Re.get(At);let[Jt,Tn]=Tu(At);switch(Jt){case da:{let Cn=At;switch(Tn){case"bigint":Jt=Xu,Cn=At.toString();break;case"function":case"symbol":if(he)throw new TypeError("unable to serialize "+Tn);Cn=null;break;case"undefined":return dt([zs],At)}return dt([Jt,Cn],At)}case kl:{if(Tn)return dt([Tn,[...At]],At);const Cn=[],ci=dt([Jt,Cn],At);for(const si of At)Cn.push(vt(si));return ci}case Yu:{if(Tn)switch(Tn){case"BigInt":return dt([Tn,At.toString()],At);case"Boolean":case"Number":case"String":return dt([Tn,At.valueOf()],At)}if(Me&&"toJSON"in At)return vt(At.toJSON());const Cn=[],ci=dt([Jt,Cn],At);for(const si of Ul(At))(he||!Ud(Tu(At[si])))&&Cn.push([vt(si),vt(At[si])]);return ci}case Ac:return dt([Jt,At.toISOString()],At);case Id:{const{source:Cn,flags:ci}=At;return dt([Jt,{source:Cn,flags:ci}],At)}case $u:{const Cn=[],ci=dt([Jt,Cn],At);for(const[si,Yn]of At)(he||!(Ud(Tu(si))||Ud(Tu(Yn))))&&Cn.push([vt(si),vt(Yn)]);return ci}case gu:{const Cn=[],ci=dt([Jt,Cn],At);for(const si of At)(he||!Ud(Tu(si)))&&Cn.push(vt(si));return ci}}const{message:$n}=At;return dt([Jt,{name:Tn,message:$n}],At)};return vt},Et=(he,{json:Me,lossy:Re}={})=>{const He=[];return mt(!(Me||Re),!!Me,new Map,He)(he),He};var rn=typeof structuredClone=="function"?(he,Me)=>Me&&("json"in Me||"lossy"in Me)?nd(Et(he,Me)):structuredClone(he):(he,Me)=>nd(Et(he,Me));function cn(he,Me){const Re=encode(Dn(he||""));if(!Me)return Re;const He=Re.indexOf(":"),dt=Re.indexOf("?"),vt=Re.indexOf("#"),At=Re.indexOf("/");return He<0||At>-1&&He>At||dt>-1&&He>dt||vt>-1&&He>vt||Me.test(Re.slice(0,He))?Re:""}function Dn(he){const Me=[];let Re=-1,He=0,dt=0;for(;++Re55295&&vt<57344){const Jt=he.charCodeAt(Re+1);vt<56320&&Jt>56319&&Jt<57344?(At=String.fromCharCode(vt,Jt),dt=1):At="\uFFFD"}else At=String.fromCharCode(vt);At&&(Me.push(he.slice(He,Re),encodeURIComponent(At)),He=Re+dt+1,At=""),dt&&(Re+=dt,dt=0)}return Me.join("")+he.slice(He)}function xn(he,Me){const Re=[{type:"text",value:"\u21A9"}];return Me>1&&Re.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(Me)}]}),Re}function ri(he,Me){return"Back to reference "+(he+1)+(Me>1?"-"+Me:"")}function ai(he){const Me=typeof he.options.clobberPrefix=="string"?he.options.clobberPrefix:"user-content-",Re=he.options.footnoteBackContent||xn,He=he.options.footnoteBackLabel||ri,dt=he.options.footnoteLabel||"Footnotes",vt=he.options.footnoteLabelTagName||"h2",At=he.options.footnoteLabelProperties||{className:["sr-only"]},Jt=[];let Tn=-1;for(;++Tn0&&zr.push({type:"text",value:" "});let pe=typeof Re=="string"?Re:Re(Tn,Yn);typeof pe=="string"&&(pe={type:"text",value:pe}),zr.push({type:"element",tagName:"a",properties:{href:"#"+Me+"fnref-"+si+(Yn>1?"-"+Yn:""),dataFootnoteBackref:"",ariaLabel:typeof He=="string"?He:He(Tn,Yn),className:["data-footnote-backref"]},children:Array.isArray(pe)?pe:[pe]})}const ae=Cn[Cn.length-1];if(ae&&ae.type==="element"&&ae.tagName==="p"){const pe=ae.children[ae.children.length-1];pe&&pe.type==="text"?pe.value+=" ":ae.children.push({type:"text",value:" "}),ae.children.push(...zr)}else Cn.push(...zr);const fe={type:"element",tagName:"li",properties:{id:Me+"fn-"+si},children:he.wrap(Cn,!0)};he.patch($n,fe),Jt.push(fe)}if(Jt.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:vt,properties:rS(Ys({},rn(At)),{id:"footnote-label"}),children:[{type:"text",value:dt}]},{type:"text",value:` +`;break}case-2:{At=Me?" ":" ";break}case-1:{if(!Me&&dt)continue;At=" ";break}default:At=String.fromCharCode(vt)}dt=vt===-2,He.push(At)}return He.join("")}function Ma(he){const He={constructs:ir([Ce,...(he||{}).extensions||[]]),content:dt(Do),defined:[],document:dt(or),flow:dt(co),lazy:{},string:dt(ra),text:dt(gr)};return He;function dt(vt){return At;function At(Jt){return _c(He,vt,Jt)}}}const Ka=/[\0\t\n\r]/g;function ms(){let he=1,Me="",Re=!0,He;return dt;function dt(vt,At,Jt){const Tn=[];let $n,Cn,ci,si,Yn;for(vt=Me+(typeof vt=="string"?vt.toString():new TextDecoder(At||void 0).decode(vt)),ci=0,Me="",Re&&(vt.charCodeAt(0)===65279&&ci++,Re=void 0);ci13&&Re<32||Re>126&&Re<160||Re>55295&&Re<57344||Re>64975&&Re<65008||(Re&65535)===65535||(Re&65535)===65534||Re>1114111?"\uFFFD":String.fromCodePoint(Re)}const ya=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ku(he){return he.replace(ya,xo)}function xo(he,Me,Re){if(Me)return Me;if(Re.charCodeAt(0)===35){const dt=Re.charCodeAt(1),vt=dt===120||dt===88;return os(Re.slice(vt?2:1),vt?16:10)}return Pc(Re)||he}const Gc={}.hasOwnProperty;function pa(he,Me,Re){return typeof Me!="string"&&(Re=Me,Me=void 0),ah(Re)(gi(Ma(Re).document().write(ms()(he,Me,!0))))}function ah(he){const Me={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:vt(fs),autolinkProtocol:mn,autolinkEmail:mn,atxHeading:vt(Ps),blockQuote:vt(Xs),characterEscape:mn,characterReference:mn,codeFenced:vt(ha),codeFencedFenceInfo:At,codeFencedFenceMeta:At,codeIndented:vt(ha,At),codeText:vt(Ca,At),codeTextData:mn,data:mn,codeFlowValue:mn,definition:vt(Ts),definitionDestinationString:At,definitionLabelString:At,definitionTitleString:At,emphasis:vt(el),hardBreakEscape:vt(Tl),hardBreakTrailing:vt(Tl),htmlFlow:vt(ba,At),htmlFlowData:mn,htmlText:vt(ba,At),htmlTextData:mn,image:vt(Fu),label:At,link:vt(fs),listItem:vt(su),listItemValue:si,listOrdered:vt(Su,ci),listUnordered:vt(Su),paragraph:vt(Bu),reference:oi,referenceString:At,resourceDestinationString:At,resourceTitleString:At,setextHeading:vt(Ps),strong:vt(xu),thematicBreak:vt(Il)},exit:{atxHeading:Tn(),atxHeadingSequence:Xe,autolink:Tn(),autolinkEmail:ll,autolinkProtocol:Va,blockQuote:Tn(),characterEscapeValue:Rt,characterReferenceMarkerHexadecimal:Xa,characterReferenceMarkerNumeric:Xa,characterReferenceValue:pl,characterReference:ml,codeFenced:Tn(ae),codeFencedFence:ie,codeFencedFenceInfo:Yn,codeFencedFenceMeta:Ur,codeFlowValue:Rt,codeIndented:Tn(fe),codeText:Tn(ki),codeTextData:Rt,data:Rt,definition:Tn(),definitionDestinationString:Be,definitionLabelString:pe,definitionTitleString:ye,emphasis:Tn(),hardBreakEscape:Tn(_n),hardBreakTrailing:Tn(_n),htmlFlow:Tn(pi),htmlFlowData:Rt,htmlText:Tn(Ci),htmlTextData:Rt,image:Tn(Nr),label:$r,labelText:Er,lineEnding:Qn,link:Tn(ar),listItem:Tn(),listOrdered:Tn(),listUnordered:Tn(),paragraph:Tn(),referenceString:us,resourceDestinationString:Hn,resourceTitleString:Cr,resource:$o,setextHeading:Tn(Tt),setextHeadingLineSequence:ot,setextHeadingText:qe,strong:Tn(),thematicBreak:Tn()}};jl(Me,(he||{}).mdastExtensions||[]);const Re={};return He;function He(sr){let lo={type:"root",children:[]};const Ha={stack:[lo],tokenStack:[],config:Me,enter:Jt,exit:$n,buffer:At,resume:Cn,data:Re},ga=[];let Is=-1;for(;++Is0){const Dl=Ha.tokenStack[Ha.tokenStack.length-1];(Dl[1]||zl).call(Ha,void 0,Dl[0])}for(lo.position={start:ru(sr.length>0?sr[0][1].start:{line:1,column:1,offset:0}),end:ru(sr.length>0?sr[sr.length-2][1].end:{line:1,column:1,offset:0})},Is=-1;++Is{const Re=(dt,vt)=>(he.set(vt,dt),dt),He=dt=>{if(he.has(dt))return he.get(dt);const[vt,At]=Me[dt];switch(vt){case da:case zs:return Re(At,dt);case kl:{const Jt=Re([],dt);for(const Tn of At)Jt.push(He(Tn));return Jt}case Yu:{const Jt=Re({},dt);for(const[Tn,$n]of At)Jt[He(Tn)]=He($n);return Jt}case Ac:return Re(new Date(At),dt);case Id:{const{source:Jt,flags:Tn}=At;return Re(new RegExp(Jt,Tn),dt)}case $u:{const Jt=Re(new Map,dt);for(const[Tn,$n]of At)Jt.set(He(Tn),He($n));return Jt}case gu:{const Jt=Re(new Set,dt);for(const Tn of At)Jt.add(He(Tn));return Jt}case Sc:{const{name:Jt,message:Tn}=At;return Re(new Nc[Jt](Tn),dt)}case Xu:return Re(BigInt(At),dt);case"BigInt":return Re(Object(BigInt(At)),dt)}return Re(new Nc[vt](At),dt)};return He},nd=he=>td(new Map,he)(0),xc="",{toString:Mh}={},{keys:Ul}=Object,Tu=he=>{const Me=typeof he;if(Me!=="object"||!he)return[da,Me];const Re=Mh.call(he).slice(8,-1);switch(Re){case"Array":return[kl,xc];case"Object":return[Yu,xc];case"Date":return[Ac,xc];case"RegExp":return[Id,xc];case"Map":return[$u,xc];case"Set":return[gu,xc]}return Re.includes("Array")?[kl,Re]:Re.includes("Error")?[Sc,Re]:[Yu,Re]},Ud=([he,Me])=>he===da&&(Me==="function"||Me==="symbol"),mt=(he,Me,Re,He)=>{const dt=(At,Jt)=>{const Tn=He.push(At)-1;return Re.set(Jt,Tn),Tn},vt=At=>{if(Re.has(At))return Re.get(At);let[Jt,Tn]=Tu(At);switch(Jt){case da:{let Cn=At;switch(Tn){case"bigint":Jt=Xu,Cn=At.toString();break;case"function":case"symbol":if(he)throw new TypeError("unable to serialize "+Tn);Cn=null;break;case"undefined":return dt([zs],At)}return dt([Jt,Cn],At)}case kl:{if(Tn)return dt([Tn,[...At]],At);const Cn=[],ci=dt([Jt,Cn],At);for(const si of At)Cn.push(vt(si));return ci}case Yu:{if(Tn)switch(Tn){case"BigInt":return dt([Tn,At.toString()],At);case"Boolean":case"Number":case"String":return dt([Tn,At.valueOf()],At)}if(Me&&"toJSON"in At)return vt(At.toJSON());const Cn=[],ci=dt([Jt,Cn],At);for(const si of Ul(At))(he||!Ud(Tu(At[si])))&&Cn.push([vt(si),vt(At[si])]);return ci}case Ac:return dt([Jt,At.toISOString()],At);case Id:{const{source:Cn,flags:ci}=At;return dt([Jt,{source:Cn,flags:ci}],At)}case $u:{const Cn=[],ci=dt([Jt,Cn],At);for(const[si,Yn]of At)(he||!(Ud(Tu(si))||Ud(Tu(Yn))))&&Cn.push([vt(si),vt(Yn)]);return ci}case gu:{const Cn=[],ci=dt([Jt,Cn],At);for(const si of At)(he||!Ud(Tu(si)))&&Cn.push(vt(si));return ci}}const{message:$n}=At;return dt([Jt,{name:Tn,message:$n}],At)};return vt},Et=(he,{json:Me,lossy:Re}={})=>{const He=[];return mt(!(Me||Re),!!Me,new Map,He)(he),He};var rn=typeof structuredClone=="function"?(he,Me)=>Me&&("json"in Me||"lossy"in Me)?nd(Et(he,Me)):structuredClone(he):(he,Me)=>nd(Et(he,Me));function cn(he,Me){const Re=encode(Dn(he||""));if(!Me)return Re;const He=Re.indexOf(":"),dt=Re.indexOf("?"),vt=Re.indexOf("#"),At=Re.indexOf("/");return He<0||At>-1&&He>At||dt>-1&&He>dt||vt>-1&&He>vt||Me.test(Re.slice(0,He))?Re:""}function Dn(he){const Me=[];let Re=-1,He=0,dt=0;for(;++Re55295&&vt<57344){const Jt=he.charCodeAt(Re+1);vt<56320&&Jt>56319&&Jt<57344?(At=String.fromCharCode(vt,Jt),dt=1):At="\uFFFD"}else At=String.fromCharCode(vt);At&&(Me.push(he.slice(He,Re),encodeURIComponent(At)),He=Re+dt+1,At=""),dt&&(Re+=dt,dt=0)}return Me.join("")+he.slice(He)}function xn(he,Me){const Re=[{type:"text",value:"\u21A9"}];return Me>1&&Re.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(Me)}]}),Re}function ri(he,Me){return"Back to reference "+(he+1)+(Me>1?"-"+Me:"")}function ai(he){const Me=typeof he.options.clobberPrefix=="string"?he.options.clobberPrefix:"user-content-",Re=he.options.footnoteBackContent||xn,He=he.options.footnoteBackLabel||ri,dt=he.options.footnoteLabel||"Footnotes",vt=he.options.footnoteLabelTagName||"h2",At=he.options.footnoteLabelProperties||{className:["sr-only"]},Jt=[];let Tn=-1;for(;++Tn0&&Ur.push({type:"text",value:" "});let pe=typeof Re=="string"?Re:Re(Tn,Yn);typeof pe=="string"&&(pe={type:"text",value:pe}),Ur.push({type:"element",tagName:"a",properties:{href:"#"+Me+"fnref-"+si+(Yn>1?"-"+Yn:""),dataFootnoteBackref:"",ariaLabel:typeof He=="string"?He:He(Tn,Yn),className:["data-footnote-backref"]},children:Array.isArray(pe)?pe:[pe]})}const ae=Cn[Cn.length-1];if(ae&&ae.type==="element"&&ae.tagName==="p"){const pe=ae.children[ae.children.length-1];pe&&pe.type==="text"?pe.value+=" ":ae.children.push({type:"text",value:" "}),ae.children.push(...Ur)}else Cn.push(...Ur);const fe={type:"element",tagName:"li",properties:{id:Me+"fn-"+si},children:he.wrap(Cn,!0)};he.patch($n,fe),Jt.push(fe)}if(Jt.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:vt,properties:rS(Ys({},rn(At)),{id:"footnote-label"}),children:[{type:"text",value:dt}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:he.wrap(Jt,!0)},{type:"text",value:` -`}]}}const qn=function(he,Me,Re,He,dt){const vt=bi(Me);if(Re!=null&&(typeof Re!="number"||Re<0||Re===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(He!=null&&(!qn(He)||!He.children))throw new Error("Expected parent node");if(He==null!=(Re==null))throw new Error("Expected both parent and index");return Lr(he)?vt.call(dt,he,Re,He):!1},bi=function(he){if(he==null)return Ui;if(typeof he=="function")return Ki(he);if(typeof he=="object")return Array.isArray(he)?Ni(he):Ei(he);if(typeof he=="string")return qi(he);throw new Error("Expected function, string, or object as test")};function Ni(he){const Me=[];let Re=-1;for(;++Re":""))+")"})}return si;function si(){let Yn=Pr,zr,ie,ae;if((!Me||vt(Tn,$n,Cn[Cn.length-1]||void 0))&&(Yn=Tr(Re(Tn,Cn)),Yn[0]===jr))return Yn;if("children"in Tn&&Tn.children){const fe=Tn;if(fe.children&&Yn[0]!==So)for(ie=(He?fe.children.length:-1)+At,ae=Cn.concat(fe);ie>-1&&ie":""))+")"})}return si;function si(){let Yn=Pr,Ur,ie,ae;if((!Me||vt(Tn,$n,Cn[Cn.length-1]||void 0))&&(Yn=Tr(Re(Tn,Cn)),Yn[0]===zr))return Yn;if("children"in Tn&&Tn.children){const fe=Tn;if(fe.children&&Yn[0]!==So)for(ie=(He?fe.children.length:-1)+At,ae=Cn.concat(fe);ie>-1&&ie1?"-"+Jt:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(At)}]};he.patch(Me,Tn);const $n={type:"element",tagName:"sup",properties:{},children:[Tn]};return he.patch(Me,$n),he.applyData(Me,$n)}function Co(he,Me){const Re={type:"element",tagName:"h"+Me.depth,properties:{},children:he.all(Me)};return he.patch(Me,Re),he.applyData(Me,Re)}function Ro(he,Me){if(he.options.allowDangerousHtml){const Re={type:"raw",value:Me.value};return he.patch(Me,Re),he.applyData(Me,Re)}}function jo(he,Me){const Re=Me.referenceType;let He="]";if(Re==="collapsed"?He+="[]":Re==="full"&&(He+="["+(Me.label||Me.identifier)+"]"),Me.type==="imageReference")return[{type:"text",value:"!["+Me.alt+He}];const dt=he.all(Me),vt=dt[0];vt&&vt.type==="text"?vt.value="["+vt.value:dt.unshift({type:"text",value:"["});const At=dt[dt.length-1];return At&&At.type==="text"?At.value+=He:dt.push({type:"text",value:He}),dt}function Or(he,Me){const Re=String(Me.identifier).toUpperCase(),He=he.definitionById.get(Re);if(!He)return jo(he,Me);const dt={src:Dn(He.url||""),alt:Me.alt};He.title!==null&&He.title!==void 0&&(dt.title=He.title);const vt={type:"element",tagName:"img",properties:dt,children:[]};return he.patch(Me,vt),he.applyData(Me,vt)}function Qo(he,Me){const Re={src:Dn(Me.url)};Me.alt!==null&&Me.alt!==void 0&&(Re.alt=Me.alt),Me.title!==null&&Me.title!==void 0&&(Re.title=Me.title);const He={type:"element",tagName:"img",properties:Re,children:[]};return he.patch(Me,He),he.applyData(Me,He)}function Jo(he,Me){const Re={type:"text",value:Me.value.replace(/\r?\n|\r/g," ")};he.patch(Me,Re);const He={type:"element",tagName:"code",properties:{},children:[Re]};return he.patch(Me,He),he.applyData(Me,He)}function Da(he,Me){const Re=String(Me.identifier).toUpperCase(),He=he.definitionById.get(Re);if(!He)return jo(he,Me);const dt={href:Dn(He.url||"")};He.title!==null&&He.title!==void 0&&(dt.title=He.title);const vt={type:"element",tagName:"a",properties:dt,children:he.all(Me)};return he.patch(Me,vt),he.applyData(Me,vt)}function la(he,Me){const Re={href:Dn(Me.url)};Me.title!==null&&Me.title!==void 0&&(Re.title=Me.title);const He={type:"element",tagName:"a",properties:Re,children:he.all(Me)};return he.patch(Me,He),he.applyData(Me,He)}function Ms(he,Me,Re){const He=he.all(Me),dt=Re?vs(Re):ea(Me),vt={},At=[];if(typeof Me.checked=="boolean"){const Cn=He[0];let ci;Cn&&Cn.type==="element"&&Cn.tagName==="p"?ci=Cn:(ci={type:"element",tagName:"p",properties:{},children:[]},He.unshift(ci)),ci.children.length>0&&ci.children.unshift({type:"text",value:" "}),ci.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:Me.checked,disabled:!0},children:[]}),vt.className=["task-list-item"]}let Jt=-1;for(;++Jt1:Me}function No(he,Me){const Re={},He=he.all(Me);let dt=-1;for(typeof Me.start=="number"&&Me.start!==1&&(Re.start=Me.start);++dt0){const At={type:"element",tagName:"tbody",properties:{},children:he.wrap(Re,!0)},Jt=nn(Me.children[1]),Tn=wt(Me.children[Me.children.length-1]);Jt&&Tn&&(At.position={start:Jt,end:Tn}),dt.push(At)}const vt={type:"element",tagName:"table",properties:{},children:he.wrap(dt,!0)};return he.patch(Me,vt),he.applyData(Me,vt)}function _o(he,Me,Re){const He=Re?Re.children:void 0,vt=(He?He.indexOf(Me):1)===0?"th":"td",At=Re&&Re.type==="table"?Re.align:void 0,Jt=At?At.length:Me.children.length;let Tn=-1;const $n=[];for(;++Tn0,!0),He[0]),dt=He.index+He[0].length,He=Re.exec(Me);return vt.push(ho(Me.slice(dt),dt>0,!1)),vt.join("")}function ho(he,Me,Re){let He=0,dt=he.length;if(Me){let vt=he.codePointAt(He);for(;vt===er||vt===qr;)He++,vt=he.codePointAt(He)}if(Re){let vt=he.codePointAt(dt-1);for(;vt===er||vt===qr;)dt--,vt=he.codePointAt(dt-1)}return dt>He?he.slice(He,dt):""}function Yo(he,Me){const Re={type:"text",value:La(String(Me.value))};return he.patch(Me,Re),he.applyData(Me,Re)}function Sa(he,Me){const Re={type:"element",tagName:"hr",properties:{},children:[]};return he.patch(Me,Re),he.applyData(Me,Re)}const ja={blockquote:Zo,break:Hr,code:uo,delete:vr,emphasis:cr,footnoteReference:to,heading:Co,html:Ro,imageReference:Or,image:Qo,inlineCode:Jo,linkReference:Da,link:la,listItem:Ms,list:No,paragraph:Ba,root:bs,strong:ys,table:qs,tableCell:wi,tableRow:_o,text:Yo,thematicBreak:Sa,toml:xl,yaml:xl,definition:xl,footnoteDefinition:xl};function xl(){}const al={}.hasOwnProperty,ql={};function Ya(he,Me){const Re=Me||ql,He=new Map,dt=new Map,vt=new Map,At=Ys(Ys({},ja),Re.handlers),Jt={all:$n,applyData:sl,definitionById:He,footnoteById:dt,footnoteCounts:vt,footnoteOrder:[],handlers:At,one:Tn,options:Re,patch:_l,wrap:Hc};return mo(he,function(Cn){if(Cn.type==="definition"||Cn.type==="footnoteDefinition"){const ci=Cn.type==="definition"?He:dt,si=String(Cn.identifier).toUpperCase();ci.has(si)||ci.set(si,Cn)}}),Jt;function Tn(Cn,ci){const si=Cn.type,Yn=Jt.handlers[si];if(al.call(Jt.handlers,si)&&Yn)return Yn(Jt,Cn,ci);if(Jt.options.passThrough&&Jt.options.passThrough.includes(si)){if("children"in Cn){const ie=Cn,{children:ae}=ie,fe=E1(ie,["children"]),pe=rn(fe);return pe.children=Jt.all(Cn),pe}return rn(Cn)}return(Jt.options.unknownHandler||Ml)(Jt,Cn,ci)}function $n(Cn){const ci=[];if("children"in Cn){const si=Cn.children;let Yn=-1;for(;++Yn1:Me}function No(he,Me){const Re={},He=he.all(Me);let dt=-1;for(typeof Me.start=="number"&&Me.start!==1&&(Re.start=Me.start);++dt0){const At={type:"element",tagName:"tbody",properties:{},children:he.wrap(Re,!0)},Jt=nn(Me.children[1]),Tn=wt(Me.children[Me.children.length-1]);Jt&&Tn&&(At.position={start:Jt,end:Tn}),dt.push(At)}const vt={type:"element",tagName:"table",properties:{},children:he.wrap(dt,!0)};return he.patch(Me,vt),he.applyData(Me,vt)}function _o(he,Me,Re){const He=Re?Re.children:void 0,vt=(He?He.indexOf(Me):1)===0?"th":"td",At=Re&&Re.type==="table"?Re.align:void 0,Jt=At?At.length:Me.children.length;let Tn=-1;const $n=[];for(;++Tn0,!0),He[0]),dt=He.index+He[0].length,He=Re.exec(Me);return vt.push(ho(Me.slice(dt),dt>0,!1)),vt.join("")}function ho(he,Me,Re){let He=0,dt=he.length;if(Me){let vt=he.codePointAt(He);for(;vt===er||vt===qr;)He++,vt=he.codePointAt(He)}if(Re){let vt=he.codePointAt(dt-1);for(;vt===er||vt===qr;)dt--,vt=he.codePointAt(dt-1)}return dt>He?he.slice(He,dt):""}function Yo(he,Me){const Re={type:"text",value:La(String(Me.value))};return he.patch(Me,Re),he.applyData(Me,Re)}function Sa(he,Me){const Re={type:"element",tagName:"hr",properties:{},children:[]};return he.patch(Me,Re),he.applyData(Me,Re)}const ja={blockquote:Zo,break:Hr,code:uo,delete:vr,emphasis:cr,footnoteReference:to,heading:Co,html:Ro,imageReference:Or,image:Qo,inlineCode:Jo,linkReference:Da,link:la,listItem:Ms,list:No,paragraph:Ba,root:bs,strong:ys,table:qs,tableCell:wi,tableRow:_o,text:Yo,thematicBreak:Sa,toml:xl,yaml:xl,definition:xl,footnoteDefinition:xl};function xl(){}const al={}.hasOwnProperty,ql={};function Ya(he,Me){const Re=Me||ql,He=new Map,dt=new Map,vt=new Map,At=Ys(Ys({},ja),Re.handlers),Jt={all:$n,applyData:sl,definitionById:He,footnoteById:dt,footnoteCounts:vt,footnoteOrder:[],handlers:At,one:Tn,options:Re,patch:_l,wrap:Hc};return mo(he,function(Cn){if(Cn.type==="definition"||Cn.type==="footnoteDefinition"){const ci=Cn.type==="definition"?He:dt,si=String(Cn.identifier).toUpperCase();ci.has(si)||ci.set(si,Cn)}}),Jt;function Tn(Cn,ci){const si=Cn.type,Yn=Jt.handlers[si];if(al.call(Jt.handlers,si)&&Yn)return Yn(Jt,Cn,ci);if(Jt.options.passThrough&&Jt.options.passThrough.includes(si)){if("children"in Cn){const ie=Cn,{children:ae}=ie,fe=E1(ie,["children"]),pe=rn(fe);return pe.children=Jt.all(Cn),pe}return rn(Cn)}return(Jt.options.unknownHandler||Ml)(Jt,Cn,ci)}function $n(Cn){const ci=[];if("children"in Cn){const si=Cn.children;let Yn=-1;for(;++Yn0&&Re.push({type:"text",value:` -`}),Re}function Za(he){let Me=0,Re=he.charCodeAt(Me);for(;Re===9||Re===32;)Me++,Re=he.charCodeAt(Me);return he.slice(Me)}function os(he,Me){const Re=Ya(he,Me),He=Re.one(he,void 0),dt=ai(Re),vt=Array.isArray(He)?{type:"root",children:He}:He||{type:"root",children:[]};return dt&&("children"in vt,vt.children.push({type:"text",value:` -`},dt)),vt}function Ss(he,Me){return he&&"run"in he?function(Re,He){return C1(this,null,function*(){const dt=os(Re,Ys({file:He},Me));yield he.run(dt,He)})}:function(Re,He){return os(Re,Ys({file:He},he||Me))}}function Vs(he){if(he)throw he}var dl=oe(58847);function xa(he){if(typeof he!="object"||he===null)return!1;const Me=Object.getPrototypeOf(he);return(Me===null||Me===Object.prototype||Object.getPrototypeOf(Me)===null)&&!(Symbol.toStringTag in he)&&!(Symbol.iterator in he)}function ws(){const he=[],Me={run:Re,use:He};return Me;function Re(...dt){let vt=-1;const At=dt.pop();if(typeof At!="function")throw new TypeError("Expected function as last argument, not "+At);Jt(null,...dt);function Jt(Tn,...$n){const Cn=he[++vt];let ci=-1;if(Tn){At(Tn);return}for(;++ciAt.length;let Tn;Jt&&At.push(dt);try{Tn=he.apply(this,At)}catch($n){const Cn=$n;if(Jt&&Re)throw Cn;return dt(Cn)}Jt||(Tn&&Tn.then&&typeof Tn.then=="function"?Tn.then(vt,dt):Tn instanceof Error?dt(Tn):vt(Tn))}function dt(At,...Jt){Re||(Re=!0,Me(At,...Jt))}function vt(At){dt(null,At)}}const hl={basename:Qu,dirname:Iu,extname:lc,join:uc,sep:"/"};function Qu(he,Me){if(Me!==void 0&&typeof Me!="string")throw new TypeError('"ext" argument must be a string');bl(he);let Re=0,He=-1,dt=he.length,vt;if(Me===void 0||Me.length===0||Me.length>he.length){for(;dt--;)if(he.codePointAt(dt)===47){if(vt){Re=dt+1;break}}else He<0&&(vt=!0,He=dt+1);return He<0?"":he.slice(Re,He)}if(Me===he)return"";let At=-1,Jt=Me.length-1;for(;dt--;)if(he.codePointAt(dt)===47){if(vt){Re=dt+1;break}}else At<0&&(vt=!0,At=dt+1),Jt>-1&&(he.codePointAt(dt)===Me.codePointAt(Jt--)?Jt<0&&(He=dt):(Jt=-1,He=At));return Re===He?He=At:He<0&&(He=he.length),he.slice(Re,He)}function Iu(he){if(bl(he),he.length===0)return".";let Me=-1,Re=he.length,He;for(;--Re;)if(he.codePointAt(Re)===47){if(He){Me=Re;break}}else He||(He=!0);return Me<0?he.codePointAt(0)===47?"/":".":Me===1&&he.codePointAt(0)===47?"//":he.slice(0,Me)}function lc(he){bl(he);let Me=he.length,Re=-1,He=0,dt=-1,vt=0,At;for(;Me--;){const Jt=he.codePointAt(Me);if(Jt===47){if(At){He=Me+1;break}continue}Re<0&&(At=!0,Re=Me+1),Jt===46?dt<0?dt=Me:vt!==1&&(vt=1):dt>-1&&(vt=-1)}return dt<0||Re<0||vt===0||vt===1&&dt===Re-1&&dt===He+1?"":he.slice(dt,Re)}function uc(...he){let Me=-1,Re;for(;++Me0&&he.codePointAt(he.length-1)===47&&(Re+="/"),Me?"/"+Re:Re}function qa(he,Me){let Re="",He=0,dt=-1,vt=0,At=-1,Jt,Tn;for(;++At<=he.length;){if(At2){if(Tn=Re.lastIndexOf("/"),Tn!==Re.length-1){Tn<0?(Re="",He=0):(Re=Re.slice(0,Tn),He=Re.length-1-Re.lastIndexOf("/")),dt=At,vt=0;continue}}else if(Re.length>0){Re="",He=0,dt=At,vt=0;continue}}Me&&(Re=Re.length>0?Re+"/..":"..",He=2)}else Re.length>0?Re+="/"+he.slice(dt+1,At):Re=he.slice(dt+1,At),He=At-dt-1;dt=At,vt=0}else Jt===46&&vt>-1?vt++:vt=-1}return Re}function bl(he){if(typeof he!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(he))}const Ks={cwd:Es};function Es(){return"/"}function fu(he){return!!(he!==null&&typeof he=="object"&&"href"in he&&he.href&&"protocol"in he&&he.protocol&&he.auth===void 0)}function id(he){if(typeof he=="string")he=new URL(he);else if(!fu(he)){const Me=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+he+"`");throw Me.code="ERR_INVALID_ARG_TYPE",Me}if(he.protocol!=="file:"){const Me=new TypeError("The URL must be of scheme file");throw Me.code="ERR_INVALID_URL_SCHEME",Me}return cc(he)}function cc(he){if(he.hostname!==""){const He=new TypeError('File URL host must be "localhost" or empty on darwin');throw He.code="ERR_INVALID_FILE_URL_HOST",He}const Me=he.pathname;let Re=-1;for(;++Re0){let[Yn,...zr]=Cn;const ie=He[si][1];xa(ie)&&xa(Yn)&&(Yn=dl(!0,ie,Yn)),He[si]=[$n,Yn,...zr]}}}}const pu=new gl().freeze();function qu(he,Me){if(typeof Me!="function")throw new TypeError("Cannot `"+he+"` without `parser`")}function sh(he,Me){if(typeof Me!="function")throw new TypeError("Cannot `"+he+"` without `compiler`")}function pn(he,Me){if(Me)throw new Error("Cannot call `"+he+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function rd(he){if(!xa(he)||typeof he.type!="string")throw new TypeError("Expected node, got `"+he+"`")}function Lc(he,Me,Re){if(!Re)throw new Error("`"+he+"` finished async. Use `"+Me+"` instead")}function _d(he){return Gd(he)?he:new Mc(he)}function Gd(he){return!!(he&&typeof he=="object"&&"message"in he&&"messages"in he)}function kd(he){return typeof he=="string"||Lh(he)}function Lh(he){return!!(he&&typeof he=="object"&&"byteLength"in he&&"byteOffset"in he)}const cf="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Gl=[],Hd={allowDangerousHtml:!0},Th=/^(https?|ircs?|mailto|xmpp)$/i,lh=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function rg(he){const Me=he.allowedElements,Re=he.allowElement,He=he.children||"",dt=he.className,vt=he.components,At=he.disallowedElements,Jt=he.rehypePlugins||Gl,Tn=he.remarkPlugins||Gl,$n=he.remarkRehypeOptions?Ys(Ys({},he.remarkRehypeOptions),Hd):Hd,Cn=he.skipHtml,ci=he.unwrapDisallowed,si=he.urlTransform||Og,Yn=pu().use(Ea).use(Tn).use(Ss,$n).use(Jt),zr=new Mc;typeof He=="string"?zr.value=He:(""+He,void 0),Me&&At&&void 0;for(const pe of lh)Object.hasOwn(he,pe.from)&&(""+pe.from+(pe.to?"use `"+pe.to+"` instead":"remove it")+cf+pe.id,void 0);const ie=Yn.parse(zr);let ae=Yn.runSync(ie,zr);return dt&&(ae={type:"element",tagName:"div",properties:{className:dt},children:ae.type==="root"?ae.children:[ae]}),mo(ae,fe),Yi(ae,{Fragment:ni.Fragment,components:vt,ignoreInvalidStyle:!0,jsx:ni.jsx,jsxs:ni.jsxs,passKeys:!0,passNode:!0});function fe(pe,ye,Be){if(pe.type==="raw"&&Be&&typeof ye=="number")return Cn?Be.children.splice(ye,1):Be.children[ye]={type:"text",value:pe.value},ye;if(pe.type==="element"){let Xe;for(Xe in Ln)if(Object.hasOwn(Ln,Xe)&&Object.hasOwn(pe.properties,Xe)){const qe=pe.properties[Xe],ot=Ln[Xe];(ot===null||ot.includes(pe.tagName))&&(pe.properties[Xe]=si(String(qe||""),Xe,pe))}}if(pe.type==="element"){let Xe=Me?!Me.includes(pe.tagName):At?At.includes(pe.tagName):!1;if(!Xe&&Re&&typeof ye=="number"&&(Xe=!Re(pe,ye,Be)),Xe&&Be&&typeof ye=="number")return ci&&pe.children?Be.children.splice(ye,1,...pe.children):Be.children.splice(ye,1),ye}}}function Og(he){const Me=he.indexOf(":"),Re=he.indexOf("?"),He=he.indexOf("#"),dt=he.indexOf("/");return Me===-1||dt!==-1&&Me>dt||Re!==-1&&Me>Re||He!==-1&&Me>He||Th.test(he.slice(0,Me))?he:""}var og=oe(19149),Wd=oe(26390),ku=oe(80962),Zd=oe(5891);function Ih(he,Me){var Re=Object.keys(he);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(he);Me&&(He=He.filter(function(dt){return Object.getOwnPropertyDescriptor(he,dt).enumerable})),Re.push.apply(Re,He)}return Re}function mu(he){for(var Me=1;Me=4)return[he[0],he[1],he[2],he[3],"".concat(he[0],".").concat(he[1]),"".concat(he[0],".").concat(he[2]),"".concat(he[0],".").concat(he[3]),"".concat(he[1],".").concat(he[0]),"".concat(he[1],".").concat(he[2]),"".concat(he[1],".").concat(he[3]),"".concat(he[2],".").concat(he[0]),"".concat(he[2],".").concat(he[1]),"".concat(he[2],".").concat(he[3]),"".concat(he[3],".").concat(he[0]),"".concat(he[3],".").concat(he[1]),"".concat(he[3],".").concat(he[2]),"".concat(he[0],".").concat(he[1],".").concat(he[2]),"".concat(he[0],".").concat(he[1],".").concat(he[3]),"".concat(he[0],".").concat(he[2],".").concat(he[1]),"".concat(he[0],".").concat(he[2],".").concat(he[3]),"".concat(he[0],".").concat(he[3],".").concat(he[1]),"".concat(he[0],".").concat(he[3],".").concat(he[2]),"".concat(he[1],".").concat(he[0],".").concat(he[2]),"".concat(he[1],".").concat(he[0],".").concat(he[3]),"".concat(he[1],".").concat(he[2],".").concat(he[0]),"".concat(he[1],".").concat(he[2],".").concat(he[3]),"".concat(he[1],".").concat(he[3],".").concat(he[0]),"".concat(he[1],".").concat(he[3],".").concat(he[2]),"".concat(he[2],".").concat(he[0],".").concat(he[1]),"".concat(he[2],".").concat(he[0],".").concat(he[3]),"".concat(he[2],".").concat(he[1],".").concat(he[0]),"".concat(he[2],".").concat(he[1],".").concat(he[3]),"".concat(he[2],".").concat(he[3],".").concat(he[0]),"".concat(he[2],".").concat(he[3],".").concat(he[1]),"".concat(he[3],".").concat(he[0],".").concat(he[1]),"".concat(he[3],".").concat(he[0],".").concat(he[2]),"".concat(he[3],".").concat(he[1],".").concat(he[0]),"".concat(he[3],".").concat(he[1],".").concat(he[2]),"".concat(he[3],".").concat(he[2],".").concat(he[0]),"".concat(he[3],".").concat(he[2],".").concat(he[1]),"".concat(he[0],".").concat(he[1],".").concat(he[2],".").concat(he[3]),"".concat(he[0],".").concat(he[1],".").concat(he[3],".").concat(he[2]),"".concat(he[0],".").concat(he[2],".").concat(he[1],".").concat(he[3]),"".concat(he[0],".").concat(he[2],".").concat(he[3],".").concat(he[1]),"".concat(he[0],".").concat(he[3],".").concat(he[1],".").concat(he[2]),"".concat(he[0],".").concat(he[3],".").concat(he[2],".").concat(he[1]),"".concat(he[1],".").concat(he[0],".").concat(he[2],".").concat(he[3]),"".concat(he[1],".").concat(he[0],".").concat(he[3],".").concat(he[2]),"".concat(he[1],".").concat(he[2],".").concat(he[0],".").concat(he[3]),"".concat(he[1],".").concat(he[2],".").concat(he[3],".").concat(he[0]),"".concat(he[1],".").concat(he[3],".").concat(he[0],".").concat(he[2]),"".concat(he[1],".").concat(he[3],".").concat(he[2],".").concat(he[0]),"".concat(he[2],".").concat(he[0],".").concat(he[1],".").concat(he[3]),"".concat(he[2],".").concat(he[0],".").concat(he[3],".").concat(he[1]),"".concat(he[2],".").concat(he[1],".").concat(he[0],".").concat(he[3]),"".concat(he[2],".").concat(he[1],".").concat(he[3],".").concat(he[0]),"".concat(he[2],".").concat(he[3],".").concat(he[0],".").concat(he[1]),"".concat(he[2],".").concat(he[3],".").concat(he[1],".").concat(he[0]),"".concat(he[3],".").concat(he[0],".").concat(he[1],".").concat(he[2]),"".concat(he[3],".").concat(he[0],".").concat(he[2],".").concat(he[1]),"".concat(he[3],".").concat(he[1],".").concat(he[0],".").concat(he[2]),"".concat(he[3],".").concat(he[1],".").concat(he[2],".").concat(he[0]),"".concat(he[3],".").concat(he[2],".").concat(he[0],".").concat(he[1]),"".concat(he[3],".").concat(he[2],".").concat(he[1],".").concat(he[0])]}var yd={};function Dd(he){if(he.length===0||he.length===1)return he;var Me=he.join(".");return yd[Me]||(yd[Me]=vd(he)),yd[Me]}function vu(he){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Re=arguments.length>2?arguments[2]:void 0,He=he.filter(function(vt){return vt!=="token"}),dt=Dd(He);return dt.reduce(function(vt,At){return mu(mu({},vt),Re[At])},Me)}function uh(he){return he.join(" ")}function kh(he,Me){var Re=0;return function(He){return Re+=1,He.map(function(dt,vt){return Du({node:dt,stylesheet:he,useInlineStyles:Me,key:"code-segment-".concat(Re,"-").concat(vt)})})}}function Du(he){var Me=he.node,Re=he.stylesheet,He=he.style,dt=He===void 0?{}:He,vt=he.useInlineStyles,At=he.key,Jt=Me.properties,Tn=Me.type,$n=Me.tagName,Cn=Me.value;if(Tn==="text")return Cn;if($n){var ci=kh(Re,vt),si;if(!vt)si=mu(mu({},Jt),{},{className:uh(Jt.className)});else{var Yn=Object.keys(Re).reduce(function(fe,pe){return pe.split(".").forEach(function(ye){fe.includes(ye)||fe.push(ye)}),fe},[]),zr=Jt.className&&Jt.className.includes("token")?["token"]:[],ie=Jt.className&&zr.concat(Jt.className.filter(function(fe){return!Yn.includes(fe)}));si=mu(mu({},Jt),{},{className:uh(ie)||void 0,style:vu(Jt.className,Object.assign({},Jt.style,dt),Re)})}var ae=ci(Me.children);return we.createElement($n,(0,Zd.Z)({key:At},si),ae)}}var Vd=function(he,Me){var Re=he.listLanguages();return Re.indexOf(Me)!==-1},Dh=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function ch(he,Me){var Re=Object.keys(he);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(he);Me&&(He=He.filter(function(dt){return Object.getOwnPropertyDescriptor(he,dt).enumerable})),Re.push.apply(Re,He)}return Re}function Ou(he){for(var Me=1;MeAt.length;let Tn;Jt&&At.push(dt);try{Tn=he.apply(this,At)}catch($n){const Cn=$n;if(Jt&&Re)throw Cn;return dt(Cn)}Jt||(Tn&&Tn.then&&typeof Tn.then=="function"?Tn.then(vt,dt):Tn instanceof Error?dt(Tn):vt(Tn))}function dt(At,...Jt){Re||(Re=!0,Me(At,...Jt))}function vt(At){dt(null,At)}}const hl={basename:Qu,dirname:Iu,extname:lc,join:uc,sep:"/"};function Qu(he,Me){if(Me!==void 0&&typeof Me!="string")throw new TypeError('"ext" argument must be a string');bl(he);let Re=0,He=-1,dt=he.length,vt;if(Me===void 0||Me.length===0||Me.length>he.length){for(;dt--;)if(he.codePointAt(dt)===47){if(vt){Re=dt+1;break}}else He<0&&(vt=!0,He=dt+1);return He<0?"":he.slice(Re,He)}if(Me===he)return"";let At=-1,Jt=Me.length-1;for(;dt--;)if(he.codePointAt(dt)===47){if(vt){Re=dt+1;break}}else At<0&&(vt=!0,At=dt+1),Jt>-1&&(he.codePointAt(dt)===Me.codePointAt(Jt--)?Jt<0&&(He=dt):(Jt=-1,He=At));return Re===He?He=At:He<0&&(He=he.length),he.slice(Re,He)}function Iu(he){if(bl(he),he.length===0)return".";let Me=-1,Re=he.length,He;for(;--Re;)if(he.codePointAt(Re)===47){if(He){Me=Re;break}}else He||(He=!0);return Me<0?he.codePointAt(0)===47?"/":".":Me===1&&he.codePointAt(0)===47?"//":he.slice(0,Me)}function lc(he){bl(he);let Me=he.length,Re=-1,He=0,dt=-1,vt=0,At;for(;Me--;){const Jt=he.codePointAt(Me);if(Jt===47){if(At){He=Me+1;break}continue}Re<0&&(At=!0,Re=Me+1),Jt===46?dt<0?dt=Me:vt!==1&&(vt=1):dt>-1&&(vt=-1)}return dt<0||Re<0||vt===0||vt===1&&dt===Re-1&&dt===He+1?"":he.slice(dt,Re)}function uc(...he){let Me=-1,Re;for(;++Me0&&he.codePointAt(he.length-1)===47&&(Re+="/"),Me?"/"+Re:Re}function qa(he,Me){let Re="",He=0,dt=-1,vt=0,At=-1,Jt,Tn;for(;++At<=he.length;){if(At2){if(Tn=Re.lastIndexOf("/"),Tn!==Re.length-1){Tn<0?(Re="",He=0):(Re=Re.slice(0,Tn),He=Re.length-1-Re.lastIndexOf("/")),dt=At,vt=0;continue}}else if(Re.length>0){Re="",He=0,dt=At,vt=0;continue}}Me&&(Re=Re.length>0?Re+"/..":"..",He=2)}else Re.length>0?Re+="/"+he.slice(dt+1,At):Re=he.slice(dt+1,At),He=At-dt-1;dt=At,vt=0}else Jt===46&&vt>-1?vt++:vt=-1}return Re}function bl(he){if(typeof he!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(he))}const Ks={cwd:Es};function Es(){return"/"}function fu(he){return!!(he!==null&&typeof he=="object"&&"href"in he&&he.href&&"protocol"in he&&he.protocol&&he.auth===void 0)}function id(he){if(typeof he=="string")he=new URL(he);else if(!fu(he)){const Me=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+he+"`");throw Me.code="ERR_INVALID_ARG_TYPE",Me}if(he.protocol!=="file:"){const Me=new TypeError("The URL must be of scheme file");throw Me.code="ERR_INVALID_URL_SCHEME",Me}return cc(he)}function cc(he){if(he.hostname!==""){const He=new TypeError('File URL host must be "localhost" or empty on darwin');throw He.code="ERR_INVALID_FILE_URL_HOST",He}const Me=he.pathname;let Re=-1;for(;++Re0){let[Yn,...Ur]=Cn;const ie=He[si][1];xa(ie)&&xa(Yn)&&(Yn=dl(!0,ie,Yn)),He[si]=[$n,Yn,...Ur]}}}}const pu=new gl().freeze();function qu(he,Me){if(typeof Me!="function")throw new TypeError("Cannot `"+he+"` without `parser`")}function sh(he,Me){if(typeof Me!="function")throw new TypeError("Cannot `"+he+"` without `compiler`")}function pn(he,Me){if(Me)throw new Error("Cannot call `"+he+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function rd(he){if(!xa(he)||typeof he.type!="string")throw new TypeError("Expected node, got `"+he+"`")}function Lc(he,Me,Re){if(!Re)throw new Error("`"+he+"` finished async. Use `"+Me+"` instead")}function _d(he){return Gd(he)?he:new Mc(he)}function Gd(he){return!!(he&&typeof he=="object"&&"message"in he&&"messages"in he)}function kd(he){return typeof he=="string"||Lh(he)}function Lh(he){return!!(he&&typeof he=="object"&&"byteLength"in he&&"byteOffset"in he)}const cf="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Gl=[],Hd={allowDangerousHtml:!0},Th=/^(https?|ircs?|mailto|xmpp)$/i,lh=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function rg(he){const Me=he.allowedElements,Re=he.allowElement,He=he.children||"",dt=he.className,vt=he.components,At=he.disallowedElements,Jt=he.rehypePlugins||Gl,Tn=he.remarkPlugins||Gl,$n=he.remarkRehypeOptions?Ys(Ys({},he.remarkRehypeOptions),Hd):Hd,Cn=he.skipHtml,ci=he.unwrapDisallowed,si=he.urlTransform||Og,Yn=pu().use(Ea).use(Tn).use(Ss,$n).use(Jt),Ur=new Mc;typeof He=="string"?Ur.value=He:(""+He,void 0),Me&&At&&void 0;for(const pe of lh)Object.hasOwn(he,pe.from)&&(""+pe.from+(pe.to?"use `"+pe.to+"` instead":"remove it")+cf+pe.id,void 0);const ie=Yn.parse(Ur);let ae=Yn.runSync(ie,Ur);return dt&&(ae={type:"element",tagName:"div",properties:{className:dt},children:ae.type==="root"?ae.children:[ae]}),mo(ae,fe),Yi(ae,{Fragment:ni.Fragment,components:vt,ignoreInvalidStyle:!0,jsx:ni.jsx,jsxs:ni.jsxs,passKeys:!0,passNode:!0});function fe(pe,ye,Be){if(pe.type==="raw"&&Be&&typeof ye=="number")return Cn?Be.children.splice(ye,1):Be.children[ye]={type:"text",value:pe.value},ye;if(pe.type==="element"){let Xe;for(Xe in Ln)if(Object.hasOwn(Ln,Xe)&&Object.hasOwn(pe.properties,Xe)){const qe=pe.properties[Xe],ot=Ln[Xe];(ot===null||ot.includes(pe.tagName))&&(pe.properties[Xe]=si(String(qe||""),Xe,pe))}}if(pe.type==="element"){let Xe=Me?!Me.includes(pe.tagName):At?At.includes(pe.tagName):!1;if(!Xe&&Re&&typeof ye=="number"&&(Xe=!Re(pe,ye,Be)),Xe&&Be&&typeof ye=="number")return ci&&pe.children?Be.children.splice(ye,1,...pe.children):Be.children.splice(ye,1),ye}}}function Og(he){const Me=he.indexOf(":"),Re=he.indexOf("?"),He=he.indexOf("#"),dt=he.indexOf("/");return Me===-1||dt!==-1&&Me>dt||Re!==-1&&Me>Re||He!==-1&&Me>He||Th.test(he.slice(0,Me))?he:""}var og=oe(19149),Wd=oe(26390),ku=oe(80962),Zd=oe(5891);function Ih(he,Me){var Re=Object.keys(he);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(he);Me&&(He=He.filter(function(dt){return Object.getOwnPropertyDescriptor(he,dt).enumerable})),Re.push.apply(Re,He)}return Re}function mu(he){for(var Me=1;Me=4)return[he[0],he[1],he[2],he[3],"".concat(he[0],".").concat(he[1]),"".concat(he[0],".").concat(he[2]),"".concat(he[0],".").concat(he[3]),"".concat(he[1],".").concat(he[0]),"".concat(he[1],".").concat(he[2]),"".concat(he[1],".").concat(he[3]),"".concat(he[2],".").concat(he[0]),"".concat(he[2],".").concat(he[1]),"".concat(he[2],".").concat(he[3]),"".concat(he[3],".").concat(he[0]),"".concat(he[3],".").concat(he[1]),"".concat(he[3],".").concat(he[2]),"".concat(he[0],".").concat(he[1],".").concat(he[2]),"".concat(he[0],".").concat(he[1],".").concat(he[3]),"".concat(he[0],".").concat(he[2],".").concat(he[1]),"".concat(he[0],".").concat(he[2],".").concat(he[3]),"".concat(he[0],".").concat(he[3],".").concat(he[1]),"".concat(he[0],".").concat(he[3],".").concat(he[2]),"".concat(he[1],".").concat(he[0],".").concat(he[2]),"".concat(he[1],".").concat(he[0],".").concat(he[3]),"".concat(he[1],".").concat(he[2],".").concat(he[0]),"".concat(he[1],".").concat(he[2],".").concat(he[3]),"".concat(he[1],".").concat(he[3],".").concat(he[0]),"".concat(he[1],".").concat(he[3],".").concat(he[2]),"".concat(he[2],".").concat(he[0],".").concat(he[1]),"".concat(he[2],".").concat(he[0],".").concat(he[3]),"".concat(he[2],".").concat(he[1],".").concat(he[0]),"".concat(he[2],".").concat(he[1],".").concat(he[3]),"".concat(he[2],".").concat(he[3],".").concat(he[0]),"".concat(he[2],".").concat(he[3],".").concat(he[1]),"".concat(he[3],".").concat(he[0],".").concat(he[1]),"".concat(he[3],".").concat(he[0],".").concat(he[2]),"".concat(he[3],".").concat(he[1],".").concat(he[0]),"".concat(he[3],".").concat(he[1],".").concat(he[2]),"".concat(he[3],".").concat(he[2],".").concat(he[0]),"".concat(he[3],".").concat(he[2],".").concat(he[1]),"".concat(he[0],".").concat(he[1],".").concat(he[2],".").concat(he[3]),"".concat(he[0],".").concat(he[1],".").concat(he[3],".").concat(he[2]),"".concat(he[0],".").concat(he[2],".").concat(he[1],".").concat(he[3]),"".concat(he[0],".").concat(he[2],".").concat(he[3],".").concat(he[1]),"".concat(he[0],".").concat(he[3],".").concat(he[1],".").concat(he[2]),"".concat(he[0],".").concat(he[3],".").concat(he[2],".").concat(he[1]),"".concat(he[1],".").concat(he[0],".").concat(he[2],".").concat(he[3]),"".concat(he[1],".").concat(he[0],".").concat(he[3],".").concat(he[2]),"".concat(he[1],".").concat(he[2],".").concat(he[0],".").concat(he[3]),"".concat(he[1],".").concat(he[2],".").concat(he[3],".").concat(he[0]),"".concat(he[1],".").concat(he[3],".").concat(he[0],".").concat(he[2]),"".concat(he[1],".").concat(he[3],".").concat(he[2],".").concat(he[0]),"".concat(he[2],".").concat(he[0],".").concat(he[1],".").concat(he[3]),"".concat(he[2],".").concat(he[0],".").concat(he[3],".").concat(he[1]),"".concat(he[2],".").concat(he[1],".").concat(he[0],".").concat(he[3]),"".concat(he[2],".").concat(he[1],".").concat(he[3],".").concat(he[0]),"".concat(he[2],".").concat(he[3],".").concat(he[0],".").concat(he[1]),"".concat(he[2],".").concat(he[3],".").concat(he[1],".").concat(he[0]),"".concat(he[3],".").concat(he[0],".").concat(he[1],".").concat(he[2]),"".concat(he[3],".").concat(he[0],".").concat(he[2],".").concat(he[1]),"".concat(he[3],".").concat(he[1],".").concat(he[0],".").concat(he[2]),"".concat(he[3],".").concat(he[1],".").concat(he[2],".").concat(he[0]),"".concat(he[3],".").concat(he[2],".").concat(he[0],".").concat(he[1]),"".concat(he[3],".").concat(he[2],".").concat(he[1],".").concat(he[0])]}var yd={};function Dd(he){if(he.length===0||he.length===1)return he;var Me=he.join(".");return yd[Me]||(yd[Me]=vd(he)),yd[Me]}function vu(he){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Re=arguments.length>2?arguments[2]:void 0,He=he.filter(function(vt){return vt!=="token"}),dt=Dd(He);return dt.reduce(function(vt,At){return mu(mu({},vt),Re[At])},Me)}function uh(he){return he.join(" ")}function kh(he,Me){var Re=0;return function(He){return Re+=1,He.map(function(dt,vt){return Du({node:dt,stylesheet:he,useInlineStyles:Me,key:"code-segment-".concat(Re,"-").concat(vt)})})}}function Du(he){var Me=he.node,Re=he.stylesheet,He=he.style,dt=He===void 0?{}:He,vt=he.useInlineStyles,At=he.key,Jt=Me.properties,Tn=Me.type,$n=Me.tagName,Cn=Me.value;if(Tn==="text")return Cn;if($n){var ci=kh(Re,vt),si;if(!vt)si=mu(mu({},Jt),{},{className:uh(Jt.className)});else{var Yn=Object.keys(Re).reduce(function(fe,pe){return pe.split(".").forEach(function(ye){fe.includes(ye)||fe.push(ye)}),fe},[]),Ur=Jt.className&&Jt.className.includes("token")?["token"]:[],ie=Jt.className&&Ur.concat(Jt.className.filter(function(fe){return!Yn.includes(fe)}));si=mu(mu({},Jt),{},{className:uh(ie)||void 0,style:vu(Jt.className,Object.assign({},Jt.style,dt),Re)})}var ae=ci(Me.children);return we.createElement($n,(0,Zd.Z)({key:At},si),ae)}}var Vd=function(he,Me){var Re=he.listLanguages();return Re.indexOf(Me)!==-1},Dh=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function ch(he,Me){var Re=Object.keys(he);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(he);Me&&(He=He.filter(function(dt){return Object.getOwnPropertyDescriptor(he,dt).enumerable})),Re.push.apply(Re,He)}return Re}function Ou(he){for(var Me=1;Me1&&arguments[1]!==void 0?arguments[1]:[],Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],He=0;He2&&arguments[2]!==void 0?arguments[2]:[];return yu({children:Xe,lineNumber:qe,lineNumberStyle:Jt,largestLineNumber:At,showInlineLineNumbers:dt,lineProps:Re,className:ot,showLineNumbers:He,wrapLongLines:Tn,wrapLines:Me})}function ie(Xe,qe){if(He&&qe&&dt){var ot=ec(Jt,qe,At);Xe.unshift(Zl(qe,ot))}return Xe}function ae(Xe,qe){var ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Me||ot.length>0?zr(Xe,qe,ot):ie(Xe,qe)}for(var fe=function(){var qe=Cn[Yn],ot=qe.children[0].value,Tt=Oh(ot);if(Tt){var mn=ot.split(` +`),style:At,startingLineNumber:Jt}))}function Rs(he){return"".concat(he.toString().length,".25em")}function Zl(he,Me){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(he),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:Me},children:[{type:"text",value:he}]}}function ec(he,Me,Re){var He={display:"inline-block",minWidth:Rs(Re),paddingRight:"1em",textAlign:"right",userSelect:"none"},dt=typeof he=="function"?he(Me):he,vt=Ou(Ou({},He),dt);return vt}function yu(he){var Me=he.children,Re=he.lineNumber,He=he.lineNumberStyle,dt=he.largestLineNumber,vt=he.showInlineLineNumbers,At=he.lineProps,Jt=At===void 0?{}:At,Tn=he.className,$n=Tn===void 0?[]:Tn,Cn=he.showLineNumbers,ci=he.wrapLongLines,si=he.wrapLines,Yn=si===void 0?!1:si,Ur=Yn?Ou({},typeof Jt=="function"?Jt(Re):Jt):{};if(Ur.className=Ur.className?[].concat((0,Wd.Z)(Ur.className.trim().split(/\s+/)),(0,Wd.Z)($n)):$n,Re&&vt){var ie=ec(He,Re,dt);Me.unshift(Zl(Re,ie))}return ci&Cn&&(Ur.style=Ou({display:"flex"},Ur.style)),{type:"element",tagName:"span",properties:Ur,children:Me}}function dh(he){for(var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],He=0;He2&&arguments[2]!==void 0?arguments[2]:[];return yu({children:Xe,lineNumber:qe,lineNumberStyle:Jt,largestLineNumber:At,showInlineLineNumbers:dt,lineProps:Re,className:ot,showLineNumbers:He,wrapLongLines:Tn,wrapLines:Me})}function ie(Xe,qe){if(He&&qe&&dt){var ot=ec(Jt,qe,At);Xe.unshift(Zl(qe,ot))}return Xe}function ae(Xe,qe){var ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Me||ot.length>0?Ur(Xe,qe,ot):ie(Xe,qe)}for(var fe=function(){var qe=Cn[Yn],ot=qe.children[0].value,Tt=Oh(ot);if(Tt){var mn=ot.split(` `);mn.forEach(function(Rt,Qn){var _n=He&&ci.length+vt,pi={type:"text",value:"".concat(Rt,` -`)};if(Qn===0){var Ci=Cn.slice(si+1,Yn).concat(yu({children:[pi],className:qe.properties.className})),ki=ae(Ci,_n);ci.push(ki)}else if(Qn===mn.length-1){var ar=Cn[Yn+1]&&Cn[Yn+1].children&&Cn[Yn+1].children[0],Nr={type:"text",value:"".concat(Rt)};if(ar){var Er=yu({children:[Nr],className:qe.properties.className});Cn.splice(Yn+1,0,Er)}else{var $r=[Nr],Hn=ae($r,_n,qe.properties.className);ci.push(Hn)}}else{var Cr=[pi],$o=ae(Cr,_n,qe.properties.className);ci.push($o)}}),si=Yn}Yn++};Yn code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Bg=oe(11594),gh=oe.n(Bg),df=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],jg=Rg(gh(),Fg);jg.supportedLanguages=df;var hf=jg,ad={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}},zg=oe(56102),ag={wrp:"wrp___H70W8","file-list":"file-list___S5XYJ",ExtraEdit:"ExtraEdit___K6Xf2",btn:"btn___Yiu8q"},fh=oe(43604),xd=oe(58130),fl=oe(59301),sd=Object.defineProperty,Rh=Object.getOwnPropertySymbols,sg=Object.prototype.hasOwnProperty,gf=Object.prototype.propertyIsEnumerable,Ug=(he,Me,Re)=>Me in he?sd(he,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):he[Me]=Re,_g=(he,Me)=>{for(var Re in Me||(Me={}))sg.call(Me,Re)&&Ug(he,Re,Me[Re]);if(Rh)for(var Re of Rh(Me))gf.call(Me,Re)&&Ug(he,Re,Me[Re]);return he},Lp=(he,Me)=>{var Re={};for(var He in he)sg.call(he,He)&&Me.indexOf(He)<0&&(Re[He]=he[He]);if(he!=null&&Rh)for(var He of Rh(he))Me.indexOf(He)<0&&gf.call(he,He)&&(Re[He]=he[He]);return Re},zf=(he,Me,Re)=>new Promise((He,dt)=>{var vt=Tn=>{try{Jt(Re.next(Tn))}catch($n){dt($n)}},At=Tn=>{try{Jt(Re.throw(Tn))}catch($n){dt($n)}},Jt=Tn=>Tn.done?He(Tn.value):Promise.resolve(Tn.value).then(vt,At);Jt((Re=Re.apply(he,Me)).next())}),Gg=({onCallback:he,scrollBox:Me,Data:Re,extraEdit:He,showEditableBox:dt,onRedraw:vt,loading:At,showPreference:Jt,onPreference:Tn})=>{var $n,Cn;const{allowCopy:ci=!1,fileList:si,hideTextEffect:Yn=!1,text:zr=""}=Re,[ie,ae]=(0,we.useState)(""),[fe,pe]=(0,we.useState)(!0),ye=(0,we.useRef)(0),Be=(0,we.useRef)(!1);(0,we.useEffect)(()=>zr?(pe(!0),Yn?ae(zr):zf(void 0,null,function*(){for(let ot=0;otot+4?" __":"");ae(Tt),yield new Promise(mn=>setTimeout(mn,70))}pe(!1),he==null||he(Re)}),Me.current.addEventListener("wheel",Xe),()=>{var ot;ae(""),(ot=Me.current)==null||ot.removeEventListener("wheel",Xe)}):void 0,[]),(0,we.useEffect)(()=>{Me.current.scrollTo({top:Me.current.scrollHeight,behavior:"smooth"})},[]);const Xe=()=>{Be.current=!0};return fl.createElement("div",{className:`${ag.wrp} fadeIn animated`},Re.sender!=="AI"&&fl.createElement("p",{dangerouslySetInnerHTML:{__html:zr.replace(//g,">").replace(/\n/g,"
")}}),Re.sender==="AI"&&fl.createElement(rg,{components:{code(qe){var ot=qe,{node:Tt,inline:mn,className:Rt,children:Qn}=ot,_n=Lp(ot,["node","inline","className","children"]);const pi=/language-(\w+)/.exec(Rt||"");return Me.current.scrollHeight-ye.current>60&&!Be.current&&(Me.current.scrollTo({top:Me.current.scrollHeight,behavior:"smooth"}),ye.current=Me.current.scrollHeight),!mn&&pi?fl.createElement("div",{style:{position:"relative",minHeight:50}},fl.createElement(zg.CopyToClipboard,{text:String(Qn).replace(/\n$/,""),onCopy:()=>Ie.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},fl.createElement("button",{style:{position:"absolute",top:0,right:0,padding:"4px 8px",borderRadius:"0 0 0 5px",border:"none",backgroundColor:"#007bff",color:"#fff",cursor:"pointer",fontSize:"12px"}},"\u590D\u5236")),fl.createElement(hf,_g({style:ad,language:pi[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},_n),String(Qn||"").replace(/\n$/,""))):fl.createElement("code",_g({className:Rt},_n),Qn)}}},ie),si&&!fe&&fl.createElement(tt.Z,{className:`${ag["file-list"]} animated fadeIn`},fl.createElement(fh.Z,null,fl.createElement("img",{src:oe(90034)(`./${((Cn=($n=si==null?void 0:si.name)==null?void 0:$n.split("."))==null?void 0:Cn.pop())||"txt"}.png`),width:20,className:"mr10"})),fl.createElement(fh.Z,null,si==null?void 0:si.name,fl.createElement("br",null),(0,xd.RD)(si==null?void 0:si.size))),!fe&&fl.createElement("div",{className:ag.ExtraEdit},He==null?void 0:He(Re),ci&&fl.createElement(zg.CopyToClipboard,{text:String(ie).replace(/\n$/,""),onCopy:()=>Ie.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},fl.createElement(Je.Z,{title:"\u590D\u5236"},fl.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Jt&&fl.createElement(fl.Fragment,null,fl.createElement(Je.Z,{title:"\u559C\u6B22"},fl.createElement("i",{style:Re!=null&&Re.like?{color:"#FA8D30"}:{},onClick:()=>Tn("like",!(Re!=null&&Re.like)),className:"iconfot icon-yijiejue font15"})),fl.createElement(Je.Z,{title:"\u4E0D\u559C\u6B22"},fl.createElement("i",{style:Re!=null&&Re.boring?{color:"#e86d7c"}:{},onClick:()=>Tn("boring",!(Re!=null&&Re.boring)),className:"iconfot icon-weijiejuezhengchang font15"}))),dt&&!At&&fl.createElement(Je.Z,{title:"\u91CD\u65B0\u751F\u6210"},fl.createElement("i",{onClick:vt,className:"iconfot icon-gengxin-genghuan-tihuan"}))))},as={flex_box_center:"flex_box_center___GmElr",flex_space_between:"flex_space_between____pbWi",flex_box_vertical_center:"flex_box_vertical_center___COMWd",flex_box_center_end:"flex_box_center_end___lmAQf",flex_box_column:"flex_box_column___OJb7M","ai-wrp":"ai-wrp___AEGoS","loading-wanx":"loading-wanx___GtiUv","dot-flashing":"dot-flashing___xJNVn","dot-fade":"dot-fade___KWn1a","footer-container":"footer-container___HTy33",full:"full___dZLXo",lineFour:"lineFour___Lhbz5","input-container":"input-container___M88BT",fullIcon:"fullIcon___YWXTV","upload-btn":"upload-btn___fKRCG","send-btn":"send-btn___yOKG5","chat-container":"chat-container___pNTrU","chat-message":"chat-message___isXl8",title:"title___hXSVA",answerWrp:"answerWrp___COjAb",li:"li___PjMV3",img:"img___wZqEA",content:"content___OlYYG",user:"user___rbSU1",container:"container___hZAxN",item:"item___Z9j46",itemMask:"itemMask___pC6Cb",show:"show___WQ1Wl",mask:"mask___irVlm",disabledNumClass:"disabledNumClass___UIKcm",editable:"editable___CpDhE",text:"text___yWTCV",file:"file___fxAKb",action:"action___I2zGy"},Hg=oe(70635),Fh=oe(2119),pf=({positionX:he,src:Me,onClick:Re})=>{const He=(0,we.useRef)(null),[dt,vt]=(0,we.useState)(!1),[At,Jt]=(0,we.useState)({x:20,y:window.innerHeight*.62}),[Tn,$n]=(0,we.useState)({x:20,y:window.innerHeight*.62}),[Cn,ci]=(0,we.useState)({x:20,y:window.innerHeight*.62}),[si,Yn]=(0,we.useState)(!1);(0,we.useEffect)(()=>{const ae=()=>{Jt({x:20,y:window.innerHeight*.62})};return window.addEventListener("resize",ae),()=>{window.removeEventListener("resize",ae)}},[]),(0,we.useEffect)(()=>{const ae=pe=>{var ye;if(dt){const Be=pe.clientY-Cn.y;let Xe=Tn.y+Be;const qe=window.innerHeight-(((ye=He.current)==null?void 0:ye.offsetHeight)||0)-50,ot=50;Xeqe&&(Xe=qe),requestAnimationFrame(()=>{Jt({x:20,y:Xe})}),Yn(!0)}},fe=()=>{vt(!1)};return document.addEventListener("mousemove",ae),document.addEventListener("mouseup",fe),()=>{document.removeEventListener("mousemove",ae),document.removeEventListener("mouseup",fe)}},[dt,Cn,Tn]);const zr=ae=>{vt(!0),ci({x:ae.clientX,y:ae.clientY}),$n(At),Yn(!1)},ie=ae=>{vt(!1),!si&&Re&&Re(ae)};return we.createElement("div",{style:{position:"fixed",top:At.y,right:At.x,zIndex:100,cursor:dt?"grabbing":"grab"},onMouseDown:zr,onMouseUp:ie,ref:He},we.createElement("img",{src:Me||"/images/ai_teacher.png",width:60,draggable:"false"}))},lg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAAAXNSR0IArs4c6QAAA1FJREFUSEuVlctvVVUYxX/f7UNCkYdMHDA0caCJMcaQXB4VLX2IRJCgRtGg+EpMHJOIiQ8mxqF/AQOdmKJNqy0EJVrkWLWi8piYQIxNHAAhaINy4XxLzzl737t7uTV4Jvve7HPWXt/61re2vXJaHwi24ZgAORSrq1pVrKr+F48X++XGwv3wTi7x9uh6e89ePq2rcnrjhxEoXctDAnA8JIJ7JBMOQhwf3WDr7KVTasjpaTKKIAnTWEnJONmPv2NlZRVGdnC91e3Fk2pI9DTLDWUvYJ5I0qmiVDIg+3ij1e2Fn9XwAFxK6PyKKkmb+obfBaNS44J6YC7R5+L25oGQjfVb3fb8pIZ7xVjGJwfute1Vm27u2Tqupd0ruVT0KfQhG3vA6vbcjy0pwqkXSymjJJF5YHqDFLBEzq0p4/FNBfCJwLhdxwSwo2PCftnAwhqt77OJh6xuu39oafxfjalET1wRHBK1TiyZfVoAPztbSRE/7OSG1GILfJzYL5VicsDq9sz3bcBwXoUrFpu8fEHZBeE+d5YlA5RNbra67fqu1Txg4sO1tvXm/FC9NXJUayznt+YQGdlUAfz0t4nGhYpizhPGiV8X5kj0MSyXsyqpMDs8ZHV7qgCOPo7lL26t5tAs1mhEdnjY6vbkN4mPU8t1Am+3pHFJOUfcmMNZ7WIQce7ISAC+gXFrXFuRmTQzjPy7XSvZf+Es6lvFHbpGfmWec0uX0//5sE3ZE1nQOOSsxHwzwFo6opxewS3Blq9Nbrb3Bw9pL7BXYkWZIcYZOc8f3WIztvN4KzYNJkY3dHbF0JRu6+rmgmB6csD6Bw9pH+KdZnRWWTMv53dyHradX1fNC2Obu/ilzO54S8RKKPNgDcauv7oY621w3p0l0Q2IP2rG0HXnVYm/bcexinG8jtKxTaapOc44d8tY7c6XgnGJR1zM18SwGyOes0/ipD023Zq8jhZqm8A85y7VWGbOjBvDOHdizEoMeM6boYJjtn1aV71oTIfLsUNEYsaeFZc5cLGPuaJpVmNHfp37Jd6Kl4PVeN0e/Uof4WxzqOHhNk7s1uG2PvPFDPc8uJYt7hyU6G4LrhM9DTba/8mF9nc3faZ1+TXe+Ffr+wR/mhi90mD/7ON2+R9W5V2x0b6OvQAAAABJRU5ErkJggg==",Uf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAYAAAD6S912AAAAAXNSR0IArs4c6QAAA6VJREFUSEuVlVtoXGUUhdc6SbQmRFPb2pDLdCaN0D6oIFpSiAgqUkWhbxbEWiQ+iA8iFCWQUoo22mCxL4JUYkJBSalWEHshXqLRqSYiSkHQJp2ZtEKrpMVC0Gb+y9IzZ850TpwUHJiHc/k/1t5r7X2I6/zeaNPqunrsdcBWKzU58lTRY2DPb5xe7hiXezC8Ws0LjZg20gZHwABwACy4aIEHXzvHbK2zywLfTKnfSYMhzJZA5T8BD07tm2PP/wLu79QJS22JQSV1FTh1mWgcLfDqUmhJ4W4o2AP66of7Un7SAvdFZVbDouuAXHmgwD/jMzGDI2mtKDp95MmvnjvH1+MXBlP61FK95b7BQgmwCdh6MMcr4fvb2tSpG3Vc4k6+s04Z4/G1gdo9OPDiee59ZZ02SrjXEs3lki8UgYIHNofmeMIZIteZx2e5LnQYrwlLdHlqqFTyWx3qXiQmLNVhwW8d0GMhxj1zYLZIHAtNCu/FbTDADw681UIZT+0/mq/bWXF5qFPrHXHKQLct7VsINCEQGqx2PE6AI4eO5vhyKK4CFMRXU7hsoZZrbkYG1AJWu+48H/h4jhMJ4GC7Vi3Waf5amVXZC5g1ihTWct2JzxwvcCQJ7Naav4z+SIS4HBkXMGuJY9aXS64KezkFfeN5DieA/d1aoypgtRLHSKEt93Dp9Diw7/MYuDullywQeKLJQANRz5JhjoGOocs876BZI7RacIOl6MW+L2PgQMpbS9RVIDWmwpPZIjAi4vcPcvwkDv9DXbrDAu/+C387GwP7U3rMABTQUqQO1TIlVHg4z94QtGW9tjn5hx2DBUOM+jrMWIO7pnL8JtHDFzJaa7wuJiJTCTGzH+bZ+2jGjTngCUuWRtGB1pLPfneWo7HqSg5D4N/SxaUuRwaUSj7goSPRpIRzHUEtuRA0MD39Cy8lFG5v16r6Bs3X3C5k1gI/OfjnK6DEfgweOX2WJxPA8OLptL9ggdbqsssTkXXiF4baFVUQbZ44Pl7Bpp9z/D6pMKNNDhq3wi3/yRmZdcKThjht4G9OLtvSrnx/ZjbYDjA8CuxIq8dAJx3R7KD3DLjVory6ImOyE7mgd3O37rdeI5bIRKYEJxy01kB3uwBjczPBU9yRVhjOKSs2OaDvSIGjj7ep0d+EjYsOzbY+/IbgyuQsf4ycVHBnBrdfbcClM2c4n0ppJW7QuIXuccAww9X9awYHBUwezvPQ9T6ryz1rSatlRb3GTMBd/wBBRVUxXeSVgwAAAABJRU5ErkJggg==",Wg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAAAXNSR0IArs4c6QAABD9JREFUSEvNlG1MU2cUx/+3hVJKoZQCKTIGTBw6ZB1CNmg/MHkNoqAJe9fhDMvWkhZcjG4fMdnMkm2Ei4Diy8IyEUPUGCNDjSxx2XgHCxN0sooI0spLQ2lpe1vuXe5d1oFNVkj8sPPlSe4553fOc87/PgTWYIcPnwl2OJzfi8WiXJvN0cvjMaXV1eopX6mErwDWr9PVf5Wfr/xcpVIQIyMGpqXlxgWSVL/nK3eN8LpWtfrtkqiocNjtThw7drafJDVpzwVeUVH3Tmxs9HmlUkEMDT1g7t4d+6KmRvP1c4H/PZoTOwC6EcBRktSwp0/zGsvBg98Fut3BMn9/ysvncuESn4+PeTzMrSS7XALG6aTnGxs/WVr53QM4cuSkxG5frpdIxG+Fh4f4E2vaxr+omRmLy2KxXuLxHJrq6s/mWY8HodM13NyzR5mdmZlMUJQbLpfb57WfDbh16w7T0aH/hSTVmR54ZeXJbQkJ8v7y8iKYzVZYrXaYTGZYLEuIiAhFaGiQVyHWx8aIxYGQy8PA3pTNu3q1C1NTsyqSLP+N61yna3g3NzflfE5OCqan59HW1oPxBQoCaQgo0yxSN2+ASpXkKdDbex+d+kcQyCPgtlgRFQDs2pUOilpGZ+cIo9cbPiJJTRMH12obPigoSP1RqXwF16714J6DhzBVKnh+fqCdFIxtHcjbFodNm6IxMfEUV26PImpnDvgiIRj3Msx9Q4ilFpGevgXd3aPMwIChrLZWfdYL/s23FxG+twQZchGmKWCSAmwPHyPoziCKijJw/Xo/ZuMToEhJgJsBJpzgGpg81Yz9+7J9wyPL3kdYgB8cDEAzwMKkEcLuHhQXZ6C9vQ/mLUmIS3yR85ndwDLD4HH9D9i/N2s1vLKy7jWGIXbk56d9yY6FXYhBGAqZMpWbMZ9NvHIDb74cgc2JMRgfN6Gt7yGiSwpB8HkIIABT/++QmyahVCZx8MHBsaM0TV8kKirqW2ga8QUFaa+z8Lm5Ra6AkfFDQIQM9okpJMdIkZn5qmehXV2j6PvDiMDYF0CZFyCjbCguVsLlWkZXFwfvJwhi2GvmrMRYe/JkDgsLS4iMlEAmC/GSIitZo9GM4GAhoqPDQRAErFbHf8/8H/i6/yCwOv8/wfX6P5GYGAOhUICBgTFs3RoHgcCPnS2n65W27s5bW28jLy8VEkkQmpt/xu7dGRCJhDh9+ieUlRWsgrMj7e29/+xPdKIkKyu5dft2BfeerLTLl39FdnYKQkJEYAsVFr4BkSgATU03UVqa6wmlaRqzsxb2dszw8KN9tbXqc5xaDh06FS+Vih8cOJDHdzpdKx/LNeyV4SS4uLjEne3tffTMjDnp+HHtPc+Tq9XW1WzcuEGrULxEBAUJ1wBdHWKzOTA0ZGAMBmNjTY3601XvOduuTlevAfAhQRByVrfrMZqmTQBzTip9WltVVUWzuX8BL+8z38bSCP4AAAAASUVORK5CYII=",_f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIgAAACuCAYAAADtT0V5AAAAAXNSR0IArs4c6QAAIABJREFUeF7cfQecVcX59nPqLdt3YekdAUWjBhuxgKCAWBN7w/a3EGs01tgL9oi9x0Y1YIsFFRUUK9I7Ir0ty/a97bT58s7Muffs3QZZTfkuv+XcesrMM8/7vGXmKNiFx9lfsK5I4SEGDAXQiTHGf6UoCug5bf8dDzosHUoePv28ucP75/ZLne8vvb/dbbNf4voBbFOAWQjhholHKptbO4dWe/bsD1lXT8EiMFbcaGd+b/k9RLihPQr8yCcN3mjxfLJ/7v8yfZKNjpeFmMYnGDiHXTmf7CM2uqCGR/hfvn5FqVQZ9p04umWQtAqQMz9gkxjYmf9Cf2fA4h8lq72zGYiBQYEC2u7K8VrDS1v3nwZ7M+ff2uhr7fdtPb+2Xr8CZfLkY5WzWrqOVgFyxvtsKxjr1NROWhvxrYy/xu0nzVVzJqExQTVkkMYNnkVoWRfRGl80YrCs3/+vX7+qKNsmH6d0bhNATn/X9U1+ow7NpohsBthdE9G4wQWbEKsI0ZNtMbJNTMtdvtuAzbKYjQHT8J3/xet/80StRZJolUFOe9slFSopP1slZnVYNhRbGWKtiq6s37c2Yluj9CYQ3vCMGx1AKuL/j6//zZPaCJBT33LTkrMRFbXaw61a6awO2k03ZTdNxi9+/v8fXP/fT9bbxiCnTHOaB0gr/e8LTt9ENBKhv/Lvs3ffSKNkaZ7dhHOrX/9fuP5pp7QRICe/6bBdDXNkDyhqwUsHKdheD7y7Slgq/ztNit7WLFgzEuO3HYGIrmDuVgbLDexZfr9dFBjZV8GCbQzLdzYfR2krIRy/h4K4Dcxc1/SYau76u+cD+3dU8PUmhp2JwPllWfBT91JQFgO+3LhrXl62SW3q+qad2kaA/GGKzdKBsKwjNDbZDQNn+3cE/nKEhndXenhjMcugo5lIV6uBqCaOn2cCT47WkHKBqz/ykHQygTt/f3sUM9x/lI5JSzxMX+41G9gLHj+sA6U5WYHAwPETDlAeb+glvXqShh0x4MaZXtPs0gwCh/VW8ccDVdw1y8WSHdRMAgDtcxR0ygV/L6IDr/9exeIy4J7ZYhS01v6ttieA6ae3FSCT7eZFagskS4P3oREaehcrqEowJJ2mv3zXFx7CBsPDI7Rm97ZoO8P9XzVudALuZQcoOKqPiofnuPhuM0PHXAVj9lPwt/kedsbFLvuVAPcfrWPiYg9vLaf9CLPbMZehfzuVf/7aQq8B+xzYRcFNhzd/TvO2ehj3ZcNzevX3AiA3fBKkseBlZSiwWwHQJU98tk8HBaP2UPH3pR7WVzMQ+BZtp8GlYGCpgj++76JbgYI7j9Tw9nIPExaL4+6+yWxMwW+dabRNg/xhku0DupGJaAmhY/ZTceKeKlbvZKhMMIQ0YP/OKjbXMGyuzVDwi3M95IWA8cfq/LurdpJbKx6kWUb3U7F4O8M9s9xMnF3avAM7K7jpCBXztzLcN5sajaFvsYL7R2hYWc5w+2ce30e/dgoeGKFjwVaPd2D3QgXdC4AcUxzJ9RjGzfawcDtLm0AOkCM0fLne4/sKPi4apGLhNjqmm+4k+vy1k3UBkI/lCG8h0HvOvir+MFBtclBQ+7y5xMO1h2qYuMjF9GUe/rCXinP20/DIHAffbEo3UCuR69YiOcDbZ7cRIL+fYLNmI5tZRtU/HWrcW4ZqWLTNwz1fePAY0KcYePgYHa/Mc/GPlQ0bvHuhAMjUxS6mLqFOynw+5Qwdy3cw3P15pjNo5PQoBMaN0FARB27+xEXMEoAiYXjGbxScto+GNxa4nDH6E0BG6rxVHY9hay2wsZrx0bqqnOHnSjRiuAO7Krh5iIZnvnPx6c+SKSSnv3mGjkUcIF4DUfX6KRp21APXz2iOQTJ4KIkARRHx+sCuKk7dR8WLP7j4qYJB14AbDtdQbwF/+sCB4wE3DdFwcDcVCZvx9sx+TFns4f1VXoNIdCOR3EQg8u1z2giQE1+3WPMc1HSgKKQzXH2ohqe+cRGzxaUc3E3BzUN1PPqVgznrxRX6NpQA8vjxBgfI5EV0kfKhKJhyhiYBkumMbvkMtw3XETGAR750kXKAwghQHFH4lmz30N4qLJfh6n84yA8pePAYHe8s8/D6AhcsfUUNrXjw1UFdFdxypI6nv3Uwc03DHnnzLAmQLzxcOVhFTkic76AuCj+XpWWNe/BJagsOYt/AZZ4P66Pgyt/puHOmw5np8kM0HL2HittnuliyzePM+fIfNIR0cJb1Hz0KFRSEyRwxzFzj4dsNYig3lxnIBgydwTtjJI02yWWZfTXzMXDiq1aA81uJXEq8XHWohqF9GsKKXvk2M9h866uAx+c4ePwEA1MXCYCkHwyYeraOZWUMd88kEyNQdf0QDYf2bEzPZCqIUXbUk1kDDu+pYMFWhqmLPDw4WseE+S6mLaEGb0jRVwzWMOtnr0HHHtRNwS3DdExe6OK7jQ0Z5NHjdCzcynDvZy7+dqrOQUkPVZo+L8CA/nsXvGmjKinOv3+pgvY5mcvcu6OCUf00/H2Ji5oEcNGBKrbUAlMWuty8dclXcNcIHVtqGC5/x0mf/x3DNXQuUHDpdCnwdjd3wIB3z28jQE54xSL3wx/SDR2vLFXuA2BYXxX921OYPGMij+wjOvQLn67lHiviDD9sZHjiJIM3yOQFGXqm/U09RwLkUxr5wkPpVQyuK+osoC7JOBXXJoHKOAPnH9lB1w3RkbQZZq1lGHeMjjfmOZhOJiyQDIyawOSzTby3zMXLczMsRQD5y3Bhlpp6zN3k4d6Z1FmZ400+28CmGoYbP/A1CMPlh+oY0U/FeVMsVEuAXDdEwxG9mxfAweM99IWDo/up2L+LyrXS6RMc2DJ2+fTvDa7vbpOaJy2gminHaCoZ+t6FobaJ1BP+Zgnl1pRb1Uoy3Qf04B4Kbh5uoC7F8PQch1Mhf8jG7VGsCIAscDF5oZfWIPT7N8cYWLad4a5PnAaAMzUgP9SQsrM70vIIQEDPYgWPn2Tgg+Uunv/OzZgwKNivM3DXKAPPfuNixioCiED1Qd0FQIhZVmwXDOID/pLBGuZvYbj308w5qQrw1vkG5m9muOtTMaLp/K84TMPR/TSMmWShhgACIZI56wQ0XEkOMHawxvXGE1853BwJ1gXuHmUgbjNEDQVXvW1jfZVovzfPNfDlWg9Pf9205mk1NQEF713URgY5/sVU88m6VkQy/ZA6/+HjdegqsLyMYd/OKlaUeXjhWwc/U9AKDD2LVDx5soHttQzbAh4ONcK+XRQs3MJw5wxJrfKqh/ZRce3Q5kc4/XbSfAeT57uc+l8/ywCxxeJtDJZkZALZPp0UGBow9u82F6/+42ACyAgDT37l4BMCToAN37rA4Od0DwFBnk9+GJhwtokv1rh4zI9TMOCaIRqG76Hh7AkWapMNu8zXBB1yFdw72kBxFLhjhoOlEpD0Of3+yL4qf/+OkToeneVizjrh+U08x8QbPzr4+0IfwA3LJRoVdGUj5p+66R8Xt5FBjns+mYmDZIdmsg6Yffx+pSpuGKajY76CR75wMHuNi8N7a7jkdxq/QLqwKfMdlOYpuLEFOl9RxvD81wE6VxQM7aviuiN1vL/MxfpK3wSKMyDv4OwDdEyaJwBC7x3QTcGxAzV0L2rIqBsrGb782cUXPzWMaRzcQ8WtIw08+aWNT1Y13P9bFxJAPNwdAG2XAgXPnW7ivSUOXvhWjGjqoD8N0TCsn4azX7dQm8q00KBuKg7oJszuIT1UtMtVsK7C42zpP75d5+LgnhqiBvD4bAfjjjOwoZLh+W9dfj13jDLw8OcOvkyb7dY5owHLMob3Lw23zcQc+xyHfYMR1JxK9r9Ho+m8g3SMGKDyRnr9BwdvBrRFURS45WgDuSHgpvfsNPVmm4iWXg/dQ8Wfhxm48yMbP/oiUv6ga6HorIk/Opg8z+Xqn4CxM8ZQJYNnghEalhMEbTQB5LZRBp6YbeOTlQ0Z5O3/M7Fws4e7ZjjpaPaADgoeOcnEhLkOpnBQisf1w3UM6avh9FdS3Gz4j9P21zDmIMGApC3sgJUgRtNUhR975iqPM199CjhxHw0n76vhvAkWrhyi4+j+Ki6cZKG8fndaLvNduv73L2sjg4x+hgDStEhtXNEkRORfRuoY3EvDlmoP7y2hDhKQCn6fTA65qXWpTO4h+zLp+9MWUPyjcQNwgAw38MYPDlaW+ZFFsS9ipKuHGpg4VwCEvIZH/2Dite9tvDlfBNSahnzmOIf0VHHbMQbvPDcriGvqCn7Y4OLuj5y0Lhy1p4orhhh45DMbX6z2e1vBTSN0HN5Hwx9eTPFIrTg/4LLDdM4Oy7d5ePRzG9uleftNZwW3jjIwZ62HJ2dn9k9n1jEfeOmsEG5+z8JNRws2ueUfdrM1uo1zY40Z5sM/tpFBjnkqkc7FNI6cZiffhCgpiCg4aoCGdxY6OLSPhhtHGP8axAEc/2wKvtsYvOAj+6m4/mizxf1O+MHG5B899C8F/npKCK9952DqPCediyEN0rNE4X+frqCAngA4XechvVTcPtrEki0eNklR6DPMqIEqftzg4a4PRecQgK8dZmD4AA0XvJHCjjpxWrQfAtng3hpOeDYJl+IvjOHJ0010K1Iw4QcHby30OAjpcURfDdcdpePzVR6emEVCqWGH0rGePdOE4wJ92qt47DMbn65s6PUFi8h3JRfz4eVtBciTicZRn93o7iP2UHHTSBPPfmnji1WtRxj9Xd822sQ+XVQc93SyycghB8gIE0/PsrF4S8Mh3onyFseZmPC9jUlzXQzoqHCAfL7Kxdpyjzdu73YKuhYpnMrpcfM7FhZtzuyHA+RYE49/buPj5Q3P+92xISzY5OHO92UUEMDL55owNAVjXk01aJ07jzNwUE8Nxz6VTPMWaTJiz3UVmaYlszvhghA3l3f8I7NfMi/xgGk67xAdpx8g3Pez/5ZCIvPV3eiVzFc/ujLSNg0y6vF4ACC7F4mhkXVEXxU3HWPisZk2PlkuRm8mlN78/sb93sT+3TQc+2RCxDbEkEzbqWH9NVw/0sTt76UwV0Zm/RHXtQh48dwwJnxnY+IPDgZ0VPHYaTLc+U9dEEsxrK9gWLfT49u1Oz2sLWdI8dIXcU6H9FZxx3EhjP/MwsfLMiaDPnvv8jAW8I6knlNQksMw4aIIZq928cAM8Z5vUu87ycDenVWc+EwqHcdp6vrb5wKvXxjGD+tcLN3qoV8Hlf8REC6dKBHCGIYN0PjAmLfBxa3vEjpaip02xEzj5B4w4+o2AmTk+DhL14S2gtGmAjFD+mu4+RgTmyo9VMZ2nYx6t1eRF1Yw+nECiK8YMqJy2ACVA+TH9S521DXcb25YwRF7aBwgE753sCcB5PQQPl7qYNIPDsqkK91SVflgAsjxIYyfSQDJMAsRzruXh1AZo+Acw8TvHexRquKsg3U8/LGFz1eKBKEANPDoaSa6F6s49blkWoNRJw/uo3FTXBAB3+ZHMpFY+mlVjGFNuceB+NYC4Zd3yFPwxJkh/n0yh9dPs7B8ayDwl9U/u5KLmXFNGwEy4q8EkPT1Npz20uiEGgeuhvTTcPOxJrZWe/yid/XRsx3lOBQcMz6RFmFBi0yNfOMxJgddym64X0p2tc9T8ca3NiZ+52BAJxXjzwjh1a9tTP5BeB7Bx9D+GlZt97C1RmQVaG+D/xn5vfOEEJ75wsL6nQx7d1H5316dVYRlfuvnHR6e/sLGnSeY3As57+Uk7EAkn47xzDkh5IWBc19Kpcf6aQfqGDNY5+deEQMq6hniFsOIgTrm/OTi6S8sDsAgv5In9tfTQ+hTqnLgn/xbHTUJhsveyJiZ3eN30QIfXxttm4kZ8UgsUA+SPTEqu7sbq+Qh/VXcclwIf/1YUnUDRmy+BvWBU0zs313DMY8l4KUHcGb/w/bUcOPoEG57K4kf0iZGnA8JwJcuCOONbyxM+M7Fnh0VjD8rjFfm2JjyvS3MlBSRxCKTLw1j1TYXd75r8U4cvY+GQ/roOKRPw3A4mab5GzzMXefyP+rEE/fX8MdhJl6cbWPaj0T5fjcJN3rK2DDK6xiumJBKf0QApohp0GRSHGTipRG8M9/Gs1ygZqwHFS/dNNrE4L4a3vzBxstf2Th6oIY/jwph9ioHD3xoN6nTskPv2fUaZOo+/XNO2wBy9MPxdKi9iYKQrLmQjU3i0D01DpBXv7Lw9U9ZIrVRJDbzxrUjTezZWcWoRwkgkiEC3x9OADk2hFsJIGsbJtO6Fyt46cIIXv/awoRvHL6fx88O47WvLUz8tmHlEonDKWMjmP6jgxdmC8/h2TFhPlIr6xmWbfWwbLOLpVs8rNnBxLlIgHUrAp44J8w759znE7zcMCgJfvdPgN35+xDeW2DjqZlNqMnA9XQsUPD6xRG8Pc/Gs1/4AGHo1V7FrSeY6FasYs5PDu5+R8bgAdxynImhA3R8tdrB/e9b3LtpQPGtRLoJg59e30aAHPXgrtuFpijuyAEabjkhIxB31cT43xv5cDw9OoL7H76XhhuPC+HWaRmA/LanysPmNPqP3U/Hox+lMGOJi+IcYNLYCKfyWStcMXoBHv4/sLfGO+Gut1Oc3ukYfTuoqE8xbKtu3iTmmMBTY8LoXKTg9ukpfL/W48c5tJ+OlMX4PobtpSM3DIx5IYkdtRnz5Q/Zwhzgtz007qUc1k/DiL11PPWphXel5hhKgnS0CYq7/GOBjec+t3ksxf+9qQO3nxjCQX00zF3r4i/ThAfVXJSnqTjrpze2ESDD768P1KS2jNBsv5tOlhjk1hPD+GiRjcX/dA139XHGIQZ6tFMx8sF4WqQGwwLDB2q46fgQbv17Et/9LJjpluNDGDZQRCdJ7/zfS3HUJoSwveAIA6P3NVCU1R7ltR6++cnlHZMNh5ZyGYf313DbSSZe/crGJMlKVAfzzjVR6JrCYxvLNnuYscTBJ0uarrck8Ey/Kpp2tdfu8HDT1CSqYqKVfttL5Qz0+McWPiNXO6uH6bp0VcENx5ncbb59Ol1DZqJZo4lcWZPtqb8+uzm3bSZm2H0ZgDQKvGTPm2qC0roWKzikr4Yf17pc7DV8NC+rqAM65CuYNlcmxOiHga93L1H4yJmzysX2GrHfToUquhQpSFjAiq0i8JU9+ZLEXvBBBT7+o3FNccOi5ezr36eriiX/DLmnW1gBiqIKIiGgJs4QaxgSaWJsKOhcBGiKgqQNlNf59bIZL6gkT0GF76U1YzLo7bwI+GDYHbeXTuizW9oKkHvrd9312FV6yHTJbhrNpkgyqHp39wR+6f392sf/pc+X4fNb89rIIPdkANLYhLSM2KYCMy2t79Fo/61NX8+a+NFcbqi5wFxr83Syu/v/x+v//LY2MsiRd9U1W9Xe2voOTU2kCjb6bvZ/i9nXtDrLeJmNna5Wli9p7XwaA6rlAfK/cP2z7mwjgwy5o7bZSGprUykbF8nuHgU3ni2fNdt/93bX6NttPf+2/r610/93XP/su/LbZmKG3EZxabmPRgNm95ZfaNwgrYiq1oZ0ox22JtKyPt/d69nd7zea+5Z9wv/56599dxsZ5Ihb6zILyLQWeGlFQ7U6mbmNv28NHm3tr91fPqKhU/Hfd/3Kti/vy2vbAjKH/6VuksLEElS7S3mtfb/1z7Od1MZuawNN00KFmPCSWzZRrfkIrZ1vI1GbtaRWawBp/Pmve/2KokyefV9e25agGnpHvKtrOYvAUNx4tnimwCYrTCHaqjUTkfV563GW1hZ0aeXzrB5sBIjsVRtbQcwvfb6/9P4a5WIajqZKzTT2nXVXtMWVDlsUKP7+ht4Q7+rCfgiqMpR5rFMT5RlN4qEJVdhyrqD1Idzi7xsFuhoF8rLXn2gUmswesg0vIcuG7fZyEW28vsbT+VucptTYIiq8cGMbFGWWFtJuaA0c/qBvTUz/V37OMvMn/fMLgt1/zrfzpMqOLBfQNk2x1XUoF7xQ+xfHwa3ChLaMD1PDPU+dm39vYi8RlR+USXv4wcRgULFBgFFRlF8x4PjrddEuMcivd/jd23MLoKDrSIMhCAQCAf2VaeJzQ4WiV4jnmnzv8lfrbk7a7OaW3NaQro4b/6e8cTbVA1HxjgvmOOLPkmkcAk4WaJoCDlXV/c+A5b8eIFmgaMAMBApiBwIEsUIQDD4QCATVGhRdhaLRXx0UHxj18j3q8Btfrbs+nvRuaGCmpUXKjagPjj877yHXBXPzwFwPzPHACuk1AaUEjICTDZoAYLKBkgbIfztY/msB0gIwmgRFpQGVmKHOhOqDwYxDJRAYOlRNgaImoCRUKCo9l9ukKthETUK5fXLdn2ri3p8yIGHIz9H+ev+5eY96HpjHwCK0jYC5DMx24OV6YFYUng+aPAseAabYhhdkmCywNGKW/1ag/FcBZHdAURGCSiwRqoZKDBHSoRIgEjpUQ4OaSkElIOgaVMuCSlvSaJYCRbOhKhIg9JoDRG7vmlh/xc4a5wp6ryRfffLes/KfJGAwD8w14Jli+RLmuPBMEx5t6fNQCJ7twos48AgwKQceMUyqEB6xS0lKAIbM0f8SWP4rALIrwIhGoZIJIabwQRFNQEsYUIkhjCRU24BmaVD1FFRNg+o60GjrqFBVG6qrCpCoLlRH4QX25GjzLQHCkeWq90+ru5he33p63vN8ZTUGpjMwT+MVBEzz4HkGPN2D57rwNB0ubZ0QPNOFZ9hw7TA8YpiIDS8egeuDxWeWeBze/wJQ/uMACYAjqC/SZoSAQWwRqYJK5sNnipQJzQeFY0MzdGg+IGjradBUFarn8Xqc9NZ1odL7BAxXggRiNkaDtuDLKukCHJooumSeB0/TOGN4qliNQWw9eKoL1wcKbW0Hrm7A9cESsuD6zEJmKFEEj1ilNaD8p03PfwwguwsMYgsrBI3Mh21B81zoPihcHRrzoOuq2BIoNBUabZkKTfWgecQitFW46SHA0MxpwSIKlEAlH5cgmmQOuf4WU1UJDCpLVeGqxCIqXMWDSyBx5VZR4TgeXNpqjgANgUXV4BgmXDJDZgouscr/AlD+7QBpwpxwF9X3RoKMkQhDM2NQCRghC5prQie24CAwoNPW8KAzDTpj4jUBgp5r9FoAhpgkCBaVKSAHV1E8qHyBJ8Ee2W3B2UMloKjgk10UmqarwvNB4QkgcJC4ChyF/iQ4+HMXjq3CIbCottgSq2gWnJQJl4Bi5cCLJOG2wij/Ma/n3wqQ5lhj+XKovsaorYVGpsRnDM+B7pnQQ7QlALjQmU7kD4OAQFtoWa8JHBp0YgwyFAQURbIJPF7hpxKTKEyYGgKHl2ViVDH7iZsWpsBTae04WsBIAoLJLRQ4nElcMlT8zyZw0BbivfRrxYGjaHBUFU5Kh6NacFQdTpBR8vPhkpgl07PXXrwcl5+H9Kz49t9pdv4tAGmJNQrWQA2HoZL4TNRBaw4Y8EAzwA2bAKHDUGgL0BQmk4NEvPYB44OHXuuua+ubtm4p2FS+o6B8587CDdu3dtpauaO0Op4oiCdj+XHbiliOa7rM06kHVFV1NN20wkYokRsK1ebn5tV0LC7e0bNjl22d2pVUdysprenVuUuNphk+KDh7wIXNgQEJEAU0pYvmTdqM3ndgG+JzGyrs5oASyYNLYjaZhFfTF54MvvlA+beyya8OkNZYgwRobi20RAialYQWdaCTKSGNwajTPRiOIkDgg0FRYHoEDIDWTyJg8M8ZYDIV+o7y8ryNWzYUL12xoueaDet6VlVWt6+JxQtqrES+BUVzFLIX4DaBBqejgM//5dlUSSlELHyiQroahnF7pCnMzQlHagtyojWl+cXle3bvuX7/PQes79mtW2XHkvZ1isd3Z0mg0AJvBAhLBSzGxPscNApsnV6rnGFs0ihkeuLEKGG4kRTc+ny4vpD9T7HJrwqQLHCktUY2a+RZ0MkrgQuDTEoaDIDhCBCYngJa6aTxc1e8t3nrhqIv58wZsGLVin7by3d021lf084lb1fRQIvNC4GgIKUBNj8TshsCBHwyBnd41YbJGD7pVA5cYWzEazl7Q/UYFNeh+TVuu5y8nd3bd9w0sG//1SMPP3Rl947daNEIS9VAIOF/KgOtMdTgue4zjAQNmRxosMnrqTPh7Aqb/Jom51cDSFPg8LVGkDVcC7qvMxSXUiUwFQbTsWGqEhQEDnruuQgpCkIMYltTW5Mz67MZey5YMG/vtRvWDYil7DxoBu9oAgGjDtcg3AxF5YAgXrd1Upoa72+PviP8GTljjv8QoHRJenU2+iItcOeBz+LiJO9BofApc/lXdVflokhxHOSFQnV9evRYOXjf/ZaOHHrUioL8vBhjSCkALfiWUjWkPNpKwNBz3QAtSEvr7llMg+3rE41A0jKb/Kq65BcHSFN6Yx6gUr6EhGhtBJqvNZwIdGINMiPEAjYTbOASIByECBiaijABgykIEyjgIbxi6YLOMz/5eNCS5Qv2q6muLYWmwyN3Q5FblbaSOTQFnkZ+KbU6sYbKw560mAu/l5bK0SGlajDBLZvGZ400OAggrgCM50GhP4q7k7vkkRliMMi/JvfIc9C+oGDHvgMGLjzmyGHz9tl7v61QkeRgYUgSUFwPSQKKpyOlScAYimAZMj/EJnoCDrnFxCb5CbiB2Em2iP3FBewvCpDmwOGbFPJQyHUl1iCtEQvD0BIwYcJQbYQ4MIAQ8xD2FISZirDqIUzgIGDM/e6rXp/OeP93P/+0au94KpnLW4cGPHW6BAWlaF1iBzIfxBYGGXcyI8QgGixdg6cZ3Oxw1uALyASf+76LBA2nGckaBAz+WoBDrE3lCpDQnyNBQv6243FmIQ+ZfOwc3agf0HePpaNHjvzmdwcdto6AQiDxaCtAklRUJD0IoHgGUrBguxFYOUnYpE04myThkqcTELC/Kkh+MYA0IUZVim0EwWFFofsmRSW2UGDaAK0EReaDA0JTEPY8hKEiQkCBgsj8777t+ck704fIJsmOAAAgAElEQVT8tGrZbyzPC7nkc/LBTuaBGEKDp+hgkimg6vx9h15rvmkhoOhcDTKNrxLH8/1p00L7IqAQYDhpB7QHHYybGGIOCRgCB3/tSAAxgEK4tBij58B0GffLGXM4kIhdDKbA1JTUgD36Lj7p+JNnH3jQwevBkCBgwENCVZF0CSgEGA1JF0gZUtx6CizSJwQSMw4nCyR0sv681l/U5PwiAGkJHDU50MhLsSzoQZNik/kAQq6DEIGCMUQ4U4hthLab167pMOW1l49asWTRAY7thD2KVKkKXO6FUGiUAELmg0Cgg6kaNyEKAUFX4HLgqLA14mmdg8Ul8HBgkCClrW9W/PvZBKu0gs0jxSmZGv/PlQAhsHBTQ1sXqkuuFzGIB80lhnGhuR5Ues0UziqGqSX2HbD3vDFnnz+zZ+++ZVCQUBgScptUFCQILJrOb4WTMhhSQZNjmnDIyymIwQ24wr84SNoMkF0FB4vCYC6MFIOpWQi5qgAGMQc0zhYRhSHKiDlcL+fNV14cPOfzGcNraura+Sv2kNlwNbHENz3nHSxNCukMqAb5oTy+bXNTQsEGTbzWNDi+J0LgCIcRDYeQEzKQnxdBXjSKnGgImq5BUVReoO25DPFECjV1MVTVxxBLukglU0AyKUDCGYyAYwO0PLZD4HC4uYHDeD7A4OBwuTZh3Hcns0O/cWEwFYV5uTuHHnnUZ2PGXPitoqkxxUOCKYgrKhJwkeBMQnpF5+bHCimwFA22Eof97wDJLwUQfz9psxJkDgJHgoCREJ6JJ4QnBwY8zhZRqIgSQJYtmNf976+8cNy6n1fvzX0FGtjEFNRpulh6icBBTEE5e2INAgA3M6oGUECB/E5iDUNHiow6rfdg6OhaWoCBe3TDwQN6YECv7uhaUoj2+TkozstBWNdhUOpX5v05ZzNav5TuYuWgvK4eFXUJbK+qw5oN2/D1yvVYuno9Nm2vAktaHJjcPBGDOA4HiMochFzGs4hkduhiSI8ojMSsAAufK+Ay9O3TZ+m5Yy56f//9B20kgMBDHLQNAEX1kCSPh3RJhICyCyBpqwvcJoBksUcDcDgx6BTf8DwYJEb1JEKOypdMDRNbcGBoiBI4XAZaByln6gvPHDrr4/dHJ5KJPK4yZNTKo2pzjXSFytOr5K5y70PqCQIDFB2uThky0iIKYjTsXKCkXS6G7D8Aww/eByMO3Bud2xUhZLa8fOauFEI6rostFdX4buU6fPHjCnz+4wr8tG6rWDpIV7g5gesizNmDzI/L31P5lueGubfDK9nJ+yEbGw7XjRg1+sPzLxr79T9vahHTCCD05wqgEKs4DEndQ8oJI0XilXQ4xUv0HDhNmJs265F/GSDZcQ5yZUmQ+szhErt6MBKASbENnzV0FRGHACFBQcxRXlZW8upj95+wdMH8Q4Sf5rufYtEV8kBIWNIrRuxAo5zTuxCcxBwejWA9xIERty3069MZpx1zGE4cdhD27NmNF4bs6oMMedP3gvL34Ee7M823dWcVPvxmASZ+8A3mLFgFJ5UCLfFskjh1bJE+5l4P6RLyeoSYJU9HYS43RzwdxMD23Xf/78Zec+N7HTu0ryAmIbAQq+gK4g6JWQ1JziaAFaEAnJRZWZqkgXfzrzLJvwSQ1sBBgpQ8lCA4OGuowpwoDDkeQEu55Cz45qveE58ff/rOsrLulBXjjSTv9ctdWGIP7oaSECWgkFmhsjB6zxSei0aG2kW97aBXrw648NSROH30UHQubZ/GBHVpyxfrB8DE5KoGUEiH3zNZMxGKp5EvPvT3HUumMGfBSjz/5gx89OUCJOMWIqbOU80CIDZ07i1TKtkRbMLjJv4yWiKkX1pauvGisVdNPfCQQ9cSQFQBkhhnFE+wSRAkFMZvQpO0GSS7DZCmIqRr1kCjhFssBp3A4WsOMivEHFyASnMSAEfu5++/tfe0V184vb62tpjHrCjsyeMaokhDRLpVARLyVshlJZlB+oPYQzU4m9SlkujQsQRnnHI0zjxhOPp077qrZMG/JwvVRYiDdzxFWDM51PSyLk20FmlUogFiHI2JxWDoYTsOPvtuMZ6e+CE+mPUDdE/j98hjPGxMZoVYhLQJS2sSvitpbqghcvNyK88576KpI487aSkD6oMgYa4QsgQSMjdBTZKTA6e5OMnuMsm/ChAZXYJC4fP8fGgUBCOzsgvgyGVA7juvvDj442kT/5CwU1QHzMFBZRr8OXkk/kqEnoiEkl2n8Dj1AlM0qJoOy2OIWUkcf8yhuPGa89G/Ty8BjFboIriyKC1exfP5cmqpqyhwJYP46dP0Mrp8phSvEBEH4Uk+XtHKYUWLF1HGUIdCp0twh2XbmPzhbIx7YjJ+WrMZeTkRUdHECCDkJpMbTNef0SN0NvQeufJhw0yc8PtT3zrjwou/VQRI6n0maQ4kpM8pTlJbCzcryUfLiWXocReG0W4BJFuU+rmVeBw6BcGYA0P1YNophFwNYbiCOciUSObg4Hjz2fFDPn1v+kmO4xh+JY5gD2piFwr3RkiQUh9I00KSn4Jh1D+ajmQyhZyCKK6+4mxccPZJCIdaubuQX1DBizoocSdwJFQB414qZw3K1VPMK80s1HXyu7xtxQxaH4Uehew5WKiTFZ5apiX7SDERWEKKytPOG7Zswx0Pv4op785CSKdlu0WizzctXMimk4HC7HATRg6YptrHnnjy2+eOvfLLIEi4NiEBqyGhuUgaIaQ8FZaiw6ZgWjQKJ1BX4l/GboXjdxkgTemOkvXQKLdix0A5SIOiozZJMxthJlzYqAvkqACFxTk4XvvruBFzPvlgtOsy3SMwUANzRUgNT08owknVPEIm8mQa2XiZYCMPpj4Rx2/264txd/0Jg/bbR5CGXIi/0aAgaSG0H2cKfo8oSvUTCOS8F+pgntyTgKE8DQXleOcrAiz0I49DiY/vdAka/YbfF5RKAYQDA0NReGNQkQplFikDSX48VUW/OOkfuOnul/iEmqipcu9GmBuxSB2/iTUHi1yxmQJsJHBVwxk+avQHl15346c+SDygXgNiUBFXXCQcA0kDSFHUFTpsIwcO5W4qesIdJMaCj+xdBsnuAoSblqDHQu6s4vABYWoKQq4PDuG+cnAwhYMjb+rz44+Y+dabf3A9ly8lx9fjkyOXXFkCCAcJd2OF8iNzwsGjUwaL7iqZwvHHHoY7br8GHTuUynXfaRJ5034HAYebEckalKDjnax4sDlz0HMBAv4n2YOAQUCgCiACVbBah3tT/KyE9uCrq1o0OsRrUuh0OgQW3igEFgUIKypyAUx9+1PcfNezqNxZgxy6pbYr4iJEmbyBpWD1eAJQTMghlOuq6h578inTx4y9ipikTmGo5yCR4pVAohk8sJZyqbkoXtjQ/U2DZFdNzS4BpCnTQrrDF6XksaQIHNKsEHOo4J4KgSNPVZD31qvPD/5g6uunu44t7g1CtkIMTEHzqgqdawFNeigyBU/dQEkKEnQGcP31F+OSi86ARvEOGra8uLThZfBJLDLIRsATABEdyUFA7ECFQhT85KVg3LDxbfrPB670Vjio6PsEMFknwi0OZ0AGPUlhYgqnCyeMSukJJIaqQNMUXiQbUjWeeCpSFKxYvgZXXvsA5i9cjcJohItXAgaZFO4D8wsQN1nkeoTASJ68ptsnnXXO1DPPv+Rbj3GQ1JEu8SST+OYmRJlh6dmQaA3okd0yNbsDkDR7+KbFS8Ag3WEBIcPiybYGZoW5yCOAfP7e9H3ffOnxMVYyFc0sdE81GYL+fQNDwlRhJETJg5GejKYhnkiiXYd8jHvwBowccWTApEiE+XaF5iHQP4paUvEoKKUvwCeqxqhYiBhF5axAZsUHhAAI4689T/5OlgRwLUmBUB4uFxFW4X34ng4Bg9c2ch3BQzLSE6M1UwkkNLWP/gxd4QvjFmkayjdvw8Vj78Tcb5egIDcqzCTPGFM7iHA8HZBC83yxaYrAQoEZMuPnXXrl6yNPPHkRAUTRQAtoZsyNh4RtImkCKdIjagR2U6ZmV1ikVYBI9kh7LeTSUjCMTIvuwSTd4VoIE3sonohxkEkh1iCzsvC7OX1ffPjui+O1NUXB+ILKxIKlVA1MD6J00d2aEKkK49tYIole/bti/BN3Yt99B8pEq1iXhA8zP1xNrMFHmguXEUhENp6bEOp8ntSjsDwdiwotgBTJAjJB9OdR9TEFPxlcR+Hhb4fqPOg1TXyh4iA+oEX1MnUWPRdurjh3AglnD4W2TMyvUAkgKp/JRbE6DhgCiaYiL2KgamsZrrjsdsz9ZgmiuVF4jGouaeTIBCDXVv7dtoV3Q+Y0Nze36qqb7nxx0O9+t4bMjWQT7uEwFXESrZqJJOkRR4Xlm5q+fdOEKvivFa+mRYC0ZFrIpY2BD4aQ5yBCopR7KqQ3JHNU7Nha+uB1Y8fuLNvenWhfdKqgDf6Pxzp4soUzCS/6gcix0FdTloVe/bri+b+NQ+8+3eHR6OJOpFy/gTqJZrRwcNB9dWl0EzioU0XHU6eLDL0Kh+nwdBWWRnUhlMzgGXrSjmC2y8vJPYd+4wnmcUXCjgBHYEszP41oWSMiFI0ECC94FuAlp11XySwQc1BOURV/ZEp1+lOgGyoKc0OoWL8ZZ598NTZuLENOxIDK9aoQqgQIoddEeD4NTEVFaYeOm+5+/OlnSko77/CZRGXCDSY9ouo8NJ/KAb9k+18xNbsCkBZNS8hGxHN5+DxHVYS3AgX5nusVPHLTFWeuWPjjIf46mhmA8PHGbbTPGoJNhE3nBUDUMBrDSxPuwqGH7wfPjcvSDfINwgCLcJARIHij0Sgn/uAjnfwjMVlFMIkQow6ZDj4PQYdFEVg+3ZLBtul3NmcLAgSxCvdyOHMI4cpBRiYsQ1rCu5GuKTEJzaMQtUfk7hJ7iOgZmRvSJKRF0gChxKApQFKUE8bqeUvxx/+7DRVlFYiauqh2o8IjcvMJ/Dw2wlspzVx0/XsPOvC72x5+fLKqqTVgqOV6hKFeVxBTNSRSBhJtMTXNAqQ59tiShEFei6EgRC6t4oqEGwGDPBZ4yCeA/P1vTx/2wZTXzuT14zI0ExSTpDUEoYhCHc4gciSSaUmmLPTp1x1vffgIcnM13umK5HMxZilOQnZb99mYT5TlJoAzgMfvfkDPPZc0hQLH9WTnU320MCm0OD7/nkumiYAizQ7pFwIE/yOQMNjSdEk5wM+X3HQRdPfPStwYiFcfyIoEMjMUYSWg6DrN6qLlBiSTGAovMWhXnIe5X3yDyy+8Bcxy+WxzipOQ2RIkQowizCoxSzoboCjs92edO/mciy+fQwCBilrSIwQUCsszDXFyfW0SrTrsLmHYuyNYWwNIA/aggBiZFt9rYToicNO6I495yIOCgmXzvu/91L23jE3U1xcEsxe+lhRmhrBBjasL0+PHG6jwh0aw46CgIA9T//EIevctAfMyt/oSo5Q0gAHPDcN1NFH954NDagbqVBmshENmwmWwiUWoAoeLUQIEaQ2Fv0+vxfd8QAhRyk2VzyL0mdQ+FCchMSmdGX5OJCjJRPqeOmkRkVdUYdD73KNRqYxWlBcYBBoNuqmhpCQf016ZivtufIwyuzz7S/vnolgCkOdwJFD41D8AkdycmhvufvDZfQcduBYMNYoqvBsecdUQVxwkfK+GTA0F0LJjI81pkV0BiEoR00QRdF+Y6kDIsRCGjiiZFs1BrqdwcOS7tld4z1XnX7zx59UDhRvaxENWjfPYBYXNqVlV0fAEGH+ln9rqetz5yJW46JJjwbzMDW+5wk9XBuqw7Ag8R+UNKUyMWJOBOp+zCdXvcLEp3rNd0iMEFgkQLk4FY3DRSmZHahlulsi95eaJ1oAQ5ynyNkT/8hopdCOBQ4lEiqLyvCM3LbK2ieaAktUxSJcIBjEMTWoSHXpEQ1FeFPff+ACmv/oucvOiIqJK5kskaqR5EYzLdR1nFxW9++6x7P7nXn5RM4xqbmoY6lxdmBo4iOsmkg6VxkjBGqmCI8PworS3GbHaJECCngsFxcit9dkjqfGajhBzEaXbyctAWB5U5CseCqa99PQRH06bcLpHvN7KgwCi8LI/8VXKg6g8li7C147t4unXbsaIUQdQJCp9M8R0NkERWRPPNZFKhWCT9+G5DbwOh+w3TZylzqcZ1mRmyGNxVdgEHteDzbWHNC38c3pOYlfhYKLv8M8JGKJYjLMKaR5eGpC2jTLQRdfh10HzqkgBEk2lRUoYF6iUcNRIrEqAGIbOmSScG4bq2rjhouux6LslCEfCfEkjjVe5uVxz0bxRMsNcdfEyARFyPOmMc6eec9kVXzIVNfBQSyxC5sagCjUNcRKsYRep3WGR1gCSZg8kYFA43aH8EbGHCKMLUSrBsXnt6q4P3XjllfW11SWZBfSbYxCRZ/EnK3GaJneQiSV/LMtBz37d8Nqbd6N9aZQLPGGMhf3l3g93YEVhUcoKI5Y0uKDj4QMCA4HFkV4N1xrU0VQyTqAiU0Pg8E0PsQSxjCt0iLyhMpkfASjp2XAzJnWJzANzoSx9GV4oLz0xPvmXci5cf4hL1cmLIcDoBBqNs4muaTBp2QJarsDQUFBcgLXLl+Oqs66Fl7I524hBIcPv3PWl9+h2JZkIekF+YcUd4596snvvfpt9kJAW0UiPqIhTbET3kKQwPCKwd4VFGgEkIE6pQqwRexhULugg4sgcC4GDecj3FBSMv/mqM5bM++GwZk2L9FmE3ybstEjlixHFLQcBRFFQH0/hmBMH4/6/Xo38PF34mP6Du7fkNhPNihA1dXgsloOERVpCxC1c8mG5GXG5K8vXaKDn3LshncNgSYBYnipELFE6L0QnE+SzCM1oos+EHuC6RD4nsAa5ksspP+0vRSrP7HL9QSyi8liIxsUqxUYoLkJMovMVcsirUU0d7UqLMenpV/Hcgy8gN4cC9GLuDe1chH5IrIoZ6L4zRZ3524MOnnPTw09MUYUWqSUmIRbRqaZER8L2kGyGRXgDZ5ua5gDC3YRs7eGzB+kOGRDL416LioLF33/d78m7brjSse1wS5YlOyzO3V2uRUQshP4jkVdXV4+/3HcJzrtkNA8scS+Gn60MUnFdKyvMZYzATpqoqjdh2UJ70DpR3OTQ8j/cnJDJILDQc5WDwXIEYDhruAwWZyAm4yEELoVPgyOXl2sUV2qdgEcjvBl5bnLZIjolGgDkvchqSbGiDbFIIC5CgpVuo0brZgkzI5ZMCuWaiJgGbrjoBiz5fjGiORHOjlwqyDt4Bx0AUbzEYJqh1J/veviJ/Q8dvBoeasir8QUr6RGfRXZVi7QIEIqaxvOgKzvkHBYNYdIeQfZwPRQo/7wb+4N/vvi81UuWHEDDy0+b7xpQZIKOB85oNhy5/1SYzPD8pDtw6GF78YU8RLyBTlcwCY8LcNEmXT6aAukqqKmLoCZGuoE6moBBa1X6otVLMwmxBWkPmwJjBA4CDbEEF7EiisoX/aDnBAwOEPGaB87kHCqhRIjqRUE11x7knfHndE0UURVswbUID7sTSLQ0UChmoOk6d3fpTzd1aKaGgpJC/LR4BW76vxt5rSt5QOJ6xeRz7mL6kWSSzORV/fMunv1/s++P9zz+4mtMQY0m9YjPIqRFDJfP7rNYKaxoHRwZXW1SrDYASNC8LF8OzU/I1StUXcnnsPi5Fp6E89lj3pdf7Pn8/bdcYVuuyZOx/kS0FmRqhkkIICKTyyvJoCKVstG9bye8Pu0+dOyUKzOnInsq/GOhP/x5sWRuCJgEEDupYUe1iXiSwuS20CTS5PggoJXnyLxQpzs2VX953M3lnzvCzFiOWC2GgCYAIzQMiV6qFiMBTfrF882YHNhisp4IsZMo5V4KmRLqfFWYFKqG02l6Dtci9JwCZkKLkAahP900oJkGStoXYcLTr2PSMxMQyQnxwUORI/KoggAhQMrkAzRTt/5067inDh565Iogi/haRKMIK5DKpShrJpEnSmCyzExTAOHmxWcPSsipLkw7KYRpkD3AUMAYCh++8YpzViyYe7AQjnKqCFkNP+qYRSXpPAoPSMsZbeLMuLmJxRI46riD8egz1yISIVqm8HoAHNz/F/lZ3ihcqMmwtMNQVRNGeY3CO5GbGUZ3uiRTQy6Iw4HAO5tkvUPmhAACDhbOLB59x4ZluUilEkjE40jUJRCPJ5Cst2DV27ATDG5S5Ys7UASWh4HJZefClGyLB8WkxJoKPUeFGdVg5IZg5oUQikZhRiIIGSEYpgGds4fwagxyf6W50UwdJiXx/jn8/3z+tSjbtIn/Jh12D7QrD55Jr4qG2T6/HfT9HX99boKioBqK8Gp8FiHBaoSR9DRYlMhriUWaAkgDcUprbyTIrSX20IXnornIc1UUkFu7asG8PuPvuPaqVDKRw42AXE+Dz4311VOTABFvcjeXf09kcFVFQ21NDJdc83vccNu53GbTd/jeuFAVNMtjJYrIntIaUBpPt4ocv5VQsancRF1CTD0gt8ZxHTDPBiPmCACEP3ccWK6NZDKJeCyGeHUMqRoLVpUKp9qAW2sAdSFoyTBUqiN3yBWlSDDNOxcFrAoVyxI4ZFWigD55Kg5UzQUz4nDCMdEbufVwciyoRUCoyEC4IAeh/DyYkVwYpikAQswSMqCaBopLi/HpO5/imfseRzhs8hCAzHHKLI3/WrjdNABD4XDslvvGPzFw0KCfyaPRPNS4Guo4iziIKzoSEZqtB1hZgTMvKFTTAMk2L35gzKSgWBJhipqqnqjx8E2LwlD43LhbTvxh1swRIhwsUuDparAG9eE+IGSSTi6tkAGIWLiUCLS+JobbHroEF1w6WiSo0pMQ/KCUdHEJKKofGxBahBfb2ArKKjVsrVD4qnFUa+HxXIuvRYQ+sZwkEnX1iFXXI1luw9phwC6Pwq3KgxvLgRUzkYwD1VYSNU4McaceMS+OhJtAkqWQRAoO7ZfXbcjAlaxQpZVsTIQQRQR5SgR5Rh4KzQIUhfNQHM1DXsiEFrHhhGtg5e1Eon0Z1I4OQqV5CBeXIBTN52YmZBgwIyaMnBzcfc1tWLFoGUKmEdCnIsTLM74SLqIuT8PgYUd9cu2d495lxCJSsPJcjYoYRVf1MGjKV4oyvdLlbWRmsgHSyLzo9Qg5OiIpKgISqXzSHgWKioLqiorSOy4968+1lVV8fgEJS17Gr2qiUiwAEF9zpLWHCHxk+p7cW+73qojF43j8lRtx3IkHy1yYEKdpQaYK5uCUyrO5YtkFoUlEg8XrVKzdqqI67nBgUNkemA3XSSBRW43YzgSsHQriW00ktuehtsxEVbWD6pSFMqsWO1KVqPQqEEMtLMT4XEdGwToKTzGHV6TxSGn6btd0DiImw1mUtIJLLEKBPx2qZ8g/HTlKDor0dugY6YQeuR1RarZH14IihPMTSBVvQ6prJbSeQLhze5g5edBDJopKivDlZ3Pw5N2PIRQikysicYLBZDxIMjW1DC2cU1hYWP7QK5MeKS4p2cEEQGp48ExBLKQirjtIOLlItWRmGgFkHqBR5DSVglHDYFJSzrMRocJjMi8U9yAG8RgKP5ry6uDprz03hpGaIzhQ8EZqCVH8EigIyqr6UhSdNyDXLbzsVIKFqUjaFl75+9343eF7iuotGSTyq0aFqyfqxPy0uCjLIxCJghuWAjZt97C2jMGxkvBSdYhVVCC10Ya9sRCJ7UXYttPFsqrtWFe/HRX2TtSxaqSUOBw+LTYJl3ZCQRFem0FMxcuJRERXHl/0kNRH/txfPznJo6xkNkVkldbao7+wkgtTiUKHiWRCBFI6mh2xT87+OKB0ELoVlcAuXYdk3/VQ+oUR7lSCcE4+DCOEe/98D35esQpmSBbm+cpU5mt4QlyaGXLzzrxo7OsnnX3+tyqxiIyLkJnhc20MJCiJV6DACoVgy/wMb1jfzGQDhGIf3HuhrG3QvGhMRk09FPji9NEbxp67ctH8g/jyfzJGIac+pb1S2VaNygJ5JJDn930LIqY6+OV8k94fh3326yMrqQQzUDaXdw7XHuROS/aQxULcxJFXwTR+G4bqihTmLqrE1lVlsLZqULZ1QE15HlZWbMey6p+w2dqCGlTCZUl4ShKOm4RHOoVc43TGNF2hFwCqTPNzQAQFllwhIA0a+p4/hVQuFyGLjEpycrFH104oLuiE2koNGzfXoaq+FrlqFL8tHISRnY5Cj44FqCvdAGfvKpj981DSuQu++uw7PPvgUwjT9FGpyXy29mtkhbgTdTZ77/fbH24f/9wbabGqoobMjKugPmhmAllebmaaAgh3JwggTgkM8l6C5kUTVencvBBAyrZs6HLPlRden4jV5VNOgEatAIn0S9LV5Bnt4Vee+24tZ0kyM3KSFLEAJdPUkILpM8aj/549+Y9tz0A9ua2JWhQXOtyUiXiLWFKBdIdgLFlGJgNJFZsr8OGrm1A1twNcqx1+LF+NH6sXYadbhpQSg8ticNwEXCclC48CHe4PHT8AlgaCH3eRb/hTFXwiCQpz/pkEiAzwcb1Ak6JMHb06l+A3A3uhU6f2sFM61q2JY+XySmyrqkJUM3B852MwsudwqPlxJPusg36wAbNdCe67+QFsWb0eeogmV4jwkF+3KrBBmkRM48jJidY++OwbD3fq1mML92bIzAB1LlCfbWb0Cth77SUqzhQefJIJhEByjru3liVWDvS9F8VAjmvLnAtDAZmXd9947oj3J/7tbL89/PZLM0bAvAirE3SYMtMaCCCJRILPkMvLy+X36sgvzsNrk29H2dqNSNUlcdDRg1EXLsXmLTG0c8vRrZdYNJ2HmQNVVlygygpwN5nA3Ok7sWBqe2zdaWPmztlYmVwGS6mD7dXAdsl8yGiXTwN+gWwQFCL+H7Du0qVNmxWfQQS4RAVY8E+UKcowsfDGaCEUXUOXkgIMHNANPXp2RlFxFEbYRH0tsOCbKqxcXIMyZwP2K+qPi/pehh2K3xgAACAASURBVNK8XCR7rYY+xMZX3y/BlNfegmno3ERzj447B6SP0hWQkkUUnHLuBRNP+7/LvyQzQ8Ezcnk1A/XMRizozZgm7OygmTAMgtdpOoPWYTN0qlan4BiF1qlizCZxKtmDoqaeisKHr7v0vJ8WLzqQ2EPEIjJU2yCSml4EXTQMPyAFiGhRQ48haScxcvRgjBh5MPbYdxDMnCKoIQ0F7Quwed0WfDbpExSgEiMuPRUL6tshvm4zRg70UFgaktld4dlwccq1ghC0a2bX4PO/RrFo4w58UP4RypXNsNxKOE5C1rbLfgzaiPQ1+JG+AC0ETYk0LaKzfez4OsRvBz/iK/El5+bwH9D8GU1Dh7xc7NWnK3rv0QVFxfkI5RgIRwxU18bw5YdrUbE2ig3OGnSORnFjrwfQLb8Uqe6rUL7HKjw58S1UV9byZKAwu7KIOm1eOK3wFMbA/fafe8fjL7ymehIgkkUMBTGqOKMEnh80K+sKZ5Ao/uc6JAgQrj/IvaXMrcEQ8oNjLtWZKsijuAeJ48qd5R3u+eN5f6qtqOggA82Zyl2/vaS54fTnt7PMdPptSt7KpVefgatvuJgLyR3btqBdn36Im0WwRSId23bE8eHDz+DQg9qhstshWLuuFocUVmLo0O78tgvpcjVelidqWRMVMXx0n4c5n6TwdsXfsQ2bYDs74TErg2Qf0Y10hA+cDOqFZ5Tm28BIkCI5aI78Yh5ZARbEFfkc4jUlKjUUR6IY0Ksj9ujXDaXtixCK6jBNHZbL8NXX87FyYTny2d5YnfoMRxaMwtiOdyKak4R10Cq8vmoSvv9xKUyTalIcmd0W5t1nPD+jXljUruyBlyY81q60fRlzUU1xEfJmNCayvBQ0sxWkAhnetA5pBBBff9hxhClza3ty8pOHfB4cYyikxNwTt153HWO+yqSzCsQrfGUtK8X8UUaFNAKTCmLxGA4fcRCefOlB5FLRgGdh45Y67NhRCa/HAFRYBl9S0k542L5wKbZ9/i4GnzIK838Gcms346wz+qOoY64omknbORG+XT2zHu+O0zFt7QwsTs2D5ZTD81ICqT4ggpTnvxfwCISVEN0pZlyK56LRG9BJ2lXLMKn/nYBZlWFlcQiRoMzXczGgUw/0H9gBHbvmIxzWYYQpF+9h/ryfMGvOjyjS9kAqRWtA/Iy/tH8F+xT2hzJgK2awKZg262OeCc6kH2Q6gg9Kyg3JKRRQvBsfeuzRQYMPX00xEQqaUaaX14qoiFGG14giSe5uQIdwoRoEiJatP6ickKKnngNeEEQClQFFU54bP3zm9EmniHB3ZpaZyMrK5vMjqgFG4VkXherwHT7P5bW3xqN3n1J4bh0Ux4brmZi/pAqVcQ+brHykYgkwKwW4FjZ9/ikG/bY9ttSVomrHTpwwqhMOPKyPjKhmBrUTs/HROAtvT9+Ot+umoNbeAs8lsyJnUgWsRrqjZeU4j1/IMj7uQgcL4ngH+/5rxlw2rntJq7DMSQWeCYCQUDWxJw7CmdoJ2KPIwPojlyPWqQ4GFSyrDEuX/IyZsxYhmXLRydgHG1Nf4ZzIrfh9/mmI9K3GjOgbePP792BQUiewfh23NpKyRUhezC897vSzpp13xXWfKUAVCVXSIaqOOoqqUlmiH1UN6BA3CBAefFu/Hrof/wjRsg2iaszXH/nEHgSQR264dMyqRQsPFNMQ5Ex8iVo/Hc3njvhgkQ3kjyfLsnDDPX/ERZedCs/bCZXiDbYDJ+FhW4WHed9vwuZkCFW1FpidgmvbqN64Hh2ilSjqMACrf6rGb/qHcO6FB0OPUgPR6Xtc25QtTeCNP1uYvmI25sY/h+vWiqOnTUrARaWOknNdfBGZudevqLcQSeQMS2W4w6ebbBz47NHcEjTicx35OBFX406ciyLE8f5RU7Bl4DoYeoi8dKxYvhafzlrMXd8ukYHYaS3HUJyG86J/RP6AOKapz+LDFV/A1GSeKi2kA+fDJZIoLtprv/3m3jn+hdcJIDyySmUAQB3pEMrwpjwk/XhIz55i/hh5Mj6DUP6FC9Rg/EMxEFU85DCX13zw4JjnpEpuvfiMq8q3bu5JIWZGVyNNiQyTSdAKAec7BpyqqVLcdZFXHMW0Gc+gW/dCMK8OimsBlgOrxkYsYeGzz9Zg7XYL22qT8GwLzKXPYkiUr8MhQw7AkiX1KIgmcM01Q9GhZ5EUB4RQF3MnxzHp4Vq8W/kW1sUWi8mU6WCbZIG0tyFKC/yHALDvvord+iaMr6saNEtN8oM/EqR45RgKem8CbHQIHXkYhvNwPk5DfrQMC0d/gETHOAwzxCf1rlqxHp/OWoidddXoEO6NuFOGQe5IjCm4GMV7JvBCzaNYsHkpzwbLeQHNnhG1e2mXLusff3XKE2ooVMGDZlSSqKGWAtfMRtwPu1M8xBeqHCBBDwbbYPgC1bVotUFEfYHqm5dNa1Z3/+vNl18Vq60u4pOHKE0v2YMihlyk85J/CjJTwa+s2RDSDIlkEoOH7ouXJj8Ew6gDY0kolEtPWohXJxCPpfDjD+vx7Y/bsKMuBccSwtK1LOxYvxWHDxuITRso3V6Hyy4bjP0O6SXnF6jwLBfv3l+Nd6duxT9q30KltVFqDtlJcrGWtA7hlfEB7ypQdxI0HcRROXw1Q6G4a9IlhjSdwUOe4qKWbiTDrzizQpFcg6jhkJamijI1HdAT+4b2Rc/+DNH9LERyojAiJl9YZNXyDfj0SwJIPdqFOsLyYhjkDseZRWOQu1cFxm96AJuqyniFvF/x3jRCBODz8vOrbnv0mSd69Buw0TczvlAlBtFMJHyhik6w056MBEjag9FSMP0AWVMCdeHXX+z17L03X+m6Dq2qJFNTouG4RyOnM1BYmEBCjEGTknyTk4glcOWNY3D1zecDrEJMenUsIJlCbWUS9dX1WLeuHO++sxzVNSkk6Y6EmoL6uiRS1cCgA9ujutJBXV0KJ56+J44/aX9+50KaiBKvsPH6DTvx0Vc/YWbdB0g4O+UdG6QLGGALwRwyxiHvKiS81qDwEE2eqzIcZLo4u9jBOtvEveW+IFeQo7o4rVDBx3UuttqGNHbS9ZesKSo4BDsJ0AihHlJVdCkpxj79u6JHz47IyY8iEo6gwC7CDyuW4Ou5c1FWH0dYa889sIPdY3Byx1Ng9V2BJ1aMR4LfZM8Ti0U38xArvlEJgu786c5xTxx8xPAVQaHqUJ46kJdxQ7CCiTufQThAyIOh6jGqXOcTogICleIfjKFoxrTXD57+8pMX+DPrucH0L598cR45pAJcgyeMXM/hf5y5qc7TcfDQMzfjhFMPA7xqngBTbAte0kZteR1qK2KoKK/DhDd+REVFApbt8iKbmvoEEI9gwD75/BZQlRUpHPC7TrjwkkMRikT4IhzlP8fx4p924JMVC/F1/edw3PoMxfuTreWUhbRnJe10w/bNgMSP7xUrLh7p4uLjeg1TqkQH04Nimb8JAZtchp2OP1UwExjLhK38hWd8UU+r+1GwrJAvzdmzVyfkFIQRjoQweMkIzNgwE2+WvYmqehuGWsLvpTZUORnH9ByGNaWf4Y1lk6DTgjt+6WVLJo9/puCcsVe8csLpY75XFK5D0kKVZ3ddJKhWlarMGngyPoOsWcPXF0tHUPmEKFrCQc53If1BIvWFh+448YfPPxwpKJhqRaXlplI6KehoQpGcNpe26dwc02IouopnJtyLw4buCbBagCKaDt0r1EZ1WT2qd9aitjaOia/Mw7at9XCYw0cIlXVU7EyiV98SlBRFUVFuoUfffFxxzVDkFkWhhTSsm1eL527ehplr52Jh7Afh2nIhKqOcfoyTE4cs3ZMd7Y/whi5scGgqiNLqcZIHGrm6DTpIQSE85CgKtnA33M+SBD0cD2FNQ/d2JdizXzd069EBOblhmGEDxRVd8c3ixXhvxWxetFQQKkTYDWNU6BwcNmBvfMT+hq/XzIVJd7YIuNxNTW1JL6zDgMNGHPPx1bfezdP/PKrqocZP3DXhyQihKgGSdnHrVYQog8trT2lSFJDnMhH/oAjqA9dcdNHPyxfvLwSbkEeZoL0fakj7Wg2ajSqvjLCGFyY8hIMO6yEFagYgVWX1qCyvQaw+iamvL8CG9bVgqn+rHwXVNXUwcwwMHNAdFWVJFHUI4aprhqCkA6XENSz7uhLP3bUJn236EavrFoFRjsUvxPPdbqJckalPz7PJnGRD88LLINMdICK0wmuTq5ZlC1BpRohVnu/joKoeuL5Mini+Hoq/f+EBRTQdvTq0w4D+3dC5SztEc0IwTRO1sRS++XYlFq9aB4diDGYhClkxjs87B/sc0B6TdzyPVT+vh6nTkWSshic6RV1I8JHRUgz999lvwT3PvPwyMYjqoppiIS5QR8XMpEMos5vrIdXA1fUB0oqLW6BAuLh/uejkq8s2b+wjXBRpXqQ72/DUGnMeMYgR0vHchIdwyOFBgNhgcRtV5bWo2F6NeNzCOxOWYv3PMTAquKBFYBhQVVGD/KII9uzfBTvLkjDzVVxx9aHo1L0AZljD/FkVeG7cWszaPB9ra1eCeUk5lSIAgYAn0hgkwQ4UtJwZoT5Agtu0cQ1cLEUTbUwd4GDiduCNKiryF2yb2Qo9kqtr6Nu5FHv064oOHYsQiYZhGAZ2bK/Bl98sw7rt5XBpqQSzCJ2UXjih+CT0H65h2sZpWLhgDUxDLCzMz7QJgDScNM/QpXuPnx97Y/rj3NUFd3V54q4FV9dNM4gPED8HoziIUgVZ0MVVgaJrTxt5a01NRXvhAwqby9PwnqwalfNCeBMEA4n0mqheBZ54+W4MG7U3GKvm+oOKQbmJIYCU1SEWS+KjyauxcU1SFOdqOuK2g3htCiWdQujRIw+VZRat6YRLrjgIPXpRmFrDvNnlePrBlfhqw1Ksr/0JLksEg4xyfAdiIo1YJDvI5Xes6NCmwRIInvGvUcWHh46Kh+18TbRMPETMF/RrcBnyTB39upaiT+/OKO1QhHA4xGfMrVqzCd/PW4PK+gQvgsoNFaC/tj9GdBqKXqOSeG/ZTHw3dxVMurtOI9dbVNLzCEj6M1FEXVhUXP7C2zPu9YAqWR8iCojI1dUR93MyVBsiYyENAVLmwKRFYShJRwDhNSAO8hRNZHAVhqKxJx4+zkqkovxeorRGuiPnavAcnLjLcLo5JVjEqg4izJ5IpXD7Q3/EOReNBrxKwBFBMhZ3ULOzDjt31CJRZ+Hjaeuw9We5EAy/aS3pHQMFHYHC4hSqtrtgJnDe2N+gV68ihHN0LPy+HOPHLcL3G9dgXdVPcIlB/JPxJxzJ1+nGazK2ETQ1GQ8kQxPZYPEP0hTrNCD8QM6KIWJo6Fqchx5d2qNr1/YoKMhFwnIwb9EarF5bxqNVqqciR8/DAdHfYXCv36DTsHq8/c1szF/0E69bFeZOjEQ/Y84nk2XFbWhiWjgSjb3+0ay/MDIxpEFc1FA0lWpDdgsgnoVIMEjm52DIxFw26uCHXc+jGda82jwYL/ApmzssEhxc7wdS/fXxBE47dyTuf+I6MLYDsFNQkuTFOKip/H/dvQecZXV99/8+7fbpbXdne4Fld+ldmqhosMRYYif+NRqjRhOT+MQkJpbEaCT6WKLGCDHKYxQVjYgEAakiLLCUhe1snZ0+c3s99Xm+v3POzN1hlwVEE//X13jbcPfOOZ/z7d/Pp0Zxuk6t2OKW700wO6or4dmY1LbV8MgN+fQv8ciPBvipgCv+4ESWre5Sja6922b51Mc2c/+BQxzO7yNp2iFrkNrXDfdbFMWDqpfNrwmE33uuG9d2Rhe+djwnuhAoC9ysqrPMZ0ASfKcsg+5sipWL+hga6qbWdNi2a5RCpaHWMWXyriPo48Ke53HqxhV0nF7j+z+9nZ37Dqil79htzW8KhIvlIT7m3Y/iLElYrWtuuedDcTVV9WSiYplnUBMLIgtVQyb2ERZkC5hxFVUsSAwQzyZnaNEEe0A30PuOF5/1WfVlVBm6fQA5HIQJ5yTnxw3j1YcQIxqO47Nq3TDfufGf6OyS+kcdv9bAqdpUyzbVUoPCrM3dP8hTnUhji9JbtOZQbzgYnRWWrLIojFvIAujr37WCpcs7FECmxsr8/Yfv5N5doxzOj7CoKySBUQvbajnKoyXDytGKZbjQHa40hmyI0QFtK3aFpzgGRgyY9uzmaG7pyfHXkdZn/r9XBBi6TkfKojOTVGsX+aqtjILQN5maRZ+2hEuWnMP6UwfRl9T49o9vYWRqSq1pxt8tvgYXNhOPnMPxg2vv2vKn7QDxpKubULMhdT1BQwAi1dSlSxVLV+hinhlAzv6sLP6EAAkXk0MKhHD2IHQloZ+PWB5C760WinS1QyKUlt/8wZWcdvZSqM/ilpvY1Rb1ioOAYOZwkwdvqlCf7MRuyFUU+tNSrYI2kGe4v5vyZBq9t86r3zXE0JAM25i0Gjaf+ugt3Hb/IfZOj7GsXwlshzRSEdeYbO2rpakIJAo8imwmBJLi8pFpNfX9w79RxePqeTz/0R68RnFK9NI8YWYczLYHsgsD1dglhVe87O/GWWHIY6aR0TMMJ5bxvLWbWLtxgJpW55qf3EC11VCzrvHO8jEBEvqeaOIuCK79+bMAiNR7JEiNY5CndDGXn3+l77myF6YibvmjZNFIyUVHiZycFrnF0w9zYUDEUdZotHjL217GR658L1pzAr/UpFkLAdKyPQ4+XmP//R61sR7cVshpKo3BycIUmVVVBvWlVGYNMqvLvPytvXT3JNWQkRzUq798F9++bis7Jyfpz0FWGO7FSijuD9mNEcAIF0goaujJbEy0/B2T3ykCK0VpFVZWY4ZBoc9U859HtPzDNUs15a5KKyHIFB+rIn9RbCILMpijWRg5ZjIGEFqkkPxOo9fqZU3/Es47cS0nrF3Nlj07+PF9dynCGcXNpmZ7QrcVTgnOZ0xRv3TO/lmW1frWbfc+cxezECDHC1KdZjMj0bjk7KYI+Mg6oiPV0vCgtJu12GyrrTnlevSQnkFz+fI1H+eSF23Cn5qgWXVp1WxaTZ/t9xSp7MtROCh0Z4J+OY0uOyZ3s+6cFInRlZRqDYbPr3PxK3JkOhKqaZVKGtx793Y++albeWRkEs+1WdGbw3VDchh18qJ9bynmhSc/ppiKE4LQh4fLWRHNtuqvRcta8lp8ImJ2LbGgevi+sjTKAoXEL1JFFkEisVLz7mph2htaloVkwFJIG0r2smnVUs496SSGe9dw9U+/z/78CJZSu5iPicLj3m6tjqzzyFupVKZ2zc13PfsgVVr9x0tzP/D6l3y4XMwPqC18I9SNC0mCQz+uXElbdTKeGVFmLu7ViExBs8XKNUv4t+9+gqUDCZrjJRw7YPJwjdFdDZq7h6jPJMLhWx/G8lOMu3s475ITKTzQQ1mb5bRXuWw8M61qIELVLRtpxdkiH/3wddz5yEEOTFVYN9hFQhMrMt+5VWCJZo8VEYxiVw6J8Oav9pAwV2VPIZTCvy8+zepkRO4nmoqRol5MaifrF2oQLZC4x6XuSsAcU/rOZzthMBmNYs4pf4f9k95klm4zxXmnrOKCE89jZiLgqnu+pYiGVXmyDSBxHWRhsaw9iejp6Z3+2o9ufvZp7lPMgswVyv7mna/944mDB9eEwbhYhJAqW2UtwpkhAIk4x1VIp1iDIvqmuTaVKp5QrTY4+9wNfPHqDzGYSVAcKzJysIQ/20fh0W5RRFZdXCMd8MD27aw416DbHmb80QSJleOc9ZoEA4sSWMKpoZaihd5J59tfv5V/veY+th7Ok9YTLO/qUaV6+XJCMRmS94ccIcp9xWyJykuEMYgi1ZtLgUOIxINn8t8cMSgUuRxlF9RJC2Oy0GYKOZ5H3W1Rs+2IyvPIIFVxfoT/cQg6mdZHY1G2h6xh8ILz13POovP5/j138ejENizhk2jnS2nzWHGQemRMEv7C8MoVez/3zWdZKIunyY5Xav/0H//+7z+xfevpcRFMDaXNcXtE9iK6zMIxjLBg3V6jjGM9CQJr5QbPu+hU/vrDv8+yvj7KowbTD2ewGyZWViga6vheC7urolh5Zu7pwNbrrHx+gZUbciSzsvgcbtRrhq84Ng49Mcbffvy73Lt9nINTDVZ19dCX6FA8ZjK/oop6ipU5YmaOLJ9yN5El8fWQSnN+oTGcJVFQieZE2uxJlOuEMUDIMhRnciG4HN+mbDdoOJIchBlf2NcNXYU6sTEvaCDq3Wk6jBRDvR381kUnU57RuH7zvWjSelClmaOn3CHE5us4c0DWYMPJpz380S9d9axK7bLu8LSadV/79Edeufm2m14Slg2igxDzpUerdO1XV5zBRAZnLqNRQVW0sN2q2/T2drFm9UrsomzbG2qZursvyV//7TsZ6EpRrhU58HiD2mGfdG+NM1+wCD0VbsSH4tlh7KMkOcyAb13zM/71mnvYPVEiX3bUiuMifSAquAlQQlpFIeJVMqvqsLoqvoiiCfVaCBJXuRh5LCwAil3I8BTvehyghjYhvvrjhn7UAFLaLy4Nr0mx2VR/m4JH28S/+j7RgLe466HOTlrNBs87+QQuPGMdN92zgz0j4yQVl1X4fY8a6ir0hHSg6hvN1ULg4ste+tP3Pctm3TNr91/1pbe1FyDjGkfIwhdG1HG8EQ15R52I8OqLPa4uV3MEMqGIEvYfTXRvwylhlbY+76LT+LsPv42M4TMxVqRvMMv4oRkSpsWJp8uwUDT1Jd3kKCYQNzM9PsOnr/w+P390hD2jRaoNjbWp5SwKhtG9RDiZETEaKzcjQBEI6J46mQoOaiE6goYm6bDHqekW52ZtDtUNftowaRpOWM1Ul66Q2sh3D09S7Eji7MINHKqtOkVbSugCkkhVSxmReTaEXCpJdypN06nx6uefzYpF/Vx704Pkq1XFb6ZOfFROPxpIYt6yOC4JIx6NK97zvq+/4tm2++OVh6czMPTlv/vr9/mebx7Rao5GU5Xnlass7vW28YjG1dXQtBoR3+dcEhz2KaIrKYSITrFY4b3vfQ2vfvH5ZFIBma4kVibF2N4pqrMNNpy1Win4SOqqlCYjdRdxNQ/eu43Pf/Un7Botsm+0TKXhsURfzGp3A50MqihBsiP5CRNesRGymO3gaWJNZL48fE9EADrx+MyZY5xz6kNMjSzmTbdtYLfhYRnh74THI852wqs8JP+VgDJcnLddh+lGGVvxvj55OEmSk1V9Q0yVplg1PMTLLtiE7wR85+aHFFTD2DgqICirOX/85nKYOWK7efgYMjD08U9+4dyLL31WA0NqaerpjRzuXP6///J976+WyyE5f1RNVSY+yl+iVtFcgandYyrDFw84q62JsA2uuEEMC034waKkUoJIGYp57ztfTW+6j8mRAr/zpg10DeRU0W3yQIH84TonnbsGPSf6xuGejPqJUPqzWzbzzWtv59Bsnb3jJaaLsv7RwcpgLcvZSCeh8KFDS2CAi6MA42PjYYduR70e0k1u6KiyqrOAbev8tJClICpCAhBNrE/8zcPfVQdAdyOrooi/1QhmsVmh6Mgwk1KamT+Lgc+ynn6VtuUbeV558ZmcvHoJ2/fO8LPN29XOjBwrqdFEhekoflnYhV44tqDR0dld+JvPfukLK0444ZmNHEZ+6hkOLb/p/dOjoytVMBQ14dR5VzFAeItLNnLIZLJMUTXFhyMyqYLJudqiuhSUk1CvScBo2w7nbNrIqavX0iwnqNcSvP0Dp7JoZRK7GrDtzhKrTu2lcKjGurMX44v6nUiORim3XLyObXPHHQ/w45s2s2+8wESpxWShTqnikPRyLGU9Qyynn0Vk1dqxiAi1cBRQBDQxQOS5QzNyOq4Cj42vO/iGg2c4+GJ1FBN/uDesrIYegkfTXKVTJ5ap5taZbZSw1UCTpMbS89VZ2t9HAouR/DhnblzNJaeuprurgx/89FEOT8wqOisVggrNRXShzQe4seOO2BDbfI+8M7Rs6YHPf/1ZDC3HAHlGaw9/8Qe/t3vr1rPVd5CCXnjuQ7DEvUWRMVVZgZCvCUDCwCmM2qM4RJh5wv8wTIBV8BUP/oZrtievWsHJq1bhJFbz4PYBLr0wx/vf00Ot0uLObxe47IplFKaqTOxw2HjhIrSk8IgpcZeQDC8i4d+1fR//+ZPb2XNonJrtUKq1mCg2lUVpNEXtOUO/v4TFrGaQZWTpIanU5yRElf+1sLEj6NgKQPL/YnFczcbTWyFADNGxklhLXJULhk2gORiaQ6CHP47XZLpepuKUlFUZHurirJPWcuDALHvGxjlnwwrO37SCvp40+8eq/OimLSp9j9cv5pUzQvujBL+P2I2JK7fxafnl1x7kPD3txanv/evnXnjLddeqxan2rkQM2vm2c1sDLO5rRL+kGJXnblE4Fyk9RHVF1a2UaYDzNp3AkmXnc/vhS0jYBi89ezNv/N3l7LzVY+iEJMtPzjJ90Ca/r8HJFwzjmdJviZiFFD23ENrB+OFpHnxwK9t272aqkKdh2yrtLEv/p2pTrNjUGx6+nSDpddMZ9NEV9NPNEBk6FZ9HnLSLEwodTwgUufd0G0cP4xcBgopf9CZoIt3uoBkCIgdfb9LU6mQ7YcVwv6JyeGL/pOJFO3fTMlYN95GyhA4zw3/84G6mChVFchdmJ3FJPQxwVXofp+eRu1Lt/iNuGi9/nSxOfeBZL04p+95O/fBUq5ePbL7nhK985IN/5geePhd9q1Z2SIIb31Qv4qgJmaaIVcKedJS5q2wmpMQM45SwU6yqnK7PeaeeRdO8nNHJEvmR77FmpcUbX/I6zNmVrD23gxPPTzL2RJ7qYY8TzxvCkYMkrIWBp2ZW5DOkM1wt+kxPFDk0MsLBsf2M5UcpNwvqqhbWwkbLp9psUWk6lJo21XqA09Jx7SSml8EKElhBCotkBBgrXPGQFoJi8A9PjrgdxIroYkGkOyvT+S000yGTg3Q6rP4KE6MIL69aHVSWLAAAIABJREFUNsDSRT2kLI2EZZHL9HPdjfexbfcBEkkZQXKjeEOcUTQzKSdNZkLUvlFYXwkHhRbEIJru/8U/fuaXXr18Rsvb//BHb/tAqTA7JGcwyrijhlFcEYh7GmH5fc66RHMkcYc0fjOOPcIicsggEnJchN1iuXq7sr3kK9Pqo1xb+MtNzj3xYt71jldy2vlDqiN7eFsFv2WxalNnyGzohPynMhPiVqDa0mhUdbwaNGotCoUS4/kJpgvjzFYmqNl56m4Fx23g+S1VJm8KG6Lt0HKEDd+jJUzMij7Ti3jbjXAGQ1XQRL0idL2KNFcXGVAfK6GrZmIqoZPNJOjIpOnqSNPTlSKXlFFDERuy6Mr0kE30c8Pt9/PzLVtIpxNhL0rcVQSBmF1ZniuabumHyerIXFPwyGmynr7eyU9+7Zdf3n5G9A+f+eC737pn6yOK/iFMVyK+U3VVhPJMEbdbtP4g9YU5mIRcqsqCxDzk4XuqLiKMgfJYRhnVaKM07MKYRrhF1XvRtlyz1WLF4FK+9r8/zsoVgzQdh9HHHaiZLD8loThOPc0j+8Mcxt1JqhtblNa2qHU4irPdqVvYLYNWE2q2lMNrVFpFKs1ZSo0Zqs1Zaq1ZGnYR16nT8hpzmY5EJyGQQzpxRZIrhP1KgkxXE/zSVJOajVJ2ME2shBTyLBK6iWUmSOopslYHuXQfi7OrmJotctVPvsf+sYOKQjOMy6QmE/IdKFAcMZgcjSEscCoqgYg43TecftqT6B+EZcjUqD4T+gflZp42gcw3/uXin3znG2+eY9CZm5aaH2KJi2VSG5aiUzzFFf590UzrXBATzzZEgFDqBm23qOfT7r7CT9HUasDqRWu44rdfzaUXnkdPdxejj7kIXeziM3zMrSbJf86FGfWuUPm4usSnvM6nvNyj2hUolnspXdmKrtsINWREVyZwVZm87jVpuFVado2WV8V2a7ScRkRb1cQPmipZVrqdmqeoL4XQRQSERBdGACJrCpZhkbYy5JJZMokM2WQXGaub3qCbux6/n6tv/xbF5izJlAztSQYkdFieqvHIUrfKClWBra2Te4yiWexqQgKZ9zx7ApnwilRR4zOgoBoZ/vv3v/2DzXqls3049ohzGnrE0MCokCPKcmK6DWUpYgYfGTaKVJWiEvy8Glz0qeFXjPOktn9K1B4c3KbOiUtO4hUXvoLLzr6IdLNTcY4t+oVBco8O70FmuWELcA94U9DQoNwLpVU+5WU+9R6fRlpEEGPpMnAMlGJxwwrvK0koJKCcBNsEO2KXFm160w1IuD4ZO2DA9hho+qRlRdH1lLifJY04maYxZT83oMNOkq1b/J/N3+M/HvohuulhSQlSXIqKYdR0SUizJdmROgRRNzc+vnPFsrnLZ66+ks5my//4L0JBtezZU1BFAJkLVJ82id2H3nPF7scePidUm1xAlxCf0+g+DF7D2EJu8YBN2OxTvmUuzVWYUS8t3DoV6zK/yXeEVVWv6zi2g9PUGe5cy6UbX8CFK87nBGcZfYc1siOgrQDtLGCpD3UdtoK3H5ojUKlAIRdQ7odqT0CtR1PWZXxY54khmMrCEzmY6YaZDh877aN011WcGGmqCYhFTt3RGKrAuhl4wTQMl1166i7ppkumEtBZ1FlUStOoVPji/m/zvZGbSaZEB0bJPaOp+olkQWE2pmZMwlJR5NLjuRuxJguzljBQDbf6T3/go5/76jcXktgdbWk7kio7JomdOoPPhAbzpmu/cf711/zL73meiJtKhzQOoxY4RHX84qt/PtZQNRIVmEgxRcEmrIPMdYPbARLSdM/TYsb/Vgi68PWwWyvwUjTbLZ+OZD/rl53GSd0bOC9zKuu8RXQULVJJSA6DOSBKC2DI+oqmOHjVDnC9BOUmzGTg6hf5/NvJ4Cc1Qq11qW9EwFD8ljEPRxRkRb0kpTlf1zhhV8B774Xz98CilkavzHN0Nrnn0Fa+/MiPeXhmN6mEYF8ynrCwJvWTsLcVUomrnlCU+KlOV9tgViiNEo1Hhpefel/Xdf8N73jPc0qDOReHiMrDQqbDJxHpFguDf//ukEg3VuY6Yk7iCJyEJziCR2RF4oF9JcETCiK31UfaLcgcwKLprnAsSVOZhN2S5XCJ6IUsP0HCTGHoKdU+F2L8RJfFwekyBhneeNnLOGf1acxO9NJV7mFVI0XG0UkEIMwLyT7I9gckOwPMDmgMwzfOdPhof6AWWqM6bwToaPjFjPTcVVwV5WNqJCQchVg7aXLNwxpn1WCkNMFN2x7htq0P8eij+wlaHqYlFdhaaDXEggh1t8QzEnOojmLYMoy536QhOF9/ivjJ5hanorKB79Pd2/ucE+mqIDlu3IlG3fGouL/2yQ+/8sG7bnux0opbMG4413KOpuPCLCYs7CjEK9Wk2LuIFOr8mkFcCwnjlwhc0ShgWIs3qNcadPblOOvcU9m4cT2LegbpSPRiBTlaTZNGQ4SZdcq1Ovc/sYfRyj4uOW05KdfhcCXBD3ctpqOxmLVGhmV9WRb1ZejNJshkTGVhtDTctQluuAjynQEyYI8p44XheMEccZn6u6JdlLlmQ9hnkqXrf/yFx8vvGOP6+x7lhw9sYWxqVok+JQ0/qpM0CUwpu88DRBXFtHB7Pxxk9nBjYMjxkGOlvPORWUw8RC4e7zml4m6PQ9qVpo5H5r/n4S1rPv/xD77frguZ/5EzCgutSfxunO0qkKizHfVkojlOFYJFPR4FIFWAigEUIkp4Ri5/9fN51/veyvq1a7G8JAiZkASh/28ntlaxOTzrMFUyKDZSlHzYlmrx01yZ1MQe1u/fz633JBgpLofpJnrLIJXJks52kulPkV3k4Q377F2fwD81C2sz0GGAVDQl7pB76Z3JHyUuRpp24t6kXNF0oOqijTVYcvMoz/vWTvbueoIZv0TS8DB1lS/halJlbaJp0tNxVd9GCX1I1VUBTs0jhM1L0eeLJ87UxF5oOeJjqhinY7sSBKIoUfvQJz57TDJ/UeVOCp300yXzbwPIk9zM8eRAPvuhP3rLzke3nBsO7EbWYYE1iT4/qpK2UUOKhIYSMowCXbWdaYTqGuoYhCoQmgghK41TqDebvO7tL+Xjn/xLErJeV3GgKcwuJopYSWpGXkC9YTOSdxjPWxTrCaYMjR8Owc9WSxOvQOK7T+Dc1MQakxXNNL6RVrTYqjhngd4sKal1r78T/fIujBOTJBxHrVEE3Rns/g5IqZRDPpD+eoveoo+1v0j10R2U9+8hNyWqYD6mAEPNjbTQfAd0afY1CHQbXZ38cLxAk6BUgjld4jMp6KvllCjDC4eMVO8launPteiiJfewkhqw8YyzNn/ks1+ekwORFUvZgRFpMmE2FJnU4/G0h/a+7fasBYV+fvtJX/vU3/6Rb7uJ8IuHtyOXdsKgUq0QxAPZsZtRk/sRRYNSwWz/UpL+hlv2ki1Jh3fNxmV8+/ov093VrSqXStSi4MOskhMOARIFzE3bYWzCZ3LSJF8xKeiwpQe+fyIcHgTuHse88iGMMWnIZVT5GzMTWoXGBKR7cXM5tOen1EhBttjCdD060wlyyTSNVBLf0Fnh2PQ6FTTbxWqlWOz3Upka5c7tN2M3CiRlFCBw0NWgkPRjlBKHKsNLpiKqACp7UWsSYRob1kGiKRM1gzpPFhOyW0fHWNGUh9mggMMwDft9f/V3Xzr/hS/Y/pwKCh3LijwdSbIr//wP3/rE41vPmu8qPjmTma9hRFxhavEnlEb1HFcFZXPyICHE1NUZzoCG8yayuvnRf/oAb33Hq5g4OMmW+3aweNESNq5fR7KUhtloZijcXQDdodq0GR8LmD2YolpIKE90sAP+awXcsgHYN0vH1TMMHEozEzg0Gi5upYJW2Y1m9uKnOwjOkIETCSsctJRLOqOrafqa6oNoLEnCBstBc1rYDiT8DJckT8Cqz/Ct+/6d2enDpE2JuaS+YeNrQsspILDVZ6oKclSVVlTjaqbVx1W/E7YdJJsRoWYV/cT0nwpA87GbBPPrTz7lwY987ivf1Ay9+JxKki0EyDMTNbz3hK987C/e7zp2MrYAR6ZeRytwqZg43PyKKKHmxhejETw5GPFOi7ANdfd2ctPPv8zhfYf4kz/+Mgd22WrA9+KLTua9f/A7bFy+AaVgL2PsYpX0Fo5mU667TOwLqB3ooFZMUgsMhJnh+pVw81oou3DBnbDisM+s61Bs2hTLBYrVpgop7IyJ5oZXtdGpkemxsE2fSqWAl8+rmYf+zgTr+1IYMsvi6eRaHbwpeTJabpwv3fUFJscOqoVtsSQyRxIOWQk4wtgjLI2LUVTCvIoqXE3Xq98Lq6jz7iU200cOKVuJROvPP/apL5x+wQW/UlFDdeaeqSzqF/7qT96w7cHNF8ah09MDSFRAi0b/w4kQQ6lfywaentDp6MyqNDhr9bJh1SmccfpG7rptGyP7inTm+ihVSgRGnXNPX8bzLzuJi19wLjmrUxHjyUyGKFmKRGqx1GT2QEDjYC9OIUs9MMlnArYManxnBUyZ8KJHYf2MqOxAUyqoUsrQoaV+fOqiYilXgCvavlD5f5xrs+OjzBzaiZ8fo6crwZq1q9DNJA0txRpnKW9P95Pv3M3nfvoZirNTiqFHsT6LdVCDRbEShBz1QMW6WrzhFVVLxaoIUESPp31jUV3UUaldrMdp55zz8w9d+flfnSzqsazI0xNWfmLpZz/0VMLKC7lDj6yNxLshjWpT8Zb/9hteyEsuO5eB/m6wLfzxIfZvgx9fezdjY6NqZsKUQRytpWQ9HL2mdOHWn3IGf/b+F7B0qBe73prby5XF8WKlQPGgTuvgIG4+SzOwKKQN9vZo3LwE7kvDG3fBmgK4SWhloaL7jB4eZ//EKFVhJctmyA0NY3V04jZBNhkKxTpju7YRTO2jI2uydNVKvESOZqKfl7k9vDbt8IT+MF+88YvUagUsJRoVrjCE9Z+IVzaeM41WNsMygLiaULxAbdq0E/bHDU4h2+vqmv3I5770xeWr1/7qhJUXAEQqq89Imv17V/3zJTdf9x+vC2QlbcEtHkSef7kdIKq4QblS4/TzNvEXH7uCs89ag+YIw6FHo+oyM+ExuWWQ2RGLu++8g5HD47Q0i5Y0NyQaq+0i33qMge7LOOvs5Xz0f22iM9eJ3QoFkgMnZHkuVmcojJi0RvppFTtpBUkKKZPxTo3/GoKHOuDNkwHNXo1HlkKlYLPqa4cIGi1agU/ZqTNFk9qKQTLrV5Pyk+glKIxXyO/bCdMjDKweJrt4CV6imxOMLK9papzYXebe/F382y3/hl0rkkxZapFdlDnnWvXR+kY4ixe+LkdGUc9EdZD5ha64wq/WNoOXv/5N3/29d//RnUeTZj+OqLIKehaKKj8pizlKRjOX8payGFI4E3oIkUh1RZ7djHjMXHIx2Z3nON2ffP873jmyb89GlZYuuMU9mfCARFq56ncCqrUar33r5fzlx95KV5eBV27SrHhUKz4T9YB9jSrewwbGwROZLPh847YdlPQyRmsEvz6F59WpO7vJWL3o/jm8/lXdfPDPTsWVXXPXQHOTBI6pFK0KlSmK4z71sT5alU7qXpaSmWCy2+SGJfDwUrDXBXjdIoeps+mqGU6501YZiy1yTQ7sL5c4rJVwz16N1THAwBTU8g2aM0VwS/Su6qM/mWG5nuYcX2elb9M7UGJ09SHuuu927rr+VjyvgZUUcURxreGMb3iTGZCwZa8oWqMJeTXiHT1Xv6aaHBor167b9ol/ufprhmUVCSjrktaaqqVfE7ptM0FTpFBjQeWuGt5T6eXGp+1JV3n8RpuGzJOsiKaRaAnRnUlasSFGWnaBTwcaXTse2Lz6K5/88Lsb1WpXnPbGRR6pa8yTm8R7IZqqir7yTS/mU599F/Vkg6o0u4o25Zm64gzZ3/S50XdYcaBA765lNAsbuWX7Fm7b8UNSqRSuXcNpTOI6s1JCYCB7OR0dWd71Tp03/M6lNBoBRpBGc7IEdoKGP8tUeYLiqE9tppt6uZu6I1PqCXYHDe7Keuw5Y4DWGSmQrLfo0XNzg2xRmvoBLdPAs0TTq4ItdN9rF5MqGxjjOskxDfbl6e3W2ZTqYHlgsjQNWQ36nAaDJ7ZIXODx8COb+cY//ztjh0cV/VTMTqWFy85SLFaZjOKPV0WhCDrxUlLUtMrlcqUPfOQTXzn53HP3EUqyV2K1bWEvlJ0tqXtI7GwYOAtULo9pPZ6OBYl/R8m0x11ezUXEopMOEZ9qQEbUMPVYEVOj87p/+8rFN333m68XoM1vd7U13+J6iTTHWg7L1g1zzY/+noHBBI+hs7zukMpXKUwWKBdqVCt1DtVbNPNV/OmA8sFzGJnq4bqHHsPo6CGoj1OpPEyt9SiuM8HizIVkrQHWLKvxqX94Bf1DWYIgieFn0JyMKnaV3Skmp6bIT3qUZzKUS2lu376PR/ZsJ6NrpFZtYOySi5g4YwmN4QREDT1VQZVLWVgo1fiLB40W7JkFS4pnnVhjOmccgHNmPHql2Nrn49k+HVMFrNo2OhebrL90BeOVcb7+xW/yyAOPkRSWZTUWo1hKohGJaOVzXgc1THNVcBKOU/32m6649s3veu9dYjmEg11UHFRFSKMeiNI2tITBMDBx2qTHIlKXeMLziCmkObt/TAtyrFiknMaQJl7gYtmQFMEh3yMtlJm6FunaaXT6nt/1ub/+kzfufPjB80Ife2ThLAaNHAoh9/+7z/8Zb3jzC9lKnZRrs7pcpzhTpDheoFJsUKzUqJcblCsNSuUatZkhpveexvVbf8FkbSctRcordYgadjBDd7CIbnM5uVSa8y7J8DcfemnUzEtiBBnwkkp1aiY/yejILNOTLgdGWmzePk6+YWO3XPo7ukl3DJJYsp5HTuxjV66K7xngBFjCt+75pCs1MlPTmHXhnJeRVAMLk+F0F2u6elmc6yNpGtRNnZoL3c39HHz8TsYKFS47+3TOeel6Kk6dL/7T13nsse2kpfCmahxRZVlNkIWNOjmj7cMOYkg2nnnmfX/1mc9/Wzf0knItInsahK5FN2jIxFgCWpqJI3IfnQ28SLww3kw5auxxXBfTBpAnWRFRpPI8rFrIkiRzMOnAIC2uxhfxIU+5ms781NjAp//Xe98zMzGxTEl3RjMh4T8eltSaLYc165fxHz+6kmxfhp1Bk5PqVbxKleJkgfxkgUqppch1y+UmtUqdckXcjknp4Cau3/JDRmplWgO/jWnYGNP3Y9d3I7q1WYbptQZpmaN8/h9fy/nnrlYS7KYutBKWGk8oTpfYv2+cAwcrbH68RFkUtTFwWj5GQpToNZKJPpb0DfB4OmC/nqaY0CilUgSGFY4Xalb4t4kBEP/mBSxq1jjVaTJs6Qz5AUsq0rL3qGeL1ErjPLjzAEs7B3nJi06ib2Mvu/ZM8PnPXE2xUMC0rLDuEdGbq2kCmbkx2jhANI2+ocGRj3zxS1/uH1wyLeDQDCp6QDUQ3lOPhgSmMvWQJXQtbTLsT8t6PKWLOVosIkZARhLbA1Y9IOHZpDyDlObPxSM5kaDzfDofv/8Xa66+8qPvrFbKPWFtWKqJUVweQLVa54o/fA0f+/T7KNGg4TZZVCtRLVfIj82Qny5TLrUolapUKy31++VSk1rRpTa7khsfuIfJqoeeHKTRHMO2hZ25gRHUyDBEv76YbG+Lt77lTF77ytMwEhaGYSpJMCGRmZ4os2fnKI89XuLxAy3caKM00E1slYgJYYzFcI9QMdSZatRU46ylJu6FPCdQpDSqd6TLaKFBMmkh+7V9mSQd2QRZ0yATQNqQOdgWtVIFz2vRqHsM93ax7swh/GyCW255kG9/+0dKMybOXtQEmYpD4mEQgaxOtjNXePdf/s1VZ1xwwR7hOvUDFXcocAQ6dcOjKQ05XxI3HVvEk9sC03hx5imtx9MCyNN1NZZNKtCRS07k27MSj4glESmzO66/7tRrr/rC77VarUxISj0/3FKvN/nMVX/DK1/7Yg5QJeuU6K9WKBfKzI7NUJiuUCw1KJfqitC/Ki6m2KRcbFErDHLftr0cmpmi5ZXQg5zq0VeDPK4/Q4ZFLLaWcM4FfQwtSfOq3zqDdWvDnVzTlKtU4/D+PDu2jfLAo0X2jNYYXtxJS0uzd8IjmdBoiI5NENCbSrM6Z9C0a6rLqtiaI4IZR9UpRE9AJ2mYpBNJ9aOm13MmqZRo1IWjLk7LU/LvQvMmYYVnewwOdrLy1AFGpqtcffX32bv3AEkFkvAmdZBw4C7st6RSqfqb/vCPvvmiV73qUQlGxXJI3GFEjTjNp+EkaP4yruVpuZgFVuSorsa2MeOsRqwIXggSXXjeBSQaHWJNfvDv/3r+jd/95ut91wu5+RRxnEe6I8O/XPVBejsSzPgOa5YP0p8xyU/MMDM6rdiXSxJ7FBvUSg1K1SbFQp1CIaCU7+LA2CQP7N9MwuggY/ZRdyq0gjpNr0RG6+WEgUVsPKWPWqvFxrUr+cO3v0CNO5qmqWKGrQ+NsuXhSXY8UeL2rXfxsQ+8igNTnfzsoTw9PRb5UotA1xUXW4+lsTplqn6I41pU3RRe0IVlZtFEKNmQTMRQQDHMFmmzgZWYxNDrJKxARfa1UplmQ0BmkkobVEtFElYXp5+9goLdZM+hw3zv2hswrPnxTJW9KM1gxEI5r3jzW6593e//wb2R1aiouCMCBwYNsR5x1iIUbc/GtTwjgBzNinQ9gR67GslqjECR8iU9h5TEIwRkPAlcQ5Aozd3vffULF9/2n999jed5hkTpEn+ceeZa3vvuF6KZGarlKrt37OL8i05nzYphpg9PMDtdpliUmKNOpSwBapOZ2QblgkF+JqXWFO7adR+poI+WL1q4AY4vsgVl+o1uhrt7WHVCN+WipBxJrvzESxnol4wm5Ce57da93HPfBDO1Orc+eDP/+KG34Qb9/PC23WQTdtRcE4CYmIGF5WqKDC+X7WSylmL3WJ11g0IpIRKlCXSJbxTTEZhOicOjW9i0dpihxRlMS1yFo3Z6Zip1EgmDZLmppNgWrx7CyGmYPT5f/eoPqFQqSuVCXZWqAK1GHrzf+t3XXvem97zvLnEr4lKU5ZBah0Zd4g7DoukFtDwNW7KW2LWU1uKfOb8yfVzX8mwBEluRudqIZDVODRMXS+IRSX3NGCRt7kZZE8hd89lPvvgXN9/4Ms93DVG9fMkrzuXTX/oQ6UwH5UqeR+97kCcefISVy4ZZvnyQ6dEC5XKNiliPUkO5GwFIMZ+jMBuQSGncv2cX+XwRR2+Q1HqoeXlaQZUevYehbBcD3YsplpLsbTzMP3/89bzoeZtoOQ66bnHLTXt4YMskY8UCN2y5mY+8+wpOWnEC37n+AbKpUHxQBMRECUbXEjh+SqXLZjJNxUuxN68xmEgzm0iSzw6oVciuSp0h3SYZVMlPbuOsdf1090G9VVNVrnTKouW4pJMJGjN5nIJJx/Aghm6w+FSdb//Hrex6Yj+WMNREMxm6brrPf/nlP3n7n//FrejEVmPerXg0XEsN3bck7pCRNSuLe7SsJcooj5zumnNoRz54yjR34X/TNi+ijJ7URjIZ9Hod085gSuqr+yScFsnY3WhGKCuiMpywTtLxna9+4ZI7b7juleVi2fqdN1/KlV/6Wzy3SuDUMdMG06Mj3HDNzZx5ygnUZBO/WKUkqW6pSalYY3raZna6m0ajSSaVYMfhQzx66DFVQZUZzppXEftEp97JUGIZgdbBgeY2Gn6eP3nLK/jTt71YrUmI/NetN+3j3vsOU6HOaP0JXn7xxXgVjV17p1XAqYjsjDSVzkXYRhqvlaSiZdXRn+nuYzbTTTbfYrInhXduTtSF0Ucc+m4co29pjo7uNL2tMmvcgyxtjmMGLTX4ZMjooidrpU2CkkGut4tKyWDZaXDrzx7ijvseUCuXchZN3XRe/Lu/+8M3v++9YjlUjUMFo1AT+rPYrVhJWr6OLSltoo4rBbF6HX/Dhog0LZ6kPZpuyHMBkIWuJtqjUQW0chlZC7GCDFYjIGE2SfoijOiTFpCIy4lBIpbkR1//2vnX/5+vv/rSy89Iv/P/eyEP37GZUr3C2//yneSSAXddfy+5ZBK32SI/U1XqU8VCjWKhwfhEkvy0FIlcrESCfLXAndsewtK6qXklRU4no3wdRo6c2c+EM0bLq6OT4dxTl/KvH3uzIr0zEwkeeWCSUrPFxtMWMzyUZetj03zzew9gdw4zsWg56dEJGvUmjy9fS0sYyKerikwGNdhkwKkb4OT10O/DyAQ8XIPn98FouIZBjwN376enVOH0/D4GnVm6cxbZRUNkUyZdbhE9KUteGvtun2bDpUvZenAvP77j56TTFkbCbLzitW/4wWve/a5728GhimAedSGM1IVCO0UrrWFrdRxJaTs78aI1hrl6x7H6LcfAxpz1eqr3n/TeAiuiXI3EI6kUutRHJGh9GiCRqnPuv667dtPBbT97/SsuXdUbtAwG1w1z1qWbSNhNdj14iPFDBTIpg3KpRn62ysx0i4kJGJ1w8eymUnuS2MAwE9y7czf7p0bUFSejlrrm0KH3KNqXkpfH0jOYvsmSQZOvfOIKFi3qVK6jXLEZXtVNNmPSrDZ59KEJrrxjgoeWn8LynVOUHJsxYQIZ6IcVvZCLUhIpo5pJWCnqAh2ouvLmUdjRBFHifOlS2N6A1QY8egDV9nUdtKlZTpyYYmlHN8ty3SzzJsjlZDrco3VIZll19jLOT+94gL6h7vzr3vEH177oVb/zuFQEdLEYUbxxLHDEQWmzib8w7ngmruUZxyDtSDkWSCRozUWWxPexGqK6JcNVkSVB0uB5SyIgyR7c9eDqc85IvH7FqqXLZXawVZ/Gr1SY2TfJnu3T3HLzNvp6F5NJZZicDauorXqToOkr2impLSasLCP5aW57/D4kPrbJq0KTAKTuNxTlpaWnGM5l6Upp/PEg5Rq0AAAQXklEQVT7X8Dpp6xQ9YtGK6B7KEdndwK3bvPYwxP8082TjHX3sXr3Th4Yn6Gi69iZHEFHJ14ui2al1Y5EkPDxN26E558PUyUQeY7/GoPlOThtEPY0YJkGP3sEo15Hl2praZKlpUk6Gw6LUgYbh5fR02WQ6wno6jCpTzjctXU3T0xMHnrnn//ptadfdNE+cSXt4JBh1thy+GCnwZY+i4Cj2okn9Y7nAhxx/POMLMgxUt85S/JUIPE9UqauyvLiblRsInbftNy+3uSBVw4vzp6bP/SItm/bflYtW87Ox0f5h7/7KRdesp7hxUkKeZtCvkWp4COZomQVkjXo0hzRdG7aej/TxQqONo0ZJEnrWWpBCYIkPakcJ/YNcmDmMO/+/Qt52YtPV+S6nqOR7UvTM5jGbbg8/tAkX//P3eiOy+NWHw+nl4UMLZ1ZSPREyzPiXky1esFQDs5dAjMzkDXDyfe0Bw+0YFUORmx48Imwb5NwoVqDqTGoF+jW67ym02KpadA7lGRwOE2j6gc7R+zNF77hd3+0aPGSWUR0O7QcdVOj7vo0dIOmuJUYHLoeupXnGhy/FEDa4pG5QHsLaO3pb4eNKZaklsKSmMTVSQoDgsQlyE8Um3gRWDL23uf1GTte2jtkdT64eYRWoclD9x6kfyCL6zjMzLgUCw6FkseeA3mQ9LC7l8HOLkUPsW1ijLt3/wJPr9CrLVKT4UW3iBYk6UtL9d+laTd5zxXn86qXna0qqRKupDoyDCzpwLd9HntolK//514c12HCzzGW6MJyAtzuNFnLxBShZ8vHNzPYHf3Usn3MdPZTO2sIyuWQH6TpIVITZsVj0V3b6PaaWLqNJdtZmBTKTYoll8DVuUyb4KRkg4El3XQvSpVzgyfeOHTaefdG6WtdYg2p0IuirFgNN9wzb0nMkW3iCDgqCdwF6Wy8tBOtFx29Efd0LMMzymKO9oFtYwHytowpzoFE3E17TGI0SOjSu9FJiTVR/kCAEpARSyJWxWyNLz9hzdTL77jh9k0drvREHCYnKuRnpf7hUC56NJrSAQ6YzttkzKwi4NVcg0Ktzo+236jkPvrMThp+hYbjkTO6wmokPn05kze/5nQuv/SUcBRHyuOpJItX9eC7Pju3jvP1/5zAblRJCL2R8KzLdHkgo4YGetpSmxUNx8LRUwSpHkpGLw+tX4e3YRgqdrhDFSQ4fe8u1h58kKTXwAxs0hZ0d5kkdB+3Gg47G1oCK22xdMOyx1dfcOEN2f4lh8RaiOVQ4NBpIH2V2GpIjSONHQekR3ErMTjUNXy0IaCnA4xfKgZ5injkKUESeFgtKajZJD2pSmvzQFHZTkBGyvVB4GeN6iPn6xPbX1gYn+0fHy8xNd1kZsahXHZkBUW5Fc9NkiWHqWoVBrV6i9t3bWa6nqfLypB3JtG0JAPJPqpuhY5MkvXL07z0Radw1mlrwRAuDxM9mWTJSlmh8Dm0a5arfjSmKpyia9sSYURb0rMUCTNB5+JOHh2ts2XHDJqVIpPtoCvTzdSyIWZPW4MmNfeGj54wWFkqkLz9RxQmD2KZXQwPD3POusUMDwT4Tks1cAzLmhnccNLP1l5y8b2aodekTC4AEWsRA8MLaOpm6FKSkqkYOJKtHA8czyYoXQieX9qCHMXVHBMkblrOKjI+JcvvSQOSnhsCJQhIBxopEYMMNGVV0qadHyruvOOysV07z5yZbKbGpxqUy65iDZLJXt9NqlqHFJhkd6ZYqfPAvoeo2LWIF1kIX3SSUuDCobc7wZLeFG999YWcuG6xKoLploGRTjG8vEsxEU3ta3HzjWXyh53wc6UlEPjsKh2kP53B8nRmXZ+7x2fpzKRYnLXIJgxMK4WeSqr02dIlsEoo0cFU0CRfKPHzRw6TyyzilStOYVlXmonefc1F6xdtWfu882/JDA5OotHQAhrRfVPTaAgwDJOW0JRYAS0hL5BGs9nA/XWA45eOQZ6uJZEUWOokUkzzJC5xMaXqKj0cWSERoIjLCXRSyqr4pCTjCeReI10Z2bVy7713P//wrgMn10peUnTvAl9XFqRDCwEi094zlQq3776XxZ3dTNfy1O0qg1YPY40CiWSSFYMZVizt4C2vuYjuXBrTEroonUQuTd9AB7WKR2HMZ/+tJq2pLHpCo+CUuG7/DWwe38PlJ17Cut4+Rae9q1wmnfZFV1GR61crFVr1hpI57e7MMF0qqxHK4aF+1q5ZysQUPPZolcuWbWr1rO14zLq4445VZ514gEDFFsKu2dB1VSZvaj5NcSkKGFGGItVR3cQ1ErhSBJM6R1sqe4RbeS4sx3PmYo4DkiPqJAKSRgpDQJJxMSV4lbhEyEF1oS0VtXIhWPBJ+WJVdFK6T0pZFp/U+I5tq3fcc9/5B3bs29SstHKWl6I3I/Na4b7uTKXArpmdipN1qlik6hToNweY9ar0dmToTOpcftlGXvg82ZYKSCYTsqtGMp3E0hK0qgb5gzC6WUrhOvePP8zm6QeoeQ3W9ZzISYOrBQ0cLs6QSgWKNsIJfOXiJmaKFKo11g0PsLiviwPjE0zl82xas5YNq4bp7OiujswkHj/90rPvHThnaB86TS2g6cu9AEKAoSs30jICWr6leDcdiTckGK1H4Eg38RaAo70QFha3nkGl9HjxyHPiYo4BkthCKZCkt6NJWV56N40KRqaB0e5yZNzGEasCCQUUl6QvbigMaJMCEk0jKUDZ9dDWJff85Gdn7nhox2nrM8sHVw8sox60eGxiBzP1gyzJDXD//u0U7SnSegeBJoGhzjknL+Xtb7yQdMrAFDooGcyxDDq7pYSuU95nML7NYGzE466Rh8jbRYZywtMXMFud4pQVy8k3fayUT0faUBPyTc/DF2YDpWqlkUyaZNImliGCjB69Q31Ty05a/ciyM0/akl68eEyAEQhRgMQVBi0vBIcUaRUwAlnwkEab7GW2uZR6Gi/dgSe9FSmfNzYQtDff5q745xAcz6mLWYjEhcW0uCwvIJlNokuG00iG1kRcjp/AjK2JJixOTpjxCGDkuKvsxyMpIAlkFlYjWSiWsntufuSk9Li7cerQxPpd+e2djx64n/7sEIemJpiqH1aLA4u6BjjlhCGueM3F9HSKMXIxraRqy6c7UnT0pWjO6hz+BRx+wmW8WWeqUqJYqjJdH8MzWizuG2Sgs0eE5ejMWopBsWmHfKxScNM1A0s38QOXVCZRHli9eOeS9Su3DZ+5cYeZTtYUKITyLKAlwPDlPgKEPDYt7EDDlkA0MHB0Gzd2KekWntQ4+lr4bb2VuaGf59pqtJ/L59yCPIXLUeNZcRoscUneQhdrIvWSVkLW6bAELATzJAtuWJ9UIJH7Jz32wtfsUr27fnjvSVu3bD5hy/1blh0+PDrg+Q09kzA4+6RVnHzSMMuWDZNIp/D9sI2vyT6NDp19Scq7Mow+6jNZblExmkzPVCgUiwwOpMlm04pXTHiUJLMROjfPE81gXZHze4HvJ3Pp6VRvbqR/9fDuZWet39kx2C3q1rZuhNZAPY4A0f5YKM6E/U5ZDA1HQCGBaNLGk/qGWI1eB39BvPFrAcev1ILEQFlgSebcTtwJbrcm0l6R2MRLYPoeZhCEGY+rIfodITOH3GskInYwAYeqUcrrQg2GjqW7jY7pkf2949u3r6xNjq3sz5kDpuZ07T2wp/Ok9SuNxQOiG+OTlFUDYWQv61S39zOVb1Bu1aGokc8WSVlgSddV1Kww1Y8jZEBWqmyksqVER3Y6u6TvYPeaoQPZRV2zyZ6stJEdGRxTS7chMNS9HgWb8noMBlM2t3UcTYBh4Bo2rsQaiRTecayGSh5/lZbjVxKkHivgaQPJHECOZU0kNrFlOyFyO0m5Fx5dXwFBipoyNG5pch/Tucjj8LmyPiLIGUgnLvrRA99sFqe6tm7f2jXcZXUvyrDErtQG0xadnT1B58SDZia/J7D25Wes1E6DVbN9zgMX7XE605l6stMsJ7Md5XR3z1RucGDM6ukqZro7SslF3SVNSrPRj3osfNwhMOR19ViBQSyEPHdxrPB9R4ChC9O4iRu7k0QLL441jmc1fh3g+LVYkONlOQtjk3QBvZJAPxZQArEsZgiECAQCiCOfB5iBgan7quFrBrpauJfRSFleM+Re5OvUumvESTGnKxB9YcXhG27MqpEQRRcmpVhdDa0Jx4wwM0iz2JWMWxNZiBAsYhFCgISvzT3XXFzNwD0WMDpsfMlQRGH2KLHGr81q/NpikKNZlKeyJnGmI25HgCIpcaKGLhYlaWOI63Edpaph+ham3Ft+CAYBgMzhCFjksREDw8cIdEyhJxWgKOIeqXCHuoFqt75dpKLtOyvCJOE+UqQ9IRew58u9UMCH964m4BBNZgFMBBpNjx57SllefsfVRRRCxzUtPHElrQSeWAw7iy+pa6MHPw5CowylPc6Ym/56LlPY46W4v3YL8nSsiQSxC4HSblEsA92xMSRGsUwMz8XwzBA0plgKAY+PYQh/XAgOAYXhi7Sd3AtbtlgQAUgEDgFIJCo29xVlCD1i1FInStRfRapOLIlYDF32wSNw6BKzChGyPNdxRUNA7g1RBzEVN44nMYaVwHM8/NiViMU4DjD+W6zGf6sFOU463F47OSpQkiZ6oo4uWY/VRHcsDLEqAhbXQTcj0PjCiOljeDq6WBbZbxJgeF606yTLCyHNunIIc/qC0RdUlGlmCBIj0iUQMW5ZpxGgyGPdwBOiQlFv1b0QDFIWiUEh1sJy8JwUvmQldga/5eL/JgDj1xqkHs+UHcXtHBUosqkgqXGyiF400CROaYisiokuYGkZ6K6lNg6EMlUX6yL3roDDQRewCBB0D92NwNHGEC6NW5X2m+EoaCgkHlkSU+pgsmslgBHrYeGbAo4IEHLvJvFNBy/p4QsoHBc/7eBL4NntEbS68SX4jGOMo7iSOYvx6wpCj3dufqV1kOP9409hTdrd31z9RFxPIoEmQJE4xdLRYrDElqUhYDHQWy1lMTTTQLdtJauiwGHL9oCjJF6E9009l39MHrd/n1jlJBFy5ylhcc/Cl+cCEldcRUJJ0YhFCZJJfHEfaRc/thQxKByfQOILAYZtE/wmAON/lAV5msHsk6xKDJbYspizaBKvCFecyKiIK6rqaGJhhP1ab6A1ImCI+qqAohnpyOvNBQCRvrLo3UfKZrHCmcji+emwsi4WIucTCCCk2i4UZuI+3D6C2FL8JoLif1QMcjwr8xTuRwEmDmrbwTJpoIl1EcAYBpq4oxg0RiV8TYAjHyBAeqrvICde3hcgiOye16HkcBQYxELIawIIsRJD8lgGxY5uKdrdx39bVnK8473w/f9RLuZ4X34BWJ7khuSFGDDyeCFo5LUYOAocIcGzugmI2v99OfnxcwGBPI6BII8XgkFea3MdMRjizzhiSenXnaoe77g+1fu/UQBp/0OeAiwLgaNAIy9KDBMDR+7FNbV/ZvxcLED76/FziR9iIMj9mVG5e06cZf55u7VQH/WbBIr2v/03FiBHQ/1xQNMOnIWP1cfFQGo78Udgsu3JwrXF31gLcTzr8v8rgBzrjz0KcBb+6rGOw1Pur/6mWoXjgaL9/f8LItduoFASdkIAAAAASUVORK5CYII=",ss=oe(92310),Bh=oe.n(ss),Kd=oe(10148),Xl=Object.defineProperty,Ru=Object.getOwnPropertySymbols,mh=Object.prototype.hasOwnProperty,ug=Object.prototype.propertyIsEnumerable,Zg=(he,Me,Re)=>Me in he?Xl(he,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):he[Me]=Re,cg=(he,Me)=>{for(var Re in Me||(Me={}))mh.call(Me,Re)&&Zg(he,Re,Me[Re]);if(Ru)for(var Re of Ru(Me))ug.call(Me,Re)&&Zg(he,Re,Me[Re]);return he},dg=(he,Me,Re)=>new Promise((He,dt)=>{var vt=Tn=>{try{Jt(Re.next(Tn))}catch($n){dt($n)}},At=Tn=>{try{Jt(Re.throw(Tn))}catch($n){dt($n)}},Jt=Tn=>Tn.done?He(Tn.value):Promise.resolve(Tn.value).then(vt,At);Jt((Re=Re.apply(he,Me)).next())});const mf=({title:he,description:Me,placeholder:Re,hideUpload:He,hideInputBox:dt,aiIcon:vt,userIcon:At,children:Jt,taskData:Tn,user:$n,name:Cn,code:ci,globalSetting:si,authority:Yn,isShowComponent:zr=!0,DrawerProps:ie={},FetchUrl:ae="https://ai-data.educoder.net/v1/chat-messages",FetchData:fe={},defaultGetData:pe=!1,extraEdit:ye=()=>null,isShowDefuatTips:Be=!0,isReview:Xe,onOpen:qe,loadingOption:ot,isIntelligentAssistant:Tt=!1,intelligentAssistantItems:mn=[],showEditableBox:Rt=!1,showPreference:Qn=!1,initMessage:_n="",customRequest:pi})=>{var Ci,ki,ar,Nr,Er,$r,Hn,Cr,$o,oi,ls;const[Xa,pl]=(0,we.useState)([]),[ml,Va]=(0,we.useState)(null),[ll,Xs]=(0,we.useState)(!1),[ha,Ca]=(0,we.useState)([]),[Ts,el]=(0,we.useState)(!1),[Ps,Tl]=(0,we.useState)([]),ba=(0,we.useRef)(Ps),Fu=(0,we.useRef)(),fs=(0,we.useRef)(),[Su,su]=(0,we.useState)(""),[Bu,xu]=(0,we.useState)([`${(Ci=Tn==null?void 0:Tn.challenge)==null?void 0:Ci.task_pass}\uFF0C\u8BF7\u7ED9\u51FA\u7B54\u9898\u601D\u8003\u65B9\u5411\u3002\\n\\n\u4E0D\u8981\u7ED9\u51FA\u5B66\u751F\u6B63\u786E\u7B54\u6848\uFF0C\u4E0D\u8981\u7ED9\u51FA\u4EFB\u4F55\u4EE3\u7801`]),us=Su==null?void 0:Su.split(` -`).length,[Il,sr]=(0,we.useState)(!1),[lo,Ha]=(0,we.useState)(0),[ga,Is]=(0,we.useState)(null),[Dl,tc]=(0,we.useState)(""),ju=(0,we.useRef)(null),Tc=!!Tn,Ic=[{img:lg,name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",Authorization:"Bearer app-Z8HFAfducmnrr3zO9961jqgB",inputs:""},{img:Uf,name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",Authorization:"Bearer app-Z8HFAfducmnrr3zO9961jqgB",inputs:(ki=Tn==null?void 0:Tn.challenge)==null?void 0:ki.task_pass},{img:Wg,name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",Authorization:"Bearer app-Z8HFAfducmnrr3zO9961jqgB",inputs:(ar=Tn==null?void 0:Tn.challenge)==null?void 0:ar.task_pass}],zu={maxCount:1,showUploadList:!1,withCredentials:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:wr=>{var fa,tl,Oa,Hl;const Zc=(Hl=(Oa=(tl=(fa=wr==null?void 0:wr.name)==null?void 0:fa.split("."))==null?void 0:tl.slice(-1))==null?void 0:Oa[0])==null?void 0:Hl.toLowerCase(),ko=["doc","docx","md","pdf","txt","jpg","png"].includes(Zc);return wr.size==0?(Ie.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),De.default.LIST_IGNORE):ko||(Ie.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),De.default.LIST_IGNORE)},onChange:({fileList:wr})=>{Ca((wr==null?void 0:wr.filter(fa=>(fa==null?void 0:fa.status)==="done"))||[])},action:`${(Nr=Kd.Z)==null?void 0:Nr.API_SERVER}/api/intelligent_imports/upload_file.json`},kc={maxCount:1,showUploadList:!1,accept:".doc,.docx,.md,.txt,.pdf",beforeUpload:wr=>{var fa,tl,Oa,Hl;const Zc=(Hl=(Oa=(tl=(fa=wr==null?void 0:wr.name)==null?void 0:fa.split("."))==null?void 0:tl.slice(-1))==null?void 0:Oa[0])==null?void 0:Hl.toLowerCase(),ko=["doc","docx","md","pdf","txt"].includes(Zc);return wr.size==0?(Ie.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),De.default.LIST_IGNORE):ko||(Ie.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u6587\u4EF6"),De.default.LIST_IGNORE)},onChange:({fileList:wr})=>{Ca((wr==null?void 0:wr.filter(fa=>(fa==null?void 0:fa.status)==="done"))||[])},action:`${(Er=Kd.Z)==null?void 0:Er.API_SERVER}/api/attachments.json`};(0,we.useEffect)(()=>{var wr;if(ju.current&&ga!==null){ju.current.focus();const fa=(wr=ju.current.resizableTextArea)==null?void 0:wr.textArea;fa&&(fa.selectionStart=fa.selectionEnd=fa.value.length)}},[ga]),(0,we.useEffect)(()=>{us<5&&sr(!1)},[us]),(0,we.useEffect)(()=>{Tt&&ll&&Gf()},[ll]),(0,we.useEffect)(()=>{ba.current=Ps},[Ps]),(0,we.useEffect)(()=>{var wr;si!=null&&si.setting&&pl([...Xa,...((wr=si==null?void 0:si.setting)==null?void 0:wr.big_model_users)||[]])},[si==null?void 0:si.setting]),(0,we.useEffect)(()=>{var wr;xu([`${(wr=Tn==null?void 0:Tn.challenge)==null?void 0:wr.task_pass}`,`${ci}`,`${ci}`])},[ci]),(0,we.useEffect)(()=>{if(pe&&(ie!=null&&ie.open||ll)&&(fe!=null&&fe.student_work_id)){if(ml!==(fe==null?void 0:fe.student_work_id))Tl([{text:"",done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]);else{if(Ps.length)return;Tl([...Ps,{text:"",done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}])}Vg(),Va(fe==null?void 0:fe.student_work_id)}},[pe,ll,Ps,ie==null?void 0:ie.open,fe==null?void 0:fe.student_work_id]),(0,we.useEffect)(()=>{ie!=null&&ie.open&&_n&&(Tl([{text:_n,done:!1,key:Date.now(),sender:"user",fileList:ha[0]},{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]),el(!0),setTimeout(()=>Vg(_n),300))},[ie==null?void 0:ie.open]);const nc=()=>{Xs(!0)},Wc=()=>{Xs(!1)},Uu=()=>{sr(!Il)},Gf=()=>dg(void 0,null,function*(){const wr=yield(0,Hg.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(wr==null?void 0:wr.status)===0&&Ha(wr==null?void 0:wr.number)}),Lm=()=>{Ke.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:we.createElement("div",null,we.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),we.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},Vg=(wr="")=>dg(void 0,null,function*(){var fa,tl;if(pi){yield pi({mes:wr,chatData:Ps,setChatData:Tl,chatDataRef:ba.current,fileList:ha}),el(!1);return}const Oa=(ha==null?void 0:ha.map(Dc=>{var ko,hg;return((ko=Dc==null?void 0:Dc.response)==null?void 0:ko.id)||((hg=Dc==null?void 0:Dc.response)==null?void 0:hg.file_id)}))||[],Hl={};if(Tt){Oa!=null&&Oa[0]&&(Hl.file_id=Oa==null?void 0:Oa[0]),Hl.prompt=wr;const Dc=Ps.reduce((ko,hg)=>{if(hg.sender==="user"){const Op=Ps.find(Wf=>Wf.key===hg.key&&Wf.sender==="AI");Op&&ko.push({question:hg.text,answer:Op.text})}return ko},[]);Hl.history=Dc}const Zc=yield(0,Hg.ZP)(ae,{method:"post",body:cg(cg({inputs:{description:"",name:Cn},query:wr,response_mode:"blocking",conversation_id:Fu.current||"",user:((fa=$n==null?void 0:$n.userInfo)==null?void 0:fa.login)||"\u672A\u77E5",files:Oa},fe),Hl),mode:"cors",headers:{"Content-Type":"application/json",Authorization:"Bearer app-Z8HFAfducmnrr3zO9961jqgB"}});Tt&&Gf(),el(!1),ba.current[ba.current.length-1].text=Zc==null?void 0:Zc.answer,ba.current[ba.current.length-1].loading=!1,ba.current[ba.current.length-1].response=Zc,Fu.current=Zc==null?void 0:Zc.conversation_id,Tt&&(ba.current[ba.current.length-1].text=(tl=Zc==null?void 0:Zc.data)==null?void 0:tl.content),Tl([...ba.current])}),Kg=(wr,fa)=>dg(void 0,null,function*(){var tl;if(Ts)return;el(!0),Tl([...Ps,{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0,name:wr==null?void 0:wr.name}]),setTimeout(()=>{fs.current.scrollTo({top:fs.current.scrollHeight,behavior:"smooth"})});const Oa=yield(0,Hg.ZP)(ae,{method:"post",body:{inputs:{description:wr==null?void 0:wr.inputs,name:wr==null?void 0:wr.name},query:Bu[fa],response_mode:"blocking",user:((tl=$n==null?void 0:$n.userInfo)==null?void 0:tl.login)||"\u672A\u77E5",files:[]},mode:"cors",headers:{"Content-Type":"application/json",Authorization:wr==null?void 0:wr.Authorization}});Oa!=null&&Oa.answer&&(el(!1),ba.current[ba.current.length-1].text=Oa==null?void 0:Oa.answer,ba.current[ba.current.length-1].loading=!1,ba.current[ba.current.length-1].response=Oa,Fu.current=Oa==null?void 0:Oa.conversation_id,Tl([...ba.current]))}),Tp=wr=>{su(wr.target.value)},Ip=(wr,fa)=>{var tl;if(wr==="edit"&&Dl.trim()!==""&&(ba.current.splice(fa),su(""),Ca([]),Tl([...ba.current,{text:Dl,done:!1,key:Date.now(),sender:"user",fileList:ha[0]},{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]),el(!0),setTimeout(()=>{Vg(Dl),fs.current.scrollTo({top:fs.current.scrollHeight,behavior:"smooth"})},300),tc(""),Is(null)),wr==="redraw"){const Oa=ba.current.splice(fa-1),Hl=(tl=Oa==null?void 0:Oa[0])==null?void 0:tl.text;su(""),Ca([]),Tl([...ba.current,{text:Hl,done:!1,key:Date.now(),sender:"user",fileList:ha[0]},{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]),el(!0),setTimeout(()=>{Vg(Hl),fs.current.scrollTo({top:fs.current.scrollHeight,behavior:"smooth"})},300),tc(""),Is(null)}},kp=()=>{Su.trim()!==""&&(tc(""),Is(null),su(""),Ca([]),Tl([...Ps,{text:Su,done:!1,key:Date.now(),sender:"user",fileList:ha[0]},{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]),el(!0),setTimeout(()=>{Vg(Su),fs.current.scrollTo({top:fs.current.scrollHeight,behavior:"smooth"})},300))},Dp=wr=>{var fa;if(wr.shiftKey){if(wr.key==="Enter")return}else if(wr.key==="Enter"){if(wr.preventDefault(),ha!=null&&ha.length&&((fa=ha==null?void 0:ha[0])==null?void 0:fa.status)!=="done"||Ts)return;kp()}},yf=(wr,fa)=>{var tl,Oa,Hl,Zc,Dc;return we.createElement("div",{className:as.editable},fa===ga?we.createElement(we.Fragment,null,we.createElement(Ee.default.TextArea,{value:Dl,ref:ju,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:ko=>tc(ko.target.value)}),we.createElement("div",{className:as.action,style:{bottom:-52}},we.createElement(et.ZP,{onClick:()=>{tc(""),Is(null)},size:"small"},"\u53D6\u6D88"),we.createElement(et.ZP,{disabled:!Dl.trim(),onClick:()=>Ip("edit",fa),type:"primary",size:"small"},"\u786E\u8BA4"))):we.createElement(we.Fragment,null,we.createElement("div",{className:as.text},wr==null?void 0:wr.text),we.createElement("div",{className:as.action},we.createElement(zg.CopyToClipboard,{text:(wr==null?void 0:wr.text)||"",onCopy:()=>Ie.ZP.success("\u590D\u5236\u6210\u529F")},we.createElement(Je.Z,{title:"\u590D\u5236"},we.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),!Ts&&we.createElement(Je.Z,{title:"\u7F16\u8F91"},we.createElement("i",{onClick:()=>{Is(fa),tc((wr==null?void 0:wr.text)||"")},className:"iconfot icon-bianji10 font14"})))),(wr==null?void 0:wr.fileList)&&we.createElement("div",{className:as.file},we.createElement("img",{src:oe(90034)(`./${((Hl=(Oa=(tl=wr==null?void 0:wr.fileList)==null?void 0:tl.name)==null?void 0:Oa.split("."))==null?void 0:Hl.pop())||"txt"}.png`),width:20,className:"mr10"}),we.createElement("div",{className:"c-black"},we.createElement("div",null,(0,xd.tP)((Zc=wr==null?void 0:wr.fileList)==null?void 0:Zc.name,20)),we.createElement("div",null,(0,xd.RD)((Dc=wr==null?void 0:wr.fileList)==null?void 0:Dc.size)))))},Hf=(wr,fa,tl)=>{Tl(Oa=>(Oa[tl][wr]=fa,fa&&(Oa[tl][wr==="like"?"boring":"like"]=!1),[...Oa]))};if(Tc&&!Xa.includes(($r=(0,Fh.eY)())==null?void 0:$r.login)){if(!(Tn!=null&&Tn.chatgpt))return we.createElement(we.Fragment,null)}else if(!zr||!(Yn||Xa.includes((Hn=(0,Fh.eY)())==null?void 0:Hn.login)))return we.createElement(we.Fragment,null);return Tt&&!Xa.includes((Cr=(0,Fh.eY)())==null?void 0:Cr.login)?we.createElement(we.Fragment,null):we.createElement("div",null,Jt?we.createElement("div",{onClick:qe||nc},we.createElement(ht.Outlet,null),Jt):we.createElement(pf,{src:Tt?_f:"",onClick:qe||nc}),we.createElement(Ye.Z,{className:`${ie!=null&&ie.open||ll?"body-overflow-hidden":""} ${as.answerWrp}`,width:(ie==null?void 0:ie.width)||880,title:we.createElement("span",{className:as.title},he||"\u5934\u6B4CAI"),onClose:(ie==null?void 0:ie.onClose)||Wc,open:(ie==null?void 0:ie.open)||ll,afterOpenChange:wr=>{wr||(tc(""),Is(null))}},we.createElement("div",{className:as["ai-wrp"]},we.createElement("div",{ref:fs,className:as["chat-container"]},Be&&we.createElement("div",{className:as.li},we.createElement("img",{className:as.img,src:vt||"/images/ai_icon.png"}),we.createElement("div",{className:as.content},we.createElement("div",{className:"c-grey-333 font22"},we.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F",Tt?"":"\u5934\u6B4C",Tc?he:"\u667A\u80FD\u52A9\u6559",Tt?"\u5C0F\u6B4C":"","\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),we.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},Me||"\u6211\u53EF\u4EE5\u9605\u8BFB\u60A8\u4E0A\u4F20\u7684\u6559\u6848\uFF0C\u4E66\u7C4D\u7B49\u6559\u5B66\u8D44\u6599\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u8981\u6C42\u4E3A\u60A8\u81EA\u52A8\u751F\u6210\u4EFB\u52A1\u8981\u6C42\u3002"),!Tt&&we.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E"),Tc&&we.createElement("div",{className:as.container},Ic.map((wr,fa)=>we.createElement("div",{onClick:()=>Kg(wr,fa),key:fa,className:as.item},we.createElement(tt.Z,{align:"middle"},we.createElement("img",{className:"mr10",src:wr.img}),we.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},wr.name)),we.createElement("div",{className:"mt10",style:{color:"#434D6C"}},wr.des)))),Tt&&we.createElement("div",{className:as.container},mn==null?void 0:mn.map((wr,fa)=>we.createElement("div",{key:fa,onClick:()=>{var tl,Oa;if(wr.show){if(lo>9){Lm();return}(Oa=(tl=wr.ref)==null?void 0:tl.current)==null||Oa.onClick()}},className:Bh()(as.itemMask,(wr==null?void 0:wr.show)&&as.show)},we.createElement(tt.Z,{align:"middle"},we.createElement("img",{className:"mr10",src:wr.img,width:24}),we.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},wr.name)),we.createElement("div",{className:"mt10",style:{color:"#434D6C",paddingLeft:34}},wr.des),!(wr!=null&&wr.show)&&we.createElement("div",{className:as.mask},"\u656C\u8BF7\u671F\u5F85\uFF5E"),!!(wr!=null&&wr.show)&&we.createElement("div",{onClick:tl=>tl.stopPropagation()}," ",we.createElement(wr.element,{ref:wr.ref,onUpdateNum:Gf,onClose:Wc}))))))),Ps==null?void 0:Ps.map((wr,fa)=>{var tl;return we.createElement("div",{key:fa,className:as.li,style:{marginBottom:wr.sender==="AI"&&((tl=Ps[fa+1])==null?void 0:tl.sender)!=="user"||Rt?50:20}},we.createElement("img",{className:as.img,src:wr.sender==="AI"?vt||"/images/ai_icon.png":At||"/images/ai_user.png"}),we.createElement("div",{style:{marginTop:Rt&&wr.sender==="user"&&(wr!=null&&wr.fileList)?64:0},className:`${as.content} ${wr.sender==="AI"||Rt?"":as.user}`},wr.loading?we.createElement("div",null,we.createElement("div",{className:as["loading-wanx"]},we.createElement("div",{className:as["dot-flashing"]}),we.createElement("div",{className:as["dot-flashing"]}),we.createElement("div",{className:as["dot-flashing"]})),we.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(ot==null?void 0:ot.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002")):we.createElement(we.Fragment,null,!!wr.name&&we.createElement("div",{className:"mb10 font18",style:{color:"#232B40",fontWeight:600}},wr==null?void 0:wr.name),wr.sender==="user"&&Rt?yf(wr,fa):we.createElement(Gg,{showEditableBox:Rt,onRedraw:()=>Ip("redraw",fa),scrollBox:fs,Data:wr,extraEdit:ye,loading:Ts,showPreference:Qn,onPreference:(Oa,Hl)=>Hf(Oa,Hl,fa)}))))})),!dt&&we.createElement("div",{className:`${as["footer-container"]} ${Il?as.full:""} ${ha.length>=1&&as["has-file"]}`},!!ha.length&&we.createElement(tt.Z,{align:"middle",className:"pb5 pt5"},we.createElement("span",{title:($o=ha==null?void 0:ha[0])==null?void 0:$o.name,className:"mr10"},(0,xd.tP)((oi=ha==null?void 0:ha[0])==null?void 0:oi.name,40)),we.createElement("i",{onClick:()=>Ca([]),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font14"})),we.createElement(Je.Z,{title:lo>9?we.createElement("div",null,we.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),we.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002")):""},we.createElement("div",{style:ha.length?{paddingLeft:0}:{},className:`${as["input-container"]} ${us>4?as.lineFour:""} ${lo>9?as.disabledNumClass:""}`},!He&&we.createElement("div",{className:as["footer-container-upload"]},we.createElement(De.default,cg({},Xe?kc:zu),ha!=null&&ha.length?null:we.createElement(et.ZP,{className:as["upload-btn"],icon:we.createElement("i",{className:"iconfont icon-shangchuan4 c-white"})}))),we.createElement(Ee.default.TextArea,{rows:us>4?4:us,placeholder:Re||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:Su,bordered:!1,style:He?{paddingLeft:0,marginLeft:0}:{},onChange:Tp,onKeyPress:Dp}),we.createElement(et.ZP,{className:as["send-btn"],icon:we.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:!!(ha!=null&&ha.length)&&((ls=ha==null?void 0:ha[0])==null?void 0:ls.status)!=="done"||Ts,onClick:kp}),us>4&&we.createElement("span",{className:as.fullIcon,onClick:Uu},Il&&we.createElement("span",{className:"iconfont icon-shousuo"}),!Il&&we.createElement("span",{className:"iconfont icon-zhankai"}))))))))};var vf=(0,ht.connect)(({globalSetting:he,user:Me})=>({globalSetting:he,user:Me}))(mf)},91740:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ee}});var se=oe(59301),Ce={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},we=oe(92310),Ie=oe.n(we),De=oe(79646),Ke=oe(65983),Ee=oe(58130),et=oe(10148),Je=oe(70635),Ye=oe(2119),tt=oe(42203),ht=oe(8591),kt=(ne,ge,ue)=>new Promise((me,Se)=>{var Ne=We=>{try{Te(ue.next(We))}catch($e){Se($e)}},ke=We=>{try{Te(ue.throw(We))}catch($e){Se($e)}},Te=We=>We.done?me(We.value):Promise.resolve(We.value).then(Ne,ke);Te((ue=ue.apply(ne,ge)).next())});const ze=({className:ne,style:ge,dataSource:ue=[],authority:me=!1,callback:Se,showDimensions:Ne=!0,classroomList:ke})=>{var Te;const[We,$e]=(0,se.useState)({content:"",type:""}),[st,ut]=(0,se.useState)({}),[Mt,nt]=(0,se.useState)(!1),[$t,Pt]=(0,se.useState)({title:"",visible:!1,src:"",snapshotData:{}}),dn=(0,se.useRef)(),zt=it=>kt(void 0,null,function*(){if(ut(it),it.file_type==="txt"){const Ve=yield(0,Je.ZP)(it.url,{method:"get",headers:{"Content-Type":"application/xml"}});dn.current=Ve}$e({type:it.file_type,content:et.Z.API_SERVER+it.url})}),Xt=it=>{var Ve;Pt({visible:!0,src:et.Z.API_SERVER+it.url,id:it.id,title:it.title,snapshotData:(Ve=it==null?void 0:it.subitem)==null?void 0:Ve.settings})},fn=it=>kt(void 0,null,function*(){var Ve;$e({type:it.file_type,content:et.Z.API_SERVER+((Ve=it==null?void 0:it.subitem)==null?void 0:Ve.url)})}),an=()=>{Se(),Pt({visible:!1})};return ue!=null&&ue.length?se.createElement(se.Fragment,null,se.createElement("div",{className:Ie()(Ce.list,ne),style:ge},ue.map((it,Ve)=>{var gt,Bt,sn;return se.createElement("div",{key:Ve,className:Ce.row},se.createElement("div",{className:Ce.title,onClick:()=>zt(it)},se.createElement("i",{className:"iconfont icon-fujian1"}),se.createElement("span",{title:it.title},it.title)),se.createElement("div",{className:Ce.size},it.filesize),se.createElement("div",{className:Ce.download,onClick:()=>{var It,en;if((0,Ye.Rm)()&&!((It=ke.AssistantObject.normal)!=null&&It.can_download)){ht.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Ee.Nd)("",`${et.Z.API_SERVER}${(en=it.url)==null?void 0:en.replace("disposition=inline","")}`)}},se.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(it==null?void 0:it.file_type)&&se.createElement("div",{className:Ce.preview,onClick:()=>zt(it)},se.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(it==null?void 0:it.file_type)&&Ne&&(me?se.createElement("div",{className:Ce.annotation,onClick:()=>Xt(it)},se.createElement("i",{className:"iconfont icon-pizhu"}),(gt=it.subitem)!=null&>.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Bt=it.subitem)==null?void 0:Bt.id)&&se.createElement("div",{className:Ce.annotation,onClick:()=>fn(it)},se.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(it==null?void 0:it.file_type)&&((sn=it.subitem)==null?void 0:sn.id)&&se.createElement("div",{className:Ce.download,style:{marginLeft:20},onClick:()=>{var It,en;(0,Ee.Nd)("",`${et.Z.API_SERVER}${(en=(It=it==null?void 0:it.subitem)==null?void 0:It.url)==null?void 0:en.replace("disposition=inline","")}`)}},se.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(it==null?void 0:it.file_type)&&(0,Ye.eB)()&&["xlsx","docx","pptx"].includes(it==null?void 0:it.file_sub)&&Ne&&se.createElement("div",{className:Ce.annotation,onClick:()=>{nt(!0),zt(it)}},se.createElement("i",{className:"iconfont icon-pizhu"}),it.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),it.is_edit&&(0,Ye.dE)()&&Ne&&se.createElement("div",{className:Ce.annotation,onClick:()=>{zt(it)}},se.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),se.createElement(De.Z,{close:!0,data:We==null?void 0:We.content,type:We==null?void 0:We.type,hasMask:!0,disabledDownload:(0,Ye.Rm)()&&!((Te=ke.AssistantObject.normal)!=null&&Te.can_download),editOffice:Mt?"edit":"view",monacoEditor:{value:dn.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:me&&Ne&&We.type==="image"?()=>Xt(st):null,onClose:()=>{Se(),nt(!1),$e({content:"",type:""})}}),se.createElement(Ke.Z,{onOk:an,onClose:()=>Pt({visible:!1}),data:$t,showFullTools:!0})):null};var ee=(0,tt.connect)(({classroomList:ne})=>({classroomList:ne}))(ze)},65983:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ct}});var se=oe(59301),Ce={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},we=oe(92310),Ie=oe.n(we),De=oe(71418);var Ke=function(Ge,Ae){return(Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(xe,je){xe.__proto__=je}||function(xe,je){for(var Qe in je)Object.prototype.hasOwnProperty.call(je,Qe)&&(xe[Qe]=je[Qe])})(Ge,Ae)};function Ee(Ge,Ae){function xe(){this.constructor=Ge}Ke(Ge,Ae),Ge.prototype=Ae===null?Object.create(Ae):(xe.prototype=Ae.prototype,new xe)}function et(Ge,Ae,xe,je){return new(xe||(xe=Promise))(function(Qe,Oe){function xt(wt){try{Pn(je.next(wt))}catch(nn){Oe(nn)}}function hn(wt){try{Pn(je.throw(wt))}catch(nn){Oe(nn)}}function Pn(wt){var nn;wt.done?Qe(wt.value):(nn=wt.value,nn instanceof xe?nn:new xe(function(Mn){Mn(nn)})).then(xt,hn)}Pn((je=je.apply(Ge,Ae||[])).next())})}function Je(Ge,Ae){var xe,je,Qe,Oe,xt={label:0,sent:function(){if(1&Qe[0])throw Qe[1];return Qe[1]},trys:[],ops:[]};return Oe={next:hn(0),throw:hn(1),return:hn(2)},typeof Symbol=="function"&&(Oe[Symbol.iterator]=function(){return this}),Oe;function hn(Pn){return function(wt){return function(nn){if(xe)throw new TypeError("Generator is already executing.");for(;xt;)try{if(xe=1,je&&(Qe=2&nn[0]?je.return:nn[0]?je.throw||((Qe=je.return)&&Qe.call(je),0):je.next)&&!(Qe=Qe.call(je,nn[1])).done)return Qe;switch(je=0,Qe&&(nn=[2&nn[0],Qe.value]),nn[0]){case 0:case 1:Qe=nn;break;case 4:return xt.label++,{value:nn[1],done:!1};case 5:xt.label++,je=nn[1],nn=[0];continue;case 7:nn=xt.ops.pop(),xt.trys.pop();continue;default:if(Qe=xt.trys,!((Qe=Qe.length>0&&Qe[Qe.length-1])||nn[0]!==6&&nn[0]!==2)){xt=0;continue}if(nn[0]===3&&(!Qe||nn[1]>Qe[0]&&nn[1] code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Bg=oe(11594),gh=oe.n(Bg),df=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],jg=Rg(gh(),Fg);jg.supportedLanguages=df;var hf=jg,ad={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}},zg=oe(56102),ag={wrp:"wrp___H70W8","file-list":"file-list___S5XYJ",ExtraEdit:"ExtraEdit___K6Xf2",btn:"btn___Yiu8q"},fh=oe(43604),xd=oe(58130),fl=oe(59301),sd=Object.defineProperty,Rh=Object.getOwnPropertySymbols,sg=Object.prototype.hasOwnProperty,gf=Object.prototype.propertyIsEnumerable,Ug=(he,Me,Re)=>Me in he?sd(he,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):he[Me]=Re,_g=(he,Me)=>{for(var Re in Me||(Me={}))sg.call(Me,Re)&&Ug(he,Re,Me[Re]);if(Rh)for(var Re of Rh(Me))gf.call(Me,Re)&&Ug(he,Re,Me[Re]);return he},Lp=(he,Me)=>{var Re={};for(var He in he)sg.call(he,He)&&Me.indexOf(He)<0&&(Re[He]=he[He]);if(he!=null&&Rh)for(var He of Rh(he))Me.indexOf(He)<0&&gf.call(he,He)&&(Re[He]=he[He]);return Re},zf=(he,Me,Re)=>new Promise((He,dt)=>{var vt=Tn=>{try{Jt(Re.next(Tn))}catch($n){dt($n)}},At=Tn=>{try{Jt(Re.throw(Tn))}catch($n){dt($n)}},Jt=Tn=>Tn.done?He(Tn.value):Promise.resolve(Tn.value).then(vt,At);Jt((Re=Re.apply(he,Me)).next())}),Gg=({onCallback:he,scrollBox:Me,Data:Re,extraEdit:He,showEditableBox:dt,onRedraw:vt,loading:At,showPreference:Jt,onPreference:Tn})=>{var $n,Cn;const{allowCopy:ci=!1,fileList:si,hideTextEffect:Yn=!1,text:Ur=""}=Re,[ie,ae]=(0,we.useState)(""),[fe,pe]=(0,we.useState)(!0),ye=(0,we.useRef)(0),Be=(0,we.useRef)(!1);(0,we.useEffect)(()=>Ur?(pe(!0),Yn?ae(Ur):zf(void 0,null,function*(){for(let ot=0;otot+4?" __":"");ae(Tt),yield new Promise(mn=>setTimeout(mn,70))}pe(!1),he==null||he(Re)}),Me.current.addEventListener("wheel",Xe),()=>{var ot;ae(""),(ot=Me.current)==null||ot.removeEventListener("wheel",Xe)}):void 0,[]),(0,we.useEffect)(()=>{Me.current.scrollTo({top:Me.current.scrollHeight,behavior:"smooth"})},[]);const Xe=()=>{Be.current=!0};return fl.createElement("div",{className:`${ag.wrp} fadeIn animated`},Re.sender!=="AI"&&fl.createElement("p",{dangerouslySetInnerHTML:{__html:Ur.replace(//g,">").replace(/\n/g,"
")}}),Re.sender==="AI"&&fl.createElement(rg,{components:{code(qe){var ot=qe,{node:Tt,inline:mn,className:Rt,children:Qn}=ot,_n=Lp(ot,["node","inline","className","children"]);const pi=/language-(\w+)/.exec(Rt||"");return Me.current.scrollHeight-ye.current>60&&!Be.current&&(Me.current.scrollTo({top:Me.current.scrollHeight,behavior:"smooth"}),ye.current=Me.current.scrollHeight),!mn&&pi?fl.createElement("div",{style:{position:"relative",minHeight:50}},fl.createElement(zg.CopyToClipboard,{text:String(Qn).replace(/\n$/,""),onCopy:()=>Ie.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},fl.createElement("button",{style:{position:"absolute",top:0,right:0,padding:"4px 8px",borderRadius:"0 0 0 5px",border:"none",backgroundColor:"#007bff",color:"#fff",cursor:"pointer",fontSize:"12px"}},"\u590D\u5236")),fl.createElement(hf,_g({style:ad,language:pi[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},_n),String(Qn||"").replace(/\n$/,""))):fl.createElement("code",_g({className:Rt},_n),Qn)}}},ie),si&&!fe&&fl.createElement(tt.Z,{className:`${ag["file-list"]} animated fadeIn`},fl.createElement(fh.Z,null,fl.createElement("img",{src:oe(90034)(`./${((Cn=($n=si==null?void 0:si.name)==null?void 0:$n.split("."))==null?void 0:Cn.pop())||"txt"}.png`),width:20,className:"mr10"})),fl.createElement(fh.Z,null,si==null?void 0:si.name,fl.createElement("br",null),(0,xd.RD)(si==null?void 0:si.size))),!fe&&fl.createElement("div",{className:ag.ExtraEdit},He==null?void 0:He(Re),ci&&fl.createElement(zg.CopyToClipboard,{text:String(ie).replace(/\n$/,""),onCopy:()=>Ie.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},fl.createElement(Je.Z,{title:"\u590D\u5236"},fl.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Jt&&fl.createElement(fl.Fragment,null,fl.createElement(Je.Z,{title:"\u559C\u6B22"},fl.createElement("i",{style:Re!=null&&Re.like?{color:"#FA8D30"}:{},onClick:()=>Tn("like",!(Re!=null&&Re.like)),className:"iconfot icon-yijiejue font15"})),fl.createElement(Je.Z,{title:"\u4E0D\u559C\u6B22"},fl.createElement("i",{style:Re!=null&&Re.boring?{color:"#e86d7c"}:{},onClick:()=>Tn("boring",!(Re!=null&&Re.boring)),className:"iconfot icon-weijiejuezhengchang font15"}))),dt&&!At&&fl.createElement(Je.Z,{title:"\u91CD\u65B0\u751F\u6210"},fl.createElement("i",{onClick:vt,className:"iconfot icon-gengxin-genghuan-tihuan"}))))},ss={flex_box_center:"flex_box_center___GmElr",flex_space_between:"flex_space_between____pbWi",flex_box_vertical_center:"flex_box_vertical_center___COMWd",flex_box_center_end:"flex_box_center_end___lmAQf",flex_box_column:"flex_box_column___OJb7M","ai-wrp":"ai-wrp___AEGoS","loading-wanx":"loading-wanx___GtiUv","dot-flashing":"dot-flashing___xJNVn","dot-fade":"dot-fade___KWn1a","footer-container":"footer-container___HTy33",full:"full___dZLXo",lineFour:"lineFour___Lhbz5","input-container":"input-container___M88BT",fullIcon:"fullIcon___YWXTV","upload-btn":"upload-btn___fKRCG","send-btn":"send-btn___yOKG5","chat-container":"chat-container___pNTrU","chat-message":"chat-message___isXl8",title:"title___hXSVA",answerWrp:"answerWrp___COjAb",li:"li___PjMV3",img:"img___wZqEA",content:"content___OlYYG",user:"user___rbSU1",container:"container___hZAxN",item:"item___Z9j46",itemMask:"itemMask___pC6Cb",show:"show___WQ1Wl",mask:"mask___irVlm",disabledNumClass:"disabledNumClass___UIKcm",editable:"editable___CpDhE",text:"text___yWTCV",file:"file___fxAKb",action:"action___I2zGy"},Hg=oe(70635),Fh=oe(2119),pf=({positionX:he,src:Me,onClick:Re})=>{const He=(0,we.useRef)(null),[dt,vt]=(0,we.useState)(!1),[At,Jt]=(0,we.useState)({x:20,y:window.innerHeight*.62}),[Tn,$n]=(0,we.useState)({x:20,y:window.innerHeight*.62}),[Cn,ci]=(0,we.useState)({x:20,y:window.innerHeight*.62}),[si,Yn]=(0,we.useState)(!1);(0,we.useEffect)(()=>{const ae=()=>{Jt({x:20,y:window.innerHeight*.62})};return window.addEventListener("resize",ae),()=>{window.removeEventListener("resize",ae)}},[]),(0,we.useEffect)(()=>{const ae=pe=>{var ye;if(dt){const Be=pe.clientY-Cn.y;let Xe=Tn.y+Be;const qe=window.innerHeight-(((ye=He.current)==null?void 0:ye.offsetHeight)||0)-50,ot=50;Xeqe&&(Xe=qe),requestAnimationFrame(()=>{Jt({x:20,y:Xe})}),Yn(!0)}},fe=()=>{vt(!1)};return document.addEventListener("mousemove",ae),document.addEventListener("mouseup",fe),()=>{document.removeEventListener("mousemove",ae),document.removeEventListener("mouseup",fe)}},[dt,Cn,Tn]);const Ur=ae=>{vt(!0),ci({x:ae.clientX,y:ae.clientY}),$n(At),Yn(!1)},ie=ae=>{vt(!1),!si&&Re&&Re(ae)};return we.createElement("div",{style:{position:"fixed",top:At.y,right:At.x,zIndex:100,cursor:dt?"grabbing":"grab"},onMouseDown:Ur,onMouseUp:ie,ref:He},we.createElement("img",{src:Me||"/images/ai_teacher.png",width:60,draggable:"false"}))},lg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAAAXNSR0IArs4c6QAAA1FJREFUSEuVlctvVVUYxX/f7UNCkYdMHDA0caCJMcaQXB4VLX2IRJCgRtGg+EpMHJOIiQ8mxqF/AQOdmKJNqy0EJVrkWLWi8piYQIxNHAAhaINy4XxLzzl737t7uTV4Jvve7HPWXt/61re2vXJaHwi24ZgAORSrq1pVrKr+F48X++XGwv3wTi7x9uh6e89ePq2rcnrjhxEoXctDAnA8JIJ7JBMOQhwf3WDr7KVTasjpaTKKIAnTWEnJONmPv2NlZRVGdnC91e3Fk2pI9DTLDWUvYJ5I0qmiVDIg+3ij1e2Fn9XwAFxK6PyKKkmb+obfBaNS44J6YC7R5+L25oGQjfVb3fb8pIZ7xVjGJwfute1Vm27u2Tqupd0ruVT0KfQhG3vA6vbcjy0pwqkXSymjJJF5YHqDFLBEzq0p4/FNBfCJwLhdxwSwo2PCftnAwhqt77OJh6xuu39oafxfjalET1wRHBK1TiyZfVoAPztbSRE/7OSG1GILfJzYL5VicsDq9sz3bcBwXoUrFpu8fEHZBeE+d5YlA5RNbra67fqu1Txg4sO1tvXm/FC9NXJUayznt+YQGdlUAfz0t4nGhYpizhPGiV8X5kj0MSyXsyqpMDs8ZHV7qgCOPo7lL26t5tAs1mhEdnjY6vbkN4mPU8t1Am+3pHFJOUfcmMNZ7WIQce7ISAC+gXFrXFuRmTQzjPy7XSvZf+Es6lvFHbpGfmWec0uX0//5sE3ZE1nQOOSsxHwzwFo6opxewS3Blq9Nbrb3Bw9pL7BXYkWZIcYZOc8f3WIztvN4KzYNJkY3dHbF0JRu6+rmgmB6csD6Bw9pH+KdZnRWWTMv53dyHradX1fNC2Obu/ilzO54S8RKKPNgDcauv7oY621w3p0l0Q2IP2rG0HXnVYm/bcexinG8jtKxTaapOc44d8tY7c6XgnGJR1zM18SwGyOes0/ipD023Zq8jhZqm8A85y7VWGbOjBvDOHdizEoMeM6boYJjtn1aV71oTIfLsUNEYsaeFZc5cLGPuaJpVmNHfp37Jd6Kl4PVeN0e/Uof4WxzqOHhNk7s1uG2PvPFDPc8uJYt7hyU6G4LrhM9DTba/8mF9nc3faZ1+TXe+Ffr+wR/mhi90mD/7ON2+R9W5V2x0b6OvQAAAABJRU5ErkJggg==",Uf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAYAAAD6S912AAAAAXNSR0IArs4c6QAAA6VJREFUSEuVlVtoXGUUhdc6SbQmRFPb2pDLdCaN0D6oIFpSiAgqUkWhbxbEWiQ+iA8iFCWQUoo22mCxL4JUYkJBSalWEHshXqLRqSYiSkHQJp2ZtEKrpMVC0Gb+y9IzZ850TpwUHJiHc/k/1t5r7X2I6/zeaNPqunrsdcBWKzU58lTRY2DPb5xe7hiXezC8Ws0LjZg20gZHwABwACy4aIEHXzvHbK2zywLfTKnfSYMhzJZA5T8BD07tm2PP/wLu79QJS22JQSV1FTh1mWgcLfDqUmhJ4W4o2AP66of7Un7SAvdFZVbDouuAXHmgwD/jMzGDI2mtKDp95MmvnjvH1+MXBlP61FK95b7BQgmwCdh6MMcr4fvb2tSpG3Vc4k6+s04Z4/G1gdo9OPDiee59ZZ02SrjXEs3lki8UgYIHNofmeMIZIteZx2e5LnQYrwlLdHlqqFTyWx3qXiQmLNVhwW8d0GMhxj1zYLZIHAtNCu/FbTDADw681UIZT+0/mq/bWXF5qFPrHXHKQLct7VsINCEQGqx2PE6AI4eO5vhyKK4CFMRXU7hsoZZrbkYG1AJWu+48H/h4jhMJ4GC7Vi3Waf5amVXZC5g1ihTWct2JzxwvcCQJ7Naav4z+SIS4HBkXMGuJY9aXS64KezkFfeN5DieA/d1aoypgtRLHSKEt93Dp9Diw7/MYuDullywQeKLJQANRz5JhjoGOocs876BZI7RacIOl6MW+L2PgQMpbS9RVIDWmwpPZIjAi4vcPcvwkDv9DXbrDAu/+C387GwP7U3rMABTQUqQO1TIlVHg4z94QtGW9tjn5hx2DBUOM+jrMWIO7pnL8JtHDFzJaa7wuJiJTCTGzH+bZ+2jGjTngCUuWRtGB1pLPfneWo7HqSg5D4N/SxaUuRwaUSj7goSPRpIRzHUEtuRA0MD39Cy8lFG5v16r6Bs3X3C5k1gI/OfjnK6DEfgweOX2WJxPA8OLptL9ggdbqsssTkXXiF4baFVUQbZ44Pl7Bpp9z/D6pMKNNDhq3wi3/yRmZdcKThjht4G9OLtvSrnx/ZjbYDjA8CuxIq8dAJx3R7KD3DLjVory6ImOyE7mgd3O37rdeI5bIRKYEJxy01kB3uwBjczPBU9yRVhjOKSs2OaDvSIGjj7ep0d+EjYsOzbY+/IbgyuQsf4ycVHBnBrdfbcClM2c4n0ppJW7QuIXuccAww9X9awYHBUwezvPQ9T6ryz1rSatlRb3GTMBd/wBBRVUxXeSVgwAAAABJRU5ErkJggg==",Wg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAAAXNSR0IArs4c6QAABD9JREFUSEvNlG1MU2cUx/+3hVJKoZQCKTIGTBw6ZB1CNmg/MHkNoqAJe9fhDMvWkhZcjG4fMdnMkm2Ei4Diy8IyEUPUGCNDjSxx2XgHCxN0sooI0spLQ2lpe1vuXe5d1oFNVkj8sPPlSe4553fOc87/PgTWYIcPnwl2OJzfi8WiXJvN0cvjMaXV1eopX6mErwDWr9PVf5Wfr/xcpVIQIyMGpqXlxgWSVL/nK3eN8LpWtfrtkqiocNjtThw7drafJDVpzwVeUVH3Tmxs9HmlUkEMDT1g7t4d+6KmRvP1c4H/PZoTOwC6EcBRktSwp0/zGsvBg98Fut3BMn9/ysvncuESn4+PeTzMrSS7XALG6aTnGxs/WVr53QM4cuSkxG5frpdIxG+Fh4f4E2vaxr+omRmLy2KxXuLxHJrq6s/mWY8HodM13NyzR5mdmZlMUJQbLpfb57WfDbh16w7T0aH/hSTVmR54ZeXJbQkJ8v7y8iKYzVZYrXaYTGZYLEuIiAhFaGiQVyHWx8aIxYGQy8PA3pTNu3q1C1NTsyqSLP+N61yna3g3NzflfE5OCqan59HW1oPxBQoCaQgo0yxSN2+ASpXkKdDbex+d+kcQyCPgtlgRFQDs2pUOilpGZ+cIo9cbPiJJTRMH12obPigoSP1RqXwF16714J6DhzBVKnh+fqCdFIxtHcjbFodNm6IxMfEUV26PImpnDvgiIRj3Msx9Q4ilFpGevgXd3aPMwIChrLZWfdYL/s23FxG+twQZchGmKWCSAmwPHyPoziCKijJw/Xo/ZuMToEhJgJsBJpzgGpg81Yz9+7J9wyPL3kdYgB8cDEAzwMKkEcLuHhQXZ6C9vQ/mLUmIS3yR85ndwDLD4HH9D9i/N2s1vLKy7jWGIXbk56d9yY6FXYhBGAqZMpWbMZ9NvHIDb74cgc2JMRgfN6Gt7yGiSwpB8HkIIABT/++QmyahVCZx8MHBsaM0TV8kKirqW2ga8QUFaa+z8Lm5Ra6AkfFDQIQM9okpJMdIkZn5qmehXV2j6PvDiMDYF0CZFyCjbCguVsLlWkZXFwfvJwhi2GvmrMRYe/JkDgsLS4iMlEAmC/GSIitZo9GM4GAhoqPDQRAErFbHf8/8H/i6/yCwOv8/wfX6P5GYGAOhUICBgTFs3RoHgcCPnS2n65W27s5bW28jLy8VEkkQmpt/xu7dGRCJhDh9+ieUlRWsgrMj7e29/+xPdKIkKyu5dft2BfeerLTLl39FdnYKQkJEYAsVFr4BkSgATU03UVqa6wmlaRqzsxb2dszw8KN9tbXqc5xaDh06FS+Vih8cOJDHdzpdKx/LNeyV4SS4uLjEne3tffTMjDnp+HHtPc+Tq9XW1WzcuEGrULxEBAUJ1wBdHWKzOTA0ZGAMBmNjTY3601XvOduuTlevAfAhQRByVrfrMZqmTQBzTip9WltVVUWzuX8BL+8z38bSCP4AAAAASUVORK5CYII=",_f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIgAAACuCAYAAADtT0V5AAAAAXNSR0IArs4c6QAAIABJREFUeF7cfQecVcX59nPqLdt3YekdAUWjBhuxgKCAWBN7w/a3EGs01tgL9oi9x0Y1YIsFFRUUK9I7Ir0ty/a97bT58s7Muffs3QZZTfkuv+XcesrMM8/7vGXmKNiFx9lfsK5I4SEGDAXQiTHGf6UoCug5bf8dDzosHUoePv28ucP75/ZLne8vvb/dbbNf4voBbFOAWQjhholHKptbO4dWe/bsD1lXT8EiMFbcaGd+b/k9RLihPQr8yCcN3mjxfLJ/7v8yfZKNjpeFmMYnGDiHXTmf7CM2uqCGR/hfvn5FqVQZ9p04umWQtAqQMz9gkxjYmf9Cf2fA4h8lq72zGYiBQYEC2u7K8VrDS1v3nwZ7M+ff2uhr7fdtPb+2Xr8CZfLkY5WzWrqOVgFyxvtsKxjr1NROWhvxrYy/xu0nzVVzJqExQTVkkMYNnkVoWRfRGl80YrCs3/+vX7+qKNsmH6d0bhNATn/X9U1+ow7NpohsBthdE9G4wQWbEKsI0ZNtMbJNTMtdvtuAzbKYjQHT8J3/xet/80StRZJolUFOe9slFSopP1slZnVYNhRbGWKtiq6s37c2Yluj9CYQ3vCMGx1AKuL/j6//zZPaCJBT33LTkrMRFbXaw61a6awO2k03ZTdNxi9+/v8fXP/fT9bbxiCnTHOaB0gr/e8LTt9ENBKhv/Lvs3ffSKNkaZ7dhHOrX/9fuP5pp7QRICe/6bBdDXNkDyhqwUsHKdheD7y7Slgq/ztNit7WLFgzEuO3HYGIrmDuVgbLDexZfr9dFBjZV8GCbQzLdzYfR2krIRy/h4K4Dcxc1/SYau76u+cD+3dU8PUmhp2JwPllWfBT91JQFgO+3LhrXl62SW3q+qad2kaA/GGKzdKBsKwjNDbZDQNn+3cE/nKEhndXenhjMcugo5lIV6uBqCaOn2cCT47WkHKBqz/ykHQygTt/f3sUM9x/lI5JSzxMX+41G9gLHj+sA6U5WYHAwPETDlAeb+glvXqShh0x4MaZXtPs0gwCh/VW8ccDVdw1y8WSHdRMAgDtcxR0ygV/L6IDr/9exeIy4J7ZYhS01v6ttieA6ae3FSCT7eZFagskS4P3oREaehcrqEowJJ2mv3zXFx7CBsPDI7Rm97ZoO8P9XzVudALuZQcoOKqPiofnuPhuM0PHXAVj9lPwt/kedsbFLvuVAPcfrWPiYg9vLaf9CLPbMZehfzuVf/7aQq8B+xzYRcFNhzd/TvO2ehj3ZcNzevX3AiA3fBKkseBlZSiwWwHQJU98tk8HBaP2UPH3pR7WVzMQ+BZtp8GlYGCpgj++76JbgYI7j9Tw9nIPExaL4+6+yWxMwW+dabRNg/xhku0DupGJaAmhY/ZTceKeKlbvZKhMMIQ0YP/OKjbXMGyuzVDwi3M95IWA8cfq/LurdpJbKx6kWUb3U7F4O8M9s9xMnF3avAM7K7jpCBXztzLcN5sajaFvsYL7R2hYWc5w+2ce30e/dgoeGKFjwVaPd2D3QgXdC4AcUxzJ9RjGzfawcDtLm0AOkCM0fLne4/sKPi4apGLhNjqmm+4k+vy1k3UBkI/lCG8h0HvOvir+MFBtclBQ+7y5xMO1h2qYuMjF9GUe/rCXinP20/DIHAffbEo3UCuR69YiOcDbZ7cRIL+fYLNmI5tZRtU/HWrcW4ZqWLTNwz1fePAY0KcYePgYHa/Mc/GPlQ0bvHuhAMjUxS6mLqFOynw+5Qwdy3cw3P15pjNo5PQoBMaN0FARB27+xEXMEoAiYXjGbxScto+GNxa4nDH6E0BG6rxVHY9hay2wsZrx0bqqnOHnSjRiuAO7Krh5iIZnvnPx6c+SKSSnv3mGjkUcIF4DUfX6KRp21APXz2iOQTJ4KIkARRHx+sCuKk7dR8WLP7j4qYJB14AbDtdQbwF/+sCB4wE3DdFwcDcVCZvx9sx+TFns4f1VXoNIdCOR3EQg8u1z2giQE1+3WPMc1HSgKKQzXH2ohqe+cRGzxaUc3E3BzUN1PPqVgznrxRX6NpQA8vjxBgfI5EV0kfKhKJhyhiYBkumMbvkMtw3XETGAR750kXKAwghQHFH4lmz30N4qLJfh6n84yA8pePAYHe8s8/D6AhcsfUUNrXjw1UFdFdxypI6nv3Uwc03DHnnzLAmQLzxcOVhFTkic76AuCj+XpWWNe/BJagsOYt/AZZ4P66Pgyt/puHOmw5np8kM0HL2HittnuliyzePM+fIfNIR0cJb1Hz0KFRSEyRwxzFzj4dsNYig3lxnIBgydwTtjJI02yWWZfTXzMXDiq1aA81uJXEq8XHWohqF9GsKKXvk2M9h866uAx+c4ePwEA1MXCYCkHwyYeraOZWUMd88kEyNQdf0QDYf2bEzPZCqIUXbUk1kDDu+pYMFWhqmLPDw4WseE+S6mLaEGb0jRVwzWMOtnr0HHHtRNwS3DdExe6OK7jQ0Z5NHjdCzcynDvZy7+dqrOQUkPVZo+L8CA/nsXvGmjKinOv3+pgvY5mcvcu6OCUf00/H2Ji5oEcNGBKrbUAlMWuty8dclXcNcIHVtqGC5/x0mf/x3DNXQuUHDpdCnwdjd3wIB3z28jQE54xSL3wx/SDR2vLFXuA2BYXxX921OYPGMij+wjOvQLn67lHiviDD9sZHjiJIM3yOQFGXqm/U09RwLkUxr5wkPpVQyuK+osoC7JOBXXJoHKOAPnH9lB1w3RkbQZZq1lGHeMjjfmOZhOJiyQDIyawOSzTby3zMXLczMsRQD5y3Bhlpp6zN3k4d6Z1FmZ400+28CmGoYbP/A1CMPlh+oY0U/FeVMsVEuAXDdEwxG9mxfAweM99IWDo/up2L+LyrXS6RMc2DJ2+fTvDa7vbpOaJy2gminHaCoZ+t6FobaJ1BP+Zgnl1pRb1Uoy3Qf04B4Kbh5uoC7F8PQch1Mhf8jG7VGsCIAscDF5oZfWIPT7N8cYWLad4a5PnAaAMzUgP9SQsrM70vIIQEDPYgWPn2Tgg+Uunv/OzZgwKNivM3DXKAPPfuNixioCiED1Qd0FQIhZVmwXDOID/pLBGuZvYbj308w5qQrw1vkG5m9muOtTMaLp/K84TMPR/TSMmWShhgACIZI56wQ0XEkOMHawxvXGE1853BwJ1gXuHmUgbjNEDQVXvW1jfZVovzfPNfDlWg9Pf9205mk1NQEF713URgY5/sVU88m6VkQy/ZA6/+HjdegqsLyMYd/OKlaUeXjhWwc/U9AKDD2LVDx5soHttQzbAh4ONcK+XRQs3MJw5wxJrfKqh/ZRce3Q5kc4/XbSfAeT57uc+l8/ywCxxeJtDJZkZALZPp0UGBow9u82F6/+42ACyAgDT37l4BMCToAN37rA4Od0DwFBnk9+GJhwtokv1rh4zI9TMOCaIRqG76Hh7AkWapMNu8zXBB1yFdw72kBxFLhjhoOlEpD0Of3+yL4qf/+OkToeneVizjrh+U08x8QbPzr4+0IfwA3LJRoVdGUj5p+66R8Xt5FBjns+mYmDZIdmsg6Yffx+pSpuGKajY76CR75wMHuNi8N7a7jkdxq/QLqwKfMdlOYpuLEFOl9RxvD81wE6VxQM7aviuiN1vL/MxfpK3wSKMyDv4OwDdEyaJwBC7x3QTcGxAzV0L2rIqBsrGb782cUXPzWMaRzcQ8WtIw08+aWNT1Y13P9bFxJAPNwdAG2XAgXPnW7ivSUOXvhWjGjqoD8N0TCsn4azX7dQm8q00KBuKg7oJszuIT1UtMtVsK7C42zpP75d5+LgnhqiBvD4bAfjjjOwoZLh+W9dfj13jDLw8OcOvkyb7dY5owHLMob3Lw23zcQc+xyHfYMR1JxK9r9Ho+m8g3SMGKDyRnr9BwdvBrRFURS45WgDuSHgpvfsNPVmm4iWXg/dQ8Wfhxm48yMbP/oiUv6ga6HorIk/Opg8z+Xqn4CxM8ZQJYNnghEalhMEbTQB5LZRBp6YbeOTlQ0Z5O3/M7Fws4e7ZjjpaPaADgoeOcnEhLkOpnBQisf1w3UM6avh9FdS3Gz4j9P21zDmIMGApC3sgJUgRtNUhR975iqPM199CjhxHw0n76vhvAkWrhyi4+j+Ki6cZKG8fndaLvNduv73L2sjg4x+hgDStEhtXNEkRORfRuoY3EvDlmoP7y2hDhKQCn6fTA65qXWpTO4h+zLp+9MWUPyjcQNwgAw38MYPDlaW+ZFFsS9ipKuHGpg4VwCEvIZH/2Dite9tvDlfBNSahnzmOIf0VHHbMQbvPDcriGvqCn7Y4OLuj5y0Lhy1p4orhhh45DMbX6z2e1vBTSN0HN5Hwx9eTPFIrTg/4LLDdM4Oy7d5ePRzG9uleftNZwW3jjIwZ62HJ2dn9k9n1jEfeOmsEG5+z8JNRws2ueUfdrM1uo1zY40Z5sM/tpFBjnkqkc7FNI6cZiffhCgpiCg4aoCGdxY6OLSPhhtHGP8axAEc/2wKvtsYvOAj+6m4/mizxf1O+MHG5B899C8F/npKCK9952DqPCediyEN0rNE4X+frqCAngA4XechvVTcPtrEki0eNklR6DPMqIEqftzg4a4PRecQgK8dZmD4AA0XvJHCjjpxWrQfAtng3hpOeDYJl+IvjOHJ0010K1Iw4QcHby30OAjpcURfDdcdpePzVR6emEVCqWGH0rGePdOE4wJ92qt47DMbn65s6PUFi8h3JRfz4eVtBciTicZRn93o7iP2UHHTSBPPfmnji1WtRxj9Xd822sQ+XVQc93SyycghB8gIE0/PsrF4S8Mh3onyFseZmPC9jUlzXQzoqHCAfL7Kxdpyjzdu73YKuhYpnMrpcfM7FhZtzuyHA+RYE49/buPj5Q3P+92xISzY5OHO92UUEMDL55owNAVjXk01aJ07jzNwUE8Nxz6VTPMWaTJiz3UVmaYlszvhghA3l3f8I7NfMi/xgGk67xAdpx8g3Pez/5ZCIvPV3eiVzFc/ujLSNg0y6vF4ACC7F4mhkXVEXxU3HWPisZk2PlkuRm8mlN78/sb93sT+3TQc+2RCxDbEkEzbqWH9NVw/0sTt76UwV0Zm/RHXtQh48dwwJnxnY+IPDgZ0VPHYaTLc+U9dEEsxrK9gWLfT49u1Oz2sLWdI8dIXcU6H9FZxx3EhjP/MwsfLMiaDPnvv8jAW8I6knlNQksMw4aIIZq928cAM8Z5vUu87ycDenVWc+EwqHcdp6vrb5wKvXxjGD+tcLN3qoV8Hlf8REC6dKBHCGIYN0PjAmLfBxa3vEjpaip02xEzj5B4w4+o2AmTk+DhL14S2gtGmAjFD+mu4+RgTmyo9VMZ2nYx6t1eRF1Yw+nECiK8YMqJy2ACVA+TH9S521DXcb25YwRF7aBwgE753sCcB5PQQPl7qYNIPDsqkK91SVflgAsjxIYyfSQDJMAsRzruXh1AZo+Acw8TvHexRquKsg3U8/LGFz1eKBKEANPDoaSa6F6s49blkWoNRJw/uo3FTXBAB3+ZHMpFY+mlVjGFNuceB+NYC4Zd3yFPwxJkh/n0yh9dPs7B8ayDwl9U/u5KLmXFNGwEy4q8EkPT1Npz20uiEGgeuhvTTcPOxJrZWe/yid/XRsx3lOBQcMz6RFmFBi0yNfOMxJgddym64X0p2tc9T8ca3NiZ+52BAJxXjzwjh1a9tTP5BeB7Bx9D+GlZt97C1RmQVaG+D/xn5vfOEEJ75wsL6nQx7d1H5316dVYRlfuvnHR6e/sLGnSeY3As57+Uk7EAkn47xzDkh5IWBc19Kpcf6aQfqGDNY5+deEQMq6hniFsOIgTrm/OTi6S8sDsAgv5In9tfTQ+hTqnLgn/xbHTUJhsveyJiZ3eN30QIfXxttm4kZ8UgsUA+SPTEqu7sbq+Qh/VXcclwIf/1YUnUDRmy+BvWBU0zs313DMY8l4KUHcGb/w/bUcOPoEG57K4kf0iZGnA8JwJcuCOONbyxM+M7Fnh0VjD8rjFfm2JjyvS3MlBSRxCKTLw1j1TYXd75r8U4cvY+GQ/roOKRPw3A4mab5GzzMXefyP+rEE/fX8MdhJl6cbWPaj0T5fjcJN3rK2DDK6xiumJBKf0QApohp0GRSHGTipRG8M9/Gs1ygZqwHFS/dNNrE4L4a3vzBxstf2Th6oIY/jwph9ioHD3xoN6nTskPv2fUaZOo+/XNO2wBy9MPxdKi9iYKQrLmQjU3i0D01DpBXv7Lw9U9ZIrVRJDbzxrUjTezZWcWoRwkgkiEC3x9OADk2hFsJIGsbJtO6Fyt46cIIXv/awoRvHL6fx88O47WvLUz8tmHlEonDKWMjmP6jgxdmC8/h2TFhPlIr6xmWbfWwbLOLpVs8rNnBxLlIgHUrAp44J8w759znE7zcMCgJfvdPgN35+xDeW2DjqZlNqMnA9XQsUPD6xRG8Pc/Gs1/4AGHo1V7FrSeY6FasYs5PDu5+R8bgAdxynImhA3R8tdrB/e9b3LtpQPGtRLoJg59e30aAHPXgrtuFpijuyAEabjkhIxB31cT43xv5cDw9OoL7H76XhhuPC+HWaRmA/LanysPmNPqP3U/Hox+lMGOJi+IcYNLYCKfyWStcMXoBHv4/sLfGO+Gut1Oc3ukYfTuoqE8xbKtu3iTmmMBTY8LoXKTg9ukpfL/W48c5tJ+OlMX4PobtpSM3DIx5IYkdtRnz5Q/Zwhzgtz007qUc1k/DiL11PPWphXel5hhKgnS0CYq7/GOBjec+t3ksxf+9qQO3nxjCQX00zF3r4i/ThAfVXJSnqTjrpze2ESDD768P1KS2jNBsv5tOlhjk1hPD+GiRjcX/dA139XHGIQZ6tFMx8sF4WqQGwwLDB2q46fgQbv17Et/9LJjpluNDGDZQRCdJ7/zfS3HUJoSwveAIA6P3NVCU1R7ltR6++cnlHZMNh5ZyGYf313DbSSZe/crGJMlKVAfzzjVR6JrCYxvLNnuYscTBJ0uarrck8Ey/Kpp2tdfu8HDT1CSqYqKVfttL5Qz0+McWPiNXO6uH6bp0VcENx5ncbb59Ol1DZqJZo4lcWZPtqb8+uzm3bSZm2H0ZgDQKvGTPm2qC0roWKzikr4Yf17pc7DV8NC+rqAM65CuYNlcmxOiHga93L1H4yJmzysX2GrHfToUquhQpSFjAiq0i8JU9+ZLEXvBBBT7+o3FNccOi5ezr36eriiX/DLmnW1gBiqIKIiGgJs4QaxgSaWJsKOhcBGiKgqQNlNf59bIZL6gkT0GF76U1YzLo7bwI+GDYHbeXTuizW9oKkHvrd9312FV6yHTJbhrNpkgyqHp39wR+6f392sf/pc+X4fNb89rIIPdkANLYhLSM2KYCMy2t79Fo/61NX8+a+NFcbqi5wFxr83Syu/v/x+v//LY2MsiRd9U1W9Xe2voOTU2kCjb6bvZ/i9nXtDrLeJmNna5Wli9p7XwaA6rlAfK/cP2z7mwjgwy5o7bZSGprUykbF8nuHgU3ni2fNdt/93bX6NttPf+2/r610/93XP/su/LbZmKG3EZxabmPRgNm95ZfaNwgrYiq1oZ0ox22JtKyPt/d69nd7zea+5Z9wv/56599dxsZ5Ihb6zILyLQWeGlFQ7U6mbmNv28NHm3tr91fPqKhU/Hfd/3Kti/vy2vbAjKH/6VuksLEElS7S3mtfb/1z7Od1MZuawNN00KFmPCSWzZRrfkIrZ1vI1GbtaRWawBp/Pmve/2KokyefV9e25agGnpHvKtrOYvAUNx4tnimwCYrTCHaqjUTkfV563GW1hZ0aeXzrB5sBIjsVRtbQcwvfb6/9P4a5WIajqZKzTT2nXVXtMWVDlsUKP7+ht4Q7+rCfgiqMpR5rFMT5RlN4qEJVdhyrqD1Idzi7xsFuhoF8rLXn2gUmswesg0vIcuG7fZyEW28vsbT+VucptTYIiq8cGMbFGWWFtJuaA0c/qBvTUz/V37OMvMn/fMLgt1/zrfzpMqOLBfQNk2x1XUoF7xQ+xfHwa3ChLaMD1PDPU+dm39vYi8RlR+USXv4wcRgULFBgFFRlF8x4PjrddEuMcivd/jd23MLoKDrSIMhCAQCAf2VaeJzQ4WiV4jnmnzv8lfrbk7a7OaW3NaQro4b/6e8cTbVA1HxjgvmOOLPkmkcAk4WaJoCDlXV/c+A5b8eIFmgaMAMBApiBwIEsUIQDD4QCATVGhRdhaLRXx0UHxj18j3q8Btfrbs+nvRuaGCmpUXKjagPjj877yHXBXPzwFwPzPHACuk1AaUEjICTDZoAYLKBkgbIfztY/msB0gIwmgRFpQGVmKHOhOqDwYxDJRAYOlRNgaImoCRUKCo9l9ukKthETUK5fXLdn2ri3p8yIGHIz9H+ev+5eY96HpjHwCK0jYC5DMx24OV6YFYUng+aPAseAabYhhdkmCywNGKW/1ag/FcBZHdAURGCSiwRqoZKDBHSoRIgEjpUQ4OaSkElIOgaVMuCSlvSaJYCRbOhKhIg9JoDRG7vmlh/xc4a5wp6ryRfffLes/KfJGAwD8w14Jli+RLmuPBMEx5t6fNQCJ7twos48AgwKQceMUyqEB6xS0lKAIbM0f8SWP4rALIrwIhGoZIJIabwQRFNQEsYUIkhjCRU24BmaVD1FFRNg+o60GjrqFBVG6qrCpCoLlRH4QX25GjzLQHCkeWq90+ru5he33p63vN8ZTUGpjMwT+MVBEzz4HkGPN2D57rwNB0ubZ0QPNOFZ9hw7TA8YpiIDS8egeuDxWeWeBze/wJQ/uMACYAjqC/SZoSAQWwRqYJK5sNnipQJzQeFY0MzdGg+IGjradBUFarn8Xqc9NZ1odL7BAxXggRiNkaDtuDLKukCHJooumSeB0/TOGN4qliNQWw9eKoL1wcKbW0Hrm7A9cESsuD6zEJmKFEEj1ilNaD8p03PfwwguwsMYgsrBI3Mh21B81zoPihcHRrzoOuq2BIoNBUabZkKTfWgecQitFW46SHA0MxpwSIKlEAlH5cgmmQOuf4WU1UJDCpLVeGqxCIqXMWDSyBx5VZR4TgeXNpqjgANgUXV4BgmXDJDZgouscr/AlD+7QBpwpxwF9X3RoKMkQhDM2NQCRghC5prQie24CAwoNPW8KAzDTpj4jUBgp5r9FoAhpgkCBaVKSAHV1E8qHyBJ8Ee2W3B2UMloKjgk10UmqarwvNB4QkgcJC4ChyF/iQ4+HMXjq3CIbCottgSq2gWnJQJl4Bi5cCLJOG2wij/Ma/n3wqQ5lhj+XKovsaorYVGpsRnDM+B7pnQQ7QlALjQmU7kD4OAQFtoWa8JHBp0YgwyFAQURbIJPF7hpxKTKEyYGgKHl2ViVDH7iZsWpsBTae04WsBIAoLJLRQ4nElcMlT8zyZw0BbivfRrxYGjaHBUFU5Kh6NacFQdTpBR8vPhkpgl07PXXrwcl5+H9Kz49t9pdv4tAGmJNQrWQA2HoZL4TNRBaw4Y8EAzwA2bAKHDUGgL0BQmk4NEvPYB44OHXuuua+ubtm4p2FS+o6B8587CDdu3dtpauaO0Op4oiCdj+XHbiliOa7rM06kHVFV1NN20wkYokRsK1ebn5tV0LC7e0bNjl22d2pVUdysprenVuUuNphk+KDh7wIXNgQEJEAU0pYvmTdqM3ndgG+JzGyrs5oASyYNLYjaZhFfTF54MvvlA+beyya8OkNZYgwRobi20RAialYQWdaCTKSGNwajTPRiOIkDgg0FRYHoEDIDWTyJg8M8ZYDIV+o7y8ryNWzYUL12xoueaDet6VlVWt6+JxQtqrES+BUVzFLIX4DaBBqejgM//5dlUSSlELHyiQroahnF7pCnMzQlHagtyojWl+cXle3bvuX7/PQes79mtW2XHkvZ1isd3Z0mg0AJvBAhLBSzGxPscNApsnV6rnGFs0ihkeuLEKGG4kRTc+ny4vpD9T7HJrwqQLHCktUY2a+RZ0MkrgQuDTEoaDIDhCBCYngJa6aTxc1e8t3nrhqIv58wZsGLVin7by3d021lf084lb1fRQIvNC4GgIKUBNj8TshsCBHwyBnd41YbJGD7pVA5cYWzEazl7Q/UYFNeh+TVuu5y8nd3bd9w0sG//1SMPP3Rl947daNEIS9VAIOF/KgOtMdTgue4zjAQNmRxosMnrqTPh7Aqb/Jom51cDSFPg8LVGkDVcC7qvMxSXUiUwFQbTsWGqEhQEDnruuQgpCkIMYltTW5Mz67MZey5YMG/vtRvWDYil7DxoBu9oAgGjDtcg3AxF5YAgXrd1Upoa72+PviP8GTljjv8QoHRJenU2+iItcOeBz+LiJO9BofApc/lXdVflokhxHOSFQnV9evRYOXjf/ZaOHHrUioL8vBhjSCkALfiWUjWkPNpKwNBz3QAtSEvr7llMg+3rE41A0jKb/Kq65BcHSFN6Yx6gUr6EhGhtBJqvNZwIdGINMiPEAjYTbOASIByECBiaijABgykIEyjgIbxi6YLOMz/5eNCS5Qv2q6muLYWmwyN3Q5FblbaSOTQFnkZ+KbU6sYbKw560mAu/l5bK0SGlajDBLZvGZ400OAggrgCM50GhP4q7k7vkkRliMMi/JvfIc9C+oGDHvgMGLjzmyGHz9tl7v61QkeRgYUgSUFwPSQKKpyOlScAYimAZMj/EJnoCDrnFxCb5CbiB2Em2iP3FBewvCpDmwOGbFPJQyHUl1iCtEQvD0BIwYcJQbYQ4MIAQ8xD2FISZirDqIUzgIGDM/e6rXp/OeP93P/+0au94KpnLW4cGPHW6BAWlaF1iBzIfxBYGGXcyI8QgGixdg6cZ3Oxw1uALyASf+76LBA2nGckaBAz+WoBDrE3lCpDQnyNBQv6243FmIQ+ZfOwc3agf0HePpaNHjvzmdwcdto6AQiDxaCtAklRUJD0IoHgGUrBguxFYOUnYpE04myThkqcTELC/Kkh+MYA0IUZVim0EwWFFofsmRSW2UGDaAK0EReaDA0JTEPY8hKEiQkCBgsj8777t+ck704fIJsmOAAAgAElEQVT8tGrZbyzPC7nkc/LBTuaBGEKDp+hgkimg6vx9h15rvmkhoOhcDTKNrxLH8/1p00L7IqAQYDhpB7QHHYybGGIOCRgCB3/tSAAxgEK4tBij58B0GffLGXM4kIhdDKbA1JTUgD36Lj7p+JNnH3jQwevBkCBgwENCVZF0CSgEGA1JF0gZUtx6CizSJwQSMw4nCyR0sv681l/U5PwiAGkJHDU50MhLsSzoQZNik/kAQq6DEIGCMUQ4U4hthLab167pMOW1l49asWTRAY7thD2KVKkKXO6FUGiUAELmg0Cgg6kaNyEKAUFX4HLgqLA14mmdg8Ul8HBgkCClrW9W/PvZBKu0gs0jxSmZGv/PlQAhsHBTQ1sXqkuuFzGIB80lhnGhuR5Ues0UziqGqSX2HbD3vDFnnz+zZ+++ZVCQUBgScptUFCQILJrOb4WTMhhSQZNjmnDIyymIwQ24wr84SNoMkF0FB4vCYC6MFIOpWQi5qgAGMQc0zhYRhSHKiDlcL+fNV14cPOfzGcNraura+Sv2kNlwNbHENz3nHSxNCukMqAb5oTy+bXNTQsEGTbzWNDi+J0LgCIcRDYeQEzKQnxdBXjSKnGgImq5BUVReoO25DPFECjV1MVTVxxBLukglU0AyKUDCGYyAYwO0PLZD4HC4uYHDeD7A4OBwuTZh3Hcns0O/cWEwFYV5uTuHHnnUZ2PGXPitoqkxxUOCKYgrKhJwkeBMQnpF5+bHCimwFA22Eof97wDJLwUQfz9psxJkDgJHgoCREJ6JJ4QnBwY8zhZRqIgSQJYtmNf976+8cNy6n1fvzX0FGtjEFNRpulh6icBBTEE5e2INAgA3M6oGUECB/E5iDUNHiow6rfdg6OhaWoCBe3TDwQN6YECv7uhaUoj2+TkozstBWNdhUOpX5v05ZzNav5TuYuWgvK4eFXUJbK+qw5oN2/D1yvVYuno9Nm2vAktaHJjcPBGDOA4HiMochFzGs4hkduhiSI8ojMSsAAufK+Ay9O3TZ+m5Yy56f//9B20kgMBDHLQNAEX1kCSPh3RJhICyCyBpqwvcJoBksUcDcDgx6BTf8DwYJEb1JEKOypdMDRNbcGBoiBI4XAZaByln6gvPHDrr4/dHJ5KJPK4yZNTKo2pzjXSFytOr5K5y70PqCQIDFB2uThky0iIKYjTsXKCkXS6G7D8Aww/eByMO3Bud2xUhZLa8fOauFEI6rostFdX4buU6fPHjCnz+4wr8tG6rWDpIV7g5gesizNmDzI/L31P5lueGubfDK9nJ+yEbGw7XjRg1+sPzLxr79T9vahHTCCD05wqgEKs4DEndQ8oJI0XilXQ4xUv0HDhNmJs265F/GSDZcQ5yZUmQ+szhErt6MBKASbENnzV0FRGHACFBQcxRXlZW8upj95+wdMH8Q4Sf5rufYtEV8kBIWNIrRuxAo5zTuxCcxBwejWA9xIERty3069MZpx1zGE4cdhD27NmNF4bs6oMMedP3gvL34Ee7M823dWcVPvxmASZ+8A3mLFgFJ5UCLfFskjh1bJE+5l4P6RLyeoSYJU9HYS43RzwdxMD23Xf/78Zec+N7HTu0ryAmIbAQq+gK4g6JWQ1JziaAFaEAnJRZWZqkgXfzrzLJvwSQ1sBBgpQ8lCA4OGuowpwoDDkeQEu55Cz45qveE58ff/rOsrLulBXjjSTv9ctdWGIP7oaSECWgkFmhsjB6zxSei0aG2kW97aBXrw648NSROH30UHQubZ/GBHVpyxfrB8DE5KoGUEiH3zNZMxGKp5EvPvT3HUumMGfBSjz/5gx89OUCJOMWIqbOU80CIDZ07i1TKtkRbMLjJv4yWiKkX1pauvGisVdNPfCQQ9cSQFQBkhhnFE+wSRAkFMZvQpO0GSS7DZCmIqRr1kCjhFssBp3A4WsOMivEHFyASnMSAEfu5++/tfe0V184vb62tpjHrCjsyeMaokhDRLpVARLyVshlJZlB+oPYQzU4m9SlkujQsQRnnHI0zjxhOPp077qrZMG/JwvVRYiDdzxFWDM51PSyLk20FmlUogFiHI2JxWDoYTsOPvtuMZ6e+CE+mPUDdE/j98hjPGxMZoVYhLQJS2sSvitpbqghcvNyK88576KpI487aSkD6oMgYa4QsgQSMjdBTZKTA6e5OMnuMsm/ChAZXYJC4fP8fGgUBCOzsgvgyGVA7juvvDj442kT/5CwU1QHzMFBZRr8OXkk/kqEnoiEkl2n8Dj1AlM0qJoOy2OIWUkcf8yhuPGa89G/Ty8BjFboIriyKC1exfP5cmqpqyhwJYP46dP0Mrp8phSvEBEH4Uk+XtHKYUWLF1HGUIdCp0twh2XbmPzhbIx7YjJ+WrMZeTkRUdHECCDkJpMbTNef0SN0NvQeufJhw0yc8PtT3zrjwou/VQRI6n0maQ4kpM8pTlJbCzcryUfLiWXocReG0W4BJFuU+rmVeBw6BcGYA0P1YNophFwNYbiCOciUSObg4Hjz2fFDPn1v+kmO4xh+JY5gD2piFwr3RkiQUh9I00KSn4Jh1D+ajmQyhZyCKK6+4mxccPZJCIdaubuQX1DBizoocSdwJFQB414qZw3K1VPMK80s1HXyu7xtxQxaH4Uehew5WKiTFZ5apiX7SDERWEKKytPOG7Zswx0Pv4op785CSKdlu0WizzctXMimk4HC7HATRg6YptrHnnjy2+eOvfLLIEi4NiEBqyGhuUgaIaQ8FZaiw6ZgWjQKJ1BX4l/GboXjdxkgTemOkvXQKLdix0A5SIOiozZJMxthJlzYqAvkqACFxTk4XvvruBFzPvlgtOsy3SMwUANzRUgNT08owknVPEIm8mQa2XiZYCMPpj4Rx2/264txd/0Jg/bbR5CGXIi/0aAgaSG0H2cKfo8oSvUTCOS8F+pgntyTgKE8DQXleOcrAiz0I49DiY/vdAka/YbfF5RKAYQDA0NReGNQkQplFikDSX48VUW/OOkfuOnul/iEmqipcu9GmBuxSB2/iTUHi1yxmQJsJHBVwxk+avQHl15346c+SDygXgNiUBFXXCQcA0kDSFHUFTpsIwcO5W4qesIdJMaCj+xdBsnuAoSblqDHQu6s4vABYWoKQq4PDuG+cnAwhYMjb+rz44+Y+dabf3A9ly8lx9fjkyOXXFkCCAcJd2OF8iNzwsGjUwaL7iqZwvHHHoY7br8GHTuUynXfaRJ5034HAYebEckalKDjnax4sDlz0HMBAv4n2YOAQUCgCiACVbBah3tT/KyE9uCrq1o0OsRrUuh0OgQW3igEFgUIKypyAUx9+1PcfNezqNxZgxy6pbYr4iJEmbyBpWD1eAJQTMghlOuq6h578inTx4y9ipikTmGo5yCR4pVAohk8sJZyqbkoXtjQ/U2DZFdNzS4BpCnTQrrDF6XksaQIHNKsEHOo4J4KgSNPVZD31qvPD/5g6uunu44t7g1CtkIMTEHzqgqdawFNeigyBU/dQEkKEnQGcP31F+OSi86ARvEOGra8uLThZfBJLDLIRsATABEdyUFA7ECFQhT85KVg3LDxbfrPB670Vjio6PsEMFknwi0OZ0AGPUlhYgqnCyeMSukJJIaqQNMUXiQbUjWeeCpSFKxYvgZXXvsA5i9cjcJohItXAgaZFO4D8wsQN1nkeoTASJ68ptsnnXXO1DPPv+Rbj3GQ1JEu8SST+OYmRJlh6dmQaA3okd0yNbsDkDR7+KbFS8Ag3WEBIcPiybYGZoW5yCOAfP7e9H3ffOnxMVYyFc0sdE81GYL+fQNDwlRhJETJg5GejKYhnkiiXYd8jHvwBowccWTApEiE+XaF5iHQP4paUvEoKKUvwCeqxqhYiBhF5axAZsUHhAAI4689T/5OlgRwLUmBUB4uFxFW4X34ng4Bg9c2ch3BQzLSE6M1UwkkNLWP/gxd4QvjFmkayjdvw8Vj78Tcb5egIDcqzCTPGFM7iHA8HZBC83yxaYrAQoEZMuPnXXrl6yNPPHkRAUTRQAtoZsyNh4RtImkCKdIjagR2U6ZmV1ikVYBI9kh7LeTSUjCMTIvuwSTd4VoIE3sonohxkEkh1iCzsvC7OX1ffPjui+O1NUXB+ILKxIKlVA1MD6J00d2aEKkK49tYIole/bti/BN3Yt99B8pEq1iXhA8zP1xNrMFHmguXEUhENp6bEOp8ntSjsDwdiwotgBTJAjJB9OdR9TEFPxlcR+Hhb4fqPOg1TXyh4iA+oEX1MnUWPRdurjh3AglnD4W2TMyvUAkgKp/JRbE6DhgCiaYiL2KgamsZrrjsdsz9ZgmiuVF4jGouaeTIBCDXVv7dtoV3Q+Y0Nze36qqb7nxx0O9+t4bMjWQT7uEwFXESrZqJJOkRR4Xlm5q+fdOEKvivFa+mRYC0ZFrIpY2BD4aQ5yBCopR7KqQ3JHNU7Nha+uB1Y8fuLNvenWhfdKqgDf6Pxzp4soUzCS/6gcix0FdTloVe/bri+b+NQ+8+3eHR6OJOpFy/gTqJZrRwcNB9dWl0EzioU0XHU6eLDL0Kh+nwdBWWRnUhlMzgGXrSjmC2y8vJPYd+4wnmcUXCjgBHYEszP41oWSMiFI0ECC94FuAlp11XySwQc1BOURV/ZEp1+lOgGyoKc0OoWL8ZZ598NTZuLENOxIDK9aoQqgQIoddEeD4NTEVFaYeOm+5+/OlnSko77/CZRGXCDSY9ouo8NJ/KAb9k+18xNbsCkBZNS8hGxHN5+DxHVYS3AgX5nusVPHLTFWeuWPjjIf46mhmA8PHGbbTPGoJNhE3nBUDUMBrDSxPuwqGH7wfPjcvSDfINwgCLcJARIHij0Sgn/uAjnfwjMVlFMIkQow6ZDj4PQYdFEVg+3ZLBtul3NmcLAgSxCvdyOHMI4cpBRiYsQ1rCu5GuKTEJzaMQtUfk7hJ7iOgZmRvSJKRF0gChxKApQFKUE8bqeUvxx/+7DRVlFYiauqh2o8IjcvMJ/Dw2wlspzVx0/XsPOvC72x5+fLKqqTVgqOV6hKFeVxBTNSRSBhJtMTXNAqQ59tiShEFei6EgRC6t4oqEGwGDPBZ4yCeA/P1vTx/2wZTXzuT14zI0ExSTpDUEoYhCHc4gciSSaUmmLPTp1x1vffgIcnM13umK5HMxZilOQnZb99mYT5TlJoAzgMfvfkDPPZc0hQLH9WTnU320MCm0OD7/nkumiYAizQ7pFwIE/yOQMNjSdEk5wM+X3HQRdPfPStwYiFcfyIoEMjMUYSWg6DrN6qLlBiSTGAovMWhXnIe5X3yDyy+8Bcxy+WxzipOQ2RIkQowizCoxSzoboCjs92edO/mciy+fQwCBilrSIwQUCsszDXFyfW0SrTrsLmHYuyNYWwNIA/aggBiZFt9rYToicNO6I495yIOCgmXzvu/91L23jE3U1xcEsxe+lhRmhrBBjasL0+PHG6jwh0aw46CgIA9T//EIevctAfMyt/oSo5Q0gAHPDcN1NFH954NDagbqVBmshENmwmWwiUWoAoeLUQIEaQ2Fv0+vxfd8QAhRyk2VzyL0mdQ+FCchMSmdGX5OJCjJRPqeOmkRkVdUYdD73KNRqYxWlBcYBBoNuqmhpCQf016ZivtufIwyuzz7S/vnolgCkOdwJFD41D8AkdycmhvufvDZfQcduBYMNYoqvBsecdUQVxwkfK+GTA0F0LJjI81pkV0BiEoR00QRdF+Y6kDIsRCGjiiZFs1BrqdwcOS7tld4z1XnX7zx59UDhRvaxENWjfPYBYXNqVlV0fAEGH+ln9rqetz5yJW46JJjwbzMDW+5wk9XBuqw7Ag8R+UNKUyMWJOBOp+zCdXvcLEp3rNd0iMEFgkQLk4FY3DRSmZHahlulsi95eaJ1oAQ5ynyNkT/8hopdCOBQ4lEiqLyvCM3LbK2ieaAktUxSJcIBjEMTWoSHXpEQ1FeFPff+ACmv/oucvOiIqJK5kskaqR5EYzLdR1nFxW9++6x7P7nXn5RM4xqbmoY6lxdmBo4iOsmkg6VxkjBGqmCI8PworS3GbHaJECCngsFxcit9dkjqfGajhBzEaXbyctAWB5U5CseCqa99PQRH06bcLpHvN7KgwCi8LI/8VXKg6g8li7C147t4unXbsaIUQdQJCp9M8R0NkERWRPPNZFKhWCT9+G5DbwOh+w3TZylzqcZ1mRmyGNxVdgEHteDzbWHNC38c3pOYlfhYKLv8M8JGKJYjLMKaR5eGpC2jTLQRdfh10HzqkgBEk2lRUoYF6iUcNRIrEqAGIbOmSScG4bq2rjhouux6LslCEfCfEkjjVe5uVxz0bxRMsNcdfEyARFyPOmMc6eec9kVXzIVNfBQSyxC5sagCjUNcRKsYRep3WGR1gCSZg8kYFA43aH8EbGHCKMLUSrBsXnt6q4P3XjllfW11SWZBfSbYxCRZ/EnK3GaJneQiSV/LMtBz37d8Nqbd6N9aZQLPGGMhf3l3g93YEVhUcoKI5Y0uKDj4QMCA4HFkV4N1xrU0VQyTqAiU0Pg8E0PsQSxjCt0iLyhMpkfASjp2XAzJnWJzANzoSx9GV4oLz0xPvmXci5cf4hL1cmLIcDoBBqNs4muaTBp2QJarsDQUFBcgLXLl+Oqs66Fl7I524hBIcPv3PWl9+h2JZkIekF+YcUd4596snvvfpt9kJAW0UiPqIhTbET3kKQwPCKwd4VFGgEkIE6pQqwRexhULugg4sgcC4GDecj3FBSMv/mqM5bM++GwZk2L9FmE3ybstEjlixHFLQcBRFFQH0/hmBMH4/6/Xo38PF34mP6Du7fkNhPNihA1dXgsloOERVpCxC1c8mG5GXG5K8vXaKDn3LshncNgSYBYnipELFE6L0QnE+SzCM1oos+EHuC6RD4nsAa5ksspP+0vRSrP7HL9QSyi8liIxsUqxUYoLkJMovMVcsirUU0d7UqLMenpV/Hcgy8gN4cC9GLuDe1chH5IrIoZ6L4zRZ3524MOnnPTw09MUYUWqSUmIRbRqaZER8L2kGyGRXgDZ5ua5gDC3YRs7eGzB+kOGRDL416LioLF33/d78m7brjSse1wS5YlOyzO3V2uRUQshP4jkVdXV4+/3HcJzrtkNA8scS+Gn60MUnFdKyvMZYzATpqoqjdh2UJ70DpR3OTQ8j/cnJDJILDQc5WDwXIEYDhruAwWZyAm4yEELoVPgyOXl2sUV2qdgEcjvBl5bnLZIjolGgDkvchqSbGiDbFIIC5CgpVuo0brZgkzI5ZMCuWaiJgGbrjoBiz5fjGiORHOjlwqyDt4Bx0AUbzEYJqh1J/veviJ/Q8dvBoeasir8QUr6RGfRXZVi7QIEIqaxvOgKzvkHBYNYdIeQfZwPRQo/7wb+4N/vvi81UuWHEDDy0+b7xpQZIKOB85oNhy5/1SYzPD8pDtw6GF78YU8RLyBTlcwCY8LcNEmXT6aAukqqKmLoCZGuoE6moBBa1X6otVLMwmxBWkPmwJjBA4CDbEEF7EiisoX/aDnBAwOEPGaB87kHCqhRIjqRUE11x7knfHndE0UURVswbUID7sTSLQ0UChmoOk6d3fpTzd1aKaGgpJC/LR4BW76vxt5rSt5QOJ6xeRz7mL6kWSSzORV/fMunv1/s++P9zz+4mtMQY0m9YjPIqRFDJfP7rNYKaxoHRwZXW1SrDYASNC8LF8OzU/I1StUXcnnsPi5Fp6E89lj3pdf7Pn8/bdcYVuuyZOx/kS0FmRqhkkIICKTyyvJoCKVstG9bye8Pu0+dOyUKzOnInsq/GOhP/x5sWRuCJgEEDupYUe1iXiSwuS20CTS5PggoJXnyLxQpzs2VX953M3lnzvCzFiOWC2GgCYAIzQMiV6qFiMBTfrF882YHNhisp4IsZMo5V4KmRLqfFWYFKqG02l6Dtci9JwCZkKLkAahP900oJkGStoXYcLTr2PSMxMQyQnxwUORI/KoggAhQMrkAzRTt/5067inDh565Iogi/haRKMIK5DKpShrJpEnSmCyzExTAOHmxWcPSsipLkw7KYRpkD3AUMAYCh++8YpzViyYe7AQjnKqCFkNP+qYRSXpPAoPSMsZbeLMuLmJxRI46riD8egz1yISIVqm8HoAHNz/F/lZ3ihcqMmwtMNQVRNGeY3CO5GbGUZ3uiRTQy6Iw4HAO5tkvUPmhAACDhbOLB59x4ZluUilEkjE40jUJRCPJ5Cst2DV27ATDG5S5Ys7UASWh4HJZefClGyLB8WkxJoKPUeFGdVg5IZg5oUQikZhRiIIGSEYpgGds4fwagxyf6W50UwdJiXx/jn8/3z+tSjbtIn/Jh12D7QrD55Jr4qG2T6/HfT9HX99boKioBqK8Gp8FiHBaoSR9DRYlMhriUWaAkgDcUprbyTIrSX20IXnornIc1UUkFu7asG8PuPvuPaqVDKRw42AXE+Dz4311VOTABFvcjeXf09kcFVFQ21NDJdc83vccNu53GbTd/jeuFAVNMtjJYrIntIaUBpPt4ocv5VQsancRF1CTD0gt8ZxHTDPBiPmCACEP3ccWK6NZDKJeCyGeHUMqRoLVpUKp9qAW2sAdSFoyTBUqiN3yBWlSDDNOxcFrAoVyxI4ZFWigD55Kg5UzQUz4nDCMdEbufVwciyoRUCoyEC4IAeh/DyYkVwYpikAQswSMqCaBopLi/HpO5/imfseRzhs8hCAzHHKLI3/WrjdNABD4XDslvvGPzFw0KCfyaPRPNS4Guo4iziIKzoSEZqtB1hZgTMvKFTTAMk2L35gzKSgWBJhipqqnqjx8E2LwlD43LhbTvxh1swRIhwsUuDparAG9eE+IGSSTi6tkAGIWLiUCLS+JobbHroEF1w6WiSo0pMQ/KCUdHEJKKofGxBahBfb2ArKKjVsrVD4qnFUa+HxXIuvRYQ+sZwkEnX1iFXXI1luw9phwC6Pwq3KgxvLgRUzkYwD1VYSNU4McaceMS+OhJtAkqWQRAoO7ZfXbcjAlaxQpZVsTIQQRQR5SgR5Rh4KzQIUhfNQHM1DXsiEFrHhhGtg5e1Eon0Z1I4OQqV5CBeXIBTN52YmZBgwIyaMnBzcfc1tWLFoGUKmEdCnIsTLM74SLqIuT8PgYUd9cu2d495lxCJSsPJcjYoYRVf1MGjKV4oyvdLlbWRmsgHSyLzo9Qg5OiIpKgISqXzSHgWKioLqiorSOy4968+1lVV8fgEJS17Gr2qiUiwAEF9zpLWHCHxk+p7cW+73qojF43j8lRtx3IkHy1yYEKdpQaYK5uCUyrO5YtkFoUlEg8XrVKzdqqI67nBgUNkemA3XSSBRW43YzgSsHQriW00ktuehtsxEVbWD6pSFMqsWO1KVqPQqEEMtLMT4XEdGwToKTzGHV6TxSGn6btd0DiImw1mUtIJLLEKBPx2qZ8g/HTlKDor0dugY6YQeuR1RarZH14IihPMTSBVvQ6prJbSeQLhze5g5edBDJopKivDlZ3Pw5N2PIRQikysicYLBZDxIMjW1DC2cU1hYWP7QK5MeKS4p2cEEQGp48ExBLKQirjtIOLlItWRmGgFkHqBR5DSVglHDYFJSzrMRocJjMi8U9yAG8RgKP5ry6uDprz03hpGaIzhQ8EZqCVH8EigIyqr6UhSdNyDXLbzsVIKFqUjaFl75+9343eF7iuotGSTyq0aFqyfqxPy0uCjLIxCJghuWAjZt97C2jMGxkvBSdYhVVCC10Ya9sRCJ7UXYttPFsqrtWFe/HRX2TtSxaqSUOBw+LTYJl3ZCQRFem0FMxcuJRERXHl/0kNRH/txfPznJo6xkNkVkldbao7+wkgtTiUKHiWRCBFI6mh2xT87+OKB0ELoVlcAuXYdk3/VQ+oUR7lSCcE4+DCOEe/98D35esQpmSBbm+cpU5mt4QlyaGXLzzrxo7OsnnX3+tyqxiIyLkJnhc20MJCiJV6DACoVgy/wMb1jfzGQDhGIf3HuhrG3QvGhMRk09FPji9NEbxp67ctH8g/jyfzJGIac+pb1S2VaNygJ5JJDn930LIqY6+OV8k94fh3326yMrqQQzUDaXdw7XHuROS/aQxULcxJFXwTR+G4bqihTmLqrE1lVlsLZqULZ1QE15HlZWbMey6p+w2dqCGlTCZUl4ShKOm4RHOoVc43TGNF2hFwCqTPNzQAQFllwhIA0a+p4/hVQuFyGLjEpycrFH104oLuiE2koNGzfXoaq+FrlqFL8tHISRnY5Cj44FqCvdAGfvKpj981DSuQu++uw7PPvgUwjT9FGpyXy29mtkhbgTdTZ77/fbH24f/9wbabGqoobMjKugPmhmAllebmaaAgh3JwggTgkM8l6C5kUTVencvBBAyrZs6HLPlRden4jV5VNOgEatAIn0S9LV5Bnt4Vee+24tZ0kyM3KSFLEAJdPUkILpM8aj/549+Y9tz0A9ua2JWhQXOtyUiXiLWFKBdIdgLFlGJgNJFZsr8OGrm1A1twNcqx1+LF+NH6sXYadbhpQSg8ticNwEXCclC48CHe4PHT8AlgaCH3eRb/hTFXwiCQpz/pkEiAzwcb1Ak6JMHb06l+A3A3uhU6f2sFM61q2JY+XySmyrqkJUM3B852MwsudwqPlxJPusg36wAbNdCe67+QFsWb0eeogmV4jwkF+3KrBBmkRM48jJidY++OwbD3fq1mML92bIzAB1LlCfbWb0Cth77SUqzhQefJIJhEByjru3liVWDvS9F8VAjmvLnAtDAZmXd9947oj3J/7tbL89/PZLM0bAvAirE3SYMtMaCCCJRILPkMvLy+X36sgvzsNrk29H2dqNSNUlcdDRg1EXLsXmLTG0c8vRrZdYNJ2HmQNVVlygygpwN5nA3Ok7sWBqe2zdaWPmztlYmVwGS6mD7dXAdsl8yGiXTwN+gWwQFCL+H7Du0qVNmxWfQQS4RAVY8E+UKcowsfDGaCEUXUOXkgIMHNANPXp2RlFxFEbYRH0tsOCbKqxcXIMyZwP2K+qPi/pehh2K3xgAACAASURBVNK8XCR7rYY+xMZX3y/BlNfegmno3ERzj447B6SP0hWQkkUUnHLuBRNP+7/LvyQzQ8Ezcnk1A/XMRizozZgm7OygmTAMgtdpOoPWYTN0qlan4BiF1qlizCZxKtmDoqaeisKHr7v0vJ8WLzqQ2EPEIjJU2yCSml4EXTQMPyAFiGhRQ48haScxcvRgjBh5MPbYdxDMnCKoIQ0F7Quwed0WfDbpExSgEiMuPRUL6tshvm4zRg70UFgaktld4dlwccq1ghC0a2bX4PO/RrFo4w58UP4RypXNsNxKOE5C1rbLfgzaiPQ1+JG+AC0ETYk0LaKzfez4OsRvBz/iK/El5+bwH9D8GU1Dh7xc7NWnK3rv0QVFxfkI5RgIRwxU18bw5YdrUbE2ig3OGnSORnFjrwfQLb8Uqe6rUL7HKjw58S1UV9byZKAwu7KIOm1eOK3wFMbA/fafe8fjL7ymehIgkkUMBTGqOKMEnh80K+sKZ5Ao/uc6JAgQrj/IvaXMrcEQ8oNjLtWZKsijuAeJ48qd5R3u+eN5f6qtqOggA82Zyl2/vaS54fTnt7PMdPptSt7KpVefgatvuJgLyR3btqBdn36Im0WwRSId23bE8eHDz+DQg9qhstshWLuuFocUVmLo0O78tgvpcjVelidqWRMVMXx0n4c5n6TwdsXfsQ2bYDs74TErg2Qf0Y10hA+cDOqFZ5Tm28BIkCI5aI78Yh5ZARbEFfkc4jUlKjUUR6IY0Ksj9ujXDaXtixCK6jBNHZbL8NXX87FyYTny2d5YnfoMRxaMwtiOdyKak4R10Cq8vmoSvv9xKUyTalIcmd0W5t1nPD+jXljUruyBlyY81q60fRlzUU1xEfJmNCayvBQ0sxWkAhnetA5pBBBff9hxhClza3ty8pOHfB4cYyikxNwTt153HWO+yqSzCsQrfGUtK8X8UUaFNAKTCmLxGA4fcRCefOlB5FLRgGdh45Y67NhRCa/HAFRYBl9S0k542L5wKbZ9/i4GnzIK838Gcms346wz+qOoY64omknbORG+XT2zHu+O0zFt7QwsTs2D5ZTD81ICqT4ggpTnvxfwCISVEN0pZlyK56LRG9BJ2lXLMKn/nYBZlWFlcQiRoMzXczGgUw/0H9gBHbvmIxzWYYQpF+9h/ryfMGvOjyjS9kAqRWtA/Iy/tH8F+xT2hzJgK2awKZg262OeCc6kH2Q6gg9Kyg3JKRRQvBsfeuzRQYMPX00xEQqaUaaX14qoiFGG14giSe5uQIdwoRoEiJatP6ickKKnngNeEEQClQFFU54bP3zm9EmniHB3ZpaZyMrK5vMjqgFG4VkXherwHT7P5bW3xqN3n1J4bh0Ux4brmZi/pAqVcQ+brHykYgkwKwW4FjZ9/ikG/bY9ttSVomrHTpwwqhMOPKyPjKhmBrUTs/HROAtvT9+Ot+umoNbeAs8lsyJnUgWsRrqjZeU4j1/IMj7uQgcL4ngH+/5rxlw2rntJq7DMSQWeCYCQUDWxJw7CmdoJ2KPIwPojlyPWqQ4GFSyrDEuX/IyZsxYhmXLRydgHG1Nf4ZzIrfh9/mmI9K3GjOgbePP792BQUiewfh23NpKyRUhezC897vSzpp13xXWfKUAVCVXSIaqOOoqqUlmiH1UN6BA3CBAefFu/Hrof/wjRsg2iaszXH/nEHgSQR264dMyqRQsPFNMQ5Ex8iVo/Hc3njvhgkQ3kjyfLsnDDPX/ERZedCs/bCZXiDbYDJ+FhW4WHed9vwuZkCFW1FpidgmvbqN64Hh2ilSjqMACrf6rGb/qHcO6FB0OPUgPR6Xtc25QtTeCNP1uYvmI25sY/h+vWiqOnTUrARaWOknNdfBGZudevqLcQSeQMS2W4w6ebbBz47NHcEjTicx35OBFX406ciyLE8f5RU7Bl4DoYeoi8dKxYvhafzlrMXd8ukYHYaS3HUJyG86J/RP6AOKapz+LDFV/A1GSeKi2kA+fDJZIoLtprv/3m3jn+hdcJIDyySmUAQB3pEMrwpjwk/XhIz55i/hh5Mj6DUP6FC9Rg/EMxEFU85DCX13zw4JjnpEpuvfiMq8q3bu5JIWZGVyNNiQyTSdAKAec7BpyqqVLcdZFXHMW0Gc+gW/dCMK8OimsBlgOrxkYsYeGzz9Zg7XYL22qT8GwLzKXPYkiUr8MhQw7AkiX1KIgmcM01Q9GhZ5EUB4RQF3MnxzHp4Vq8W/kW1sUWi8mU6WCbZIG0tyFKC/yHALDvvord+iaMr6saNEtN8oM/EqR45RgKem8CbHQIHXkYhvNwPk5DfrQMC0d/gETHOAwzxCf1rlqxHp/OWoidddXoEO6NuFOGQe5IjCm4GMV7JvBCzaNYsHkpzwbLeQHNnhG1e2mXLusff3XKE2ooVMGDZlSSqKGWAtfMRtwPu1M8xBeqHCBBDwbbYPgC1bVotUFEfYHqm5dNa1Z3/+vNl18Vq60u4pOHKE0v2YMihlyk85J/CjJTwa+s2RDSDIlkEoOH7ouXJj8Ew6gDY0kolEtPWohXJxCPpfDjD+vx7Y/bsKMuBccSwtK1LOxYvxWHDxuITRso3V6Hyy4bjP0O6SXnF6jwLBfv3l+Nd6duxT9q30KltVFqDtlJcrGWtA7hlfEB7ypQdxI0HcRROXw1Q6G4a9IlhjSdwUOe4qKWbiTDrzizQpFcg6jhkJamijI1HdAT+4b2Rc/+DNH9LERyojAiJl9YZNXyDfj0SwJIPdqFOsLyYhjkDseZRWOQu1cFxm96AJuqyniFvF/x3jRCBODz8vOrbnv0mSd69Buw0TczvlAlBtFMJHyhik6w056MBEjag9FSMP0AWVMCdeHXX+z17L03X+m6Dq2qJFNTouG4RyOnM1BYmEBCjEGTknyTk4glcOWNY3D1zecDrEJMenUsIJlCbWUS9dX1WLeuHO++sxzVNSkk6Y6EmoL6uiRS1cCgA9ujutJBXV0KJ56+J44/aX9+50KaiBKvsPH6DTvx0Vc/YWbdB0g4O+UdG6QLGGALwRwyxiHvKiS81qDwEE2eqzIcZLo4u9jBOtvEveW+IFeQo7o4rVDBx3UuttqGNHbS9ZesKSo4BDsJ0AihHlJVdCkpxj79u6JHz47IyY8iEo6gwC7CDyuW4Ou5c1FWH0dYa889sIPdY3Byx1Ng9V2BJ1aMR4LfZM8Ti0U38xArvlEJgu786c5xTxx8xPAVQaHqUJ46kJdxQ7CCiTufQThAyIOh6jGqXOcTogICleIfjKFoxrTXD57+8pMX+DPrucH0L598cR45pAJcgyeMXM/hf5y5qc7TcfDQMzfjhFMPA7xqngBTbAte0kZteR1qK2KoKK/DhDd+REVFApbt8iKbmvoEEI9gwD75/BZQlRUpHPC7TrjwkkMRikT4IhzlP8fx4p924JMVC/F1/edw3PoMxfuTreWUhbRnJe10w/bNgMSP7xUrLh7p4uLjeg1TqkQH04Nimb8JAZtchp2OP1UwExjLhK38hWd8UU+r+1GwrJAvzdmzVyfkFIQRjoQweMkIzNgwE2+WvYmqehuGWsLvpTZUORnH9ByGNaWf4Y1lk6DTgjt+6WVLJo9/puCcsVe8csLpY75XFK5D0kKVZ3ddJKhWlarMGngyPoOsWcPXF0tHUPmEKFrCQc53If1BIvWFh+448YfPPxwpKJhqRaXlplI6KehoQpGcNpe26dwc02IouopnJtyLw4buCbBagCKaDt0r1EZ1WT2qd9aitjaOia/Mw7at9XCYw0cIlXVU7EyiV98SlBRFUVFuoUfffFxxzVDkFkWhhTSsm1eL527ehplr52Jh7Afh2nIhKqOcfoyTE4cs3ZMd7Y/whi5scGgqiNLqcZIHGrm6DTpIQSE85CgKtnA33M+SBD0cD2FNQ/d2JdizXzd069EBOblhmGEDxRVd8c3ixXhvxWxetFQQKkTYDWNU6BwcNmBvfMT+hq/XzIVJd7YIuNxNTW1JL6zDgMNGHPPx1bfezdP/PKrqocZP3DXhyQihKgGSdnHrVYQog8trT2lSFJDnMhH/oAjqA9dcdNHPyxfvLwSbkEeZoL0fakj7Wg2ajSqvjLCGFyY8hIMO6yEFagYgVWX1qCyvQaw+iamvL8CG9bVgqn+rHwXVNXUwcwwMHNAdFWVJFHUI4aprhqCkA6XENSz7uhLP3bUJn236EavrFoFRjsUvxPPdbqJckalPz7PJnGRD88LLINMdICK0wmuTq5ZlC1BpRohVnu/joKoeuL5Mini+Hoq/f+EBRTQdvTq0w4D+3dC5SztEc0IwTRO1sRS++XYlFq9aB4diDGYhClkxjs87B/sc0B6TdzyPVT+vh6nTkWSshic6RV1I8JHRUgz999lvwT3PvPwyMYjqoppiIS5QR8XMpEMos5vrIdXA1fUB0oqLW6BAuLh/uejkq8s2b+wjXBRpXqQ72/DUGnMeMYgR0vHchIdwyOFBgNhgcRtV5bWo2F6NeNzCOxOWYv3PMTAquKBFYBhQVVGD/KII9uzfBTvLkjDzVVxx9aHo1L0AZljD/FkVeG7cWszaPB9ra1eCeUk5lSIAgYAn0hgkwQ4UtJwZoT5Agtu0cQ1cLEUTbUwd4GDiduCNKiryF2yb2Qo9kqtr6Nu5FHv064oOHYsQiYZhGAZ2bK/Bl98sw7rt5XBpqQSzCJ2UXjih+CT0H65h2sZpWLhgDUxDLCzMz7QJgDScNM/QpXuPnx97Y/rj3NUFd3V54q4FV9dNM4gPED8HoziIUgVZ0MVVgaJrTxt5a01NRXvhAwqby9PwnqwalfNCeBMEA4n0mqheBZ54+W4MG7U3GKvm+oOKQbmJIYCU1SEWS+KjyauxcU1SFOdqOuK2g3htCiWdQujRIw+VZRat6YRLrjgIPXpRmFrDvNnlePrBlfhqw1Ksr/0JLksEg4xyfAdiIo1YJDvI5Xes6NCmwRIInvGvUcWHh46Kh+18TbRMPETMF/RrcBnyTB39upaiT+/OKO1QhHA4xGfMrVqzCd/PW4PK+gQvgsoNFaC/tj9GdBqKXqOSeG/ZTHw3dxVMurtOI9dbVNLzCEj6M1FEXVhUXP7C2zPu9YAqWR8iCojI1dUR93MyVBsiYyENAVLmwKRFYShJRwDhNSAO8hRNZHAVhqKxJx4+zkqkovxeorRGuiPnavAcnLjLcLo5JVjEqg4izJ5IpXD7Q3/EOReNBrxKwBFBMhZ3ULOzDjt31CJRZ+Hjaeuw9We5EAy/aS3pHQMFHYHC4hSqtrtgJnDe2N+gV68ihHN0LPy+HOPHLcL3G9dgXdVPcIlB/JPxJxzJ1+nGazK2ETQ1GQ8kQxPZYPEP0hTrNCD8QM6KIWJo6Fqchx5d2qNr1/YoKMhFwnIwb9EarF5bxqNVqqciR8/DAdHfYXCv36DTsHq8/c1szF/0E69bFeZOjEQ/Y84nk2XFbWhiWjgSjb3+0ay/MDIxpEFc1FA0lWpDdgsgnoVIMEjm52DIxFw26uCHXc+jGda82jwYL/ApmzssEhxc7wdS/fXxBE47dyTuf+I6MLYDsFNQkuTFOKip/H/dvQecZXV99/8+7fbpbXdne4Fld+ldmqhosMRYYif+NRqjRhOT+MQkJpbEaCT6WKLGCDHKYxQVjYgEAakiLLCUhe1snZ0+c3s99Xm+v3POzN1hlwVEE//X13jbcPfOOZ/z7d/Pp0Zxuk6t2OKW700wO6or4dmY1LbV8MgN+fQv8ciPBvipgCv+4ESWre5Sja6922b51Mc2c/+BQxzO7yNp2iFrkNrXDfdbFMWDqpfNrwmE33uuG9d2Rhe+djwnuhAoC9ysqrPMZ0ASfKcsg+5sipWL+hga6qbWdNi2a5RCpaHWMWXyriPo48Ke53HqxhV0nF7j+z+9nZ37Dqil79htzW8KhIvlIT7m3Y/iLElYrWtuuedDcTVV9WSiYplnUBMLIgtVQyb2ERZkC5hxFVUsSAwQzyZnaNEEe0A30PuOF5/1WfVlVBm6fQA5HIQJ5yTnxw3j1YcQIxqO47Nq3TDfufGf6OyS+kcdv9bAqdpUyzbVUoPCrM3dP8hTnUhji9JbtOZQbzgYnRWWrLIojFvIAujr37WCpcs7FECmxsr8/Yfv5N5doxzOj7CoKySBUQvbajnKoyXDytGKZbjQHa40hmyI0QFtK3aFpzgGRgyY9uzmaG7pyfHXkdZn/r9XBBi6TkfKojOTVGsX+aqtjILQN5maRZ+2hEuWnMP6UwfRl9T49o9vYWRqSq1pxt8tvgYXNhOPnMPxg2vv2vKn7QDxpKubULMhdT1BQwAi1dSlSxVLV+hinhlAzv6sLP6EAAkXk0MKhHD2IHQloZ+PWB5C760WinS1QyKUlt/8wZWcdvZSqM/ilpvY1Rb1ioOAYOZwkwdvqlCf7MRuyFUU+tNSrYI2kGe4v5vyZBq9t86r3zXE0JAM25i0Gjaf+ugt3Hb/IfZOj7GsXwlshzRSEdeYbO2rpakIJAo8imwmBJLi8pFpNfX9w79RxePqeTz/0R68RnFK9NI8YWYczLYHsgsD1dglhVe87O/GWWHIY6aR0TMMJ5bxvLWbWLtxgJpW55qf3EC11VCzrvHO8jEBEvqeaOIuCK79+bMAiNR7JEiNY5CndDGXn3+l77myF6YibvmjZNFIyUVHiZycFrnF0w9zYUDEUdZotHjL217GR658L1pzAr/UpFkLAdKyPQ4+XmP//R61sR7cVshpKo3BycIUmVVVBvWlVGYNMqvLvPytvXT3JNWQkRzUq798F9++bis7Jyfpz0FWGO7FSijuD9mNEcAIF0goaujJbEy0/B2T3ykCK0VpFVZWY4ZBoc9U859HtPzDNUs15a5KKyHIFB+rIn9RbCILMpijWRg5ZjIGEFqkkPxOo9fqZU3/Es47cS0nrF3Nlj07+PF9dynCGcXNpmZ7QrcVTgnOZ0xRv3TO/lmW1frWbfc+cxezECDHC1KdZjMj0bjk7KYI+Mg6oiPV0vCgtJu12GyrrTnlevSQnkFz+fI1H+eSF23Cn5qgWXVp1WxaTZ/t9xSp7MtROCh0Z4J+OY0uOyZ3s+6cFInRlZRqDYbPr3PxK3JkOhKqaZVKGtx793Y++albeWRkEs+1WdGbw3VDchh18qJ9bynmhSc/ppiKE4LQh4fLWRHNtuqvRcta8lp8ImJ2LbGgevi+sjTKAoXEL1JFFkEisVLz7mph2htaloVkwFJIG0r2smnVUs496SSGe9dw9U+/z/78CJZSu5iPicLj3m6tjqzzyFupVKZ2zc13PfsgVVr9x0tzP/D6l3y4XMwPqC18I9SNC0mCQz+uXElbdTKeGVFmLu7ViExBs8XKNUv4t+9+gqUDCZrjJRw7YPJwjdFdDZq7h6jPJMLhWx/G8lOMu3s475ITKTzQQ1mb5bRXuWw8M61qIELVLRtpxdkiH/3wddz5yEEOTFVYN9hFQhMrMt+5VWCJZo8VEYxiVw6J8Oav9pAwV2VPIZTCvy8+zepkRO4nmoqRol5MaifrF2oQLZC4x6XuSsAcU/rOZzthMBmNYs4pf4f9k95klm4zxXmnrOKCE89jZiLgqnu+pYiGVXmyDSBxHWRhsaw9iejp6Z3+2o9ufvZp7lPMgswVyv7mna/944mDB9eEwbhYhJAqW2UtwpkhAIk4x1VIp1iDIvqmuTaVKp5QrTY4+9wNfPHqDzGYSVAcKzJysIQ/20fh0W5RRFZdXCMd8MD27aw416DbHmb80QSJleOc9ZoEA4sSWMKpoZaihd5J59tfv5V/veY+th7Ok9YTLO/qUaV6+XJCMRmS94ccIcp9xWyJykuEMYgi1ZtLgUOIxINn8t8cMSgUuRxlF9RJC2Oy0GYKOZ5H3W1Rs+2IyvPIIFVxfoT/cQg6mdZHY1G2h6xh8ILz13POovP5/j138ejENizhk2jnS2nzWHGQemRMEv7C8MoVez/3zWdZKIunyY5Xav/0H//+7z+xfevpcRFMDaXNcXtE9iK6zMIxjLBg3V6jjGM9CQJr5QbPu+hU/vrDv8+yvj7KowbTD2ewGyZWViga6vheC7urolh5Zu7pwNbrrHx+gZUbciSzsvgcbtRrhq84Ng49Mcbffvy73Lt9nINTDVZ19dCX6FA8ZjK/oop6ipU5YmaOLJ9yN5El8fWQSnN+oTGcJVFQieZE2uxJlOuEMUDIMhRnciG4HN+mbDdoOJIchBlf2NcNXYU6sTEvaCDq3Wk6jBRDvR381kUnU57RuH7zvWjSelClmaOn3CHE5us4c0DWYMPJpz380S9d9axK7bLu8LSadV/79Edeufm2m14Slg2igxDzpUerdO1XV5zBRAZnLqNRQVW0sN2q2/T2drFm9UrsomzbG2qZursvyV//7TsZ6EpRrhU58HiD2mGfdG+NM1+wCD0VbsSH4tlh7KMkOcyAb13zM/71mnvYPVEiX3bUiuMifSAquAlQQlpFIeJVMqvqsLoqvoiiCfVaCBJXuRh5LCwAil3I8BTvehyghjYhvvrjhn7UAFLaLy4Nr0mx2VR/m4JH28S/+j7RgLe466HOTlrNBs87+QQuPGMdN92zgz0j4yQVl1X4fY8a6ir0hHSg6hvN1ULg4ste+tP3Pctm3TNr91/1pbe1FyDjGkfIwhdG1HG8EQ15R52I8OqLPa4uV3MEMqGIEvYfTXRvwylhlbY+76LT+LsPv42M4TMxVqRvMMv4oRkSpsWJp8uwUDT1Jd3kKCYQNzM9PsOnr/w+P390hD2jRaoNjbWp5SwKhtG9RDiZETEaKzcjQBEI6J46mQoOaiE6goYm6bDHqekW52ZtDtUNftowaRpOWM1Ul66Q2sh3D09S7Eji7MINHKqtOkVbSugCkkhVSxmReTaEXCpJdypN06nx6uefzYpF/Vx704Pkq1XFb6ZOfFROPxpIYt6yOC4JIx6NK97zvq+/4tm2++OVh6czMPTlv/vr9/mebx7Rao5GU5Xnlass7vW28YjG1dXQtBoR3+dcEhz2KaIrKYSITrFY4b3vfQ2vfvH5ZFIBma4kVibF2N4pqrMNNpy1Win4SOqqlCYjdRdxNQ/eu43Pf/Un7Botsm+0TKXhsURfzGp3A50MqihBsiP5CRNesRGymO3gaWJNZL48fE9EADrx+MyZY5xz6kNMjSzmTbdtYLfhYRnh74THI852wqs8JP+VgDJcnLddh+lGGVvxvj55OEmSk1V9Q0yVplg1PMTLLtiE7wR85+aHFFTD2DgqICirOX/85nKYOWK7efgYMjD08U9+4dyLL31WA0NqaerpjRzuXP6///J976+WyyE5f1RNVSY+yl+iVtFcgandYyrDFw84q62JsA2uuEEMC034waKkUoJIGYp57ztfTW+6j8mRAr/zpg10DeRU0W3yQIH84TonnbsGPSf6xuGejPqJUPqzWzbzzWtv59Bsnb3jJaaLsv7RwcpgLcvZSCeh8KFDS2CAi6MA42PjYYduR70e0k1u6KiyqrOAbev8tJClICpCAhBNrE/8zcPfVQdAdyOrooi/1QhmsVmh6Mgwk1KamT+Lgc+ynn6VtuUbeV558ZmcvHoJ2/fO8LPN29XOjBwrqdFEhekoflnYhV44tqDR0dld+JvPfukLK0444ZmNHEZ+6hkOLb/p/dOjoytVMBQ14dR5VzFAeItLNnLIZLJMUTXFhyMyqYLJudqiuhSUk1CvScBo2w7nbNrIqavX0iwnqNcSvP0Dp7JoZRK7GrDtzhKrTu2lcKjGurMX44v6nUiORim3XLyObXPHHQ/w45s2s2+8wESpxWShTqnikPRyLGU9Qyynn0Vk1dqxiAi1cBRQBDQxQOS5QzNyOq4Cj42vO/iGg2c4+GJ1FBN/uDesrIYegkfTXKVTJ5ap5taZbZSw1UCTpMbS89VZ2t9HAouR/DhnblzNJaeuprurgx/89FEOT8wqOisVggrNRXShzQe4seOO2BDbfI+8M7Rs6YHPf/1ZDC3HAHlGaw9/8Qe/t3vr1rPVd5CCXnjuQ7DEvUWRMVVZgZCvCUDCwCmM2qM4RJh5wv8wTIBV8BUP/oZrtievWsHJq1bhJFbz4PYBLr0wx/vf00Ot0uLObxe47IplFKaqTOxw2HjhIrSk8IgpcZeQDC8i4d+1fR//+ZPb2XNonJrtUKq1mCg2lUVpNEXtOUO/v4TFrGaQZWTpIanU5yRElf+1sLEj6NgKQPL/YnFczcbTWyFADNGxklhLXJULhk2gORiaQ6CHP47XZLpepuKUlFUZHurirJPWcuDALHvGxjlnwwrO37SCvp40+8eq/OimLSp9j9cv5pUzQvujBL+P2I2JK7fxafnl1x7kPD3txanv/evnXnjLddeqxan2rkQM2vm2c1sDLO5rRL+kGJXnblE4Fyk9RHVF1a2UaYDzNp3AkmXnc/vhS0jYBi89ezNv/N3l7LzVY+iEJMtPzjJ90Ca/r8HJFwzjmdJviZiFFD23ENrB+OFpHnxwK9t272aqkKdh2yrtLEv/p2pTrNjUGx6+nSDpddMZ9NEV9NPNEBk6FZ9HnLSLEwodTwgUufd0G0cP4xcBgopf9CZoIt3uoBkCIgdfb9LU6mQ7YcVwv6JyeGL/pOJFO3fTMlYN95GyhA4zw3/84G6mChVFchdmJ3FJPQxwVXofp+eRu1Lt/iNuGi9/nSxOfeBZL04p+95O/fBUq5ePbL7nhK985IN/5geePhd9q1Z2SIIb31Qv4qgJmaaIVcKedJS5q2wmpMQM45SwU6yqnK7PeaeeRdO8nNHJEvmR77FmpcUbX/I6zNmVrD23gxPPTzL2RJ7qYY8TzxvCkYMkrIWBp2ZW5DOkM1wt+kxPFDk0MsLBsf2M5UcpNwvqqhbWwkbLp9psUWk6lJo21XqA09Jx7SSml8EKElhBCotkBBgrXPGQFoJi8A9PjrgdxIroYkGkOyvT+S000yGTg3Q6rP4KE6MIL69aHVSWLAAAIABJREFUNsDSRT2kLI2EZZHL9HPdjfexbfcBEkkZQXKjeEOcUTQzKSdNZkLUvlFYXwkHhRbEIJru/8U/fuaXXr18Rsvb//BHb/tAqTA7JGcwyrijhlFcEYh7GmH5fc66RHMkcYc0fjOOPcIicsggEnJchN1iuXq7sr3kK9Pqo1xb+MtNzj3xYt71jldy2vlDqiN7eFsFv2WxalNnyGzohPynMhPiVqDa0mhUdbwaNGotCoUS4/kJpgvjzFYmqNl56m4Fx23g+S1VJm8KG6Lt0HKEDd+jJUzMij7Ti3jbjXAGQ1XQRL0idL2KNFcXGVAfK6GrZmIqoZPNJOjIpOnqSNPTlSKXlFFDERuy6Mr0kE30c8Pt9/PzLVtIpxNhL0rcVQSBmF1ZniuabumHyerIXFPwyGmynr7eyU9+7Zdf3n5G9A+f+eC737pn6yOK/iFMVyK+U3VVhPJMEbdbtP4g9YU5mIRcqsqCxDzk4XuqLiKMgfJYRhnVaKM07MKYRrhF1XvRtlyz1WLF4FK+9r8/zsoVgzQdh9HHHaiZLD8loThOPc0j+8Mcxt1JqhtblNa2qHU4irPdqVvYLYNWE2q2lMNrVFpFKs1ZSo0Zqs1Zaq1ZGnYR16nT8hpzmY5EJyGQQzpxRZIrhP1KgkxXE/zSVJOajVJ2ME2shBTyLBK6iWUmSOopslYHuXQfi7OrmJotctVPvsf+sYOKQjOMy6QmE/IdKFAcMZgcjSEscCoqgYg43TecftqT6B+EZcjUqD4T+gflZp42gcw3/uXin3znG2+eY9CZm5aaH2KJi2VSG5aiUzzFFf590UzrXBATzzZEgFDqBm23qOfT7r7CT9HUasDqRWu44rdfzaUXnkdPdxejj7kIXeziM3zMrSbJf86FGfWuUPm4usSnvM6nvNyj2hUolnspXdmKrtsINWREVyZwVZm87jVpuFVado2WV8V2a7ScRkRb1cQPmipZVrqdmqeoL4XQRQSERBdGACJrCpZhkbYy5JJZMokM2WQXGaub3qCbux6/n6tv/xbF5izJlAztSQYkdFieqvHIUrfKClWBra2Te4yiWexqQgKZ9zx7ApnwilRR4zOgoBoZ/vv3v/2DzXqls3049ohzGnrE0MCokCPKcmK6DWUpYgYfGTaKVJWiEvy8Glz0qeFXjPOktn9K1B4c3KbOiUtO4hUXvoLLzr6IdLNTcY4t+oVBco8O70FmuWELcA94U9DQoNwLpVU+5WU+9R6fRlpEEGPpMnAMlGJxwwrvK0koJKCcBNsEO2KXFm160w1IuD4ZO2DA9hho+qRlRdH1lLifJY04maYxZT83oMNOkq1b/J/N3+M/HvohuulhSQlSXIqKYdR0SUizJdmROgRRNzc+vnPFsrnLZ66+ks5my//4L0JBtezZU1BFAJkLVJ82id2H3nPF7scePidUm1xAlxCf0+g+DF7D2EJu8YBN2OxTvmUuzVWYUS8t3DoV6zK/yXeEVVWv6zi2g9PUGe5cy6UbX8CFK87nBGcZfYc1siOgrQDtLGCpD3UdtoK3H5ojUKlAIRdQ7odqT0CtR1PWZXxY54khmMrCEzmY6YaZDh877aN011WcGGmqCYhFTt3RGKrAuhl4wTQMl1166i7ppkumEtBZ1FlUStOoVPji/m/zvZGbSaZEB0bJPaOp+olkQWE2pmZMwlJR5NLjuRuxJguzljBQDbf6T3/go5/76jcXktgdbWk7kio7JomdOoPPhAbzpmu/cf711/zL73meiJtKhzQOoxY4RHX84qt/PtZQNRIVmEgxRcEmrIPMdYPbARLSdM/TYsb/Vgi68PWwWyvwUjTbLZ+OZD/rl53GSd0bOC9zKuu8RXQULVJJSA6DOSBKC2DI+oqmOHjVDnC9BOUmzGTg6hf5/NvJ4Cc1Qq11qW9EwFD8ljEPRxRkRb0kpTlf1zhhV8B774Xz98CilkavzHN0Nrnn0Fa+/MiPeXhmN6mEYF8ynrCwJvWTsLcVUomrnlCU+KlOV9tgViiNEo1Hhpefel/Xdf8N73jPc0qDOReHiMrDQqbDJxHpFguDf//ukEg3VuY6Yk7iCJyEJziCR2RF4oF9JcETCiK31UfaLcgcwKLprnAsSVOZhN2S5XCJ6IUsP0HCTGHoKdU+F2L8RJfFwekyBhneeNnLOGf1acxO9NJV7mFVI0XG0UkEIMwLyT7I9gckOwPMDmgMwzfOdPhof6AWWqM6bwToaPjFjPTcVVwV5WNqJCQchVg7aXLNwxpn1WCkNMFN2x7htq0P8eij+wlaHqYlFdhaaDXEggh1t8QzEnOojmLYMoy536QhOF9/ivjJ5hanorKB79Pd2/ucE+mqIDlu3IlG3fGouL/2yQ+/8sG7bnux0opbMG4413KOpuPCLCYs7CjEK9Wk2LuIFOr8mkFcCwnjlwhc0ShgWIs3qNcadPblOOvcU9m4cT2LegbpSPRiBTlaTZNGQ4SZdcq1Ovc/sYfRyj4uOW05KdfhcCXBD3ctpqOxmLVGhmV9WRb1ZejNJshkTGVhtDTctQluuAjynQEyYI8p44XheMEccZn6u6JdlLlmQ9hnkqXrf/yFx8vvGOP6+x7lhw9sYWxqVok+JQ0/qpM0CUwpu88DRBXFtHB7Pxxk9nBjYMjxkGOlvPORWUw8RC4e7zml4m6PQ9qVpo5H5r/n4S1rPv/xD77frguZ/5EzCgutSfxunO0qkKizHfVkojlOFYJFPR4FIFWAigEUIkp4Ri5/9fN51/veyvq1a7G8JAiZkASh/28ntlaxOTzrMFUyKDZSlHzYlmrx01yZ1MQe1u/fz633JBgpLofpJnrLIJXJks52kulPkV3k4Q377F2fwD81C2sz0GGAVDQl7pB76Z3JHyUuRpp24t6kXNF0oOqijTVYcvMoz/vWTvbueoIZv0TS8DB1lS/halJlbaJp0tNxVd9GCX1I1VUBTs0jhM1L0eeLJ87UxF5oOeJjqhinY7sSBKIoUfvQJz57TDJ/UeVOCp300yXzbwPIk9zM8eRAPvuhP3rLzke3nBsO7EbWYYE1iT4/qpK2UUOKhIYSMowCXbWdaYTqGuoYhCoQmgghK41TqDebvO7tL+Xjn/xLErJeV3GgKcwuJopYSWpGXkC9YTOSdxjPWxTrCaYMjR8Owc9WSxOvQOK7T+Dc1MQakxXNNL6RVrTYqjhngd4sKal1r78T/fIujBOTJBxHrVEE3Rns/g5IqZRDPpD+eoveoo+1v0j10R2U9+8hNyWqYD6mAEPNjbTQfAd0afY1CHQbXZ38cLxAk6BUgjld4jMp6KvllCjDC4eMVO8launPteiiJfewkhqw8YyzNn/ks1+ekwORFUvZgRFpMmE2FJnU4/G0h/a+7fasBYV+fvtJX/vU3/6Rb7uJ8IuHtyOXdsKgUq0QxAPZsZtRk/sRRYNSwWz/UpL+hlv2ki1Jh3fNxmV8+/ov093VrSqXStSi4MOskhMOARIFzE3bYWzCZ3LSJF8xKeiwpQe+fyIcHgTuHse88iGMMWnIZVT5GzMTWoXGBKR7cXM5tOen1EhBttjCdD060wlyyTSNVBLf0Fnh2PQ6FTTbxWqlWOz3Upka5c7tN2M3CiRlFCBw0NWgkPRjlBKHKsNLpiKqACp7UWsSYRob1kGiKRM1gzpPFhOyW0fHWNGUh9mggMMwDft9f/V3Xzr/hS/Y/pwKCh3LijwdSbIr//wP3/rE41vPmu8qPjmTma9hRFxhavEnlEb1HFcFZXPyICHE1NUZzoCG8yayuvnRf/oAb33Hq5g4OMmW+3aweNESNq5fR7KUhtloZijcXQDdodq0GR8LmD2YolpIKE90sAP+awXcsgHYN0vH1TMMHEozEzg0Gi5upYJW2Y1m9uKnOwjOkIETCSsctJRLOqOrafqa6oNoLEnCBstBc1rYDiT8DJckT8Cqz/Ct+/6d2enDpE2JuaS+YeNrQsspILDVZ6oKclSVVlTjaqbVx1W/E7YdJJsRoWYV/cT0nwpA87GbBPPrTz7lwY987ivf1Ay9+JxKki0EyDMTNbz3hK987C/e7zp2MrYAR6ZeRytwqZg43PyKKKHmxhejETw5GPFOi7ANdfd2ctPPv8zhfYf4kz/+Mgd22WrA9+KLTua9f/A7bFy+AaVgL2PsYpX0Fo5mU667TOwLqB3ooFZMUgsMhJnh+pVw81oou3DBnbDisM+s61Bs2hTLBYrVpgop7IyJ5oZXtdGpkemxsE2fSqWAl8+rmYf+zgTr+1IYMsvi6eRaHbwpeTJabpwv3fUFJscOqoVtsSQyRxIOWQk4wtgjLI2LUVTCvIoqXE3Xq98Lq6jz7iU200cOKVuJROvPP/apL5x+wQW/UlFDdeaeqSzqF/7qT96w7cHNF8ah09MDSFRAi0b/w4kQQ6lfywaentDp6MyqNDhr9bJh1SmccfpG7rptGyP7inTm+ihVSgRGnXNPX8bzLzuJi19wLjmrUxHjyUyGKFmKRGqx1GT2QEDjYC9OIUs9MMlnArYManxnBUyZ8KJHYf2MqOxAUyqoUsrQoaV+fOqiYilXgCvavlD5f5xrs+OjzBzaiZ8fo6crwZq1q9DNJA0txRpnKW9P95Pv3M3nfvoZirNTiqFHsT6LdVCDRbEShBz1QMW6WrzhFVVLxaoIUESPp31jUV3UUaldrMdp55zz8w9d+flfnSzqsazI0xNWfmLpZz/0VMLKC7lDj6yNxLshjWpT8Zb/9hteyEsuO5eB/m6wLfzxIfZvgx9fezdjY6NqZsKUQRytpWQ9HL2mdOHWn3IGf/b+F7B0qBe73prby5XF8WKlQPGgTuvgIG4+SzOwKKQN9vZo3LwE7kvDG3fBmgK4SWhloaL7jB4eZ//EKFVhJctmyA0NY3V04jZBNhkKxTpju7YRTO2jI2uydNVKvESOZqKfl7k9vDbt8IT+MF+88YvUagUsJRoVrjCE9Z+IVzaeM41WNsMygLiaULxAbdq0E/bHDU4h2+vqmv3I5770xeWr1/7qhJUXAEQqq89Imv17V/3zJTdf9x+vC2QlbcEtHkSef7kdIKq4QblS4/TzNvEXH7uCs89ag+YIw6FHo+oyM+ExuWWQ2RGLu++8g5HD47Q0i5Y0NyQaq+0i33qMge7LOOvs5Xz0f22iM9eJ3QoFkgMnZHkuVmcojJi0RvppFTtpBUkKKZPxTo3/GoKHOuDNkwHNXo1HlkKlYLPqa4cIGi1agU/ZqTNFk9qKQTLrV5Pyk+glKIxXyO/bCdMjDKweJrt4CV6imxOMLK9papzYXebe/F382y3/hl0rkkxZapFdlDnnWvXR+kY4ixe+LkdGUc9EdZD5ha64wq/WNoOXv/5N3/29d//RnUeTZj+OqLIKehaKKj8pizlKRjOX8payGFI4E3oIkUh1RZ7djHjMXHIx2Z3nON2ffP873jmyb89GlZYuuMU9mfCARFq56ncCqrUar33r5fzlx95KV5eBV27SrHhUKz4T9YB9jSrewwbGwROZLPh847YdlPQyRmsEvz6F59WpO7vJWL3o/jm8/lXdfPDPTsWVXXPXQHOTBI6pFK0KlSmK4z71sT5alU7qXpaSmWCy2+SGJfDwUrDXBXjdIoeps+mqGU6501YZiy1yTQ7sL5c4rJVwz16N1THAwBTU8g2aM0VwS/Su6qM/mWG5nuYcX2elb9M7UGJ09SHuuu927rr+VjyvgZUUcURxreGMb3iTGZCwZa8oWqMJeTXiHT1Xv6aaHBor167b9ol/ufprhmUVCSjrktaaqqVfE7ptM0FTpFBjQeWuGt5T6eXGp+1JV3n8RpuGzJOsiKaRaAnRnUlasSFGWnaBTwcaXTse2Lz6K5/88Lsb1WpXnPbGRR6pa8yTm8R7IZqqir7yTS/mU599F/Vkg6o0u4o25Zm64gzZ3/S50XdYcaBA765lNAsbuWX7Fm7b8UNSqRSuXcNpTOI6s1JCYCB7OR0dWd71Tp03/M6lNBoBRpBGc7IEdoKGP8tUeYLiqE9tppt6uZu6I1PqCXYHDe7Keuw5Y4DWGSmQrLfo0XNzg2xRmvoBLdPAs0TTq4ItdN9rF5MqGxjjOskxDfbl6e3W2ZTqYHlgsjQNWQ36nAaDJ7ZIXODx8COb+cY//ztjh0cV/VTMTqWFy85SLFaZjOKPV0WhCDrxUlLUtMrlcqUPfOQTXzn53HP3EUqyV2K1bWEvlJ0tqXtI7GwYOAtULo9pPZ6OBYl/R8m0x11ezUXEopMOEZ9qQEbUMPVYEVOj87p/+8rFN333m68XoM1vd7U13+J6iTTHWg7L1g1zzY/+noHBBI+hs7zukMpXKUwWKBdqVCt1DtVbNPNV/OmA8sFzGJnq4bqHHsPo6CGoj1OpPEyt9SiuM8HizIVkrQHWLKvxqX94Bf1DWYIgieFn0JyMKnaV3Skmp6bIT3qUZzKUS2lu376PR/ZsJ6NrpFZtYOySi5g4YwmN4QREDT1VQZVLWVgo1fiLB40W7JkFS4pnnVhjOmccgHNmPHql2Nrn49k+HVMFrNo2OhebrL90BeOVcb7+xW/yyAOPkRSWZTUWo1hKohGJaOVzXgc1THNVcBKOU/32m6649s3veu9dYjmEg11UHFRFSKMeiNI2tITBMDBx2qTHIlKXeMLziCmkObt/TAtyrFiknMaQJl7gYtmQFMEh3yMtlJm6FunaaXT6nt/1ub/+kzfufPjB80Ife2ThLAaNHAoh9/+7z/8Zb3jzC9lKnZRrs7pcpzhTpDheoFJsUKzUqJcblCsNSuUatZkhpveexvVbf8FkbSctRcordYgadjBDd7CIbnM5uVSa8y7J8DcfemnUzEtiBBnwkkp1aiY/yejILNOTLgdGWmzePk6+YWO3XPo7ukl3DJJYsp5HTuxjV66K7xngBFjCt+75pCs1MlPTmHXhnJeRVAMLk+F0F2u6elmc6yNpGtRNnZoL3c39HHz8TsYKFS47+3TOeel6Kk6dL/7T13nsse2kpfCmahxRZVlNkIWNOjmj7cMOYkg2nnnmfX/1mc9/Wzf0knItInsahK5FN2jIxFgCWpqJI3IfnQ28SLww3kw5auxxXBfTBpAnWRFRpPI8rFrIkiRzMOnAIC2uxhfxIU+5ms781NjAp//Xe98zMzGxTEl3RjMh4T8eltSaLYc165fxHz+6kmxfhp1Bk5PqVbxKleJkgfxkgUqppch1y+UmtUqdckXcjknp4Cau3/JDRmplWgO/jWnYGNP3Y9d3I7q1WYbptQZpmaN8/h9fy/nnrlYS7KYutBKWGk8oTpfYv2+cAwcrbH68RFkUtTFwWj5GQpToNZKJPpb0DfB4OmC/nqaY0CilUgSGFY4Xalb4t4kBEP/mBSxq1jjVaTJs6Qz5AUsq0rL3qGeL1ErjPLjzAEs7B3nJi06ib2Mvu/ZM8PnPXE2xUMC0rLDuEdGbq2kCmbkx2jhANI2+ocGRj3zxS1/uH1wyLeDQDCp6QDUQ3lOPhgSmMvWQJXQtbTLsT8t6PKWLOVosIkZARhLbA1Y9IOHZpDyDlObPxSM5kaDzfDofv/8Xa66+8qPvrFbKPWFtWKqJUVweQLVa54o/fA0f+/T7KNGg4TZZVCtRLVfIj82Qny5TLrUolapUKy31++VSk1rRpTa7khsfuIfJqoeeHKTRHMO2hZ25gRHUyDBEv76YbG+Lt77lTF77ytMwEhaGYSpJMCGRmZ4os2fnKI89XuLxAy3caKM00E1slYgJYYzFcI9QMdSZatRU46ylJu6FPCdQpDSqd6TLaKFBMmkh+7V9mSQd2QRZ0yATQNqQOdgWtVIFz2vRqHsM93ax7swh/GyCW255kG9/+0dKMybOXtQEmYpD4mEQgaxOtjNXePdf/s1VZ1xwwR7hOvUDFXcocAQ6dcOjKQ05XxI3HVvEk9sC03hx5imtx9MCyNN1NZZNKtCRS07k27MSj4glESmzO66/7tRrr/rC77VarUxISj0/3FKvN/nMVX/DK1/7Yg5QJeuU6K9WKBfKzI7NUJiuUCw1KJfqitC/Ki6m2KRcbFErDHLftr0cmpmi5ZXQg5zq0VeDPK4/Q4ZFLLaWcM4FfQwtSfOq3zqDdWvDnVzTlKtU4/D+PDu2jfLAo0X2jNYYXtxJS0uzd8IjmdBoiI5NENCbSrM6Z9C0a6rLqtiaI4IZR9UpRE9AJ2mYpBNJ9aOm13MmqZRo1IWjLk7LU/LvQvMmYYVnewwOdrLy1AFGpqtcffX32bv3AEkFkvAmdZBw4C7st6RSqfqb/vCPvvmiV73qUQlGxXJI3GFEjTjNp+EkaP4yruVpuZgFVuSorsa2MeOsRqwIXggSXXjeBSQaHWJNfvDv/3r+jd/95ut91wu5+RRxnEe6I8O/XPVBejsSzPgOa5YP0p8xyU/MMDM6rdiXSxJ7FBvUSg1K1SbFQp1CIaCU7+LA2CQP7N9MwuggY/ZRdyq0gjpNr0RG6+WEgUVsPKWPWqvFxrUr+cO3v0CNO5qmqWKGrQ+NsuXhSXY8UeL2rXfxsQ+8igNTnfzsoTw9PRb5UotA1xUXW4+lsTplqn6I41pU3RRe0IVlZtFEKNmQTMRQQDHMFmmzgZWYxNDrJKxARfa1UplmQ0BmkkobVEtFElYXp5+9goLdZM+hw3zv2hswrPnxTJW9KM1gxEI5r3jzW6593e//wb2R1aiouCMCBwYNsR5x1iIUbc/GtTwjgBzNinQ9gR67GslqjECR8iU9h5TEIwRkPAlcQ5Aozd3vffULF9/2n999jed5hkTpEn+ceeZa3vvuF6KZGarlKrt37OL8i05nzYphpg9PMDtdpliUmKNOpSwBapOZ2QblgkF+JqXWFO7adR+poI+WL1q4AY4vsgVl+o1uhrt7WHVCN+WipBxJrvzESxnol4wm5Ce57da93HPfBDO1Orc+eDP/+KG34Qb9/PC23WQTdtRcE4CYmIGF5WqKDC+X7WSylmL3WJ11g0IpIRKlCXSJbxTTEZhOicOjW9i0dpihxRlMS1yFo3Z6Zip1EgmDZLmppNgWrx7CyGmYPT5f/eoPqFQqSuVCXZWqAK1GHrzf+t3XXvem97zvLnEr4lKU5ZBah0Zd4g7DoukFtDwNW7KW2LWU1uKfOb8yfVzX8mwBEluRudqIZDVODRMXS+IRSX3NGCRt7kZZE8hd89lPvvgXN9/4Ms93DVG9fMkrzuXTX/oQ6UwH5UqeR+97kCcefISVy4ZZvnyQ6dEC5XKNiliPUkO5GwFIMZ+jMBuQSGncv2cX+XwRR2+Q1HqoeXlaQZUevYehbBcD3YsplpLsbTzMP3/89bzoeZtoOQ66bnHLTXt4YMskY8UCN2y5mY+8+wpOWnEC37n+AbKpUHxQBMRECUbXEjh+SqXLZjJNxUuxN68xmEgzm0iSzw6oVciuSp0h3SYZVMlPbuOsdf1090G9VVNVrnTKouW4pJMJGjN5nIJJx/Aghm6w+FSdb//Hrex6Yj+WMNREMxm6brrPf/nlP3n7n//FrejEVmPerXg0XEsN3bck7pCRNSuLe7SsJcooj5zumnNoRz54yjR34X/TNi+ijJ7URjIZ9Hod085gSuqr+yScFsnY3WhGKCuiMpywTtLxna9+4ZI7b7juleVi2fqdN1/KlV/6Wzy3SuDUMdMG06Mj3HDNzZx5ygnUZBO/WKUkqW6pSalYY3raZna6m0ajSSaVYMfhQzx66DFVQZUZzppXEftEp97JUGIZgdbBgeY2Gn6eP3nLK/jTt71YrUmI/NetN+3j3vsOU6HOaP0JXn7xxXgVjV17p1XAqYjsjDSVzkXYRhqvlaSiZdXRn+nuYzbTTTbfYrInhXduTtSF0Ucc+m4co29pjo7uNL2tMmvcgyxtjmMGLTX4ZMjooidrpU2CkkGut4tKyWDZaXDrzx7ijvseUCuXchZN3XRe/Lu/+8M3v++9YjlUjUMFo1AT+rPYrVhJWr6OLSltoo4rBbF6HX/Dhog0LZ6kPZpuyHMBkIWuJtqjUQW0chlZC7GCDFYjIGE2SfoijOiTFpCIy4lBIpbkR1//2vnX/5+vv/rSy89Iv/P/eyEP37GZUr3C2//yneSSAXddfy+5ZBK32SI/U1XqU8VCjWKhwfhEkvy0FIlcrESCfLXAndsewtK6qXklRU4no3wdRo6c2c+EM0bLq6OT4dxTl/KvH3uzIr0zEwkeeWCSUrPFxtMWMzyUZetj03zzew9gdw4zsWg56dEJGvUmjy9fS0sYyKerikwGNdhkwKkb4OT10O/DyAQ8XIPn98FouIZBjwN376enVOH0/D4GnVm6cxbZRUNkUyZdbhE9KUteGvtun2bDpUvZenAvP77j56TTFkbCbLzitW/4wWve/a5728GhimAedSGM1IVCO0UrrWFrdRxJaTs78aI1hrl6x7H6LcfAxpz1eqr3n/TeAiuiXI3EI6kUutRHJGh9GiCRqnPuv667dtPBbT97/SsuXdUbtAwG1w1z1qWbSNhNdj14iPFDBTIpg3KpRn62ysx0i4kJGJ1w8eymUnuS2MAwE9y7czf7p0bUFSejlrrm0KH3KNqXkpfH0jOYvsmSQZOvfOIKFi3qVK6jXLEZXtVNNmPSrDZ59KEJrrxjgoeWn8LynVOUHJsxYQIZ6IcVvZCLUhIpo5pJWCnqAh2ouvLmUdjRBFHifOlS2N6A1QY8egDV9nUdtKlZTpyYYmlHN8ty3SzzJsjlZDrco3VIZll19jLOT+94gL6h7vzr3vEH177oVb/zuFQEdLEYUbxxLHDEQWmzib8w7ngmruUZxyDtSDkWSCRozUWWxPexGqK6JcNVkSVB0uB5SyIgyR7c9eDqc85IvH7FqqXLZXawVZ/Gr1SY2TfJnu3T3HLzNvp6F5NJZZicDauorXqToOkr2impLSasLCP5aW57/D4kPrbJq0KTAKTuNxTlpaWnGM5l6Upp/PEg5Rq0AAAQXklEQVT7X8Dpp6xQ9YtGK6B7KEdndwK3bvPYwxP8082TjHX3sXr3Th4Yn6Gi69iZHEFHJ14ui2al1Y5EkPDxN26E558PUyUQeY7/GoPlOThtEPY0YJkGP3sEo15Hl2praZKlpUk6Gw6LUgYbh5fR02WQ6wno6jCpTzjctXU3T0xMHnrnn//ptadfdNE+cSXt4JBh1thy+GCnwZY+i4Cj2okn9Y7nAhxx/POMLMgxUt85S/JUIPE9UqauyvLiblRsInbftNy+3uSBVw4vzp6bP/SItm/bflYtW87Ox0f5h7/7KRdesp7hxUkKeZtCvkWp4COZomQVkjXo0hzRdG7aej/TxQqONo0ZJEnrWWpBCYIkPakcJ/YNcmDmMO/+/Qt52YtPV+S6nqOR7UvTM5jGbbg8/tAkX//P3eiOy+NWHw+nl4UMLZ1ZSPREyzPiXky1esFQDs5dAjMzkDXDyfe0Bw+0YFUORmx48Imwb5NwoVqDqTGoF+jW67ym02KpadA7lGRwOE2j6gc7R+zNF77hd3+0aPGSWUR0O7QcdVOj7vo0dIOmuJUYHLoeupXnGhy/FEDa4pG5QHsLaO3pb4eNKZaklsKSmMTVSQoDgsQlyE8Um3gRWDL23uf1GTte2jtkdT64eYRWoclD9x6kfyCL6zjMzLgUCw6FkseeA3mQ9LC7l8HOLkUPsW1ijLt3/wJPr9CrLVKT4UW3iBYk6UtL9d+laTd5zxXn86qXna0qqRKupDoyDCzpwLd9HntolK//514c12HCzzGW6MJyAtzuNFnLxBShZ8vHNzPYHf3Usn3MdPZTO2sIyuWQH6TpIVITZsVj0V3b6PaaWLqNJdtZmBTKTYoll8DVuUyb4KRkg4El3XQvSpVzgyfeOHTaefdG6WtdYg2p0IuirFgNN9wzb0nMkW3iCDgqCdwF6Wy8tBOtFx29Efd0LMMzymKO9oFtYwHytowpzoFE3E17TGI0SOjSu9FJiTVR/kCAEpARSyJWxWyNLz9hzdTL77jh9k0drvREHCYnKuRnpf7hUC56NJrSAQ6YzttkzKwi4NVcg0Ktzo+236jkPvrMThp+hYbjkTO6wmokPn05kze/5nQuv/SUcBRHyuOpJItX9eC7Pju3jvP1/5zAblRJCL2R8KzLdHkgo4YGetpSmxUNx8LRUwSpHkpGLw+tX4e3YRgqdrhDFSQ4fe8u1h58kKTXwAxs0hZ0d5kkdB+3Gg47G1oCK22xdMOyx1dfcOEN2f4lh8RaiOVQ4NBpIH2V2GpIjSONHQekR3ErMTjUNXy0IaCnA4xfKgZ5injkKUESeFgtKajZJD2pSmvzQFHZTkBGyvVB4GeN6iPn6xPbX1gYn+0fHy8xNd1kZsahXHZkBUW5Fc9NkiWHqWoVBrV6i9t3bWa6nqfLypB3JtG0JAPJPqpuhY5MkvXL07z0Radw1mlrwRAuDxM9mWTJSlmh8Dm0a5arfjSmKpyia9sSYURb0rMUCTNB5+JOHh2ts2XHDJqVIpPtoCvTzdSyIWZPW4MmNfeGj54wWFkqkLz9RxQmD2KZXQwPD3POusUMDwT4Tks1cAzLmhnccNLP1l5y8b2aodekTC4AEWsRA8MLaOpm6FKSkqkYOJKtHA8czyYoXQieX9qCHMXVHBMkblrOKjI+JcvvSQOSnhsCJQhIBxopEYMMNGVV0qadHyruvOOysV07z5yZbKbGpxqUy65iDZLJXt9NqlqHFJhkd6ZYqfPAvoeo2LWIF1kIX3SSUuDCobc7wZLeFG999YWcuG6xKoLploGRTjG8vEsxEU3ta3HzjWXyh53wc6UlEPjsKh2kP53B8nRmXZ+7x2fpzKRYnLXIJgxMK4WeSqr02dIlsEoo0cFU0CRfKPHzRw6TyyzilStOYVlXmonefc1F6xdtWfu882/JDA5OotHQAhrRfVPTaAgwDJOW0JRYAS0hL5BGs9nA/XWA45eOQZ6uJZEUWOokUkzzJC5xMaXqKj0cWSERoIjLCXRSyqr4pCTjCeReI10Z2bVy7713P//wrgMn10peUnTvAl9XFqRDCwEi094zlQq3776XxZ3dTNfy1O0qg1YPY40CiWSSFYMZVizt4C2vuYjuXBrTEroonUQuTd9AB7WKR2HMZ/+tJq2pLHpCo+CUuG7/DWwe38PlJ17Cut4+Rae9q1wmnfZFV1GR61crFVr1hpI57e7MMF0qqxHK4aF+1q5ZysQUPPZolcuWbWr1rO14zLq4445VZ514gEDFFsKu2dB1VSZvaj5NcSkKGFGGItVR3cQ1ErhSBJM6R1sqe4RbeS4sx3PmYo4DkiPqJAKSRgpDQJJxMSV4lbhEyEF1oS0VtXIhWPBJ+WJVdFK6T0pZFp/U+I5tq3fcc9/5B3bs29SstHKWl6I3I/Na4b7uTKXArpmdipN1qlik6hToNweY9ar0dmToTOpcftlGXvg82ZYKSCYTsqtGMp3E0hK0qgb5gzC6WUrhOvePP8zm6QeoeQ3W9ZzISYOrBQ0cLs6QSgWKNsIJfOXiJmaKFKo11g0PsLiviwPjE0zl82xas5YNq4bp7OiujswkHj/90rPvHThnaB86TS2g6cu9AEKAoSs30jICWr6leDcdiTckGK1H4Eg38RaAo70QFha3nkGl9HjxyHPiYo4BkthCKZCkt6NJWV56N40KRqaB0e5yZNzGEasCCQUUl6QvbigMaJMCEk0jKUDZ9dDWJff85Gdn7nhox2nrM8sHVw8sox60eGxiBzP1gyzJDXD//u0U7SnSegeBJoGhzjknL+Xtb7yQdMrAFDooGcyxDDq7pYSuU95nML7NYGzE466Rh8jbRYZywtMXMFud4pQVy8k3fayUT0faUBPyTc/DF2YDpWqlkUyaZNImliGCjB69Q31Ty05a/ciyM0/akl68eEyAEQhRgMQVBi0vBIcUaRUwAlnwkEab7GW2uZR6Gi/dgSe9FSmfNzYQtDff5q745xAcz6mLWYjEhcW0uCwvIJlNokuG00iG1kRcjp/AjK2JJixOTpjxCGDkuKvsxyMpIAlkFlYjWSiWsntufuSk9Li7cerQxPpd+e2djx64n/7sEIemJpiqH1aLA4u6BjjlhCGueM3F9HSKMXIxraRqy6c7UnT0pWjO6hz+BRx+wmW8WWeqUqJYqjJdH8MzWizuG2Sgs0eE5ejMWopBsWmHfKxScNM1A0s38QOXVCZRHli9eOeS9Su3DZ+5cYeZTtYUKITyLKAlwPDlPgKEPDYt7EDDlkA0MHB0Gzd2KekWntQ4+lr4bb2VuaGf59pqtJ/L59yCPIXLUeNZcRoscUneQhdrIvWSVkLW6bAELATzJAtuWJ9UIJH7Jz32wtfsUr27fnjvSVu3bD5hy/1blh0+PDrg+Q09kzA4+6RVnHzSMMuWDZNIp/D9sI2vyT6NDp19Scq7Mow+6jNZblExmkzPVCgUiwwOpMlm04pXTHiUJLMROjfPE81gXZHze4HvJ3Pp6VRvbqR/9fDuZWet39kx2C3q1rZuhNZAPY4A0f5YKM6E/U5ZDA1HQCGBaNLGk/qGWI1eB39BvPFrAcev1ILEQFlgSebcTtwJbrcm0l6R2MRLYPoeZhCEGY+rIfodITOH3GskInYwAYeqUcrrQg2GjqW7jY7pkf2949u3r6xNjq3sz5kDpuZ07T2wp/Ok9SuNxQOiG+OTlFUDYWQv61S39zOVb1Bu1aGokc8WSVlgSddV1Kww1Y8jZEBWqmyksqVER3Y6u6TvYPeaoQPZRV2zyZ6stJEdGRxTS7chMNS9HgWb8noMBlM2t3UcTYBh4Bo2rsQaiRTecayGSh5/lZbjVxKkHivgaQPJHECOZU0kNrFlOyFyO0m5Fx5dXwFBipoyNG5pch/Tucjj8LmyPiLIGUgnLvrRA99sFqe6tm7f2jXcZXUvyrDErtQG0xadnT1B58SDZia/J7D25Wes1E6DVbN9zgMX7XE605l6stMsJ7Md5XR3z1RucGDM6ukqZro7SslF3SVNSrPRj3osfNwhMOR19ViBQSyEPHdxrPB9R4ChC9O4iRu7k0QLL441jmc1fh3g+LVYkONlOQtjk3QBvZJAPxZQArEsZgiECAQCiCOfB5iBgan7quFrBrpauJfRSFleM+Re5OvUumvESTGnKxB9YcXhG27MqpEQRRcmpVhdDa0Jx4wwM0iz2JWMWxNZiBAsYhFCgISvzT3XXFzNwD0WMDpsfMlQRGH2KLHGr81q/NpikKNZlKeyJnGmI25HgCIpcaKGLhYlaWOI63Edpaph+ham3Ft+CAYBgMzhCFjksREDw8cIdEyhJxWgKOIeqXCHuoFqt75dpKLtOyvCJOE+UqQ9IRew58u9UMCH964m4BBNZgFMBBpNjx57SllefsfVRRRCxzUtPHElrQSeWAw7iy+pa6MHPw5CowylPc6Ym/56LlPY46W4v3YL8nSsiQSxC4HSblEsA92xMSRGsUwMz8XwzBA0plgKAY+PYQh/XAgOAYXhi7Sd3AtbtlgQAUgEDgFIJCo29xVlCD1i1FInStRfRapOLIlYDF32wSNw6BKzChGyPNdxRUNA7g1RBzEVN44nMYaVwHM8/NiViMU4DjD+W6zGf6sFOU463F47OSpQkiZ6oo4uWY/VRHcsDLEqAhbXQTcj0PjCiOljeDq6WBbZbxJgeF606yTLCyHNunIIc/qC0RdUlGlmCBIj0iUQMW5ZpxGgyGPdwBOiQlFv1b0QDFIWiUEh1sJy8JwUvmQldga/5eL/JgDj1xqkHs+UHcXtHBUosqkgqXGyiF400CROaYisiokuYGkZ6K6lNg6EMlUX6yL3roDDQRewCBB0D92NwNHGEC6NW5X2m+EoaCgkHlkSU+pgsmslgBHrYeGbAo4IEHLvJvFNBy/p4QsoHBc/7eBL4NntEbS68SX4jGOMo7iSOYvx6wpCj3dufqV1kOP9409hTdrd31z9RFxPIoEmQJE4xdLRYrDElqUhYDHQWy1lMTTTQLdtJauiwGHL9oCjJF6E9009l39MHrd/n1jlJBFy5ylhcc/Cl+cCEldcRUJJ0YhFCZJJfHEfaRc/thQxKByfQOILAYZtE/wmAON/lAV5msHsk6xKDJbYspizaBKvCFecyKiIK6rqaGJhhP1ab6A1ImCI+qqAohnpyOvNBQCRvrLo3UfKZrHCmcji+emwsi4WIucTCCCk2i4UZuI+3D6C2FL8JoLif1QMcjwr8xTuRwEmDmrbwTJpoIl1EcAYBpq4oxg0RiV8TYAjHyBAeqrvICde3hcgiOye16HkcBQYxELIawIIsRJD8lgGxY5uKdrdx39bVnK8473w/f9RLuZ4X34BWJ7khuSFGDDyeCFo5LUYOAocIcGzugmI2v99OfnxcwGBPI6BII8XgkFea3MdMRjizzhiSenXnaoe77g+1fu/UQBp/0OeAiwLgaNAIy9KDBMDR+7FNbV/ZvxcLED76/FziR9iIMj9mVG5e06cZf55u7VQH/WbBIr2v/03FiBHQ/1xQNMOnIWP1cfFQGo78Udgsu3JwrXF31gLcTzr8v8rgBzrjz0KcBb+6rGOw1Pur/6mWoXjgaL9/f8LItduoFASdkIAAAAASUVORK5CYII=",ls=oe(92310),Bh=oe.n(ls),Kd=oe(10148),Xl=Object.defineProperty,Ru=Object.getOwnPropertySymbols,mh=Object.prototype.hasOwnProperty,ug=Object.prototype.propertyIsEnumerable,Zg=(he,Me,Re)=>Me in he?Xl(he,Me,{enumerable:!0,configurable:!0,writable:!0,value:Re}):he[Me]=Re,cg=(he,Me)=>{for(var Re in Me||(Me={}))mh.call(Me,Re)&&Zg(he,Re,Me[Re]);if(Ru)for(var Re of Ru(Me))ug.call(Me,Re)&&Zg(he,Re,Me[Re]);return he},dg=(he,Me,Re)=>new Promise((He,dt)=>{var vt=Tn=>{try{Jt(Re.next(Tn))}catch($n){dt($n)}},At=Tn=>{try{Jt(Re.throw(Tn))}catch($n){dt($n)}},Jt=Tn=>Tn.done?He(Tn.value):Promise.resolve(Tn.value).then(vt,At);Jt((Re=Re.apply(he,Me)).next())});const mf=({title:he,description:Me,placeholder:Re,hideUpload:He,hideInputBox:dt,aiIcon:vt,userIcon:At,children:Jt,taskData:Tn,user:$n,name:Cn,code:ci,globalSetting:si,authority:Yn,isShowComponent:Ur=!0,DrawerProps:ie={},FetchUrl:ae="https://ai-data.educoder.net/v1/chat-messages",FetchData:fe={},defaultGetData:pe=!1,extraEdit:ye=()=>null,isShowDefuatTips:Be=!0,isReview:Xe,onOpen:qe,loadingOption:ot,isIntelligentAssistant:Tt=!1,intelligentAssistantItems:mn=[],showEditableBox:Rt=!1,showPreference:Qn=!1,initMessage:_n="",customRequest:pi})=>{var Ci,ki,ar,Nr,Er,$r,Hn,Cr,$o,oi,us;const[Xa,pl]=(0,we.useState)([]),[ml,Va]=(0,we.useState)(null),[ll,Xs]=(0,we.useState)(!1),[ha,Ca]=(0,we.useState)([]),[Ts,el]=(0,we.useState)(!1),[Ps,Tl]=(0,we.useState)([]),ba=(0,we.useRef)(Ps),Fu=(0,we.useRef)(),fs=(0,we.useRef)(),[Su,su]=(0,we.useState)(""),[Bu,xu]=(0,we.useState)([`${(Ci=Tn==null?void 0:Tn.challenge)==null?void 0:Ci.task_pass}\uFF0C\u8BF7\u7ED9\u51FA\u7B54\u9898\u601D\u8003\u65B9\u5411\u3002\\n\\n\u4E0D\u8981\u7ED9\u51FA\u5B66\u751F\u6B63\u786E\u7B54\u6848\uFF0C\u4E0D\u8981\u7ED9\u51FA\u4EFB\u4F55\u4EE3\u7801`]),cs=Su==null?void 0:Su.split(` +`).length,[Il,sr]=(0,we.useState)(!1),[lo,Ha]=(0,we.useState)(0),[ga,Is]=(0,we.useState)(null),[Dl,tc]=(0,we.useState)(""),ju=(0,we.useRef)(null),Tc=!!Tn,Ic=[{img:lg,name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",Authorization:"Bearer app-Z8HFAfducmnrr3zO9961jqgB",inputs:""},{img:Uf,name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",Authorization:"Bearer app-Z8HFAfducmnrr3zO9961jqgB",inputs:(ki=Tn==null?void 0:Tn.challenge)==null?void 0:ki.task_pass},{img:Wg,name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",Authorization:"Bearer app-Z8HFAfducmnrr3zO9961jqgB",inputs:(ar=Tn==null?void 0:Tn.challenge)==null?void 0:ar.task_pass}],zu={maxCount:1,showUploadList:!1,withCredentials:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:wr=>{var fa,tl,Oa,Hl;const Zc=(Hl=(Oa=(tl=(fa=wr==null?void 0:wr.name)==null?void 0:fa.split("."))==null?void 0:tl.slice(-1))==null?void 0:Oa[0])==null?void 0:Hl.toLowerCase(),ko=["doc","docx","md","pdf","txt","jpg","png"].includes(Zc);return wr.size==0?(Ie.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),De.default.LIST_IGNORE):ko||(Ie.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),De.default.LIST_IGNORE)},onChange:({fileList:wr})=>{Ca((wr==null?void 0:wr.filter(fa=>(fa==null?void 0:fa.status)==="done"))||[])},action:`${(Nr=Kd.Z)==null?void 0:Nr.API_SERVER}/api/intelligent_imports/upload_file.json`},kc={maxCount:1,showUploadList:!1,accept:".doc,.docx,.md,.txt,.pdf",beforeUpload:wr=>{var fa,tl,Oa,Hl;const Zc=(Hl=(Oa=(tl=(fa=wr==null?void 0:wr.name)==null?void 0:fa.split("."))==null?void 0:tl.slice(-1))==null?void 0:Oa[0])==null?void 0:Hl.toLowerCase(),ko=["doc","docx","md","pdf","txt"].includes(Zc);return wr.size==0?(Ie.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),De.default.LIST_IGNORE):ko||(Ie.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u6587\u4EF6"),De.default.LIST_IGNORE)},onChange:({fileList:wr})=>{Ca((wr==null?void 0:wr.filter(fa=>(fa==null?void 0:fa.status)==="done"))||[])},action:`${(Er=Kd.Z)==null?void 0:Er.API_SERVER}/api/attachments.json`};(0,we.useEffect)(()=>{var wr;if(ju.current&&ga!==null){ju.current.focus();const fa=(wr=ju.current.resizableTextArea)==null?void 0:wr.textArea;fa&&(fa.selectionStart=fa.selectionEnd=fa.value.length)}},[ga]),(0,we.useEffect)(()=>{cs<5&&sr(!1)},[cs]),(0,we.useEffect)(()=>{Tt&&ll&&Gf()},[ll]),(0,we.useEffect)(()=>{ba.current=Ps},[Ps]),(0,we.useEffect)(()=>{var wr;si!=null&&si.setting&&pl([...Xa,...((wr=si==null?void 0:si.setting)==null?void 0:wr.big_model_users)||[]])},[si==null?void 0:si.setting]),(0,we.useEffect)(()=>{var wr;xu([`${(wr=Tn==null?void 0:Tn.challenge)==null?void 0:wr.task_pass}`,`${ci}`,`${ci}`])},[ci]),(0,we.useEffect)(()=>{if(pe&&(ie!=null&&ie.open||ll)&&(fe!=null&&fe.student_work_id)){if(ml!==(fe==null?void 0:fe.student_work_id))Tl([{text:"",done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]);else{if(Ps.length)return;Tl([...Ps,{text:"",done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}])}Vg(),Va(fe==null?void 0:fe.student_work_id)}},[pe,ll,Ps,ie==null?void 0:ie.open,fe==null?void 0:fe.student_work_id]),(0,we.useEffect)(()=>{ie!=null&&ie.open&&_n&&(Tl([{text:_n,done:!1,key:Date.now(),sender:"user",fileList:ha[0]},{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]),el(!0),setTimeout(()=>Vg(_n),300))},[ie==null?void 0:ie.open]);const nc=()=>{Xs(!0)},Wc=()=>{Xs(!1)},Uu=()=>{sr(!Il)},Gf=()=>dg(void 0,null,function*(){const wr=yield(0,Hg.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(wr==null?void 0:wr.status)===0&&Ha(wr==null?void 0:wr.number)}),Lm=()=>{Ke.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:we.createElement("div",null,we.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),we.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},Vg=(wr="")=>dg(void 0,null,function*(){var fa,tl;if(pi){yield pi({mes:wr,chatData:Ps,setChatData:Tl,chatDataRef:ba.current,fileList:ha}),el(!1);return}const Oa=(ha==null?void 0:ha.map(Dc=>{var ko,hg;return((ko=Dc==null?void 0:Dc.response)==null?void 0:ko.id)||((hg=Dc==null?void 0:Dc.response)==null?void 0:hg.file_id)}))||[],Hl={};if(Tt){Oa!=null&&Oa[0]&&(Hl.file_id=Oa==null?void 0:Oa[0]),Hl.prompt=wr;const Dc=Ps.reduce((ko,hg)=>{if(hg.sender==="user"){const Op=Ps.find(Wf=>Wf.key===hg.key&&Wf.sender==="AI");Op&&ko.push({question:hg.text,answer:Op.text})}return ko},[]);Hl.history=Dc}const Zc=yield(0,Hg.ZP)(ae,{method:"post",body:cg(cg({inputs:{description:"",name:Cn},query:wr,response_mode:"blocking",conversation_id:Fu.current||"",user:((fa=$n==null?void 0:$n.userInfo)==null?void 0:fa.login)||"\u672A\u77E5",files:Oa},fe),Hl),mode:"cors",headers:{"Content-Type":"application/json",Authorization:"Bearer app-Z8HFAfducmnrr3zO9961jqgB"}});Tt&&Gf(),el(!1),ba.current[ba.current.length-1].text=Zc==null?void 0:Zc.answer,ba.current[ba.current.length-1].loading=!1,ba.current[ba.current.length-1].response=Zc,Fu.current=Zc==null?void 0:Zc.conversation_id,Tt&&(ba.current[ba.current.length-1].text=(tl=Zc==null?void 0:Zc.data)==null?void 0:tl.content),Tl([...ba.current])}),Kg=(wr,fa)=>dg(void 0,null,function*(){var tl;if(Ts)return;el(!0),Tl([...Ps,{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0,name:wr==null?void 0:wr.name}]),setTimeout(()=>{fs.current.scrollTo({top:fs.current.scrollHeight,behavior:"smooth"})});const Oa=yield(0,Hg.ZP)(ae,{method:"post",body:{inputs:{description:wr==null?void 0:wr.inputs,name:wr==null?void 0:wr.name},query:Bu[fa],response_mode:"blocking",user:((tl=$n==null?void 0:$n.userInfo)==null?void 0:tl.login)||"\u672A\u77E5",files:[]},mode:"cors",headers:{"Content-Type":"application/json",Authorization:wr==null?void 0:wr.Authorization}});Oa!=null&&Oa.answer&&(el(!1),ba.current[ba.current.length-1].text=Oa==null?void 0:Oa.answer,ba.current[ba.current.length-1].loading=!1,ba.current[ba.current.length-1].response=Oa,Fu.current=Oa==null?void 0:Oa.conversation_id,Tl([...ba.current]))}),Tp=wr=>{su(wr.target.value)},Ip=(wr,fa)=>{var tl;if(wr==="edit"&&Dl.trim()!==""&&(ba.current.splice(fa),su(""),Ca([]),Tl([...ba.current,{text:Dl,done:!1,key:Date.now(),sender:"user",fileList:ha[0]},{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]),el(!0),setTimeout(()=>{Vg(Dl),fs.current.scrollTo({top:fs.current.scrollHeight,behavior:"smooth"})},300),tc(""),Is(null)),wr==="redraw"){const Oa=ba.current.splice(fa-1),Hl=(tl=Oa==null?void 0:Oa[0])==null?void 0:tl.text;su(""),Ca([]),Tl([...ba.current,{text:Hl,done:!1,key:Date.now(),sender:"user",fileList:ha[0]},{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]),el(!0),setTimeout(()=>{Vg(Hl),fs.current.scrollTo({top:fs.current.scrollHeight,behavior:"smooth"})},300),tc(""),Is(null)}},kp=()=>{Su.trim()!==""&&(tc(""),Is(null),su(""),Ca([]),Tl([...Ps,{text:Su,done:!1,key:Date.now(),sender:"user",fileList:ha[0]},{text:Su,done:!1,loading:!0,key:Date.now(),sender:"AI",allowCopy:!0}]),el(!0),setTimeout(()=>{Vg(Su),fs.current.scrollTo({top:fs.current.scrollHeight,behavior:"smooth"})},300))},Dp=wr=>{var fa;if(wr.shiftKey){if(wr.key==="Enter")return}else if(wr.key==="Enter"){if(wr.preventDefault(),ha!=null&&ha.length&&((fa=ha==null?void 0:ha[0])==null?void 0:fa.status)!=="done"||Ts)return;kp()}},yf=(wr,fa)=>{var tl,Oa,Hl,Zc,Dc;return we.createElement("div",{className:ss.editable},fa===ga?we.createElement(we.Fragment,null,we.createElement(Ee.default.TextArea,{value:Dl,ref:ju,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:ko=>tc(ko.target.value)}),we.createElement("div",{className:ss.action,style:{bottom:-52}},we.createElement(et.ZP,{onClick:()=>{tc(""),Is(null)},size:"small"},"\u53D6\u6D88"),we.createElement(et.ZP,{disabled:!Dl.trim(),onClick:()=>Ip("edit",fa),type:"primary",size:"small"},"\u786E\u8BA4"))):we.createElement(we.Fragment,null,we.createElement("div",{className:ss.text},wr==null?void 0:wr.text),we.createElement("div",{className:ss.action},we.createElement(zg.CopyToClipboard,{text:(wr==null?void 0:wr.text)||"",onCopy:()=>Ie.ZP.success("\u590D\u5236\u6210\u529F")},we.createElement(Je.Z,{title:"\u590D\u5236"},we.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),!Ts&&we.createElement(Je.Z,{title:"\u7F16\u8F91"},we.createElement("i",{onClick:()=>{Is(fa),tc((wr==null?void 0:wr.text)||"")},className:"iconfot icon-bianji10 font14"})))),(wr==null?void 0:wr.fileList)&&we.createElement("div",{className:ss.file},we.createElement("img",{src:oe(90034)(`./${((Hl=(Oa=(tl=wr==null?void 0:wr.fileList)==null?void 0:tl.name)==null?void 0:Oa.split("."))==null?void 0:Hl.pop())||"txt"}.png`),width:20,className:"mr10"}),we.createElement("div",{className:"c-black"},we.createElement("div",null,(0,xd.tP)((Zc=wr==null?void 0:wr.fileList)==null?void 0:Zc.name,20)),we.createElement("div",null,(0,xd.RD)((Dc=wr==null?void 0:wr.fileList)==null?void 0:Dc.size)))))},Hf=(wr,fa,tl)=>{Tl(Oa=>(Oa[tl][wr]=fa,fa&&(Oa[tl][wr==="like"?"boring":"like"]=!1),[...Oa]))};if(Tc&&!Xa.includes(($r=(0,Fh.eY)())==null?void 0:$r.login)){if(!(Tn!=null&&Tn.chatgpt))return we.createElement(we.Fragment,null)}else if(!Ur||!(Yn||Xa.includes((Hn=(0,Fh.eY)())==null?void 0:Hn.login)))return we.createElement(we.Fragment,null);return Tt&&!Xa.includes((Cr=(0,Fh.eY)())==null?void 0:Cr.login)?we.createElement(we.Fragment,null):we.createElement("div",null,Jt?we.createElement("div",{onClick:qe||nc},we.createElement(ht.Outlet,null),Jt):we.createElement(pf,{src:Tt?_f:"",onClick:qe||nc}),we.createElement(Ye.Z,{className:`${ie!=null&&ie.open||ll?"body-overflow-hidden":""} ${ss.answerWrp}`,width:(ie==null?void 0:ie.width)||880,title:we.createElement("span",{className:ss.title},he||"\u5934\u6B4CAI"),onClose:(ie==null?void 0:ie.onClose)||Wc,open:(ie==null?void 0:ie.open)||ll,afterOpenChange:wr=>{wr||(tc(""),Is(null))}},we.createElement("div",{className:ss["ai-wrp"]},we.createElement("div",{ref:fs,className:ss["chat-container"]},Be&&we.createElement("div",{className:ss.li},we.createElement("img",{className:ss.img,src:vt||"/images/ai_icon.png"}),we.createElement("div",{className:ss.content},we.createElement("div",{className:"c-grey-333 font22"},we.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F",Tt?"":"\u5934\u6B4C",Tc?he:"\u667A\u80FD\u52A9\u6559",Tt?"\u5C0F\u6B4C":"","\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),we.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},Me||"\u6211\u53EF\u4EE5\u9605\u8BFB\u60A8\u4E0A\u4F20\u7684\u6559\u6848\uFF0C\u4E66\u7C4D\u7B49\u6559\u5B66\u8D44\u6599\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u8981\u6C42\u4E3A\u60A8\u81EA\u52A8\u751F\u6210\u4EFB\u52A1\u8981\u6C42\u3002"),!Tt&&we.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E"),Tc&&we.createElement("div",{className:ss.container},Ic.map((wr,fa)=>we.createElement("div",{onClick:()=>Kg(wr,fa),key:fa,className:ss.item},we.createElement(tt.Z,{align:"middle"},we.createElement("img",{className:"mr10",src:wr.img}),we.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},wr.name)),we.createElement("div",{className:"mt10",style:{color:"#434D6C"}},wr.des)))),Tt&&we.createElement("div",{className:ss.container},mn==null?void 0:mn.map((wr,fa)=>we.createElement("div",{key:fa,onClick:()=>{var tl,Oa;if(wr.show){if(lo>9){Lm();return}(Oa=(tl=wr.ref)==null?void 0:tl.current)==null||Oa.onClick()}},className:Bh()(ss.itemMask,(wr==null?void 0:wr.show)&&ss.show)},we.createElement(tt.Z,{align:"middle"},we.createElement("img",{className:"mr10",src:wr.img,width:24}),we.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},wr.name)),we.createElement("div",{className:"mt10",style:{color:"#434D6C",paddingLeft:34}},wr.des),!(wr!=null&&wr.show)&&we.createElement("div",{className:ss.mask},"\u656C\u8BF7\u671F\u5F85\uFF5E"),!!(wr!=null&&wr.show)&&we.createElement("div",{onClick:tl=>tl.stopPropagation()}," ",we.createElement(wr.element,{ref:wr.ref,onUpdateNum:Gf,onClose:Wc}))))))),Ps==null?void 0:Ps.map((wr,fa)=>{var tl;return we.createElement("div",{key:fa,className:ss.li,style:{marginBottom:wr.sender==="AI"&&((tl=Ps[fa+1])==null?void 0:tl.sender)!=="user"||Rt?50:20}},we.createElement("img",{className:ss.img,src:wr.sender==="AI"?vt||"/images/ai_icon.png":At||"/images/ai_user.png"}),we.createElement("div",{style:{marginTop:Rt&&wr.sender==="user"&&(wr!=null&&wr.fileList)?64:0},className:`${ss.content} ${wr.sender==="AI"||Rt?"":ss.user}`},wr.loading?we.createElement("div",null,we.createElement("div",{className:ss["loading-wanx"]},we.createElement("div",{className:ss["dot-flashing"]}),we.createElement("div",{className:ss["dot-flashing"]}),we.createElement("div",{className:ss["dot-flashing"]})),we.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(ot==null?void 0:ot.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002")):we.createElement(we.Fragment,null,!!wr.name&&we.createElement("div",{className:"mb10 font18",style:{color:"#232B40",fontWeight:600}},wr==null?void 0:wr.name),wr.sender==="user"&&Rt?yf(wr,fa):we.createElement(Gg,{showEditableBox:Rt,onRedraw:()=>Ip("redraw",fa),scrollBox:fs,Data:wr,extraEdit:ye,loading:Ts,showPreference:Qn,onPreference:(Oa,Hl)=>Hf(Oa,Hl,fa)}))))})),!dt&&we.createElement("div",{className:`${ss["footer-container"]} ${Il?ss.full:""} ${ha.length>=1&&ss["has-file"]}`},!!ha.length&&we.createElement(tt.Z,{align:"middle",className:"pb5 pt5"},we.createElement("span",{title:($o=ha==null?void 0:ha[0])==null?void 0:$o.name,className:"mr10"},(0,xd.tP)((oi=ha==null?void 0:ha[0])==null?void 0:oi.name,40)),we.createElement("i",{onClick:()=>Ca([]),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font14"})),we.createElement(Je.Z,{title:lo>9?we.createElement("div",null,we.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),we.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002")):""},we.createElement("div",{style:ha.length?{paddingLeft:0}:{},className:`${ss["input-container"]} ${cs>4?ss.lineFour:""} ${lo>9?ss.disabledNumClass:""}`},!He&&we.createElement("div",{className:ss["footer-container-upload"]},we.createElement(De.default,cg({},Xe?kc:zu),ha!=null&&ha.length?null:we.createElement(et.ZP,{className:ss["upload-btn"],icon:we.createElement("i",{className:"iconfont icon-shangchuan4 c-white"})}))),we.createElement(Ee.default.TextArea,{rows:cs>4?4:cs,placeholder:Re||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:Su,bordered:!1,style:He?{paddingLeft:0,marginLeft:0}:{},onChange:Tp,onKeyPress:Dp}),we.createElement(et.ZP,{className:ss["send-btn"],icon:we.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:!!(ha!=null&&ha.length)&&((us=ha==null?void 0:ha[0])==null?void 0:us.status)!=="done"||Ts,onClick:kp}),cs>4&&we.createElement("span",{className:ss.fullIcon,onClick:Uu},Il&&we.createElement("span",{className:"iconfont icon-shousuo"}),!Il&&we.createElement("span",{className:"iconfont icon-zhankai"}))))))))};var vf=(0,ht.connect)(({globalSetting:he,user:Me})=>({globalSetting:he,user:Me}))(mf)},91740:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ee}});var se=oe(59301),Ce={flex_box_center:"flex_box_center___A3pzf",flex_space_between:"flex_space_between___JBoa5",flex_box_vertical_center:"flex_box_vertical_center___MJuIO",flex_box_center_end:"flex_box_center_end___OcjUA",flex_box_column:"flex_box_column___zSH4A",list:"list___KhJas",middle:"middle___IjlYi",row:"row___GGtIx",title:"title___o_xqf",size:"size___OVRoL",download:"download___ZLcIH",preview:"preview___gi0kI",annotation:"annotation___KVSwj"},we=oe(92310),Ie=oe.n(we),De=oe(79646),Ke=oe(65983),Ee=oe(58130),et=oe(10148),Je=oe(70635),Ye=oe(2119),tt=oe(42203),ht=oe(8591),kt=(ne,ge,ue)=>new Promise((me,Se)=>{var Ne=We=>{try{Te(ue.next(We))}catch($e){Se($e)}},ke=We=>{try{Te(ue.throw(We))}catch($e){Se($e)}},Te=We=>We.done?me(We.value):Promise.resolve(We.value).then(Ne,ke);Te((ue=ue.apply(ne,ge)).next())});const ze=({className:ne,style:ge,dataSource:ue=[],authority:me=!1,callback:Se,showDimensions:Ne=!0,classroomList:ke})=>{var Te;const[We,$e]=(0,se.useState)({content:"",type:""}),[st,ut]=(0,se.useState)({}),[Mt,nt]=(0,se.useState)(!1),[$t,Pt]=(0,se.useState)({title:"",visible:!1,src:"",snapshotData:{}}),dn=(0,se.useRef)(),zt=it=>kt(void 0,null,function*(){if(ut(it),it.file_type==="txt"){const Ve=yield(0,Je.ZP)(it.url,{method:"get",headers:{"Content-Type":"application/xml"}});dn.current=Ve}$e({type:it.file_type,content:et.Z.API_SERVER+it.url})}),Xt=it=>{var Ve;Pt({visible:!0,src:et.Z.API_SERVER+it.url,id:it.id,title:it.title,snapshotData:(Ve=it==null?void 0:it.subitem)==null?void 0:Ve.settings})},fn=it=>kt(void 0,null,function*(){var Ve;$e({type:it.file_type,content:et.Z.API_SERVER+((Ve=it==null?void 0:it.subitem)==null?void 0:Ve.url)})}),an=()=>{Se(),Pt({visible:!1})};return ue!=null&&ue.length?se.createElement(se.Fragment,null,se.createElement("div",{className:Ie()(Ce.list,ne),style:ge},ue.map((it,Ve)=>{var gt,Bt,sn;return se.createElement("div",{key:Ve,className:Ce.row},se.createElement("div",{className:Ce.title,onClick:()=>zt(it)},se.createElement("i",{className:"iconfont icon-fujian1"}),se.createElement("span",{title:it.title},it.title)),se.createElement("div",{className:Ce.size},it.filesize),se.createElement("div",{className:Ce.download,onClick:()=>{var It,en;if((0,Ye.Rm)()&&!((It=ke.AssistantObject.normal)!=null&&It.can_download)){ht.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Ee.Nd)("",`${et.Z.API_SERVER}${(en=it.url)==null?void 0:en.replace("disposition=inline","")}`)}},se.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D"),!["other","download"].includes(it==null?void 0:it.file_type)&&se.createElement("div",{className:Ce.preview,onClick:()=>zt(it)},se.createElement("i",{className:"iconfont icon-yulan"}),"\u9884\u89C8"),["image"].includes(it==null?void 0:it.file_type)&&Ne&&(me?se.createElement("div",{className:Ce.annotation,onClick:()=>Xt(it)},se.createElement("i",{className:"iconfont icon-pizhu"}),(gt=it.subitem)!=null&>.id?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"):((Bt=it.subitem)==null?void 0:Bt.id)&&se.createElement("div",{className:Ce.annotation,onClick:()=>fn(it)},se.createElement("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8")),["image"].includes(it==null?void 0:it.file_type)&&((sn=it.subitem)==null?void 0:sn.id)&&se.createElement("div",{className:Ce.download,style:{marginLeft:20},onClick:()=>{var It,en;(0,Ee.Nd)("",`${et.Z.API_SERVER}${(en=(It=it==null?void 0:it.subitem)==null?void 0:It.url)==null?void 0:en.replace("disposition=inline","")}`)}},se.createElement("i",{className:"iconfont icon-xiazai4"}),"\u4E0B\u8F7D\u6279\u6CE8\u6587\u4EF6"),["office"].includes(it==null?void 0:it.file_type)&&(0,Ye.eB)()&&["xlsx","docx","pptx"].includes(it==null?void 0:it.file_sub)&&Ne&&se.createElement("div",{className:Ce.annotation,onClick:()=>{nt(!0),zt(it)}},se.createElement("i",{className:"iconfont icon-pizhu"}),it.is_edit?"\u4FEE\u6539\u6279\u6CE8":"\u6279\u6CE8"),it.is_edit&&(0,Ye.dE)()&&Ne&&se.createElement("div",{className:Ce.annotation,onClick:()=>{zt(it)}},se.createElement("i",{className:"iconfont icon-sousuo7"}),"\u67E5\u770B\u8001\u5E08\u6279\u6CE8"))})),se.createElement(De.Z,{close:!0,data:We==null?void 0:We.content,type:We==null?void 0:We.type,hasMask:!0,disabledDownload:(0,Ye.Rm)()&&!((Te=ke.AssistantObject.normal)!=null&&Te.can_download),editOffice:Mt?"edit":"view",monacoEditor:{value:dn.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:me&&Ne&&We.type==="image"?()=>Xt(st):null,onClose:()=>{Se(),nt(!1),$e({content:"",type:""})}}),se.createElement(Ke.Z,{onOk:an,onClose:()=>Pt({visible:!1}),data:$t,showFullTools:!0})):null};var ee=(0,tt.connect)(({classroomList:ne})=>({classroomList:ne}))(ze)},65983:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ct}});var se=oe(59301),Ce={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},we=oe(92310),Ie=oe.n(we),De=oe(71418);var Ke=function(Ge,Ae){return(Ke=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(xe,je){xe.__proto__=je}||function(xe,je){for(var Qe in je)Object.prototype.hasOwnProperty.call(je,Qe)&&(xe[Qe]=je[Qe])})(Ge,Ae)};function Ee(Ge,Ae){function xe(){this.constructor=Ge}Ke(Ge,Ae),Ge.prototype=Ae===null?Object.create(Ae):(xe.prototype=Ae.prototype,new xe)}function et(Ge,Ae,xe,je){return new(xe||(xe=Promise))(function(Qe,Oe){function xt(wt){try{Pn(je.next(wt))}catch(nn){Oe(nn)}}function hn(wt){try{Pn(je.throw(wt))}catch(nn){Oe(nn)}}function Pn(wt){var nn;wt.done?Qe(wt.value):(nn=wt.value,nn instanceof xe?nn:new xe(function(Mn){Mn(nn)})).then(xt,hn)}Pn((je=je.apply(Ge,Ae||[])).next())})}function Je(Ge,Ae){var xe,je,Qe,Oe,xt={label:0,sent:function(){if(1&Qe[0])throw Qe[1];return Qe[1]},trys:[],ops:[]};return Oe={next:hn(0),throw:hn(1),return:hn(2)},typeof Symbol=="function"&&(Oe[Symbol.iterator]=function(){return this}),Oe;function hn(Pn){return function(wt){return function(nn){if(xe)throw new TypeError("Generator is already executing.");for(;xt;)try{if(xe=1,je&&(Qe=2&nn[0]?je.return:nn[0]?je.throw||((Qe=je.return)&&Qe.call(je),0):je.next)&&!(Qe=Qe.call(je,nn[1])).done)return Qe;switch(je=0,Qe&&(nn=[2&nn[0],Qe.value]),nn[0]){case 0:case 1:Qe=nn;break;case 4:return xt.label++,{value:nn[1],done:!1};case 5:xt.label++,je=nn[1],nn=[0];continue;case 7:nn=xt.ops.pop(),xt.trys.pop();continue;default:if(Qe=xt.trys,!((Qe=Qe.length>0&&Qe[Qe.length-1])||nn[0]!==6&&nn[0]!==2)){xt=0;continue}if(nn[0]===3&&(!Qe||nn[1]>Qe[0]&&nn[1]{const $t=ut.current.attachShadow({mode:"open"});Mt.current=document.createElement("div"),Mt.current.className="markdown-body",Mt.current.innerHTML=st,$t.appendChild(Mt.current);const Pt=document.createElement("style");return Pt.textContent=nt,$t.appendChild(Pt),()=>{$t.innerHTML=""}},[]),(0,se.useEffect)(()=>{Mt.current&&(Mt.current.innerHTML=st)},[st]),tt.createElement("div",{ref:ut})},ze=Object.defineProperty,ee=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ue=(st,ut,Mt)=>ut in st?ze(st,ut,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):st[ut]=Mt,me=(st,ut)=>{for(var Mt in ut||(ut={}))ne.call(ut,Mt)&&ue(st,Mt,ut[Mt]);if(ee)for(var Mt of ee(ut))ge.call(ut,Mt)&&ue(st,Mt,ut[Mt]);return st};const Se="@\u2581\u2581@",Ne="@\u2581@",ke=/]*>/g;function Te(st){let ut=document.createElement("div");return ut.innerHTML=st,ut.childNodes.length===0?"":ut.childNodes[0].nodeValue}const We=(st,ut)=>{st=st||"";const Mt=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,nt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,$t=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Pt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ut?st.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Mt,(dn,zt,Xt,fn,an,it,Ve)=>{const gt=zt||fn||it,Bt=Xt||an||Ve||"?";return Ke.Z.API_SERVER+"/api/attachments/"+gt+Bt+"&t="+(0,Ee.Jn)(gt,Date.now())+(dn.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(st=st.replace(Pt,(dn,zt,Xt,fn,an,it,Ve)=>{const gt=zt||fn||it,Bt=Xt||an||Ve||"?";return Ke.Z.API_SERVER+"/attachments/download/"+gt+Bt+"&t="+(0,Ee.Jn)(gt,Date.now())+(dn.indexOf(")")>-1?")":"&")}).replace(Mt,(dn,zt,Xt,fn,an,it,Ve)=>{const gt=zt||fn||it,Bt=Xt||an||Ve||"?";return Ke.Z.API_SERVER+"/api/attachments/"+gt+Bt+"&t="+(0,Ee.Jn)(gt,Date.now())+(dn.indexOf(")")>-1?")":"&")}).replace(nt,(dn,zt,Xt,fn,an)=>{const it=zt||fn,Ve=Xt||an||"";return'"'+Ke.Z.API_SERVER+"/api/attachments/"+it+Ve+it+Ve+"&t="+(0,Ee.Jn)(it,Date.now())}).replace($t,(dn,zt,Xt,fn,an)=>{const it=zt||fn,Ve=Xt||an||"";return"("+Ke.Z.API_SERVER+"/files/uploads/"+it+Ve+it+Ve+"&t="+(0,Ee.Jn)(it,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),st)};var $e=({value:st="",className:ut,showTextOnly:Mt,showLines:nt,style:$t={},stylesPrev:Pt={},highlightKeywords:dn,showProgramFill:zt,isProgramFill:Xt,disabledFill:fn=!1,programFillValue:an,onFillChange:it=Bt=>{},onFillBlur:Ve=()=>{},onFillFocus:gt=()=>{}})=>{let Bt=String(st);const[sn,It]=(0,se.useState)(""),[en,En]=(0,se.useState)("office"),[ei,An]=(0,se.useState)([]),Kn=(0,se.useRef)("a"+(0,Je.Z)()),jt={},Nn=(Ge,Ae,xe)=>{const je=document.createElement(Ge===Ne?"input":"textarea");je.style.width="100%",je.style.height=Ge===Ne?"40px":"151px",je.rows=5,je.spellcheck=!1,je.name="edu-program-fill",je.placeholder="\u8BF7\u8F93\u5165",je.dataset.id=Ae;const Qe=Object.keys(jt).length;return jt[Qe]=je,`${je.outerHTML}`};function Gn(Ge){return Ge=Ge.replace(/!\[.*?\]\(.*?\)/g,""),Ge=Ge.replace(/\[.*?\]\(.*?\)/g,""),Ge=Ge.replace(new RegExp("","gs"),""),Ge=Ge.replace(//g,""),Ge=Ge.replace(//g,""),Ge=Ge.replace(new RegExp(".*?<\\/video>","gs"),""),Ge=Ge.replace(new RegExp(".*?<\\/audio>","gs"),""),Ge=Ge.replace(new RegExp(".*?<\\/style>","gs"),""),Ge=Ge.replace(new RegExp(".*?<\\/script>","gs"),""),Ge}const ii=Ge=>Ge.replace(/([\s\S]+?)<\/style>/gim,function(Ae,xe){let je=xe.replace(/(\n|\r)/g,"").split("}"),Qe=[];return je.map(Oe=>{Oe!=""&&Qe.push(`.${Kn.current} ${Oe}`)}),``}),Sn=(0,se.useMemo)(()=>{try{const je=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Qe=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Oe=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,xt=/\(\/attachments\/download\//g;Bt=Bt.replace(xt,"("+Ke.Z.API_SERVER+"/attachments/download/").replace(je,"("+Ke.Z.API_SERVER+"/api/attachments/").replace(Qe,'"'+Ke.Z.API_SERVER+"/api/attachments/").replace(Oe,'"'+Ke.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`)}catch(je){}if(zt){let je=-1;return Bt=Bt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Qe,Oe,xt){var hn;return++je,Nn(Qe,je,(hn=an==null?void 0:an[je])==null?void 0:hn.value.replaceAll("<","<").replaceAll(">",">"))}),`
${ii(Bt||"")}
`}let Ge=ii(Bt);Ge=(0,we.ZP)(Ge);const Ae=(0,we.ez)();Bt.match(/\[TOC\]/)&&(Ge=Ge.replace("

[TOC]

",(0,we.Qv)()),(0,we.Iy)()),Ge=Ge.replace(/(__special_katext_id_\d+__)/g,(je,Qe)=>{const{type:Oe,expression:xt}=Ae[Qe];return(0,et.renderToString)(Te(xt)||"",{displayMode:Oe==="block",throwOnError:!1,output:"html"})}),Ge=Ge.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,we.AL)();const xe=document.createElement("div");if(xe.innerHTML=Ge,Mt)return xe.innerText;if(dn){const je=dn.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return rt(xe,je),xe.innerHTML}return setTimeout(()=>ft(),500),xe.innerHTML},[Bt,dn]);(0,se.useEffect)(()=>{Ft.current&&Ft.current.querySelectorAll(["input","textarea"]).forEach(Ae=>{Ae.oninput=Yt,Ae.onblur=Zt,Ae.onfocus=St})},[ei]),(0,se.useEffect)(()=>{var Ge,Ae,xe,je,Qe;if(an!=null&&an.length)try{const Oe=Ft.current.querySelectorAll(".edu-program-fill-score"),xt=Ft.current.querySelectorAll('[name="edu-program-fill"]');for(const[hn,Pn]of xt.entries())Pn.value=((Ge=an==null?void 0:an[hn])==null?void 0:Ge.value)||"",((Ae=an==null?void 0:an[hn])==null?void 0:Ae.type)==="warning"?Pn.className="program-fill-warning":((xe=an==null?void 0:an[hn])==null?void 0:xe.type)==="success"?Pn.className="program-fill-success":Pn.className="";for(const[hn,Pn]of Oe.entries())Pn.innerHTML=(je=an==null?void 0:an[hn])!=null&&je.score?`${(Qe=an==null?void 0:an[hn])==null?void 0:Qe.score}\u5206`:"";An(an)}catch(Oe){console.log(Oe,"error")}},[an]);const Yt=Ge=>{ei[Ge.target.dataset.id]=ei[Ge.target.dataset.id]||{},ei[Ge.target.dataset.id].value=Ge.target.value,An([...ei]),it(ei,Ge.target.dataset.id)},Zt=Ge=>{ei[Ge.target.dataset.id]=ei[Ge.target.dataset.id]||{},ei[Ge.target.dataset.id].value=Ge.target.value,An([...ei]),Ve(ei,Ge.target.dataset.id)},St=Ge=>{ei[Ge.target.dataset.id]=ei[Ge.target.dataset.id]||{},ei[Ge.target.dataset.id].value=Ge.target.value,An([...ei]),gt(ei,Ge.target.dataset.id)};function rt(Ge,Ae){return Ge.childNodes.forEach(xe=>{var je;if(xe.childNodes.length>0)rt(xe,Ae);else if(xe.nodeName!=="IMG")if(xe.innerHTML)xe.innerHTML=(je=xe.innerHTML)==null?void 0:je.replace(new RegExp(Ae,"gi"),'$&');else{const Qe=document.createElement("span");Qe.innerHTML=xe.textContent.replace(new RegExp(Ae,"gi"),'$&'),xe.replaceWith(Qe)}})}const Ft=(0,se.useRef)();we.jb.WebkitLineClamp=nt,nt&&($t=me(me({},$t),we.jb));function Ot(Ge){let Ae=Ge.target;if(Ae.tagName.toUpperCase()==="A"){let xe=Ae.getAttribute("href");if(xe.indexOf("office")>-1)Ge.preventDefault(),It(xe),En("office");else if(xe.indexOf("application/pdf")>-1)Ge.preventDefault(),It(xe),En("pdf");else if(xe.indexOf("text/html")>-1)Ge.preventDefault(),It(xe),En("html");else if(xe.startsWith("#")){Ge.preventDefault();let je=document.getElementById(xe.replace("#",""));je&&je.scrollIntoView(!0)}}}const ft=()=>{var Ge;const Ae=(Ge=Ft.current)==null?void 0:Ge.querySelectorAll("video");Ae==null||Ae.forEach(xe=>{if(xe.oncontextmenu=()=>!1,xe.src.indexOf(".m3u8")>-1&&!xe.canPlayType("application/vnd.apple.mpegurl")){if(De.ZP.isSupported()){var je=new De.ZP;je.loadSource(xe.src),je.attachMedia(xe)}}})};(0,se.useEffect)(()=>{if(Ft.current&&Sn&&Sn.match(ke)&&window.PR.prettyPrint(),Ft.current)return Ft.current.addEventListener("click",Ot),()=>{var Ge;(Ge=Ft.current)==null||Ge.removeEventListener("click",Ot),(0,we.AL)(),(0,we.Iy)()}},[Sn,Ft.current,Ot]),(0,se.useEffect)(()=>{var Ge;const Ae=xe=>{xe.preventDefault(),xe.clipboardData.setData("text",window.getSelection().toString())};return(Ge=Ft.current)==null||Ge.addEventListener("copy",Ae),()=>{var xe;(xe=Ft.current)==null||xe.removeEventListener("copy",Ae)}},[Ft.current]);const ct=Ge=>//i.test(Ge||"");return se.createElement(se.Fragment,null,Mt&&se.createElement("div",{ref:Ft},Sn),!Mt&&!ct(Sn)&&se.createElement("div",{ref:Ft,style:me({},$t),className:`${ut||""} ${fn?"disabled-fill":""} markdown-body ${Kn.current}`,dangerouslySetInnerHTML:{__html:Sn}}),!Mt&&ct(Sn)&&se.createElement(kt,{html:Sn}),se.createElement(Ye.Z,{close:!0,data:sn,type:sn!=null&&sn.length?en:"",style:me({},Pt),onClose:()=>It("")}))}},93461:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return $t}});var se=oe(59301),Ce=oe(42203),we=oe(43418),Ie=oe(78241),De=oe(8591),Ke=oe(71418),Ee=oe(86914),et=oe(95237),Je=oe(43604),Ye=oe(6848),tt=oe(92832),ht={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},kt=oe(35427),ze=oe(3129),ee=oe(97267),ne=oe(94606),ge=Object.defineProperty,ue=Object.defineProperties,me=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Te=(Pt,dn,zt)=>dn in Pt?ge(Pt,dn,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Pt[dn]=zt,We=(Pt,dn)=>{for(var zt in dn||(dn={}))Ne.call(dn,zt)&&Te(Pt,zt,dn[zt]);if(Se)for(var zt of Se(dn))ke.call(dn,zt)&&Te(Pt,zt,dn[zt]);return Pt},$e=(Pt,dn)=>ue(Pt,me(dn)),st=(Pt,dn)=>{var zt={};for(var Xt in Pt)Ne.call(Pt,Xt)&&dn.indexOf(Xt)<0&&(zt[Xt]=Pt[Xt]);if(Pt!=null&&Se)for(var Xt of Se(Pt))dn.indexOf(Xt)<0&&ke.call(Pt,Xt)&&(zt[Xt]=Pt[Xt]);return zt},ut=(Pt,dn,zt)=>new Promise((Xt,fn)=>{var an=gt=>{try{Ve(zt.next(gt))}catch(Bt){fn(Bt)}},it=gt=>{try{Ve(zt.throw(gt))}catch(Bt){fn(Bt)}},Ve=gt=>gt.done?Xt(gt.value):Promise.resolve(gt.value).then(an,it);Ve((zt=zt.apply(Pt,dn)).next())});const Mt=(Pt=[])=>Pt==null?void 0:Pt.map(dn=>$e(We({},dn),{title:(dn==null?void 0:dn.value)||"",key:dn==null?void 0:dn.id,isLeaf:!0})),nt=Pt=>{var dn=Pt,{user:zt,children:Xt,isShowComponent:fn=!0,ModalProps:an={},onDataSelect:it}=dn,Ve=st(dn,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[gt,Bt]=we.default.useModal(),[sn]=Ie.default.useForm(),[It,en]=(0,se.useState)([]),[En,ei]=(0,se.useState)(!1),[An,Kn]=(0,se.useState)(!1),[,jt,Nn,Gn]=(0,kt.U)(ze.qE,{page:1,limit:9999}),[,,ii]=(0,kt.U)(ze.V8,{}),[,,Sn]=(0,kt.U)(ze.B$,{}),[,,Yt]=(0,kt.U)(ze.DH,{}),[,,Zt]=(0,kt.U)(ze.bJ,{}),St=()=>{ei(!1),sn.resetFields(),Kn(!1)},rt=Ot=>ut(void 0,null,function*(){const{node:ft,dragNode:ct,event:Ge}=Ot,Ae=Ot.node.pos.split("-"),xe=Ot.dropPosition-Number(Ae[Ae.length-1]);if(xe==0){De.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(xe==1&&(ct==null?void 0:ct.item_index)==(ft==null?void 0:ft.item_index)+1){De.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const je=yield Zt({id:ct==null?void 0:ct.key,position:xe==-1?1:(ct==null?void 0:ct.item_index)>(ft==null?void 0:ft.item_index)?(ft==null?void 0:ft.item_index)+1:ft==null?void 0:ft.item_index});(je==null?void 0:je.status)===0&&(De.ZP.success("\u79FB\u52A8\u6210\u529F"),Nn({},!0))}),Ft=Ot=>ut(void 0,null,function*(){let ft={};An?ft=yield Sn(We({},Ot)):ft=yield Yt(We({},Ot)),(ft==null?void 0:ft.status)==0&&(De.ZP.success((ft==null?void 0:ft.message)||(An?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Nn({},!0),St())});return(0,se.useEffect)(()=>{an!=null&&an.open&&Nn({},!0)},[an==null?void 0:an.open]),(0,se.useEffect)(()=>{var Ot;en(Mt((Ot=Gn==null?void 0:Gn.data)==null?void 0:Ot.list))},[Gn]),fn?se.createElement(se.Fragment,null,Bt,Xt,se.createElement(we.default,We({},We({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},an)),se.createElement(Ke.Z,{spinning:jt},(It==null?void 0:It.length)>0?se.createElement(se.Fragment,null,se.createElement(Ee.default.DirectoryTree,{height:500,className:ht.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:it,treeData:It,onDrop:rt,titleRender:Ot=>se.createElement(se.Fragment,null,se.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Ot==null?void 0:Ot.title),se.createElement("div",{className:`${ht.EditDom}`},se.createElement(et.Z,{wrap:!1,align:"middle",gutter:16},se.createElement(Je.Z,null,se.createElement(Ye.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},se.createElement("i",{className:`iconfont icon-tuodong1 font12 ${ht.currentPrimary}`}))),se.createElement(Je.Z,null,se.createElement(Ye.Z,{title:"\u7F16\u8F91"},se.createElement("i",{className:`iconfont icon-bianji11 font12 ${ht.currentPrimary}`,onClick:ft=>{ft.stopPropagation(),sn.setFieldsValue(We({},Ot)),ei(!0)}}))),se.createElement(Je.Z,null,se.createElement(Ye.Z,{title:"\u5220\u9664"},se.createElement("i",{className:`iconfont icon-shanchu14 font12 ${ht.currentDelete}`,onClick:ft=>{ft.stopPropagation(),gt.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>ut(void 0,null,function*(){const ct=yield ii({id:Ot==null?void 0:Ot.key});(ct==null?void 0:ct.status)==0&&(De.ZP.success((ct==null?void 0:ct.message)||"\u5220\u9664\u6210\u529F"),Nn({},!0))})})}}))))))}),se.createElement(ne.op,{className:"ml20 mt20",icon:se.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Kn(!0),ei(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):se.createElement(ee.Z,{styles:{margin:"30px auto"},customText:se.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",se.createElement("a",{onClick:()=>{Kn(!0),ei(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),se.createElement(we.default,{title:An?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:En,okText:An?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{St()},onOk:()=>{sn.submit()}},se.createElement(Ie.default,{form:sn,onFinish:Ft},An&&se.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),se.createElement(Ie.default.Item,{hidden:!0,name:"id"}),se.createElement(Ie.default.Item,{className:"mt10",name:"value"},se.createElement(tt.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var $t=(0,Ce.connect)(({loading:Pt,user:dn})=>({user:dn,loading:Pt.effects}))(nt)},2307:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Rn}});var se=oe(59301),Ce=oe(86766),we=oe(30631),Ie=oe(92310),De=oe.n(Ie),Ke=oe(5891),Ee=oe(57259),et=oe(80962),Je=oe(29043),Ye=oe(80665),tt=oe(19149),ht=oe(21783),kt=oe(35788),ze=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],ee=se.createContext(null),ne=0;function ge(bt,Ut){var Ln=se.useState(function(){return ne+=1,String(ne)}),ni=(0,Je.Z)(Ln,1),_t=ni[0],yn=se.useContext(ee),Qt={data:Ut,canPreview:bt};return se.useEffect(function(){if(yn)return yn.register(_t,Qt)},[]),se.useEffect(function(){yn&&yn.register(_t,Qt)},[bt,Ut]),_t}function ue(bt){return new Promise(function(Ut){var Ln=document.createElement("img");Ln.onerror=function(){return Ut(!1)},Ln.onload=function(){return Ut(!0)},Ln.src=bt})}function me(bt){var Ut=bt.src,Ln=bt.isCustomPlaceholder,ni=bt.fallback,_t=(0,se.useState)(Ln?"loading":"normal"),yn=(0,Je.Z)(_t,2),Qt=yn[0],un=yn[1],wn=(0,se.useRef)(!1),gn=Qt==="error";(0,se.useEffect)(function(){ue(Ut).then(function(Jn){Jn||un("error")})},[Ut]),(0,se.useEffect)(function(){Ln&&!wn.current?un("loading"):gn&&un("normal")},[Ut]);var kn=function(){un("normal")},Bn=function(Wn){wn.current=!1,Qt==="loading"&&Wn!=null&&Wn.complete&&(Wn.naturalWidth||Wn.naturalHeight)&&(wn.current=!0,kn())},Vn=gn&&ni?{src:ni}:{onLoad:kn,src:Ut};return[Bn,Vn,Qt]}var Se=oe(86923),Ne=oe(8178),ke=oe(85108),Te=oe(51395);function We(bt,Ut,Ln,ni){var _t=Ut+Ln,yn=(Ln-ni)/2;if(Ln>ni){if(Ut>0)return(0,et.Z)({},bt,yn);if(Ut<0&&_tni)return(0,et.Z)({},bt,Ut<0?yn:-yn);return{}}function $e(bt,Ut,Ln,ni){var _t=(0,ht.g1)(),yn=_t.width,Qt=_t.height,un=null;return bt<=yn&&Ut<=Qt?un={x:0,y:0}:(bt>yn||Ut>Qt)&&(un=(0,Ee.Z)((0,Ee.Z)({},We("x",Ln,bt,yn)),We("y",ni,Ut,Qt))),un}var st=oe(51346),ut=oe(23073),Mt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function nt(bt,Ut,Ln,ni){var _t=(0,se.useRef)(null),yn=(0,se.useRef)([]),Qt=(0,se.useState)(Mt),un=(0,Je.Z)(Qt,2),wn=un[0],gn=un[1],kn=function(Wn){gn(Mt),ni&&!(0,st.Z)(Mt,wn)&&ni({transform:Mt,action:Wn})},Bn=function(Wn,gi){_t.current===null&&(yn.current=[],_t.current=(0,ut.Z)(function(){gn(function(Fi){var ir=Fi;return yn.current.forEach(function(zi){ir=(0,Ee.Z)((0,Ee.Z)({},ir),zi)}),_t.current=null,ni==null||ni({transform:ir,action:gi}),ir})})),yn.current.push((0,Ee.Z)((0,Ee.Z)({},wn),Wn))},Vn=function(Wn,gi,Fi,ir){var zi=bt.current,tn=zi.width,Ai=zi.height,Bi=zi.offsetWidth,Ti=zi.offsetHeight,hr=zi.offsetLeft,tr=zi.offsetTop,br=Wn,Xi=wn.scale*Wn;Xi>Ln?(br=Ln/wn.scale,Xi=Ln):Xi1,Ko=lt&&zi>=1,Yr=nt(Do,hr,br,Go),yo=Yr.transform,Mr=Yr.resetTransform,mr=Yr.updateTransform,co=Yr.dispatchZoomChange,Uo=(0,se.useState)(!0),ao=(0,Je.Z)(Uo,2),ra=ao[0],gr=ao[1],Qi=yo.rotate,xr=yo.scale,fi=yo.x,bo=yo.y,ua=De()((0,et.Z)({},"".concat(Ln,"-moving"),_r));(0,se.useEffect)(function(){ra||gr(!0)},[ra]);var ca=function(){Mr("close")},oa=function(){co(Xt+Bi,"zoomIn")},Ra=function(){co(Xt/(Xt+Bi),"zoomOut")},ts=function(){mr({rotate:Qi+90},"rotateRight")},cs=function(){mr({rotate:Qi-90},"rotateLeft")},Qa=function(){mr({flipX:!yo.flipX},"flipX")},ks=function(){mr({flipY:!yo.flipY},"flipY")},Ds=function(Qr){Qr==null||Qr.preventDefault(),Qr==null||Qr.stopPropagation(),Fi>0&&(gr(!1),Mr("prev"),Dr==null||Dr(Fi-1,Fi))},jn=function(Qr){Qr==null||Qr.preventDefault(),Qr==null||Qr.stopPropagation(),Fi0&&(Po=Xt/Po),co(Po,"wheel",Qr.clientX,Qr.clientY)}},ma=function(Qr){!gn||!Rr||(Qr.keyCode===ke.Z.LEFT?Ds():Qr.keyCode===ke.Z.RIGHT&&jn())},ds=function(Qr){gn&&(xr!==1?mr({x:0,y:0,scale:1},"doubleClick"):co(Xt+Bi,"doubleClick",Qr.clientX,Qr.clientY))};(0,se.useEffect)(function(){var Xr,Qr,ns,so;if(un){ns=(0,Ne.Z)(window,"mouseup",gs,!1),so=(0,Ne.Z)(window,"mousemove",Kl,!1);try{window.top!==window.self&&(Xr=(0,Ne.Z)(window.top,"mouseup",gs,!1),Qr=(0,Ne.Z)(window.top,"mousemove",Kl,!1))}catch(Po){(0,Te.Kp)(!1,"[rc-image] ".concat(Po))}}return function(){var Po,Mo,$i,Ja;(Po=ns)===null||Po===void 0||Po.remove(),(Mo=so)===null||Mo===void 0||Mo.remove(),($i=Xr)===null||$i===void 0||$i.remove(),(Ja=Qr)===null||Ja===void 0||Ja.remove()}},[gn,_r,fi,bo,Qi,un]),(0,se.useEffect)(function(){var Xr=(0,Ne.Z)(window,"keydown",ma,!1);return function(){Xr.remove()}},[gn,Rr,Fi]);var aa=se.createElement(Ve,(0,Ke.Z)({},Fn,{width:Ut.width,height:Ut.height,imgRef:Do,className:"".concat(Ln,"-img"),alt:_t,style:{transform:"translate3d(".concat(yo.x,"px, ").concat(yo.y,"px, 0) scale3d(").concat(yo.flipX?"-":"").concat(xr,", ").concat(yo.flipY?"-":"").concat(xr,", 1) rotate(").concat(Qi,"deg)"),transitionDuration:!ra&&"0s"},fallback:yn,src:ni,onWheel:Oo,onMouseDown:Ql,onDoubleClick:ds}));return se.createElement(se.Fragment,null,se.createElement(Se.Z,(0,Ke.Z)({transitionName:Hi,maskTransitionName:Gt,closable:!1,keyboard:!0,prefixCls:Ln,onClose:wn,visible:gn,wrapClassName:ua,rootClassName:Vn,getContainer:Wn},po,{afterClose:ca}),se.createElement("div",{className:"".concat(Ln,"-img-wrapper")},Kr?Kr(aa,(0,Ee.Z)({transform:yo},lt?{current:Fi}:{})):aa)),se.createElement(zt,{visible:gn,transform:yo,maskTransitionName:Gt,closeIcon:Jn,getContainer:Wn,prefixCls:Ln,rootClassName:Vn,icons:Bn,countRender:tn,showSwitch:Rr,showProgress:Ko,current:Fi,count:zi,scale:xr,minScale:hr,maxScale:br,toolbarRender:kr,onSwitchLeft:Ds,onSwitchRight:jn,onZoomIn:oa,onZoomOut:Ra,onRotateRight:ts,onRotateLeft:cs,onFlipX:Qa,onFlipY:ks,onClose:wn}))},Bt=gt,sn=oe(26390);function It(bt){var Ut=se.useState({}),Ln=(0,Je.Z)(Ut,2),ni=Ln[0],_t=Ln[1],yn=se.useCallback(function(un,wn){return _t(function(gn){return(0,Ee.Z)((0,Ee.Z)({},gn),{},(0,et.Z)({},un,wn))}),function(){_t(function(gn){var kn=(0,Ee.Z)({},gn);return delete kn[un],kn})}},[]),Qt=se.useMemo(function(){return bt?bt.map(function(un){if(typeof un=="string")return{data:{src:un}};var wn={};return Object.keys(un).forEach(function(gn){["src"].concat((0,sn.Z)(ze)).includes(gn)&&(wn[gn]=un[gn])}),{data:wn}}):Object.keys(ni).reduce(function(un,wn){var gn=ni[wn],kn=gn.canPreview,Bn=gn.data;return kn&&un.push({data:Bn,id:wn}),un},[])},[bt,ni]);return[Qt,yn]}var en=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],En=["src"],ei=function(Ut){var Ln,ni=Ut.previewPrefixCls,_t=ni===void 0?"rc-image-preview":ni,yn=Ut.children,Qt=Ut.icons,un=Qt===void 0?{}:Qt,wn=Ut.items,gn=Ut.preview,kn=Ut.fallback,Bn=(0,Ye.Z)(gn)==="object"?gn:{},Vn=Bn.visible,Jn=Bn.onVisibleChange,Wn=Bn.getContainer,gi=Bn.current,Fi=Bn.movable,ir=Bn.minScale,zi=Bn.maxScale,tn=Bn.countRender,Ai=Bn.closeIcon,Bi=Bn.onChange,Ti=Bn.onTransform,hr=Bn.toolbarRender,tr=Bn.imageRender,br=(0,tt.Z)(Bn,en),Xi=It(wn),Hi=(0,Je.Z)(Xi,2),Ir=Hi[0],Gt=Hi[1],Kr=(0,kt.Z)(0,{value:gi}),Fn=(0,Je.Z)(Kr,2),kr=Fn[0],Go=Fn[1],Dr=(0,se.useState)(!1),po=(0,Je.Z)(Dr,2),Do=po[0],Ji=po[1],or=((Ln=Ir[kr])===null||Ln===void 0?void 0:Ln.data)||{},io=or.src,_r=(0,tt.Z)(or,En),Ii=(0,kt.Z)(!!Vn,{value:Vn,onChange:function(Qi,xr){Jn==null||Jn(Qi,xr,kr)}}),lt=(0,Je.Z)(Ii,2),Rr=lt[0],Ko=lt[1],Yr=(0,se.useState)(null),yo=(0,Je.Z)(Yr,2),Mr=yo[0],mr=yo[1],co=se.useCallback(function(gr,Qi,xr){var fi=Ir.findIndex(function(bo){return bo.id===gr});Ko(!0),mr({x:Qi,y:xr}),Go(fi<0?0:fi),Ji(!0)},[Ir]);se.useEffect(function(){Rr?Do||Go(0):Ji(!1)},[Rr]);var Uo=function(Qi,xr){Go(Qi),Bi==null||Bi(Qi,xr)},ao=function(){Ko(!1),mr(null)},ra=se.useMemo(function(){return{register:Gt,onPreview:co}},[Gt,co]);return se.createElement(ee.Provider,{value:ra},yn,se.createElement(Bt,(0,Ke.Z)({"aria-hidden":!Rr,movable:Fi,visible:Rr,prefixCls:_t,closeIcon:Ai,onClose:ao,mousePosition:Mr,imgCommonProps:_r,src:io,fallback:kn,icons:un,minScale:ir,maxScale:zi,getContainer:Wn,current:kr,count:Ir.length,countRender:tn,onTransform:Ti,toolbarRender:hr,imageRender:tr,onChange:Uo},br)))},An=ei,Kn=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],jt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Nn=function(Ut){var Ln=Ut.src,ni=Ut.alt,_t=Ut.onPreviewClose,yn=Ut.prefixCls,Qt=yn===void 0?"rc-image":yn,un=Ut.previewPrefixCls,wn=un===void 0?"".concat(Qt,"-preview"):un,gn=Ut.placeholder,kn=Ut.fallback,Bn=Ut.width,Vn=Ut.height,Jn=Ut.style,Wn=Ut.preview,gi=Wn===void 0?!0:Wn,Fi=Ut.className,ir=Ut.onClick,zi=Ut.onError,tn=Ut.wrapperClassName,Ai=Ut.wrapperStyle,Bi=Ut.rootClassName,Ti=(0,tt.Z)(Ut,Kn),hr=gn&&gn!==!0,tr=(0,Ye.Z)(gi)==="object"?gi:{},br=tr.src,Xi=tr.visible,Hi=Xi===void 0?void 0:Xi,Ir=tr.onVisibleChange,Gt=Ir===void 0?_t:Ir,Kr=tr.getContainer,Fn=Kr===void 0?void 0:Kr,kr=tr.mask,Go=tr.maskClassName,Dr=tr.movable,po=tr.icons,Do=tr.scaleStep,Ji=tr.minScale,or=tr.maxScale,io=tr.imageRender,_r=tr.toolbarRender,Ii=(0,tt.Z)(tr,jt),lt=br!=null?br:Ln,Rr=(0,kt.Z)(!!Hi,{value:Hi,onChange:Gt}),Ko=(0,Je.Z)(Rr,2),Yr=Ko[0],yo=Ko[1],Mr=me({src:Ln,isCustomPlaceholder:hr,fallback:kn}),mr=(0,Je.Z)(Mr,3),co=mr[0],Uo=mr[1],ao=mr[2],ra=(0,se.useState)(null),gr=(0,Je.Z)(ra,2),Qi=gr[0],xr=gr[1],fi=(0,se.useContext)(ee),bo=!!gi,ua=function(){yo(!1),xr(null)},ca=De()(Qt,tn,Bi,(0,et.Z)({},"".concat(Qt,"-error"),ao==="error")),oa=(0,se.useMemo)(function(){var Qa={};return ze.forEach(function(ks){Ut[ks]!==void 0&&(Qa[ks]=Ut[ks])}),Qa},ze.map(function(Qa){return Ut[Qa]})),Ra=(0,se.useMemo)(function(){return(0,Ee.Z)((0,Ee.Z)({},oa),{},{src:lt})},[lt,oa]),ts=ge(bo,Ra),cs=function(ks){var Ds=(0,ht.os)(ks.target),jn=Ds.left,gs=Ds.top;fi?fi.onPreview(ts,jn,gs):(xr({x:jn,y:gs}),yo(!0)),ir==null||ir(ks)};return se.createElement(se.Fragment,null,se.createElement("div",(0,Ke.Z)({},Ti,{className:ca,onClick:bo?cs:ir,style:(0,Ee.Z)({width:Bn,height:Vn},Ai)}),se.createElement("img",(0,Ke.Z)({},oa,{className:De()("".concat(Qt,"-img"),(0,et.Z)({},"".concat(Qt,"-img-placeholder"),gn===!0),Fi),style:(0,Ee.Z)({height:Vn},Jn),ref:co},Uo,{width:Bn,height:Vn,onError:zi})),ao==="loading"&&se.createElement("div",{"aria-hidden":"true",className:"".concat(Qt,"-placeholder")},gn),kr&&bo&&se.createElement("div",{className:De()("".concat(Qt,"-mask"),Go),style:{display:(Jn==null?void 0:Jn.display)==="none"?"none":void 0}},kr)),!fi&&bo&&se.createElement(Bt,(0,Ke.Z)({"aria-hidden":!Yr,visible:Yr,prefixCls:wn,onClose:ua,mousePosition:Qi,src:lt,alt:ni,fallback:kn,getContainer:Fn,icons:po,movable:Dr,scaleStep:Do,minScale:Ji,maxScale:or,rootClassName:Bi,imageRender:io,imgCommonProps:oa,toolbarRender:_r},Ii)))};Nn.PreviewGroup=An,Nn.displayName="Image";var Gn=Nn,ii=Gn,Sn=oe(62892),Yt=oe(36355),Zt=oe(31724),St=oe(72119),rt=oe(16537),Ft=oe(53878),Ot={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},ft=Ot,ct=oe(88853),Ge=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:ft}))},Ae=se.forwardRef(Ge),xe=Ae,je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Qe=je,Oe=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:Qe}))},xt=se.forwardRef(Oe),hn=xt,Pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},wt=Pn,nn=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:wt}))},Mn=se.forwardRef(nn),Zn=Mn,li={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},xi=li,Mi=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:xi}))},Si=se.forwardRef(Mi),Ri=Si,lr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},dr=lr,ur=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:dr}))},Sr=se.forwardRef(ur),Wr=Sr,Gi=oe(64993),Zr=oe(73819),Yi=oe(17313),Ue=oe(29878),no=oe(1950),pr=oe(83116),fo=oe(37613);const Fo=bt=>({position:bt||"absolute",inset:0}),Vo=bt=>{const{iconCls:Ut,motionDurationSlow:Ln,paddingXXS:ni,marginXXS:_t,prefixCls:yn,colorTextLightSolid:Qt}=bt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Qt,background:new Gi.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ln}`,[`.${yn}-mask-info`]:Object.assign(Object.assign({},Yi.vS),{padding:`0 ${ni}px`,[Ut]:{marginInlineEnd:_t,svg:{verticalAlign:"baseline"}}})}},Io=bt=>{const{previewCls:Ut,modalMaskBg:Ln,paddingSM:ni,marginXL:_t,margin:yn,paddingLG:Qt,previewOperationColorDisabled:un,previewOperationHoverColor:wn,motionDurationSlow:gn,iconCls:kn,colorTextLightSolid:Bn}=bt,Vn=new Gi.C(Ln).setAlpha(.1),Jn=Vn.clone().setAlpha(.2);return{[`${Ut}-footer`]:{position:"fixed",bottom:_t,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:bt.previewOperationColor},[`${Ut}-progress`]:{marginBottom:yn},[`${Ut}-close`]:{position:"fixed",top:_t,right:{_skip_check_:!0,value:_t},display:"flex",color:Bn,backgroundColor:Vn.toRgbString(),borderRadius:"50%",padding:ni,outline:0,border:0,cursor:"pointer",transition:`all ${gn}`,"&:hover":{backgroundColor:Jn.toRgbString()},[`& > ${kn}`]:{fontSize:bt.previewOperationSize}},[`${Ut}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Qt}px`,backgroundColor:Vn.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:ni,padding:ni,cursor:"pointer",transition:`all ${gn}`,userSelect:"none",[`&:not(${Ut}-operations-operation-disabled):hover > ${kn}`]:{color:wn},"&-disabled":{color:un,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${kn}`]:{fontSize:bt.previewOperationSize}}}}},Oi=bt=>{const{modalMaskBg:Ut,iconCls:Ln,previewOperationColorDisabled:ni,previewCls:_t,zIndexPopup:yn,motionDurationSlow:Qt}=bt,un=new Gi.C(Ut).setAlpha(.1),wn=un.clone().setAlpha(.2);return{[`${_t}-switch-left, ${_t}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:yn+1,display:"flex",alignItems:"center",justifyContent:"center",width:bt.imagePreviewSwitchSize,height:bt.imagePreviewSwitchSize,marginTop:-bt.imagePreviewSwitchSize/2,color:bt.previewOperationColor,background:un.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Qt}`,userSelect:"none","&:hover":{background:wn.toRgbString()},"&-disabled":{"&, &:hover":{color:ni,background:"transparent",cursor:"not-allowed",[`> ${Ln}`]:{cursor:"not-allowed"}}},[`> ${Ln}`]:{fontSize:bt.previewOperationSize}},[`${_t}-switch-left`]:{insetInlineStart:bt.marginSM},[`${_t}-switch-right`]:{insetInlineEnd:bt.marginSM}}},on=bt=>{const{motionEaseOut:Ut,previewCls:Ln,motionDurationSlow:ni,componentCls:_t}=bt;return[{[`${_t}-preview-root`]:{[Ln]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ln}-body`]:Object.assign(Object.assign({},Fo()),{overflow:"hidden"}),[`${Ln}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${ni} ${Ut} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Fo()),{transition:`transform ${ni} ${Ut} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ln}-moving`]:{[`${Ln}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${_t}-preview-root`]:{[`${Ln}-wrap`]:{zIndex:bt.zIndexPopup}}},{[`${_t}-preview-operations-wrapper`]:{position:"fixed",zIndex:bt.zIndexPopup+1},"&":[Io(bt),Oi(bt)]}]},ln=bt=>{const{componentCls:Ut}=bt;return{[Ut]:{position:"relative",display:"inline-block",[`${Ut}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Ut}-img-placeholder`]:{backgroundColor:bt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Ut}-mask`]:Object.assign({},Vo(bt)),[`${Ut}-mask:hover`]:{opacity:1},[`${Ut}-placeholder`]:Object.assign({},Fo())}}},qt=bt=>{const{previewCls:Ut}=bt;return{[`${Ut}-root`]:(0,Ue._y)(bt,"zoom"),"&":(0,no.J$)(bt,!0)}};var Nt=(0,pr.Z)("Image",bt=>{const Ut=`${bt.componentCls}-preview`,Ln=(0,fo.TS)(bt,{previewCls:Ut,modalMaskBg:new Gi.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:bt.controlHeightLG});return[ln(Ln),on(Ln),(0,Zr.QA)((0,fo.TS)(Ln,{componentCls:Ut})),qt(Ln)]},bt=>({zIndexPopup:bt.zIndexPopupBase+80,previewOperationColor:new Gi.C(bt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Gi.C(bt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Gi.C(bt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:bt.fontSizeIcon*1.5})),On=function(bt,Ut){var Ln={};for(var ni in bt)Object.prototype.hasOwnProperty.call(bt,ni)&&Ut.indexOf(ni)<0&&(Ln[ni]=bt[ni]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,ni=Object.getOwnPropertySymbols(bt);_t{var{previewPrefixCls:Ut,preview:Ln}=bt,ni=On(bt,["previewPrefixCls","preview"]);const{getPrefixCls:_t}=se.useContext(Yt.E_),yn=_t("image",Ut),Qt=`${yn}-preview`,un=_t(),[wn,gn]=Nt(yn),kn=se.useMemo(()=>{var Bn;if(Ln===!1)return Ln;const Vn=typeof Ln=="object"?Ln:{},Jn=De()(gn,(Bn=Vn.rootClassName)!==null&&Bn!==void 0?Bn:"");return Object.assign(Object.assign({},Vn),{transitionName:(0,Sn.m)(un,"zoom",Vn.transitionName),maskTransitionName:(0,Sn.m)(un,"fade",Vn.maskTransitionName),rootClassName:Jn})},[Ln]);return wn(se.createElement(ii.PreviewGroup,Object.assign({preview:kn,previewPrefixCls:Qt,icons:Un},ni)))},In=function(bt,Ut){var Ln={};for(var ni in bt)Object.prototype.hasOwnProperty.call(bt,ni)&&Ut.indexOf(ni)<0&&(Ln[ni]=bt[ni]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,ni=Object.getOwnPropertySymbols(bt);_t{const{prefixCls:Ut,preview:Ln,className:ni,rootClassName:_t,style:yn}=bt,Qt=In(bt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:un,locale:wn=Zt.Z,getPopupContainer:gn,image:kn}=se.useContext(Yt.E_),Bn=un("image",Ut),Vn=un(),Jn=wn.Image||Zt.Z.Image,[Wn,gi]=Nt(Bn),Fi=De()(_t,gi),ir=De()(ni,gi,kn==null?void 0:kn.className),zi=se.useMemo(()=>{if(Ln===!1)return Ln;const Ai=typeof Ln=="object"?Ln:{},{getContainer:Bi}=Ai,Ti=In(Ai,["getContainer"]);return Object.assign(Object.assign({mask:se.createElement("div",{className:`${Bn}-mask-info`},se.createElement(we.Z,null),Jn==null?void 0:Jn.preview),icons:Un},Ti),{getContainer:Bi||gn,transitionName:(0,Sn.m)(Vn,"zoom",Ai.transitionName),maskTransitionName:(0,Sn.m)(Vn,"fade",Ai.maskTransitionName)})},[Ln,Jn]),tn=Object.assign(Object.assign({},kn==null?void 0:kn.style),yn);return Wn(se.createElement(ii,Object.assign({prefixCls:Bn,preview:zi,rootClassName:Fi,className:ir,style:tn},Qt)))};zn.PreviewGroup=yt;var mi=zn,Rn=()=>{const[bt,Ut]=(0,se.useState)(""),[Ln,ni]=(0,se.useState)(0);let[_t,yn]=(0,se.useState)(),[Qt,un]=(0,se.useState)();const[wn,gn]=(0,se.useState)(!1),kn=(0,se.useRef)("");(0,se.useEffect)(()=>Ce.Z.subscribe("preview-image",Bi=>{Ut(Bi),console.log(zi.current),document.body.style.overflow="hidden"}),[]),(0,se.useEffect)(()=>(document.addEventListener("keydown",Bn),()=>{document.removeEventListener("keydown",Bn)}),[]),(0,se.useEffect)(()=>{kn.current=bt},[bt]);function Bn(Ai){Ai.keyCode==27&&kn.current&&Vn()}function Vn(){document.body.style.overflow="auto",yn(void 0),un(void 0),ni(0),Ut("")}function Jn(){ni(Ln+90)}function Wn(){_t=zi.current.width*1.1,Qt=zi.current.height*1.1,un(Qt),yn(_t)}function gi(){_t=zi.current.width/1.1,Qt=zi.current.height/1.1,un(Qt),yn(_t)}const Fi=(0,se.useRef)(),ir=(0,se.useRef)(),zi=(0,se.useRef)(),tn=Ai=>{(Ai.nativeEvent.target===Fi.current||Ai.nativeEvent.target===ir.current)&&Vn()};return se.createElement(se.Fragment,null,bt?se.createElement("div",null,se.createElement("div",{className:"preview-wrp-group",ref:ir},se.createElement(mi,{className:"image-preview",src:bt,style:{display:"none"},preview:{visible:!0,src:bt,movable:!1,onVisibleChange:Ai=>{Ut("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},36866:function(_e,be,oe){"use strict";oe.d(be,{h:function(){return Ne},Z:function(){return Se}});var se=oe(59301),Ce=oe(57809),we=oe(78241),Ie=oe(3113),De=oe(89780),Ke=oe.n(De),Ee=oe(79906),et=Object.defineProperty,Je=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,ze=(ke,Te,We)=>Te in ke?et(ke,Te,{enumerable:!0,configurable:!0,writable:!0,value:We}):ke[Te]=We,ee=(ke,Te)=>{for(var We in Te||(Te={}))ht.call(Te,We)&&ze(ke,We,Te[We]);if(tt)for(var We of tt(Te))kt.call(Te,We)&&ze(ke,We,Te[We]);return ke},ne=(ke,Te)=>Je(ke,Ye(Te));const ge=Ce.default.Option,ue={labelCol:{span:4},wrapperCol:{span:20}},me={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};var Se=({callback:ke,onCancel:Te})=>{const[We,$e]=(0,se.useState)("python");function st(Mt){$e(me[Mt][1])}function ut(Mt){ke(Mt)}return se.createElement(we.default,ne(ee({},ue),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ut,style:{width:500}}),se.createElement(we.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},se.createElement(Ce.default,{getPopupContainer:Mt=>Mt.parentNode,onChange:st},Object.keys(me).map(Mt=>se.createElement(ge,{key:Mt,value:Mt},me[Mt][0])))),se.createElement(we.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},se.createElement(Ne,{mode:We})),se.createElement("div",{className:"flex-container flex-end"},se.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(Ie.ZP,{type:"ghost",onClick:Te},"\u53D6\u6D88")))};function Ne({value:ke,onChange:Te,mode:We,options:$e={}}){const st=(0,se.useRef)(),[ut,Mt]=(0,se.useState)();return(0,se.useEffect)(()=>{if(ut){let nt=function($t){const Pt=$t.getValue();Te&&Te(Pt)};return ut.on("change",nt),()=>{ut.off("change",nt)}}},[ut,Te]),(0,se.useEffect)(()=>{ut&&ut.setOption("mode",We)},[ut,We]),(0,se.useEffect)(()=>{ut&&(ke!==ut.getValue()||ke==="")&&setTimeout(()=>{ut.setValue(ke||"")},300)},[ut,ke]),(0,se.useEffect)(()=>{if(st.current&&!ut){const nt=Ke().fromTextArea(st.current,ee({mode:We,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},$e));Mt(nt)}},[st.current,ut]),se.createElement("div",{className:"my-codemirror-container"},se.createElement("textarea",{ref:st}))}},23469:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Oi}});var se=oe(59301),Ce=oe(89780),we=oe.n(Ce),Ie=oe(76374),De=oe(79906),Ke=oe(6313),Ee=oe(25717),et=oe(99498),Je=oe(25419),Ye=oe(67549),tt=oe(25711),ht=({value:on="",className:ln,showTextOnly:qt,showLines:Nt,style:On={}})=>{const Un=(0,se.useMemo)(()=>"",[on]);return se.createElement(se.Fragment,null,se.createElement("div",{dangerouslySetInnerHTML:{__html:Un}}))},kt=oe(59301),ze=Object.defineProperty,ee=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Se=(on,ln,qt)=>ln in on?ze(on,ln,{enumerable:!0,configurable:!0,writable:!0,value:qt}):on[ln]=qt,Ne=(on,ln)=>{for(var qt in ln||(ln={}))ue.call(ln,qt)&&Se(on,qt,ln[qt]);if(ge)for(var qt of ge(ln))me.call(ln,qt)&&Se(on,qt,ln[qt]);return on},ke=(on,ln)=>ee(on,ne(ln));let Te=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function We({onActionCallback:on,title:ln,icon:qt,actionName:Nt,className:On="",children:Un}){function Vt(){on(Nt)}return kt.createElement("a",{title:ln,className:On,onClick:Vt},kt.createElement("i",{className:`${qt}`}),Un)}var $e=({watch:on,showNullButton:ln,showNullProgramButton:qt,onActionCallback:Nt,fullScreen:On,insertTemp:Un,hidetoolBar:Vt,extraUse:yt})=>{const In=[...Te,{title:`${on?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${on?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return kt.createElement("ul",{className:"markdown-toolbar-container"},!Vt&&In.map((zn,mi)=>kt.createElement("li",{key:mi},zn.actionName?kt.createElement(We,ke(Ne({},zn),{onActionCallback:Nt})):kt.createElement("span",{className:"v-line"}))),ln?kt.createElement("li",null,kt.createElement(We,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Nt},kt.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,qt?kt.createElement(kt.Fragment,null,kt.createElement("li",null,kt.createElement(We,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Nt},kt.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),kt.createElement("li",null,kt.createElement(We,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Nt},kt.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Un&&kt.createElement("li",null,kt.createElement(We,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Un}`,onActionCallback:Nt},kt.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),yt&&kt.createElement("li",null,yt),kt.createElement("li",{className:"btn-full-screen"},kt.createElement(We,{icon:`${On?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:On?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Nt})))},st=oe(50474),ut=oe(78241),Mt=oe(92832),nt=oe(3113),$t=Object.defineProperty,Pt=Object.defineProperties,dn=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,an=(on,ln,qt)=>ln in on?$t(on,ln,{enumerable:!0,configurable:!0,writable:!0,value:qt}):on[ln]=qt,it=(on,ln)=>{for(var qt in ln||(ln={}))Xt.call(ln,qt)&&an(on,qt,ln[qt]);if(zt)for(var qt of zt(ln))fn.call(ln,qt)&&an(on,qt,ln[qt]);return on},Ve=(on,ln)=>Pt(on,dn(ln));const gt={labelCol:{span:4},wrapperCol:{span:20}};var Bt=({callback:on,onCancel:ln})=>{function qt(Nt){on(Nt)}return se.createElement(ut.default,Ve(it({},gt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:qt,style:{width:500}}),se.createElement(ut.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},se.createElement(Mt.default,null)),se.createElement(ut.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},se.createElement(Mt.default,null)),se.createElement("div",{className:"flex-container flex-end"},se.createElement(nt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(nt.ZP,{type:"ghost",onClick:ln},"\u53D6\u6D88")))},sn=oe(36866),It=oe(56701),en=oe(43418),En=oe(95237),ei=oe(65983),An=oe(59301),Kn=({callback:on,onCancel:ln})=>{const qt=document.createElement("canvas"),Nt=qt.getContext("2d");qt.width=1e3,qt.height=800,Nt.fillStyle="#ffffff",Nt.fillRect(0,0,qt.width,qt.height);const On=qt.toDataURL("image/png");return An.createElement(en.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},An.createElement(En.Z,{style:{height:"100vh"}},An.createElement(ei.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:On,visible:!0,title:String(Date.now())},onOk:Un=>{on({src:Un.url})},onClose:ln})))},jt=oe(12378);function Nn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Nn,go.CommandHandler),Nn.prototype.canAlignSelection=function(){var on=this.diagram;return!(on===null||on.isReadOnly||on.isModelReadOnly||on.selection.count<2)},Nn.prototype.alignLeft=function(){var on=this.diagram;on.startTransaction("aligning left");var ln=1/0;on.selection.each(function(qt){qt instanceof go.Link||(ln=Math.min(qt.position.x,ln))}),on.selection.each(function(qt){qt instanceof go.Link||qt.move(new go.Point(ln,qt.position.y))}),on.commitTransaction("aligning left")},Nn.prototype.alignRight=function(){var on=this.diagram;on.startTransaction("aligning right");var ln=-1/0;on.selection.each(function(qt){if(!(qt instanceof go.Link)){var Nt=qt.actualBounds.x+qt.actualBounds.width;ln=Math.max(Nt,ln)}}),on.selection.each(function(qt){qt instanceof go.Link||qt.move(new go.Point(ln-qt.actualBounds.width,qt.position.y))}),on.commitTransaction("aligning right")},Nn.prototype.alignTop=function(){var on=this.diagram;on.startTransaction("alignTop");var ln=1/0;on.selection.each(function(qt){qt instanceof go.Link||(ln=Math.min(qt.position.y,ln))}),on.selection.each(function(qt){qt instanceof go.Link||qt.move(new go.Point(qt.position.x,ln))}),on.commitTransaction("alignTop")},Nn.prototype.alignBottom=function(){var on=this.diagram;on.startTransaction("aligning bottom");var ln=-1/0;on.selection.each(function(qt){if(!(qt instanceof go.Link)){var Nt=qt.actualBounds.y+qt.actualBounds.height;ln=Math.max(Nt,ln)}}),on.selection.each(function(qt){qt instanceof go.Link||qt.move(new go.Point(qt.actualBounds.x,ln-qt.actualBounds.height))}),on.commitTransaction("aligning bottom")},Nn.prototype.alignCenterX=function(){var on=this.diagram,ln=on.selection.first();if(ln){on.startTransaction("aligning Center X");var qt=ln.actualBounds.x+ln.actualBounds.width/2;on.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(qt-Nt.actualBounds.width/2,Nt.actualBounds.y))}),on.commitTransaction("aligning Center X")}},Nn.prototype.alignCenterY=function(){var on=this.diagram,ln=on.selection.first();if(ln){on.startTransaction("aligning Center Y");var qt=ln.actualBounds.y+ln.actualBounds.height/2;on.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(Nt.actualBounds.x,qt-Nt.actualBounds.height/2))}),on.commitTransaction("aligning Center Y")}},Nn.prototype.alignColumn=function(on){var ln=this.diagram;ln.startTransaction("align Column"),on===void 0&&(on=0),on=parseFloat(on);var qt=new Array;ln.selection.each(function(yt){yt instanceof go.Link||qt.push(yt)});for(var Nt=0;Nt0){for(var yt=Un.elt(Vt-1);yt!==null&&yt.isTreeExpanded&&!yt.isTreeLeaf;){var In=this._sortTreeChildrenByY(yt);yt=In.last()}yt!==null&&on.select(yt)}else on.select(On)}}else if(qt.key==="Down")if(ln.isTreeExpanded&&!ln.isTreeLeaf){var Nt=this._sortTreeChildrenByY(ln).first();Nt!==null&&on.select(Nt)}else for(;ln!==null;){var On=ln.findTreeParentNode();if(On===null)break;var Un=this._sortTreeChildrenByY(On),Vt=Un.indexOf(ln);if(VtUn.y?1:On.xUn.x?1:0}),ln},Nn.prototype.copyToClipboard=function(on){go.CommandHandler.prototype.copyToClipboard.call(this,on),this._lastPasteOffset.set(this.pasteOffset)},Nn.prototype.pasteFromClipboard=function(){var on=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(on,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),on},Object.defineProperty(Nn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(on){if(on!=="move"&&on!=="select"&&on!=="scroll"&&on!=="tree"&&on!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+on);this._arrowKeyBehavior=on}}),Object.defineProperty(Nn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(on){if(!(on instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+on);this._pasteOffset.set(on)}});var Gn=Nn,ii=oe(37404),Sn=oe(43604),Yt=oe(70635),Zt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},St=oe(59301),rt=(on,ln,qt)=>new Promise((Nt,On)=>{var Un=In=>{try{yt(qt.next(In))}catch(zn){On(zn)}},Vt=In=>{try{yt(qt.throw(In))}catch(zn){On(zn)}},yt=In=>In.done?Nt(In.value):Promise.resolve(In.value).then(Un,Vt);yt((qt=qt.apply(on,ln)).next())});function Ft({onCancel:on,callback:ln}){let qt=(0,se.useRef)(),Nt=(0,se.useRef)(),On=(0,se.useRef)(),Un=(0,se.useRef)(!1);const Vt=(0,se.useRef)(!1),[yt,In]=(0,se.useState)(0);function zn(){const Rn=jt.bx.make,bt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};qt.current=new jt.S0(Nt.current,{padding:20,grid:Rn(jt.s_,"Grid",Rn(jt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rn(jt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:tn=>{var Ai=tn.diagram.commandHandler.addTopLevelParts(tn.diagram.selection,!0);Ai||tn.diagram.currentTool.doCancel()},commandHandler:Rn(Gn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:tn=>{var Ai=tn.subject;Ai.location=Ai.location.copy().snapToGridPoint(tn.diagram.grid.gridOrigin,tn.diagram.grid.gridCellSize),setTimeout(()=>{tn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:tn=>{var Ai=tn.subject;setTimeout(()=>{tn.diagram.commandHandler.editTextBlock()})},LinkRelinked:tn=>{var Ai=tn.parameter.part;Ai.invalidateConnectedLinks();var Bi=tn.subject;tn.diagram.toolManager.linkingTool.isForwards?Bi.toNode.invalidateConnectedLinks():Bi.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),qt.current.nodeTemplate=Rn(jt.NB,"Auto",{locationSpot:jt.z6.Center,locationObjectName:"SHAPE",desiredSize:new jt.$u(120,60),minSize:new jt.$u(40,40),resizable:!0,resizeCellSize:new jt.$u(10,10),rotatable:!0},new jt.KX("location","loc",jt.E9.parse).makeTwoWay(jt.E9.stringify),new jt.KX("desiredSize","size",jt.$u.parse).makeTwoWay(jt.$u.stringify),Rn(jt.bn,{name:"SHAPE",fill:bt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:jt.z6.AllSides,toSpot:jt.z6.AllSides},new jt.KX("figure"),new jt.KX("fill"),new jt.KX("stroke","borderColor"),new jt.KX("strokeWidth","thickness"),new jt.KX("strokeDashArray","dash")),Rn(jt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Rn(jt.al,{margin:1,textAlign:"center",overflow:jt.al.OverflowEllipsis,editable:!0},new jt.KX("text").makeTwoWay(),new jt.KX("stroke","color"))),qt.current.nodeTemplate.toolTip=Rn("ToolTip",Rn(jt.s_,"Vertical",{maxSize:new jt.$u(200,NaN)},Rn(jt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new jt.KX("text")),Rn(jt.al,{font:"10pt sans-serif",textAlign:"center"},new jt.KX("text","details"))));function Ut(tn,Ai){var Bi=(Ti,hr)=>{Ti.handled=!0,Ti.diagram.model.commit(tr=>{var br=hr.part.adornedPart,Xi=new jt.E9().setRectSpot(br.actualBounds,tn);Xi.subtract(br.location),Xi.scale(2,2),Xi.x+=Math.sign(Xi.x)*130,Xi.y+=Math.sign(Xi.y)*130,Xi.add(br.location),Xi.snapToGridPoint(Ti.diagram.grid.gridOrigin,Ti.diagram.grid.gridCellSize);var Hi=tr.copyNodeData(br.data);tr.setGroupKeyForNodeData(Hi,tr.getGroupKeyForNodeData(br.data)),tr.addNodeData(Hi);var Ir={from:br.key,to:tr.getKeyForNodeData(Hi)};tr.addLinkData(Ir);var Gt=Ti.diagram.findNodeForData(Hi);Gt.location=Xi,Ti.diagram.select(Gt),setTimeout(()=>{Ti.diagram.commandHandler.editTextBlock()},20)})};return Rn(jt.bn,{figure:Ai,alignment:tn,alignmentFocus:tn.opposite(),width:tn.equals(jt.z6.Top)||tn.equals(jt.z6.Bottom)?25:18,height:tn.equals(jt.z6.Top)||tn.equals(jt.z6.Bottom)?18:25,fill:"orange",stroke:bt.white,strokeWidth:4,mouseEnter:(Ti,hr)=>hr.fill="dodgerblue",mouseLeave:(Ti,hr)=>hr.fill="orange",isActionable:!0,click:Bi,contextClick:Bi})}function Ln(tn){return Rn(jt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ai,Bi)=>Bi.fill="dodgerblue",mouseLeave:(Ai,Bi)=>Bi.fill="orange",click:(Ai,Bi)=>{Ai.diagram.commandHandler.showContextMenu(Bi.part.adornedPart)}},tn||{})}qt.current.nodeTemplate.selectionAdornmentTemplate=Rn(jt.uz,"Spot",Rn(jt.Vm,{padding:10}),Ut(jt.z6.Top,"TriangleUp"),Ut(jt.z6.Left,"TriangleLeft"),Ut(jt.z6.Right,"TriangleRight"),Ut(jt.z6.Bottom,"TriangleDown"),Ln({alignment:new jt.z6(.75,0)}));function ni(tn,Ai){return(Bi,Ti)=>{Bi.handled=!0,Bi.diagram.model.commit(hr=>{hr.set(Ti.part.adornedPart.data,tn,Ai)})}}function _t(tn,Ai){return Ai||(Ai="color"),Rn(jt.bn,{width:16,height:16,stroke:"lightgray",fill:tn,margin:1,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.stroke="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.stroke="lightgray",click:ni(Ai,tn),contextClick:ni(Ai,tn)})}function yn(){return[Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",_t(bt.white,"fill"),_t(bt.beige,"fill"),_t(bt.extralightblue,"fill"),_t(bt.extralightred,"fill"))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",_t(bt.lightgray,"fill"),_t(bt.lightgreen,"fill"),_t(bt.lightblue,"fill"),_t(bt.lightred,"fill")))]}function Qt(){return[Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",_t(bt.black),_t(bt.green),_t(bt.blue),_t(bt.red))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",_t(bt.white),_t(bt.magenta),_t(bt.purple),_t(bt.orange)))]}function un(tn,Ai){return Ai||(Ai="thickness"),Rn(jt.bn,"LineH",{width:16,height:16,strokeWidth:tn,margin:1,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.background="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.background="transparent",click:ni(Ai,tn),contextClick:ni(Ai,tn)})}function wn(tn,Ai){return Ai||(Ai="dash"),Rn(jt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:tn,margin:1,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.background="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.background="transparent",click:ni(Ai,tn),contextClick:ni(Ai,tn)})}function gn(){return[Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",un(1),un(2),un(3),un(4))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",wn(null),wn([2,4]),wn([4,4])))]}function kn(tn,Ai){return Ai||(Ai="figure"),Rn(jt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:tn,margin:1,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.fill="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.fill="lightgray",click:ni(Ai,tn),contextClick:ni(Ai,tn)})}qt.current.nodeTemplate.contextMenu=Rn("ContextMenu",Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",kn("Rectangle"),kn("RoundedRectangle"),kn("Ellipse"),kn("Diamond"))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",kn("Parallelogram2"),kn("ManualOperation"),kn("Procedure"),kn("Cylinder1"))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",kn("Terminator"),kn("CreateRequest"),kn("Document"),kn("TriangleDown"))),yn(),Qt(),gn()),qt.current.groupTemplate=Rn(jt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:jt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(tn,Ai)=>{var Bi=Ai.addMembers(Ai.diagram.selection,!0);Bi||Ai.diagram.currentTool.doCancel()},avoidable:!1},new jt.KX("location","loc",jt.E9.parse).makeTwoWay(jt.E9.stringify),Rn(jt.s_,"Auto",{name:"BODY"},Rn(jt.bn,{parameter1:10,fill:bt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:jt.z6.AllSides,toSpot:jt.z6.AllSides},new jt.KX("fill"),new jt.KX("stroke","color"),new jt.KX("strokeWidth","thickness"),new jt.KX("strokeDashArray","dash")),Rn(jt.Vm,{background:"transparent",margin:20})),Rn(jt.al,{alignment:jt.z6.Top,alignmentFocus:jt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new jt.KX("text"),new jt.KX("stroke","color"))),qt.current.groupTemplate.selectionAdornmentTemplate=Rn(jt.uz,"Spot",Rn(jt.s_,"Auto",Rn(jt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Rn(jt.Vm,{margin:1.5})),Ln({alignment:jt.z6.TopRight,alignmentFocus:jt.z6.BottomRight})),qt.current.groupTemplate.contextMenu=Rn("ContextMenu",yn(),Qt(),gn()),qt.current.linkTemplate=Rn(jt.rU,{layerName:"Foreground",routing:jt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new jt.KX("fromSpot","fromSpot",jt.z6.parse),new jt.KX("toSpot","toSpot",jt.z6.parse),new jt.KX("fromShortLength","dir",tn=>tn>=1?10:0),new jt.KX("toShortLength","dir",tn=>tn>=1?10:0),new jt.KX("points").makeTwoWay(),Rn(jt.bn,{strokeWidth:2},new jt.KX("stroke","color"),new jt.KX("strokeWidth","thickness"),new jt.KX("strokeDashArray","dash")),Rn(jt.bn,{segmentIndex:0,segmentOffset:new jt.E9(15,0),segmentOrientation:jt.rU.OrientAlong,alignmentFocus:jt.z6.Right,figure:"circle",width:10,strokeWidth:0},new jt.KX("fill","color"),new jt.KX("visible","dir",tn=>tn===1)),Rn(jt.bn,{segmentIndex:-1,segmentOffset:new jt.E9(-10,6),segmentOrientation:jt.rU.OrientPlus90,alignmentFocus:jt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new jt.KX("fill","color"),new jt.KX("visible","dir",tn=>tn>=1),new jt.KX("width","thickness",tn=>7+3*tn),new jt.KX("height","thickness",tn=>7+3*tn),new jt.KX("segmentOffset","thickness",tn=>new jt.E9(-15,4+1.5*tn))),Rn(jt.bn,{segmentIndex:0,segmentOffset:new jt.E9(15,-6),segmentOrientation:jt.rU.OrientMinus90,alignmentFocus:jt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new jt.KX("fill","color"),new jt.KX("visible","dir",tn=>tn===2),new jt.KX("width","thickness",tn=>7+3*tn),new jt.KX("height","thickness",tn=>7+3*tn),new jt.KX("segmentOffset","thickness",tn=>new jt.E9(-15,4+1.5*tn))),Rn(jt.al,{alignmentFocus:new jt.z6(0,1,-4,0),editable:!0},new jt.KX("text").makeTwoWay(),new jt.KX("stroke","color"))),qt.current.linkTemplate.selectionAdornmentTemplate=Rn(jt.uz,Rn(jt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Bn(2)},new jt.KX("pathPattern","thickness",Bn)),Ln({alignmentFocus:new jt.z6(0,0,-6,-4)}));function Bn(tn){return Rn(jt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(tn+4).toString()+" H3"})}function Vn(tn){var Ai="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return tn===0?Ai="M0 0 M16 16 M0 8 L16 8":tn===2&&(Ai="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Rn(jt.bn,{geometryString:Ai,margin:2,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.background="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.background="transparent",click:ni("dir",tn),contextClick:ni("dir",tn)})}function Jn(tn){var Ai=(Bi,Ti)=>{Bi.handled=!0,Bi.diagram.model.commit(hr=>{var tr=Ti.part.adornedPart;hr.set(tr.data,tn?"toSpot":"fromSpot",jt.z6.stringify(jt.z6.AllSides)),(tn?tr.toNode:tr.fromNode).invalidateConnectedLinks()})};return Rn(jt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Bi,Ti)=>Ti.background="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.background="transparent",click:Ai,contextClick:Ai})}function Wn(tn,Ai){var Bi=0,Ti=jt.z6.RightSide;tn.equals(jt.z6.Top)?(Bi=270,Ti=jt.z6.TopSide):tn.equals(jt.z6.Left)?(Bi=180,Ti=jt.z6.LeftSide):tn.equals(jt.z6.Bottom)&&(Bi=90,Ti=jt.z6.BottomSide),Ai||(Bi-=180);var hr=(tr,br)=>{tr.handled=!0,tr.diagram.model.commit(Xi=>{var Hi=br.part.adornedPart;Xi.set(Hi.data,Ai?"toSpot":"fromSpot",jt.z6.stringify(Ti)),(Ai?Hi.toNode:Hi.fromNode).invalidateConnectedLinks()})};return Rn(jt.bn,{alignment:tn,alignmentFocus:tn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Bi,background:"transparent",mouseEnter:(tr,br)=>br.background="dodgerblue",mouseLeave:(tr,br)=>br.background="transparent",click:hr,contextClick:hr})}qt.current.linkTemplate.contextMenu=Rn("ContextMenu",Qt(),gn(),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",Vn(0),Vn(1),Vn(2))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",Rn(jt.s_,"Spot",Jn(!1),Wn(jt.z6.Top,!1),Wn(jt.z6.Left,!1),Wn(jt.z6.Right,!1),Wn(jt.z6.Bottom,!1)),Rn(jt.s_,"Spot",{margin:new jt.Zt(0,0,0,2)},Jn(!0),Wn(jt.z6.Top,!0),Wn(jt.z6.Left,!0),Wn(jt.z6.Right,!0),Wn(jt.z6.Bottom,!0)))));const gi=`{ "class": "GraphLinksModel", +`)}catch(je){}if(zt){let je=-1;return Bt=Bt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Qe,Oe,xt){var hn;return++je,Nn(Qe,je,(hn=an==null?void 0:an[je])==null?void 0:hn.value.replaceAll("<","<").replaceAll(">",">"))}),`
${ii(Bt||"")}
`}let Ge=ii(Bt);Ge=(0,we.ZP)(Ge);const Ae=(0,we.ez)();Bt.match(/\[TOC\]/)&&(Ge=Ge.replace("

[TOC]

",(0,we.Qv)()),(0,we.Iy)()),Ge=Ge.replace(/(__special_katext_id_\d+__)/g,(je,Qe)=>{const{type:Oe,expression:xt}=Ae[Qe];return(0,et.renderToString)(Te(xt)||"",{displayMode:Oe==="block",throwOnError:!1,output:"html"})}),Ge=Ge.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,we.AL)();const xe=document.createElement("div");if(xe.innerHTML=Ge,Mt)return xe.innerText;if(dn){const je=dn.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return rt(xe,je),xe.innerHTML}return setTimeout(()=>ft(),500),xe.innerHTML},[Bt,dn]);(0,se.useEffect)(()=>{Ft.current&&Ft.current.querySelectorAll(["input","textarea"]).forEach(Ae=>{Ae.oninput=Yt,Ae.onblur=Zt,Ae.onfocus=St})},[ei]),(0,se.useEffect)(()=>{var Ge,Ae,xe,je,Qe;if(an!=null&&an.length)try{const Oe=Ft.current.querySelectorAll(".edu-program-fill-score"),xt=Ft.current.querySelectorAll('[name="edu-program-fill"]');for(const[hn,Pn]of xt.entries())Pn.value=((Ge=an==null?void 0:an[hn])==null?void 0:Ge.value)||"",((Ae=an==null?void 0:an[hn])==null?void 0:Ae.type)==="warning"?Pn.className="program-fill-warning":((xe=an==null?void 0:an[hn])==null?void 0:xe.type)==="success"?Pn.className="program-fill-success":Pn.className="";for(const[hn,Pn]of Oe.entries())Pn.innerHTML=(je=an==null?void 0:an[hn])!=null&&je.score?`${(Qe=an==null?void 0:an[hn])==null?void 0:Qe.score}\u5206`:"";An(an)}catch(Oe){console.log(Oe,"error")}},[an]);const Yt=Ge=>{ei[Ge.target.dataset.id]=ei[Ge.target.dataset.id]||{},ei[Ge.target.dataset.id].value=Ge.target.value,An([...ei]),it(ei,Ge.target.dataset.id)},Zt=Ge=>{ei[Ge.target.dataset.id]=ei[Ge.target.dataset.id]||{},ei[Ge.target.dataset.id].value=Ge.target.value,An([...ei]),Ve(ei,Ge.target.dataset.id)},St=Ge=>{ei[Ge.target.dataset.id]=ei[Ge.target.dataset.id]||{},ei[Ge.target.dataset.id].value=Ge.target.value,An([...ei]),gt(ei,Ge.target.dataset.id)};function rt(Ge,Ae){return Ge.childNodes.forEach(xe=>{var je;if(xe.childNodes.length>0)rt(xe,Ae);else if(xe.nodeName!=="IMG")if(xe.innerHTML)xe.innerHTML=(je=xe.innerHTML)==null?void 0:je.replace(new RegExp(Ae,"gi"),'$&');else{const Qe=document.createElement("span");Qe.innerHTML=xe.textContent.replace(new RegExp(Ae,"gi"),'$&'),xe.replaceWith(Qe)}})}const Ft=(0,se.useRef)();we.jb.WebkitLineClamp=nt,nt&&($t=me(me({},$t),we.jb));function Ot(Ge){let Ae=Ge.target;if(Ae.tagName.toUpperCase()==="A"){let xe=Ae.getAttribute("href");if(xe.indexOf("office")>-1)Ge.preventDefault(),It(xe),En("office");else if(xe.indexOf("application/pdf")>-1)Ge.preventDefault(),It(xe),En("pdf");else if(xe.indexOf("text/html")>-1)Ge.preventDefault(),It(xe),En("html");else if(xe.startsWith("#")){Ge.preventDefault();let je=document.getElementById(xe.replace("#",""));je&&je.scrollIntoView(!0)}}}const ft=()=>{var Ge;const Ae=(Ge=Ft.current)==null?void 0:Ge.querySelectorAll("video");Ae==null||Ae.forEach(xe=>{if(xe.oncontextmenu=()=>!1,xe.src.indexOf(".m3u8")>-1&&!xe.canPlayType("application/vnd.apple.mpegurl")){if(De.ZP.isSupported()){var je=new De.ZP;je.loadSource(xe.src),je.attachMedia(xe)}}})};(0,se.useEffect)(()=>{if(Ft.current&&Sn&&Sn.match(ke)&&window.PR.prettyPrint(),Ft.current)return Ft.current.addEventListener("click",Ot),()=>{var Ge;(Ge=Ft.current)==null||Ge.removeEventListener("click",Ot),(0,we.AL)(),(0,we.Iy)()}},[Sn,Ft.current,Ot]),(0,se.useEffect)(()=>{var Ge;const Ae=xe=>{xe.preventDefault(),xe.clipboardData.setData("text",window.getSelection().toString())};return(Ge=Ft.current)==null||Ge.addEventListener("copy",Ae),()=>{var xe;(xe=Ft.current)==null||xe.removeEventListener("copy",Ae)}},[Ft.current]);const ct=Ge=>//i.test(Ge||"");return se.createElement(se.Fragment,null,Mt&&se.createElement("div",{ref:Ft},Sn),!Mt&&!ct(Sn)&&se.createElement("div",{ref:Ft,style:me({},$t),className:`${ut||""} ${fn?"disabled-fill":""} markdown-body ${Kn.current}`,dangerouslySetInnerHTML:{__html:Sn}}),!Mt&&ct(Sn)&&se.createElement(kt,{html:Sn}),se.createElement(Ye.Z,{close:!0,data:sn,type:sn!=null&&sn.length?en:"",style:me({},Pt),onClose:()=>It("")}))}},93461:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return $t}});var se=oe(59301),Ce=oe(42203),we=oe(43418),Ie=oe(78241),De=oe(8591),Ke=oe(71418),Ee=oe(86914),et=oe(95237),Je=oe(43604),Ye=oe(6848),tt=oe(92832),ht={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},kt=oe(35427),ze=oe(3129),ee=oe(97267),ne=oe(94606),ge=Object.defineProperty,ue=Object.defineProperties,me=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Te=(Pt,dn,zt)=>dn in Pt?ge(Pt,dn,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Pt[dn]=zt,We=(Pt,dn)=>{for(var zt in dn||(dn={}))Ne.call(dn,zt)&&Te(Pt,zt,dn[zt]);if(Se)for(var zt of Se(dn))ke.call(dn,zt)&&Te(Pt,zt,dn[zt]);return Pt},$e=(Pt,dn)=>ue(Pt,me(dn)),st=(Pt,dn)=>{var zt={};for(var Xt in Pt)Ne.call(Pt,Xt)&&dn.indexOf(Xt)<0&&(zt[Xt]=Pt[Xt]);if(Pt!=null&&Se)for(var Xt of Se(Pt))dn.indexOf(Xt)<0&&ke.call(Pt,Xt)&&(zt[Xt]=Pt[Xt]);return zt},ut=(Pt,dn,zt)=>new Promise((Xt,fn)=>{var an=gt=>{try{Ve(zt.next(gt))}catch(Bt){fn(Bt)}},it=gt=>{try{Ve(zt.throw(gt))}catch(Bt){fn(Bt)}},Ve=gt=>gt.done?Xt(gt.value):Promise.resolve(gt.value).then(an,it);Ve((zt=zt.apply(Pt,dn)).next())});const Mt=(Pt=[])=>Pt==null?void 0:Pt.map(dn=>$e(We({},dn),{title:(dn==null?void 0:dn.value)||"",key:dn==null?void 0:dn.id,isLeaf:!0})),nt=Pt=>{var dn=Pt,{user:zt,children:Xt,isShowComponent:fn=!0,ModalProps:an={},onDataSelect:it}=dn,Ve=st(dn,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[gt,Bt]=we.default.useModal(),[sn]=Ie.default.useForm(),[It,en]=(0,se.useState)([]),[En,ei]=(0,se.useState)(!1),[An,Kn]=(0,se.useState)(!1),[,jt,Nn,Gn]=(0,kt.U)(ze.qE,{page:1,limit:9999}),[,,ii]=(0,kt.U)(ze.V8,{}),[,,Sn]=(0,kt.U)(ze.B$,{}),[,,Yt]=(0,kt.U)(ze.DH,{}),[,,Zt]=(0,kt.U)(ze.bJ,{}),St=()=>{ei(!1),sn.resetFields(),Kn(!1)},rt=Ot=>ut(void 0,null,function*(){const{node:ft,dragNode:ct,event:Ge}=Ot,Ae=Ot.node.pos.split("-"),xe=Ot.dropPosition-Number(Ae[Ae.length-1]);if(xe==0){De.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(xe==1&&(ct==null?void 0:ct.item_index)==(ft==null?void 0:ft.item_index)+1){De.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const je=yield Zt({id:ct==null?void 0:ct.key,position:xe==-1?1:(ct==null?void 0:ct.item_index)>(ft==null?void 0:ft.item_index)?(ft==null?void 0:ft.item_index)+1:ft==null?void 0:ft.item_index});(je==null?void 0:je.status)===0&&(De.ZP.success("\u79FB\u52A8\u6210\u529F"),Nn({},!0))}),Ft=Ot=>ut(void 0,null,function*(){let ft={};An?ft=yield Sn(We({},Ot)):ft=yield Yt(We({},Ot)),(ft==null?void 0:ft.status)==0&&(De.ZP.success((ft==null?void 0:ft.message)||(An?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Nn({},!0),St())});return(0,se.useEffect)(()=>{an!=null&&an.open&&Nn({},!0)},[an==null?void 0:an.open]),(0,se.useEffect)(()=>{var Ot;en(Mt((Ot=Gn==null?void 0:Gn.data)==null?void 0:Ot.list))},[Gn]),fn?se.createElement(se.Fragment,null,Bt,Xt,se.createElement(we.default,We({},We({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},an)),se.createElement(Ke.Z,{spinning:jt},(It==null?void 0:It.length)>0?se.createElement(se.Fragment,null,se.createElement(Ee.default.DirectoryTree,{height:500,className:ht.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:it,treeData:It,onDrop:rt,titleRender:Ot=>se.createElement(se.Fragment,null,se.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Ot==null?void 0:Ot.title),se.createElement("div",{className:`${ht.EditDom}`},se.createElement(et.Z,{wrap:!1,align:"middle",gutter:16},se.createElement(Je.Z,null,se.createElement(Ye.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},se.createElement("i",{className:`iconfont icon-tuodong1 font12 ${ht.currentPrimary}`}))),se.createElement(Je.Z,null,se.createElement(Ye.Z,{title:"\u7F16\u8F91"},se.createElement("i",{className:`iconfont icon-bianji11 font12 ${ht.currentPrimary}`,onClick:ft=>{ft.stopPropagation(),sn.setFieldsValue(We({},Ot)),ei(!0)}}))),se.createElement(Je.Z,null,se.createElement(Ye.Z,{title:"\u5220\u9664"},se.createElement("i",{className:`iconfont icon-shanchu14 font12 ${ht.currentDelete}`,onClick:ft=>{ft.stopPropagation(),gt.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>ut(void 0,null,function*(){const ct=yield ii({id:Ot==null?void 0:Ot.key});(ct==null?void 0:ct.status)==0&&(De.ZP.success((ct==null?void 0:ct.message)||"\u5220\u9664\u6210\u529F"),Nn({},!0))})})}}))))))}),se.createElement(ne.op,{className:"ml20 mt20",icon:se.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Kn(!0),ei(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):se.createElement(ee.Z,{styles:{margin:"30px auto"},customText:se.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",se.createElement("a",{onClick:()=>{Kn(!0),ei(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),se.createElement(we.default,{title:An?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:En,okText:An?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{St()},onOk:()=>{sn.submit()}},se.createElement(Ie.default,{form:sn,onFinish:Ft},An&&se.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),se.createElement(Ie.default.Item,{hidden:!0,name:"id"}),se.createElement(Ie.default.Item,{className:"mt10",name:"value"},se.createElement(tt.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var $t=(0,Ce.connect)(({loading:Pt,user:dn})=>({user:dn,loading:Pt.effects}))(nt)},2307:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Rn}});var se=oe(59301),Ce=oe(86766),we=oe(30631),Ie=oe(92310),De=oe.n(Ie),Ke=oe(5891),Ee=oe(57259),et=oe(80962),Je=oe(29043),Ye=oe(80665),tt=oe(19149),ht=oe(21783),kt=oe(35788),ze=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],ee=se.createContext(null),ne=0;function ge(bt,Ut){var Ln=se.useState(function(){return ne+=1,String(ne)}),ni=(0,Je.Z)(Ln,1),Gt=ni[0],yn=se.useContext(ee),Qt={data:Ut,canPreview:bt};return se.useEffect(function(){if(yn)return yn.register(Gt,Qt)},[]),se.useEffect(function(){yn&&yn.register(Gt,Qt)},[bt,Ut]),Gt}function ue(bt){return new Promise(function(Ut){var Ln=document.createElement("img");Ln.onerror=function(){return Ut(!1)},Ln.onload=function(){return Ut(!0)},Ln.src=bt})}function me(bt){var Ut=bt.src,Ln=bt.isCustomPlaceholder,ni=bt.fallback,Gt=(0,se.useState)(Ln?"loading":"normal"),yn=(0,Je.Z)(Gt,2),Qt=yn[0],un=yn[1],wn=(0,se.useRef)(!1),gn=Qt==="error";(0,se.useEffect)(function(){ue(Ut).then(function(Jn){Jn||un("error")})},[Ut]),(0,se.useEffect)(function(){Ln&&!wn.current?un("loading"):gn&&un("normal")},[Ut]);var kn=function(){un("normal")},Bn=function(Wn){wn.current=!1,Qt==="loading"&&Wn!=null&&Wn.complete&&(Wn.naturalWidth||Wn.naturalHeight)&&(wn.current=!0,kn())},Vn=gn&&ni?{src:ni}:{onLoad:kn,src:Ut};return[Bn,Vn,Qt]}var Se=oe(86923),Ne=oe(8178),ke=oe(85108),Te=oe(51395);function We(bt,Ut,Ln,ni){var Gt=Ut+Ln,yn=(Ln-ni)/2;if(Ln>ni){if(Ut>0)return(0,et.Z)({},bt,yn);if(Ut<0&&Gtni)return(0,et.Z)({},bt,Ut<0?yn:-yn);return{}}function $e(bt,Ut,Ln,ni){var Gt=(0,ht.g1)(),yn=Gt.width,Qt=Gt.height,un=null;return bt<=yn&&Ut<=Qt?un={x:0,y:0}:(bt>yn||Ut>Qt)&&(un=(0,Ee.Z)((0,Ee.Z)({},We("x",Ln,bt,yn)),We("y",ni,Ut,Qt))),un}var st=oe(51346),ut=oe(23073),Mt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function nt(bt,Ut,Ln,ni){var Gt=(0,se.useRef)(null),yn=(0,se.useRef)([]),Qt=(0,se.useState)(Mt),un=(0,Je.Z)(Qt,2),wn=un[0],gn=un[1],kn=function(Wn){gn(Mt),ni&&!(0,st.Z)(Mt,wn)&&ni({transform:Mt,action:Wn})},Bn=function(Wn,gi){Gt.current===null&&(yn.current=[],Gt.current=(0,ut.Z)(function(){gn(function(Fi){var ir=Fi;return yn.current.forEach(function(zi){ir=(0,Ee.Z)((0,Ee.Z)({},ir),zi)}),Gt.current=null,ni==null||ni({transform:ir,action:gi}),ir})})),yn.current.push((0,Ee.Z)((0,Ee.Z)({},wn),Wn))},Vn=function(Wn,gi,Fi,ir){var zi=bt.current,tn=zi.width,Ai=zi.height,Bi=zi.offsetWidth,Ti=zi.offsetHeight,hr=zi.offsetLeft,tr=zi.offsetTop,br=Wn,Xi=wn.scale*Wn;Xi>Ln?(br=Ln/wn.scale,Xi=Ln):Xi1,Ko=lt&&zi>=1,Yr=nt(Do,hr,br,Go),yo=Yr.transform,Mr=Yr.resetTransform,mr=Yr.updateTransform,co=Yr.dispatchZoomChange,Uo=(0,se.useState)(!0),ao=(0,Je.Z)(Uo,2),ra=ao[0],gr=ao[1],Qi=yo.rotate,xr=yo.scale,fi=yo.x,bo=yo.y,ua=De()((0,et.Z)({},"".concat(Ln,"-moving"),Gr));(0,se.useEffect)(function(){ra||gr(!0)},[ra]);var ca=function(){Mr("close")},oa=function(){co(Xt+Bi,"zoomIn")},Ra=function(){co(Xt/(Xt+Bi),"zoomOut")},ts=function(){mr({rotate:Qi+90},"rotateRight")},ds=function(){mr({rotate:Qi-90},"rotateLeft")},Qa=function(){mr({flipX:!yo.flipX},"flipX")},ks=function(){mr({flipY:!yo.flipY},"flipY")},Ds=function(Qr){Qr==null||Qr.preventDefault(),Qr==null||Qr.stopPropagation(),Fi>0&&(gr(!1),Mr("prev"),Dr==null||Dr(Fi-1,Fi))},jn=function(Qr){Qr==null||Qr.preventDefault(),Qr==null||Qr.stopPropagation(),Fi0&&(Po=Xt/Po),co(Po,"wheel",Qr.clientX,Qr.clientY)}},ma=function(Qr){!gn||!Rr||(Qr.keyCode===ke.Z.LEFT?Ds():Qr.keyCode===ke.Z.RIGHT&&jn())},hs=function(Qr){gn&&(xr!==1?mr({x:0,y:0,scale:1},"doubleClick"):co(Xt+Bi,"doubleClick",Qr.clientX,Qr.clientY))};(0,se.useEffect)(function(){var Xr,Qr,ns,so;if(un){ns=(0,Ne.Z)(window,"mouseup",gs,!1),so=(0,Ne.Z)(window,"mousemove",Kl,!1);try{window.top!==window.self&&(Xr=(0,Ne.Z)(window.top,"mouseup",gs,!1),Qr=(0,Ne.Z)(window.top,"mousemove",Kl,!1))}catch(Po){(0,Te.Kp)(!1,"[rc-image] ".concat(Po))}}return function(){var Po,Mo,$i,Ja;(Po=ns)===null||Po===void 0||Po.remove(),(Mo=so)===null||Mo===void 0||Mo.remove(),($i=Xr)===null||$i===void 0||$i.remove(),(Ja=Qr)===null||Ja===void 0||Ja.remove()}},[gn,Gr,fi,bo,Qi,un]),(0,se.useEffect)(function(){var Xr=(0,Ne.Z)(window,"keydown",ma,!1);return function(){Xr.remove()}},[gn,Rr,Fi]);var aa=se.createElement(Ve,(0,Ke.Z)({},Fn,{width:Ut.width,height:Ut.height,imgRef:Do,className:"".concat(Ln,"-img"),alt:Gt,style:{transform:"translate3d(".concat(yo.x,"px, ").concat(yo.y,"px, 0) scale3d(").concat(yo.flipX?"-":"").concat(xr,", ").concat(yo.flipY?"-":"").concat(xr,", 1) rotate(").concat(Qi,"deg)"),transitionDuration:!ra&&"0s"},fallback:yn,src:ni,onWheel:Oo,onMouseDown:Ql,onDoubleClick:hs}));return se.createElement(se.Fragment,null,se.createElement(Se.Z,(0,Ke.Z)({transitionName:Hi,maskTransitionName:Ht,closable:!1,keyboard:!0,prefixCls:Ln,onClose:wn,visible:gn,wrapClassName:ua,rootClassName:Vn,getContainer:Wn},po,{afterClose:ca}),se.createElement("div",{className:"".concat(Ln,"-img-wrapper")},Kr?Kr(aa,(0,Ee.Z)({transform:yo},lt?{current:Fi}:{})):aa)),se.createElement(zt,{visible:gn,transform:yo,maskTransitionName:Ht,closeIcon:Jn,getContainer:Wn,prefixCls:Ln,rootClassName:Vn,icons:Bn,countRender:tn,showSwitch:Rr,showProgress:Ko,current:Fi,count:zi,scale:xr,minScale:hr,maxScale:br,toolbarRender:kr,onSwitchLeft:Ds,onSwitchRight:jn,onZoomIn:oa,onZoomOut:Ra,onRotateRight:ts,onRotateLeft:ds,onFlipX:Qa,onFlipY:ks,onClose:wn}))},Bt=gt,sn=oe(26390);function It(bt){var Ut=se.useState({}),Ln=(0,Je.Z)(Ut,2),ni=Ln[0],Gt=Ln[1],yn=se.useCallback(function(un,wn){return Gt(function(gn){return(0,Ee.Z)((0,Ee.Z)({},gn),{},(0,et.Z)({},un,wn))}),function(){Gt(function(gn){var kn=(0,Ee.Z)({},gn);return delete kn[un],kn})}},[]),Qt=se.useMemo(function(){return bt?bt.map(function(un){if(typeof un=="string")return{data:{src:un}};var wn={};return Object.keys(un).forEach(function(gn){["src"].concat((0,sn.Z)(ze)).includes(gn)&&(wn[gn]=un[gn])}),{data:wn}}):Object.keys(ni).reduce(function(un,wn){var gn=ni[wn],kn=gn.canPreview,Bn=gn.data;return kn&&un.push({data:Bn,id:wn}),un},[])},[bt,ni]);return[Qt,yn]}var en=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],En=["src"],ei=function(Ut){var Ln,ni=Ut.previewPrefixCls,Gt=ni===void 0?"rc-image-preview":ni,yn=Ut.children,Qt=Ut.icons,un=Qt===void 0?{}:Qt,wn=Ut.items,gn=Ut.preview,kn=Ut.fallback,Bn=(0,Ye.Z)(gn)==="object"?gn:{},Vn=Bn.visible,Jn=Bn.onVisibleChange,Wn=Bn.getContainer,gi=Bn.current,Fi=Bn.movable,ir=Bn.minScale,zi=Bn.maxScale,tn=Bn.countRender,Ai=Bn.closeIcon,Bi=Bn.onChange,Ti=Bn.onTransform,hr=Bn.toolbarRender,tr=Bn.imageRender,br=(0,tt.Z)(Bn,en),Xi=It(wn),Hi=(0,Je.Z)(Xi,2),Ir=Hi[0],Ht=Hi[1],Kr=(0,kt.Z)(0,{value:gi}),Fn=(0,Je.Z)(Kr,2),kr=Fn[0],Go=Fn[1],Dr=(0,se.useState)(!1),po=(0,Je.Z)(Dr,2),Do=po[0],Ji=po[1],or=((Ln=Ir[kr])===null||Ln===void 0?void 0:Ln.data)||{},io=or.src,Gr=(0,tt.Z)(or,En),Ii=(0,kt.Z)(!!Vn,{value:Vn,onChange:function(Qi,xr){Jn==null||Jn(Qi,xr,kr)}}),lt=(0,Je.Z)(Ii,2),Rr=lt[0],Ko=lt[1],Yr=(0,se.useState)(null),yo=(0,Je.Z)(Yr,2),Mr=yo[0],mr=yo[1],co=se.useCallback(function(gr,Qi,xr){var fi=Ir.findIndex(function(bo){return bo.id===gr});Ko(!0),mr({x:Qi,y:xr}),Go(fi<0?0:fi),Ji(!0)},[Ir]);se.useEffect(function(){Rr?Do||Go(0):Ji(!1)},[Rr]);var Uo=function(Qi,xr){Go(Qi),Bi==null||Bi(Qi,xr)},ao=function(){Ko(!1),mr(null)},ra=se.useMemo(function(){return{register:Ht,onPreview:co}},[Ht,co]);return se.createElement(ee.Provider,{value:ra},yn,se.createElement(Bt,(0,Ke.Z)({"aria-hidden":!Rr,movable:Fi,visible:Rr,prefixCls:Gt,closeIcon:Ai,onClose:ao,mousePosition:Mr,imgCommonProps:Gr,src:io,fallback:kn,icons:un,minScale:ir,maxScale:zi,getContainer:Wn,current:kr,count:Ir.length,countRender:tn,onTransform:Ti,toolbarRender:hr,imageRender:tr,onChange:Uo},br)))},An=ei,Kn=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],jt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Nn=function(Ut){var Ln=Ut.src,ni=Ut.alt,Gt=Ut.onPreviewClose,yn=Ut.prefixCls,Qt=yn===void 0?"rc-image":yn,un=Ut.previewPrefixCls,wn=un===void 0?"".concat(Qt,"-preview"):un,gn=Ut.placeholder,kn=Ut.fallback,Bn=Ut.width,Vn=Ut.height,Jn=Ut.style,Wn=Ut.preview,gi=Wn===void 0?!0:Wn,Fi=Ut.className,ir=Ut.onClick,zi=Ut.onError,tn=Ut.wrapperClassName,Ai=Ut.wrapperStyle,Bi=Ut.rootClassName,Ti=(0,tt.Z)(Ut,Kn),hr=gn&&gn!==!0,tr=(0,Ye.Z)(gi)==="object"?gi:{},br=tr.src,Xi=tr.visible,Hi=Xi===void 0?void 0:Xi,Ir=tr.onVisibleChange,Ht=Ir===void 0?Gt:Ir,Kr=tr.getContainer,Fn=Kr===void 0?void 0:Kr,kr=tr.mask,Go=tr.maskClassName,Dr=tr.movable,po=tr.icons,Do=tr.scaleStep,Ji=tr.minScale,or=tr.maxScale,io=tr.imageRender,Gr=tr.toolbarRender,Ii=(0,tt.Z)(tr,jt),lt=br!=null?br:Ln,Rr=(0,kt.Z)(!!Hi,{value:Hi,onChange:Ht}),Ko=(0,Je.Z)(Rr,2),Yr=Ko[0],yo=Ko[1],Mr=me({src:Ln,isCustomPlaceholder:hr,fallback:kn}),mr=(0,Je.Z)(Mr,3),co=mr[0],Uo=mr[1],ao=mr[2],ra=(0,se.useState)(null),gr=(0,Je.Z)(ra,2),Qi=gr[0],xr=gr[1],fi=(0,se.useContext)(ee),bo=!!gi,ua=function(){yo(!1),xr(null)},ca=De()(Qt,tn,Bi,(0,et.Z)({},"".concat(Qt,"-error"),ao==="error")),oa=(0,se.useMemo)(function(){var Qa={};return ze.forEach(function(ks){Ut[ks]!==void 0&&(Qa[ks]=Ut[ks])}),Qa},ze.map(function(Qa){return Ut[Qa]})),Ra=(0,se.useMemo)(function(){return(0,Ee.Z)((0,Ee.Z)({},oa),{},{src:lt})},[lt,oa]),ts=ge(bo,Ra),ds=function(ks){var Ds=(0,ht.os)(ks.target),jn=Ds.left,gs=Ds.top;fi?fi.onPreview(ts,jn,gs):(xr({x:jn,y:gs}),yo(!0)),ir==null||ir(ks)};return se.createElement(se.Fragment,null,se.createElement("div",(0,Ke.Z)({},Ti,{className:ca,onClick:bo?ds:ir,style:(0,Ee.Z)({width:Bn,height:Vn},Ai)}),se.createElement("img",(0,Ke.Z)({},oa,{className:De()("".concat(Qt,"-img"),(0,et.Z)({},"".concat(Qt,"-img-placeholder"),gn===!0),Fi),style:(0,Ee.Z)({height:Vn},Jn),ref:co},Uo,{width:Bn,height:Vn,onError:zi})),ao==="loading"&&se.createElement("div",{"aria-hidden":"true",className:"".concat(Qt,"-placeholder")},gn),kr&&bo&&se.createElement("div",{className:De()("".concat(Qt,"-mask"),Go),style:{display:(Jn==null?void 0:Jn.display)==="none"?"none":void 0}},kr)),!fi&&bo&&se.createElement(Bt,(0,Ke.Z)({"aria-hidden":!Yr,visible:Yr,prefixCls:wn,onClose:ua,mousePosition:Qi,src:lt,alt:ni,fallback:kn,getContainer:Fn,icons:po,movable:Dr,scaleStep:Do,minScale:Ji,maxScale:or,rootClassName:Bi,imageRender:io,imgCommonProps:oa,toolbarRender:Gr},Ii)))};Nn.PreviewGroup=An,Nn.displayName="Image";var Gn=Nn,ii=Gn,Sn=oe(62892),Yt=oe(36355),Zt=oe(31724),St=oe(72119),rt=oe(16537),Ft=oe(53878),Ot={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},ft=Ot,ct=oe(88853),Ge=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:ft}))},Ae=se.forwardRef(Ge),xe=Ae,je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Qe=je,Oe=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:Qe}))},xt=se.forwardRef(Oe),hn=xt,Pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},wt=Pn,nn=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:wt}))},Mn=se.forwardRef(nn),Zn=Mn,li={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},xi=li,Mi=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:xi}))},Si=se.forwardRef(Mi),Ri=Si,lr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},dr=lr,ur=function(Ut,Ln){return se.createElement(ct.Z,(0,Ke.Z)({},Ut,{ref:Ln,icon:dr}))},Sr=se.forwardRef(ur),Wr=Sr,Gi=oe(64993),Zr=oe(73819),Yi=oe(17313),Ue=oe(29878),no=oe(1950),pr=oe(83116),fo=oe(37613);const Fo=bt=>({position:bt||"absolute",inset:0}),Vo=bt=>{const{iconCls:Ut,motionDurationSlow:Ln,paddingXXS:ni,marginXXS:Gt,prefixCls:yn,colorTextLightSolid:Qt}=bt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Qt,background:new Gi.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ln}`,[`.${yn}-mask-info`]:Object.assign(Object.assign({},Yi.vS),{padding:`0 ${ni}px`,[Ut]:{marginInlineEnd:Gt,svg:{verticalAlign:"baseline"}}})}},Io=bt=>{const{previewCls:Ut,modalMaskBg:Ln,paddingSM:ni,marginXL:Gt,margin:yn,paddingLG:Qt,previewOperationColorDisabled:un,previewOperationHoverColor:wn,motionDurationSlow:gn,iconCls:kn,colorTextLightSolid:Bn}=bt,Vn=new Gi.C(Ln).setAlpha(.1),Jn=Vn.clone().setAlpha(.2);return{[`${Ut}-footer`]:{position:"fixed",bottom:Gt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:bt.previewOperationColor},[`${Ut}-progress`]:{marginBottom:yn},[`${Ut}-close`]:{position:"fixed",top:Gt,right:{_skip_check_:!0,value:Gt},display:"flex",color:Bn,backgroundColor:Vn.toRgbString(),borderRadius:"50%",padding:ni,outline:0,border:0,cursor:"pointer",transition:`all ${gn}`,"&:hover":{backgroundColor:Jn.toRgbString()},[`& > ${kn}`]:{fontSize:bt.previewOperationSize}},[`${Ut}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Qt}px`,backgroundColor:Vn.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:ni,padding:ni,cursor:"pointer",transition:`all ${gn}`,userSelect:"none",[`&:not(${Ut}-operations-operation-disabled):hover > ${kn}`]:{color:wn},"&-disabled":{color:un,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${kn}`]:{fontSize:bt.previewOperationSize}}}}},Oi=bt=>{const{modalMaskBg:Ut,iconCls:Ln,previewOperationColorDisabled:ni,previewCls:Gt,zIndexPopup:yn,motionDurationSlow:Qt}=bt,un=new Gi.C(Ut).setAlpha(.1),wn=un.clone().setAlpha(.2);return{[`${Gt}-switch-left, ${Gt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:yn+1,display:"flex",alignItems:"center",justifyContent:"center",width:bt.imagePreviewSwitchSize,height:bt.imagePreviewSwitchSize,marginTop:-bt.imagePreviewSwitchSize/2,color:bt.previewOperationColor,background:un.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Qt}`,userSelect:"none","&:hover":{background:wn.toRgbString()},"&-disabled":{"&, &:hover":{color:ni,background:"transparent",cursor:"not-allowed",[`> ${Ln}`]:{cursor:"not-allowed"}}},[`> ${Ln}`]:{fontSize:bt.previewOperationSize}},[`${Gt}-switch-left`]:{insetInlineStart:bt.marginSM},[`${Gt}-switch-right`]:{insetInlineEnd:bt.marginSM}}},on=bt=>{const{motionEaseOut:Ut,previewCls:Ln,motionDurationSlow:ni,componentCls:Gt}=bt;return[{[`${Gt}-preview-root`]:{[Ln]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ln}-body`]:Object.assign(Object.assign({},Fo()),{overflow:"hidden"}),[`${Ln}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${ni} ${Ut} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Fo()),{transition:`transform ${ni} ${Ut} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ln}-moving`]:{[`${Ln}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Gt}-preview-root`]:{[`${Ln}-wrap`]:{zIndex:bt.zIndexPopup}}},{[`${Gt}-preview-operations-wrapper`]:{position:"fixed",zIndex:bt.zIndexPopup+1},"&":[Io(bt),Oi(bt)]}]},ln=bt=>{const{componentCls:Ut}=bt;return{[Ut]:{position:"relative",display:"inline-block",[`${Ut}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Ut}-img-placeholder`]:{backgroundColor:bt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Ut}-mask`]:Object.assign({},Vo(bt)),[`${Ut}-mask:hover`]:{opacity:1},[`${Ut}-placeholder`]:Object.assign({},Fo())}}},qt=bt=>{const{previewCls:Ut}=bt;return{[`${Ut}-root`]:(0,Ue._y)(bt,"zoom"),"&":(0,no.J$)(bt,!0)}};var Nt=(0,pr.Z)("Image",bt=>{const Ut=`${bt.componentCls}-preview`,Ln=(0,fo.TS)(bt,{previewCls:Ut,modalMaskBg:new Gi.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:bt.controlHeightLG});return[ln(Ln),on(Ln),(0,Zr.QA)((0,fo.TS)(Ln,{componentCls:Ut})),qt(Ln)]},bt=>({zIndexPopup:bt.zIndexPopupBase+80,previewOperationColor:new Gi.C(bt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Gi.C(bt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Gi.C(bt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:bt.fontSizeIcon*1.5})),On=function(bt,Ut){var Ln={};for(var ni in bt)Object.prototype.hasOwnProperty.call(bt,ni)&&Ut.indexOf(ni)<0&&(Ln[ni]=bt[ni]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,ni=Object.getOwnPropertySymbols(bt);Gt{var{previewPrefixCls:Ut,preview:Ln}=bt,ni=On(bt,["previewPrefixCls","preview"]);const{getPrefixCls:Gt}=se.useContext(Yt.E_),yn=Gt("image",Ut),Qt=`${yn}-preview`,un=Gt(),[wn,gn]=Nt(yn),kn=se.useMemo(()=>{var Bn;if(Ln===!1)return Ln;const Vn=typeof Ln=="object"?Ln:{},Jn=De()(gn,(Bn=Vn.rootClassName)!==null&&Bn!==void 0?Bn:"");return Object.assign(Object.assign({},Vn),{transitionName:(0,Sn.m)(un,"zoom",Vn.transitionName),maskTransitionName:(0,Sn.m)(un,"fade",Vn.maskTransitionName),rootClassName:Jn})},[Ln]);return wn(se.createElement(ii.PreviewGroup,Object.assign({preview:kn,previewPrefixCls:Qt,icons:Un},ni)))},In=function(bt,Ut){var Ln={};for(var ni in bt)Object.prototype.hasOwnProperty.call(bt,ni)&&Ut.indexOf(ni)<0&&(Ln[ni]=bt[ni]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,ni=Object.getOwnPropertySymbols(bt);Gt{const{prefixCls:Ut,preview:Ln,className:ni,rootClassName:Gt,style:yn}=bt,Qt=In(bt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:un,locale:wn=Zt.Z,getPopupContainer:gn,image:kn}=se.useContext(Yt.E_),Bn=un("image",Ut),Vn=un(),Jn=wn.Image||Zt.Z.Image,[Wn,gi]=Nt(Bn),Fi=De()(Gt,gi),ir=De()(ni,gi,kn==null?void 0:kn.className),zi=se.useMemo(()=>{if(Ln===!1)return Ln;const Ai=typeof Ln=="object"?Ln:{},{getContainer:Bi}=Ai,Ti=In(Ai,["getContainer"]);return Object.assign(Object.assign({mask:se.createElement("div",{className:`${Bn}-mask-info`},se.createElement(we.Z,null),Jn==null?void 0:Jn.preview),icons:Un},Ti),{getContainer:Bi||gn,transitionName:(0,Sn.m)(Vn,"zoom",Ai.transitionName),maskTransitionName:(0,Sn.m)(Vn,"fade",Ai.maskTransitionName)})},[Ln,Jn]),tn=Object.assign(Object.assign({},kn==null?void 0:kn.style),yn);return Wn(se.createElement(ii,Object.assign({prefixCls:Bn,preview:zi,rootClassName:Fi,className:ir,style:tn},Qt)))};zn.PreviewGroup=yt;var mi=zn,Rn=()=>{const[bt,Ut]=(0,se.useState)(""),[Ln,ni]=(0,se.useState)(0);let[Gt,yn]=(0,se.useState)(),[Qt,un]=(0,se.useState)();const[wn,gn]=(0,se.useState)(!1),kn=(0,se.useRef)("");(0,se.useEffect)(()=>Ce.Z.subscribe("preview-image",Bi=>{Ut(Bi),console.log(zi.current),document.body.style.overflow="hidden"}),[]),(0,se.useEffect)(()=>(document.addEventListener("keydown",Bn),()=>{document.removeEventListener("keydown",Bn)}),[]),(0,se.useEffect)(()=>{kn.current=bt},[bt]);function Bn(Ai){Ai.keyCode==27&&kn.current&&Vn()}function Vn(){document.body.style.overflow="auto",yn(void 0),un(void 0),ni(0),Ut("")}function Jn(){ni(Ln+90)}function Wn(){Gt=zi.current.width*1.1,Qt=zi.current.height*1.1,un(Qt),yn(Gt)}function gi(){Gt=zi.current.width/1.1,Qt=zi.current.height/1.1,un(Qt),yn(Gt)}const Fi=(0,se.useRef)(),ir=(0,se.useRef)(),zi=(0,se.useRef)(),tn=Ai=>{(Ai.nativeEvent.target===Fi.current||Ai.nativeEvent.target===ir.current)&&Vn()};return se.createElement(se.Fragment,null,bt?se.createElement("div",null,se.createElement("div",{className:"preview-wrp-group",ref:ir},se.createElement(mi,{className:"image-preview",src:bt,style:{display:"none"},preview:{visible:!0,src:bt,movable:!1,onVisibleChange:Ai=>{Ut("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},36866:function(_e,be,oe){"use strict";oe.d(be,{h:function(){return Ne},Z:function(){return Se}});var se=oe(59301),Ce=oe(57809),we=oe(78241),Ie=oe(3113),De=oe(89780),Ke=oe.n(De),Ee=oe(79906),et=Object.defineProperty,Je=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,ze=(ke,Te,We)=>Te in ke?et(ke,Te,{enumerable:!0,configurable:!0,writable:!0,value:We}):ke[Te]=We,ee=(ke,Te)=>{for(var We in Te||(Te={}))ht.call(Te,We)&&ze(ke,We,Te[We]);if(tt)for(var We of tt(Te))kt.call(Te,We)&&ze(ke,We,Te[We]);return ke},ne=(ke,Te)=>Je(ke,Ye(Te));const ge=Ce.default.Option,ue={labelCol:{span:4},wrapperCol:{span:20}},me={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};var Se=({callback:ke,onCancel:Te})=>{const[We,$e]=(0,se.useState)("python");function st(Mt){$e(me[Mt][1])}function ut(Mt){ke(Mt)}return se.createElement(we.default,ne(ee({},ue),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ut,style:{width:500}}),se.createElement(we.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},se.createElement(Ce.default,{getPopupContainer:Mt=>Mt.parentNode,onChange:st},Object.keys(me).map(Mt=>se.createElement(ge,{key:Mt,value:Mt},me[Mt][0])))),se.createElement(we.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},se.createElement(Ne,{mode:We})),se.createElement("div",{className:"flex-container flex-end"},se.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(Ie.ZP,{type:"ghost",onClick:Te},"\u53D6\u6D88")))};function Ne({value:ke,onChange:Te,mode:We,options:$e={}}){const st=(0,se.useRef)(),[ut,Mt]=(0,se.useState)();return(0,se.useEffect)(()=>{if(ut){let nt=function($t){const Pt=$t.getValue();Te&&Te(Pt)};return ut.on("change",nt),()=>{ut.off("change",nt)}}},[ut,Te]),(0,se.useEffect)(()=>{ut&&ut.setOption("mode",We)},[ut,We]),(0,se.useEffect)(()=>{ut&&(ke!==ut.getValue()||ke==="")&&setTimeout(()=>{ut.setValue(ke||"")},300)},[ut,ke]),(0,se.useEffect)(()=>{if(st.current&&!ut){const nt=Ke().fromTextArea(st.current,ee({mode:We,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},$e));Mt(nt)}},[st.current,ut]),se.createElement("div",{className:"my-codemirror-container"},se.createElement("textarea",{ref:st}))}},23469:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Oi}});var se=oe(59301),Ce=oe(89780),we=oe.n(Ce),Ie=oe(76374),De=oe(79906),Ke=oe(6313),Ee=oe(25717),et=oe(99498),Je=oe(25419),Ye=oe(67549),tt=oe(25711),ht=({value:on="",className:ln,showTextOnly:qt,showLines:Nt,style:On={}})=>{const Un=(0,se.useMemo)(()=>"",[on]);return se.createElement(se.Fragment,null,se.createElement("div",{dangerouslySetInnerHTML:{__html:Un}}))},kt=oe(59301),ze=Object.defineProperty,ee=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Se=(on,ln,qt)=>ln in on?ze(on,ln,{enumerable:!0,configurable:!0,writable:!0,value:qt}):on[ln]=qt,Ne=(on,ln)=>{for(var qt in ln||(ln={}))ue.call(ln,qt)&&Se(on,qt,ln[qt]);if(ge)for(var qt of ge(ln))me.call(ln,qt)&&Se(on,qt,ln[qt]);return on},ke=(on,ln)=>ee(on,ne(ln));let Te=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function We({onActionCallback:on,title:ln,icon:qt,actionName:Nt,className:On="",children:Un}){function Vt(){on(Nt)}return kt.createElement("a",{title:ln,className:On,onClick:Vt},kt.createElement("i",{className:`${qt}`}),Un)}var $e=({watch:on,showNullButton:ln,showNullProgramButton:qt,onActionCallback:Nt,fullScreen:On,insertTemp:Un,hidetoolBar:Vt,extraUse:yt})=>{const In=[...Te,{title:`${on?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${on?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return kt.createElement("ul",{className:"markdown-toolbar-container"},!Vt&&In.map((zn,mi)=>kt.createElement("li",{key:mi},zn.actionName?kt.createElement(We,ke(Ne({},zn),{onActionCallback:Nt})):kt.createElement("span",{className:"v-line"}))),ln?kt.createElement("li",null,kt.createElement(We,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Nt},kt.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,qt?kt.createElement(kt.Fragment,null,kt.createElement("li",null,kt.createElement(We,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Nt},kt.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),kt.createElement("li",null,kt.createElement(We,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Nt},kt.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Un&&kt.createElement("li",null,kt.createElement(We,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Un}`,onActionCallback:Nt},kt.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),yt&&kt.createElement("li",null,yt),kt.createElement("li",{className:"btn-full-screen"},kt.createElement(We,{icon:`${On?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:On?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Nt})))},st=oe(50474),ut=oe(78241),Mt=oe(92832),nt=oe(3113),$t=Object.defineProperty,Pt=Object.defineProperties,dn=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,an=(on,ln,qt)=>ln in on?$t(on,ln,{enumerable:!0,configurable:!0,writable:!0,value:qt}):on[ln]=qt,it=(on,ln)=>{for(var qt in ln||(ln={}))Xt.call(ln,qt)&&an(on,qt,ln[qt]);if(zt)for(var qt of zt(ln))fn.call(ln,qt)&&an(on,qt,ln[qt]);return on},Ve=(on,ln)=>Pt(on,dn(ln));const gt={labelCol:{span:4},wrapperCol:{span:20}};var Bt=({callback:on,onCancel:ln})=>{function qt(Nt){on(Nt)}return se.createElement(ut.default,Ve(it({},gt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:qt,style:{width:500}}),se.createElement(ut.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},se.createElement(Mt.default,null)),se.createElement(ut.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},se.createElement(Mt.default,null)),se.createElement("div",{className:"flex-container flex-end"},se.createElement(nt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(nt.ZP,{type:"ghost",onClick:ln},"\u53D6\u6D88")))},sn=oe(36866),It=oe(56701),en=oe(43418),En=oe(95237),ei=oe(65983),An=oe(59301),Kn=({callback:on,onCancel:ln})=>{const qt=document.createElement("canvas"),Nt=qt.getContext("2d");qt.width=1e3,qt.height=800,Nt.fillStyle="#ffffff",Nt.fillRect(0,0,qt.width,qt.height);const On=qt.toDataURL("image/png");return An.createElement(en.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},An.createElement(En.Z,{style:{height:"100vh"}},An.createElement(ei.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:On,visible:!0,title:String(Date.now())},onOk:Un=>{on({src:Un.url})},onClose:ln})))},jt=oe(12378);function Nn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Nn,go.CommandHandler),Nn.prototype.canAlignSelection=function(){var on=this.diagram;return!(on===null||on.isReadOnly||on.isModelReadOnly||on.selection.count<2)},Nn.prototype.alignLeft=function(){var on=this.diagram;on.startTransaction("aligning left");var ln=1/0;on.selection.each(function(qt){qt instanceof go.Link||(ln=Math.min(qt.position.x,ln))}),on.selection.each(function(qt){qt instanceof go.Link||qt.move(new go.Point(ln,qt.position.y))}),on.commitTransaction("aligning left")},Nn.prototype.alignRight=function(){var on=this.diagram;on.startTransaction("aligning right");var ln=-1/0;on.selection.each(function(qt){if(!(qt instanceof go.Link)){var Nt=qt.actualBounds.x+qt.actualBounds.width;ln=Math.max(Nt,ln)}}),on.selection.each(function(qt){qt instanceof go.Link||qt.move(new go.Point(ln-qt.actualBounds.width,qt.position.y))}),on.commitTransaction("aligning right")},Nn.prototype.alignTop=function(){var on=this.diagram;on.startTransaction("alignTop");var ln=1/0;on.selection.each(function(qt){qt instanceof go.Link||(ln=Math.min(qt.position.y,ln))}),on.selection.each(function(qt){qt instanceof go.Link||qt.move(new go.Point(qt.position.x,ln))}),on.commitTransaction("alignTop")},Nn.prototype.alignBottom=function(){var on=this.diagram;on.startTransaction("aligning bottom");var ln=-1/0;on.selection.each(function(qt){if(!(qt instanceof go.Link)){var Nt=qt.actualBounds.y+qt.actualBounds.height;ln=Math.max(Nt,ln)}}),on.selection.each(function(qt){qt instanceof go.Link||qt.move(new go.Point(qt.actualBounds.x,ln-qt.actualBounds.height))}),on.commitTransaction("aligning bottom")},Nn.prototype.alignCenterX=function(){var on=this.diagram,ln=on.selection.first();if(ln){on.startTransaction("aligning Center X");var qt=ln.actualBounds.x+ln.actualBounds.width/2;on.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(qt-Nt.actualBounds.width/2,Nt.actualBounds.y))}),on.commitTransaction("aligning Center X")}},Nn.prototype.alignCenterY=function(){var on=this.diagram,ln=on.selection.first();if(ln){on.startTransaction("aligning Center Y");var qt=ln.actualBounds.y+ln.actualBounds.height/2;on.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(Nt.actualBounds.x,qt-Nt.actualBounds.height/2))}),on.commitTransaction("aligning Center Y")}},Nn.prototype.alignColumn=function(on){var ln=this.diagram;ln.startTransaction("align Column"),on===void 0&&(on=0),on=parseFloat(on);var qt=new Array;ln.selection.each(function(yt){yt instanceof go.Link||qt.push(yt)});for(var Nt=0;Nt0){for(var yt=Un.elt(Vt-1);yt!==null&&yt.isTreeExpanded&&!yt.isTreeLeaf;){var In=this._sortTreeChildrenByY(yt);yt=In.last()}yt!==null&&on.select(yt)}else on.select(On)}}else if(qt.key==="Down")if(ln.isTreeExpanded&&!ln.isTreeLeaf){var Nt=this._sortTreeChildrenByY(ln).first();Nt!==null&&on.select(Nt)}else for(;ln!==null;){var On=ln.findTreeParentNode();if(On===null)break;var Un=this._sortTreeChildrenByY(On),Vt=Un.indexOf(ln);if(VtUn.y?1:On.xUn.x?1:0}),ln},Nn.prototype.copyToClipboard=function(on){go.CommandHandler.prototype.copyToClipboard.call(this,on),this._lastPasteOffset.set(this.pasteOffset)},Nn.prototype.pasteFromClipboard=function(){var on=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(on,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),on},Object.defineProperty(Nn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(on){if(on!=="move"&&on!=="select"&&on!=="scroll"&&on!=="tree"&&on!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+on);this._arrowKeyBehavior=on}}),Object.defineProperty(Nn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(on){if(!(on instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+on);this._pasteOffset.set(on)}});var Gn=Nn,ii=oe(37404),Sn=oe(43604),Yt=oe(70635),Zt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},St=oe(59301),rt=(on,ln,qt)=>new Promise((Nt,On)=>{var Un=In=>{try{yt(qt.next(In))}catch(zn){On(zn)}},Vt=In=>{try{yt(qt.throw(In))}catch(zn){On(zn)}},yt=In=>In.done?Nt(In.value):Promise.resolve(In.value).then(Un,Vt);yt((qt=qt.apply(on,ln)).next())});function Ft({onCancel:on,callback:ln}){let qt=(0,se.useRef)(),Nt=(0,se.useRef)(),On=(0,se.useRef)(),Un=(0,se.useRef)(!1);const Vt=(0,se.useRef)(!1),[yt,In]=(0,se.useState)(0);function zn(){const Rn=jt.bx.make,bt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};qt.current=new jt.S0(Nt.current,{padding:20,grid:Rn(jt.s_,"Grid",Rn(jt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rn(jt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:tn=>{var Ai=tn.diagram.commandHandler.addTopLevelParts(tn.diagram.selection,!0);Ai||tn.diagram.currentTool.doCancel()},commandHandler:Rn(Gn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:tn=>{var Ai=tn.subject;Ai.location=Ai.location.copy().snapToGridPoint(tn.diagram.grid.gridOrigin,tn.diagram.grid.gridCellSize),setTimeout(()=>{tn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:tn=>{var Ai=tn.subject;setTimeout(()=>{tn.diagram.commandHandler.editTextBlock()})},LinkRelinked:tn=>{var Ai=tn.parameter.part;Ai.invalidateConnectedLinks();var Bi=tn.subject;tn.diagram.toolManager.linkingTool.isForwards?Bi.toNode.invalidateConnectedLinks():Bi.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),qt.current.nodeTemplate=Rn(jt.NB,"Auto",{locationSpot:jt.z6.Center,locationObjectName:"SHAPE",desiredSize:new jt.$u(120,60),minSize:new jt.$u(40,40),resizable:!0,resizeCellSize:new jt.$u(10,10),rotatable:!0},new jt.KX("location","loc",jt.E9.parse).makeTwoWay(jt.E9.stringify),new jt.KX("desiredSize","size",jt.$u.parse).makeTwoWay(jt.$u.stringify),Rn(jt.bn,{name:"SHAPE",fill:bt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:jt.z6.AllSides,toSpot:jt.z6.AllSides},new jt.KX("figure"),new jt.KX("fill"),new jt.KX("stroke","borderColor"),new jt.KX("strokeWidth","thickness"),new jt.KX("strokeDashArray","dash")),Rn(jt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Rn(jt.al,{margin:1,textAlign:"center",overflow:jt.al.OverflowEllipsis,editable:!0},new jt.KX("text").makeTwoWay(),new jt.KX("stroke","color"))),qt.current.nodeTemplate.toolTip=Rn("ToolTip",Rn(jt.s_,"Vertical",{maxSize:new jt.$u(200,NaN)},Rn(jt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new jt.KX("text")),Rn(jt.al,{font:"10pt sans-serif",textAlign:"center"},new jt.KX("text","details"))));function Ut(tn,Ai){var Bi=(Ti,hr)=>{Ti.handled=!0,Ti.diagram.model.commit(tr=>{var br=hr.part.adornedPart,Xi=new jt.E9().setRectSpot(br.actualBounds,tn);Xi.subtract(br.location),Xi.scale(2,2),Xi.x+=Math.sign(Xi.x)*130,Xi.y+=Math.sign(Xi.y)*130,Xi.add(br.location),Xi.snapToGridPoint(Ti.diagram.grid.gridOrigin,Ti.diagram.grid.gridCellSize);var Hi=tr.copyNodeData(br.data);tr.setGroupKeyForNodeData(Hi,tr.getGroupKeyForNodeData(br.data)),tr.addNodeData(Hi);var Ir={from:br.key,to:tr.getKeyForNodeData(Hi)};tr.addLinkData(Ir);var Ht=Ti.diagram.findNodeForData(Hi);Ht.location=Xi,Ti.diagram.select(Ht),setTimeout(()=>{Ti.diagram.commandHandler.editTextBlock()},20)})};return Rn(jt.bn,{figure:Ai,alignment:tn,alignmentFocus:tn.opposite(),width:tn.equals(jt.z6.Top)||tn.equals(jt.z6.Bottom)?25:18,height:tn.equals(jt.z6.Top)||tn.equals(jt.z6.Bottom)?18:25,fill:"orange",stroke:bt.white,strokeWidth:4,mouseEnter:(Ti,hr)=>hr.fill="dodgerblue",mouseLeave:(Ti,hr)=>hr.fill="orange",isActionable:!0,click:Bi,contextClick:Bi})}function Ln(tn){return Rn(jt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ai,Bi)=>Bi.fill="dodgerblue",mouseLeave:(Ai,Bi)=>Bi.fill="orange",click:(Ai,Bi)=>{Ai.diagram.commandHandler.showContextMenu(Bi.part.adornedPart)}},tn||{})}qt.current.nodeTemplate.selectionAdornmentTemplate=Rn(jt.uz,"Spot",Rn(jt.Vm,{padding:10}),Ut(jt.z6.Top,"TriangleUp"),Ut(jt.z6.Left,"TriangleLeft"),Ut(jt.z6.Right,"TriangleRight"),Ut(jt.z6.Bottom,"TriangleDown"),Ln({alignment:new jt.z6(.75,0)}));function ni(tn,Ai){return(Bi,Ti)=>{Bi.handled=!0,Bi.diagram.model.commit(hr=>{hr.set(Ti.part.adornedPart.data,tn,Ai)})}}function Gt(tn,Ai){return Ai||(Ai="color"),Rn(jt.bn,{width:16,height:16,stroke:"lightgray",fill:tn,margin:1,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.stroke="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.stroke="lightgray",click:ni(Ai,tn),contextClick:ni(Ai,tn)})}function yn(){return[Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",Gt(bt.white,"fill"),Gt(bt.beige,"fill"),Gt(bt.extralightblue,"fill"),Gt(bt.extralightred,"fill"))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",Gt(bt.lightgray,"fill"),Gt(bt.lightgreen,"fill"),Gt(bt.lightblue,"fill"),Gt(bt.lightred,"fill")))]}function Qt(){return[Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",Gt(bt.black),Gt(bt.green),Gt(bt.blue),Gt(bt.red))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",Gt(bt.white),Gt(bt.magenta),Gt(bt.purple),Gt(bt.orange)))]}function un(tn,Ai){return Ai||(Ai="thickness"),Rn(jt.bn,"LineH",{width:16,height:16,strokeWidth:tn,margin:1,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.background="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.background="transparent",click:ni(Ai,tn),contextClick:ni(Ai,tn)})}function wn(tn,Ai){return Ai||(Ai="dash"),Rn(jt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:tn,margin:1,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.background="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.background="transparent",click:ni(Ai,tn),contextClick:ni(Ai,tn)})}function gn(){return[Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",un(1),un(2),un(3),un(4))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",wn(null),wn([2,4]),wn([4,4])))]}function kn(tn,Ai){return Ai||(Ai="figure"),Rn(jt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:tn,margin:1,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.fill="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.fill="lightgray",click:ni(Ai,tn),contextClick:ni(Ai,tn)})}qt.current.nodeTemplate.contextMenu=Rn("ContextMenu",Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",kn("Rectangle"),kn("RoundedRectangle"),kn("Ellipse"),kn("Diamond"))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",kn("Parallelogram2"),kn("ManualOperation"),kn("Procedure"),kn("Cylinder1"))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",kn("Terminator"),kn("CreateRequest"),kn("Document"),kn("TriangleDown"))),yn(),Qt(),gn()),qt.current.groupTemplate=Rn(jt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:jt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(tn,Ai)=>{var Bi=Ai.addMembers(Ai.diagram.selection,!0);Bi||Ai.diagram.currentTool.doCancel()},avoidable:!1},new jt.KX("location","loc",jt.E9.parse).makeTwoWay(jt.E9.stringify),Rn(jt.s_,"Auto",{name:"BODY"},Rn(jt.bn,{parameter1:10,fill:bt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:jt.z6.AllSides,toSpot:jt.z6.AllSides},new jt.KX("fill"),new jt.KX("stroke","color"),new jt.KX("strokeWidth","thickness"),new jt.KX("strokeDashArray","dash")),Rn(jt.Vm,{background:"transparent",margin:20})),Rn(jt.al,{alignment:jt.z6.Top,alignmentFocus:jt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new jt.KX("text"),new jt.KX("stroke","color"))),qt.current.groupTemplate.selectionAdornmentTemplate=Rn(jt.uz,"Spot",Rn(jt.s_,"Auto",Rn(jt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Rn(jt.Vm,{margin:1.5})),Ln({alignment:jt.z6.TopRight,alignmentFocus:jt.z6.BottomRight})),qt.current.groupTemplate.contextMenu=Rn("ContextMenu",yn(),Qt(),gn()),qt.current.linkTemplate=Rn(jt.rU,{layerName:"Foreground",routing:jt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new jt.KX("fromSpot","fromSpot",jt.z6.parse),new jt.KX("toSpot","toSpot",jt.z6.parse),new jt.KX("fromShortLength","dir",tn=>tn>=1?10:0),new jt.KX("toShortLength","dir",tn=>tn>=1?10:0),new jt.KX("points").makeTwoWay(),Rn(jt.bn,{strokeWidth:2},new jt.KX("stroke","color"),new jt.KX("strokeWidth","thickness"),new jt.KX("strokeDashArray","dash")),Rn(jt.bn,{segmentIndex:0,segmentOffset:new jt.E9(15,0),segmentOrientation:jt.rU.OrientAlong,alignmentFocus:jt.z6.Right,figure:"circle",width:10,strokeWidth:0},new jt.KX("fill","color"),new jt.KX("visible","dir",tn=>tn===1)),Rn(jt.bn,{segmentIndex:-1,segmentOffset:new jt.E9(-10,6),segmentOrientation:jt.rU.OrientPlus90,alignmentFocus:jt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new jt.KX("fill","color"),new jt.KX("visible","dir",tn=>tn>=1),new jt.KX("width","thickness",tn=>7+3*tn),new jt.KX("height","thickness",tn=>7+3*tn),new jt.KX("segmentOffset","thickness",tn=>new jt.E9(-15,4+1.5*tn))),Rn(jt.bn,{segmentIndex:0,segmentOffset:new jt.E9(15,-6),segmentOrientation:jt.rU.OrientMinus90,alignmentFocus:jt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new jt.KX("fill","color"),new jt.KX("visible","dir",tn=>tn===2),new jt.KX("width","thickness",tn=>7+3*tn),new jt.KX("height","thickness",tn=>7+3*tn),new jt.KX("segmentOffset","thickness",tn=>new jt.E9(-15,4+1.5*tn))),Rn(jt.al,{alignmentFocus:new jt.z6(0,1,-4,0),editable:!0},new jt.KX("text").makeTwoWay(),new jt.KX("stroke","color"))),qt.current.linkTemplate.selectionAdornmentTemplate=Rn(jt.uz,Rn(jt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Bn(2)},new jt.KX("pathPattern","thickness",Bn)),Ln({alignmentFocus:new jt.z6(0,0,-6,-4)}));function Bn(tn){return Rn(jt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(tn+4).toString()+" H3"})}function Vn(tn){var Ai="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return tn===0?Ai="M0 0 M16 16 M0 8 L16 8":tn===2&&(Ai="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Rn(jt.bn,{geometryString:Ai,margin:2,background:"transparent",mouseEnter:(Bi,Ti)=>Ti.background="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.background="transparent",click:ni("dir",tn),contextClick:ni("dir",tn)})}function Jn(tn){var Ai=(Bi,Ti)=>{Bi.handled=!0,Bi.diagram.model.commit(hr=>{var tr=Ti.part.adornedPart;hr.set(tr.data,tn?"toSpot":"fromSpot",jt.z6.stringify(jt.z6.AllSides)),(tn?tr.toNode:tr.fromNode).invalidateConnectedLinks()})};return Rn(jt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Bi,Ti)=>Ti.background="dodgerblue",mouseLeave:(Bi,Ti)=>Ti.background="transparent",click:Ai,contextClick:Ai})}function Wn(tn,Ai){var Bi=0,Ti=jt.z6.RightSide;tn.equals(jt.z6.Top)?(Bi=270,Ti=jt.z6.TopSide):tn.equals(jt.z6.Left)?(Bi=180,Ti=jt.z6.LeftSide):tn.equals(jt.z6.Bottom)&&(Bi=90,Ti=jt.z6.BottomSide),Ai||(Bi-=180);var hr=(tr,br)=>{tr.handled=!0,tr.diagram.model.commit(Xi=>{var Hi=br.part.adornedPart;Xi.set(Hi.data,Ai?"toSpot":"fromSpot",jt.z6.stringify(Ti)),(Ai?Hi.toNode:Hi.fromNode).invalidateConnectedLinks()})};return Rn(jt.bn,{alignment:tn,alignmentFocus:tn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Bi,background:"transparent",mouseEnter:(tr,br)=>br.background="dodgerblue",mouseLeave:(tr,br)=>br.background="transparent",click:hr,contextClick:hr})}qt.current.linkTemplate.contextMenu=Rn("ContextMenu",Qt(),gn(),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",Vn(0),Vn(1),Vn(2))),Rn("ContextMenuButton",Rn(jt.s_,"Horizontal",Rn(jt.s_,"Spot",Jn(!1),Wn(jt.z6.Top,!1),Wn(jt.z6.Left,!1),Wn(jt.z6.Right,!1),Wn(jt.z6.Bottom,!1)),Rn(jt.s_,"Spot",{margin:new jt.Zt(0,0,0,2)},Jn(!0),Wn(jt.z6.Top,!0),Wn(jt.z6.Left,!0),Wn(jt.z6.Right,!0),Wn(jt.z6.Bottom,!0)))));const gi=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, @@ -1068,16 +1068,16 @@ {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var Fi=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function ir(tn){return console.log("shapeName:",tn),Fi.indexOf(tn)>=0}var zi=new jt.YI(On.current,{maxSelectionCount:1,linkTemplate:Rn(jt.rU,{locationSpot:jt.z6.Center,selectionAdornmentTemplate:Rn(jt.uz,"Link",{locationSpot:jt.z6.Center},Rn(jt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Rn(jt.bn,{toArrow:"Standard",stroke:null}))},{routing:jt.rU.AvoidsNodes,curve:jt.rU.JumpOver,corner:5,toShortLength:4},new jt.KX("points"),Rn(jt.bn,{isPanelMain:!0,strokeWidth:2}),Rn(jt.bn,{toArrow:"Standard",stroke:null})),model:new jt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...jt.bn.getFigureGenerators().toArray().map(tn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:tn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return qt.current.addDiagramListener("TextEdited",function(tn){var Ai;const Bi=tn.subject.part;var Ti=(Ai=document.activeElement)==null?void 0:Ai.value;typeof Ti=="string"&&Ti.trim()===""&&qt.current.model.commit(function(hr){hr.set(Bi.data,"text","\u672A\u547D\u540D"),qt.current.commandHandler.stopCommand()},"increment")}),zi.nodeTemplate=Rn(jt.NB,"Auto",{locationSpot:jt.z6.Center},new jt.KX("location","location",jt.E9.parse).makeTwoWay(jt.E9.stringify),Rn(jt.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new jt.KX("stroke").makeTwoWay(),new jt.KX("fill").makeTwoWay(),new jt.KX("figure")),Rn(jt.al,{margin:new jt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new jt.$u(16,16),maxSize:new jt.$u(10,NaN),textAlign:"center",editable:!0},new jt.KX("key").makeTwoWay())),setTimeout(()=>{qt.current.grid=Rn(jt.s_,"Grid",Rn(jt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Rn(jt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),qt.current.grid.visible=!0,qt.current.grid.gridCellStroke="darkgray",qt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=qt.current,qt.current}const mi=()=>rt(this,null,function*(){var Rn=qt.current.makeImage();const bt=yield(0,Yt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Rn.src}});ln({src:bt.url})});return(0,se.useEffect)(()=>(setTimeout(()=>{zn()},500),In(yt+1),()=>{qt.current=null}),[]),St.createElement("div",{ref:Vt,className:Un.current?`${Zt.maxH60} body-overflow-initial`:"body-overflow-initial"},St.createElement(en.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!yt,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:St.createElement(En.Z,null,St.createElement(Sn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),St.createElement(Sn.Z,{onClick:()=>{var Rn,bt,Ut=qt.current.selection.first();if(Un.current=!Un.current,document.activeElement&&Ut){let Ln=(bt=(Rn=document.activeElement)==null?void 0:Rn.value)==null?void 0:bt.trim();typeof Ln=="string"&&qt.current.model.commit(function(ni){ni.set(Ut.data,"text",Ln||"\u672A\u547D\u540D"),qt.current.commandHandler.stopCommand()},"increment")}In(yt+1)}},St.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:on},St.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Zt.flowChartWrp},St.createElement("div",{style:{display:"flex",height:"100%"}},St.createElement("div",{style:{width:"300px",height:"100%"}},St.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),St.createElement("div",{style:{height:"calc(100% - 50px)"},className:Zt.myPaletteDiv,ref:On})),St.createElement("div",{style:{flex:1,position:"relative"}},St.createElement("div",{ref:Nt,style:{height:"80vh"}}))),St.createElement("div",{className:"tr"},St.createElement(nt.ZP,{size:"large",onClick:mi,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ot=Ft,ft=oe(5112),ct=oe(88897);const Ge=ft.ZP.Group,Ae={margin:"0 8px"};var xe=({callback:on,onCancel:ln})=>{function qt(Nt){on(Nt)}return se.createElement(ut.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:qt},se.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},se.createElement("span",{style:Ae},"\u5355\u5143\u683C\u6570\uFF1A"),se.createElement("span",{style:Ae},"\u884C\u6570"),se.createElement(ut.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},se.createElement(ct.Z,null)),se.createElement("span",{style:Ae},"\u5217\u6570"),se.createElement(ut.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},se.createElement(ct.Z,null))),se.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},se.createElement("span",{style:Ae},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),se.createElement(ut.default.Item,{name:"align"},se.createElement(Ge,null,se.createElement(ft.ZP,{value:"default"},se.createElement("i",{className:"fa fa-align-justify"})),se.createElement(ft.ZP,{value:"left"},se.createElement("i",{className:"fa fa-align-left"})),se.createElement(ft.ZP,{value:"center"},se.createElement("i",{className:"fa fa-align-center"})),se.createElement(ft.ZP,{value:"right"},se.createElement("i",{className:"fa fa-align-right"}))))),se.createElement("div",{className:"flex-container flex-end"},se.createElement(nt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(nt.ZP,{type:"ghost",onClick:ln},"\u53D6\u6D88")))},je=oe(78673),Qe=oe(98598),Oe=oe.n(Qe),hn=(0,se.forwardRef)(({use3d:on,width:ln,height:qt,callback:Nt,showSaveButton:On},Un)=>{const Vt=(0,se.useRef)(),yt=(0,se.useRef)(),[In,zn]=(0,se.useState)(!1),mi=(0,se.useRef)({id:Vt,appName:"graphing",width:ln||1e3,height:qt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,se.useEffect)(()=>{yt.current=new(Oe())(mi.current,!0),window.onload=function(){yt.current.inject("applet_container")}},[]);const Rn=()=>{var bt=window.ggbApplet.getPNGBase64(1,!0,72);return Nt&&Nt(bt),bt};return(0,se.useEffect)(()=>{mi.current.appName=In?"3D":"graphing",yt.current.inject("applet_container")},[In]),(0,se.useEffect)(()=>{zn(on)},[on]),(0,se.useImperativeHandle)(Un,()=>({getImgData:Rn})),se.createElement(se.Fragment,null,se.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Vt}),se.createElement(En.Z,{align:"middle"},se.createElement(Sn.Z,{flex:1},se.createElement(je.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:In,onChange:bt=>zn(bt)})),se.createElement(Sn.Z,null,se.createElement(nt.ZP,{size:"large",onClick:Rn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Pn=oe(75890),wt=oe(8591);const nn="link",Mn="upload-image",Zn="add-flowchart",li="draw-image",xi="add-flowchart",Mi="code-block",Si="add-table",Ri="------------",lr={default:Ri,left:`:${Ri}`,center:`:${Ri}:`,right:`${Ri}:`};var dr=oe(91300);function ur(){}let Sr=0;const Wr=1e4,Gi="\u2581",Zr="@\u2581\u2581@",Yi="@\u2581@",Ue=` **\u6A21\u677F\u6807\u9898** -\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,no=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function pr(on){return/^\d+$/.test(on)?`${on}px`:on}const Fo=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Vo={[Fo+"-B"]:"bold",[Fo+"-I"]:"italic"},Io={[nn]:"\u6DFB\u52A0\u94FE\u63A5",[Mi]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Mn]:"\u6DFB\u52A0\u56FE\u7247",[li]:"\u6DFB\u52A0\u753B\u56FE",[Zn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Si]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Oi=({defaultValue:on="",onChange:ln,width:qt="100%",height:Nt=400,miniToolbar:On=!1,isFocus:Un=!1,watch:Vt,insertTemp:yt,mode:In="markdown",id:zn="markdown-editor-id",showResizeBar:mi=!1,noStorage:Rn=!1,showNullButton:bt=!1,showNullProgramButton:Ut=!1,hidetoolBar:Ln=!1,fullScreen:ni=!1,onBlur:_t,onCMBeforeChange:yn,onFullScreen:Qt,className:un="",disablePaste:wn=!1,disabled:gn=!1,disabledFill:kn=!1,placeholder:Bn="",values:Vn="",extraUse:Jn})=>{const[Wn,gi]=(0,se.useState)(null),[Fi,ir]=(0,se.useState)(on),[zi,tn]=(0,se.useState)(Vt),[Ai,Bi]=(0,se.useState)(ni),[Ti,hr]=(0,se.useState)(""),[tr,br]=(0,se.useState)(0),[Xi,Hi]=(0,se.useState)(Nt),[Ir,Gt]=(0,se.useState)(!1),[Kr,Fn]=(0,se.useState)(0),[kr,Go]=(0,se.useState)(0),Dr=(0,se.useRef)(),po=(0,se.useRef)(),Do=(0,se.useRef)(),Ji=(0,se.useRef)();(0,se.useEffect)(()=>{const gr=window.scrollY||window.pageYOffset;ir(Vn),Wn==null||Wn.setValue(Vn),window.scrollTo(0,gr)},[Vn]),(0,se.useEffect)(()=>{Qt==null||Qt(Ai)},[Ai]),(0,se.useEffect)(()=>{if(Dr.current){let gr=function(xr,fi){var bo;if(wn){fi.preventDefault();return}const ua=fi.clipboardData;if(ua){const ca=ua.types.toString(),oa=ua.items;if(ca==="Files"||ua.types.indexOf("Files")>-1){if(fi.preventDefault(),In=="stex")return;try{let Ra=oa[1];((bo=oa[0])==null?void 0:bo.kind)==="file"&&(Ra=oa[0]);const ts=Ra.getAsFile(),cs=ts.name.split(".").pop();(0,It.I)(ts,Qa=>{var ks,Ds,jn;Qa.id?((ks=ts==null?void 0:ts.type)==null?void 0:ks.indexOf("image"))>-1?Qi.replaceSelection(`![,](/api/attachments/${Qa.id}?type=${Qa.content_type})`):((Ds=ts==null?void 0:ts.type)==null?void 0:Ds.indexOf("video"))>-1?Qi.replaceSelection(``):((jn=ts==null?void 0:ts.type)==null?void 0:jn.indexOf("pdf"))>-1?Qi.replaceSelection(`${ts.name}`):no.includes(cs)?Qi.replaceSelection(`${ts.name}`):Qi.replaceSelection(`[${ts.name}](/api/attachments/${Qa.id}?type=${Qa.content_type})`):(Qa==null?void 0:Qa.status)===401&&(document.location.href="/user/login")})}catch(Ra){wt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Qi=we().fromTextArea(Dr.current,{mode:In,lineNumbers:!On,lineWrapping:!0,value:on,autoCloseTags:!0,autoCloseBrackets:!0});return Qi.on("keyup",function(xr,fi){fi.keyCode===8&&(xr.getValue()==""?Qi.setOption("placeholder",Bn):Qi.setOption("placeholder",null))}),Qi.on("keydown",function(xr,fi){if(fi.keyCode===8){var bo=io(xr);bo&&fi.preventDefault()}}),Un&&Qi.focus(),Qi.on("paste",gr),gn&&Qi.on("beforeChange",function(xr,fi){(fi.origin==="paste"||fi.origin==="+input")&&fi.cancel()}),gi(Qi),()=>{Qi.off("paste",gr)}}},[]);const or=(0,se.useCallback)(()=>{if(po.current)try{}catch(gr){console.log(gr,"---- to set md editor body height")}},[Xi,po,Ai]);(0,se.useEffect)(()=>{function gr(){let Qi=new Ie.Z(xr=>{for(let fi of xr)(fi.target.offsetHeight>0||fi.target.offsetWidth>0)&&(or(),Wn.setSize("100%","100%"),Wn.refresh())});return Qi.observe(Dr.current.parentElement),Qi}if(Wn){const Qi=gr();return()=>{var xr,fi;(xr=Dr.current)!=null&&xr.parentElement&&Qi.unobserve((fi=Dr.current)==null?void 0:fi.parentElement)}}},[Wn,or]),(0,se.useEffect)(()=>{if(Wn){let gr=[];for(const[Qi,xr]of Object.entries(Vo)){let fi={[Qi]:()=>{_r(xr)}};gr.push(fi),Wn.addKeyMap(fi)}return()=>{for(let Qi of gr)Wn.removeKeyMap(Qi)}}},[Wn]),(0,se.useEffect)(()=>{ni!==Ai&&Bi(ni)},[ni]),(0,dr.Z)(()=>{if(!Rn&&tr>0){let gr=new Date().getTime(),Qi=window.sessionStorage.getItem(zn);gr>=tr+Wr&&(!Qi||Qi!==Fi)&&(window.sessionStorage.setItem(zn,Fi),Gt(!0))}},Wr),(0,se.useEffect)(()=>{tn(Vt)},[Wn,Vt]),(0,se.useEffect)(()=>{Wn&&Un&&Wn.focus()},[Wn,Un]),(0,se.useEffect)(()=>{if(zi&&Wn){let gr=function(xr){let fi=xr.target;if(Ji.current){let bo=fi.scrollTop/fi.scrollHeight;Ji.current.scrollTop=Ji.current.scrollHeight*bo}};const Qi=Wn.getScrollerElement();return Qi.addEventListener("scroll",gr),()=>{Qi.removeEventListener("scroll",gr)}}},[Wn,zi]),(0,se.useEffect)(()=>{if(Wn&&yn){let gr=function(Qi,xr){yn(Qi,xr)};return Wn.on("beforeChange",gr),()=>{Wn.off("beforeChange",gr)}}},[Wn,yn]),(0,se.useEffect)(()=>{if(Wn&&_t){let gr=function(){_t(Wn.getValue())};return Wn.on("blur",gr),()=>{Wn.off("blur",gr)}}},[Wn,_t]);function io(gr,Qi){var xr=gr.getDoc(),fi=xr.getCursor(),bo=xr.getLine(fi.line),ua=bo.charAt(fi.ch-1),ca=bo.lastIndexOf("@\u2581@",fi.ch),oa=bo.lastIndexOf("@\u2581\u2581@",fi.ch),Ra=ca>oa?ca:oa,ts=ca>oa?3:4;if(Zr.indexOf(ua)===-1)return null;if(console.log("change1:",Qi,gr,bo,fi,Ra,ca,oa,ua),Ra>=0&&fi.ch-Ra<5){var cs=Ra+ts;return xr.replaceRange("",{line:fi.line,ch:Ra},{line:fi.line,ch:cs}),{line:fi.line,ch:cs}}return null}(0,se.useEffect)(()=>{if(Wn){let gr=function(Qi,xr){const fi=Qi.getValue();ir(fi),br(new Date().getTime()),Qi.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ln&&(Ut?ln(fi,mr(fi)):ln(fi))};return Wn.on("change",gr),()=>{Wn.off("change",gr)}}},[Wn,ln]),(0,se.useEffect)(()=>{if(Wn)if(on==null)Wn.setValue(""),ir("");else{const gr=window.scrollY||window.pageYOffset;on!==Wn.getValue()&&(Wn.setValue(on),ir(on),Wn.setCursor(gn?1:Wn.lineCount(),0),window.scrollTo(0,gr))}},[Wn,on]);const _r=(0,se.useCallback)(gr=>{const Qi=Wn.getCursor(),xr=Wn.getSelection();let fi=xr.split(` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,no=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function pr(on){return/^\d+$/.test(on)?`${on}px`:on}const Fo=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Vo={[Fo+"-B"]:"bold",[Fo+"-I"]:"italic"},Io={[nn]:"\u6DFB\u52A0\u94FE\u63A5",[Mi]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Mn]:"\u6DFB\u52A0\u56FE\u7247",[li]:"\u6DFB\u52A0\u753B\u56FE",[Zn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Si]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Oi=({defaultValue:on="",onChange:ln,width:qt="100%",height:Nt=400,miniToolbar:On=!1,isFocus:Un=!1,watch:Vt,insertTemp:yt,mode:In="markdown",id:zn="markdown-editor-id",showResizeBar:mi=!1,noStorage:Rn=!1,showNullButton:bt=!1,showNullProgramButton:Ut=!1,hidetoolBar:Ln=!1,fullScreen:ni=!1,onBlur:Gt,onCMBeforeChange:yn,onFullScreen:Qt,className:un="",disablePaste:wn=!1,disabled:gn=!1,disabledFill:kn=!1,placeholder:Bn="",values:Vn="",extraUse:Jn})=>{const[Wn,gi]=(0,se.useState)(null),[Fi,ir]=(0,se.useState)(on),[zi,tn]=(0,se.useState)(Vt),[Ai,Bi]=(0,se.useState)(ni),[Ti,hr]=(0,se.useState)(""),[tr,br]=(0,se.useState)(0),[Xi,Hi]=(0,se.useState)(Nt),[Ir,Ht]=(0,se.useState)(!1),[Kr,Fn]=(0,se.useState)(0),[kr,Go]=(0,se.useState)(0),Dr=(0,se.useRef)(),po=(0,se.useRef)(),Do=(0,se.useRef)(),Ji=(0,se.useRef)();(0,se.useEffect)(()=>{const gr=window.scrollY||window.pageYOffset;ir(Vn),Wn==null||Wn.setValue(Vn),window.scrollTo(0,gr)},[Vn]),(0,se.useEffect)(()=>{Qt==null||Qt(Ai)},[Ai]),(0,se.useEffect)(()=>{if(Dr.current){let gr=function(xr,fi){var bo;if(wn){fi.preventDefault();return}const ua=fi.clipboardData;if(ua){const ca=ua.types.toString(),oa=ua.items;if(ca==="Files"||ua.types.indexOf("Files")>-1){if(fi.preventDefault(),In=="stex")return;try{let Ra=oa[1];((bo=oa[0])==null?void 0:bo.kind)==="file"&&(Ra=oa[0]);const ts=Ra.getAsFile(),ds=ts.name.split(".").pop();(0,It.I)(ts,Qa=>{var ks,Ds,jn;Qa.id?((ks=ts==null?void 0:ts.type)==null?void 0:ks.indexOf("image"))>-1?Qi.replaceSelection(`![,](/api/attachments/${Qa.id}?type=${Qa.content_type})`):((Ds=ts==null?void 0:ts.type)==null?void 0:Ds.indexOf("video"))>-1?Qi.replaceSelection(``):((jn=ts==null?void 0:ts.type)==null?void 0:jn.indexOf("pdf"))>-1?Qi.replaceSelection(`${ts.name}`):no.includes(ds)?Qi.replaceSelection(`${ts.name}`):Qi.replaceSelection(`[${ts.name}](/api/attachments/${Qa.id}?type=${Qa.content_type})`):(Qa==null?void 0:Qa.status)===401&&(document.location.href="/user/login")})}catch(Ra){wt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Qi=we().fromTextArea(Dr.current,{mode:In,lineNumbers:!On,lineWrapping:!0,value:on,autoCloseTags:!0,autoCloseBrackets:!0});return Qi.on("keyup",function(xr,fi){fi.keyCode===8&&(xr.getValue()==""?Qi.setOption("placeholder",Bn):Qi.setOption("placeholder",null))}),Qi.on("keydown",function(xr,fi){if(fi.keyCode===8){var bo=io(xr);bo&&fi.preventDefault()}}),Un&&Qi.focus(),Qi.on("paste",gr),gn&&Qi.on("beforeChange",function(xr,fi){(fi.origin==="paste"||fi.origin==="+input")&&fi.cancel()}),gi(Qi),()=>{Qi.off("paste",gr)}}},[]);const or=(0,se.useCallback)(()=>{if(po.current)try{}catch(gr){console.log(gr,"---- to set md editor body height")}},[Xi,po,Ai]);(0,se.useEffect)(()=>{function gr(){let Qi=new Ie.Z(xr=>{for(let fi of xr)(fi.target.offsetHeight>0||fi.target.offsetWidth>0)&&(or(),Wn.setSize("100%","100%"),Wn.refresh())});return Qi.observe(Dr.current.parentElement),Qi}if(Wn){const Qi=gr();return()=>{var xr,fi;(xr=Dr.current)!=null&&xr.parentElement&&Qi.unobserve((fi=Dr.current)==null?void 0:fi.parentElement)}}},[Wn,or]),(0,se.useEffect)(()=>{if(Wn){let gr=[];for(const[Qi,xr]of Object.entries(Vo)){let fi={[Qi]:()=>{Gr(xr)}};gr.push(fi),Wn.addKeyMap(fi)}return()=>{for(let Qi of gr)Wn.removeKeyMap(Qi)}}},[Wn]),(0,se.useEffect)(()=>{ni!==Ai&&Bi(ni)},[ni]),(0,dr.Z)(()=>{if(!Rn&&tr>0){let gr=new Date().getTime(),Qi=window.sessionStorage.getItem(zn);gr>=tr+Wr&&(!Qi||Qi!==Fi)&&(window.sessionStorage.setItem(zn,Fi),Ht(!0))}},Wr),(0,se.useEffect)(()=>{tn(Vt)},[Wn,Vt]),(0,se.useEffect)(()=>{Wn&&Un&&Wn.focus()},[Wn,Un]),(0,se.useEffect)(()=>{if(zi&&Wn){let gr=function(xr){let fi=xr.target;if(Ji.current){let bo=fi.scrollTop/fi.scrollHeight;Ji.current.scrollTop=Ji.current.scrollHeight*bo}};const Qi=Wn.getScrollerElement();return Qi.addEventListener("scroll",gr),()=>{Qi.removeEventListener("scroll",gr)}}},[Wn,zi]),(0,se.useEffect)(()=>{if(Wn&&yn){let gr=function(Qi,xr){yn(Qi,xr)};return Wn.on("beforeChange",gr),()=>{Wn.off("beforeChange",gr)}}},[Wn,yn]),(0,se.useEffect)(()=>{if(Wn&&Gt){let gr=function(){Gt(Wn.getValue())};return Wn.on("blur",gr),()=>{Wn.off("blur",gr)}}},[Wn,Gt]);function io(gr,Qi){var xr=gr.getDoc(),fi=xr.getCursor(),bo=xr.getLine(fi.line),ua=bo.charAt(fi.ch-1),ca=bo.lastIndexOf("@\u2581@",fi.ch),oa=bo.lastIndexOf("@\u2581\u2581@",fi.ch),Ra=ca>oa?ca:oa,ts=ca>oa?3:4;if(Zr.indexOf(ua)===-1)return null;if(console.log("change1:",Qi,gr,bo,fi,Ra,ca,oa,ua),Ra>=0&&fi.ch-Ra<5){var ds=Ra+ts;return xr.replaceRange("",{line:fi.line,ch:Ra},{line:fi.line,ch:ds}),{line:fi.line,ch:ds}}return null}(0,se.useEffect)(()=>{if(Wn){let gr=function(Qi,xr){const fi=Qi.getValue();ir(fi),br(new Date().getTime()),Qi.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ln&&(Ut?ln(fi,mr(fi)):ln(fi))};return Wn.on("change",gr),()=>{Wn.off("change",gr)}}},[Wn,ln]),(0,se.useEffect)(()=>{if(Wn)if(on==null)Wn.setValue(""),ir("");else{const gr=window.scrollY||window.pageYOffset;on!==Wn.getValue()&&(Wn.setValue(on),ir(on),Wn.setCursor(gn?1:Wn.lineCount(),0),window.scrollTo(0,gr))}},[Wn,on]);const Gr=(0,se.useCallback)(gr=>{const Qi=Wn.getCursor(),xr=Wn.getSelection();let fi=xr.split(` `);switch(gr){case"bold":return Wn.replaceSelection("**"+xr+"**"),xr===""&&Wn.setCursor(Qi.line,Qi.ch+2),Wn.focus();case"italic":return Wn.replaceSelection("*"+xr+"*"),xr===""&&Wn.setCursor(Qi.line,Qi.ch+1),Wn.focus();case"code":return Wn.replaceSelection("`"+xr+"`"),xr===""&&Wn.setCursor(Qi.line,Qi.ch+1),Wn.focus();case"inline-latex":return hr("inline-latex"),Wn.focus();case"latex":return Wn.replaceSelection("```latex\n"+xr+"\n```"),Wn.setCursor(Qi.line+1,xr.length+1),Wn.focus();case"line-break":return Wn.replaceSelection(`
`),Wn.focus();case"list-ul":return xr===""?Wn.replaceSelection("- "+xr):Wn.replaceSelection(fi.map(bo=>bo===""?"":`- ${bo}`).join(` `)),Wn.focus();case"list-ol":return xr===""?Wn.replaceSelection("1. "+xr):Wn.replaceSelection(fi.map((bo,ua)=>bo===""?"":`${ua+1}. ${bo}`).join(` `)),Wn.focus();case"add-null-ch":return xr===""&&Wn.setCursor(Qi.line,Qi.ch),Wn.replaceSelection(Gi),Wn.focus();case"add-signal":return xr===""&&Wn.setCursor(Qi.line,Qi.ch),Wn.replaceSelection(Yi),Wn.focus();case"add-multiple":return xr===""&&Wn.setCursor(Qi.line,Qi.ch),Wn.replaceSelection(Zr),Wn.focus();case"inster-template-1":return xr===""&&Wn.setCursor(Qi.line,Qi.ch),Wn.replaceSelection(Ue),Wn.focus();case"eraser":return Wn.setValue(""),Wn.focus();case"trigger-watch":return tn(!zi),Wn.focus();case"trigger-full-screen":return Bi(!Ai),Wn.focus();case nn:hr(nn);return;case Mi:hr(Mi);return;case Mn:hr(Mn);return;case li:hr(li);return;case"maths-latex":hr("maths-latex");return;case Zn:hr(Zn);return;case Si:hr(Si);return;default:throw new Error}},[Wn,zi,Ai]),Ii=(0,se.useCallback)((gr,Qi)=>{var xr,fi,bo,ua,ca,oa;switch(hr(""),Ti){case nn:const{title:ks,link:Ds}=gr;return Wn.replaceSelection(`[${ks}](${Ds})`),Wn.focus();case Mi:const{language:jn,content:gs}=gr;return Wn.replaceSelection(["```"+jn,gs,"```"].join(` -`)),Wn.focus();case"maths-latex":for(var Ra=atob(gr),ts=new Uint8Array(Ra.length),cs=0;cs{ns.id?Wn.replaceSelection(`![,](/api/attachments/${ns.id}?type=${ns.content_type})`):(ns==null?void 0:ns.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Wn.replaceSelection("`$$"+gr+"$$`");break;case Mn:case li:case xi:const{src:Ql,alt:Kl}=gr,Oo=Qi,ma=(bo=(fi=(xr=Oo==null?void 0:Oo.name)==null?void 0:xr.split("."))==null?void 0:fi.pop)==null?void 0:bo.call(fi);return((ua=Oo==null?void 0:Oo.type)==null?void 0:ua.indexOf("image"))>-1||!(Oo!=null&&Oo.type)?Kl?Wn.replaceSelection(`![ ${Kl} ]( ${Ql} "${Kl}" )`):Wn.replaceSelection(`![,](${Ql})`):((ca=Oo==null?void 0:Oo.type)==null?void 0:ca.indexOf("video"))>-1?Wn.replaceSelection(``):((oa=Oo==null?void 0:Oo.type)==null?void 0:oa.indexOf("pdf"))>-1?Wn.replaceSelection(`${Oo.name}`):no.includes(ma)?Wn.replaceSelection(`${Oo.name}`):Wn.replaceSelection(`[${Oo.name}](${Ql})`),Wn.focus();case Si:const{row:ds,col:aa,align:Xr}=gr;let Qr=` -`;for(let ns=0;ns{ns.id?Wn.replaceSelection(`![,](/api/attachments/${ns.id}?type=${ns.content_type})`):(ns==null?void 0:ns.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Wn.replaceSelection("`$$"+gr+"$$`");break;case Mn:case li:case xi:const{src:Ql,alt:Kl}=gr,Oo=Qi,ma=(bo=(fi=(xr=Oo==null?void 0:Oo.name)==null?void 0:xr.split("."))==null?void 0:fi.pop)==null?void 0:bo.call(fi);return((ua=Oo==null?void 0:Oo.type)==null?void 0:ua.indexOf("image"))>-1||!(Oo!=null&&Oo.type)?Kl?Wn.replaceSelection(`![ ${Kl} ]( ${Ql} "${Kl}" )`):Wn.replaceSelection(`![,](${Ql})`):((ca=Oo==null?void 0:Oo.type)==null?void 0:ca.indexOf("video"))>-1?Wn.replaceSelection(``):((oa=Oo==null?void 0:Oo.type)==null?void 0:oa.indexOf("pdf"))>-1?Wn.replaceSelection(`${Oo.name}`):no.includes(ma)?Wn.replaceSelection(`${Oo.name}`):Wn.replaceSelection(`[${Oo.name}](${Ql})`),Wn.focus();case Si:const{row:hs,col:aa,align:Xr}=gr;let Qr=` +`;for(let ns=0;ns{switch(Ti){case nn:return se.createElement(Bt,{callback:Ii,onCancel:Rr});case Mi:return se.createElement(sn.Z,{callback:Ii,onCancel:Rr});case Mn:return se.createElement(It.Z,{callback:Ii,onCancel:Rr});case Zn:return se.createElement(Ot,{callback:Ii,onCancel:Rr});case Si:return se.createElement(xe,{callback:Ii,onCancel:Rr});case"maths-latex":return se.createElement(hn,{showSaveButton:!0,callback:Ii});case"inline-latex":return se.createElement(Pn.Z,{showSaveButton:!0,callback:Ii});default:return null}},[Ti]);function Rr(){hr("")}(0,se.useEffect)(()=>{if(Do.current){let gr=function(ca){bo=!0,ua=ca.pageY},Qi=function(){bo=!1},xr=function(ca){if(bo){let oa=ca.pageY-ua;oa<0&&(oa=0),oa>300&&(oa=300);let Ra=Nt+oa+"px";Hi(Ra)}},fi=Do.current,bo=!1,ua=0;return fi.addEventListener("mousedown",gr),document.addEventListener("mousemove",xr),document.addEventListener("mouseup",Qi),()=>{fi.removeEventListener("mousedown",gr),document.removeEventListener("mousemove",xr),document.removeEventListener("mouseup",Qi)}}},[Wn,Do]),(0,se.useEffect)(()=>{Hi(Nt)},[Nt]);const Ko=pr(qt),Yr=pr(Xi),yo={width:Ko,height:Yr},Mr=(0,se.useMemo)(()=>{if(tr){let gr=new Date(tr),Qi=gr.getHours(),xr=gr.getMinutes(),fi=gr.getSeconds();return Qi=Qi<10?"0"+Qi:Qi,xr=xr<10?"0"+xr:xr,fi=fi<10?"0"+fi:fi,`${Qi}:${xr}:${fi}`}return 0},[tr]),mr=gr=>{const Qi=[];if(Ut){let xr=-1;gr=gr.replace(/(@▁▁@|@▁@)/g,function(fi,bo,ua){Qi.push({multiLine:fi!==Yi})})}return Qi};function co(){window.sessionStorage.removeItem(zn),Gt(!1),br(0)}function Uo(){Gt(!1),br(0),Wn.setValue(window.sessionStorage.getItem(zn))}(0,se.useEffect)(()=>{Io[Ti]&&Ti!==li&&Ti!==Zn&&setTimeout(()=>{const gr=document.getElementsByClassName("markdown-popup-form")[0],Qi=window.innerWidth/2-gr.offsetWidth/2,xr=window.innerHeight/2-gr.offsetHeight/2;Fn(Qi),Go(xr)},0)},[Ti]);const ao=gr=>{gr.preventDefault();const Qi=gr.clientX-Kr,xr=gr.clientY-kr;document.body.onmousemove=fi=>{let bo=fi.clientX-Qi,ua=fi.clientY-xr;const ca=document.getElementsByClassName("markdown-popup-form")[0],oa=window.innerWidth-ca.offsetWidth,Ra=window.innerHeight-ca.offsetHeight;bo=Math.max(0,Math.min(bo,oa)),ua=Math.max(0,Math.min(ua,Ra)),ra(fi.clientX,fi.clientY,Qi,xr)&&(Fn(bo),Go(ua))},document.body.onmouseup=function(){document.body.onmousemove=null}},ra=(gr,Qi,xr,fi)=>{const bo=document.body.clientHeight,ua=document.body.clientWidth;return gr<20&&xr>gr||gr>ua-20&&xrQi||Qi>bo-20&&fiWe in Te?et(Te,We,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Te[We]=$e,ee=(Te,We)=>{for(var $e in We||(We={}))ht.call(We,$e)&&ze(Te,$e,We[$e]);if(tt)for(var $e of tt(We))kt.call(We,$e)&&ze(Te,$e,We[$e]);return Te},ne=(Te,We)=>Je(Te,Ye(We));const{useForm:ge}=se.default,ue={width:280,marginRight:10},me={labelCol:{span:5},wrapperCol:{span:19}};var Se=({callback:Te,onCancel:We})=>{const[$e]=ge();let st=(0,Ke.useRef)();function ut($t){Te($t,st.current)}function Mt($t,Pt){if($t.status===-1){Ce.ZP.error($t.message);return}$e.setFieldsValue({src:`/api/attachments/${$t.id}`,type:Pt.type})}function nt($t){let Pt=$t.target.files[0];st.current=Pt,ke(Pt,Mt)}return Ee.createElement(se.default,ne(ee({form:$e},me),{className:"upload-image-panel",onFinish:ut,style:{width:470,overflow:"hidden"}}),Ee.createElement(se.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ee.createElement("div",{className:"flex-container"},Ee.createElement(se.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},Ee.createElement(we.default,{style:ue})),Ee.createElement(Ne,{onFileChange:nt}))),Ee.createElement(se.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ee.createElement(we.default,{style:{width:264}})),Ee.createElement(se.default.Item,{style:{textAlign:"right"}},Ee.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ee.createElement(Ie.ZP,{type:"default",onClick:We},"\u53D6\u6D88")))};function Ne({onFileChange:Te}){return Ee.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ee.createElement("input",{type:"file",onChange:Te}))}function ke(Te,We){if(!Te)throw new String("\u6CA1\u6709\u6587\u4EF6");let $e=new FormData;$e.append("editormd-image-file",Te),$e.append("file_param_name","editormd-image-file"),$e.append("byxhr","true");var st=new window.XMLHttpRequest;st.withCredentials=!0,st.addEventListener("load",function(ut){We(JSON.parse(ut.target.responseText),Te)},!1),st.addEventListener("error",function(ut){console.error(ut)},!1),st.open("POST",`${De.KI}/api/attachments.json`),st.send($e)}},50474:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return we}});var se=oe(59301),Ce=oe(4676);class we extends se.Component{constructor(De){super(De);const Ke=window.document;this.node=Ke.createElement("div"),Ke.body.appendChild(this.node)}render(){const{children:De}=this.props;return(0,Ce.createPortal)(De,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},48551:function(_e,be,oe){"use strict";oe.d(be,{SV:function(){return Ft},ZP:function(){return rt}});var se=oe(59301),Ce=oe(76374);const we={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Ie={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` +`),Wn.focus();default:throw new Error}},[Wn,Ti]),lt=(0,se.useMemo)(()=>{switch(Ti){case nn:return se.createElement(Bt,{callback:Ii,onCancel:Rr});case Mi:return se.createElement(sn.Z,{callback:Ii,onCancel:Rr});case Mn:return se.createElement(It.Z,{callback:Ii,onCancel:Rr});case Zn:return se.createElement(Ot,{callback:Ii,onCancel:Rr});case Si:return se.createElement(xe,{callback:Ii,onCancel:Rr});case"maths-latex":return se.createElement(hn,{showSaveButton:!0,callback:Ii});case"inline-latex":return se.createElement(Pn.Z,{showSaveButton:!0,callback:Ii});default:return null}},[Ti]);function Rr(){hr("")}(0,se.useEffect)(()=>{if(Do.current){let gr=function(ca){bo=!0,ua=ca.pageY},Qi=function(){bo=!1},xr=function(ca){if(bo){let oa=ca.pageY-ua;oa<0&&(oa=0),oa>300&&(oa=300);let Ra=Nt+oa+"px";Hi(Ra)}},fi=Do.current,bo=!1,ua=0;return fi.addEventListener("mousedown",gr),document.addEventListener("mousemove",xr),document.addEventListener("mouseup",Qi),()=>{fi.removeEventListener("mousedown",gr),document.removeEventListener("mousemove",xr),document.removeEventListener("mouseup",Qi)}}},[Wn,Do]),(0,se.useEffect)(()=>{Hi(Nt)},[Nt]);const Ko=pr(qt),Yr=pr(Xi),yo={width:Ko,height:Yr},Mr=(0,se.useMemo)(()=>{if(tr){let gr=new Date(tr),Qi=gr.getHours(),xr=gr.getMinutes(),fi=gr.getSeconds();return Qi=Qi<10?"0"+Qi:Qi,xr=xr<10?"0"+xr:xr,fi=fi<10?"0"+fi:fi,`${Qi}:${xr}:${fi}`}return 0},[tr]),mr=gr=>{const Qi=[];if(Ut){let xr=-1;gr=gr.replace(/(@▁▁@|@▁@)/g,function(fi,bo,ua){Qi.push({multiLine:fi!==Yi})})}return Qi};function co(){window.sessionStorage.removeItem(zn),Ht(!1),br(0)}function Uo(){Ht(!1),br(0),Wn.setValue(window.sessionStorage.getItem(zn))}(0,se.useEffect)(()=>{Io[Ti]&&Ti!==li&&Ti!==Zn&&setTimeout(()=>{const gr=document.getElementsByClassName("markdown-popup-form")[0],Qi=window.innerWidth/2-gr.offsetWidth/2,xr=window.innerHeight/2-gr.offsetHeight/2;Fn(Qi),Go(xr)},0)},[Ti]);const ao=gr=>{gr.preventDefault();const Qi=gr.clientX-Kr,xr=gr.clientY-kr;document.body.onmousemove=fi=>{let bo=fi.clientX-Qi,ua=fi.clientY-xr;const ca=document.getElementsByClassName("markdown-popup-form")[0],oa=window.innerWidth-ca.offsetWidth,Ra=window.innerHeight-ca.offsetHeight;bo=Math.max(0,Math.min(bo,oa)),ua=Math.max(0,Math.min(ua,Ra)),ra(fi.clientX,fi.clientY,Qi,xr)&&(Fn(bo),Go(ua))},document.body.onmouseup=function(){document.body.onmousemove=null}},ra=(gr,Qi,xr,fi)=>{const bo=document.body.clientHeight,ua=document.body.clientWidth;return gr<20&&xr>gr||gr>ua-20&&xrQi||Qi>bo-20&&fiWe in Te?et(Te,We,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Te[We]=$e,ee=(Te,We)=>{for(var $e in We||(We={}))ht.call(We,$e)&&ze(Te,$e,We[$e]);if(tt)for(var $e of tt(We))kt.call(We,$e)&&ze(Te,$e,We[$e]);return Te},ne=(Te,We)=>Je(Te,Ye(We));const{useForm:ge}=se.default,ue={width:280,marginRight:10},me={labelCol:{span:5},wrapperCol:{span:19}};var Se=({callback:Te,onCancel:We})=>{const[$e]=ge();let st=(0,Ke.useRef)();function ut($t){Te($t,st.current)}function Mt($t,Pt){if($t.status===-1){Ce.ZP.error($t.message);return}$e.setFieldsValue({src:`/api/attachments/${$t.id}`,type:Pt.type})}function nt($t){let Pt=$t.target.files[0];st.current=Pt,ke(Pt,Mt)}return Ee.createElement(se.default,ne(ee({form:$e},me),{className:"upload-image-panel",onFinish:ut,style:{width:470,overflow:"hidden"}}),Ee.createElement(se.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ee.createElement("div",{className:"flex-container"},Ee.createElement(se.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},Ee.createElement(we.default,{style:ue})),Ee.createElement(Ne,{onFileChange:nt}))),Ee.createElement(se.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ee.createElement(we.default,{style:{width:264}})),Ee.createElement(se.default.Item,{style:{textAlign:"right"}},Ee.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ee.createElement(Ie.ZP,{type:"default",onClick:We},"\u53D6\u6D88")))};function Ne({onFileChange:Te}){return Ee.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ee.createElement("input",{type:"file",onChange:Te}))}function ke(Te,We){if(!Te)throw new String("\u6CA1\u6709\u6587\u4EF6");let $e=new FormData;$e.append("editormd-image-file",Te),$e.append("file_param_name","editormd-image-file"),$e.append("byxhr","true");var st=new window.XMLHttpRequest;st.withCredentials=!0,st.addEventListener("load",function(ut){We(JSON.parse(ut.target.responseText),Te)},!1),st.addEventListener("error",function(ut){console.error(ut)},!1),st.open("POST",`${De.KI}/api/attachments.json`),st.send($e)}},50474:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return we}});var se=oe(59301),Ce=oe(4676);class we extends se.Component{constructor(De){super(De);const Ke=window.document;this.node=Ke.createElement("div"),Ke.body.appendChild(this.node)}render(){const{children:De}=this.props;return(0,Ce.createPortal)(De,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},48551:function(_e,be,oe){"use strict";oe.d(be,{SV:function(){return Ft},ZP:function(){return rt}});var se=oe(59301),Ce=oe(76374);const we={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Ie={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},De={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` @@ -1097,7 +1097,7 @@ `)},{label:"include ",content:["#include "].join(` `)}]},Ke={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},Ee={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var et=oe(86061),Je=oe.n(et),Ye=Object.defineProperty,tt=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ne=(Ot,ft,ct)=>ft in Ot?Ye(Ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ot[ft]=ct,ge=(Ot,ft)=>{for(var ct in ft||(ft={}))ze.call(ft,ct)&&ne(Ot,ct,ft[ct]);if(kt)for(var ct of kt(ft))ee.call(ft,ct)&&ne(Ot,ct,ft[ct]);return Ot},ue=(Ot,ft)=>tt(Ot,ht(ft)),me=(Ot,ft,ct)=>new Promise((Ge,Ae)=>{var xe=Oe=>{try{Qe(ct.next(Oe))}catch(xt){Ae(xt)}},je=Oe=>{try{Qe(ct.throw(Oe))}catch(xt){Ae(xt)}},Qe=Oe=>Oe.done?Ge(Oe.value):Promise.resolve(Oe.value).then(xe,je);Qe((ct=ct.apply(Ot,ft)).next())});const Se={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Ne=(Ot,ft)=>ft.map(ct=>({label:ct,kind:Ot.languages.CompletionItemKind.Keyword,insertText:ct})),ke=Ot=>Object.keys(Se.tables).map(ft=>({label:ft,kind:Ot.languages.CompletionItemKind.Variable,insertText:ft})),Te=(Ot,ft)=>{const ct=Se.tables[Ot];return ct?ct.map(Ge=>({label:Ge,kind:ft.languages.CompletionItemKind.Field,insertText:Ge})):[]};function We(Ot,ft,ct,Ge,Ae){let xe=ft.getWordUntilPosition(ct),je={startLineNumber:ct.lineNumber,endLineNumber:ct.lineNumber,startColumn:xe.startColumn,endColumn:xe.endColumn},Qe=Ge.map(Oe=>({label:Oe,kind:Ot.languages.CompletionItemKind.Keyword,insertText:Oe,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:je}));return Ae.map(Oe=>{Qe.push(ue(ge({},Oe),{range:je}))}),Qe}var $e=Ot=>{Se.languages.map(Ae=>(Ot.languages.registerDocumentFormattingEditProvider(Ae,{provideDocumentFormattingEdits(xe,je,Qe){return me(this,null,function*(){const Oe=Je()(xe.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:xe.getFullModelRange(),text:Oe}]})}}),Ae));const ft=De.quickKey.map(Ae=>({label:Ae.label,kind:Ot.languages.CompletionItemKind.Method,insertText:Ae.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ct=Ke.quickKey.map(Ae=>({label:Ae.label,kind:Ot.languages.CompletionItemKind.Method,insertText:Ae.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ge=Ie.quickKey.map(Ae=>({label:Ae.label,kind:Ot.languages.CompletionItemKind.Method,insertText:Ae.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Ot.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},Oe=Ae.getLineContent(xe.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[...De.keywords.map(xt=>({label:xt,kind:Ot.languages.CompletionItemKind.Function,documentation:xt,insertText:xt,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe})),...De.quickKey.map(xt=>({label:xt.label,kind:Ot.languages.CompletionItemKind.Function,documentation:xt.content,insertText:Oe.startsWith("#")?xt.content.replace(/#/,""):xt.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}}),Ot.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn};return{suggestions:[...we.keywords.map(Oe=>({label:Oe,kind:Ot.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}}),Ot.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},Oe=Ae.getLineContent(xe.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[...Ie.keywords.map(xt=>({label:xt,kind:Ot.languages.CompletionItemKind.Function,documentation:xt,insertText:xt,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe})),...Ie.quickKey.map(xt=>({label:xt.label,kind:Ot.languages.CompletionItemKind.Function,documentation:xt.content,insertText:Oe.startsWith("#")?xt.content.replace(/#/,""):xt.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}}),Ot.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},Oe=Ae.getLineContent(xe.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[...Ee.keywords.map(xt=>({label:xt,kind:Ot.languages.CompletionItemKind.Function,documentation:xt,insertText:xt,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe})),...Ee.quickKey.map(xt=>({label:xt.label,kind:Ot.languages.CompletionItemKind.Function,documentation:xt.content,insertText:Oe.startsWith("#")?xt.content.replace(/#/,""):xt.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}}),Ot.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},Oe=Ae.getLineContent(xe.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[...Ke.keywords.map(xt=>({label:xt,kind:Ot.languages.CompletionItemKind.Function,documentation:xt,insertText:xt,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe})),...Ke.quickKey.map(xt=>({label:xt.label,kind:Ot.languages.CompletionItemKind.Function,documentation:xt.content,insertText:Oe.startsWith("#")?xt.content.replace(/#/,""):xt.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}})};const st="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ut=Object.defineProperty,Mt=(Ot,ft,ct)=>ft in Ot?ut(Ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ot[ft]=ct,nt=(Ot,ft,ct)=>Mt(Ot,typeof ft!="symbol"?ft+"":ft,ct);const $t=class P1{constructor(ft,ct,Ge){this.placeholder=ft,this.editor=ct,this.monaco=Ge,ct.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return P1.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};nt($t,"ID","editor.widget.placeholderHint");var dn=$t,zt=oe(96236),Xt=oe(8591),fn=oe(6848),an=oe(89392),it=oe(86766),Ve=oe(56102),gt=Object.defineProperty,Bt=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,ei=(Ot,ft,ct)=>ft in Ot?gt(Ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ot[ft]=ct,An=(Ot,ft)=>{for(var ct in ft||(ft={}))en.call(ft,ct)&&ei(Ot,ct,ft[ct]);if(It)for(var ct of It(ft))En.call(ft,ct)&&ei(Ot,ct,ft[ct]);return Ot},Kn=(Ot,ft)=>Bt(Ot,sn(ft)),jt=(Ot,ft)=>{var ct={};for(var Ge in Ot)en.call(Ot,Ge)&&ft.indexOf(Ge)<0&&(ct[Ge]=Ot[Ge]);if(Ot!=null&&It)for(var Ge of It(Ot))ft.indexOf(Ge)<0&&En.call(Ot,Ge)&&(ct[Ge]=Ot[Ge]);return ct},Nn=(Ot,ft,ct)=>new Promise((Ge,Ae)=>{var xe=Oe=>{try{Qe(ct.next(Oe))}catch(xt){Ae(xt)}},je=Oe=>{try{Qe(ct.throw(Oe))}catch(xt){Ae(xt)}},Qe=Oe=>Oe.done?Ge(Oe.value):Promise.resolve(Oe.value).then(xe,je);Qe((ct=ct.apply(Ot,ft)).next())});function Gn(Ot){return/^\d+$/.test(Ot)?`${Ot}px`:Ot}function ii(){}let Sn=!1;const Yt={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Zt(Ot=[]){let ft=Ot;if(Array.isArray(Ot)){for(let ct=0;ct{var ft=Ot,{width:ct="100%",height:Ge="100%",value:Ae,language:xe="javascript",style:je={},options:Qe={},overrideServices:Oe={},theme:xt="vs-dark",onEditBlur:hn,isCopy:Pn=!1,onSave:wt,autoHeight:nn=!1,forbidCopy:Mn=!1,onChange:Zn=ii,editorDidMount:li=ii,onFocus:xi=ii,onBreakPoint:Mi=ii,breakPointValue:Si=[],filename:Ri="educoder.txt",errorLine:lr,errorContent:dr="",highlightLine:ur,openBreakPoint:Sr=!1,placeholder:Wr=""}=ft,Gi=jt(ft,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Zr=(0,se.useRef)(),Yi=(0,se.useRef)({}),Ue=(0,se.useRef)(),no=(0,se.useRef)(),pr=(0,se.useRef)([]),fo=(0,se.useRef)(!1),Fo=(0,se.useRef)(),Vo=(0,se.useRef)(),Io=(0,se.useRef)(!1),[Oi,on]=(0,se.useState)(!1);function ln(){let _t;return Zr.current&&(_t=new Ce.Z(yn=>{for(let Qt of yn)(Qt.target.offsetHeight>0||Qt.target.offsetWidth>0)&&Yi.current.instance.layout()}),_t.observe(Zr.current)),_t}function qt(){Xt.ZP.warning({content:decodeURIComponent(st),key:"monaco-editor-tip"})}const Nt=()=>{let _t=Yi.current.instance;if(Ae!=null&&_t&&Oi){const yn=_t.getModel();yn&&Ae!==yn.getValue()&&(Sn=!0,yn.setValue(Ae),_t.layout(),Sn=!1)}};(0,se.useEffect)(()=>{const _t=it.Z.subscribe("formatDocument",yn=>{var Qt;let un=Yi.current.instance;(Qt=un==null?void 0:un.getAction)==null||Qt.call(un,"editor.action.formatDocument").run()});return window.updateMonacoValue=yn=>{Zn(yn)},_t},[]),(0,se.useEffect)(()=>{var _t;let yn=Yi.current.instance;no.current&&clearTimeout(no.current),no.current=setTimeout(()=>{Nt()},500),Ae&&(Ae!=null&&Ae.length)&&((_t=yn==null?void 0:yn.updateOptions)==null||_t.call(yn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ae.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ae,Oi,Yi.current]),(0,se.useEffect)(()=>{if(lr&&Yi.current&&Yi.current.instance){let yn=Yi.current.instance;yn.changeViewZones(function(Qt){var un=document.createElement("div");un.style.padding="10px 20px",un.style.width="calc(100% - 20px)",un.className="my-error-line-wrp",un.innerHTML=dr,Qt.addZone({afterLineNumber:lr||11,heightInLines:3,domNode:un})});var _t={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};yn.addOverlayWidget(_t),yn.revealPositionInCenter({lineNumber:20,column:1})}},[lr,Yi.current,Oi]);const On=(_t="",yn)=>{if(!_t||_t.trim()==="")return!0;const un=Yi.current.instance.getModel().getLineTokens(yn);let wn=!1;for(let gn=0;gn<2;gn++)un.getStandardTokenType(gn)===1&&(wn=!0);return wn};(0,se.useEffect)(()=>{var _t;const yn=(_t=Yi.current)==null?void 0:_t.instance;if(yn&&Oi&&Mn){const Qt=yn.onDidBlurEditorWidget(()=>{Io.current=!1}),un=yn.onDidFocusEditorText(()=>{Io.current=!0});return()=>{Qt.dispose(),un.dispose()}}},[Yi.current,Oi,Mn]),(0,se.useEffect)(()=>{var _t;if((_t=Yi.current)!=null&&_t.instance&&Oi&&Sr){let yn=Yi.current.instance,Qt=yn.getModel();if(!Qt)return;(()=>{var zi;let tn=[],Ai=[];const Bi=Qt.getAllDecorations();for(let hr of Bi)hr.options.className==="highlighted-line"&&(tn.push((zi=hr==null?void 0:hr.range)==null?void 0:zi.startLineNumber),Ai.push(hr==null?void 0:hr.id));if(ur===tn[0])return;Qt.deltaDecorations(Ai,[]);const Ti=Qt.getLineCount();ur&&ur<=Ti&&(yn.deltaDecorations([],[{range:new St.Range(ur,1,ur,Qt.getLineMaxColumn(ur)),options:{isWholeLine:!0,className:"highlighted-line"}}]),yn.revealLineInCenter(ur))})();const wn=(zi=!1)=>{var tn;let Ai=[],Bi=[];const Ti=Qt.getAllDecorations();for(let hr of Ti)hr.options.linesDecorationsClassName==="breakpoints-select"&&(Ai.push((tn=hr==null?void 0:hr.range)==null?void 0:tn.startLineNumber),Bi.push(hr==null?void 0:hr.id));if(zi)return{lines:Ai,ids:Bi};Mi(Ai)},gn=zi=>Nn(void 0,null,function*(){let tn={range:new St.Range(zi,1,zi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Qt.deltaDecorations([],[tn]),wn()}),kn=zi=>Nn(void 0,null,function*(){let tn=[];const Ai=yn.getLineDecorations(zi);for(let Bi of Ai)Bi.options.linesDecorationsClassName==="breakpoints-select"&&tn.push(Bi.id);yield Qt.deltaDecorations(tn,[]),wn()}),Bn=zi=>{let tn=yn.getLineDecorations(zi);for(let Ai of tn)if(Ai.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,an.isEqual)(Si,wn(!0).lines)){Qt.deltaDecorations(wn(!0).ids,[]);const zi=Si.map(tn=>({range:new St.Range(tn,1,tn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Qt.deltaDecorations([],zi)}const Vn=yn.onDidChangeModelContent(zi=>{let tn=yn.getPosition();if(tn){let Ai=tn.lineNumber;clearTimeout(Vo.current),Vo.current=setTimeout(()=>{On(Qt.getLineContent(Ai),Ai)?kn(Ai):Bn(Ai)?(kn(Ai),gn(Ai)):wn()},100)}}),Jn=yn.onMouseDown(zi=>{var tn,Ai,Bi;if(zi.target.detail&&((Bi=(Ai=(tn=zi.target)==null?void 0:tn.element)==null?void 0:Ai.className)!=null&&Bi.includes("line-numbers"))){let Ti=zi.target.position.lineNumber;if(On(Qt.getLineContent(Ti),Ti))return;Bn(Ti)?kn(Ti):gn(Ti)}}),Wn=zi=>{let tn={range:new St.Range(zi,1,zi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};pr.current=yn.deltaDecorations(pr.current,[tn])},gi=()=>{pr.current=yn.deltaDecorations(pr.current,[])},Fi=yn.onMouseMove(zi=>{var tn,Ai,Bi;if(gi(),zi.target.detail&&((Bi=(Ai=(tn=zi.target)==null?void 0:tn.element)==null?void 0:Ai.className)!=null&&Bi.includes("line-numbers"))){let Ti=zi.target.position.lineNumber;if(On(Qt.getLineContent(Ti),Ti))return;Wn(Ti)}}),ir=yn.onMouseLeave(()=>{gi()});return()=>{Vn.dispose(),Jn.dispose(),Fi.dispose(),ir.dispose()}}},[Yi.current,Oi,Si,ur,Sr,xe]),(0,se.useEffect)(()=>{var _t;(_t=Yi.current)!=null&&_t.instance&&Sr&&Yi.current.instance.setPosition({lineNumber:0,column:0})},[ur]);function Un(){let _t=Yi.current.instance;if(_t){const yn=_t.getSelection(),Qt=Yi.current.pastePos||{},un=new St.Range(Qt.startLineNumber||yn.endLineNumber,Qt.startColumn||yn.endColumn,Qt.endLineNumber||yn.endLineNumber,Qt.endColumn||yn.endColumn);setTimeout(()=>{_t.executeEdits("",[{range:un,text:""}])},300)}}function Vt(_t){(window.navigator.platform.match("Mac")?_t.metaKey:_t.ctrlKey)&&_t.keyCode==83&&(_t.preventDefault(),wt())}const yt=()=>{if(nn&&Yi.current.instance){const _t=Yi.current.instance.getContentHeight();Ln(_t{if(!Io.current)return;const{keyCode:yn,ctrlKey:Qt,metaKey:un,target:wn,type:gn}=_t;return(gn==="paste"||(yn===67||yn===86)&&(un||Qt))&&wn.nodeName==="TEXTAREA"&&(qt(),_t.preventDefault()),!1};function mi(_t,yn){var Qt=window.URL||window.webkitURL||window,un=new Blob([yn]),wn=document.createElementNS("http://www.w3.org/1999/xhtml","a");wn.href=Qt.createObjectURL(un),wn.download=_t,In(wn)}(0,se.useEffect)(()=>{yt()},[yt]),(0,se.useEffect)(()=>{Zr.current&&!Oi&&Promise.all([oe.e(8909),oe.e(1810)]).then(oe.bind(oe,71448)).then(_t=>{try{St=_t,Yi.current.instance=St.editor.create(Zr.current,{value:Ae,language:Zt(xe),theme:xt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Oe);const yn=Yi.current.instance;let wn=[...zt.BH._menuItems].find(Vn=>Vn[0]._debugName=="EditorContext")[1],gn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],kn=(Vn,Jn)=>{var Wn,gi;let Fi=Vn._first;do Jn.includes((gi=(Wn=Fi.element)==null?void 0:Wn.command)==null?void 0:gi.id)&&Vn._remove(Fi);while(Fi=Fi.next)};if(li(yn,St),setTimeout(()=>{yt(),Yi.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{mi(Ri||"educoder.txt",yn.getValue())}})},500),Yi.current.subscription=yn.onDidChangeModelContent(Vn=>{fo.current?clearTimeout(Fo.current):(yt(),Zn(yn.getValue(),Vn)),Fo.current=setTimeout(()=>{fo.current=!1},500)}),window.Monaco||$e(St,Zt(xe)),Mn&&(kn(wn,gn),Zr.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",zn),window.removeEventListener("paste",zn),window.addEventListener("keydown",zn),window.addEventListener("paste",zn)),window.Monaco=St,hn&&yn.onDidBlurEditorWidget(()=>{hn(yn.getValue())}),xi&&yn.onDidFocusEditorText(()=>{xi(yn.getValue())}),Mn)try{yn.onDidPaste(Vn=>{const Jn=yn.getSelection(),Wn=Yi.current.pastePos||{},gi=new St.Range(Wn.startLineNumber||Jn.endLineNumber,Wn.startColumn||Jn.endColumn,Wn.endLineNumber||Jn.endLineNumber,Wn.endColumn||Jn.endColumn);yn.executeEdits("",[{range:Vn.range,text:""}])})}catch(Vn){}let Bn=ln();return Wr&&typeof Wr=="string"&&new dn(Wr,yn,St),on(!0),()=>{const Vn=Yi.current.instance;Vn.dispose();const Jn=Vn.getModel();Jn&&Jn.dispose(),Yi.current.subscription&&Yi.current.subscription.dispose(),Bn.unobserve(Zr.current)}}catch(yn){}})},[]),(0,se.useEffect)(()=>{if(Yi.current.instance&&Oi)return document.addEventListener("keydown",Vt,!1),()=>{document.removeEventListener("keydown",Vt)}},[wt,Oi]),(0,se.useEffect)(()=>{let _t=Yi.current.instance;if(_t&&Oi){let yn=Zt(xe);St.editor.setModelLanguage(_t.getModel(),yn)}},[xe,Oi]),(0,se.useEffect)(()=>{Yi.current.instance&&Oi&&St.editor.setTheme(xt)},[xt,Oi]),(0,se.useEffect)(()=>{let _t=Yi.current.instance;Ue.current=Qe,_t&&Oi&&(_t.updateOptions(An({},Qe)),setTimeout(()=>{_t.getModel().updateOptions(An({},Qe))},200))},[JSON.stringify(Qe),Oi]),(0,se.useEffect)(()=>{let _t=Yi.current.instance;_t&&Oi&&_t.layout()},[ct,Ge,Oi]);const[Rn,bt]=(0,se.useState)(Gn(ct)),[Ut,Ln]=(0,se.useState)(Gn(Ge)),ni=Kn(An({},je),{width:Rn,height:Ut,position:"relative"});return se.createElement("div",{className:"my-monaco-editor",ref:Zr,style:ni},Pn&&se.createElement(Ve.CopyToClipboard,{text:Ae,onCopy:()=>Xt.ZP.success("\u590D\u5236\u6210\u529F")},se.createElement(fn.Z,{title:"\u590D\u5236\u4EE3\u7801"},se.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},se.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ft({width:Ot="100%",height:ft="100%",original:ct,modified:Ge,language:Ae,options:xe={}}){const je=(0,se.useRef)(),[Qe,Oe]=(0,se.useState)(null);function xt(nn){let Mn;return je.current&&(Mn=new Ce.Z(Zn=>{for(let li of Zn)(li.target.offsetHeight>0||li.target.offsetWidth>0)&&nn.layout()}),Mn.observe(je.current)),Mn}(0,se.useEffect)(()=>(je.current&&Promise.all([oe.e(8909),oe.e(9404)]).then(oe.bind(oe,2550)).then(nn=>{St=nn;const Mn=St.editor.createDiffEditor(je.current,Kn(An({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},xe),{wordWrap:!0}));Oe(Mn);let Zn=xt(Mn);return()=>{Mn.dispose();const li=Mn.getModel();li&&li.dispose(),Zn.unobserve(je.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,se.useEffect)(()=>{Qe&&Qe.setModel({original:St.editor.createModel(ct,Ae),modified:St.editor.createModel(Ge,Ae)})},[ct,Ge,Ae,Qe]);const hn=Gn(Ot),Pn=Gn(ft),wt={width:hn,height:Pn};return se.createElement("div",{className:"my-diff-editor",ref:je,style:wt})}},94606:function(_e,be,oe){"use strict";oe.d(be,{jL:function(){return De},w9:function(){return en},QD:function(){return Zn},cQ:function(){return Ve},op:function(){return xt},O5:function(){return Io},_b:function(){return lr},t7:function(){return ue},Gi:function(){return Nn},YG:function(){return Kn},qp:function(){return tt},vr:function(){return Mi},qE:function(){return wt},Je:function(){return Ne},wb:function(){return zt},cq:function(){return St},tp:function(){return ze}});var se=oe(59301),Ce={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo24/syP5ce2xEg0gBDeAZWFijo79JnpLQxXSo7iICiIyD8qUfdxuQRRx24x5MvB95uBzfW1G+XFn4GoMMojQNOYWUK45b+jG9mW+PvFNAKEkqVYgI583VZcOB7WRrCqGwiaQovU1lAlaXKM/BMQNIGbN0FLGh0lySCVv0OP3aPOnKf2a2XCm+3ghuc1AvzOdwmLSwIwkQlBoxMtgZYCkvwQLafBYo0l2v6gBcCxRxQyifwM9PckRCniXIGbjo8wiI4bgnRRFul0XAZMABbaggVoytvo12vff7Qt/Rc8LqBm5jQndrBr3MFHOwyemaJbGaaAKzMp00zV2O+6VVnSTCPcYCNdrItEGAOcKxpVUQKLjPZ6VHVgEuf3Kf/rLk0Y4ViTpiAEUYKJaEgVDg2OTq1+j3r5w68FHi7TXFDU/El1Yr8VLudDM4IjUpLVWW2Mg0GgubybATNfN/0C5+eqjQ9oO0ngAmR0ZF5X2bKjLRZBUFgNE03AKhcPqk62wJsm+qjvyM4Aa0idFN1zcmvHraq90uvObihqej4YsH6nzCEyHwRB0WFZeZJ05xupsZSp6sty+2mXX2a/5rP0fT8MAHRZpmWph48J38zi6xUF1Vqft9KAg2BES6PmyChGGFTBVJ1kb/dq7XeeuTBs0deLLxXrLhHn2nP6+4s3Gk7Yl6Q5mpZMMjAGWjT0o+dgkR6BVnUzJSW2PpzhpHVqIygdPiEET3rzwiHP2QCSlrjUm1epE0el+R1/E6SmjDa2nGEat5Bu9089bC9O7/1moDT0GJkMv5eR6f1oVY7MRfjp2SiNgOO5pkFBpnkadmD/qflRrAtiUrBhJFdPnauJhI6SU6noXSyb2BmUZUqzYKEqSSSZ6SUSU34WagYVUsg9N27R7DtkONWrmRcf8HHK1Lc4EjrqHJn6ZdxBIsXkXU2MqVZqU/ja5ZU/MyWR5/Bps1/wfD2p+G7TUy1QziWRHfZgVXsREd3H1YtnoW+vl709nSjv7f0V4MwPnRaRUGlxSm8rG7N0pAMlim/CE4Jk+tRbTxmAoYK4Qit/Mhb9/a9eze9ILW/YQwv5jvmM/fcs720YMnMDeWStabtJrmVUVaqtsy3sRqgAm+96yH85qbb4DZqWNjfi57uHlRKJViWjSCM0Wr5aDRaqDebqDeaqLkRLFugp7OIQudMrFn+JvT3z8Ee8+dgVldxp+tkpUB42ZZgqLrEnyUq89MkODkunjVVoREFMao5G367een6lZ2fejEQXrbiBgbbn+qZUbyETcWs2KZ/Ynsoi6aMgEPjLVz6Xz/B1OjT2P8tyzB7Zm/i6IMQYRghDGk2ielkLaKIPiiM4PshGk0XzWYDU40a6m6Ickmi3N2Lt+y1B5a+eQ+sXLIQM7rLxi1QiR47I2l3xPizFFyitsQnmqhq8juNks1go2BrDRG4WwMv3veItT1TLwTvZYH7w0NP9y7sn3NPqSgXMiCYRuNz1MbE9eEnRnDhpVdh1fxu7L1iCYIwghcECKMYUfaMY4Rh8jogxJgQNQjP+CECpUK4H8bwPR8tgmzW0Ao8lEsW+vrn4sA1S7Fs2VKsXDIP1UrO3BymMD7PEwvj6wJjnjTTJFAEsUJOJj4y8iMUWIfE8bp1Kzs2virgtg23PtHTV7os9JI0wASFNPWg4vI54LGBMZz/je/i71YvQv/sWXA9D2EYIooiAzCOYoRxDM/z4Xo+PC+Az2MR31NpkU4fpKGUQKRkoiSCjCSiSCAKVPLddgON9hQsK0TXjA7su3YVDjt0Hdbu82ZzbQYgVZb6OJOW0GQjZW54XtACInTkHXjt5kXr9+r4zG4Hd/bZZ8uTTz1rY7liHxiHiR9h+sFAQHNxJMulCGed/x2jtHlv6ofruogILaZpEl6MIAiML2u1XQRhaIDxeKZGqoEAObgoTkBGkUp7bvRRfC0QRpZRkYqk6SjHcYDQryNXVNj/oLX4yIc/iMULZyVVSFr0GxVmlQWDg0xSFG5j372rV1fXr1wpdhldX7Kpbn2mtbqrs7jRkqLIC6VDzgIBwZUKwGXfuwFjA49g331WoO26CSwDh/BieK6HyakaPM9LTZbv0WQJL0r2o9ioMkhN2gDka0JkDhYpExW1FtCQEMKGlg6gbWhTxjPFaKBvZgUfP/njOHz9WrRS5QXG9AkvzeXoHxXrVw0n9puxEm8+dGVlaFeqe8ngBifiT1Y65aUha7+0+M7Sj0IeeOixYXznO1fiHQfvY1REs4wiBoIAcRQZkBOTk/B9P1GSCRBBoraQn/dTmDxOiATGLV+nioxjA49wINjAY4YtIaQFwX1hQYtkn/AtW+Okfzsdf/+OA9H2Uj+XdoiZltBebaGh2a9DrONYvfdtK8q/2L3gaurXxaI4WqUJJH2ETTPltVsaX73wvzG7IjGrrwce4RhoieKCMMDY+LiBZ2AwGJjAQKg0Sx6jCrWBmQAlTJo3vx+ZvIvOXLBEEAJCMPFNQrkBBwnNfcuGMFAFlIqRyxdw+he/gv1WL0PDTftzSicd41jBYaURa/SUHLTrjc+vX9mxy47JS1LcpoGB4qKOuZvzebFMpyUPT0BoTD023P0wfvWL67DfPsvhut4O80z8Woip+hQma41UWVQRDMwEXIQ43Se4OApSYEAYeAijwADSmp1RghPGt3Kb5MMJxEx9VJ2QNu8mYNlQUYj+hUtx9nnnolIpw83KrrSSMOCURmfOQejWr37bis6P7DbFba/ptZal77SlyPFy6WC5ZedBKYWLLrkKs6oOCvl8AoR+zWwjeL6L4dFRuJ5CEGpTsEeBQBD4iFWMWEWIwjpU6Ca+kNswNll+zCgECSkcKM02CQtS/nK0oxPDFDzRIYFSfYRIcFRfzgDktRz7z5/E8Scci7ar0g4xc0aePen0VaSAiLxHutVTe6/cRfn1khQ3OBEdU6xYv4oZbzjJopJISrX96aFtuOaH12D5ogXw/QABVZQFhCDC5NQ4xienEIQCbijh+RKTvXPhVYrIPTGAXLOOOJ4AwhAxzTKomTTEdHy1l/guc5voWTmXSPWFSVAwf7FRH83YuD5jxgQooS3HqE9Bomf2fJx9wcXo7KjAp3swLSZApjPeJUvDioLBkttYvHZtf/v5VPeSwD09Fp9Z7pDnEhzvD1MEqo2d2ut+swEPbr4fM3p7jIqYbhjlBKHxdcMjQ0ZtXmjDbSsMLFqJx048AWDWv/kvWPjNy2DXB5hXAHEIpZqwZNVct1INSFkyoJRyE1g6hjaFnp2IDyrxezqFaMClHQdjsjljsrzuk8/4Cg46ZF9zPQYc05k0qpYswFH+uCW9VYcsm7F994CbiL5fKlkf4lyC1nSswnRlWcBfftVP0RgZRqGQR2jKKd/4JZrpxOQExicmEIQWvDCHhu9gyz99FN76VQCt0AZmnnUxSg/cAUuGEKoJaBdSZjVpBCk7EnDahxRlKHCfjbccNPMis29mWSGMH6TqNKQxWStJVayccQvrjv4ATj7lRLTcpL1k2kym0GUJJlASvuvo6JADV3RtfsngbtXa3gsoBA3k3Rakb8GtiuiaUtk+xveUqRjoU9gmKuYFLr/yGkwMjSBH5xrQ4dNPBaYiGBwehOu24QUCXuhgSnTjsTPOQDxvRjqjrNB31tdRfvwB5O0cEI9BaA9SVhCpGqA56+NAa/oIC5AER2XlmfdDhT60FLBoxlYAof0UnjLukAo1arPyxhev2vcAnHbWOSaJNmWe6elRCAm4TukrS0XvOGivrt+9aHDba8GaQt56r4A8XADztYIVKgimXH6M7iDUebackzJLIm8LlIsSP/jRz/HU1ieQcywDLnHwAWq1BsbGR5M6lYrzJEZmLsHw5z8LlOm0AWwfQ885X0Ol/oypHRFPwpZF2FYXwngEgoBEHpEaNwpTyJsqROsCgupMtFeshLt8Oap/ug8d998CKQgvgICfRFppm/QEBAdg1oIlOOMrF6BcLsAPlCnHIjPvClQcgW4nhFThPxy8ovPXLwjugaGh8uxyzwXlvPOxsoPC9PUaZpYoLZobHtAMtAEhoVDKSXSUHdy+YSN+d9MGFKm4NK0gwKHhUTSaNZPL+ZEFzwXGVrwNk6edlkDjHMLmrei78DzkLR8W18qoEUiRgxR5xKoJ2+ox4EJVh5B9UDqPel8vWgccAW/Naug5Myk84OkJzDn3FOTbIwacFASXJMSC/XOZhxISHTP6ceZ5F6GzuxNekEb5IKlIOvISvU7AhPiog5ZVbtgluE0DurigHPx4RnfunXQXbNJm8wEZQAYCphDs99c9YMqDKbALtjJNyNGRQVx++dWwtDA5GHMyz/ewfXAYntdE4AfwjFkINHsXY+JzXwPmdptGXunKH6D79uuRzxVhqwBKDSFnzTTRNIrHIQXz+RAxTVF1obFqPcY/ehLQVU2CLG+AApwNGzHjR99GTk0Bqg0pvCQ9sRxIY6o5aGmjWOnCmed/A70zZ8INmCpxbGwoAF0Fgd5cEBVkfNj+Szvu2CW4rUPumTN6C+faCijwxqTTeNmXssV+bM1w9oiqm2wToELgt1AtSHQULVxzzU/w5/u2mKUMcRCg3W7hmeFhBF4rKaPY6WDGJDrQnrcUrdX7wRkcQuXe22HHU7CFgDT+zE/AKR9au7CsPkSqAWWiaieG3nkCvPe9G+DSGQrqwUdRuHUjylvvQS4ahaObELoBAVqFSCsJzto4Jkg4OQdn/sd/ord/Plw/MtAIj5Y1oywxq+DXrThae8CKzq3PC+6ux4dndRZ67uut2nM68sn6jWxtx/QvZebKiWKCq7WAmtm2IZSPGR0FjI9uxxVXfB+tqTokYgNu++AQVOSZ1EErunSWRBXTyYASkLIAbdGnMBhI6Lhu5COlA61Ck39JUTHRVAtO73ej0TMbEyeeBj1vjlGauP8RVL7/A+SDQdiowVF1SN02UVaa2fAkl2NU5TNnC5z+5QswY/5iuG4EN1KmhtWxwNwuBws7w+G85S1ftaBr8nnB3f1Y8/hqtfzDzhzQU0qm0v4WOLam6ecIjl2GWhuYaFF5IcamJtFZtNDX4WDzvZvxv9dej9BzoaIIo+Oj0FEAzSxfhyYSa50W5iAU20RNafIuwmol/k0yGPAGJJ0OZSJqHkqWEcU22vPegua/nAR0dxvVWZv+iI6fXomcrsNRDWhNU9UmAWZoVVYOgsFBOCjlLXzqjC+ia+6eaHsRmp5GMScxu8NCf4eF7qKIRBQ8mnfkz4PQ/83SuX/d2BSbHmne3Fktv72vDHQUEsWxGnjuIwPH3hf93FQbGKnTXDUeGhiCFDFmVHPoKlu49dYN+O1vb4alYozXpqBjggvNBHDyYIHDhJVQ+IiSYolFuXHqBQhGT+VCWiUTGaOYQIuIhYWQ34tLcBeugH/ch4DuXmBkEJXvXoB8ewwWXGiT77GWSBoA9G9cKBcLB92dFZx02umI8r0m9Vszv4QVsx10FYUZu7GuNHeuN1XkB9FN7Xbwmb0XVh/KuIhNWwOvs2Tn+6rCZAecITezU9PWc5i0Ml0JZKbfwsTHDU0Bky6wYcs20w7qrThGeaW8xJ0bN+HW2+5Eo9k0lQT9jWkEMVHl2dnhoNp4VLBc4uI4JrKRAcgEO7HDXFLQE64oGNz0k0pUkvUhCxZDrz4A4tEHkXvwLtgihNSJa0gEQNfAXp0NZTnGVSxeuADHHHcCpJXD+9f0YcUc2zRgn6sXnr9O3yeBlqeGJyfDE1cvKlxvkuvfP6512QF6y8kCFwYHllHZsgSezAwh7ZhyPIRHH/fMJDDWAn72x8dQb7XRVbZNoKgWLBRyAvfe/wBuuf0u1CYnIWVaQ9K5pRMrdNw8v5khM2rjZ2iYVGJWfxJunJbwBGjm0kx6ohj/zQpryyS82lKQpopgI0AnLodmaop9C4rVAwTWH3wgluy9Fh/cbxbWLSqa6idbJfpcS3PNupNkQnuioVrDk976I1eV7xW3b2lvL5eKczoLQKWQrIqk6rIeWwYuWw1kymwFTLaAgQlgsK5xxa1bUGu66ChYqOSpXMss4Ms5EtsGnsatGzahMTaWhutsLWsaug2s7F5nix7S/CKZ/08L+7RlZMqpDJ4hk62JShWbLj805Ve2II9zlCbJQqW7C/sftA4HrZiPUw/vRweD7S7A0a/XXW1SsLYSeGpIbxiZeOpIccufG8dVOys/5r2o5JNVQaw9WUrxhDRbk46k62/5moobbySKu397gK/9ZgsKFlDNSZQJzhHI2xKOJVDISTRbbfzpwS0YePxxxL73rJzNwNJZ62yG2dzydNlOUqVnK4PTdpKRWLqfLe/JPpO9nuZnTFRNyFj5Apbtswr5rpn4wpELcPiyqhHKrhTHsTJ4TLnCWNdgA3Dr/lHiuo2j1XJf7x2VvNiHTbZyBs9OA8U02zcTMjKJrsNTwEgT+NE9ow9864Ytt/dVZVDNW6LsSBT5XUsgZ7P7L5BzbDPX+qeHH8HAlr+YZQeJjSWpwk4P2pdhk05mcHfHa3YyzXKa9GD6mez9hOiOhHjHwjzzOzZ65s3B/D2XolSt7nnh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",De=({dataSource:Oi=[],img:on,imgWidth:ln=346,title:qt,sunTitle:Nt,bannerExtraContent:On})=>se.createElement("div",{className:Ce.banner},se.createElement("div",{className:Ce.content},se.createElement("aside",null,se.createElement("p",null,se.createElement("b",null,qt),se.createElement("span",null,Nt)),Oi.length>0&&se.createElement("div",{className:Ce.btns},Oi.map((Un,Vt)=>se.createElement("div",{key:Vt,onClick:Un.click},Un.name,Un.sign?se.createElement("img",{src:we,width:39}):null))),On),on&&se.createElement("img",{style:{marginTop:33,marginRight:38},src:on,width:ln}))),Ke={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},Ee=oe(92310),et=oe.n(Ee),Je=oe(89392),tt=({dataSource:Oi=[],value:on,onChange:ln,onTitleChange:qt,className:Nt,title:On,titleWidth:Un=41,style:Vt={},fontColor:yt="#6A7283",showCount:In})=>{const[zn,mi]=(0,se.useState)(0),[Rn,bt]=(0,se.useState)(!1),Ut=(0,se.useRef)(null),Ln=(0,se.useRef)(null);return(0,se.useEffect)(()=>{var ni;Oi.length!==0&&(((ni=Ut==null?void 0:Ut.current)==null?void 0:ni.clientHeight)>97?mi(1):mi(0)),Oi.length===0&&mi(0),bt(!1)},[Oi]),se.createElement("div",{className:et()(Ke.row,Nt),style:Vt},se.createElement("div",{onClick:(0,Je.throttle)(()=>qt==null?void 0:qt(),2e3),style:{width:Un,marginTop:Rn?12:4},className:`${Ke.title} ${qt?"current":""}`},On),se.createElement("div",{className:Rn?`${Ke.tagsWrap} ${Ke.tagsBorderWrap}`:Ke.tagsWrap},se.createElement("div",{className:Ke.bar,ref:Ln,style:zn>0?{height:zn===1?97:"auto",overflow:zn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},se.createElement("div",{className:Ke.tag,ref:Ut},Oi==null?void 0:Oi.map(ni=>se.createElement("span",{onClick:()=>ln(ni.id),key:ni.id,style:{color:yt},className:on===ni.id?Ke.active:""},se.createElement("span",{title:ni.name,className:Ke.name},ni.name),!!In&&se.createElement("span",{className:Ke.num},ni.count))))),!!zn&&se.createElement(se.Fragment,null,zn===1?se.createElement("div",{onClick:()=>{var ni;mi(2),((ni=Ut==null?void 0:Ut.current)==null?void 0:ni.clientHeight)>245?bt(!0):bt(!1)},className:Ke.action},"\u5C55\u5F00",se.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):se.createElement("div",{onClick:()=>{Ln.current.scrollTop=0,mi(1),bt(!1)},className:Ke.action},"\u6536\u8D77",se.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ht={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},ze=({dataSource:Oi=[],value:on,onChange:ln,className:qt,style:Nt={}})=>se.createElement("div",{style:Nt,className:et()(ht.tabs,qt)},Oi.map(On=>se.createElement("span",{onClick:()=>ln(On.id),className:on===On.id?ht.active:"",key:On.id},On.name))),ee={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ne=oe(92832),ue=({dataSource:Oi=[],value:on="",onChange:ln,onInputChange:qt=()=>{},className:Nt,style:On={},placeholder:Un,allowClear:Vt=!1})=>{var yt;const[In,zn]=(0,se.useState)(""),[mi,Rn]=(0,se.useState)("");(0,se.useEffect)(()=>{var Ln;let ni=on;(Ln=JSON.stringify(on))!=null&&Ln.includes("{")&&(zn(on.id),ni=on.value||"");try{Rn(decodeURIComponent(ni||""))}catch(_t){Rn(decodeURIComponent(ni||""))}},[on]);const bt=()=>{ln(encodeURIComponent(mi),In||null)},Ut=Ln=>{Ln!==In&&(zn(Ln),ln(encodeURIComponent(mi),Ln))};return se.createElement("div",{className:et()(ee.input,Nt),style:On},!!Oi.length&&se.createElement("div",{className:ee.dropdown},se.createElement("div",{className:ee.text},(yt=Oi.find(Ln=>Ln.id===In))==null?void 0:yt.name,se.createElement("i",{className:"iconfont icon-zhankai4"}),se.createElement("b",{className:ee.b1}),se.createElement("b",{className:ee.b2})),se.createElement("div",{className:ee.menu},Oi.map((Ln,ni)=>se.createElement("div",{key:ni,onClick:()=>Ut(Ln.id)},Ln.name)))),se.createElement(ne.default,{onPressEnter:bt,value:mi,onChange:Ln=>{Rn(Ln.target.value),qt(encodeURIComponent(Ln.target.value),In||null)},bordered:!1,placeholder:Un}),se.createElement("i",{onClick:bt,className:"iconfont icon-sousuo9 font14 pl10 current"}))},me={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ne=({value:Oi,onChange:on,className:ln,total:qt,pageSize:Nt,style:On={}})=>{const Un=Oi<2,Vt=Oi>=Math.ceil(qt/Nt);return qt<=Nt?se.createElement(se.Fragment,null):se.createElement("div",{className:et()(me.quickPager,ln),style:On},se.createElement("div",{onClick:()=>{Un||on(Oi-1,"prev")},className:Un?me.disabled:""},"\u4E0A\u4E00\u9875"),se.createElement("div",{onClick:()=>{Vt||on(Oi+1,"next")},className:Vt?me.disabled:""},"\u4E0B\u4E00\u9875"))},ke={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Te=oe(71418),We=oe(6848),$e=oe(39978),st=oe(10148),ut=oe(58130),Mt=oe(96908),nt=oe(57177),$t=oe(81378),Pt=oe(97267),zt=({className:Oi,dataSource:on=[],col:ln=4,right:qt,bottom:Nt=23,precision:On=0,wrapWidth:Un=1200,trackEventItems:Vt,loading:yt})=>{const In=Math.floor((Un-(ln-1)*qt)/ln);return se.createElement(Te.Z,{spinning:yt},se.createElement("div",{className:et()(ke.list,Oi)},!!on.length&&on.map((zn,mi)=>{const{name:Rn,id:bt,identifier:Ut,power:Ln,cover_image_id:ni,pic:_t}=zn;return se.createElement("div",{className:ke.wrap,key:bt,style:{width:In,marginRight:(1+mi)%ln===0?0:qt+On,marginBottom:Nt}},se.createElement("a",{target:"_blank",href:`/shixuns/${Ut}/challenges`,className:ke.li,onClick:yn=>{yn.preventDefault(),Vt&&(0,ut.L9)([Vt]),Ln&&(0,ut.xg)(`/shixuns/${Ut}/challenges`)}},se.createElement("div",{className:ke.img},se.createElement("img",{className:ke.cover,src:`${_t}`}),zn.is_jupyter&&se.createElement("img",{className:ke.sign,src:Mt}),zn.is_jupyter_lab&&se.createElement("img",{className:ke.sign,src:nt}),zn.is_unity_3d&&se.createElement("img",{className:ke.sign,src:$t})),se.createElement("div",{className:ke.name},se.createElement(We.Z,{title:Rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},se.createElement("span",{className:ke.e},Rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),se.createElement("div",{className:ke.tags},se.createElement(We.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),se.createElement("span",null,zn.challenges_count))),!!zn.myshixuns_count&&se.createElement(We.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),se.createElement("span",null,zn.myshixuns_count))),se.createElement(We.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},se.createElement("span",null,se.createElement("span",null,zn.level))),se.createElement("div",{className:ke.rate},se.createElement($e.Z,{allowHalf:!0,disabled:!0,defaultValue:zn.score_info}),se.createElement("span",null,"\xA0",zn.score_info?`${zn.score_info}\u5206`:"5\u5206")))),!Ln&&se.createElement("div",{className:ke.lockWrap},se.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),se.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!on.length&&se.createElement(Pt.Z,null)))},Xt={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},fn=oe(2119),an=oe(59301),Ve=({className:Oi,dataSource:on=[],col:ln=4,right:qt,bottom:Nt=23,precision:On=0,wrapWidth:Un=1200,trackEventItems:Vt,loading:yt,onRemove:In=()=>{},isCurrent:zn=!0,showAlias:mi=!1})=>{const Rn=Math.floor((Un-(ln-1)*qt)/ln),bt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return an.createElement(Te.Z,{spinning:yt},an.createElement("div",{className:et()(Xt.list,Oi)},!!(on!=null&&on.length)&&(on==null?void 0:on.map((Ut,Ln)=>{var ni;const{name:_t,id:yn,identifier:Qt,featured:un,school_name:wn,image_url:gn,excellent:kn,is_plan:Bn}=Ut;return an.createElement("div",{key:yn,className:Xt.wrap,style:{width:Rn,marginRight:(1+Ln)%ln===0?0:qt+On,marginBottom:Nt}},an.createElement("a",{className:Xt.li,onClick:Vn=>{Vn.preventDefault(),Vn.stopPropagation(),Vt&&(0,ut.L9)([Vt]),(0,ut.xg)(`/paths/${Qt}`)}},an.createElement("div",{className:Xt.img},an.createElement("img",{className:Xt.cover,src:`${gn}`}),zn&&(0,fn.bg)()&&(Ut==null?void 0:Ut.studying)&&an.createElement("div",{className:`${Xt.movebq} user-path-items`,onClick:Vn=>{Vn.stopPropagation(),In(Ut)}},an.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),an.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ni=Ut==null?void 0:Ut.subject_tags)==null?void 0:ni.map((Vn,Jn)=>{var Wn,gi;if(Jn===0){const ir=(Wn=bt.find(zi=>zi.name==Vn))==null?void 0:Wn.swimg;return an.createElement("img",{className:Xt.sign,src:ir,style:{left:"-4px"}})}const Fi=(gi=bt.find(ir=>ir.name==Vn))==null?void 0:gi.ptimg;return an.createElement("img",{className:Xt.sign,src:Fi,style:{left:`${48+52*(Jn-1)+2*Jn}px`}})}),an.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ut==null?void 0:Ut.excellent)&&an.createElement("div",{className:Xt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),an.createElement("div",{className:Xt.name},an.createElement(We.Z,{title:mi&&(Ut!=null&&Ut.excellent_alias_name)?an.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${_t}`,an.createElement("br",null),an.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ut==null?void 0:Ut.excellent_alias_name}`)):_t},an.createElement("span",{className:Xt.e},mi&&(Ut==null?void 0:Ut.excellent_alias_name)||_t))),an.createElement(We.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${wn}`},an.createElement("div",{className:Xt.unit},an.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),wn)),an.createElement("div",{className:Xt.tags},an.createElement("div",null,an.createElement(We.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},an.createElement("span",null,an.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),an.createElement("span",null,Ut.stages_count))),an.createElement(We.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},an.createElement("span",null,an.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),an.createElement("span",null,Ut.members_count)))))))})),!on.length&&an.createElement(Pt.Z,null)))},gt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Bt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",sn=oe(59301),en=({className:Oi,dataSource:on=[],col:ln=4,right:qt,bottom:Nt=23,precision:On=0,wrapWidth:Un=1200,trackEventItems:Vt,loading:yt})=>{const In=Math.floor((Un-(ln-1)*qt)/ln);return sn.createElement(Te.Z,{spinning:yt},sn.createElement("div",{className:et()(gt.list,Oi)},!!on.length&&on.map((zn,mi)=>{const{subject_identifier:Rn,id:bt,identifier:Ut,power:Ln}=zn,ni=zn.is_public!=0&&zn.is_public;return sn.createElement("div",{className:gt.wrap,key:bt,style:{width:In,marginRight:(1+mi)%ln===0?0:qt+On,marginBottom:Nt}},sn.createElement("a",{className:gt.li,onClick:_t=>{_t.preventDefault(),Vt&&(0,ut.L9)([Vt]),(0,ut.xg)(zn.first_category_url)}},sn.createElement("div",{className:gt.top},sn.createElement(We.Z,{title:zn.name},sn.createElement("div",{className:gt.name},zn.name)),sn.createElement("img",{className:gt.img,src:st.Z.IMG_SERVER+"/images/"+zn.avatar_url}),sn.createElement("div",{className:gt.text,title:zn.creator},zn.creator),Rn&&sn.createElement("div",{className:gt.btns},sn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),sn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),ni&&sn.createElement("div",{className:gt.sign},"\u516C\u5F00")),sn.createElement("div",{className:gt.bottom},zn.visits>0&&sn.createElement(We.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},sn.createElement("span",null,sn.createElement("i",{className:"iconfont icon-liulanyan"}),sn.createElement("span",null,zn.visits))),zn.course_members_count>0&&sn.createElement(We.Z,{title:"\u6210\u5458",placement:"bottom"},sn.createElement("span",null,sn.createElement("i",{className:"iconfont icon-chengyuan"}),zn.course_members_count)),zn.tasks_count>0&&sn.createElement(We.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},sn.createElement("span",null,sn.createElement("i",{className:"iconfont icon-zuoye"}),zn.tasks_count)),zn.is_end?sn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):sn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!zn.is_accessible&&sn.createElement("div",{className:gt.lockWrap},sn.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),sn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!on.length&&sn.createElement(Pt.Z,null)))},En={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},ei=oe(42203),Kn=({dataSource:Oi=[],value:on,onChange:ln,className:qt,style:Nt={},tabBarExtraContent:On})=>se.createElement("div",{className:et()(En.tabs,qt),style:Nt},se.createElement("div",{className:En.tabsWrap},Oi.map((Un,Vt)=>se.createElement("aside",{className:En.tab,onClick:()=>{ln(Un.id),Un.link&&ei.history.push(Un.link)},key:Vt},se.createElement("div",{className:on===Un.id?En.active:""},Un.name),(Un==null?void 0:Un.resetCount)==null&&(Un==null?void 0:Un.total)!==void 0&&se.createElement("span",null,"\uFF08",Un==null?void 0:Un.total,"\uFF09"),(Un==null?void 0:Un.resetCount)!==void 0&&(Un==null?void 0:Un.total)!==void 0&&se.createElement(We.Z,{title:(Un==null?void 0:Un.tip)!=null?Un==null?void 0:Un.tip:""},se.createElement("span",{style:{color:"#9096A3"}},"\uFF08",se.createElement("span",{style:{color:"#000"}},Un==null?void 0:Un.resetCount),"/",se.createElement("span",null,Un==null?void 0:Un.total),"\uFF09"))))),se.createElement("div",{className:En.tabBar},On)),Nn=({className:Oi,style:on={},children:ln})=>se.createElement("div",{className:et()(Oi),style:on},ln),Gn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},ii=oe(38854),Sn=oe(20834);const Yt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var St=({sortValue:Oi,dropValue:on,className:ln,onSort:qt,onDrop:Nt,dataSource:On=Yt})=>{var Un;return se.createElement("div",{className:et()(Gn.orderWrap,ln)},se.createElement(ii.Z,{dropdownRender:()=>se.createElement(Sn.default,null,On.map((Vt,yt)=>se.createElement(Sn.default.Item,{key:yt,onClick:()=>Nt(Vt.id)},Vt.name)))},se.createElement("span",{className:Gn.orderTextWrap},(Un=On.find(Vt=>on===Vt.id))==null?void 0:Un.name)),se.createElement("span",{className:Gn.orderIconWrap},se.createElement("span",{className:Gn.orderAsc},se.createElement("i",{className:Oi==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Gn.cursorPointer} ${Gn.active}`:`iconfont icon-sanjiaoxing-up font12 ${Gn.cursorPointer}`,onClick:()=>qt(Oi==="asc"?"desc":"asc")})),se.createElement("span",{className:Gn.orderDesc},se.createElement("i",{className:Oi==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Gn.cursorPointer} ${Gn.active}`:`iconfont icon-sanjiaoxing-down font12 ${Gn.cursorPointer}`,onClick:()=>qt(Oi==="asc"?"desc":"asc")}))))},rt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Ft=oe(3113),Ot=Object.defineProperty,ft=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Ae=(Oi,on,ln)=>on in Oi?Ot(Oi,on,{enumerable:!0,configurable:!0,writable:!0,value:ln}):Oi[on]=ln,xe=(Oi,on)=>{for(var ln in on||(on={}))ct.call(on,ln)&&Ae(Oi,ln,on[ln]);if(ft)for(var ln of ft(on))Ge.call(on,ln)&&Ae(Oi,ln,on[ln]);return Oi},je=(Oi,on)=>{var ln={};for(var qt in Oi)ct.call(Oi,qt)&&on.indexOf(qt)<0&&(ln[qt]=Oi[qt]);if(Oi!=null&&ft)for(var qt of ft(Oi))on.indexOf(qt)<0&&Ge.call(Oi,qt)&&(ln[qt]=Oi[qt]);return ln},Qe=(Oi,on,ln)=>new Promise((qt,Nt)=>{var On=yt=>{try{Vt(ln.next(yt))}catch(In){Nt(In)}},Un=yt=>{try{Vt(ln.throw(yt))}catch(In){Nt(In)}},Vt=yt=>yt.done?qt(yt.value):Promise.resolve(yt.value).then(On,Un);Vt((ln=ln.apply(Oi,on)).next())}),xt=Oi=>{var on=Oi,{className:ln,style:qt,children:Nt,loading:On=!1,openLoading:Un,onClick:Vt=()=>{},size:yt="middle",shape:In="round"}=on,zn=je(on,["className","style","children","loading","openLoading","onClick","size","shape"]);const[mi,Rn]=(0,se.useState)(!1);return se.createElement(Ft.ZP,xe({onClick:(0,Je.throttle)(bt=>Qe(void 0,null,function*(){Un&&Rn(!0);try{yield Vt(bt)}catch(Ut){console.log("error",Ut)}Un&&Rn(!1)}),2e3,{leading:!0,trailing:!1}),className:et()(rt.btn,rt[`${yt}-${In}`],ln),style:qt,size:yt,shape:In,loading:mi||On},zn),Nt)},hn={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},wt=({className:Oi,style:on,children:ln=null,onClick:qt,title:Nt})=>se.createElement("div",{className:et()(hn.head,Oi),style:on},se.createElement("span",{className:"primary-hover",onClick:qt},se.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),se.createElement("b",{title:Nt},Nt),se.createElement("div",{className:hn.node},ln)),nn={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Zn=({confirmShow:Oi=!0,confirmTitle:on,confirmClick:ln,cancelShow:qt=!0,cancelTitle:Nt,cancelClick:On,className:Un,style:Vt,confirmLoading:yt=!1})=>se.createElement("div",{className:et()(nn.btns,Un),style:Vt},Oi&&se.createElement(Ft.ZP,{loading:yt,onClick:ln,type:"primary",className:nn.confirm},on),qt&&se.createElement(Ft.ZP,{onClick:On,className:nn.cancel},Nt)),li={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Mi=({className:Oi,style:on={},LeftContent:ln,children:qt,RightContent:Nt})=>se.createElement("div",{className:et()(li.fixedBottom,Oi),style:on},se.createElement("div",{className:li.wrap},se.createElement("div",{className:li.left},ln),se.createElement("div",{className:li.center},qt),se.createElement("div",{className:li.right},Nt))),Si={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},lr=({className:Oi,style:on={},dataSource:ln=[]})=>se.createElement("div",{className:et()(Si.crumbs,Oi),style:on},ln.map((qt,Nt)=>Ntei.history.push(qt.path)},qt.name):se.createElement("span",null,qt.name),se.createElement("span",null,"\xA0",">","\xA0")):se.createElement("span",{key:Nt,style:{color:"#5F6368"}},qt.name))),dr=oe(31797),ur=Object.defineProperty,Sr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Gi=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,Ue=(Oi,on,ln)=>on in Oi?ur(Oi,on,{enumerable:!0,configurable:!0,writable:!0,value:ln}):Oi[on]=ln,no=(Oi,on)=>{for(var ln in on||(on={}))Zr.call(on,ln)&&Ue(Oi,ln,on[ln]);if(Gi)for(var ln of Gi(on))Yi.call(on,ln)&&Ue(Oi,ln,on[ln]);return Oi},pr=(Oi,on)=>Sr(Oi,Wr(on)),fo=(Oi,on)=>{var ln={};for(var qt in Oi)Zr.call(Oi,qt)&&on.indexOf(qt)<0&&(ln[qt]=Oi[qt]);if(Oi!=null&&Gi)for(var qt of Gi(Oi))on.indexOf(qt)<0&&Yi.call(Oi,qt)&&(ln[qt]=Oi[qt]);return ln};const{Countdown:Fo}=dr.default;var Io=Oi=>{var on=Oi,{onChange:ln}=on,qt=fo(on,["onChange"]);const[Nt,On]=(0,se.useState)(null);(0,se.useEffect)(()=>{typeof Nt=="number"&&Nt>=0&&ln(Nt)},[Nt]);const Un=Vt=>{const yt=Math.floor(Vt/1e3);On(yt)};return se.createElement(Fo,pr(no({},qt),{onChange:Un}))}},91300:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ce}});var se=oe(59301);function Ce(we,Ie){const De=(0,se.useRef)();(0,se.useEffect)(()=>{De.current=we}),(0,se.useEffect)(()=>{function Ke(){De.current()}if(Ie!==null){let Ee=setInterval(Ke,Ie);return()=>clearInterval(Ee)}},[Ie])}},28716:function(_e,be,oe){"use strict";oe.r(be),oe.d(be,{default:function(){return ed}});var se=oe(59301),Ce=oe(42203),we=oe(78241),Ie=oe(43418),De=oe(8591),Ke=oe(3113),Ee=oe(38854),et=oe(6848),Je=oe(99313),Ye=oe(71418),tt=oe(24905),ht=oe(2595),kt=oe(92832),ze=oe(2307),ee=oe(70635),ne=oe(23469),ge=oe(86766),ue=oe(79646),me=oe(61186),Se=oe.n(me),Ne=oe(10148),ke=oe(32583),Te=oe(88897),We=Object.defineProperty,$e=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Mt=(Xn,bn,Ht)=>bn in Xn?We(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,nt=(Xn,bn)=>{for(var Ht in bn||(bn={}))st.call(bn,Ht)&&Mt(Xn,Ht,bn[Ht]);if($e)for(var Ht of $e(bn))ut.call(bn,Ht)&&Mt(Xn,Ht,bn[Ht]);return Xn},$t=(Xn,bn,Ht)=>new Promise((Ao,ta)=>{var sa=Br=>{try{Jr(Ht.next(Br))}catch(rr){ta(rr)}},Vr=Br=>{try{Jr(Ht.throw(Br))}catch(rr){ta(rr)}},Jr=Br=>Br.done?Ao(Br.value):Promise.resolve(Br.value).then(sa,Vr);Jr((Ht=Ht.apply(Xn,bn)).next())});const Pt=({shixunHomeworks:Xn,dispatch:bn})=>{const Ht=(0,Ce.useParams)(),[Ao,ta]=(0,se.useState)(!0),[sa]=we.default.useForm();return se.createElement(se.Fragment,null,se.createElement(Ie.default,{centered:!0,title:"\u8C03\u5206",open:Xn.actionTabs.key==="\u8C03\u5206",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>$t(void 0,null,function*(){yield sa.validateFields();const Vr=sa.getFieldsValue();(yield(0,ee.ZP)(`/api/student_works/${Xn.actionTabs.id}/adjust_score.json`,{method:"post",body:nt({},Vr)})).status===0&&(De.ZP.success("\u8BC4\u9605\u6210\u529F"),sa.resetFields(),bn({type:"shixunHomeworks/setActionTabs",payload:{}}),bn({type:"shixunHomeworks/getStudentWorkCommon",payload:nt({},Ht)}))}),onCancel:()=>{bn({type:"shixunHomeworks/setActionTabs",payload:{}})}},se.createElement("p",{className:"tc"},"\u8BE5\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u5C06\u4E0D\u4F1A\u6309\u7167\u8BC4\u5206\u89C4\u5219\u8FDB\u884C\u8BA1\u7B97"),se.createElement(we.default,{form:sa,layout:"horizontal"},se.createElement("div",{style:{display:"flex",alignItems:"baseline"}},se.createElement(we.default.Item,{label:"\u6210\u7EE9",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},se.createElement(Te.Z,{min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570"})),se.createElement("span",{className:"ml10"},"\u5206")),se.createElement("div",null,se.createElement(we.default.Item,{name:"comment"},se.createElement(kt.default.TextArea,{placeholder:"\u8BF7\u586B\u5199\u60A8\u5BF9\u4F5C\u54C1\u8C03\u5206\u7684\u539F\u56E0",rows:8}))))))};var dn=(0,Ce.connect)(({shixunHomeworks:Xn})=>({shixunHomeworks:Xn}))(Pt),zt={flex_box_center:"flex_box_center___tMwax",flex_space_between:"flex_space_between___8GJsg",flex_box_vertical_center:"flex_box_vertical_center___IFELt",flex_box_center_end:"flex_box_center_end___IrFRG",flex_box_column:"flex_box_column___s0LgG",TabsStyle:"TabsStyle___r0bwM",bg:"bg___sFhaA",title:"title___bk4oD",nextComment:"nextComment___NmNBo",modal:"modal___tWPO8",MdEditor:"MdEditor___AAxeb",ratewarp:"ratewarp___NGrsd",item:"item___Le8W0",total:"total___MNh4V",a1:"a1___g1iJT",a2:"a2___h8k2X",a3:"a3___yk1km",export_type_modal_title:"export_type_modal_title___nMqX0",export_type_modal:"export_type_modal___dbFVU",export_type_modal_con:"export_type_modal_con___ujWeL",type_item:"type_item___oF9R5",type_item_active:"type_item_active___dfBaM",export_type_modal_waring:"export_type_modal_waring___k8RaP",ReviewStyle:"ReviewStyle___o5d5N",left_content:"left_content___Tdt77",left_title:"left_title___V11QV",see_work:"see_work___HAfMs",left_list:"left_list___sXmxX",list_title:"list_title___NmWRs",list_box:"list_box___nK01J",list_item:"list_item___rrWl_",item_img:"item_img___yMYSc",item_content:"item_content___ZJr_4",item_name:"item_name___PkA99",item_code:"item_code___g13cU",item_states:"item_states___Rwb1r",center_top:"center_top___hgoJF",center_top_title:"center_top_title___rVfnl",center_top_content:"center_top_content___Wfmlt",work_score:"work_score___sJRnv",work_img:"work_img___p6zO4",work_button:"work_button___NDoqh",pingyue:"pingyue___PDoT9",pingyue_title:"pingyue_title___Wsqbg",pingyue_score:"pingyue_score___kvMiC",pingyue_teacher_title:"pingyue_teacher_title___lyJ0m",top_content:"top_content___mJifP",top_content_img:"top_content_img___vbTWm",item_tags:"item_tags___K9Qrr",daochu:"daochu___WdJvT",foldClose:"foldClose___DQSiP",foldOpen:"foldOpen___J18go",ScoreDetailsBase:"ScoreDetailsBase___UG7u2",btnAdd:"btnAdd___GCat1",buttonStyle:"buttonStyle___jWXWa",hiddenBar:"hiddenBar___ZRZYH"},Xt=oe(25711),fn=oe(89392),an=oe(57203),it=oe(59301),Ve=Object.defineProperty,gt=Object.defineProperties,Bt=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,En=(Xn,bn,Ht)=>bn in Xn?Ve(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,ei=(Xn,bn)=>{for(var Ht in bn||(bn={}))It.call(bn,Ht)&&En(Xn,Ht,bn[Ht]);if(sn)for(var Ht of sn(bn))en.call(bn,Ht)&&En(Xn,Ht,bn[Ht]);return Xn},An=(Xn,bn)=>gt(Xn,Bt(bn)),Kn=(Xn,bn,Ht)=>new Promise((Ao,ta)=>{var sa=Br=>{try{Jr(Ht.next(Br))}catch(rr){ta(rr)}},Vr=Br=>{try{Jr(Ht.throw(Br))}catch(rr){ta(rr)}},Jr=Br=>Br.done?Ao(Br.value):Promise.resolve(Br.value).then(sa,Vr);Jr((Ht=Ht.apply(Xn,bn)).next())});const jt=({classroomList:Xn,loading:bn,dispatch:Ht,studentWorkDetail:Ao})=>{const ta=(0,Ce.useParams)(),[sa]=we.default.useForm(),Vr=()=>Kn(void 0,null,function*(){var Jr;yield sa.validateFields();const Br=ei({},sa.getFieldValue()),{selectArrs:rr}=Xn.actionTabs;Br.attachment_ids=(Jr=Br.attachment_ids)==null?void 0:Jr.map(Na=>Na.response.id),(yield(0,ke.mz)(An(ei({},Br),{homeworkId:rr.work_id}))).status===0&&(sa.resetFields(),Ht({type:"shixunHomeworks/getStudentWorkSupplyDetail",payload:ei({},Xn.actionTabs.params)}),Ht({type:"classroomList/setActionTabs",payload:{}}))});return it.createElement(Ie.default,{centered:!0,title:"\u8865\u4EA4\u9644\u4EF6",open:Xn.actionTabs.key==="\u8865\u4EA4\u9644\u4EF6",bodyStyle:{minHeight:200},onOk:()=>Kn(void 0,null,function*(){if(Ao!=null&&Ao.can_submit){if(!(Ao!=null&&Ao.submit_size)){De.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}Ie.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:472,content:it.createElement(it.Fragment,null,"\u4F60\u8FD8\u6709 ",it.createElement("span",{className:"ml5 mr5",style:{color:"#DF711C"}},Ao==null?void 0:Ao.submit_size)," \u6B21\u63D0\u4EA4\u673A\u4F1A\u3002\u786E\u8BA4\u63D0\u4EA4\u540E\uFF0C\u4E0A\u4E00\u6B21\u7684\u63D0\u4EA4\u8BB0\u5F55\u4F1A\u88AB\u8986\u76D6\u3002\u8BF7\u6CE8\u610F\uFF0C\u5230\u8FBE\u89C4\u5B9A\u7684\u63D0\u4EA4\u6B21\u6570\u540E\u5C06\u4E0D\u53EF\u518D\u6B21\u63D0\u4EA4\uFF0C\u786E\u5B9A\u662F\u5426\u63D0\u4EA4\uFF1F"),onOk:()=>{Vr()}});return}Vr()}),onCancel:()=>{sa.resetFields(),Ht({type:"classroomList/setActionTabs",payload:{}})}},it.createElement(we.default,{form:sa,initialValues:{}},it.createElement(we.default.Item,{name:"attachment_ids",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},it.createElement(an.Z,null)),it.createElement(we.default.Item,{name:"description"},it.createElement(kt.default.TextArea,{placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u8865\u4EA4\u9644\u4EF6\u7684\u539F\u56E0\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26",rows:7}))))};var Nn=(0,Ce.connect)(({classroomList:Xn,loading:bn})=>({classroomList:Xn,loading:bn}))(jt),Gn=oe(58130),ii=oe(2119),Sn=oe(44965),Yt=oe(99372),Zt=oe(35427),St=oe(97267),rt=oe(91740),Ft=oe(95237),Ot=oe(43604),ft=oe(37906),ct={pinfen:"pinfen____hgN7",left:"left___ZyTXs",right:"right___OSPEM",tagStyleSzz:"tagStyleSzz___fzxbk",headpic:"headpic___d7fnl",new_style_box:"new_style_box___XOWhi",box_child:"box_child___uYxgt",box_item_top:"box_item_top___MohWv",yichang:"yichang___ppIPI",text_style:"text_style___V3FT_",text_style_red:"text_style_red___reUfY"},Ge=oe(64542),Ae=oe(93461),xe=oe(29399),je=Object.defineProperty,Qe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,hn=(Xn,bn,Ht)=>bn in Xn?je(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,Pn=(Xn,bn)=>{for(var Ht in bn||(bn={}))Oe.call(bn,Ht)&&hn(Xn,Ht,bn[Ht]);if(Qe)for(var Ht of Qe(bn))xt.call(bn,Ht)&&hn(Xn,Ht,bn[Ht]);return Xn};const wt=Xn=>React.createElement("svg",Pn({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u661F\u5F62"),React.createElement("path",{d:"m7 10.5-4.114 2.163.785-4.581L.343 4.837l4.6-.669L7 0l2.057 4.168 4.6.669-3.328 3.245.785 4.581z",fill:"#FA6400",fillRule:"evenodd"}));var nn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTcgMTAuNS00LjExNCAyLjE2My43ODUtNC41ODFMLjM0MyA0LjgzN2w0LjYtLjY2OUw3IDBsMi4wNTcgNC4xNjggNC42LjY2OS0zLjMyOCAzLjI0NS43ODUgNC41ODF6IiBmaWxsPSIjRkE2NDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",Mn=Object.defineProperty,Zn=Object.getOwnPropertySymbols,li=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,Mi=(Xn,bn,Ht)=>bn in Xn?Mn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,Si=(Xn,bn)=>{for(var Ht in bn||(bn={}))li.call(bn,Ht)&&Mi(Xn,Ht,bn[Ht]);if(Zn)for(var Ht of Zn(bn))xi.call(bn,Ht)&&Mi(Xn,Ht,bn[Ht]);return Xn};const Ri=Xn=>React.createElement("svg",Si({width:16,height:14,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u62A5\u544A"),React.createElement("path",{d:"M3.629 14a2.38 2.38 0 0 1-2.373-2.373V4.311a.057.057 0 0 0-.06-.06H.564A.542.542 0 0 1 0 3.737V1.691C0 .76.81 0 1.81 0h8.868c.999 0 1.809.81 1.81 1.81v7.563a.057.057 0 0 0 .059.06h1.997a.557.557 0 0 1 .563.563v2.185a1.81 1.81 0 0 1-1.809 1.81L3.628 14Zm8.927-3.56a.057.057 0 0 0-.059.06v1.69a.81.81 0 0 0 1.622 0V10.5a.057.057 0 0 0-.06-.06h-1.503ZM2.314 4.252a.057.057 0 0 0-.06.06v7.306a1.377 1.377 0 0 0 1.375 1.375h7.959c.02 0 .04-.012.049-.03a.063.063 0 0 0 0-.06 1.814 1.814 0 0 1-.148-.721V1.819a.81.81 0 0 0-1.622 0v1.918a.536.536 0 0 1-.563.514h-6.99Zm-.505-3.243c-.445 0-.81.307-.81.683v1.502a.058.058 0 0 0 .059.06h7.741a.057.057 0 0 0 .06-.06V1.82c0-.248.05-.494.148-.722.01-.02 0-.04 0-.059a.054.054 0 0 0-.05-.03H1.81Zm2.314 9.462a.504.504 0 1 1 0-1.008H9.62a.504.504 0 1 1 0 1.008H4.123Zm0-2.689a.504.504 0 0 1 0-1.008H9.62a.504.504 0 1 1 0 1.008H4.123Z",fill:"#3061D0",fillRule:"nonzero"}));var lr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMuNjI5IDE0YTIuMzggMi4zOCAwIDAgMS0yLjM3My0yLjM3M1Y0LjMxMWEuMDU3LjA1NyAwIDAgMC0uMDYtLjA2SC41NjRBLjU0Mi41NDIgMCAwIDEgMCAzLjczN1YxLjY5MUMwIC43Ni44MSAwIDEuODEgMGg4Ljg2OGMuOTk5IDAgMS44MDkuODEgMS44MSAxLjgxdjcuNTYzYS4wNTcuMDU3IDAgMCAwIC4wNTkuMDZoMS45OTdhLjU1Ny41NTcgMCAwIDEgLjU2My41NjN2Mi4xODVhMS44MSAxLjgxIDAgMCAxLTEuODA5IDEuODFMMy42MjggMTRabTguOTI3LTMuNTZhLjA1Ny4wNTcgMCAwIDAtLjA1OS4wNnYxLjY5YS44MS44MSAwIDAgMCAxLjYyMiAwVjEwLjVhLjA1Ny4wNTcgMCAwIDAtLjA2LS4wNmgtMS41MDNaTTIuMzE0IDQuMjUyYS4wNTcuMDU3IDAgMCAwLS4wNi4wNnY3LjMwNmExLjM3NyAxLjM3NyAwIDAgMCAxLjM3NSAxLjM3NWg3Ljk1OWMuMDIgMCAuMDQtLjAxMi4wNDktLjAzYS4wNjMuMDYzIDAgMCAwIDAtLjA2IDEuODE0IDEuODE0IDAgMCAxLS4xNDgtLjcyMVYxLjgxOWEuODEuODEgMCAwIDAtMS42MjIgMHYxLjkxOGEuNTM2LjUzNiAwIDAgMS0uNTYzLjUxNGgtNi45OVptLS41MDUtMy4yNDNjLS40NDUgMC0uODEuMzA3LS44MS42ODN2MS41MDJhLjA1OC4wNTggMCAwIDAgLjA1OS4wNmg3Ljc0MWEuMDU3LjA1NyAwIDAgMCAuMDYtLjA2VjEuODJjMC0uMjQ4LjA1LS40OTQuMTQ4LS43MjIuMDEtLjAyIDAtLjA0IDAtLjA1OWEuMDU0LjA1NCAwIDAgMC0uMDUtLjAzSDEuODFabTIuMzE0IDkuNDYyYS41MDQuNTA0IDAgMSAxIDAtMS4wMDhIOS42MmEuNTA0LjUwNCAwIDEgMSAwIDEuMDA4SDQuMTIzWm0wLTIuNjg5YS41MDQuNTA0IDAgMCAxIDAtMS4wMDhIOS42MmEuNTA0LjUwNCAwIDEgMSAwIDEuMDA4SDQuMTIzWiIgZmlsbD0iIzMwNjFEMCIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+";const dr=({handleCloseOrOpenModal:Xn,dataInfo:bn,isShowButton:Ht=!0,className:Ao=""})=>{const ta=()=>{if(bn!=null&&bn.teacher_score&&(bn==null?void 0:bn.teacher_score)>=0)return se.createElement(se.Fragment,null,"\u6559\u5E08\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.teacher_score));if(bn!=null&&bn.teaching_asistant_score&&(bn==null?void 0:bn.teaching_asistant_score)>=0)return se.createElement(se.Fragment,null,"\u52A9\u6559\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.teaching_asistant_score));if(bn!=null&&bn.student_score&&(bn==null?void 0:bn.student_score)>=0)return se.createElement(se.Fragment,null,"\u533F\u8BC4\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.student_score))};return se.createElement(se.Fragment,null,se.createElement("div",{className:`${zt.work_score} ${Ao}`},se.createElement("div",{style:{color:"#191919",fontWeight:600}},"\u4F5C\u4E1A\u5F97\u5206"),se.createElement("div",{className:zt.work_img},se.createElement("div",{style:{height:"40px",lineHeight:"50px",fontSize:"24px",color:"#009C0F",fontWeight:600}},(bn==null?void 0:bn.work_score)||"--",se.createElement("span",{style:{fontSize:"14px"}},"\u5206")),se.createElement("div",{style:{fontSize:"12px",color:"#666666"}},"\u6700\u7EC8\u6210\u7EE9")),se.createElement("img",{src:nn}),se.createElement("div",{style:{marginLeft:"10px",width:Ht?"59%":"77%"}},"\u8BA1\u7B97\u89C4\u5219",se.createElement(et.Z,{title:se.createElement("span",{className:"font14"},"\u5728\u591A\u9879\u8BC4\u5206\u5360\u6BD4\u8BBE\u7F6E\u4E2D\uFF0C\u82E5\u67D0\u9879\u8BC4\u5206\u7F3A\u5931\uFF0C\u5176\u5360\u6BD4\u5C06\u7531\u5176\u4ED6\u5DF2\u8BC4\u5206\u9879\u5E73\u5206\uFF1B\u82E5\u4E24\u9879\u8BC4\u5206\u7F3A\u5931\uFF0C\u5219\u552F\u4E00\u5DF2\u8BC4\u5206\u9879\u5C06\u5360100%\u7684\u6BD4\u91CD\u3002")},se.createElement("i",{className:"iconfont icon-tishixiaowenhao ml5 mr5 font14 c-grey-999 current",style:{lineHeight:"18px"}})),"=",bn!=null&&bn.final_mode?ta():se.createElement(se.Fragment,null,"\u6559\u5E08\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},(bn==null?void 0:bn.teacher_score)||"--","*",bn==null?void 0:bn.te_proportion),"+\u52A9\u6559\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},(bn==null?void 0:bn.teaching_asistant_score)||"--","*",bn==null?void 0:bn.ta_proportion),"+\u533F\u8BC4\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},(bn==null?void 0:bn.student_score)||"--","*",bn==null?void 0:bn.st_proportion)),"-\u6263\u5206\u9879 (\u8865\u4EA4\u6263\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.late_penalty),"+\u67E5\u91CD\u6263\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.repeat_minus_score),"+\u7F3A\u8BC4\u6263\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.absence_penalty),")"),Ht&&se.createElement("div",{className:zt.work_button,onClick:()=>{Xn({key:"\u5F97\u5206\u8BE6\u60C5"})}},se.createElement("img",{src:lr,style:{marginRight:"5px"}}),"\u67E5\u770B\u5F97\u5206\u8BE6\u60C5")))};var ur=(0,Ce.connect)(({shixunHomeworks:Xn})=>({shixunHomeworks:Xn}))(dr),Sr=Object.defineProperty,Wr=Object.defineProperties,Gi=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,no=(Xn,bn,Ht)=>bn in Xn?Sr(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,pr=(Xn,bn)=>{for(var Ht in bn||(bn={}))Yi.call(bn,Ht)&&no(Xn,Ht,bn[Ht]);if(Zr)for(var Ht of Zr(bn))Ue.call(bn,Ht)&&no(Xn,Ht,bn[Ht]);return Xn},fo=(Xn,bn)=>Wr(Xn,Gi(bn)),Fo=(Xn,bn)=>{var Ht={};for(var Ao in Xn)Yi.call(Xn,Ao)&&bn.indexOf(Ao)<0&&(Ht[Ao]=Xn[Ao]);if(Xn!=null&&Zr)for(var Ao of Zr(Xn))bn.indexOf(Ao)<0&&Ue.call(Xn,Ao)&&(Ht[Ao]=Xn[Ao]);return Ht},Vo=(Xn,bn,Ht)=>new Promise((Ao,ta)=>{var sa=Br=>{try{Jr(Ht.next(Br))}catch(rr){ta(rr)}},Vr=Br=>{try{Jr(Ht.throw(Br))}catch(rr){ta(rr)}},Jr=Br=>Br.done?Ao(Br.value):Promise.resolve(Br.value).then(sa,Vr);Jr((Ht=Ht.apply(Xn,bn)).next())});const Io=({shixunHomeworks:Xn,loading:bn,user:Ht,globalSetting:Ao})=>({shixunHomeworks:Xn,loading:bn.effects,user:Ht,globalSetting:Ao}),Oi=Xn=>{var bn=Xn,{ModalProps:Ht={},shixunHomeworks:Ao,user:ta}=bn,sa=Fo(bn,["ModalProps","shixunHomeworks","user"]),Vr,Jr;const[Br]=we.default.useForm(),rr=(0,Ce.useParams)(),{userInfo:ro={}}=ta,[,Na,Ia,Ho]=(0,Zt.U)(ke.Yn,{homeworkId:rr==null?void 0:rr.userId}),[,Bo,rl,Bs]=(0,Zt.U)(ke.Am,{homeworkId:rr==null?void 0:rr.userId}),[,ka,Nl]=(0,Zt.U)(ke.QC,{userId:rr==null?void 0:rr.userId}),[js,$s]=(0,se.useState)({page:1,limit:10}),[fr,va]=(0,se.useState)(!1),Wt=[{title:"\u8BC4\u9605\u4EBA\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:100,render:Ns=>se.createElement(et.Z,{title:Ns},se.createElement("span",null,Ns))},{title:"\u8BC4\u5206",dataIndex:"score",width:80},{title:"\u8BC4\u8BED",dataIndex:"content",ellipsis:!0,render:Ns=>se.createElement(et.Z,{title:Ns},se.createElement("span",null,Ns))},{title:"\u63D0\u4EA4\u4F5C\u4E1A\u7248\u672C",dataIndex:"student_work_num",width:110,render:(Ns,ps)=>{var cl;return se.createElement("a",{style:{color:Ns===((cl=Ho==null?void 0:Ho.data)==null?void 0:cl.max_student_work_num)?"#1B8565":"#FA6400"},target:"_blank",href:`/classrooms/${rr==null?void 0:rr.coursesId}/common_homework/${rr==null?void 0:rr.categoryId}/review/${ps==null?void 0:ps.student_work_id}?history_id=${ps==null?void 0:ps.history_id}`},"\u7B2C ",Ns," \u6B21")}},{title:"\u64CD\u4F5C",dataIndex:"comment_id",width:150,render:(Ns,ps)=>se.createElement("div",{className:"flex item-center gap-20px"},(ps==null?void 0:ps.user_login)===(ro==null?void 0:ro.login)&&se.createElement("a",{onClick:()=>{var cl;Br.setFieldsValue(fo(pr({},ps),{comment:ps==null?void 0:ps.content,score_details:((cl=ps==null?void 0:ps.score_details)==null?void 0:cl.map(Os=>pr({},Os)))||[]})),va(!0)}},"\u7F16\u8F91"),se.createElement("a",{target:"_blank",href:`/classrooms/${rr==null?void 0:rr.coursesId}/common_homework/${rr==null?void 0:rr.categoryId}/review/${ps==null?void 0:ps.student_work_id}?history_id=${ps==null?void 0:ps.history_id}`},"\u67E5\u770B"),(ps==null?void 0:ps.user_login)===(ro==null?void 0:ro.login)&&se.createElement("a",{className:"current-delete-hover",onClick:()=>{di(ps)}},"\u5220\u9664"))}],di=(Ns={})=>{Ie.default.confirm({title:"\u662F\u5426\u786E\u8BA4\u5220\u9664?",centered:!0,onOk:()=>Vo(void 0,null,function*(){(yield Nl({score_id:Ns==null?void 0:Ns.comment_id})).status===0&&(De.ZP.success("\u5220\u9664\u6210\u529F"),$s({page:1,limit:10}),va(!1))})})};return(0,se.useEffect)(()=>{Ht!=null&&Ht.open&&Ia(pr({homeworkId:rr==null?void 0:rr.userId},js))},[js,Ht==null?void 0:Ht.open]),se.createElement(se.Fragment,null,se.createElement(Ie.default,pr({},pr({title:"\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55",centered:!0,width:800},Ht)),se.createElement(ht.default,{className:"mt10",loading:Na,columns:Wt,locale:{emptyText:se.createElement(St.Z,null)},dataSource:((Vr=Ho==null?void 0:Ho.data)==null?void 0:Vr.list)||[],pagination:{hideOnSinglePage:!0,total:((Jr=Ho==null?void 0:Ho.data)==null?void 0:Jr.size)||0,onChange:(Ns,ps)=>{$s(fo(pr({},js),{page:Ns,limit:ps}))},current:js==null?void 0:js.page,pageSize:js==null?void 0:js.limit,showTotal:Ns=>se.createElement(se.Fragment,null,"\u5171",se.createElement("span",{className:"ml5 mr5 c-blue"},Ns),"\u6761\u6570\u636E")}})),se.createElement(On,{FormProps:{form:Br,onFinish:(...Ns)=>Vo(void 0,[...Ns],function*(ps={}){const cl=yield rl(fo(pr({},ps),{homeworkId:rr==null?void 0:rr.userId}));(cl==null?void 0:cl.status)===0&&(De.ZP.success("\u4FEE\u6539\u6210\u529F"),$s({page:1,limit:10}),va(!1))})},ModalProps:{open:fr,onCancel:()=>{va(!1)},onOk:()=>{Br.submit()},confirmLoading:Bo}}))},on=(0,Ce.connect)(Io)(Oi),ln=Xn=>{var bn=Xn,{FormProps:Ht,DataProps:Ao={},isShowStyles:ta=!0,shixunHomeworks:sa}=bn,Vr=Fo(bn,["FormProps","DataProps","isShowStyles","shixunHomeworks"]);const[Jr]=we.default.useForm(),{form:Br=Jr}=Ht,{studentWorkDetail:rr,workDetail:ro}=sa,Na=(0,Ce.useParams)(),Ia=we.default.useWatch("comment",Br),Ho=we.default.useWatch("score",Br),Bo=we.default.useWatch("score_details",Br),[rl,Bs]=Ie.default.useModal(),[ka,Nl]=(0,se.useState)(!1),[js,$s]=(0,se.useState)(!1);return(0,se.useEffect)(()=>{var fr;!(rr!=null&&rr.single_score)&&(Bo==null?void 0:Bo.length)>0&&Br.setFieldsValue({score:(fr=Bo||[])==null?void 0:fr.reduce((va,Wt)=>(0,Gn.EN)(va,Wt.score||0,"+"),0)})},[Bo]),se.createElement(se.Fragment,null,Bs,se.createElement(we.default.Item,{hidden:!0,name:"score_id",label:"\u8FD9\u4E2A\u662F\u7528\u6765\u6536\u96C6score_id\u7684"}),!(Ao!=null&&Ao.disabledScore)&&se.createElement(se.Fragment,null,rr!=null&&rr.single_score?se.createElement(we.default.Item,{className:zt.ReviewStyle,name:"score",rules:[{required:!(0,ii.GJ)(),message:"\u8BF7\u586B\u5199\u5206\u6570"}],label:se.createElement("div",{className:"w-full flex justify-between item-center"},se.createElement("span",null,"\u8BC4\u5206"),se.createElement(xe.Z,{title:"\u667A\u80FD\u8BC4\u9605",isShowComponent:ro==null?void 0:ro.is_open_ai_review,isReview:!0,authority:(0,ii.G5)(),DrawerProps:{open:js,onClose:()=>{$s(!1)}},onOpen:()=>{$s(!0)},loadingOption:{text:"AI\u8BC4\u9605\u4E2D..."},defaultGetData:!0,FetchUrl:"/api/intelligent_reviews/large_model_intelligent_qa.json",FetchData:{student_work_id:Na.userId},isShowDefuatTips:!1,extraEdit:fr=>{var va;return(fr==null?void 0:fr.sender)=="AI"&&((va=fr==null?void 0:fr.response)==null?void 0:va.status)!=-1&&se.createElement(Ke.ZP,{icon:se.createElement("i",{className:"iconfont icon-yijianyingyong",style:{color:"#b7b7c2"}}),className:"mr10",type:"link",onClick:()=>{const Wt=()=>{var di,Ns;Br.setFieldsValue({score:(di=fr==null?void 0:fr.response)==null?void 0:di.score,comment:(Ns=fr==null?void 0:fr.response)==null?void 0:Ns.remarks}),$s(!1)};if(Ho||Ia){rl.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u5206\u6216\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4E00\u952E\u5E94\u7528\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u5E94\u7528\uFF1F",okText:"\u5E94\u7528",onOk:Wt});return}Wt()}},"\u4E00\u952E\u5E94\u7528")}},se.createElement(Ke.ZP,{style:{padding:0,height:"auto"},icon:se.createElement("img",{src:oe(11689)}),type:"link"},"\u667A\u80FD\u8BC4\u9605")))},se.createElement(Te.Z,{className:"w-full",step:.1,min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570",addonAfter:"\u5206"})):se.createElement("div",{className:ta?"gap-10px":"gap-20px mb20",style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(350px, 1fr))"}},se.createElement(we.default.List,{name:"score_details"},(fr,{add:va,remove:Wt})=>se.createElement(se.Fragment,null,fr.map(di=>se.createElement("div",{key:di.key,className:ta?"pt10 pb10 p20":"",style:{background:ta&&"#F6F7F9"}},se.createElement("div",{className:"flex justify-between mb10"},se.createElement("div",{className:"multi_ellipsis1"},Br.getFieldValue(["score_details",di.name,"name"])),se.createElement("div",{className:"c-grey-666"},"\uFF08\u6EE1\u5206",Br.getFieldValue(["score_details",di.name,"full_score"]),"\u5206\uFF09")),se.createElement(we.default.Item,{className:"mb0",name:[di.name,"score"],rules:Br.getFieldValue(["score_details",di.name,"isAllScore"])?null:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},se.createElement(Te.Z,{className:"w-full",stringMode:!0,min:0,max:Br.getFieldValue(["score_details",di.name,"full_score"]),placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",controls:!1,addonAfter:"\u5206"})))))),se.createElement("div",{key:"allScore",className:ta?"pt10 pb10 p20":"",style:{background:ta&&"#F6F7F9"}},se.createElement("div",{className:"flex justify-between mb10"},se.createElement("div",{className:"multi_ellipsis1 c-blue"},"\u7EFC\u5408\u5F97\u5206"),se.createElement("div",{className:"c-grey-666"},"\uFF08\u6EE1\u5206100\u5206\uFF09")),se.createElement(we.default.Item,{className:"mb0",name:"score"},se.createElement(Te.Z,{className:"w-full",stringMode:!0,disabled:!0,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",controls:!1,addonAfter:"\u5206"}))))),se.createElement(we.default.Item,{name:"comment",className:zt.ReviewStyle,label:se.createElement("div",{className:"w-full flex justify-between item-center"},se.createElement("span",null,"\u8BC4\u8BED"),se.createElement(Ae.Z,{isShowComponent:(0,ii.G5)(),ModalProps:{open:ka,onCancel:()=>{Nl(!1)}},onDataSelect:(fr,{node:va})=>{const Wt=()=>{Br.setFieldsValue({comment:va==null?void 0:va.value}),Nl(!1)};if(Ia){rl.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Wt});return}Wt()}},se.createElement(Ke.ZP,{style:{padding:0,height:"auto"},icon:se.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:fr=>{fr.stopPropagation(),Nl(!0)}},"\u5E38\u7528\u8BC4\u8BED")))},se.createElement(Ge.h,{height:200,scrollId:"comment",placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u5BF9\u672C\u4F5C\u54C1\u7684\u8BC4\u8BED\uFF0C\u6700\u5927\u9650\u52362000\u4E2A\u5B57\u7B26"})))},qt=(0,Ce.connect)(Io)(ln),Nt=Xn=>{var bn=Xn,{ModalProps:Ht={},DataProps:Ao={},shixunHomeworks:ta,FormProps:sa}=bn,Vr=Fo(bn,["ModalProps","DataProps","shixunHomeworks","FormProps"]);const{form:Jr}=sa,{studentWorkDetail:Br}=ta;return se.createElement(Ie.default,pr({},pr({title:se.createElement(se.Fragment,null,"\u7F16\u8F91\u8BC4\u8BED",!(Br!=null&&Br.single_score)&&se.createElement("span",{className:"ml20 font16",style:{color:"#FA6400"}},"\u6CE8\u610F\uFF1A\u5F00\u542F\u591A\u7EF4\u5EA6\u8BC4\u5206")),centered:!0,width:Br!=null&&Br.single_score?662:1120},Ht)),se.createElement(we.default,pr({},pr({size:"large",layout:"vertical"},sa)),se.createElement(qt,{FormProps:{form:Jr},DataProps:Ao})))},On=(0,Ce.connect)(Io)(Nt),Un=Xn=>{var bn=Xn,{ModalProps:Ht={},DataProps:Ao={},shixunHomeworks:ta}=bn,sa=Fo(bn,["ModalProps","DataProps","shixunHomeworks"]),Vr,Jr,Br;const{studentWorkDetail:rr}=ta,[ro,Na]=(0,se.useState)({teacherList:[],assistantsList:[],anonymousCommentList:[]}),Ia=(Ho,Bo,rl="")=>({title:rl==="anonymous_comment"?se.createElement(et.Z,{title:(0,ii.G5)()&&(Ho==null?void 0:Ho.name)},se.createElement("a",null,"\u533F\u540D")):Ho==null?void 0:Ho.name,dataIndex:`score${Bo}`,align:"center",render:(Bs,ka,Nl)=>Nl===0?se.createElement(se.Fragment,null,Bs,ka[`old_score${Bo}`]&&se.createElement("span",{style:{color:"#009C0F"}},"\uFF08\u6559\u5E08\u8865\u5206\uFF1A",ka[`old_score${Bo}`],"\uFF09")):se.createElement("div",{className:"flex item-center justify-center"},se.createElement("div",{style:{width:166}},Bs==null?void 0:Bs.map((js,$s)=>se.createElement("div",{key:$s,className:"flex justify-between"},js==null?void 0:js.name,se.createElement("span",{className:"ml5",style:{color:"#009C0F"}},js==null?void 0:js.score)))))});return(0,se.useEffect)(()=>{var Ho,Bo,rl,Bs,ka,Nl;if(rr&&(Ht!=null&&Ht.open)){const js=[{},{}],$s=[{},{}],fr=[{},{}];((Ho=rr==null?void 0:rr.teacher_score_list)==null?void 0:Ho.length)>0&&((Bo=rr==null?void 0:rr.teacher_score_list)==null||Bo.forEach((va,Wt)=>{js[0][`score${Wt}`]=va==null?void 0:va.score,js[1][`score${Wt}`]=va==null?void 0:va.user_score})),((rl=rr==null?void 0:rr.assistants_score_list)==null?void 0:rl.length)>0&&((Bs=rr==null?void 0:rr.assistants_score_list)==null||Bs.forEach((va,Wt)=>{$s[0][`score${Wt}`]=va==null?void 0:va.score,$s[1][`score${Wt}`]=va==null?void 0:va.user_score})),((ka=rr==null?void 0:rr.anonymous_comment_score_list)==null?void 0:ka.length)>0&&((Nl=rr==null?void 0:rr.anonymous_comment_score_list)==null||Nl.forEach((va,Wt)=>{va!=null&&va.old_score?(fr[0][`score${Wt}`]=va==null?void 0:va.old_score,fr[0][`old_score${Wt}`]=va==null?void 0:va.score):(fr[0][`score${Wt}`]=va==null?void 0:va.score,fr[0][`old_score${Wt}`]=va==null?void 0:va.old_score),fr[1][`score${Wt}`]=va==null?void 0:va.user_score})),Na({teacherList:rr!=null&&rr.single_score?[js[0]]:js,assistantsList:rr!=null&&rr.single_score?[$s[0]]:$s,anonymousCommentList:rr!=null&&rr.single_score?[fr[0]]:fr})}},[rr,Ht==null?void 0:Ht.open]),se.createElement(Ie.default,pr({},pr({title:"\u5F97\u5206\u8BE6\u60C5",centered:!0,width:1200,bodyStyle:{maxHeight:"80vh"}},Ht)),se.createElement(ur,{className:"mt0",dataInfo:rr,isShowButton:!1}),se.createElement("div",{className:`${zt.ScoreDetailsBase} flex flex-col gap-20px`},((Vr=rr==null?void 0:rr.teacher_score_list)==null?void 0:Vr.length)>0&&se.createElement("div",{className:"flex"},se.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u6559\u5E08\u8BC4\u5206"),se.createElement(ht.default,{className:"flex-1",style:{minWidth:0},bordered:!0,dataSource:ro==null?void 0:ro.teacherList,pagination:!1,scroll:{x:"max-content"},columns:[...((rr==null?void 0:rr.teacher_score_list)||[]).map((Ho,Bo)=>Ia(Ho,Bo)),{title:`\u6700\u7EC8\u5F97\u5206\uFF08${(rr==null?void 0:rr.teacher_mode)===1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206"}\uFF09`,dataIndex:"value",align:"center",width:224,fixed:"right",render:Ho=>se.createElement("span",{style:{color:"#009C0F"}},rr==null?void 0:rr.teacher_score),onCell:(Ho,Bo)=>({rowSpan:Bo%2==0?2:0})}]})),((Jr=rr==null?void 0:rr.assistants_score_list)==null?void 0:Jr.length)>0&&se.createElement("div",{className:"flex"},se.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u52A9\u6559\u8BC4\u5206"),se.createElement(ht.default,{className:"flex-1",style:{minWidth:0},bordered:!0,dataSource:(ro==null?void 0:ro.assistantsList)||[],pagination:!1,scroll:{x:"max-content"},columns:[...((rr==null?void 0:rr.assistants_score_list)||[]).map((Ho,Bo)=>Ia(Ho,Bo)),{title:`\u6700\u7EC8\u5F97\u5206\uFF08${(rr==null?void 0:rr.ta_mode)===1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206"}\uFF09`,dataIndex:"value",align:"center",width:224,fixed:"right",render:Ho=>se.createElement("span",{style:{color:"#009C0F"}},rr==null?void 0:rr.teaching_asistant_score),onCell:(Ho,Bo)=>({rowSpan:Bo%2==0?2:0})}]})),(rr==null?void 0:rr.anonymous_comment)&&((Br=rr==null?void 0:rr.anonymous_comment_score_list)==null?void 0:Br.length)>0&&se.createElement("div",{className:"flex"},se.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u533F\u8BC4\u8BC4\u5206"),se.createElement(ht.default,{className:"flex-1",style:{minWidth:0},bordered:!0,dataSource:(ro==null?void 0:ro.anonymousCommentList)||[],pagination:!1,scroll:{x:"max-content"},columns:[...((rr==null?void 0:rr.anonymous_comment_score_list)||[]).map((Ho,Bo)=>Ia(Ho,Bo,"anonymous_comment")),{title:"\u6700\u7EC8\u5F97\u5206\uFF08\u53D6\u5E73\u5747\u5206\uFF09",dataIndex:"value",align:"center",width:224,fixed:"right",render:Ho=>se.createElement("span",{style:{color:"#009C0F"}}," ",rr==null?void 0:rr.student_score),onCell:(Ho,Bo)=>({rowSpan:Bo%2==0?2:0})}]})),se.createElement("div",{className:"flex"},se.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u6263\u5206"),se.createElement(ht.default,{className:" flex-1",bordered:!0,dataSource:[rr],pagination:!1,columns:[{title:"\u8865\u4EA4\u6263\u5206",dataIndex:"late_penalty",align:"center"},{title:"\u67E5\u91CD\u6263\u5206",dataIndex:"repeat_minus_score",align:"center"},(rr==null?void 0:rr.anonymous_comment)&&{title:"\u7F3A\u8BC4\u6263\u5206",dataIndex:"absence_penalty",align:"center"},{title:"\u8FDD\u8BC4\u6263\u5206",dataIndex:"appeal_penalty",align:"center"},{title:"\u6700\u7EC8\u6263\u5206",dataIndex:"value",align:"center",width:224,render:(Ho,Bo)=>se.createElement("span",{style:{color:"#009C0F"}},((Bo==null?void 0:Bo.late_penalty)||0)+((Bo==null?void 0:Bo.repeat_minus_score)||0)+((Bo==null?void 0:Bo.absence_penalty)||0)+((Bo==null?void 0:Bo.appeal_penalty)||0))}].filter(Ho=>Ho)}))))},Vt=(0,Ce.connect)(Io)(Un),yt=Xn=>{var bn=Xn,{ModalProps:Ht={},DataProps:Ao={},shixunHomeworks:ta,dispatch:sa}=bn,Vr=Fo(bn,["ModalProps","DataProps","shixunHomeworks","dispatch"]);const{workDetail:Jr}=ta,Br=(0,Ce.useParams)();return se.createElement(Ie.default,pr({},pr({title:"\u4F5C\u4E1A\u63CF\u8FF0",centered:!0,width:1200,bodyStyle:{maxHeight:"80vh"}},Ht)),se.createElement(Xt.Z,{className:"mt10",value:(Jr==null?void 0:Jr.description)||"\u6682\u65E0\uFF5E"}),se.createElement(rt.Z,{authority:(0,ii.GJ)(),showDimensions:!1,dataSource:Jr==null?void 0:Jr.attachments,callback:()=>{sa({type:"shixunHomeworks/getWorkDetail",payload:{categoryId:Br.categoryId}})}}))},In=(0,Ce.connect)(Io)(yt);var zn=Object.defineProperty,mi=Object.getOwnPropertySymbols,Rn=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Ut=(Xn,bn,Ht)=>bn in Xn?zn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,Ln=(Xn,bn)=>{for(var Ht in bn||(bn={}))Rn.call(bn,Ht)&&Ut(Xn,Ht,bn[Ht]);if(mi)for(var Ht of mi(bn))bt.call(bn,Ht)&&Ut(Xn,Ht,bn[Ht]);return Xn};const ni=Xn=>React.createElement("svg",Ln({width:13,height:12,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"4"),React.createElement("path",{d:"M2.573 1.787v.006c.018.135.324 2.394 2.146 4.04C6.597 7.53 9.481 7.66 9.481 7.66h.003c.084.001 1.985.07 3.035 3.16.033.096.074.232.123.407a.583.583 0 0 1-.563.739H3.578a.583.583 0 0 1-.584-.592c.025-1.732-.115-2.97-.421-3.714C2.057 6.405.735 5.392.038 2.183c-.04-.188-.246-1.41.997-1.578C2.277.437 2.573 1.787 2.573 1.787ZM7.876.007c1.611 0 2.917 1.371 2.917 3.063 0 1.69-1.306 3.062-2.917 3.062-1.611 0-2.917-1.37-2.917-3.062C4.96 1.379 6.265.007 7.876.007Z",fill:"#FA6400",fillRule:"nonzero"}));var _t="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNTczIDEuNzg3di4wMDZjLjAxOC4xMzUuMzI0IDIuMzk0IDIuMTQ2IDQuMDRDNi41OTcgNy41MyA5LjQ4MSA3LjY2IDkuNDgxIDcuNjZoLjAwM2MuMDg0LjAwMSAxLjk4NS4wNyAzLjAzNSAzLjE2LjAzMy4wOTYuMDc0LjIzMi4xMjMuNDA3YS41ODMuNTgzIDAgMCAxLS41NjMuNzM5SDMuNTc4YS41ODMuNTgzIDAgMCAxLS41ODQtLjU5MmMuMDI1LTEuNzMyLS4xMTUtMi45Ny0uNDIxLTMuNzE0QzIuMDU3IDYuNDA1LjczNSA1LjM5Mi4wMzggMi4xODNjLS4wNC0uMTg4LS4yNDYtMS40MS45OTctMS41NzhDMi4yNzcuNDM3IDIuNTczIDEuNzg3IDIuNTczIDEuNzg3Wk03Ljg3Ni4wMDdjMS42MTEgMCAyLjkxNyAxLjM3MSAyLjkxNyAzLjA2MyAwIDEuNjktMS4zMDYgMy4wNjItMi45MTcgMy4wNjItMS42MTEgMC0yLjkxNy0xLjM3LTIuOTE3LTMuMDYyQzQuOTYgMS4zNzkgNi4yNjUuMDA3IDcuODc2LjAwN1oiIGZpbGw9IiNGQTY0MDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",yn=Object.defineProperty,Qt=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,gn=(Xn,bn,Ht)=>bn in Xn?yn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,kn=(Xn,bn)=>{for(var Ht in bn||(bn={}))un.call(bn,Ht)&&gn(Xn,Ht,bn[Ht]);if(Qt)for(var Ht of Qt(bn))wn.call(bn,Ht)&&gn(Xn,Ht,bn[Ht]);return Xn};const Bn=Xn=>React.createElement("svg",kn({width:12,height:12,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"5"),React.createElement("g",{fill:"#5E54E7",fillRule:"nonzero"},React.createElement("path",{d:"M8.477 5.651c.569 0 1.101.138 1.569.377V1.257C10.046.56 9.486 0 8.789 0H1.257C.56 0 0 .56 0 1.257v8.789c0 .697.56 1.257 1.257 1.257h4.56a3.411 3.411 0 0 1-.79-2.193 3.448 3.448 0 0 1 3.45-3.459Zm-3.138.624H2.202a.31.31 0 0 1-.312-.312.31.31 0 0 1 .312-.312h3.137a.31.31 0 0 1 .312.312.31.31 0 0 1-.312.312ZM1.257 3.138V1.88c0-.349.284-.624.624-.624h6.275c.349 0 .624.284.624.624v1.257H1.257Zm2.826 5.651H2.202a.31.31 0 0 1-.312-.312.31.31 0 0 1 .312-.312h1.88a.31.31 0 0 1 .312.312.31.31 0 0 1-.311.312Z"}),React.createElement("path",{d:"M8.477 6.275a2.827 2.827 0 0 0 0 5.652 2.827 2.827 0 0 0 0-5.652Zm1.587 4.743C10.22 8.752 8.44 9.661 8.44 9.661v.981L6.908 9.101 8.44 7.54l-.009.9c2.835.421 1.633 2.577 1.633 2.577Z"})));var Vn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzVFNTRFNyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNOC40NzcgNS42NTFjLjU2OSAwIDEuMTAxLjEzOCAxLjU2OS4zNzdWMS4yNTdDMTAuMDQ2LjU2IDkuNDg2IDAgOC43ODkgMEgxLjI1N0MuNTYgMCAwIC41NiAwIDEuMjU3djguNzg5YzAgLjY5Ny41NiAxLjI1NyAxLjI1NyAxLjI1N2g0LjU2YTMuNDExIDMuNDExIDAgMCAxLS43OS0yLjE5MyAzLjQ0OCAzLjQ0OCAwIDAgMSAzLjQ1LTMuNDU5Wm0tMy4xMzguNjI0SDIuMjAyYS4zMS4zMSAwIDAgMS0uMzEyLS4zMTIuMzEuMzEgMCAwIDEgLjMxMi0uMzEyaDMuMTM3YS4zMS4zMSAwIDAgMSAuMzEyLjMxMi4zMS4zMSAwIDAgMS0uMzEyLjMxMlpNMS4yNTcgMy4xMzhWMS44OGMwLS4zNDkuMjg0LS42MjQuNjI0LS42MjRoNi4yNzVjLjM0OSAwIC42MjQuMjg0LjYyNC42MjR2MS4yNTdIMS4yNTdabTIuODI2IDUuNjUxSDIuMjAyYS4zMS4zMSAwIDAgMS0uMzEyLS4zMTIuMzEuMzEgMCAwIDEgLjMxMi0uMzEyaDEuODhhLjMxLjMxIDAgMCAxIC4zMTIuMzEyLjMxLjMxIDAgMCAxLS4zMTEuMzEyWiIvPjxwYXRoIGQ9Ik04LjQ3NyA2LjI3NWEyLjgyNyAyLjgyNyAwIDAgMCAwIDUuNjUyIDIuODI3IDIuODI3IDAgMCAwIDAtNS42NTJabTEuNTg3IDQuNzQzQzEwLjIyIDguNzUyIDguNDQgOS42NjEgOC40NCA5LjY2MXYuOTgxTDYuOTA4IDkuMTAxIDguNDQgNy41NGwtLjAwOS45YzIuODM1LjQyMSAxLjYzMyAyLjU3NyAxLjYzMyAyLjU3N1oiLz48L2c+PC9zdmc+",Jn=Object.defineProperty,Wn=Object.getOwnPropertySymbols,gi=Object.prototype.hasOwnProperty,Fi=Object.prototype.propertyIsEnumerable,ir=(Xn,bn,Ht)=>bn in Xn?Jn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,zi=(Xn,bn)=>{for(var Ht in bn||(bn={}))gi.call(bn,Ht)&&ir(Xn,Ht,bn[Ht]);if(Wn)for(var Ht of Wn(bn))Fi.call(bn,Ht)&&ir(Xn,Ht,bn[Ht]);return Xn};const tn=Xn=>React.createElement("svg",zi({width:16,height:12,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"2"),React.createElement("g",{fill:"#00B187",fillRule:"nonzero"},React.createElement("path",{d:"M2.573 1.787v.006c.018.135.324 2.394 2.146 4.04C6.597 7.53 9.481 7.66 9.481 7.66h.003c.084.001 1.985.07 3.035 3.16.033.096.074.232.123.407a.583.583 0 0 1-.563.739H3.578a.583.583 0 0 1-.584-.592c.025-1.732-.115-2.97-.421-3.714C2.057 6.405.735 5.392.038 2.183c-.04-.188-.246-1.41.997-1.578C2.277.437 2.573 1.787 2.573 1.787Z"}),React.createElement("path",{d:"M13.09 1.787v.006c-.017.135-.324 2.394-2.146 4.04C9.066 7.53 6.182 7.66 6.182 7.66h-.003c-.084.001-1.985.07-3.035 3.16a7.91 7.91 0 0 0-.122.407.583.583 0 0 0 .562.739h8.502a.583.583 0 0 0 .583-.592c-.025-1.732.116-2.97.422-3.714.515-1.255 1.837-2.268 2.534-5.477.041-.188.246-1.41-.996-1.578-1.242-.168-1.538 1.182-1.538 1.182Z"}),React.createElement("path",{d:"M7.876.007c1.611 0 2.917 1.371 2.917 3.063 0 1.69-1.306 3.062-2.917 3.062-1.611 0-2.917-1.37-2.917-3.062C4.96 1.379 6.265.007 7.876.007Z"})));var Ai="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwQjE4NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMi41NzMgMS43ODd2LjAwNmMuMDE4LjEzNS4zMjQgMi4zOTQgMi4xNDYgNC4wNEM2LjU5NyA3LjUzIDkuNDgxIDcuNjYgOS40ODEgNy42NmguMDAzYy4wODQuMDAxIDEuOTg1LjA3IDMuMDM1IDMuMTYuMDMzLjA5Ni4wNzQuMjMyLjEyMy40MDdhLjU4My41ODMgMCAwIDEtLjU2My43MzlIMy41NzhhLjU4My41ODMgMCAwIDEtLjU4NC0uNTkyYy4wMjUtMS43MzItLjExNS0yLjk3LS40MjEtMy43MTRDMi4wNTcgNi40MDUuNzM1IDUuMzkyLjAzOCAyLjE4M2MtLjA0LS4xODgtLjI0Ni0xLjQxLjk5Ny0xLjU3OEMyLjI3Ny40MzcgMi41NzMgMS43ODcgMi41NzMgMS43ODdaIi8+PHBhdGggZD0iTTEzLjA5IDEuNzg3di4wMDZjLS4wMTcuMTM1LS4zMjQgMi4zOTQtMi4xNDYgNC4wNEM5LjA2NiA3LjUzIDYuMTgyIDcuNjYgNi4xODIgNy42NmgtLjAwM2MtLjA4NC4wMDEtMS45ODUuMDctMy4wMzUgMy4xNmE3LjkxIDcuOTEgMCAwIDAtLjEyMi40MDcuNTgzLjU4MyAwIDAgMCAuNTYyLjczOWg4LjUwMmEuNTgzLjU4MyAwIDAgMCAuNTgzLS41OTJjLS4wMjUtMS43MzIuMTE2LTIuOTcuNDIyLTMuNzE0LjUxNS0xLjI1NSAxLjgzNy0yLjI2OCAyLjUzNC01LjQ3Ny4wNDEtLjE4OC4yNDYtMS40MS0uOTk2LTEuNTc4LTEuMjQyLS4xNjgtMS41MzggMS4xODItMS41MzggMS4xODJaIi8+PHBhdGggZD0iTTcuODc2LjAwN2MxLjYxMSAwIDIuOTE3IDEuMzcxIDIuOTE3IDMuMDYzIDAgMS42OS0xLjMwNiAzLjA2Mi0yLjkxNyAzLjA2Mi0xLjYxMSAwLTIuOTE3LTEuMzctMi45MTctMy4wNjJDNC45NiAxLjM3OSA2LjI2NS4wMDcgNy44NzYuMDA3WiIvPjwvZz48L3N2Zz4=",Bi=Object.defineProperty,Ti=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,br=(Xn,bn,Ht)=>bn in Xn?Bi(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,Xi=(Xn,bn)=>{for(var Ht in bn||(bn={}))hr.call(bn,Ht)&&br(Xn,Ht,bn[Ht]);if(Ti)for(var Ht of Ti(bn))tr.call(bn,Ht)&&br(Xn,Ht,bn[Ht]);return Xn};const Hi=Xn=>React.createElement("svg",Xi({width:12,height:12,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"1"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M6.325 1.6a.578.578 0 0 1 .448.197c.135.176.215.387.23.608a.672.672 0 0 1 .535-.107c.497.088.628.632.653 1.043a.565.565 0 0 1 .292-.037c.699.079.686.756.68 1.046-.008.29-.248 2.06-.28 2.288.04.277.343 2.649-.851 3.6l.057.849-3.338.113v-1.168c-.27-.219-1.33-1.136-1.544-2.283a4.077 4.077 0 0 0-.475-1.201c-.277-.514-.515-.96-.114-1.436a.585.585 0 0 1 .457-.236c.608 0 1.154 1.1 1.302 1.935l.16.08-.12-3.53c0-.015-.043-.516.228-.809a.651.651 0 0 1 .493-.205h.036a.767.767 0 0 1 .375.106c.016-.233.104-.456.252-.636a.692.692 0 0 1 .524-.217Z",fill:"#EE5D5D"}),React.createElement("path",{d:"M6 0a6 6 0 1 1 0 12A6 6 0 0 1 6 0ZM2.019 2.655a5.2 5.2 0 0 0 6.472 7.91ZM6 .8a5.18 5.18 0 0 0-3.417 1.28l6.582 8.046A5.2 5.2 0 0 0 6 .8Z",fill:"#E30000"})));var Ir="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNNi4zMjUgMS42YS41NzguNTc4IDAgMCAxIC40NDguMTk3Yy4xMzUuMTc2LjIxNS4zODcuMjMuNjA4YS42NzIuNjcyIDAgMCAxIC41MzUtLjEwN2MuNDk3LjA4OC42MjguNjMyLjY1MyAxLjA0M2EuNTY1LjU2NSAwIDAgMSAuMjkyLS4wMzdjLjY5OS4wNzkuNjg2Ljc1Ni42OCAxLjA0Ni0uMDA4LjI5LS4yNDggMi4wNi0uMjggMi4yODguMDQuMjc3LjM0MyAyLjY0OS0uODUxIDMuNmwuMDU3Ljg0OS0zLjMzOC4xMTN2LTEuMTY4Yy0uMjctLjIxOS0xLjMzLTEuMTM2LTEuNTQ0LTIuMjgzYTQuMDc3IDQuMDc3IDAgMCAwLS40NzUtMS4yMDFjLS4yNzctLjUxNC0uNTE1LS45Ni0uMTE0LTEuNDM2YS41ODUuNTg1IDAgMCAxIC40NTctLjIzNmMuNjA4IDAgMS4xNTQgMS4xIDEuMzAyIDEuOTM1bC4xNi4wOC0uMTItMy41M2MwLS4wMTUtLjA0My0uNTE2LjIyOC0uODA5YS42NTEuNjUxIDAgMCAxIC40OTMtLjIwNWguMDM2YS43NjcuNzY3IDAgMCAxIC4zNzUuMTA2Yy4wMTYtLjIzMy4xMDQtLjQ1Ni4yNTItLjYzNmEuNjkyLjY5MiAwIDAgMSAuNTI0LS4yMTdaIiBmaWxsPSIjRUU1RDVEIi8+PHBhdGggZD0iTTYgMGE2IDYgMCAxIDEgMCAxMkE2IDYgMCAwIDEgNiAwWk0yLjAxOSAyLjY1NWE1LjIgNS4yIDAgMCAwIDYuNDcyIDcuOTFaTTYgLjhhNS4xOCA1LjE4IDAgMCAwLTMuNDE3IDEuMjhsNi41ODIgOC4wNDZBNS4yIDUuMiAwIDAgMCA2IC44WiIgZmlsbD0iI0UzMDAwMCIvPjwvZz48L3N2Zz4=",Gt=oe(59301),Kr=Object.defineProperty,Fn=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,Go=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,Do=(Xn,bn,Ht)=>bn in Xn?Kr(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,Ji=(Xn,bn)=>{for(var Ht in bn||(bn={}))Dr.call(bn,Ht)&&Do(Xn,Ht,bn[Ht]);if(Go)for(var Ht of Go(bn))po.call(bn,Ht)&&Do(Xn,Ht,bn[Ht]);return Xn},or=(Xn,bn)=>Fn(Xn,kr(bn)),io=(Xn,bn)=>{var Ht={};for(var Ao in Xn)Dr.call(Xn,Ao)&&bn.indexOf(Ao)<0&&(Ht[Ao]=Xn[Ao]);if(Xn!=null&&Go)for(var Ao of Go(Xn))bn.indexOf(Ao)<0&&po.call(Xn,Ao)&&(Ht[Ao]=Xn[Ao]);return Ht},_r=(Xn,bn,Ht)=>new Promise((Ao,ta)=>{var sa=Br=>{try{Jr(Ht.next(Br))}catch(rr){ta(rr)}},Vr=Br=>{try{Jr(Ht.throw(Br))}catch(rr){ta(rr)}},Jr=Br=>Br.done?Ao(Br.value):Promise.resolve(Br.value).then(sa,Vr);Jr((Ht=Ht.apply(Xn,bn)).next())});const Ii=Xn=>{var bn=Xn,{Data:Ht,layer:Ao=1,type:ta,index:sa=0,newType:Vr,user:Jr,showName:Br,showNm:rr}=bn,ro=io(bn,["Data","layer","type","index","newType","user","showName","showNm"]),Na,Ia,Ho,Bo,rl,Bs,ka,Nl,js,$s,fr,va,Wt,di,Ns,ps,cl;const Os=(0,Ce.useParams)(),{studentWorkDetail:nu}=ro==null?void 0:ro.shixunHomeworks,[hu,Vu]=(0,se.useState)({type:0,show:!1}),[rs,Eo]=(0,se.useState)(null),[,Fa,Gr]=(0,Zt.U)(ke.qP,{userId:Os==null?void 0:Os.userId}),[,za,qo]=(0,Zt.U)(ke.R$,{userId:Os==null?void 0:Os.userId}),[,ol,Zi]=(0,Zt.U)(ke.QC,{userId:Os==null?void 0:Os.userId}),[,oo,iu]=(0,Zt.U)(ke.Mf,{userId:Os==null?void 0:Os.userId}),[,Sl,_c,Xo]=(0,Zt.U)(ke.Am,{homeworkId:Os==null?void 0:Os.userId}),[,Bl,Ma,Ka]=(0,Zt.U)(ke.oK,{}),[ms,hs]=(0,se.useState)(!1),[ya]=we.default.useForm(),[Ku]=we.default.useForm(),[xo]=we.default.useForm(),[Gc,pa]=(0,se.useState)(!1),[ah,ru]=(0,se.useState)(!1),jl=(Ea=Ht)=>{Ie.default.confirm({title:"\u662F\u5426\u786E\u8BA4\u5220\u9664?",centered:!0,onOk:()=>_r(void 0,null,function*(){(yield Zi({score_id:Ea==null?void 0:Ea.comment_id})).status===0&&(De.ZP.success("\u5220\u9664\u6210\u529F"),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})})},Td=(Ea=Ht)=>{Ie.default.confirm({title:"\u662F\u5426\u786E\u8BA4\u5220\u9664?",centered:!0,onOk:()=>_r(void 0,null,function*(){(yield iu({object_id:Ea.id,object_type:"journals_for_message"})).status===0&&(De.ZP.success("\u5220\u9664\u6210\u529F"),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})})},zl=(Ea,zs)=>{let da="";for(let kl=0;kl<(Ea==null?void 0:Ea.length);kl++){const Yu=Ea[kl];zs!=null&&zs.old_score?da+=`${Yu.name} ${Yu.score}\u5206 `:da+=`${Yu.name} ${Yu.score}\u5206 `,kl<(Ea==null?void 0:Ea.length)-1&&(zs!=null&&zs.old_score?da+=' + ':da+=" + ")}return Gt.createElement("span",{dangerouslySetInnerHTML:{__html:da}})};return Gt.createElement("div",{className:Ao==1&&ct.new_style_box,style:Vr&&{background:"#FCF8F4",border:"none"}},Gt.createElement(Ft.Z,{wrap:!1,gutter:15,className:Ao!=1&&ct.box_child,style:Vr&&{marginTop:"0px"}},ta=="appeal_info"?Gt.createElement(Ot.Z,{flex:1},Gt.createElement("div",{className:ct.box_item_top},Gt.createElement(et.Z,{title:Br?(Na=Ht==null?void 0:Ht.appeal_info)==null?void 0:Na.user_name:""},Gt.createElement("span",{style:{color:Br?"#3061D0":"#333333",fontWeight:600}},rr?"\u533F\u540D":(Ia=Ht==null?void 0:Ht.appeal_info)==null?void 0:Ia.user_name)),(Ht==null?void 0:Ht.appeal_status)==1&&Gt.createElement("span",{className:ct.tagStyleSzz,style:{color:"#CF5300",border:"1px solid rgba(250,100,0,0.2)",background:"rgba(250,100,0,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},Gt.createElement("img",{src:_t,className:"mr5"}),"\u7533\u8BC9\u4E2D"),(Ht==null?void 0:Ht.appeal_status)==2&&Gt.createElement("span",{className:ct.tagStyleSzz,style:{color:"#4237E7",border:"1px solid rgba(94,84,231,0.2)",background:"rgba(94,84,231,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},Gt.createElement("img",{src:Vn,className:"mr5"}),"\u7533\u8BC9\u5DF2\u64A4\u9500"),(Ht==null?void 0:Ht.appeal_status)==3&&Gt.createElement("span",{className:ct.tagStyleSzz,style:{color:"#00B187",border:"1px rgba(0,177,135,0.2) solid",background:"rgba(0,177,135,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},Gt.createElement("img",{src:Ai,className:"mr5"}),"\u7533\u8BC9\u6210\u529F"),(Ht==null?void 0:Ht.appeal_status)==4&&Gt.createElement("span",{className:ct.tagStyleSzz,style:{color:"#E30000",border:"1px solid rgba(227,0,0,0.2)",background:"rgba(227,0,0,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},Gt.createElement("img",{src:Ir,className:"mr5"}),"\u7533\u8BC9\u88AB\u62D2\u7EDD")),Gt.createElement(Xt.Z,{className:"font14 mt10",value:`${((Ho=Ht==null?void 0:Ht.appeal_info)==null?void 0:Ho.content)||"\u6682\u672A\u5199\u8BC4\u8BED"}`})):Gt.createElement(Ot.Z,{flex:1},Gt.createElement("div",{className:ct.box_item_top},Gt.createElement(et.Z,{title:Br?(Bo=Ht==null?void 0:Ht.user_info)==null?void 0:Bo.user_name:""},Gt.createElement("span",{style:{color:Br?"#3061D0":"#333333",fontWeight:600}},rr?"\u533F\u540D":(rl=Ht==null?void 0:Ht.user_info)==null?void 0:rl.user_name)),(Ht==null?void 0:Ht.student_work_num)&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{style:{padding:"3px 8px",background:(Ht==null?void 0:Ht.student_work_num)==1?"#5A9781":"#FFD28D",color:(Ht==null?void 0:Ht.student_work_num)==1?"#FFFFFF":"#AC4C0C",fontSize:"12px",borderRadius:"2px"}},"\u7B2C ",Ht==null?void 0:Ht.student_work_num," \u6B21\u63D0\u4EA4\u7684\u4F5C\u4E1A")),((Ht==null?void 0:Ht.score)||(Ht==null?void 0:Ht.score)==0)&&(nu==null?void 0:nu.single_score)&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{style:{color:Ht!=null&&Ht.anonymous_exception?"#E30000":"#009C0F",fontWeight:600,marginLeft:"-7px"}}," ",Ht==null?void 0:Ht.score,"\u5206 ")),ta!="feedback"&&(Ao==1&&!(Ht!=null&&Ht.can_reply)||!(Ht!=null&&Ht.can_reply)&&ta=="teacher"&&sa!=0)&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{className:"c-light-black"},"\uFF08\u5DF2\u5931\u6548\uFF09")),!(nu!=null&&nu.single_score)&&(Ht==null?void 0:Ht.score)!==null&&Gt.createElement("div",{style:{color:"#333333"}},Gt.createElement(et.Z,{title:((Bs=Ht==null?void 0:Ht.score_details)==null?void 0:Bs.length)>0?zl(Ht==null?void 0:Ht.score_details,Ht):"",overlayInnerStyle:{width:"min-content",whiteSpace:"nowrap",overflow:"visible"},placement:"topLeft"},Gt.createElement("div",{style:{display:"flex",alignItems:"center"}},((Ht==null?void 0:Ht.score)||(Ht==null?void 0:Ht.score)==0)&&Gt.createElement("span",{style:{color:Ht!=null&&Ht.anonymous_exception?"#E30000":Ht!=null&&Ht.old_score?"#999999":"#009C0F",fontWeight:600,marginRight:"5px"}},(Ht==null?void 0:Ht.old_score)||(Ht==null?void 0:Ht.score),"\u5206 ",(Ht==null?void 0:Ht.old_score)&&"\uFF08\u5DF2\u5931\u6548\uFF09"),((ka=Ht==null?void 0:Ht.score_details)==null?void 0:ka.length)>0&&Gt.createElement("div",{className:ct.left,style:{width:"480px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},"= ",zl(Ht==null?void 0:Ht.score_details,Ht))))),(Ht==null?void 0:Ht.anonymous_exception)&&Gt.createElement("div",{className:ct.yichang,style:{marginLeft:((Nl=Ht==null?void 0:Ht.score_details)==null?void 0:Nl.length)>0&&"10px"}},Gt.createElement("i",{className:"iconfont icon-tishi12",style:{fontSize:"11px",marginRight:"3px"}}),"\u8BC4\u5206\u5F02\u5E38")),Gt.createElement(Xt.Z,{className:"font14 mt10",value:`${(Ht==null?void 0:Ht.content)||(Ht==null?void 0:Ht.hidden_comment)||"\u6682\u672A\u5199\u8BC4\u8BED"}`}),((js=Ht==null?void 0:Ht.attachments)==null?void 0:js.length)>0&&Gt.createElement("div",{className:"mt10",style:{display:"flex",flexDirection:"column",gap:10}},($s=Ht==null?void 0:Ht.attachments)==null?void 0:$s.map((Ea,zs)=>Gt.createElement("a",{key:zs,href:`${Ne.Z.API_SERVER}${Ea.url}`},Gt.createElement("i",{className:"iconfont icon-fujian font14"}),Gt.createElement("span",{className:"ml10"},Ea==null?void 0:Ea.title),Gt.createElement("span",{className:"c-light-black ml20 font12"},Ea==null?void 0:Ea.filesize))))),ta!="feedback"&&Gt.createElement(Gt.Fragment,null,ta=="appeal_info"?Gt.createElement(Ot.Z,{style:{whiteSpace:"nowrap"}},Gt.createElement(Ft.Z,{wrap:!1,gutter:10},(Ht==null?void 0:Ht.delete)&&(Ht==null?void 0:Ht.can_appeal)&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{className:ct.text_style,onClick:()=>{Ie.default.confirm({centered:!0,title:Gt.createElement("div",null,"\u64A4\u9500\u7533\u8BC9\u540E\uFF0C\u65E0\u6CD5\u518D\u5BF9\u672C\u8BC4\u9605\u8BB0\u5F55\u8FDB\u884C\u7533\u8BC9",Gt.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u64A4\u9500\u7533\u8BC9"),onOk:()=>_r(void 0,null,function*(){ro!=null&&ro.getInitData&&(ro==null||ro.getInitData())})})}},"\u64A4\u9500\u7533\u8BC9")),(Ht==null?void 0:Ht.appeal_status)==1&&(0,ii.GJ)()&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{className:ct.text_style,style:{marginRight:"10pz"},onClick:()=>{pa(!0)}},"\u63A5\u53D7\u7533\u8BC9")),(Ht==null?void 0:Ht.appeal_status)==1&&(0,ii.GJ)()&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{className:ct.text_style_red,onClick:()=>{Ie.default.confirm({centered:!0,title:Gt.createElement("div",null,"\u6B64\u533F\u8BC4\u6210\u7EE9\u5C06\u88AB\u8BA4\u4E3A\u5408\u7406",Gt.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u62D2\u7EDD\u7533\u8BC9"),onOk:()=>_r(void 0,null,function*(){const Ea=yield(0,ee.ZP)(`/api/student_works/${Os.userId}/deal_appeal_score.json`,{method:"post",body:{score_id:Ht==null?void 0:Ht.score_id,status:4}});(Ea==null?void 0:Ea.status)===0&&ro!=null&&ro.getInitData&&(ro==null||ro.getInitData())})})}},"\u62D2\u7EDD\u7533\u8BC9")))):Gt.createElement(Gt.Fragment,null,(Ao==1||ta=="teacher")&&Gt.createElement(Ot.Z,{style:{whiteSpace:"nowrap"}},Gt.createElement(Ft.Z,{wrap:!1,gutter:10},((Ht==null?void 0:Ht.delete)||((fr=Jr==null?void 0:Jr.userInfo)==null?void 0:fr.user_id)==(Ht==null?void 0:Ht.user_id))&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{className:ct.text_style,onClick:()=>{var Ea;hs(!0),Ku.setFieldsValue(or(Ji({},Ht),{comment:Ht==null?void 0:Ht.content,score_details:((Ea=Ht==null?void 0:Ht.score_details)==null?void 0:Ea.map(zs=>Ji({},zs)))||[]}))}},"\u7F16\u8F91")),(Ht==null?void 0:Ht.is_invalid)&&(Ht==null?void 0:Ht.delete)&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{className:ct.text_style,onClick:()=>{jl(Ht)}},"\u5220\u9664")),(Ht==null?void 0:Ht.can_appeal)&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{className:ct.text_style,onClick:()=>{Vu({type:1,show:!0})}},"\u7533\u8BC9")),(Ht==null?void 0:Ht.can_reply)&&Gt.createElement(Ot.Z,null,Gt.createElement("span",{className:ct.text_style,onClick:()=>{Vu({type:0,show:!0})}},"\u56DE\u590D")))),Ao!=1&&((Ht==null?void 0:Ht.can_delete)&&ta!="teacher"||((va=Jr==null?void 0:Jr.userInfo)==null?void 0:va.user_id)==((Wt=Ht==null?void 0:Ht.user_info)==null?void 0:Wt.user_id))&&Gt.createElement("span",{className:ct.text_style,style:{marginRight:"8px"},onClick:()=>{ru(!0),xo.setFieldsValue(Ji({},Ht))}},"\u7F16\u8F91"),Ao!=1&&(Ht==null?void 0:Ht.can_delete)&&ta!="teacher"&&Gt.createElement("span",{className:ct.text_style,onClick:()=>{Td(Ht)}},"\u5220\u9664"))),Ao!=1&&(Ht==null?void 0:Ht.old_score)&&Gt.createElement("span",{style:{color:"#009C0F"}},"\u6559\u5E08\u533F\u8BC4\u8865\u5206\uFF1A",Ht==null?void 0:Ht.score,"\u5206")),Ao==1&&(Ht==null?void 0:Ht.appeal_info)&&(Ht==null?void 0:Ht.appeal_info)!=""&&Gt.createElement("div",{className:"mt20",style:{display:"flex",flexDirection:"column",gap:"20px"}},Gt.createElement(Ii,Ji({type:"appeal_info",Data:Ht,layer:Ao+1},ro))),Ao==1&&((di=Ht==null?void 0:Ht.journals)==null?void 0:di.length)>0&&Gt.createElement("div",{className:"mt20",style:{display:"flex",flexDirection:"column",gap:"20px"}},(Ns=Ht==null?void 0:Ht.journals)==null?void 0:Ns.map((Ea,zs)=>Gt.createElement(Ii,Ji({key:zs,type:ta,Data:Ea,layer:Ao+1},ro)))),(hu==null?void 0:hu.show)&&Gt.createElement("div",{className:"mt20",style:{marginLeft:"56px"}},Gt.createElement(ne.Z,{height:150,isFocus:!0,watch:!0,onChange:Ea=>{Eo(Ea)}}),Gt.createElement(Ft.Z,{align:"middle",justify:"end",gutter:20},Gt.createElement(Ot.Z,null,Gt.createElement(Ke.ZP,{onClick:()=>{Vu({type:0,show:!1})}},"\u53D6\u6D88")),Gt.createElement(Ot.Z,null,Gt.createElement(Ke.ZP,{loading:Fa||za,type:"primary",onClick:()=>_r(void 0,null,function*(){if(rs===""){De.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9");return}let Ea;ta=="teacher"?Ea=(yield hu==null?void 0:hu.type)==0?Gr({hidden_comment:rs,score_id:Ht==null?void 0:Ht.score_id}):qo({comment:rs,score_id:Ht==null?void 0:Ht.score_id}):Ea=yield((hu==null?void 0:hu.type)==0?Gr:qo)({comment:rs,score_id:Ht==null?void 0:Ht.score_id}),Ea.status===0&&(De.ZP.success("\u64CD\u4F5C\u6210\u529F"),Vu({type:0,show:!1}),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})},(hu==null?void 0:hu.type)==0?"\u56DE\u590D":"\u7533\u8BC9")))),Gt.createElement(Ie.default,{title:"\u63A5\u53D7\u7533\u8BC9",open:Gc,centered:!0,destroyOnClose:!0,onCancel:()=>{pa(!1)},maskClosable:!1,width:544,onOk:()=>{ya.submit()}},Gt.createElement(we.default,{form:ya,colon:!1,onFinish:Ea=>_r(void 0,null,function*(){(yield(0,ee.ZP)(`/api/student_works/${Os.userId}/deal_appeal_score.json`,{method:"post",body:or(Ji({},Ea),{userId:Os.userId,score_id:Ht==null?void 0:Ht.score_id,status:3})})).status===0&&(pa(!1),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})},Gt.createElement("div",{style:{color:"#191919"}},"\u786E\u8BA4\u662F\u5426\u63A5\u53D7\u7533\u8BC9\uFF1F\u4E00\u65E6\u63A5\u53D7\uFF0C\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u5C06\u4F5C\u5E9F\u3002\u8BF7\u60A8\u8865\u5145\u533F\u8BC4\u8BC4\u5206\uFF1A"),Gt.createElement(ft.Z,{style:{marginTop:"20px"},colon:!1,items:[{key:"1",label:"\u7533\u8BC9\u4EBA",children:Gt.createElement("span",null,(ps=Ht==null?void 0:Ht.appeal_info)==null?void 0:ps.user_name)},{key:"2",label:"\u88AB\u7533\u8BC9\u4EBA",children:Gt.createElement("span",{style:{color:"#191919"}},(cl=Ht==null?void 0:Ht.user_info)==null?void 0:cl.user_name)},{key:"3",label:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",children:Gt.createElement("span",{style:{color:"#191919"}},Ht==null?void 0:Ht.score)}]}),Gt.createElement(Ft.Z,{className:"mt20",wrap:!1},Gt.createElement(Ot.Z,null,Gt.createElement(we.default.Item,{label:"\u533F\u8BC4\u5206\u6570",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},Gt.createElement(Te.Z,{min:1,max:100,step:1}))),Gt.createElement(Ot.Z,null,Gt.createElement("span",{className:"ml10",style:{lineHeight:"30px"}},"\u5206")),Gt.createElement(Ot.Z,null,Gt.createElement(we.default.Item,{className:"ml20",valuePropName:"checked",name:"is_appeal_penalty",initialValue:!0},Gt.createElement(tt.default,null,"\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570")))))),Gt.createElement(Ie.default,{title:"\u7F16\u8F91\u56DE\u590D",width:800,centered:!0,open:ah,confirmLoading:Bl,onCancel:()=>{ru(!1)},onOk:()=>{xo.submit()}},Gt.createElement(we.default,{form:xo,colon:!1,onFinish:Ea=>_r(void 0,null,function*(){const zs=yield Ma(Ji({},Ea));(zs==null?void 0:zs.status)===0&&(De.ZP.success("\u4FEE\u6539\u6210\u529F"),ru(!1),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})},Gt.createElement(we.default.Item,{hidden:!0,name:"id",label:"\u8FD9\u4E2A\u662F\u7528\u6765\u6536\u96C6score_id\u7684"}),Gt.createElement(we.default.Item,{name:"content",label:"\u8BC4\u8BED"},Gt.createElement(Ge.h,{height:200,scrollId:"notes",placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u5BF9\u672C\u4F5C\u54C1\u7684\u8BC4\u8BED\uFF0C\u6700\u5927\u9650\u52362000\u4E2A\u5B57\u7B26"})))),Gt.createElement(On,{DataProps:{disabledScore:Vr=="teacher"},FormProps:{form:Ku,onFinish:(...Ea)=>_r(void 0,[...Ea],function*(zs={}){const da=yield _c(or(Ji({},zs),{homeworkId:Os==null?void 0:Os.userId}));(da==null?void 0:da.status)===0&&(De.ZP.success("\u4FEE\u6539\u6210\u529F"),hs(!1),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()),ro!=null&&ro.updateData&&(ro==null||ro.updateData()))})},ModalProps:{open:ms,onCancel:()=>{hs(!1),Ku.resetFields()},onOk:()=>{Ku.submit()},confirmLoading:Sl}}))};var lt=(0,Ce.connect)(({user:Xn})=>({user:Xn}))(Ii),Rr=Object.defineProperty,Ko=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable,Mr=(Xn,bn,Ht)=>bn in Xn?Rr(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,mr=(Xn,bn)=>{for(var Ht in bn||(bn={}))Yr.call(bn,Ht)&&Mr(Xn,Ht,bn[Ht]);if(Ko)for(var Ht of Ko(bn))yo.call(bn,Ht)&&Mr(Xn,Ht,bn[Ht]);return Xn};const co=Xn=>React.createElement("svg",mr({width:18,height:18,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u4F5C\u4E1A\u63D0\u4EA4\u5185\u5BB9"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M9 0C4.032 0 0 4.032 0 9s4.032 9 9 9 9-4.032 9-9-4.032-9-9-9Z",fill:"#009CDC"}),React.createElement("path",{d:"M11.511 5H5.956a.954.954 0 0 0-.952.951v6.032c0 .524.428.952.952.952h5.555a.954.954 0 0 0 .952-.952V5.951A.954.954 0 0 0 11.511 5ZM6.607 6.881h2.58a.34.34 0 0 1 0 .68h-2.58a.34.34 0 0 1 0-.68Zm1.603 4.17H6.608a.34.34 0 0 1 0-.68H8.21a.34.34 0 0 1 0 .68Zm2.445-1.744H6.607a.34.34 0 0 1 0-.68h4.048a.34.34 0 0 1 0 .68Z",fill:"#FFF"})));var Uo="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNOSAwQzQuMDMyIDAgMCA0LjAzMiAwIDlzNC4wMzIgOSA5IDkgOS00LjAzMiA5LTktNC4wMzItOS05LTlaIiBmaWxsPSIjMDA5Q0RDIi8+PHBhdGggZD0iTTExLjUxMSA1SDUuOTU2YS45NTQuOTU0IDAgMCAwLS45NTIuOTUxdjYuMDMyYzAgLjUyNC40MjguOTUyLjk1Mi45NTJoNS41NTVhLjk1NC45NTQgMCAwIDAgLjk1Mi0uOTUyVjUuOTUxQS45NTQuOTU0IDAgMCAwIDExLjUxMSA1Wk02LjYwNyA2Ljg4MWgyLjU4YS4zNC4zNCAwIDAgMSAwIC42OGgtMi41OGEuMzQuMzQgMCAwIDEgMC0uNjhabTEuNjAzIDQuMTdINi42MDhhLjM0LjM0IDAgMCAxIDAtLjY4SDguMjFhLjM0LjM0IDAgMCAxIDAgLjY4Wm0yLjQ0NS0xLjc0NEg2LjYwN2EuMzQuMzQgMCAwIDEgMC0uNjhoNC4wNDhhLjM0LjM0IDAgMCAxIDAgLjY4WiIgZmlsbD0iI0ZGRiIvPjwvZz48L3N2Zz4=",ao=Object.defineProperty,ra=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,xr=(Xn,bn,Ht)=>bn in Xn?ao(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,fi=(Xn,bn)=>{for(var Ht in bn||(bn={}))gr.call(bn,Ht)&&xr(Xn,Ht,bn[Ht]);if(ra)for(var Ht of ra(bn))Qi.call(bn,Ht)&&xr(Xn,Ht,bn[Ht]);return Xn};const bo=Xn=>React.createElement("svg",fi({width:70,height:24,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u5F85\u8BC4\u9605"),React.createElement("path",{d:"m70 0-6.146 11.936L70 24H0V0h70ZM40.992 5.229H31.7v1.646h3.768v5.83H31.21v1.663h4.258v5.796h1.724v-5.796h4.325v-1.663h-4.325v-5.83h3.801V5.23Zm4.157 2.167h-1.724v12.768h1.724V7.396Zm-32.34.958c-.845 1.848-2.112 3.46-3.802 4.821l.524 1.663a27.003 27.003 0 0 0 1.656-1.41v6.618h1.706v-8.55a12.713 12.713 0 0 0 1.42-2.437l-1.504-.705Zm44.793-3.142h-8.01v1.613h6.286v10.953c0 .47-.152.706-.44.706l-.658-.034c.186-.37.32-1.008.405-1.932l-1.487-.47c-.05.706-.135 1.126-.253 1.26a.506.506 0 0 1-.422.218h-.305c-.22 0-.32-.134-.32-.386v-1.966h1.672V10.32h-1.487c.406-.672.794-1.411 1.132-2.234l-1.656-.588a23.536 23.536 0 0 1-1.165 2.822H49l1.217-.605c-.406-.739-.811-1.428-1.25-2.032l-1.47.705c.439.571.861 1.21 1.25 1.932h-1.842v4.855h1.538c-.237 1.31-1.183 2.235-2.856 2.806l.913 1.445c2.06-.89 3.21-2.302 3.446-4.25h.913v2.301c0 1.042.456 1.58 1.368 1.58h1.082c.49 0 .878-.102 1.149-.27l.32 1.26h1.015c1.2 0 1.808-.588 1.808-1.764V5.212Zm-35.095 6.3H20.75v1.058h-6.353v1.63h6.353v3.394c0 .537-.253.823-.76.823-.676 0-1.403-.034-2.18-.101l.406 1.663h2.399c1.25 0 1.892-.655 1.892-1.949V14.2h1.775v-1.63h-1.775v-1.058Zm7.317-1.949h-4.022v1.68h2.315v5.964c0 .353-.152.655-.44.907l.66 1.58a25.152 25.152 0 0 0 3.328-2.672l-.49-1.848c-.473.47-.929.908-1.351 1.294V9.563Zm-13.146 4.973-1.369.857c.88.924 1.589 1.764 2.113 2.52l1.368-.958c-.49-.705-1.2-1.512-2.112-2.419Zm35.787-2.806v2.033h-3.97V11.73h3.97Zm-19.11-4.233L31.851 8a28.8 28.8 0 0 1 1.2 4.099l1.504-.37a35.374 35.374 0 0 0-1.2-4.233Zm5.796-.05c-.355 1.646-.76 3.023-1.234 4.099l1.47.52c.524-1.21.963-2.604 1.301-4.216l-1.537-.404ZM20.226 4.573H18.52V6.22h-3.565v1.596h3.565v1.596h-4.174v1.613h10.172V9.412h-4.292V7.816h3.6V6.22h-3.6V4.574Zm-8.025-.101c-.727 1.562-1.842 2.923-3.346 4.065l.524 1.68c2.061-1.512 3.497-3.175 4.342-5.023l-1.52-.722Zm16 .235-1.25 1.21c1.2.873 2.13 1.696 2.771 2.47L30.94 7.16a23.623 23.623 0 0 0-2.737-2.453Zm18.283-.269-1.606.706A15.91 15.91 0 0 1 46.686 7.9l1.572-.806a14.573 14.573 0 0 0-1.774-2.655Z",fill:"#FA6400",fillRule:"nonzero"}));var ua="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTcwIDAtNi4xNDYgMTEuOTM2TDcwIDI0SDBWMGg3MFpNNDAuOTkyIDUuMjI5SDMxLjd2MS42NDZoMy43Njh2NS44M0gzMS4yMXYxLjY2M2g0LjI1OHY1Ljc5NmgxLjcyNHYtNS43OTZoNC4zMjV2LTEuNjYzaC00LjMyNXYtNS44M2gzLjgwMVY1LjIzWm00LjE1NyAyLjE2N2gtMS43MjR2MTIuNzY4aDEuNzI0VjcuMzk2Wm0tMzIuMzQuOTU4Yy0uODQ1IDEuODQ4LTIuMTEyIDMuNDYtMy44MDIgNC44MjFsLjUyNCAxLjY2M2EyNy4wMDMgMjcuMDAzIDAgMCAwIDEuNjU2LTEuNDF2Ni42MThoMS43MDZ2LTguNTVhMTIuNzEzIDEyLjcxMyAwIDAgMCAxLjQyLTIuNDM3bC0xLjUwNC0uNzA1Wm00NC43OTMtMy4xNDJoLTguMDF2MS42MTNoNi4yODZ2MTAuOTUzYzAgLjQ3LS4xNTIuNzA2LS40NC43MDZsLS42NTgtLjAzNGMuMTg2LS4zNy4zMi0xLjAwOC40MDUtMS45MzJsLTEuNDg3LS40N2MtLjA1LjcwNi0uMTM1IDEuMTI2LS4yNTMgMS4yNmEuNTA2LjUwNiAwIDAgMS0uNDIyLjIxOGgtLjMwNWMtLjIyIDAtLjMyLS4xMzQtLjMyLS4zODZ2LTEuOTY2aDEuNjcyVjEwLjMyaC0xLjQ4N2MuNDA2LS42NzIuNzk0LTEuNDExIDEuMTMyLTIuMjM0bC0xLjY1Ni0uNTg4YTIzLjUzNiAyMy41MzYgMCAwIDEtMS4xNjUgMi44MjJINDlsMS4yMTctLjYwNWMtLjQwNi0uNzM5LS44MTEtMS40MjgtMS4yNS0yLjAzMmwtMS40Ny43MDVjLjQzOS41NzEuODYxIDEuMjEgMS4yNSAxLjkzMmgtMS44NDJ2NC44NTVoMS41MzhjLS4yMzcgMS4zMS0xLjE4MyAyLjIzNS0yLjg1NiAyLjgwNmwuOTEzIDEuNDQ1YzIuMDYtLjg5IDMuMjEtMi4zMDIgMy40NDYtNC4yNWguOTEzdjIuMzAxYzAgMS4wNDIuNDU2IDEuNTggMS4zNjggMS41OGgxLjA4MmMuNDkgMCAuODc4LS4xMDIgMS4xNDktLjI3bC4zMiAxLjI2aDEuMDE1YzEuMiAwIDEuODA4LS41ODggMS44MDgtMS43NjRWNS4yMTJabS0zNS4wOTUgNi4zSDIwLjc1djEuMDU4aC02LjM1M3YxLjYzaDYuMzUzdjMuMzk0YzAgLjUzNy0uMjUzLjgyMy0uNzYuODIzLS42NzYgMC0xLjQwMy0uMDM0LTIuMTgtLjEwMWwuNDA2IDEuNjYzaDIuMzk5YzEuMjUgMCAxLjg5Mi0uNjU1IDEuODkyLTEuOTQ5VjE0LjJoMS43NzV2LTEuNjNoLTEuNzc1di0xLjA1OFptNy4zMTctMS45NDloLTQuMDIydjEuNjhoMi4zMTV2NS45NjRjMCAuMzUzLS4xNTIuNjU1LS40NC45MDdsLjY2IDEuNThhMjUuMTUyIDI1LjE1MiAwIDAgMCAzLjMyOC0yLjY3MmwtLjQ5LTEuODQ4Yy0uNDczLjQ3LS45MjkuOTA4LTEuMzUxIDEuMjk0VjkuNTYzWm0tMTMuMTQ2IDQuOTczLTEuMzY5Ljg1N2MuODguOTI0IDEuNTg5IDEuNzY0IDIuMTEzIDIuNTJsMS4zNjgtLjk1OGMtLjQ5LS43MDUtMS4yLTEuNTEyLTIuMTEyLTIuNDE5Wm0zNS43ODctMi44MDZ2Mi4wMzNoLTMuOTdWMTEuNzNoMy45N1ptLTE5LjExLTQuMjMzTDMxLjg1MSA4YTI4LjggMjguOCAwIDAgMSAxLjIgNC4wOTlsMS41MDQtLjM3YTM1LjM3NCAzNS4zNzQgMCAwIDAtMS4yLTQuMjMzWm01Ljc5Ni0uMDVjLS4zNTUgMS42NDYtLjc2IDMuMDIzLTEuMjM0IDQuMDk5bDEuNDcuNTJjLjUyNC0xLjIxLjk2My0yLjYwNCAxLjMwMS00LjIxNmwtMS41MzctLjQwNFpNMjAuMjI2IDQuNTczSDE4LjUyVjYuMjJoLTMuNTY1djEuNTk2aDMuNTY1djEuNTk2aC00LjE3NHYxLjYxM2gxMC4xNzJWOS40MTJoLTQuMjkyVjcuODE2aDMuNlY2LjIyaC0zLjZWNC41NzRabS04LjAyNS0uMTAxYy0uNzI3IDEuNTYyLTEuODQyIDIuOTIzLTMuMzQ2IDQuMDY1bC41MjQgMS42OGMyLjA2MS0xLjUxMiAzLjQ5Ny0zLjE3NSA0LjM0Mi01LjAyM2wtMS41Mi0uNzIyWm0xNiAuMjM1LTEuMjUgMS4yMWMxLjIuODczIDIuMTMgMS42OTYgMi43NzEgMi40N0wzMC45NCA3LjE2YTIzLjYyMyAyMy42MjMgMCAwIDAtMi43MzctMi40NTNabTE4LjI4My0uMjY5LTEuNjA2LjcwNkExNS45MSAxNS45MSAwIDAgMSA0Ni42ODYgNy45bDEuNTcyLS44MDZhMTQuNTczIDE0LjU3MyAwIDAgMC0xLjc3NC0yLjY1NVoiIGZpbGw9IiNGQTY0MDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",ca=Object.defineProperty,oa=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,ts=Object.prototype.propertyIsEnumerable,cs=(Xn,bn,Ht)=>bn in Xn?ca(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,Qa=(Xn,bn)=>{for(var Ht in bn||(bn={}))Ra.call(bn,Ht)&&cs(Xn,Ht,bn[Ht]);if(oa)for(var Ht of oa(bn))ts.call(bn,Ht)&&cs(Xn,Ht,bn[Ht]);return Xn};const ks=Xn=>React.createElement("svg",Qa({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u4EC5\u6559\u5E08\u53EF\u89C1"),React.createElement("g",{fill:"#CA7720",fillRule:"nonzero"},React.createElement("path",{d:"M7.046 13.302V14h1.566v-.698c0-.557.248-1.093.689-1.485a2.487 2.487 0 0 1 1.66-.615v-1.4c-2.163 0-3.915 1.565-3.915 3.5ZM0 9.802v1.4c.623 0 1.22.22 1.66.615.44.394.688.928.688 1.485V14h1.566v-.698c0-1.935-1.752-3.5-3.914-3.5Z"}),React.createElement("path",{d:"M10.96 3.502a4.878 4.878 0 0 0-.954-2.8 6.002 6.002 0 0 0-2.623 1.476A5.414 5.414 0 0 0 5.48 0a5.39 5.39 0 0 0-1.893 2.178A6 6 0 0 0 .957.702a4.87 4.87 0 0 0-.954 2.8V4.2C.005 6.633 2.007 8.695 4.7 9.044V14h1.566V9.045c2.693-.347 4.694-2.41 4.695-4.843v-.7Z"}),React.createElement("path",{d:"M10.977 8.084c-.061 0-.12-.004-.177-.013a.65.65 0 0 1-.15-.042.343.343 0 0 1-.175-.167.885.885 0 0 1-.075-.214l-.029-.133-.002-.009-.02-.092-.001-.006-.002-.005a.697.697 0 0 0-.005-.018l-.001-.002a.546.546 0 0 1-.013-.046.963.963 0 0 0-.009-.033l-.024-.08-.07-.047a.019.019 0 0 1-.008-.014l-.001-.005a.11.11 0 0 1-.003-.022l.005-.142v-.037c.001-.011.008-.02.02-.023l.011-.003a.422.422 0 0 1 .052-.012l.301-.039c.111-.013.23-.02.383-.02H11.011c.165 0 .333.016.5.047.096.018.188.048.27.074.06.02.106.032.15.04a.425.425 0 0 0 .072.008l-.198.512c-.02.054-.042.101-.065.145a.858.858 0 0 1-.2.25.499.499 0 0 1-.184.096 1.258 1.258 0 0 1-.38.052Zm-.205-.097c.022.005.042.01.062.013a1.09 1.09 0 0 0 .452-.026.435.435 0 0 0 .196-.104.61.61 0 0 0 .105-.138c.055-.095.095-.194.118-.294a.65.65 0 0 0 .018-.205l-.01-.126-.112-.058a.506.506 0 0 0-.13-.042l-.01-.002a1.717 1.717 0 0 0-.374-.039h-.008l-.038.002a4.311 4.311 0 0 0-.128.008 1.43 1.43 0 0 0-.25.041l-.133.036-.032.136a.514.514 0 0 0-.009.059v.001l-.002.018a.708.708 0 0 0-.002.155c.007.073.018.17.041.266a.57.57 0 0 0 .078.189c.019.027.04.05.063.067l.06.043h.045Zm2.28.091a1.4 1.4 0 0 1-.27-.025.75.75 0 0 1-.22-.077.594.594 0 0 1-.228-.228 1.782 1.782 0 0 1-.105-.212l-.21-.507a.565.565 0 0 0 .16-.029l.08-.028.075-.025c.09-.03.19-.05.315-.066a2.854 2.854 0 0 1 .525-.019h.009l.265.015c.11.008.219.024.34.043l.02.004.003.002c.01.002.017.007.018.021l.001.023v.006a.984.984 0 0 1 .005.138l-.034-.062-.048.167-.024.08-.082.288.014-.008c-.018.075-.04.152-.07.225a.512.512 0 0 1-.07.125.333.333 0 0 1-.178.115.855.855 0 0 1-.21.032 1.846 1.846 0 0 1-.08.002Zm-.106-1.115a1.641 1.641 0 0 0-.486.075l-.142.049-.012.15a.722.722 0 0 0 .023.21.868.868 0 0 0 .167.354c.066.083.15.136.249.157.109.024.208.035.303.035h.01a.815.815 0 0 0 .21-.024.319.319 0 0 0 .146-.076.342.342 0 0 0 .079-.128c.041-.11.064-.23.068-.358v-.008c.002-.042 0-.084-.002-.125v-.02a.489.489 0 0 0-.003-.039l-.004-.032-.012-.03a.424.424 0 0 0-.004-.01l-.044-.099-.104-.029a1.763 1.763 0 0 0-.396-.053h-.046Zm1.042 3.06-1.42 2.599-.21-.62.388-.78-.778-.782-.778.781.39.782-.251.633-1.38-2.613s-2.942 1.564-2.942 3.113c0 .428.176.823.605.823h8.731c.427 0 .607-.391.607-.817 0-1.454-2.962-3.12-2.962-3.12Zm.54-3.202-.003-.122-.102-.068c-.012-.01-.024-.017-.037-.024-.208-1.803-.194-2.866-2.287-2.551-.734.11-1.535-.118-1.99.215-.574.539-.615 1.348-.459 2.297-.035.019-.07.04-.103.063l-.102.068-.002.123c-.005.316.034.582.12.787a.788.788 0 0 0 .345.407c.182.62.444 1.084.772 1.419.357.365.787.572 1.273.654l.043.007.044-.01c.538-.113.968-.329 1.31-.69.319-.335.556-.787.73-1.39a.8.8 0 0 0 .332-.41c.083-.203.12-.465.115-.775Zm-.556.6c-.041.102-.098.17-.17.194l-.119.042-.032.12c-.156.58-.365.999-.644 1.293-.264.277-.598.449-1.02.544a1.78 1.78 0 0 1-.967-.509c-.292-.297-.524-.729-.685-1.322l-.034-.126-.126-.04c-.074-.022-.132-.088-.174-.19-.043-.101-.069-.23-.08-.383.116-.018.245-.05.308-.009l.022-.074h.003l.01-.05c.034-.137.073-1 .108-1.139.014-.04.019-.086.045-.12.169.23 1.444.257 2.185-.257l-.139.375.141.028.158-.253-.02.177.15.02.093-.291c.184.105.387.246.568.17.06.136.107.967.137 1.127l.039.206.068-.004.032.107c.08-.01.15-.011.22-.013a1.25 1.25 0 0 1-.077.376Z"})));var Ds="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0NBNzcyMCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNNy4wNDYgMTMuMzAyVjE0aDEuNTY2di0uNjk4YzAtLjU1Ny4yNDgtMS4wOTMuNjg5LTEuNDg1YTIuNDg3IDIuNDg3IDAgMCAxIDEuNjYtLjYxNXYtMS40Yy0yLjE2MyAwLTMuOTE1IDEuNTY1LTMuOTE1IDMuNVpNMCA5LjgwMnYxLjRjLjYyMyAwIDEuMjIuMjIgMS42Ni42MTUuNDQuMzk0LjY4OC45MjguNjg4IDEuNDg1VjE0aDEuNTY2di0uNjk4YzAtMS45MzUtMS43NTItMy41LTMuOTE0LTMuNVoiLz48cGF0aCBkPSJNMTAuOTYgMy41MDJhNC44NzggNC44NzggMCAwIDAtLjk1NC0yLjggNi4wMDIgNi4wMDIgMCAwIDAtMi42MjMgMS40NzZBNS40MTQgNS40MTQgMCAwIDAgNS40OCAwYTUuMzkgNS4zOSAwIDAgMC0xLjg5MyAyLjE3OEE2IDYgMCAwIDAgLjk1Ny43MDJhNC44NyA0Ljg3IDAgMCAwLS45NTQgMi44VjQuMkMuMDA1IDYuNjMzIDIuMDA3IDguNjk1IDQuNyA5LjA0NFYxNGgxLjU2NlY5LjA0NWMyLjY5My0uMzQ3IDQuNjk0LTIuNDEgNC42OTUtNC44NDN2LS43WiIvPjxnPjxwYXRoIGQ9Ik0xMC45NzcgOC4wODRjLS4wNjEgMC0uMTItLjAwNC0uMTc3LS4wMTNhLjY1LjY1IDAgMCAxLS4xNS0uMDQyLjM0My4zNDMgMCAwIDEtLjE3NS0uMTY3Ljg4NS44ODUgMCAwIDEtLjA3NS0uMjE0bC0uMDI5LS4xMzMtLjAwMi0uMDA5LS4wMi0uMDkyLS4wMDEtLjAwNi0uMDAyLS4wMDVhLjY5Ny42OTcgMCAwIDAtLjAwNS0uMDE4bC0uMDAxLS4wMDJhLjU0Ni41NDYgMCAwIDEtLjAxMy0uMDQ2Ljk2My45NjMgMCAwIDAtLjAwOS0uMDMzbC0uMDI0LS4wOC0uMDctLjA0N2EuMDE5LjAxOSAwIDAgMS0uMDA4LS4wMTRsLS4wMDEtLjAwNWEuMTEuMTEgMCAwIDEtLjAwMy0uMDIybC4wMDUtLjE0MnYtLjAzN2MuMDAxLS4wMTEuMDA4LS4wMi4wMi0uMDIzbC4wMTEtLjAwM2EuNDIyLjQyMiAwIDAgMSAuMDUyLS4wMTJsLjMwMS0uMDM5Yy4xMTEtLjAxMy4yMy0uMDIuMzgzLS4wMkgxMS4wMTFjLjE2NSAwIC4zMzMuMDE2LjUuMDQ3LjA5Ni4wMTguMTg4LjA0OC4yNy4wNzQuMDYuMDIuMTA2LjAzMi4xNS4wNGEuNDI1LjQyNSAwIDAgMCAuMDcyLjAwOGwtLjE5OC41MTJjLS4wMi4wNTQtLjA0Mi4xMDEtLjA2NS4xNDVhLjg1OC44NTggMCAwIDEtLjIuMjUuNDk5LjQ5OSAwIDAgMS0uMTg0LjA5NiAxLjI1OCAxLjI1OCAwIDAgMS0uMzguMDUyWm0tLjIwNS0uMDk3Yy4wMjIuMDA1LjA0Mi4wMS4wNjIuMDEzYTEuMDkgMS4wOSAwIDAgMCAuNDUyLS4wMjYuNDM1LjQzNSAwIDAgMCAuMTk2LS4xMDQuNjEuNjEgMCAwIDAgLjEwNS0uMTM4Yy4wNTUtLjA5NS4wOTUtLjE5NC4xMTgtLjI5NGEuNjUuNjUgMCAwIDAgLjAxOC0uMjA1bC0uMDEtLjEyNi0uMTEyLS4wNThhLjUwNi41MDYgMCAwIDAtLjEzLS4wNDJsLS4wMS0uMDAyYTEuNzE3IDEuNzE3IDAgMCAwLS4zNzQtLjAzOWgtLjAwOGwtLjAzOC4wMDJhNC4zMTEgNC4zMTEgMCAwIDAtLjEyOC4wMDggMS40MyAxLjQzIDAgMCAwLS4yNS4wNDFsLS4xMzMuMDM2LS4wMzIuMTM2YS41MTQuNTE0IDAgMCAwLS4wMDkuMDU5di4wMDFsLS4wMDIuMDE4YS43MDguNzA4IDAgMCAwLS4wMDIuMTU1Yy4wMDcuMDczLjAxOC4xNy4wNDEuMjY2YS41Ny41NyAwIDAgMCAuMDc4LjE4OWMuMDE5LjAyNy4wNC4wNS4wNjMuMDY3bC4wNi4wNDNoLjA0NVptMi4yOC4wOTFhMS40IDEuNCAwIDAgMS0uMjctLjAyNS43NS43NSAwIDAgMS0uMjItLjA3Ny41OTQuNTk0IDAgMCAxLS4yMjgtLjIyOCAxLjc4MiAxLjc4MiAwIDAgMS0uMTA1LS4yMTJsLS4yMS0uNTA3YS41NjUuNTY1IDAgMCAwIC4xNi0uMDI5bC4wOC0uMDI4LjA3NS0uMDI1Yy4wOS0uMDMuMTktLjA1LjMxNS0uMDY2YTIuODU0IDIuODU0IDAgMCAxIC41MjUtLjAxOWguMDA5bC4yNjUuMDE1Yy4xMS4wMDguMjE5LjAyNC4zNC4wNDNsLjAyLjAwNC4wMDMuMDAyYy4wMS4wMDIuMDE3LjAwNy4wMTguMDIxbC4wMDEuMDIzdi4wMDZhLjk4NC45ODQgMCAwIDEgLjAwNS4xMzhsLS4wMzQtLjA2Mi0uMDQ4LjE2Ny0uMDI0LjA4LS4wODIuMjg4LjAxNC0uMDA4Yy0uMDE4LjA3NS0uMDQuMTUyLS4wNy4yMjVhLjUxMi41MTIgMCAwIDEtLjA3LjEyNS4zMzMuMzMzIDAgMCAxLS4xNzguMTE1Ljg1NS44NTUgMCAwIDEtLjIxLjAzMiAxLjg0NiAxLjg0NiAwIDAgMS0uMDguMDAyWm0tLjEwNi0xLjExNWExLjY0MSAxLjY0MSAwIDAgMC0uNDg2LjA3NWwtLjE0Mi4wNDktLjAxMi4xNWEuNzIyLjcyMiAwIDAgMCAuMDIzLjIxLjg2OC44NjggMCAwIDAgLjE2Ny4zNTRjLjA2Ni4wODMuMTUuMTM2LjI0OS4xNTcuMTA5LjAyNC4yMDguMDM1LjMwMy4wMzVoLjAxYS44MTUuODE1IDAgMCAwIC4yMS0uMDI0LjMxOS4zMTkgMCAwIDAgLjE0Ni0uMDc2LjM0Mi4zNDIgMCAwIDAgLjA3OS0uMTI4Yy4wNDEtLjExLjA2NC0uMjMuMDY4LS4zNTh2LS4wMDhjLjAwMi0uMDQyIDAtLjA4NC0uMDAyLS4xMjV2LS4wMmEuNDg5LjQ4OSAwIDAgMC0uMDAzLS4wMzlsLS4wMDQtLjAzMi0uMDEyLS4wM2EuNDI0LjQyNCAwIDAgMC0uMDA0LS4wMWwtLjA0NC0uMDk5LS4xMDQtLjAyOWExLjc2MyAxLjc2MyAwIDAgMC0uMzk2LS4wNTNoLS4wNDZabTEuMDQyIDMuMDYtMS40MiAyLjU5OS0uMjEtLjYyLjM4OC0uNzgtLjc3OC0uNzgyLS43NzguNzgxLjM5Ljc4Mi0uMjUxLjYzMy0xLjM4LTIuNjEzcy0yLjk0MiAxLjU2NC0yLjk0MiAzLjExM2MwIC40MjguMTc2LjgyMy42MDUuODIzaDguNzMxYy40MjcgMCAuNjA3LS4zOTEuNjA3LS44MTcgMC0xLjQ1NC0yLjk2Mi0zLjEyLTIuOTYyLTMuMTJabS41NC0zLjIwMi0uMDAzLS4xMjItLjEwMi0uMDY4Yy0uMDEyLS4wMS0uMDI0LS4wMTctLjAzNy0uMDI0LS4yMDgtMS44MDMtLjE5NC0yLjg2Ni0yLjI4Ny0yLjU1MS0uNzM0LjExLTEuNTM1LS4xMTgtMS45OS4yMTUtLjU3NC41MzktLjYxNSAxLjM0OC0uNDU5IDIuMjk3LS4wMzUuMDE5LS4wNy4wNC0uMTAzLjA2M2wtLjEwMi4wNjgtLjAwMi4xMjNjLS4wMDUuMzE2LjAzNC41ODIuMTIuNzg3YS43ODguNzg4IDAgMCAwIC4zNDUuNDA3Yy4xODIuNjIuNDQ0IDEuMDg0Ljc3MiAxLjQxOS4zNTcuMzY1Ljc4Ny41NzIgMS4yNzMuNjU0bC4wNDMuMDA3LjA0NC0uMDFjLjUzOC0uMTEzLjk2OC0uMzI5IDEuMzEtLjY5LjMxOS0uMzM1LjU1Ni0uNzg3LjczLTEuMzlhLjguOCAwIDAgMCAuMzMyLS40MWMuMDgzLS4yMDMuMTItLjQ2NS4xMTUtLjc3NVptLS41NTYuNmMtLjA0MS4xMDItLjA5OC4xNy0uMTcuMTk0bC0uMTE5LjA0Mi0uMDMyLjEyYy0uMTU2LjU4LS4zNjUuOTk5LS42NDQgMS4yOTMtLjI2NC4yNzctLjU5OC40NDktMS4wMi41NDRhMS43OCAxLjc4IDAgMCAxLS45NjctLjUwOWMtLjI5Mi0uMjk3LS41MjQtLjcyOS0uNjg1LTEuMzIybC0uMDM0LS4xMjYtLjEyNi0uMDRjLS4wNzQtLjAyMi0uMTMyLS4wODgtLjE3NC0uMTktLjA0My0uMTAxLS4wNjktLjIzLS4wOC0uMzgzLjExNi0uMDE4LjI0NS0uMDUuMzA4LS4wMDlsLjAyMi0uMDc0aC4wMDNsLjAxLS4wNWMuMDM0LS4xMzcuMDczLTEgLjEwOC0xLjEzOS4wMTQtLjA0LjAxOS0uMDg2LjA0NS0uMTIuMTY5LjIzIDEuNDQ0LjI1NyAyLjE4NS0uMjU3bC0uMTM5LjM3NS4xNDEuMDI4LjE1OC0uMjUzLS4wMi4xNzcuMTUuMDIuMDkzLS4yOTFjLjE4NC4xMDUuMzg3LjI0Ni41NjguMTcuMDYuMTM2LjEwNy45NjcuMTM3IDEuMTI3bC4wMzkuMjA2LjA2OC0uMDA0LjAzMi4xMDdjLjA4LS4wMS4xNS0uMDExLjIyLS4wMTNhMS4yNSAxLjI1IDAgMCAxLS4wNzcuMzc2WiIvPjwvZz48L2c+PC9zdmc+",jn=Object.defineProperty,gs=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Kl=Object.prototype.propertyIsEnumerable,Oo=(Xn,bn,Ht)=>bn in Xn?jn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,ma=(Xn,bn)=>{for(var Ht in bn||(bn={}))Ql.call(bn,Ht)&&Oo(Xn,Ht,bn[Ht]);if(gs)for(var Ht of gs(bn))Kl.call(bn,Ht)&&Oo(Xn,Ht,bn[Ht]);return Xn};const ds=Xn=>React.createElement("svg",ma({width:11,height:14,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u8BC4\u8BED"),React.createElement("g",{fill:"#000",fillRule:"nonzero"},React.createElement("path",{d:"M7.046 13.302V14h1.566v-.698c0-.557.248-1.093.689-1.485a2.487 2.487 0 0 1 1.66-.615v-1.4c-2.163 0-3.915 1.565-3.915 3.5ZM0 9.802v1.4c.623 0 1.22.22 1.66.615.44.394.688.928.688 1.485V14h1.566v-.698c0-1.935-1.752-3.5-3.914-3.5Z"}),React.createElement("path",{d:"M10.96 3.502a4.878 4.878 0 0 0-.954-2.8 6.002 6.002 0 0 0-2.623 1.476A5.414 5.414 0 0 0 5.48 0a5.39 5.39 0 0 0-1.893 2.178A6 6 0 0 0 .957.702a4.87 4.87 0 0 0-.954 2.8V4.2C.005 6.633 2.007 8.695 4.7 9.044V14h1.566V9.045c2.693-.347 4.694-2.41 4.695-4.843v-.7Z"})));var aa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNNy4wNDYgMTMuMzAyVjE0aDEuNTY2di0uNjk4YzAtLjU1Ny4yNDgtMS4wOTMuNjg5LTEuNDg1YTIuNDg3IDIuNDg3IDAgMCAxIDEuNjYtLjYxNXYtMS40Yy0yLjE2MyAwLTMuOTE1IDEuNTY1LTMuOTE1IDMuNVpNMCA5LjgwMnYxLjRjLjYyMyAwIDEuMjIuMjIgMS42Ni42MTUuNDQuMzk0LjY4OC45MjguNjg4IDEuNDg1VjE0aDEuNTY2di0uNjk4YzAtMS45MzUtMS43NTItMy41LTMuOTE0LTMuNVoiLz48cGF0aCBkPSJNMTAuOTYgMy41MDJhNC44NzggNC44NzggMCAwIDAtLjk1NC0yLjggNi4wMDIgNi4wMDIgMCAwIDAtMi42MjMgMS40NzZBNS40MTQgNS40MTQgMCAwIDAgNS40OCAwYTUuMzkgNS4zOSAwIDAgMC0xLjg5MyAyLjE3OEE2IDYgMCAwIDAgLjk1Ny43MDJhNC44NyA0Ljg3IDAgMCAwLS45NTQgMi44VjQuMkMuMDA1IDYuNjMzIDIuMDA3IDguNjk1IDQuNyA5LjA0NFYxNGgxLjU2NlY5LjA0NWMyLjY5My0uMzQ3IDQuNjk0LTIuNDEgNC42OTUtNC44NDN2LS43WiIvPjwvZz48L3N2Zz4=",Xr=Object.defineProperty,Qr=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,Po=(Xn,bn,Ht)=>bn in Xn?Xr(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,Mo=(Xn,bn)=>{for(var Ht in bn||(bn={}))ns.call(bn,Ht)&&Po(Xn,Ht,bn[Ht]);if(Qr)for(var Ht of Qr(bn))so.call(bn,Ht)&&Po(Xn,Ht,bn[Ht]);return Xn};const $i=Xn=>React.createElement("svg",Mo({width:20,height:20,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u8FD4\u56DE"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#3061D0",width:20,height:20,rx:4}),React.createElement("g",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2},React.createElement("path",{d:"M4.678 10.176h10.526M8.187 13.684l-3.509-3.509 3.509-3.508"}))));var Ja="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjMzA2MUQwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHJ4PSI0Ii8+PGcgc3Ryb2tlPSIjRkZGIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHBhdGggZD0iTTQuNjc4IDEwLjE3NmgxMC41MjZNOC4xODcgMTMuNjg0bC0zLjUwOS0zLjUwOSAzLjUwOS0zLjUwOCIvPjwvZz48L2c+PC9zdmc+",xs=Object.defineProperty,ul=Object.getOwnPropertySymbols,Yl=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,_i=(Xn,bn,Ht)=>bn in Xn?xs(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,is=(Xn,bn)=>{for(var Ht in bn||(bn={}))Yl.call(bn,Ht)&&_i(Xn,Ht,bn[Ht]);if(ul)for(var Ht of ul(bn))Jl.call(bn,Ht)&&_i(Xn,Ht,bn[Ht]);return Xn};const Hs=Xn=>React.createElement("svg",is({width:70,height:24,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u5DF2\u8BC4\u9605"),React.createElement("path",{d:"m70 0-6.146 11.936L70 24H0V0h70ZM40.74 5.229h-9.292v1.646h3.768v5.83h-4.258v1.663h4.258v5.796h1.723v-5.796h4.326v-1.663h-4.326v-5.83h3.802V5.23Zm4.157 2.167h-1.723v12.768h1.723V7.396ZM57.35 5.212h-8.009v1.613h6.286v10.953c0 .47-.152.706-.44.706l-.659-.034c.186-.37.321-1.008.406-1.932l-1.487-.47c-.05.706-.135 1.126-.253 1.26a.506.506 0 0 1-.423.218h-.304c-.22 0-.321-.134-.321-.386v-1.966h1.673V10.32h-1.487c.405-.672.794-1.411 1.132-2.234l-1.656-.588a23.536 23.536 0 0 1-1.166 2.822H48.75l1.216-.605c-.405-.739-.81-1.428-1.25-2.032l-1.47.705c.44.571.862 1.21 1.25 1.932h-1.841v4.855h1.537c-.236 1.31-1.183 2.235-2.855 2.806l.912 1.445c2.061-.89 3.21-2.302 3.447-4.25h.912v2.301c0 1.042.457 1.58 1.369 1.58h1.081c.49 0 .879-.102 1.15-.27l.32 1.26h1.014c1.2 0 1.808-.588 1.808-1.764V5.212ZM29.572 9.563h-4.021v1.68h2.315v5.964c0 .353-.152.655-.44.907l.66 1.58a25.152 25.152 0 0 0 3.328-2.672l-.49-1.848c-.473.47-.93.908-1.352 1.294V9.563Zm-7.215-4.217H9.465v1.68h11.101v3.83h-8.634V8.64h-1.757v8.703c0 1.512.71 2.268 2.163 2.268h9.394c.676-.034 1.234-.236 1.64-.605.337-.37.624-1.63.844-3.78l-1.723-.538c-.102 1.714-.254 2.705-.49 2.94-.237.202-.49.303-.76.303h-8.398c-.609 0-.913-.303-.913-.908v-4.485h10.425v-7.19Zm29.857 6.384v2.033h-3.971V11.73h3.97Zm-19.11-4.233L31.6 8a28.8 28.8 0 0 1 1.2 4.099l1.503-.37a35.374 35.374 0 0 0-1.2-4.233Zm5.795-.05c-.355 1.646-.76 3.023-1.233 4.099l1.47.52c.523-1.21.963-2.604 1.3-4.216L38.9 7.446ZM27.95 4.707l-1.25 1.21c1.2.873 2.129 1.696 2.77 2.47l1.217-1.227a23.623 23.623 0 0 0-2.737-2.453Zm18.282-.269-1.605.706A15.91 15.91 0 0 1 46.435 7.9l1.571-.806a14.573 14.573 0 0 0-1.774-2.655Z",fill:"#37AD83",fillRule:"nonzero"}));var tu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTcwIDAtNi4xNDYgMTEuOTM2TDcwIDI0SDBWMGg3MFpNNDAuNzQgNS4yMjloLTkuMjkydjEuNjQ2aDMuNzY4djUuODNoLTQuMjU4djEuNjYzaDQuMjU4djUuNzk2aDEuNzIzdi01Ljc5Nmg0LjMyNnYtMS42NjNoLTQuMzI2di01LjgzaDMuODAyVjUuMjNabTQuMTU3IDIuMTY3aC0xLjcyM3YxMi43NjhoMS43MjNWNy4zOTZaTTU3LjM1IDUuMjEyaC04LjAwOXYxLjYxM2g2LjI4NnYxMC45NTNjMCAuNDctLjE1Mi43MDYtLjQ0LjcwNmwtLjY1OS0uMDM0Yy4xODYtLjM3LjMyMS0xLjAwOC40MDYtMS45MzJsLTEuNDg3LS40N2MtLjA1LjcwNi0uMTM1IDEuMTI2LS4yNTMgMS4yNmEuNTA2LjUwNiAwIDAgMS0uNDIzLjIxOGgtLjMwNGMtLjIyIDAtLjMyMS0uMTM0LS4zMjEtLjM4NnYtMS45NjZoMS42NzNWMTAuMzJoLTEuNDg3Yy40MDUtLjY3Mi43OTQtMS40MTEgMS4xMzItMi4yMzRsLTEuNjU2LS41ODhhMjMuNTM2IDIzLjUzNiAwIDAgMS0xLjE2NiAyLjgyMkg0OC43NWwxLjIxNi0uNjA1Yy0uNDA1LS43MzktLjgxLTEuNDI4LTEuMjUtMi4wMzJsLTEuNDcuNzA1Yy40NC41NzEuODYyIDEuMjEgMS4yNSAxLjkzMmgtMS44NDF2NC44NTVoMS41MzdjLS4yMzYgMS4zMS0xLjE4MyAyLjIzNS0yLjg1NSAyLjgwNmwuOTEyIDEuNDQ1YzIuMDYxLS44OSAzLjIxLTIuMzAyIDMuNDQ3LTQuMjVoLjkxMnYyLjMwMWMwIDEuMDQyLjQ1NyAxLjU4IDEuMzY5IDEuNThoMS4wODFjLjQ5IDAgLjg3OS0uMTAyIDEuMTUtLjI3bC4zMiAxLjI2aDEuMDE0YzEuMiAwIDEuODA4LS41ODggMS44MDgtMS43NjRWNS4yMTJaTTI5LjU3MiA5LjU2M2gtNC4wMjF2MS42OGgyLjMxNXY1Ljk2NGMwIC4zNTMtLjE1Mi42NTUtLjQ0LjkwN2wuNjYgMS41OGEyNS4xNTIgMjUuMTUyIDAgMCAwIDMuMzI4LTIuNjcybC0uNDktMS44NDhjLS40NzMuNDctLjkzLjkwOC0xLjM1MiAxLjI5NFY5LjU2M1ptLTcuMjE1LTQuMjE3SDkuNDY1djEuNjhoMTEuMTAxdjMuODNoLTguNjM0VjguNjRoLTEuNzU3djguNzAzYzAgMS41MTIuNzEgMi4yNjggMi4xNjMgMi4yNjhoOS4zOTRjLjY3Ni0uMDM0IDEuMjM0LS4yMzYgMS42NC0uNjA1LjMzNy0uMzcuNjI0LTEuNjMuODQ0LTMuNzhsLTEuNzIzLS41MzhjLS4xMDIgMS43MTQtLjI1NCAyLjcwNS0uNDkgMi45NC0uMjM3LjIwMi0uNDkuMzAzLS43Ni4zMDNoLTguMzk4Yy0uNjA5IDAtLjkxMy0uMzAzLS45MTMtLjkwOHYtNC40ODVoMTAuNDI1di03LjE5Wm0yOS44NTcgNi4zODR2Mi4wMzNoLTMuOTcxVjExLjczaDMuOTdabS0xOS4xMS00LjIzM0wzMS42IDhhMjguOCAyOC44IDAgMCAxIDEuMiA0LjA5OWwxLjUwMy0uMzdhMzUuMzc0IDM1LjM3NCAwIDAgMC0xLjItNC4yMzNabTUuNzk1LS4wNWMtLjM1NSAxLjY0Ni0uNzYgMy4wMjMtMS4yMzMgNC4wOTlsMS40Ny41MmMuNTIzLTEuMjEuOTYzLTIuNjA0IDEuMy00LjIxNkwzOC45IDcuNDQ2Wk0yNy45NSA0LjcwN2wtMS4yNSAxLjIxYzEuMi44NzMgMi4xMjkgMS42OTYgMi43NyAyLjQ3bDEuMjE3LTEuMjI3YTIzLjYyMyAyMy42MjMgMCAwIDAtMi43MzctMi40NTNabTE4LjI4Mi0uMjY5LTEuNjA1LjcwNkExNS45MSAxNS45MSAwIDAgMSA0Ni40MzUgNy45bDEuNTcxLS44MDZhMTQuNTczIDE0LjU3MyAwIDAgMC0xLjc3NC0yLjY1NVoiIGZpbGw9IiMzN0FEODMiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",ui=oe(59301),du=Object.defineProperty,wo=Object.defineProperties,Uc=Object.getOwnPropertyDescriptors,Wl=Object.getOwnPropertySymbols,$l=Object.prototype.hasOwnProperty,Fl=Object.prototype.propertyIsEnumerable,Zu=(Xn,bn,Ht)=>bn in Xn?du(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[bn]=Ht,Ws=(Xn,bn)=>{for(var Ht in bn||(bn={}))$l.call(bn,Ht)&&Zu(Xn,Ht,bn[Ht]);if(Wl)for(var Ht of Wl(bn))Fl.call(bn,Ht)&&Zu(Xn,Ht,bn[Ht]);return Xn},Zs=(Xn,bn)=>wo(Xn,Uc(bn)),Al=(Xn,bn,Ht)=>new Promise((Ao,ta)=>{var sa=Br=>{try{Jr(Ht.next(Br))}catch(rr){ta(rr)}},Vr=Br=>{try{Jr(Ht.throw(Br))}catch(rr){ta(rr)}},Jr=Br=>Br.done?Ao(Br.value):Promise.resolve(Br.value).then(sa,Vr);Jr((Ht=Ht.apply(Xn,bn)).next())});const Jc={0:"\u672A\u63D0\u4EA4",1:"\u6309\u65F6\u63D0\u4EA4","-1":"\u91CD\u505A\u4E2D",2:"\u5EF6\u65F6\u63D0\u4EA4",6:"\u6309\u65F6\u63D0\u4EA4\uFF08\u5305\u542B\u7EBF\u4E0B\u548C\u6559\u5E08\u63D0\u4EA4\uFF09"},qc={0:"#4D5865",1:"#FFFFFF","-1":"#FFFFFF",2:"#AC4C0C",6:"#FFFFFF"},Pc={0:"#D0D8E0",1:"#37AD83","-1":"#776FE8",2:"#FFD28D",6:"#37AD83"},md=({shixunHomeworks:Xn,globalSetting:bn,loading:Ht,user:Ao,classroomList:ta,dispatch:sa})=>{var Vr,Jr,Br,rr,ro,Na,Ia,Ho,Bo,rl,Bs,ka,Nl,js,$s,fr,va,Wt,di,Ns,ps,cl,Os,nu,hu,Vu,rs,Eo;const[Fa]=(0,Ce.useSearchParams)(),Gr=(0,Ce.useParams)(),[za]=we.default.useForm(),[qo]=we.default.useForm(),{userInfo:ol}=Ao,{studentWorkDetail:Zi,studentWorkCommon:oo,studentWorkSupplyDetail:iu,workList:Sl,workDetail:_c,actionTabs:Xo}=Xn,[,Bl,Ma,Ka]=(0,Zt.U)(ke.wT,{userId:Gr==null?void 0:Gr.userId}),[,ms,hs,ya]=(0,Zt.U)(ke.Wr,{userId:Gr==null?void 0:Gr.userId}),[,Ku,xo]=(0,Zt.U)(ke.G$,{userId:Gr==null?void 0:Gr.userId,id:Gr==null?void 0:Gr.userId}),[Gc,pa]=(0,se.useState)("1"),[ah,ru]=(0,se.useState)(!1),[jl,Td]=(0,se.useState)({last:!1}),[zl,Ea]=(0,se.useState)({last:!1}),zs=(0,se.useRef)(),[da,kl]=(0,se.useState)(!1),[Yu,Ac]=(0,se.useState)("");let[Id,$u]=(0,se.useState)([]);const[gu,Sc]=(0,se.useState)(!1),Xu=(0,se.useRef)(),[Nc,td]=(0,se.useState)(!1),[nd,xc]=(0,se.useState)(""),[Mh,Ul]=(0,se.useState)(!1),[Tu,Ud]=(0,se.useState)(!1),[mt,Et]=(0,se.useState)(""),[rn,cn]=(0,se.useState)(!0),[Dn,xn]=Ie.default.useModal(),[ri,ai]=(0,se.useState)(!1),[qn,bi]=(0,se.useState)(!1),[Ni,Ei]=(0,se.useState)(!1),[qi,Ki]=(0,se.useState)(!1),[Ui,Lr]=(0,se.useState)(!1),[Vi,Pr]=(0,se.useState)(!1),[yr,jr]=(0,se.useState)(!0),[So,Lo]=(0,se.useState)(!1),[Tr,mo]=(0,se.useState)({content:"",type:""}),[Zo,Hr]=(0,se.useState)({status:0}),uo=[{title:"\u63D0\u4EA4\u6B21\u6570",dataIndex:"id",ellipsis:!0,width:80,render:(wi,er,qr)=>qr+1},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"commit_time",ellipsis:!0,render:wi=>Se()(wi).format("YYYY-MM-DD HH:mm")},{title:"\u63D0\u4EA4\u9636\u6BB5",dataIndex:"stage_name",ellipsis:!0,width:180,render:(wi,er)=>ui.createElement(ui.Fragment,null,wi,er!=null&&er.is_redo?ui.createElement("span",{style:{color:"#FF9D18"}},"\uFF08\u6253\u56DE\u91CD\u505A\uFF09"):(er==null?void 0:er.is_redo_commit)&&ui.createElement("span",{style:{color:"#2FA34F"}},"\uFF08\u91CD\u505A\u63D0\u4EA4\uFF09"))},{title:"\u6559\u5E08\u8BC4\u5206",dataIndex:"teacher_score",ellipsis:!0},{title:"\u52A9\u6559\u8BC4\u5206",dataIndex:"teaching_asistant_score",ellipsis:!0},{title:"\u533F\u8BC4\u5F97\u5206",dataIndex:"student_score",ellipsis:!0},{title:"\u64CD\u4F5C",dataIndex:"history_id",ellipsis:!0,width:80,align:"right",render:(wi,er)=>ui.createElement("a",{target:"_blank",href:`/classrooms/${Gr==null?void 0:Gr.coursesId}/common_homework/${Gr==null?void 0:Gr.categoryId}/review/${er==null?void 0:er.student_work_id}?history_id=${er==null?void 0:er.history_id}`},"\u67E5\u770B")}],vr=(wi={key:""})=>{sa({type:"shixunHomeworks/setActionTabs",payload:wi}),wi.key===""&&(za.resetFields(),qo.resetFields())},cr=()=>{sa({type:"shixunHomeworks/getStudentWorkCommon",payload:Ws({is_invalid:!1,history_id:Fa.get("history_id")},Gr)})},to=wi=>{let er=0;for(let qr=0;qrAl(void 0,null,function*(){var er;Zi!=null&&Zi.single_score||(wi.score=to(wi.score_details)),wi.attachment_ids=(er=wi.attachment_ids)==null?void 0:er.map(La=>{var ho;return(ho=La==null?void 0:La.response)==null?void 0:ho.id}),Sc(!0),(yield(0,ke.yy)(Zs(Ws({},wi),{userId:Gr.userId,is_hidden_comment:So}))).status===0&&(za.resetFields(),Lo(!1),Zi!=null&&Zi.next_work_id?(De.ZP.success("\u8BC4\u9605\u6210\u529F\uFF01\u5DF2\u4E3A\u60A8\u81EA\u52A8\u5207\u6362\u81F3\u4E0B\u4E00\u4E2A\u5F85\u8BC4\u9605\u7684\u5B66\u751F",2),Ro("read")):(De.ZP.success("\u8BC4\u9605\u6210\u529F\uFF01",2),cr(),Jo())),kl(!0),Sc(!1)}),Ro=wi=>Al(void 0,null,function*(){const{comment:er,score:qr,score_details:La,attachment_ids:ho}=za.getFieldsValue();let Yo=!1;if(Zi!=null&&Zi.single_score?Yo=!(0,fn.isNil)((qr==null?void 0:qr.length)==0?null:qr):La==null||La.some(Sa=>{if(!(0,fn.isNil)(Sa!=null&&Sa.score?Sa==null?void 0:Sa.score:null))return Yo=!0,!0}),er||Yo||ho){Ie.default.confirm({centered:!0,okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:ui.createElement("div",{className:"tc"},"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539"),onOk:()=>{za.resetFields(),wi==="last"?Ce.history.push(Fa.get("ids")?`/classrooms/${Gr==null?void 0:Gr.coursesId}/common_homework/${Gr==null?void 0:Gr.categoryId}/review/${zl==null?void 0:zl.student_work_id}?ids=${Fa.get("ids")}&page=${Fa.get("page")}`:`/classrooms/${Gr==null?void 0:Gr.coursesId}/common_homework/${Gr==null?void 0:Gr.categoryId}/review/${zl==null?void 0:zl.student_work_id}&page=${Fa.get("page")}`):wi==="read"?Ce.history.push(Fa.get("ids")?`/classrooms/${Gr==null?void 0:Gr.coursesId}/common_homework/${Gr==null?void 0:Gr.categoryId}/review/${jl==null?void 0:jl.student_work_id}?ids=${Fa.get("ids")}&page=${Fa.get("page")}`:`/classrooms/${Gr==null?void 0:Gr.coursesId}/common_homework/${Gr==null?void 0:Gr.categoryId}/review/${jl==null?void 0:jl.student_work_id}&page=${Fa.get("page")}`):Ce.history.push(`/classrooms/${Gr.coursesId}/common_homework/${Gr.categoryId}/detail?page=${Fa.get("page")}`)}});return}wi==="last"?Ce.history.push(Fa.get("ids")?`/classrooms/${Gr==null?void 0:Gr.coursesId}/common_homework/${Gr==null?void 0:Gr.categoryId}/review/${zl==null?void 0:zl.student_work_id}?ids=${Fa.get("ids")}&page=${Fa.get("page")}`:`/classrooms/${Gr==null?void 0:Gr.coursesId}/common_homework/${Gr==null?void 0:Gr.categoryId}/review/${zl==null?void 0:zl.student_work_id}&page=${Fa.get("page")}`):wi==="read"?Ce.history.push(Fa.get("ids")?`/classrooms/${Gr==null?void 0:Gr.coursesId}/common_homework/${Gr==null?void 0:Gr.categoryId}/review/${jl==null?void 0:jl.student_work_id}?ids=${Fa.get("ids")}&page=${Fa.get("page")}`:`/classrooms/${Gr==null?void 0:Gr.coursesId}/common_homework/${Gr==null?void 0:Gr.categoryId}/review/${jl==null?void 0:jl.student_work_id}&page=${Fa.get("page")}`):Ce.history.push(`/classrooms/${Gr.coursesId}/common_homework/${Gr.categoryId}/detail?page=${Fa.get("page")}`)}),jo=wi=>Al(void 0,null,function*(){Ul(!0),(yield(0,ee.ZP)(`/api/homework_commons/${Gr.categoryId}/student_works/export_normal_word_all.json`,{method:"post",body:{with_edit:wi,with_submit_record:rn}})).status===0&&(td(!1),Ce.history.push(`/classrooms/${Gr==null?void 0:Gr.coursesId}/exportlist/normal_work_list`)),Ul(!1)}),Or=wi=>{Ul(!0),(0,Gn.Nd)("",`${Ne.Z.API_SERVER}/api/student_works/${Gr.userId}/export_normal_word_single.json?with_edit=${wi}&with_submit_record=${rn}`),Ul(!1),td(!1)},Qo=wi=>{Ud(wi),xc("\u9644\u4EF6"),td(!0)};(0,se.useEffect)(()=>{Zi!=null&&Zi.homework_id&&(Zi!=null&&Zi.prev_work_id?Ea({student_work_id:Zi==null?void 0:Zi.prev_work_id}):Ea({last:!0}),Zi!=null&&Zi.next_work_id?Td({student_work_id:Zi==null?void 0:Zi.next_work_id}):Td({last:!0}))},[Zi]),(0,se.useEffect)(()=>{const wi=JSON.parse(localStorage.getItem("all_student_works_param")||"{}");sa({type:"shixunHomeworks/getStudentWorkDetail",payload:Zs(Ws(Ws({},Gr),wi),{history_id:Fa.get("history_id")||mt})}),sa({type:"shixunHomeworks/getStudentWorkSupplyDetail",payload:Ws({},Gr)}),cr(),Gc=="3"&&hs({userId:Gr==null?void 0:Gr.userId}),zs.current.onclick=er=>{er.target.nodeName==="IMG"&&er.target.alt!==""&&ge.Z.publish("preview-image",er.target.src)}},[Gr.categoryId,Gr.userId]),(0,se.useEffect)(()=>{Zi!=null&&Zi.score_details&&$u(Zi==null?void 0:Zi.score_details.map(wi=>Zs(Ws({},wi),{score:""})))},[Zi]),(0,se.useEffect)(()=>{Id.every(wi=>wi.score==="")?kl(!0):kl(!1)},[Id]);const Jo=()=>{const wi=JSON.parse(localStorage.getItem("all_student_works_param")||"{}");sa({type:"shixunHomeworks/getStudentWorkDetail",payload:Zs(Ws(Ws({},Gr),wi),{history_id:Fa.get("history_id")||mt})}),sa({type:"shixunHomeworks/getStudentWorkSupplyDetail",payload:Ws({},Gr)}),sa({type:"shixunHomeworks/getWorkDetail",payload:{categoryId:Gr.categoryId}})};(0,se.useEffect)(()=>{Et(Fa.get("history_id")||"")},[Fa.get("history_id")]),(0,se.useEffect)(()=>(sa({type:"classroomList/getAssistantPermissions",payload:{course_id:Gr.coursesId}}),sa({type:"shixunHomeworks/getWorkDetail",payload:{categoryId:Gr.categoryId}}),sa({type:"globalSetting/footerToggle",payload:!1}),()=>{sa({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,se.useEffect)(()=>{(0,ii.Rm)()&&sa({type:"classroomList/getAssistantPermissions",payload:{course_id:Gr.coursesId}})},[(Vr=Ao==null?void 0:Ao.userInfo)==null?void 0:Vr.username]);const Da=()=>{var wi,er,qr;return mt?!1:(0,ii.G5)()||(0,ii.Rm)()&&((er=(wi=ta==null?void 0:ta.AssistantObject)==null?void 0:wi.practice)!=null&&er.can_appraise)?!0:!!((0,ii.dE)()&&((qr=Zi==null?void 0:Zi.homework_status)!=null&&qr.includes("\u533F\u8BC4\u4E2D"))&&!oo.is_author)},la=(0,ii.dE)()&&((Jr=Zi==null?void 0:Zi.homework_status)==null?void 0:Jr.includes("\u533F\u8BC4\u4E2D"))&&!oo.is_author,[Ms,vs]=(0,se.useState)(!1),[ea,No]=(0,se.useState)(!1),[Ba,bs]=(0,se.useState)(!1),ys=wi=>{const er=wi.currentTarget;er.scrollHeight>er.clientHeight&&vs(!0)},qs=wi=>{const er=wi.currentTarget;er.scrollHeight>er.clientHeight&&No(!0)},_o=wi=>{const er=wi.currentTarget;er.scrollHeight>er.clientHeight&&bs(!0)};return(0,se.useEffect)(()=>{var wi;!(Zi!=null&&Zi.single_score)&&za.setFieldValue("score_details",(wi=Zi==null?void 0:Zi.score_details)==null?void 0:wi.map(er=>Ws({},er)))},[Zi]),ui.createElement("section",{className:"edu-container",ref:zs,style:{width:Da()?"100%":"1200px",overflow:"hidden",overflowX:"auto"}},ui.createElement("div",{style:(0,ii.bg)()&&Da()?{minWidth:yr?"1700px":"1400px"}:{}},ui.createElement("section",{className:"animated fadeIn"},ui.createElement("div",{style:{height:"52px",background:"#FFFFFF",marginBottom:"10px",padding:"0 20px",display:"flex",alignItems:"center"}},ui.createElement("div",{style:{cursor:"pointer",display:"flex",alignItems:"center"},onClick:()=>{Ro("list")}},ui.createElement("img",{src:Ja}),ui.createElement("div",{style:{fontWeight:400,color:"#666666",marginLeft:"5px",fontSize:"16px"}},"\u8FD4\u56DE")),ui.createElement("div",{className:zt.top_content},!la&&(Zi==null?void 0:Zi.image_url)&&ui.createElement("img",{src:`${Ne.Z.IMG_SERVER}/images/${Zi==null?void 0:Zi.image_url}`,className:zt.top_content_img}),ui.createElement("div",{className:zt.item_content},ui.createElement("div",{className:zt.item_name,style:{height:la?"40px":"20px",lineHeight:la?"40px":"20px"}},Zi==null?void 0:Zi.author_name,!la&&ui.createElement("span",{className:zt.item_tags,style:{color:qc[Zi==null?void 0:Zi.work_status],background:Pc[Zi==null?void 0:Zi.work_status]}},Jc[Zi==null?void 0:Zi.work_status])),!la&&((Zi==null?void 0:Zi.student_id)||(Zi==null?void 0:Zi.group_name))&&ui.createElement("div",{className:zt.item_code},ui.createElement("span",null,"\u5B66\u53F7\uFF1A",Zi==null?void 0:Zi.student_id),ui.createElement("span",{style:{marginLeft:"20px"}},"\u73ED\u7EA7\uFF1A",Zi==null?void 0:Zi.group_name)))),ui.createElement("div",{style:{marginLeft:"auto",display:"flex",alignItems:"center"}},((Zi==null?void 0:Zi.score_given_user)||(Zi==null?void 0:Zi.score_given_user)==0)&&!mt&&ui.createElement("div",{className:"mr10 font24",style:{fontWeight:600,color:"#009C0F"}},Zi==null?void 0:Zi.score_given_user,ui.createElement("span",{style:{fontSize:"14px"}},"\u5206")),mt&&ui.createElement("span",{style:{padding:"3px",marginRight:30,background:"rgba(219,243,224,0.88)",color:"#1FBE3C",fontSize:"12px"}},"\u7B2C",Zi==null?void 0:Zi.commit_count,"\u6B21\u63D0\u4EA4\u7684\u4F5C\u4E1A"),mt&&ui.createElement("div",{className:zt.buttonStyle,style:{border:"1px solid rgba(48,97,208,0.5)",color:"#3061D0",display:"flex",alignItems:"center",padding:"0 10px",marginRight:10,height:32,cursor:"pointer"},onClick:()=>{vr({key:"\u4F5C\u4E1A\u63CF\u8FF0"})}},ui.createElement("i",{className:"iconfont icon-fenzuzuoye3 font18",style:{color:"#009CDC"}}),ui.createElement("span",{style:{marginLeft:5}},"\u4F5C\u4E1A\u63CF\u8FF0")),!mt&&ui.createElement("div",null,!((0,ii.dE)()&&oo.is_author)&&(Zi!=null&&Zi.rated_already?ui.createElement("img",{src:tu,style:{margin:"0 20px 0 0"}}):ui.createElement("img",{src:ua,style:{marginRight:"20px"}}))),(0,ii.dE)()&&oo.is_author?ui.createElement(ui.Fragment,null):(Zi==null?void 0:Zi.have_history_comment)&&ui.createElement(Ke.ZP,{className:zt.buttonStyle,style:{border:"1px solid rgba(48,97,208,0.5)",color:"#3061D0",display:"flex",alignItems:"center",padding:"0 10px"},icon:ui.createElement("i",{className:"iconfont icon-chakanshenqingjilu"}),onClick:()=>{vr({key:"\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55"})}},"\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55"),!mt&&(0,ii.G5)()&&ui.createElement(Ee.Z,{menu:{items:[{label:ui.createElement("div",{onClick:()=>{Qo(!1)}},"\u5BFC\u51FA\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6"),key:"1"},{label:ui.createElement("div",{onClick:()=>{Qo(!0)}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6"),key:"2"}]}},ui.createElement("div",{className:`${zt.daochu} ${zt.buttonStyle}`},"\u5BFC\u51FA",ui.createElement("i",{className:"iconfont icon-a-xialazhankai",style:{fontSize:"6px",marginLeft:"6px"}})))))),ui.createElement("div",{style:{display:"flex"}},yr&&Da()&&ui.createElement("div",{className:zt.left_content},ui.createElement("div",{className:zt.left_title},ui.createElement("i",{className:"iconfont icon-fenzuzuoye3 font18",style:{color:"#009CDC"}}),ui.createElement("span",{className:"ml10"},"\u4F5C\u4E1A\u63CF\u8FF0"),ui.createElement("span",{className:zt.see_work,onClick:()=>{vr({key:"\u4F5C\u4E1A\u63CF\u8FF0"})}},"\u67E5\u770B")),ui.createElement("div",{className:zt.left_list},ui.createElement("div",{className:zt.list_title},ui.createElement("div",{style:{width:"5px",height:"10px",background:"#3061D0"}}),ui.createElement("span",{style:{color:"#171717",fontWeight:600,marginLeft:"10px"}},"\u8BC4\u9605\u4EFB\u52A1"),ui.createElement("span",{style:{marginLeft:"auto",color:"#333333"}},"\u5DF2\u8BC4"),ui.createElement("span",{style:{color:"#009C0F",margin:"0 20px 0 8px",fontWeight:600}},Zi==null?void 0:Zi.commented_size),ui.createElement("span",{style:{color:"#333333",marginRight:"8px"}},"\u672A\u8BC4"),ui.createElement("span",{style:{color:"#FA6400",fontWeight:600}},Zi==null?void 0:Zi.no_commented_size)),ui.createElement("div",{className:`${zt.list_box} ${Ms?"":zt.hiddenBar}`,onMouseEnter:ys,onMouseLeave:()=>vs(!1)},(Br=Zi==null?void 0:Zi.all_student_works)==null?void 0:Br.map(wi=>{var er;return ui.createElement("div",{className:zt.list_item,style:{background:(er=Gr==null?void 0:Gr.userId)!=null&&er.includes(wi==null?void 0:wi.student_work_id)?"#F1F4F9":""},onClick:()=>{Ce.history.push(wi==null?void 0:wi.url)}},ui.createElement("img",{src:`${Ne.Z.IMG_SERVER}/images/${wi==null?void 0:wi.image_url}`,className:zt.item_img,style:{filter:la&&"blur(10px)",border:la&&"none"}}),ui.createElement("div",{className:zt.item_content},ui.createElement("div",{className:zt.item_name,style:{height:la?"40px":"20px",lineHeight:la?"40px":"20px"}},wi==null?void 0:wi.username),!la&&ui.createElement("div",{className:zt.item_code},"\u5B66\u53F7\uFF1A",wi==null?void 0:wi.student_id)),ui.createElement("div",{className:zt.item_states,style:{color:(wi==null?void 0:wi.score)=="\u5F85\u8BC4"?"#FA6400":"#009C0F"}},wi==null?void 0:wi.score,(wi==null?void 0:wi.score)!="\u5F85\u8BC4"&&"\u5206"))})))),Da()&&ui.createElement("div",{className:yr?zt.foldClose:zt.foldOpen,onClick:()=>jr(!yr)},yr&&ui.createElement(et.Z,{placement:"right",title:"\u6536\u8D77"},ui.createElement("span",{className:"icon-zuojiantou iconfont c-grey-c"})),!yr&&ui.createElement(et.Z,{placement:"right",title:"\u5C55\u5F00"},ui.createElement("span",{className:"icon-youjiantou iconfont",style:{color:"#3061D0"}}))),ui.createElement("div",{style:{flex:1,margin:Da()?"0 20px 0 5px":"auto",minWidth:"900px"}},ui.createElement(Je.default,{className:zt.TabsStyle,destroyInactiveTabPane:!0,defaultActiveKey:"1",activeKey:Gc,tabBarExtraContent:ui.createElement(ui.Fragment,null,!mt&&(Zi==null?void 0:Zi.commit_count)>1&&ui.createElement(Ke.ZP,{style:{border:"none",color:"#3061D0",display:"flex",alignItems:"center",padding:0},icon:ui.createElement("i",{className:"iconfont icon-chakanshenqingjilu"}),loading:Bl,onClick:()=>Al(void 0,null,function*(){yield Ma({},!0),vr({key:"\u4F5C\u4E1A\u63D0\u4EA4\u8BB0\u5F55"})})},"\u4F5C\u4E1A\u63D0\u4EA4\u8BB0\u5F55")),onChange:wi=>{pa(wi),wi=="2"&&Ce.history.push(`/classrooms/${Gr.coursesId}/common_homework/${Gr.categoryId}/lab-report-view/${Gr.userId}`),wi=="3"&&hs({})}},ui.createElement(Je.default.TabPane,{tab:ui.createElement("span",{style:{position:"relative"}},"\u5B66\u751F\u4F5C\u4E1A",ui.createElement(et.Z,{title:ui.createElement("span",{className:"font14"},"\uFF08\u5F53\u524D\u652F\u6301\u6279\u6CE8\u7684\u6587\u6863\u7C7B\u578B\uFF1A.docx\u3001.xlsx\u3001.pptx\uFF09")},ui.createElement("i",{className:"iconfont icon-tishixiaowenhao ml10 font14 c-grey-999 current",style:{lineHeight:"18px"}}))),key:"1"}),!mt&&(0,ii.j5)()&&ui.createElement(Je.default.TabPane,{tab:"\u5B9E\u9A8C\u62A5\u544A",key:"2"}),(Zi==null?void 0:Zi.anonymous_comment)&&!mt&&ui.createElement(Je.default.TabPane,{tab:"\u95EE\u9898\u53CD\u9988",key:"3"})),ui.createElement("div",{className:`${ea?"":zt.hiddenBar}`,onMouseEnter:qs,onMouseLeave:()=>No(!1),style:{overflowY:"auto",height:"calc(100vh - 180px)"}},ui.createElement(Ye.Z,{spinning:ms||!!Ht["shixunHomeworks/getStudentWorkDetail"]||!!Ht["shixunHomeworks/getStudentWorkSupplyDetail"]},ui.createElement("div",{key:"1",style:{display:Gc==="1"?"block":"none"}},ui.createElement("div",{style:{background:"#F5F6F8",padding:"20px"}},ui.createElement("div",{className:zt.center_top},ui.createElement("div",{className:zt.center_top_title},ui.createElement("img",{src:Uo}),ui.createElement("span",{className:"ml5",style:{color:"#3061D0",fontWeight:600}},"\u4F5C\u4E1A\u63D0\u4EA4\u5185\u5BB9"),(Zi==null?void 0:Zi.update_time)&&ui.createElement(ui.Fragment,null,ui.createElement("span",{style:{marginLeft:"auto",cursor:"pointer",color:"#333333"}},Se()(Zi==null?void 0:Zi.update_time).format("YYYY-MM-DD HH:mm")),ui.createElement("span",{className:"ml10",style:{color:"#333333"}},"\u66F4\u65B0"))),ui.createElement("div",{className:zt.center_top_content},ui.createElement(Xt.Z,{value:(Zi==null?void 0:Zi.description)||"\u6682\u65E0\uFF5E"}),ui.createElement(rt.Z,{authority:(0,ii.GJ)(),dataSource:Zi==null?void 0:Zi.attachments,callback:()=>{sa({type:"shixunHomeworks/getStudentWorkDetail",payload:Ws({},Gr)})}})))),((Zi==null?void 0:Zi.work_score)||(Zi==null?void 0:Zi.work_score)==0)&&!mt&&ui.createElement(ur,{dataInfo:Zi,handleCloseOrOpenModal:wi=>{vr(wi)}})),ui.createElement("div",{key:"3",style:{display:Gc==="3"?"block":"none"}},ui.createElement("div",{style:{background:"#fff",display:"flex",flexDirection:"column",padding:"10px 30px 30px 30px"}},((rr=ya==null?void 0:ya.data)==null?void 0:rr.count)>0?ui.createElement(ui.Fragment,null,(Na=(ro=ya==null?void 0:ya.data)==null?void 0:ro.list)==null?void 0:Na.map((wi,er)=>ui.createElement(lt,{key:er,type:"feedback",Data:Zs(Ws({},wi),{time:wi==null?void 0:wi.created_at,user_info:{user_image_url:wi.avatar_url,user_id:wi.user_id,user_name:wi.real_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn}))):ui.createElement(St.Z,null)))),(Ia=oo==null?void 0:oo.teacher_list)!=null&&Ia.length?ui.createElement("div",{className:zt.pingyue},ui.createElement("div",{className:zt.pingyue_title},ui.createElement("img",{src:aa,style:{marginRight:"5px"}}),ui.createElement("div",{style:{color:"#333333",fontWeight:600}},"\u6559\u5E08\u8BC4\u9605"),((Zi==null?void 0:Zi.teacher_score)||(Zi==null?void 0:Zi.teacher_score)==0)&&ui.createElement("div",{className:zt.pingyue_score},ui.createElement("div",{style:{height:"30px",lineHeight:"35px",fontSize:"24px",color:"#009C0F",fontWeight:600,marginLeft:"12px"}},Zi==null?void 0:Zi.teacher_score,ui.createElement("span",{style:{fontSize:"14px"}},"\u5206")),ui.createElement("div",{style:{fontSize:"12px",color:"#666666",marginLeft:"12px"}},"\u6700\u7EC8\u5F97\u5206\uFF08",(Zi==null?void 0:Zi.teacher_mode)==1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206","\uFF09"))),ui.createElement("div",{style:{padding:"20px"}},ui.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"20px"}},(Ho=oo==null?void 0:oo.teacher_list)!=null&&Ho.length?(Bo=Ni?oo==null?void 0:oo.teacher_list:oo==null?void 0:oo.teacher_list.slice(0,3))==null?void 0:Bo.map((wi,er)=>ui.createElement(lt,{key:er,index:er,type:Zo.status==1&&"teacher",Data:Zs(Ws({},wi),{user_info:{user_image_url:wi.user_image_url,user_login:wi.user_login,user_name:wi.user_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn})):ui.createElement(St.Z,{styles:{margin:"50px auto"}}),((rl=oo==null?void 0:oo.teacher_list)==null?void 0:rl.length)>3&&!Ni&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ei(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((Bs=oo==null?void 0:oo.teacher_list)==null?void 0:Bs.length)>3&&Ni&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ei(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026")),((ka=oo==null?void 0:oo.hidden_comment_scores)==null?void 0:ka.length)>0&&ui.createElement("div",{className:zt.pingyue_teacher_title},ui.createElement("img",{src:Ds,style:{marginRight:"5px"}}),ui.createElement("div",{style:{color:"#CA7720",fontWeight:600}},"\u4EC5\u6559\u5E08\u53EF\u89C1\u8BC4\u8BED")),((Nl=oo==null?void 0:oo.hidden_comment_scores)==null?void 0:Nl.length)>0&&ui.createElement("div",{style:{display:"flex",flexDirection:"column"}},(js=oo==null?void 0:oo.hidden_comment_scores)!=null&&js.length?($s=qi?oo==null?void 0:oo.hidden_comment_scores:oo==null?void 0:oo.hidden_comment_scores.slice(0,3))==null?void 0:$s.map((wi,er)=>ui.createElement(lt,{newType:"teacher",key:er,index:er,type:Zo.status==1&&"teacher",Data:Zs(Ws({},wi),{user_info:{user_image_url:wi.user_image_url,user_login:wi.user_login,user_name:wi.user_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn})):ui.createElement(St.Z,{styles:{margin:"50px auto"}}),((fr=oo==null?void 0:oo.hidden_comment_scores)==null?void 0:fr.length)>3&&!qi&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ki(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((va=oo==null?void 0:oo.hidden_comment_scores)==null?void 0:va.length)>3&&qi&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ki(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026")))):null,(Wt=oo==null?void 0:oo.teaching_assistant_list)!=null&&Wt.length?ui.createElement("div",{className:zt.pingyue,style:{marginTop:"20px"}},ui.createElement("div",{className:zt.pingyue_title},ui.createElement("img",{src:aa,style:{marginRight:"5px"}}),ui.createElement("div",{style:{color:"#333333",fontWeight:600}},"\u52A9\u6559\u8BC4\u9605"),((Zi==null?void 0:Zi.teaching_asistant_score)||(Zi==null?void 0:Zi.teaching_asistant_score)==0)&&ui.createElement("div",{className:zt.pingyue_score},ui.createElement("div",{style:{height:"30px",lineHeight:"35px",fontSize:"24px",color:"#009C0F",fontWeight:600,marginLeft:"12px"}},Zi==null?void 0:Zi.teaching_asistant_score,ui.createElement("span",{style:{fontSize:"14px"}},"\u5206")),ui.createElement("div",{style:{fontSize:"12px",color:"#666666",marginLeft:"12px"}},"\u6700\u7EC8\u5F97\u5206\uFF08",(Zi==null?void 0:Zi.ta_mode)==1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206","\uFF09"))),ui.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"20px",padding:"20px"}},(di=oo==null?void 0:oo.teaching_assistant_list)!=null&&di.length?(Ns=Ui?oo==null?void 0:oo.teaching_assistant_list:oo==null?void 0:oo.teaching_assistant_list.slice(0,3))==null?void 0:Ns.map((wi,er)=>ui.createElement(lt,{key:er,index:er,type:Zo.status==1&&"teacher",Data:Zs(Ws({},wi),{user_info:{user_image_url:wi.user_image_url,user_login:wi.user_login,user_name:wi.user_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn})):ui.createElement(St.Z,{styles:{margin:"50px auto"}}),((ps=oo==null?void 0:oo.teaching_assistant_list)==null?void 0:ps.length)>3&&!Ui&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Lr(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((cl=oo==null?void 0:oo.teaching_assistant_list)==null?void 0:cl.length)>3&&Ui&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Lr(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"))):null,(Os=oo==null?void 0:oo.student_list)!=null&&Os.length?ui.createElement("div",{className:zt.pingyue,style:{marginTop:"20px"}},ui.createElement("div",{className:zt.pingyue_title},ui.createElement("img",{src:aa,style:{marginRight:"5px"}}),ui.createElement("div",{style:{color:"#333333",fontWeight:600}},"\u533F\u8BC4\u8BC4\u9605"),((Zi==null?void 0:Zi.student_score)||(Zi==null?void 0:Zi.student_score)==0)&&ui.createElement("div",{className:zt.pingyue_score},ui.createElement("div",{style:{height:"30px",lineHeight:"35px",fontSize:"24px",color:"#009C0F",fontWeight:600,marginLeft:"12px"}},Zi==null?void 0:Zi.student_score,ui.createElement("span",{style:{fontSize:"14px"}},"\u5206")),ui.createElement("div",{style:{fontSize:"12px",color:"#666666",marginLeft:"12px"}},"\u6700\u7EC8\u5F97\u5206\uFF08\u5E73\u5747\u8BC4\u5206\uFF09"))),ui.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"20px",padding:"20px"}},(nu=oo==null?void 0:oo.student_list)!=null&&nu.length?(hu=Vi?oo==null?void 0:oo.student_list:oo==null?void 0:oo.student_list.slice(0,3))==null?void 0:hu.map((wi,er)=>ui.createElement(lt,{showNm:!0,showName:!(0,ii.dE)(),key:er,index:er,type:Zo.status==1&&"teacher",Data:Zs(Ws({},wi),{user_info:{user_image_url:wi.user_image_url,user_login:wi.user_login,user_name:wi.user_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn})):ui.createElement(St.Z,{styles:{margin:"50px auto"}}),((Vu=oo==null?void 0:oo.student_list)==null?void 0:Vu.length)>3&&!Vi&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Pr(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((rs=oo==null?void 0:oo.student_list)==null?void 0:rs.length)>3&&Vi&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Pr(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"))):null)),Da()&&ui.createElement("div",{style:{width:"400px",padding:"15px",height:"calc(100vh - 143px)",overflowY:"auto",background:"#ffffff"},className:`${Ba?"":zt.hiddenBar}`,onMouseEnter:_o,onMouseLeave:()=>bs(!1)},ui.createElement(we.default,{form:za,layout:"vertical",size:"large",style:{position:"relative"},scrollToFirstError:!0,onFinish:wi=>{Co(wi)}},ui.createElement("div",{className:"blod font16 mb10",style:{color:"#191919"}},"\u8BC4\u9605"),ui.createElement(qt,{FormProps:{form:za},isShowStyles:!1}),ui.createElement(we.default.Item,{name:"attachment_ids",className:"mb20",style:{marginTop:"-12px"}},ui.createElement(an.Z,null)),(0,ii.GJ)()&&ui.createElement("div",null,ui.createElement(we.default.Item,{name:"hidden_comment",style:{background:"#F6F7F9",height:"50px",display:"flex",alignItems:"center",padding:"0 20px"}},ui.createElement(tt.default,{onChange:wi=>{var er;Lo((er=wi==null?void 0:wi.target)==null?void 0:er.checked)}},"\u8BC4\u8BED\u4EC5\u8BFE\u5802\u6559\u5E08\u53EF\u89C1")))),ui.createElement("div",null,ui.createElement(Ke.ZP,{loading:gu,style:{width:"100%",height:"40px",background:"#3061D0",borderRadius:"7px"},type:"primary",onClick:()=>{za.submit()}}," \u63D0\u4EA4\u8BC4\u9605 ")),ui.createElement("div",{style:{display:"flex",marginTop:"20px"}},(Zi==null?void 0:Zi.is_new_rule)&&(0,ii.G5)()&&Zi.work_status!==-1&&Zi.work_status!==0&&ui.createElement(Ke.ZP,{className:zt.btnAdd,onClick:()=>{vr({key:"\u786E\u8BA4\u6253\u56DE\u91CD\u505A"})}}," \u6253\u56DE\u91CD\u505A "),!(Zi!=null&&Zi.is_new_rule)&&(0,ii.G5)()&&["\u63D0\u4EA4\u4E2D","\u8865\u4EA4\u4E2D","\u8FDB\u884C\u4E2D"].some(wi=>{var er;return(er=Zi==null?void 0:Zi.homework_status)==null?void 0:er.includes(wi)})&&ui.createElement(Ke.ZP,{className:zt.btnAdd,onClick:()=>{vr({key:"\u786E\u8BA4\u6253\u56DE\u91CD\u505A"})}}," \u6253\u56DE\u91CD\u505A "),!(Zi!=null&&Zi.is_author)&&(0,ii.dE)()&&((Eo=Zi==null?void 0:Zi.homework_status)==null?void 0:Eo.includes("\u533F\u8BC4\u4E2D"))&&Fa.get("review")!=="review"&&ui.createElement(Ke.ZP,{className:zt.btnAdd,onClick:()=>{vr({key:"\u95EE\u9898\u53CD\u9988"})}}," \u95EE\u9898\u53CD\u9988 "),ui.createElement(Ke.ZP,{className:!(zl!=null&&zl.last)&&zt.btnAdd,style:{marginLeft:"auto",marginRight:"20px",display:"flex",alignItems:"center"},onClick:()=>Ro("last"),disabled:zl==null?void 0:zl.last},ui.createElement("i",{className:"iconfont icon-zuojiantou font12 mr5"})," \u4E0A\u4E00\u4E2A "),ui.createElement(Ke.ZP,{className:!(jl!=null&&jl.last)&&zt.btnAdd,style:{display:"flex",alignItems:"center"},disabled:jl==null?void 0:jl.last,onClick:()=>Ro("read")},"\u4E0B\u4E00\u4E2A ",ui.createElement("i",{className:"iconfont icon-youjiantou font12 ml5"})))))),ui.createElement(dn,null),ui.createElement(Nn,{studentWorkDetail:Zi}),ui.createElement(ze.Z,null),ui.createElement(Ie.default,{title:"\u786E\u8BA4\u6253\u56DE\u91CD\u505A",open:(Xo==null?void 0:Xo.key)=="\u786E\u8BA4\u6253\u56DE\u91CD\u505A",destroyOnClose:!0,forceRender:!0,width:700,onCancel:()=>{vr("")},onOk:()=>Al(void 0,null,function*(){if(!Yu){De.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}const wi=yield(0,ee.ZP)(`/api/student_works/${Gr.userId}/redo_modal.json`,{method:"post",body:{comment:Yu,id:Gr.userId}});(wi==null?void 0:wi.status)===0&&(De.ZP.info("\u6253\u56DE\u91CD\u505A\u6210\u529F"),vr(""),cr(),Jo())})},ui.createElement("div",{style:{padding:"32px"}},ui.createElement("span",null,"\u786E\u8BA4\u5C06",Zi==null?void 0:Zi.author_name,"\u7684\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417"),ui.createElement("div",{style:{marginTop:"20px"}},ui.createElement("label",null,ui.createElement("span",{style:{marginRight:"5px",color:"red"}},"*"),"\u8BC4\u8BED\uFF1A"),ui.createElement(ne.Z,{className:zt.MdEditor,onChange:wi=>Ac(wi),defaultValue:"",height:250})))),ui.createElement(ue.Z,{close:!0,data:Tr==null?void 0:Tr.content,type:Tr==null?void 0:Tr.type,hasMask:!0,monacoEditor:{value:Xu.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:()=>mo({content:"",type:""})}),ui.createElement(Ie.default,{width:675,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F",open:Nc,confirmLoading:Mh,centered:!0,onCancel:()=>td(!1),onOk:()=>{nd=="\u9644\u4EF6"?Tu?jo(!1):Or(!1):nd=="\u6279\u6CE8"&&(Tu?jo(!0):Or(!0))}},ui.createElement(tt.default,{checked:rn,onChange:wi=>{cn(wi.target.checked)}},"\u540C\u65F6\u5BFC\u51FA\u5B66\u751F\u63D0\u4EA4\u8BB0\u5F55"),ui.createElement("div",{className:zt.export_type_modal_title},"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u9644\u4EF6\u7C7B\u578B"),ui.createElement("div",{className:zt.export_type_modal},ui.createElement("div",{className:zt.export_type_modal_con},ui.createElement("div",{className:`${zt.type_item} ${nd=="\u9644\u4EF6"?zt.type_item_active:""}`,onClick:()=>xc("\u9644\u4EF6")},ui.createElement("div",{className:`${zt.img_warp}`},ui.createElement("img",{src:Sn.Z,width:72,height:80})),ui.createElement("span",null,"\u5B66\u751F\u63D0\u4EA4\u7684\u9644\u4EF6")),ui.createElement("div",{className:`${zt.type_item} ${nd=="\u6279\u6CE8"?zt.type_item_active:""}`,onClick:()=>xc("\u6279\u6CE8")},ui.createElement("div",{className:`${zt.img_warp}`},ui.createElement("img",{src:Yt.Z,width:99,height:80})),ui.createElement("span",null,"\u5305\u542B\u6279\u6CE8\u5185\u5BB9\u7684\u9644\u4EF6"))),ui.createElement("div",{className:zt.export_type_modal_waring},"\u5982\u5B66\u751F\u672A\u4E0A\u4F20\u9644\u4EF6\uFF0C\u4EC5\u4F1A\u5BFC\u51FA\u8BE5\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u9898\u8BB0\u5F55"))),ui.createElement(Ie.default,{title:Xo==null?void 0:Xo.key,open:(Xo==null?void 0:Xo.key)=="\u4F5C\u4E1A\u63D0\u4EA4\u8BB0\u5F55",centered:!0,destroyOnClose:!0,width:969,footer:null,onCancel:()=>vr("")},ui.createElement(ht.default,{locale:{emptyText:ui.createElement(St.Z,null)},columns:uo,dataSource:Ka==null?void 0:Ka.student_works,pagination:!1})),ui.createElement(Ie.default,{title:Xo==null?void 0:Xo.key,open:(Xo==null?void 0:Xo.key)=="\u95EE\u9898\u53CD\u9988",centered:!0,destroyOnClose:!0,width:700,onCancel:()=>{vr(""),qo.resetFields()},confirmLoading:Ku,onOk:()=>{qo.submit()}},ui.createElement(we.default,{form:qo,onFinish:wi=>Al(void 0,null,function*(){const er=yield xo({student_work_feedback:Ws({},wi)});(er==null?void 0:er.status)==0&&(De.ZP.success("\u63D0\u4EA4\u6210\u529F"),vr(""),qo.resetFields(),cr())})},ui.createElement("div",{className:"mb20 p20 pt10 pb10 c-grey-333",style:{background:"#F6F7F9"}}," \u5982\u679C\u4F5C\u54C1\u65E0\u6CD5\u533F\u8BC4\uFF0C\u8BF7\u63CF\u8FF0\u95EE\u9898\u5E76\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u8FDB\u884C\u53CD\u9988\u3002\u53CD\u9988\u540E\u7CFB\u7EDF\u5C06\u4E0D\u4F1A\u6263\u9664\u7F3A\u8BC4\u5206\u6570\u3002"),ui.createElement(we.default.Item,{className:"mb0",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}]},ui.createElement(kt.default.TextArea,{rows:6,placeholder:"\u4F8B\u5982\uFF1A\u4F5C\u54C1\u63D0\u4EA4\u7684\u9644\u4EF6\u4E0D\u6E05\u6670",maxLength:200})))),ui.createElement(on,{ModalProps:{open:(Xo==null?void 0:Xo.key)=="\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55",onCancel:()=>{vr("")},onOk:()=>{vr("")}}}),ui.createElement(Vt,{ModalProps:{open:(Xo==null?void 0:Xo.key)=="\u5F97\u5206\u8BE6\u60C5",onCancel:()=>{vr("")},onOk:()=>{vr("")}}}),ui.createElement(In,{ModalProps:{open:(Xo==null?void 0:Xo.key)=="\u4F5C\u4E1A\u63CF\u8FF0",footer:[ui.createElement(Ke.ZP,{type:"primary",onClick:()=>vr("")},"\u786E\u5B9A")],onCancel:()=>{vr("")}}}))};var ed=(0,Ce.connect)(({shixunHomeworks:Xn,loading:bn,user:Ht,globalSetting:Ao,classroomList:ta})=>({shixunHomeworks:Xn,globalSetting:Ao,user:Ht,loading:bn.effects,classroomList:ta}))(md)},76904:function(_e,be,oe){"use strict";oe.d(be,{$J:function(){return we},JZ:function(){return De},bN:function(){return Ee},jP:function(){return Ke},rO:function(){return Ie}});var se=oe(70635),Ce=(et,Je,Ye)=>new Promise((tt,ht)=>{var kt=ne=>{try{ee(Ye.next(ne))}catch(ge){ht(ge)}},ze=ne=>{try{ee(Ye.throw(ne))}catch(ge){ht(ge)}},ee=ne=>ne.done?tt(ne.value):Promise.resolve(ne.value).then(kt,ze);ee((Ye=Ye.apply(et,Je)).next())});function we(et){return(0,se.U2)(`libraries/${et}.json`)}function Ie(){return(0,se.U2)("library_tags.json")}function De(et){return Ce(this,null,function*(){return(yield(0,se.IV)(`attachments/${et}.json`)).status===0})}function Ke(et){return(0,se.v_)("libraries.json",et)}function Ee(et,Je){return(0,se.gz)(`libraries/${et}.json`,Je)}},35427:function(_e,be,oe){"use strict";oe.d(be,{U:function(){return Je}});var se=oe(59301),Ce=Object.defineProperty,we=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ke=(Ye,tt,ht)=>tt in Ye?Ce(Ye,tt,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Ye[tt]=ht,Ee=(Ye,tt)=>{for(var ht in tt||(tt={}))Ie.call(tt,ht)&&Ke(Ye,ht,tt[ht]);if(we)for(var ht of we(tt))De.call(tt,ht)&&Ke(Ye,ht,tt[ht]);return Ye},et=(Ye,tt,ht)=>new Promise((kt,ze)=>{var ee=ue=>{try{ge(ht.next(ue))}catch(me){ze(me)}},ne=ue=>{try{ge(ht.throw(ue))}catch(me){ze(me)}},ge=ue=>ue.done?kt(ue.value):Promise.resolve(ue.value).then(ee,ne);ge((ht=ht.apply(Ye,tt)).next())});function Je(Ye,tt){const[ht,kt]=(0,se.useState)(tt),[ze,ee]=(0,se.useState)(!1),[ne,ge]=(0,se.useState)();return[ht,ze,(me,Se=!1)=>et(this,null,function*(){const Ne=Se?tt:Ee(Ee({},ht),me);ee(!0),kt(Ne);const ke=yield Ye(Ne);return ee(!1),ge(ke),ke}),ne]}},31087:function(_e,be,oe){"use strict";oe.d(be,{AL:function(){return Ne},Iy:function(){return tt},Qv:function(){return ze},ez:function(){return Se},jb:function(){return ht}});var se=oe(32834),Ce=oe.n(se),we=oe(11690),Ie=oe.n(we);let De=1;function Ke(st,ut){const Mt=st.match(/^(\s+)(?:```)/);if(Mt===null)return ut;const nt=Mt[1];return ut.split(` +`)}]};var et=oe(86061),Je=oe.n(et),Ye=Object.defineProperty,tt=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,ne=(Ot,ft,ct)=>ft in Ot?Ye(Ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ot[ft]=ct,ge=(Ot,ft)=>{for(var ct in ft||(ft={}))ze.call(ft,ct)&&ne(Ot,ct,ft[ct]);if(kt)for(var ct of kt(ft))ee.call(ft,ct)&&ne(Ot,ct,ft[ct]);return Ot},ue=(Ot,ft)=>tt(Ot,ht(ft)),me=(Ot,ft,ct)=>new Promise((Ge,Ae)=>{var xe=Oe=>{try{Qe(ct.next(Oe))}catch(xt){Ae(xt)}},je=Oe=>{try{Qe(ct.throw(Oe))}catch(xt){Ae(xt)}},Qe=Oe=>Oe.done?Ge(Oe.value):Promise.resolve(Oe.value).then(xe,je);Qe((ct=ct.apply(Ot,ft)).next())});const Se={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Ne=(Ot,ft)=>ft.map(ct=>({label:ct,kind:Ot.languages.CompletionItemKind.Keyword,insertText:ct})),ke=Ot=>Object.keys(Se.tables).map(ft=>({label:ft,kind:Ot.languages.CompletionItemKind.Variable,insertText:ft})),Te=(Ot,ft)=>{const ct=Se.tables[Ot];return ct?ct.map(Ge=>({label:Ge,kind:ft.languages.CompletionItemKind.Field,insertText:Ge})):[]};function We(Ot,ft,ct,Ge,Ae){let xe=ft.getWordUntilPosition(ct),je={startLineNumber:ct.lineNumber,endLineNumber:ct.lineNumber,startColumn:xe.startColumn,endColumn:xe.endColumn},Qe=Ge.map(Oe=>({label:Oe,kind:Ot.languages.CompletionItemKind.Keyword,insertText:Oe,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:je}));return Ae.map(Oe=>{Qe.push(ue(ge({},Oe),{range:je}))}),Qe}var $e=Ot=>{Se.languages.map(Ae=>(Ot.languages.registerDocumentFormattingEditProvider(Ae,{provideDocumentFormattingEdits(xe,je,Qe){return me(this,null,function*(){const Oe=Je()(xe.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:xe.getFullModelRange(),text:Oe}]})}}),Ae));const ft=De.quickKey.map(Ae=>({label:Ae.label,kind:Ot.languages.CompletionItemKind.Method,insertText:Ae.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ct=Ke.quickKey.map(Ae=>({label:Ae.label,kind:Ot.languages.CompletionItemKind.Method,insertText:Ae.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ge=Ie.quickKey.map(Ae=>({label:Ae.label,kind:Ot.languages.CompletionItemKind.Method,insertText:Ae.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Ot.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},Oe=Ae.getLineContent(xe.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[...De.keywords.map(xt=>({label:xt,kind:Ot.languages.CompletionItemKind.Function,documentation:xt,insertText:xt,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe})),...De.quickKey.map(xt=>({label:xt.label,kind:Ot.languages.CompletionItemKind.Function,documentation:xt.content,insertText:Oe.startsWith("#")?xt.content.replace(/#/,""):xt.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}}),Ot.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn};return{suggestions:[...we.keywords.map(Oe=>({label:Oe,kind:Ot.languages.CompletionItemKind.Function,documentation:Oe,insertText:Oe,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}}),Ot.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},Oe=Ae.getLineContent(xe.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[...Ie.keywords.map(xt=>({label:xt,kind:Ot.languages.CompletionItemKind.Function,documentation:xt,insertText:xt,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe})),...Ie.quickKey.map(xt=>({label:xt.label,kind:Ot.languages.CompletionItemKind.Function,documentation:xt.content,insertText:Oe.startsWith("#")?xt.content.replace(/#/,""):xt.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}}),Ot.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},Oe=Ae.getLineContent(xe.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[...Ee.keywords.map(xt=>({label:xt,kind:Ot.languages.CompletionItemKind.Function,documentation:xt,insertText:xt,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe})),...Ee.quickKey.map(xt=>({label:xt.label,kind:Ot.languages.CompletionItemKind.Function,documentation:xt.content,insertText:Oe.startsWith("#")?xt.content.replace(/#/,""):xt.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}}),Ot.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ae,xe){var je=Ae.getWordUntilPosition(xe),Qe={startLineNumber:xe.lineNumber,endLineNumber:xe.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},Oe=Ae.getLineContent(xe.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[...Ke.keywords.map(xt=>({label:xt,kind:Ot.languages.CompletionItemKind.Function,documentation:xt,insertText:xt,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe})),...Ke.quickKey.map(xt=>({label:xt.label,kind:Ot.languages.CompletionItemKind.Function,documentation:xt.content,insertText:Oe.startsWith("#")?xt.content.replace(/#/,""):xt.content,insertTextRules:Ot.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Qe}))]}}})};const st="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ut=Object.defineProperty,Mt=(Ot,ft,ct)=>ft in Ot?ut(Ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ot[ft]=ct,nt=(Ot,ft,ct)=>Mt(Ot,typeof ft!="symbol"?ft+"":ft,ct);const $t=class P1{constructor(ft,ct,Ge){this.placeholder=ft,this.editor=ct,this.monaco=Ge,ct.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return P1.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};nt($t,"ID","editor.widget.placeholderHint");var dn=$t,zt=oe(96236),Xt=oe(8591),fn=oe(6848),an=oe(89392),it=oe(86766),Ve=oe(56102),gt=Object.defineProperty,Bt=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,ei=(Ot,ft,ct)=>ft in Ot?gt(Ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ot[ft]=ct,An=(Ot,ft)=>{for(var ct in ft||(ft={}))en.call(ft,ct)&&ei(Ot,ct,ft[ct]);if(It)for(var ct of It(ft))En.call(ft,ct)&&ei(Ot,ct,ft[ct]);return Ot},Kn=(Ot,ft)=>Bt(Ot,sn(ft)),jt=(Ot,ft)=>{var ct={};for(var Ge in Ot)en.call(Ot,Ge)&&ft.indexOf(Ge)<0&&(ct[Ge]=Ot[Ge]);if(Ot!=null&&It)for(var Ge of It(Ot))ft.indexOf(Ge)<0&&En.call(Ot,Ge)&&(ct[Ge]=Ot[Ge]);return ct},Nn=(Ot,ft,ct)=>new Promise((Ge,Ae)=>{var xe=Oe=>{try{Qe(ct.next(Oe))}catch(xt){Ae(xt)}},je=Oe=>{try{Qe(ct.throw(Oe))}catch(xt){Ae(xt)}},Qe=Oe=>Oe.done?Ge(Oe.value):Promise.resolve(Oe.value).then(xe,je);Qe((ct=ct.apply(Ot,ft)).next())});function Gn(Ot){return/^\d+$/.test(Ot)?`${Ot}px`:Ot}function ii(){}let Sn=!1;const Yt={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Zt(Ot=[]){let ft=Ot;if(Array.isArray(Ot)){for(let ct=0;ct{var ft=Ot,{width:ct="100%",height:Ge="100%",value:Ae,language:xe="javascript",style:je={},options:Qe={},overrideServices:Oe={},theme:xt="vs-dark",onEditBlur:hn,isCopy:Pn=!1,onSave:wt,autoHeight:nn=!1,forbidCopy:Mn=!1,onChange:Zn=ii,editorDidMount:li=ii,onFocus:xi=ii,onBreakPoint:Mi=ii,breakPointValue:Si=[],filename:Ri="educoder.txt",errorLine:lr,errorContent:dr="",highlightLine:ur,openBreakPoint:Sr=!1,placeholder:Wr=""}=ft,Gi=jt(ft,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Zr=(0,se.useRef)(),Yi=(0,se.useRef)({}),Ue=(0,se.useRef)(),no=(0,se.useRef)(),pr=(0,se.useRef)([]),fo=(0,se.useRef)(!1),Fo=(0,se.useRef)(),Vo=(0,se.useRef)(),Io=(0,se.useRef)(!1),[Oi,on]=(0,se.useState)(!1);function ln(){let Gt;return Zr.current&&(Gt=new Ce.Z(yn=>{for(let Qt of yn)(Qt.target.offsetHeight>0||Qt.target.offsetWidth>0)&&Yi.current.instance.layout()}),Gt.observe(Zr.current)),Gt}function qt(){Xt.ZP.warning({content:decodeURIComponent(st),key:"monaco-editor-tip"})}const Nt=()=>{let Gt=Yi.current.instance;if(Ae!=null&&Gt&&Oi){const yn=Gt.getModel();yn&&Ae!==yn.getValue()&&(Sn=!0,yn.setValue(Ae),Gt.layout(),Sn=!1)}};(0,se.useEffect)(()=>{const Gt=it.Z.subscribe("formatDocument",yn=>{var Qt;let un=Yi.current.instance;(Qt=un==null?void 0:un.getAction)==null||Qt.call(un,"editor.action.formatDocument").run()});return window.updateMonacoValue=yn=>{Zn(yn)},Gt},[]),(0,se.useEffect)(()=>{var Gt;let yn=Yi.current.instance;no.current&&clearTimeout(no.current),no.current=setTimeout(()=>{Nt()},500),Ae&&(Ae!=null&&Ae.length)&&((Gt=yn==null?void 0:yn.updateOptions)==null||Gt.call(yn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ae.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ae,Oi,Yi.current]),(0,se.useEffect)(()=>{if(lr&&Yi.current&&Yi.current.instance){let yn=Yi.current.instance;yn.changeViewZones(function(Qt){var un=document.createElement("div");un.style.padding="10px 20px",un.style.width="calc(100% - 20px)",un.className="my-error-line-wrp",un.innerHTML=dr,Qt.addZone({afterLineNumber:lr||11,heightInLines:3,domNode:un})});var Gt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};yn.addOverlayWidget(Gt),yn.revealPositionInCenter({lineNumber:20,column:1})}},[lr,Yi.current,Oi]);const On=(Gt="",yn)=>{if(!Gt||Gt.trim()==="")return!0;const un=Yi.current.instance.getModel().getLineTokens(yn);let wn=!1;for(let gn=0;gn<2;gn++)un.getStandardTokenType(gn)===1&&(wn=!0);return wn};(0,se.useEffect)(()=>{var Gt;const yn=(Gt=Yi.current)==null?void 0:Gt.instance;if(yn&&Oi&&Mn){const Qt=yn.onDidBlurEditorWidget(()=>{Io.current=!1}),un=yn.onDidFocusEditorText(()=>{Io.current=!0});return()=>{Qt.dispose(),un.dispose()}}},[Yi.current,Oi,Mn]),(0,se.useEffect)(()=>{var Gt;if((Gt=Yi.current)!=null&&Gt.instance&&Oi&&Sr){let yn=Yi.current.instance,Qt=yn.getModel();if(!Qt)return;(()=>{var zi;let tn=[],Ai=[];const Bi=Qt.getAllDecorations();for(let hr of Bi)hr.options.className==="highlighted-line"&&(tn.push((zi=hr==null?void 0:hr.range)==null?void 0:zi.startLineNumber),Ai.push(hr==null?void 0:hr.id));if(ur===tn[0])return;Qt.deltaDecorations(Ai,[]);const Ti=Qt.getLineCount();ur&&ur<=Ti&&(yn.deltaDecorations([],[{range:new St.Range(ur,1,ur,Qt.getLineMaxColumn(ur)),options:{isWholeLine:!0,className:"highlighted-line"}}]),yn.revealLineInCenter(ur))})();const wn=(zi=!1)=>{var tn;let Ai=[],Bi=[];const Ti=Qt.getAllDecorations();for(let hr of Ti)hr.options.linesDecorationsClassName==="breakpoints-select"&&(Ai.push((tn=hr==null?void 0:hr.range)==null?void 0:tn.startLineNumber),Bi.push(hr==null?void 0:hr.id));if(zi)return{lines:Ai,ids:Bi};Mi(Ai)},gn=zi=>Nn(void 0,null,function*(){let tn={range:new St.Range(zi,1,zi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Qt.deltaDecorations([],[tn]),wn()}),kn=zi=>Nn(void 0,null,function*(){let tn=[];const Ai=yn.getLineDecorations(zi);for(let Bi of Ai)Bi.options.linesDecorationsClassName==="breakpoints-select"&&tn.push(Bi.id);yield Qt.deltaDecorations(tn,[]),wn()}),Bn=zi=>{let tn=yn.getLineDecorations(zi);for(let Ai of tn)if(Ai.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,an.isEqual)(Si,wn(!0).lines)){Qt.deltaDecorations(wn(!0).ids,[]);const zi=Si.map(tn=>({range:new St.Range(tn,1,tn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Qt.deltaDecorations([],zi)}const Vn=yn.onDidChangeModelContent(zi=>{let tn=yn.getPosition();if(tn){let Ai=tn.lineNumber;clearTimeout(Vo.current),Vo.current=setTimeout(()=>{On(Qt.getLineContent(Ai),Ai)?kn(Ai):Bn(Ai)?(kn(Ai),gn(Ai)):wn()},100)}}),Jn=yn.onMouseDown(zi=>{var tn,Ai,Bi;if(zi.target.detail&&((Bi=(Ai=(tn=zi.target)==null?void 0:tn.element)==null?void 0:Ai.className)!=null&&Bi.includes("line-numbers"))){let Ti=zi.target.position.lineNumber;if(On(Qt.getLineContent(Ti),Ti))return;Bn(Ti)?kn(Ti):gn(Ti)}}),Wn=zi=>{let tn={range:new St.Range(zi,1,zi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};pr.current=yn.deltaDecorations(pr.current,[tn])},gi=()=>{pr.current=yn.deltaDecorations(pr.current,[])},Fi=yn.onMouseMove(zi=>{var tn,Ai,Bi;if(gi(),zi.target.detail&&((Bi=(Ai=(tn=zi.target)==null?void 0:tn.element)==null?void 0:Ai.className)!=null&&Bi.includes("line-numbers"))){let Ti=zi.target.position.lineNumber;if(On(Qt.getLineContent(Ti),Ti))return;Wn(Ti)}}),ir=yn.onMouseLeave(()=>{gi()});return()=>{Vn.dispose(),Jn.dispose(),Fi.dispose(),ir.dispose()}}},[Yi.current,Oi,Si,ur,Sr,xe]),(0,se.useEffect)(()=>{var Gt;(Gt=Yi.current)!=null&&Gt.instance&&Sr&&Yi.current.instance.setPosition({lineNumber:0,column:0})},[ur]);function Un(){let Gt=Yi.current.instance;if(Gt){const yn=Gt.getSelection(),Qt=Yi.current.pastePos||{},un=new St.Range(Qt.startLineNumber||yn.endLineNumber,Qt.startColumn||yn.endColumn,Qt.endLineNumber||yn.endLineNumber,Qt.endColumn||yn.endColumn);setTimeout(()=>{Gt.executeEdits("",[{range:un,text:""}])},300)}}function Vt(Gt){(window.navigator.platform.match("Mac")?Gt.metaKey:Gt.ctrlKey)&&Gt.keyCode==83&&(Gt.preventDefault(),wt())}const yt=()=>{if(nn&&Yi.current.instance){const Gt=Yi.current.instance.getContentHeight();Ln(Gt{if(!Io.current)return;const{keyCode:yn,ctrlKey:Qt,metaKey:un,target:wn,type:gn}=Gt;return(gn==="paste"||(yn===67||yn===86)&&(un||Qt))&&wn.nodeName==="TEXTAREA"&&(qt(),Gt.preventDefault()),!1};function mi(Gt,yn){var Qt=window.URL||window.webkitURL||window,un=new Blob([yn]),wn=document.createElementNS("http://www.w3.org/1999/xhtml","a");wn.href=Qt.createObjectURL(un),wn.download=Gt,In(wn)}(0,se.useEffect)(()=>{yt()},[yt]),(0,se.useEffect)(()=>{Zr.current&&!Oi&&Promise.all([oe.e(8909),oe.e(1810)]).then(oe.bind(oe,71448)).then(Gt=>{try{St=Gt,Yi.current.instance=St.editor.create(Zr.current,{value:Ae,language:Zt(xe),theme:xt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Oe);const yn=Yi.current.instance;let wn=[...zt.BH._menuItems].find(Vn=>Vn[0]._debugName=="EditorContext")[1],gn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],kn=(Vn,Jn)=>{var Wn,gi;let Fi=Vn._first;do Jn.includes((gi=(Wn=Fi.element)==null?void 0:Wn.command)==null?void 0:gi.id)&&Vn._remove(Fi);while(Fi=Fi.next)};if(li(yn,St),setTimeout(()=>{yt(),Yi.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{mi(Ri||"educoder.txt",yn.getValue())}})},500),Yi.current.subscription=yn.onDidChangeModelContent(Vn=>{fo.current?clearTimeout(Fo.current):(yt(),Zn(yn.getValue(),Vn)),Fo.current=setTimeout(()=>{fo.current=!1},500)}),window.Monaco||$e(St,Zt(xe)),Mn&&(kn(wn,gn),Zr.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",zn),window.removeEventListener("paste",zn),window.addEventListener("keydown",zn),window.addEventListener("paste",zn)),window.Monaco=St,hn&&yn.onDidBlurEditorWidget(()=>{hn(yn.getValue())}),xi&&yn.onDidFocusEditorText(()=>{xi(yn.getValue())}),Mn)try{yn.onDidPaste(Vn=>{const Jn=yn.getSelection(),Wn=Yi.current.pastePos||{},gi=new St.Range(Wn.startLineNumber||Jn.endLineNumber,Wn.startColumn||Jn.endColumn,Wn.endLineNumber||Jn.endLineNumber,Wn.endColumn||Jn.endColumn);yn.executeEdits("",[{range:Vn.range,text:""}])})}catch(Vn){}let Bn=ln();return Wr&&typeof Wr=="string"&&new dn(Wr,yn,St),on(!0),()=>{const Vn=Yi.current.instance;Vn.dispose();const Jn=Vn.getModel();Jn&&Jn.dispose(),Yi.current.subscription&&Yi.current.subscription.dispose(),Bn.unobserve(Zr.current)}}catch(yn){}})},[]),(0,se.useEffect)(()=>{if(Yi.current.instance&&Oi)return document.addEventListener("keydown",Vt,!1),()=>{document.removeEventListener("keydown",Vt)}},[wt,Oi]),(0,se.useEffect)(()=>{let Gt=Yi.current.instance;if(Gt&&Oi){let yn=Zt(xe);St.editor.setModelLanguage(Gt.getModel(),yn)}},[xe,Oi]),(0,se.useEffect)(()=>{Yi.current.instance&&Oi&&St.editor.setTheme(xt)},[xt,Oi]),(0,se.useEffect)(()=>{let Gt=Yi.current.instance;Ue.current=Qe,Gt&&Oi&&(Gt.updateOptions(An({},Qe)),setTimeout(()=>{Gt.getModel().updateOptions(An({},Qe))},200))},[JSON.stringify(Qe),Oi]),(0,se.useEffect)(()=>{let Gt=Yi.current.instance;Gt&&Oi&&Gt.layout()},[ct,Ge,Oi]);const[Rn,bt]=(0,se.useState)(Gn(ct)),[Ut,Ln]=(0,se.useState)(Gn(Ge)),ni=Kn(An({},je),{width:Rn,height:Ut,position:"relative"});return se.createElement("div",{className:"my-monaco-editor",ref:Zr,style:ni},Pn&&se.createElement(Ve.CopyToClipboard,{text:Ae,onCopy:()=>Xt.ZP.success("\u590D\u5236\u6210\u529F")},se.createElement(fn.Z,{title:"\u590D\u5236\u4EE3\u7801"},se.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},se.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ft({width:Ot="100%",height:ft="100%",original:ct,modified:Ge,language:Ae,options:xe={}}){const je=(0,se.useRef)(),[Qe,Oe]=(0,se.useState)(null);function xt(nn){let Mn;return je.current&&(Mn=new Ce.Z(Zn=>{for(let li of Zn)(li.target.offsetHeight>0||li.target.offsetWidth>0)&&nn.layout()}),Mn.observe(je.current)),Mn}(0,se.useEffect)(()=>(je.current&&Promise.all([oe.e(8909),oe.e(9404)]).then(oe.bind(oe,2550)).then(nn=>{St=nn;const Mn=St.editor.createDiffEditor(je.current,Kn(An({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},xe),{wordWrap:!0}));Oe(Mn);let Zn=xt(Mn);return()=>{Mn.dispose();const li=Mn.getModel();li&&li.dispose(),Zn.unobserve(je.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,se.useEffect)(()=>{Qe&&Qe.setModel({original:St.editor.createModel(ct,Ae),modified:St.editor.createModel(Ge,Ae)})},[ct,Ge,Ae,Qe]);const hn=Gn(Ot),Pn=Gn(ft),wt={width:hn,height:Pn};return se.createElement("div",{className:"my-diff-editor",ref:je,style:wt})}},94606:function(_e,be,oe){"use strict";oe.d(be,{jL:function(){return De},w9:function(){return en},QD:function(){return Zn},cQ:function(){return Ve},op:function(){return xt},O5:function(){return Io},_b:function(){return lr},t7:function(){return ue},Gi:function(){return Nn},YG:function(){return Kn},qp:function(){return tt},vr:function(){return Mi},qE:function(){return wt},Je:function(){return Ne},wb:function(){return zt},cq:function(){return St},tp:function(){return ze}});var se=oe(59301),Ce={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo24/syP5ce2xEg0gBDeAZWFijo79JnpLQxXSo7iICiIyD8qUfdxuQRRx24x5MvB95uBzfW1G+XFn4GoMMojQNOYWUK45b+jG9mW+PvFNAKEkqVYgI583VZcOB7WRrCqGwiaQovU1lAlaXKM/BMQNIGbN0FLGh0lySCVv0OP3aPOnKf2a2XCm+3ghuc1AvzOdwmLSwIwkQlBoxMtgZYCkvwQLafBYo0l2v6gBcCxRxQyifwM9PckRCniXIGbjo8wiI4bgnRRFul0XAZMABbaggVoytvo12vff7Qt/Rc8LqBm5jQndrBr3MFHOwyemaJbGaaAKzMp00zV2O+6VVnSTCPcYCNdrItEGAOcKxpVUQKLjPZ6VHVgEuf3Kf/rLk0Y4ViTpiAEUYKJaEgVDg2OTq1+j3r5w68FHi7TXFDU/El1Yr8VLudDM4IjUpLVWW2Mg0GgubybATNfN/0C5+eqjQ9oO0ngAmR0ZF5X2bKjLRZBUFgNE03AKhcPqk62wJsm+qjvyM4Aa0idFN1zcmvHraq90uvObihqej4YsH6nzCEyHwRB0WFZeZJ05xupsZSp6sty+2mXX2a/5rP0fT8MAHRZpmWph48J38zi6xUF1Vqft9KAg2BES6PmyChGGFTBVJ1kb/dq7XeeuTBs0deLLxXrLhHn2nP6+4s3Gk7Yl6Q5mpZMMjAGWjT0o+dgkR6BVnUzJSW2PpzhpHVqIygdPiEET3rzwiHP2QCSlrjUm1epE0el+R1/E6SmjDa2nGEat5Bu9089bC9O7/1moDT0GJkMv5eR6f1oVY7MRfjp2SiNgOO5pkFBpnkadmD/qflRrAtiUrBhJFdPnauJhI6SU6noXSyb2BmUZUqzYKEqSSSZ6SUSU34WagYVUsg9N27R7DtkONWrmRcf8HHK1Lc4EjrqHJn6ZdxBIsXkXU2MqVZqU/ja5ZU/MyWR5/Bps1/wfD2p+G7TUy1QziWRHfZgVXsREd3H1YtnoW+vl709nSjv7f0V4MwPnRaRUGlxSm8rG7N0pAMlim/CE4Jk+tRbTxmAoYK4Qit/Mhb9/a9eze9ILW/YQwv5jvmM/fcs720YMnMDeWStabtJrmVUVaqtsy3sRqgAm+96yH85qbb4DZqWNjfi57uHlRKJViWjSCM0Wr5aDRaqDebqDeaqLkRLFugp7OIQudMrFn+JvT3z8Ee8+dgVldxp+tkpUB42ZZgqLrEnyUq89MkODkunjVVoREFMao5G367een6lZ2fejEQXrbiBgbbn+qZUbyETcWs2KZ/Ynsoi6aMgEPjLVz6Xz/B1OjT2P8tyzB7Zm/i6IMQYRghDGk2ielkLaKIPiiM4PshGk0XzWYDU40a6m6Ickmi3N2Lt+y1B5a+eQ+sXLIQM7rLxi1QiR47I2l3xPizFFyitsQnmqhq8juNks1go2BrDRG4WwMv3veItT1TLwTvZYH7w0NP9y7sn3NPqSgXMiCYRuNz1MbE9eEnRnDhpVdh1fxu7L1iCYIwghcECKMYUfaMY4Rh8jogxJgQNQjP+CECpUK4H8bwPR8tgmzW0Ao8lEsW+vrn4sA1S7Fs2VKsXDIP1UrO3BymMD7PEwvj6wJjnjTTJFAEsUJOJj4y8iMUWIfE8bp1Kzs2virgtg23PtHTV7os9JI0wASFNPWg4vI54LGBMZz/je/i71YvQv/sWXA9D2EYIooiAzCOYoRxDM/z4Xo+PC+Az2MR31NpkU4fpKGUQKRkoiSCjCSiSCAKVPLddgON9hQsK0TXjA7su3YVDjt0Hdbu82ZzbQYgVZb6OJOW0GQjZW54XtACInTkHXjt5kXr9+r4zG4Hd/bZZ8uTTz1rY7liHxiHiR9h+sFAQHNxJMulCGed/x2jtHlv6ofruogILaZpEl6MIAiML2u1XQRhaIDxeKZGqoEAObgoTkBGkUp7bvRRfC0QRpZRkYqk6SjHcYDQryNXVNj/oLX4yIc/iMULZyVVSFr0GxVmlQWDg0xSFG5j372rV1fXr1wpdhldX7Kpbn2mtbqrs7jRkqLIC6VDzgIBwZUKwGXfuwFjA49g331WoO26CSwDh/BieK6HyakaPM9LTZbv0WQJL0r2o9ioMkhN2gDka0JkDhYpExW1FtCQEMKGlg6gbWhTxjPFaKBvZgUfP/njOHz9WrRS5QXG9AkvzeXoHxXrVw0n9puxEm8+dGVlaFeqe8ngBifiT1Y65aUha7+0+M7Sj0IeeOixYXznO1fiHQfvY1REs4wiBoIAcRQZkBOTk/B9P1GSCRBBoraQn/dTmDxOiATGLV+nioxjA49wINjAY4YtIaQFwX1hQYtkn/AtW+Okfzsdf/+OA9H2Uj+XdoiZltBebaGh2a9DrONYvfdtK8q/2L3gaurXxaI4WqUJJH2ETTPltVsaX73wvzG7IjGrrwce4RhoieKCMMDY+LiBZ2AwGJjAQKg0Sx6jCrWBmQAlTJo3vx+ZvIvOXLBEEAJCMPFNQrkBBwnNfcuGMFAFlIqRyxdw+he/gv1WL0PDTftzSicd41jBYaURa/SUHLTrjc+vX9mxy47JS1LcpoGB4qKOuZvzebFMpyUPT0BoTD023P0wfvWL67DfPsvhut4O80z8Woip+hQma41UWVQRDMwEXIQ43Se4OApSYEAYeAijwADSmp1RghPGt3Kb5MMJxEx9VJ2QNu8mYNlQUYj+hUtx9nnnolIpw83KrrSSMOCURmfOQejWr37bis6P7DbFba/ptZal77SlyPFy6WC5ZedBKYWLLrkKs6oOCvl8AoR+zWwjeL6L4dFRuJ5CEGpTsEeBQBD4iFWMWEWIwjpU6Ca+kNswNll+zCgECSkcKM02CQtS/nK0oxPDFDzRIYFSfYRIcFRfzgDktRz7z5/E8Scci7ar0g4xc0aePen0VaSAiLxHutVTe6/cRfn1khQ3OBEdU6xYv4oZbzjJopJISrX96aFtuOaH12D5ogXw/QABVZQFhCDC5NQ4xienEIQCbijh+RKTvXPhVYrIPTGAXLOOOJ4AwhAxzTKomTTEdHy1l/guc5voWTmXSPWFSVAwf7FRH83YuD5jxgQooS3HqE9Bomf2fJx9wcXo7KjAp3swLSZApjPeJUvDioLBkttYvHZtf/v5VPeSwD09Fp9Z7pDnEhzvD1MEqo2d2ut+swEPbr4fM3p7jIqYbhjlBKHxdcMjQ0ZtXmjDbSsMLFqJx048AWDWv/kvWPjNy2DXB5hXAHEIpZqwZNVct1INSFkyoJRyE1g6hjaFnp2IDyrxezqFaMClHQdjsjljsrzuk8/4Cg46ZF9zPQYc05k0qpYswFH+uCW9VYcsm7F994CbiL5fKlkf4lyC1nSswnRlWcBfftVP0RgZRqGQR2jKKd/4JZrpxOQExicmEIQWvDCHhu9gyz99FN76VQCt0AZmnnUxSg/cAUuGEKoJaBdSZjVpBCk7EnDahxRlKHCfjbccNPMis29mWSGMH6TqNKQxWStJVayccQvrjv4ATj7lRLTcpL1k2kym0GUJJlASvuvo6JADV3RtfsngbtXa3gsoBA3k3Rakb8GtiuiaUtk+xveUqRjoU9gmKuYFLr/yGkwMjSBH5xrQ4dNPBaYiGBwehOu24QUCXuhgSnTjsTPOQDxvRjqjrNB31tdRfvwB5O0cEI9BaA9SVhCpGqA56+NAa/oIC5AER2XlmfdDhT60FLBoxlYAof0UnjLukAo1arPyxhev2vcAnHbWOSaJNmWe6elRCAm4TukrS0XvOGivrt+9aHDba8GaQt56r4A8XADztYIVKgimXH6M7iDUebackzJLIm8LlIsSP/jRz/HU1ieQcywDLnHwAWq1BsbGR5M6lYrzJEZmLsHw5z8LlOm0AWwfQ885X0Ol/oypHRFPwpZF2FYXwngEgoBEHpEaNwpTyJsqROsCgupMtFeshLt8Oap/ug8d998CKQgvgICfRFppm/QEBAdg1oIlOOMrF6BcLsAPlCnHIjPvClQcgW4nhFThPxy8ovPXLwjugaGh8uxyzwXlvPOxsoPC9PUaZpYoLZobHtAMtAEhoVDKSXSUHdy+YSN+d9MGFKm4NK0gwKHhUTSaNZPL+ZEFzwXGVrwNk6edlkDjHMLmrei78DzkLR8W18qoEUiRgxR5xKoJ2+ox4EJVh5B9UDqPel8vWgccAW/Naug5Myk84OkJzDn3FOTbIwacFASXJMSC/XOZhxISHTP6ceZ5F6GzuxNekEb5IKlIOvISvU7AhPiog5ZVbtgluE0DurigHPx4RnfunXQXbNJm8wEZQAYCphDs99c9YMqDKbALtjJNyNGRQVx++dWwtDA5GHMyz/ewfXAYntdE4AfwjFkINHsXY+JzXwPmdptGXunKH6D79uuRzxVhqwBKDSFnzTTRNIrHIQXz+RAxTVF1obFqPcY/ehLQVU2CLG+AApwNGzHjR99GTk0Bqg0pvCQ9sRxIY6o5aGmjWOnCmed/A70zZ8INmCpxbGwoAF0Fgd5cEBVkfNj+Szvu2CW4rUPumTN6C+faCijwxqTTeNmXssV+bM1w9oiqm2wToELgt1AtSHQULVxzzU/w5/u2mKUMcRCg3W7hmeFhBF4rKaPY6WDGJDrQnrcUrdX7wRkcQuXe22HHU7CFgDT+zE/AKR9au7CsPkSqAWWiaieG3nkCvPe9G+DSGQrqwUdRuHUjylvvQS4ahaObELoBAVqFSCsJzto4Jkg4OQdn/sd/ord/Plw/MtAIj5Y1oywxq+DXrThae8CKzq3PC+6ux4dndRZ67uut2nM68sn6jWxtx/QvZebKiWKCq7WAmtm2IZSPGR0FjI9uxxVXfB+tqTokYgNu++AQVOSZ1EErunSWRBXTyYASkLIAbdGnMBhI6Lhu5COlA61Ck39JUTHRVAtO73ej0TMbEyeeBj1vjlGauP8RVL7/A+SDQdiowVF1SN02UVaa2fAkl2NU5TNnC5z+5QswY/5iuG4EN1KmhtWxwNwuBws7w+G85S1ftaBr8nnB3f1Y8/hqtfzDzhzQU0qm0v4WOLam6ecIjl2GWhuYaFF5IcamJtFZtNDX4WDzvZvxv9dej9BzoaIIo+Oj0FEAzSxfhyYSa50W5iAU20RNafIuwmol/k0yGPAGJJ0OZSJqHkqWEcU22vPegua/nAR0dxvVWZv+iI6fXomcrsNRDWhNU9UmAWZoVVYOgsFBOCjlLXzqjC+ia+6eaHsRmp5GMScxu8NCf4eF7qKIRBQ8mnfkz4PQ/83SuX/d2BSbHmne3Fktv72vDHQUEsWxGnjuIwPH3hf93FQbGKnTXDUeGhiCFDFmVHPoKlu49dYN+O1vb4alYozXpqBjggvNBHDyYIHDhJVQ+IiSYolFuXHqBQhGT+VCWiUTGaOYQIuIhYWQ34tLcBeugH/ch4DuXmBkEJXvXoB8ewwWXGiT77GWSBoA9G9cKBcLB92dFZx02umI8r0m9Vszv4QVsx10FYUZu7GuNHeuN1XkB9FN7Xbwmb0XVh/KuIhNWwOvs2Tn+6rCZAecITezU9PWc5i0Ml0JZKbfwsTHDU0Bky6wYcs20w7qrThGeaW8xJ0bN+HW2+5Eo9k0lQT9jWkEMVHl2dnhoNp4VLBc4uI4JrKRAcgEO7HDXFLQE64oGNz0k0pUkvUhCxZDrz4A4tEHkXvwLtgihNSJa0gEQNfAXp0NZTnGVSxeuADHHHcCpJXD+9f0YcUc2zRgn6sXnr9O3yeBlqeGJyfDE1cvKlxvkuvfP6512QF6y8kCFwYHllHZsgSezAwh7ZhyPIRHH/fMJDDWAn72x8dQb7XRVbZNoKgWLBRyAvfe/wBuuf0u1CYnIWVaQ9K5pRMrdNw8v5khM2rjZ2iYVGJWfxJunJbwBGjm0kx6ohj/zQpryyS82lKQpopgI0AnLodmaop9C4rVAwTWH3wgluy9Fh/cbxbWLSqa6idbJfpcS3PNupNkQnuioVrDk976I1eV7xW3b2lvL5eKczoLQKWQrIqk6rIeWwYuWw1kymwFTLaAgQlgsK5xxa1bUGu66ChYqOSpXMss4Ms5EtsGnsatGzahMTaWhutsLWsaug2s7F5nix7S/CKZ/08L+7RlZMqpDJ4hk62JShWbLj805Ve2II9zlCbJQqW7C/sftA4HrZiPUw/vRweD7S7A0a/XXW1SsLYSeGpIbxiZeOpIccufG8dVOys/5r2o5JNVQaw9WUrxhDRbk46k62/5moobbySKu397gK/9ZgsKFlDNSZQJzhHI2xKOJVDISTRbbfzpwS0YePxxxL73rJzNwNJZ62yG2dzydNlOUqVnK4PTdpKRWLqfLe/JPpO9nuZnTFRNyFj5Apbtswr5rpn4wpELcPiyqhHKrhTHsTJ4TLnCWNdgA3Dr/lHiuo2j1XJf7x2VvNiHTbZyBs9OA8U02zcTMjKJrsNTwEgT+NE9ow9864Ytt/dVZVDNW6LsSBT5XUsgZ7P7L5BzbDPX+qeHH8HAlr+YZQeJjSWpwk4P2pdhk05mcHfHa3YyzXKa9GD6mez9hOiOhHjHwjzzOzZ65s3B/D2XolSt7nnh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",De=({dataSource:Oi=[],img:on,imgWidth:ln=346,title:qt,sunTitle:Nt,bannerExtraContent:On})=>se.createElement("div",{className:Ce.banner},se.createElement("div",{className:Ce.content},se.createElement("aside",null,se.createElement("p",null,se.createElement("b",null,qt),se.createElement("span",null,Nt)),Oi.length>0&&se.createElement("div",{className:Ce.btns},Oi.map((Un,Vt)=>se.createElement("div",{key:Vt,onClick:Un.click},Un.name,Un.sign?se.createElement("img",{src:we,width:39}):null))),On),on&&se.createElement("img",{style:{marginTop:33,marginRight:38},src:on,width:ln}))),Ke={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},Ee=oe(92310),et=oe.n(Ee),Je=oe(89392),tt=({dataSource:Oi=[],value:on,onChange:ln,onTitleChange:qt,className:Nt,title:On,titleWidth:Un=41,style:Vt={},fontColor:yt="#6A7283",showCount:In})=>{const[zn,mi]=(0,se.useState)(0),[Rn,bt]=(0,se.useState)(!1),Ut=(0,se.useRef)(null),Ln=(0,se.useRef)(null);return(0,se.useEffect)(()=>{var ni;Oi.length!==0&&(((ni=Ut==null?void 0:Ut.current)==null?void 0:ni.clientHeight)>97?mi(1):mi(0)),Oi.length===0&&mi(0),bt(!1)},[Oi]),se.createElement("div",{className:et()(Ke.row,Nt),style:Vt},se.createElement("div",{onClick:(0,Je.throttle)(()=>qt==null?void 0:qt(),2e3),style:{width:Un,marginTop:Rn?12:4},className:`${Ke.title} ${qt?"current":""}`},On),se.createElement("div",{className:Rn?`${Ke.tagsWrap} ${Ke.tagsBorderWrap}`:Ke.tagsWrap},se.createElement("div",{className:Ke.bar,ref:Ln,style:zn>0?{height:zn===1?97:"auto",overflow:zn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},se.createElement("div",{className:Ke.tag,ref:Ut},Oi==null?void 0:Oi.map(ni=>se.createElement("span",{onClick:()=>ln(ni.id),key:ni.id,style:{color:yt},className:on===ni.id?Ke.active:""},se.createElement("span",{title:ni.name,className:Ke.name},ni.name),!!In&&se.createElement("span",{className:Ke.num},ni.count))))),!!zn&&se.createElement(se.Fragment,null,zn===1?se.createElement("div",{onClick:()=>{var ni;mi(2),((ni=Ut==null?void 0:Ut.current)==null?void 0:ni.clientHeight)>245?bt(!0):bt(!1)},className:Ke.action},"\u5C55\u5F00",se.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):se.createElement("div",{onClick:()=>{Ln.current.scrollTop=0,mi(1),bt(!1)},className:Ke.action},"\u6536\u8D77",se.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ht={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},ze=({dataSource:Oi=[],value:on,onChange:ln,className:qt,style:Nt={}})=>se.createElement("div",{style:Nt,className:et()(ht.tabs,qt)},Oi.map(On=>se.createElement("span",{onClick:()=>ln(On.id),className:on===On.id?ht.active:"",key:On.id},On.name))),ee={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},ne=oe(92832),ue=({dataSource:Oi=[],value:on="",onChange:ln,onInputChange:qt=()=>{},className:Nt,style:On={},placeholder:Un,allowClear:Vt=!1})=>{var yt;const[In,zn]=(0,se.useState)(""),[mi,Rn]=(0,se.useState)("");(0,se.useEffect)(()=>{var Ln;let ni=on;(Ln=JSON.stringify(on))!=null&&Ln.includes("{")&&(zn(on.id),ni=on.value||"");try{Rn(decodeURIComponent(ni||""))}catch(Gt){Rn(decodeURIComponent(ni||""))}},[on]);const bt=()=>{ln(encodeURIComponent(mi),In||null)},Ut=Ln=>{Ln!==In&&(zn(Ln),ln(encodeURIComponent(mi),Ln))};return se.createElement("div",{className:et()(ee.input,Nt),style:On},!!Oi.length&&se.createElement("div",{className:ee.dropdown},se.createElement("div",{className:ee.text},(yt=Oi.find(Ln=>Ln.id===In))==null?void 0:yt.name,se.createElement("i",{className:"iconfont icon-zhankai4"}),se.createElement("b",{className:ee.b1}),se.createElement("b",{className:ee.b2})),se.createElement("div",{className:ee.menu},Oi.map((Ln,ni)=>se.createElement("div",{key:ni,onClick:()=>Ut(Ln.id)},Ln.name)))),se.createElement(ne.default,{onPressEnter:bt,value:mi,onChange:Ln=>{Rn(Ln.target.value),qt(encodeURIComponent(Ln.target.value),In||null)},bordered:!1,placeholder:Un}),se.createElement("i",{onClick:bt,className:"iconfont icon-sousuo9 font14 pl10 current"}))},me={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ne=({value:Oi,onChange:on,className:ln,total:qt,pageSize:Nt,style:On={}})=>{const Un=Oi<2,Vt=Oi>=Math.ceil(qt/Nt);return qt<=Nt?se.createElement(se.Fragment,null):se.createElement("div",{className:et()(me.quickPager,ln),style:On},se.createElement("div",{onClick:()=>{Un||on(Oi-1,"prev")},className:Un?me.disabled:""},"\u4E0A\u4E00\u9875"),se.createElement("div",{onClick:()=>{Vt||on(Oi+1,"next")},className:Vt?me.disabled:""},"\u4E0B\u4E00\u9875"))},ke={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Te=oe(71418),We=oe(6848),$e=oe(39978),st=oe(10148),ut=oe(58130),Mt=oe(96908),nt=oe(57177),$t=oe(81378),Pt=oe(97267),zt=({className:Oi,dataSource:on=[],col:ln=4,right:qt,bottom:Nt=23,precision:On=0,wrapWidth:Un=1200,trackEventItems:Vt,loading:yt})=>{const In=Math.floor((Un-(ln-1)*qt)/ln);return se.createElement(Te.Z,{spinning:yt},se.createElement("div",{className:et()(ke.list,Oi)},!!on.length&&on.map((zn,mi)=>{const{name:Rn,id:bt,identifier:Ut,power:Ln,cover_image_id:ni,pic:Gt}=zn;return se.createElement("div",{className:ke.wrap,key:bt,style:{width:In,marginRight:(1+mi)%ln===0?0:qt+On,marginBottom:Nt}},se.createElement("a",{target:"_blank",href:`/shixuns/${Ut}/challenges`,className:ke.li,onClick:yn=>{yn.preventDefault(),Vt&&(0,ut.L9)([Vt]),Ln&&(0,ut.xg)(`/shixuns/${Ut}/challenges`)}},se.createElement("div",{className:ke.img},se.createElement("img",{className:ke.cover,src:`${Gt}`}),zn.is_jupyter&&se.createElement("img",{className:ke.sign,src:Mt}),zn.is_jupyter_lab&&se.createElement("img",{className:ke.sign,src:nt}),zn.is_unity_3d&&se.createElement("img",{className:ke.sign,src:$t})),se.createElement("div",{className:ke.name},se.createElement(We.Z,{title:Rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},se.createElement("span",{className:ke.e},Rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),se.createElement("div",{className:ke.tags},se.createElement(We.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),se.createElement("span",null,zn.challenges_count))),!!zn.myshixuns_count&&se.createElement(We.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),se.createElement("span",null,zn.myshixuns_count))),se.createElement(We.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},se.createElement("span",null,se.createElement("span",null,zn.level))),se.createElement("div",{className:ke.rate},se.createElement($e.Z,{allowHalf:!0,disabled:!0,defaultValue:zn.score_info}),se.createElement("span",null,"\xA0",zn.score_info?`${zn.score_info}\u5206`:"5\u5206")))),!Ln&&se.createElement("div",{className:ke.lockWrap},se.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),se.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!on.length&&se.createElement(Pt.Z,null)))},Xt={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},fn=oe(2119),an=oe(59301),Ve=({className:Oi,dataSource:on=[],col:ln=4,right:qt,bottom:Nt=23,precision:On=0,wrapWidth:Un=1200,trackEventItems:Vt,loading:yt,onRemove:In=()=>{},isCurrent:zn=!0,showAlias:mi=!1})=>{const Rn=Math.floor((Un-(ln-1)*qt)/ln),bt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return an.createElement(Te.Z,{spinning:yt},an.createElement("div",{className:et()(Xt.list,Oi)},!!(on!=null&&on.length)&&(on==null?void 0:on.map((Ut,Ln)=>{var ni;const{name:Gt,id:yn,identifier:Qt,featured:un,school_name:wn,image_url:gn,excellent:kn,is_plan:Bn}=Ut;return an.createElement("div",{key:yn,className:Xt.wrap,style:{width:Rn,marginRight:(1+Ln)%ln===0?0:qt+On,marginBottom:Nt}},an.createElement("a",{className:Xt.li,onClick:Vn=>{Vn.preventDefault(),Vn.stopPropagation(),Vt&&(0,ut.L9)([Vt]),(0,ut.xg)(`/paths/${Qt}`)}},an.createElement("div",{className:Xt.img},an.createElement("img",{className:Xt.cover,src:`${gn}`}),zn&&(0,fn.bg)()&&(Ut==null?void 0:Ut.studying)&&an.createElement("div",{className:`${Xt.movebq} user-path-items`,onClick:Vn=>{Vn.stopPropagation(),In(Ut)}},an.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),an.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ni=Ut==null?void 0:Ut.subject_tags)==null?void 0:ni.map((Vn,Jn)=>{var Wn,gi;if(Jn===0){const ir=(Wn=bt.find(zi=>zi.name==Vn))==null?void 0:Wn.swimg;return an.createElement("img",{className:Xt.sign,src:ir,style:{left:"-4px"}})}const Fi=(gi=bt.find(ir=>ir.name==Vn))==null?void 0:gi.ptimg;return an.createElement("img",{className:Xt.sign,src:Fi,style:{left:`${48+52*(Jn-1)+2*Jn}px`}})}),an.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ut==null?void 0:Ut.excellent)&&an.createElement("div",{className:Xt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),an.createElement("div",{className:Xt.name},an.createElement(We.Z,{title:mi&&(Ut!=null&&Ut.excellent_alias_name)?an.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Gt}`,an.createElement("br",null),an.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ut==null?void 0:Ut.excellent_alias_name}`)):Gt},an.createElement("span",{className:Xt.e},mi&&(Ut==null?void 0:Ut.excellent_alias_name)||Gt))),an.createElement(We.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${wn}`},an.createElement("div",{className:Xt.unit},an.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),wn)),an.createElement("div",{className:Xt.tags},an.createElement("div",null,an.createElement(We.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},an.createElement("span",null,an.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),an.createElement("span",null,Ut.stages_count))),an.createElement(We.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},an.createElement("span",null,an.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),an.createElement("span",null,Ut.members_count)))))))})),!on.length&&an.createElement(Pt.Z,null)))},gt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Bt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",sn=oe(59301),en=({className:Oi,dataSource:on=[],col:ln=4,right:qt,bottom:Nt=23,precision:On=0,wrapWidth:Un=1200,trackEventItems:Vt,loading:yt})=>{const In=Math.floor((Un-(ln-1)*qt)/ln);return sn.createElement(Te.Z,{spinning:yt},sn.createElement("div",{className:et()(gt.list,Oi)},!!on.length&&on.map((zn,mi)=>{const{subject_identifier:Rn,id:bt,identifier:Ut,power:Ln}=zn,ni=zn.is_public!=0&&zn.is_public;return sn.createElement("div",{className:gt.wrap,key:bt,style:{width:In,marginRight:(1+mi)%ln===0?0:qt+On,marginBottom:Nt}},sn.createElement("a",{className:gt.li,onClick:Gt=>{Gt.preventDefault(),Vt&&(0,ut.L9)([Vt]),(0,ut.xg)(zn.first_category_url)}},sn.createElement("div",{className:gt.top},sn.createElement(We.Z,{title:zn.name},sn.createElement("div",{className:gt.name},zn.name)),sn.createElement("img",{className:gt.img,src:st.Z.IMG_SERVER+"/images/"+zn.avatar_url}),sn.createElement("div",{className:gt.text,title:zn.creator},zn.creator),Rn&&sn.createElement("div",{className:gt.btns},sn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),sn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),ni&&sn.createElement("div",{className:gt.sign},"\u516C\u5F00")),sn.createElement("div",{className:gt.bottom},zn.visits>0&&sn.createElement(We.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},sn.createElement("span",null,sn.createElement("i",{className:"iconfont icon-liulanyan"}),sn.createElement("span",null,zn.visits))),zn.course_members_count>0&&sn.createElement(We.Z,{title:"\u6210\u5458",placement:"bottom"},sn.createElement("span",null,sn.createElement("i",{className:"iconfont icon-chengyuan"}),zn.course_members_count)),zn.tasks_count>0&&sn.createElement(We.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},sn.createElement("span",null,sn.createElement("i",{className:"iconfont icon-zuoye"}),zn.tasks_count)),zn.is_end?sn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):sn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!zn.is_accessible&&sn.createElement("div",{className:gt.lockWrap},sn.createElement("img",{src:`${st.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),sn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!on.length&&sn.createElement(Pt.Z,null)))},En={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},ei=oe(42203),Kn=({dataSource:Oi=[],value:on,onChange:ln,className:qt,style:Nt={},tabBarExtraContent:On})=>se.createElement("div",{className:et()(En.tabs,qt),style:Nt},se.createElement("div",{className:En.tabsWrap},Oi.map((Un,Vt)=>se.createElement("aside",{className:En.tab,onClick:()=>{ln(Un.id),Un.link&&ei.history.push(Un.link)},key:Vt},se.createElement("div",{className:on===Un.id?En.active:""},Un.name),(Un==null?void 0:Un.resetCount)==null&&(Un==null?void 0:Un.total)!==void 0&&se.createElement("span",null,"\uFF08",Un==null?void 0:Un.total,"\uFF09"),(Un==null?void 0:Un.resetCount)!==void 0&&(Un==null?void 0:Un.total)!==void 0&&se.createElement(We.Z,{title:(Un==null?void 0:Un.tip)!=null?Un==null?void 0:Un.tip:""},se.createElement("span",{style:{color:"#9096A3"}},"\uFF08",se.createElement("span",{style:{color:"#000"}},Un==null?void 0:Un.resetCount),"/",se.createElement("span",null,Un==null?void 0:Un.total),"\uFF09"))))),se.createElement("div",{className:En.tabBar},On)),Nn=({className:Oi,style:on={},children:ln})=>se.createElement("div",{className:et()(Oi),style:on},ln),Gn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},ii=oe(38854),Sn=oe(20834);const Yt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var St=({sortValue:Oi,dropValue:on,className:ln,onSort:qt,onDrop:Nt,dataSource:On=Yt})=>{var Un;return se.createElement("div",{className:et()(Gn.orderWrap,ln)},se.createElement(ii.Z,{dropdownRender:()=>se.createElement(Sn.default,null,On.map((Vt,yt)=>se.createElement(Sn.default.Item,{key:yt,onClick:()=>Nt(Vt.id)},Vt.name)))},se.createElement("span",{className:Gn.orderTextWrap},(Un=On.find(Vt=>on===Vt.id))==null?void 0:Un.name)),se.createElement("span",{className:Gn.orderIconWrap},se.createElement("span",{className:Gn.orderAsc},se.createElement("i",{className:Oi==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Gn.cursorPointer} ${Gn.active}`:`iconfont icon-sanjiaoxing-up font12 ${Gn.cursorPointer}`,onClick:()=>qt(Oi==="asc"?"desc":"asc")})),se.createElement("span",{className:Gn.orderDesc},se.createElement("i",{className:Oi==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Gn.cursorPointer} ${Gn.active}`:`iconfont icon-sanjiaoxing-down font12 ${Gn.cursorPointer}`,onClick:()=>qt(Oi==="asc"?"desc":"asc")}))))},rt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Ft=oe(3113),Ot=Object.defineProperty,ft=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Ae=(Oi,on,ln)=>on in Oi?Ot(Oi,on,{enumerable:!0,configurable:!0,writable:!0,value:ln}):Oi[on]=ln,xe=(Oi,on)=>{for(var ln in on||(on={}))ct.call(on,ln)&&Ae(Oi,ln,on[ln]);if(ft)for(var ln of ft(on))Ge.call(on,ln)&&Ae(Oi,ln,on[ln]);return Oi},je=(Oi,on)=>{var ln={};for(var qt in Oi)ct.call(Oi,qt)&&on.indexOf(qt)<0&&(ln[qt]=Oi[qt]);if(Oi!=null&&ft)for(var qt of ft(Oi))on.indexOf(qt)<0&&Ge.call(Oi,qt)&&(ln[qt]=Oi[qt]);return ln},Qe=(Oi,on,ln)=>new Promise((qt,Nt)=>{var On=yt=>{try{Vt(ln.next(yt))}catch(In){Nt(In)}},Un=yt=>{try{Vt(ln.throw(yt))}catch(In){Nt(In)}},Vt=yt=>yt.done?qt(yt.value):Promise.resolve(yt.value).then(On,Un);Vt((ln=ln.apply(Oi,on)).next())}),xt=Oi=>{var on=Oi,{className:ln,style:qt,children:Nt,loading:On=!1,openLoading:Un,onClick:Vt=()=>{},size:yt="middle",shape:In="round"}=on,zn=je(on,["className","style","children","loading","openLoading","onClick","size","shape"]);const[mi,Rn]=(0,se.useState)(!1);return se.createElement(Ft.ZP,xe({onClick:(0,Je.throttle)(bt=>Qe(void 0,null,function*(){Un&&Rn(!0);try{yield Vt(bt)}catch(Ut){console.log("error",Ut)}Un&&Rn(!1)}),2e3,{leading:!0,trailing:!1}),className:et()(rt.btn,rt[`${yt}-${In}`],ln),style:qt,size:yt,shape:In,loading:mi||On},zn),Nt)},hn={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},wt=({className:Oi,style:on,children:ln=null,onClick:qt,title:Nt})=>se.createElement("div",{className:et()(hn.head,Oi),style:on},se.createElement("span",{className:"primary-hover",onClick:qt},se.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),se.createElement("b",{title:Nt},Nt),se.createElement("div",{className:hn.node},ln)),nn={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Zn=({confirmShow:Oi=!0,confirmTitle:on,confirmClick:ln,cancelShow:qt=!0,cancelTitle:Nt,cancelClick:On,className:Un,style:Vt,confirmLoading:yt=!1})=>se.createElement("div",{className:et()(nn.btns,Un),style:Vt},Oi&&se.createElement(Ft.ZP,{loading:yt,onClick:ln,type:"primary",className:nn.confirm},on),qt&&se.createElement(Ft.ZP,{onClick:On,className:nn.cancel},Nt)),li={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Mi=({className:Oi,style:on={},LeftContent:ln,children:qt,RightContent:Nt})=>se.createElement("div",{className:et()(li.fixedBottom,Oi),style:on},se.createElement("div",{className:li.wrap},se.createElement("div",{className:li.left},ln),se.createElement("div",{className:li.center},qt),se.createElement("div",{className:li.right},Nt))),Si={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},lr=({className:Oi,style:on={},dataSource:ln=[]})=>se.createElement("div",{className:et()(Si.crumbs,Oi),style:on},ln.map((qt,Nt)=>Ntei.history.push(qt.path)},qt.name):se.createElement("span",null,qt.name),se.createElement("span",null,"\xA0",">","\xA0")):se.createElement("span",{key:Nt,style:{color:"#5F6368"}},qt.name))),dr=oe(31797),ur=Object.defineProperty,Sr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Gi=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,Ue=(Oi,on,ln)=>on in Oi?ur(Oi,on,{enumerable:!0,configurable:!0,writable:!0,value:ln}):Oi[on]=ln,no=(Oi,on)=>{for(var ln in on||(on={}))Zr.call(on,ln)&&Ue(Oi,ln,on[ln]);if(Gi)for(var ln of Gi(on))Yi.call(on,ln)&&Ue(Oi,ln,on[ln]);return Oi},pr=(Oi,on)=>Sr(Oi,Wr(on)),fo=(Oi,on)=>{var ln={};for(var qt in Oi)Zr.call(Oi,qt)&&on.indexOf(qt)<0&&(ln[qt]=Oi[qt]);if(Oi!=null&&Gi)for(var qt of Gi(Oi))on.indexOf(qt)<0&&Yi.call(Oi,qt)&&(ln[qt]=Oi[qt]);return ln};const{Countdown:Fo}=dr.default;var Io=Oi=>{var on=Oi,{onChange:ln}=on,qt=fo(on,["onChange"]);const[Nt,On]=(0,se.useState)(null);(0,se.useEffect)(()=>{typeof Nt=="number"&&Nt>=0&&ln(Nt)},[Nt]);const Un=Vt=>{const yt=Math.floor(Vt/1e3);On(yt)};return se.createElement(Fo,pr(no({},qt),{onChange:Un}))}},91300:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ce}});var se=oe(59301);function Ce(we,Ie){const De=(0,se.useRef)();(0,se.useEffect)(()=>{De.current=we}),(0,se.useEffect)(()=>{function Ke(){De.current()}if(Ie!==null){let Ee=setInterval(Ke,Ie);return()=>clearInterval(Ee)}},[Ie])}},28716:function(_e,be,oe){"use strict";oe.r(be),oe.d(be,{default:function(){return ed}});var se=oe(59301),Ce=oe(42203),we=oe(78241),Ie=oe(43418),De=oe(8591),Ke=oe(3113),Ee=oe(38854),et=oe(6848),Je=oe(99313),Ye=oe(71418),tt=oe(24905),ht=oe(2595),kt=oe(92832),ze=oe(2307),ee=oe(70635),ne=oe(23469),ge=oe(86766),ue=oe(79646),me=oe(61186),Se=oe.n(me),Ne=oe(10148),ke=oe(32583),Te=oe(88897),We=Object.defineProperty,$e=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Mt=(Xn,bn,_t)=>bn in Xn?We(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,nt=(Xn,bn)=>{for(var _t in bn||(bn={}))st.call(bn,_t)&&Mt(Xn,_t,bn[_t]);if($e)for(var _t of $e(bn))ut.call(bn,_t)&&Mt(Xn,_t,bn[_t]);return Xn},$t=(Xn,bn,_t)=>new Promise((Ao,ta)=>{var sa=jr=>{try{Jr(_t.next(jr))}catch(rr){ta(rr)}},Vr=jr=>{try{Jr(_t.throw(jr))}catch(rr){ta(rr)}},Jr=jr=>jr.done?Ao(jr.value):Promise.resolve(jr.value).then(sa,Vr);Jr((_t=_t.apply(Xn,bn)).next())});const Pt=({shixunHomeworks:Xn,dispatch:bn})=>{const _t=(0,Ce.useParams)(),[Ao,ta]=(0,se.useState)(!0),[sa]=we.default.useForm();return se.createElement(se.Fragment,null,se.createElement(Ie.default,{centered:!0,title:"\u8C03\u5206",open:Xn.actionTabs.key==="\u8C03\u5206",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>$t(void 0,null,function*(){yield sa.validateFields();const Vr=sa.getFieldsValue();(yield(0,ee.ZP)(`/api/student_works/${Xn.actionTabs.id}/adjust_score.json`,{method:"post",body:nt({},Vr)})).status===0&&(De.ZP.success("\u8BC4\u9605\u6210\u529F"),sa.resetFields(),bn({type:"shixunHomeworks/setActionTabs",payload:{}}),bn({type:"shixunHomeworks/getStudentWorkCommon",payload:nt({},_t)}))}),onCancel:()=>{bn({type:"shixunHomeworks/setActionTabs",payload:{}})}},se.createElement("p",{className:"tc"},"\u8BE5\u5B66\u751F\u7684\u6700\u7EC8\u6210\u7EE9\u5C06\u4E0D\u4F1A\u6309\u7167\u8BC4\u5206\u89C4\u5219\u8FDB\u884C\u8BA1\u7B97"),se.createElement(we.default,{form:sa,layout:"horizontal"},se.createElement("div",{style:{display:"flex",alignItems:"baseline"}},se.createElement(we.default.Item,{label:"\u6210\u7EE9",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},se.createElement(Te.Z,{min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570"})),se.createElement("span",{className:"ml10"},"\u5206")),se.createElement("div",null,se.createElement(we.default.Item,{name:"comment"},se.createElement(kt.default.TextArea,{placeholder:"\u8BF7\u586B\u5199\u60A8\u5BF9\u4F5C\u54C1\u8C03\u5206\u7684\u539F\u56E0",rows:8}))))))};var dn=(0,Ce.connect)(({shixunHomeworks:Xn})=>({shixunHomeworks:Xn}))(Pt),zt={flex_box_center:"flex_box_center___tMwax",flex_space_between:"flex_space_between___8GJsg",flex_box_vertical_center:"flex_box_vertical_center___IFELt",flex_box_center_end:"flex_box_center_end___IrFRG",flex_box_column:"flex_box_column___s0LgG",TabsStyle:"TabsStyle___r0bwM",bg:"bg___sFhaA",title:"title___bk4oD",nextComment:"nextComment___NmNBo",modal:"modal___tWPO8",MdEditor:"MdEditor___AAxeb",ratewarp:"ratewarp___NGrsd",item:"item___Le8W0",total:"total___MNh4V",a1:"a1___g1iJT",a2:"a2___h8k2X",a3:"a3___yk1km",export_type_modal_title:"export_type_modal_title___nMqX0",export_type_modal:"export_type_modal___dbFVU",export_type_modal_con:"export_type_modal_con___ujWeL",type_item:"type_item___oF9R5",type_item_active:"type_item_active___dfBaM",export_type_modal_waring:"export_type_modal_waring___k8RaP",ReviewStyle:"ReviewStyle___o5d5N",left_content:"left_content___Tdt77",left_title:"left_title___V11QV",see_work:"see_work___HAfMs",left_list:"left_list___sXmxX",list_title:"list_title___NmWRs",list_box:"list_box___nK01J",list_item:"list_item___rrWl_",item_img:"item_img___yMYSc",item_content:"item_content___ZJr_4",item_name:"item_name___PkA99",item_code:"item_code___g13cU",item_states:"item_states___Rwb1r",center_top:"center_top___hgoJF",center_top_title:"center_top_title___rVfnl",center_top_content:"center_top_content___Wfmlt",work_score:"work_score___sJRnv",work_img:"work_img___p6zO4",work_button:"work_button___NDoqh",pingyue:"pingyue___PDoT9",pingyue_title:"pingyue_title___Wsqbg",pingyue_score:"pingyue_score___kvMiC",pingyue_teacher_title:"pingyue_teacher_title___lyJ0m",top_content:"top_content___mJifP",top_content_img:"top_content_img___vbTWm",item_tags:"item_tags___K9Qrr",daochu:"daochu___WdJvT",foldClose:"foldClose___DQSiP",foldOpen:"foldOpen___J18go",ScoreDetailsBase:"ScoreDetailsBase___UG7u2",btnAdd:"btnAdd___GCat1",buttonStyle:"buttonStyle___jWXWa",hiddenBar:"hiddenBar___ZRZYH"},Xt=oe(25711),fn=oe(89392),an=oe(57203),it=oe(59301),Ve=Object.defineProperty,gt=Object.defineProperties,Bt=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,En=(Xn,bn,_t)=>bn in Xn?Ve(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,ei=(Xn,bn)=>{for(var _t in bn||(bn={}))It.call(bn,_t)&&En(Xn,_t,bn[_t]);if(sn)for(var _t of sn(bn))en.call(bn,_t)&&En(Xn,_t,bn[_t]);return Xn},An=(Xn,bn)=>gt(Xn,Bt(bn)),Kn=(Xn,bn,_t)=>new Promise((Ao,ta)=>{var sa=jr=>{try{Jr(_t.next(jr))}catch(rr){ta(rr)}},Vr=jr=>{try{Jr(_t.throw(jr))}catch(rr){ta(rr)}},Jr=jr=>jr.done?Ao(jr.value):Promise.resolve(jr.value).then(sa,Vr);Jr((_t=_t.apply(Xn,bn)).next())});const jt=({classroomList:Xn,loading:bn,dispatch:_t,studentWorkDetail:Ao})=>{const ta=(0,Ce.useParams)(),[sa]=we.default.useForm(),Vr=()=>Kn(void 0,null,function*(){var Jr;yield sa.validateFields();const jr=ei({},sa.getFieldValue()),{selectArrs:rr}=Xn.actionTabs;jr.attachment_ids=(Jr=jr.attachment_ids)==null?void 0:Jr.map(Na=>Na.response.id),(yield(0,ke.mz)(An(ei({},jr),{homeworkId:rr.work_id}))).status===0&&(sa.resetFields(),_t({type:"shixunHomeworks/getStudentWorkSupplyDetail",payload:ei({},Xn.actionTabs.params)}),_t({type:"classroomList/setActionTabs",payload:{}}))});return it.createElement(Ie.default,{centered:!0,title:"\u8865\u4EA4\u9644\u4EF6",open:Xn.actionTabs.key==="\u8865\u4EA4\u9644\u4EF6",bodyStyle:{minHeight:200},onOk:()=>Kn(void 0,null,function*(){if(Ao!=null&&Ao.can_submit){if(!(Ao!=null&&Ao.submit_size)){De.ZP.warning("\u60A8\u7684\u4F5C\u54C1\u63D0\u4EA4\u673A\u4F1A\u5DF2\u7528\u5B8C\u3002\u5982\u9700\u7EE7\u7EED\u4FEE\u6539\uFF0C\u8BF7\u8054\u7CFB\u6307\u5BFC\u8001\u5E08\u6216\u5E73\u53F0\u8FD0\u8425\u3002");return}Ie.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:472,content:it.createElement(it.Fragment,null,"\u4F60\u8FD8\u6709 ",it.createElement("span",{className:"ml5 mr5",style:{color:"#DF711C"}},Ao==null?void 0:Ao.submit_size)," \u6B21\u63D0\u4EA4\u673A\u4F1A\u3002\u786E\u8BA4\u63D0\u4EA4\u540E\uFF0C\u4E0A\u4E00\u6B21\u7684\u63D0\u4EA4\u8BB0\u5F55\u4F1A\u88AB\u8986\u76D6\u3002\u8BF7\u6CE8\u610F\uFF0C\u5230\u8FBE\u89C4\u5B9A\u7684\u63D0\u4EA4\u6B21\u6570\u540E\u5C06\u4E0D\u53EF\u518D\u6B21\u63D0\u4EA4\uFF0C\u786E\u5B9A\u662F\u5426\u63D0\u4EA4\uFF1F"),onOk:()=>{Vr()}});return}Vr()}),onCancel:()=>{sa.resetFields(),_t({type:"classroomList/setActionTabs",payload:{}})}},it.createElement(we.default,{form:sa,initialValues:{}},it.createElement(we.default.Item,{name:"attachment_ids",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},it.createElement(an.Z,null)),it.createElement(we.default.Item,{name:"description"},it.createElement(kt.default.TextArea,{placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u8865\u4EA4\u9644\u4EF6\u7684\u539F\u56E0\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26",rows:7}))))};var Nn=(0,Ce.connect)(({classroomList:Xn,loading:bn})=>({classroomList:Xn,loading:bn}))(jt),Gn=oe(58130),ii=oe(2119),Sn=oe(44965),Yt=oe(99372),Zt=oe(35427),St=oe(97267),rt=oe(91740),Ft=oe(95237),Ot=oe(43604),ft=oe(37906),ct={pinfen:"pinfen____hgN7",left:"left___ZyTXs",right:"right___OSPEM",tagStyleSzz:"tagStyleSzz___fzxbk",headpic:"headpic___d7fnl",new_style_box:"new_style_box___XOWhi",box_child:"box_child___uYxgt",box_item_top:"box_item_top___MohWv",yichang:"yichang___ppIPI",text_style:"text_style___V3FT_",text_style_red:"text_style_red___reUfY"},Ge=oe(64542),Ae=oe(93461),xe=oe(29399),je=Object.defineProperty,Qe=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,hn=(Xn,bn,_t)=>bn in Xn?je(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,Pn=(Xn,bn)=>{for(var _t in bn||(bn={}))Oe.call(bn,_t)&&hn(Xn,_t,bn[_t]);if(Qe)for(var _t of Qe(bn))xt.call(bn,_t)&&hn(Xn,_t,bn[_t]);return Xn};const wt=Xn=>React.createElement("svg",Pn({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u661F\u5F62"),React.createElement("path",{d:"m7 10.5-4.114 2.163.785-4.581L.343 4.837l4.6-.669L7 0l2.057 4.168 4.6.669-3.328 3.245.785 4.581z",fill:"#FA6400",fillRule:"evenodd"}));var nn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTcgMTAuNS00LjExNCAyLjE2My43ODUtNC41ODFMLjM0MyA0LjgzN2w0LjYtLjY2OUw3IDBsMi4wNTcgNC4xNjggNC42LjY2OS0zLjMyOCAzLjI0NS43ODUgNC41ODF6IiBmaWxsPSIjRkE2NDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",Mn=Object.defineProperty,Zn=Object.getOwnPropertySymbols,li=Object.prototype.hasOwnProperty,xi=Object.prototype.propertyIsEnumerable,Mi=(Xn,bn,_t)=>bn in Xn?Mn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,Si=(Xn,bn)=>{for(var _t in bn||(bn={}))li.call(bn,_t)&&Mi(Xn,_t,bn[_t]);if(Zn)for(var _t of Zn(bn))xi.call(bn,_t)&&Mi(Xn,_t,bn[_t]);return Xn};const Ri=Xn=>React.createElement("svg",Si({width:16,height:14,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u62A5\u544A"),React.createElement("path",{d:"M3.629 14a2.38 2.38 0 0 1-2.373-2.373V4.311a.057.057 0 0 0-.06-.06H.564A.542.542 0 0 1 0 3.737V1.691C0 .76.81 0 1.81 0h8.868c.999 0 1.809.81 1.81 1.81v7.563a.057.057 0 0 0 .059.06h1.997a.557.557 0 0 1 .563.563v2.185a1.81 1.81 0 0 1-1.809 1.81L3.628 14Zm8.927-3.56a.057.057 0 0 0-.059.06v1.69a.81.81 0 0 0 1.622 0V10.5a.057.057 0 0 0-.06-.06h-1.503ZM2.314 4.252a.057.057 0 0 0-.06.06v7.306a1.377 1.377 0 0 0 1.375 1.375h7.959c.02 0 .04-.012.049-.03a.063.063 0 0 0 0-.06 1.814 1.814 0 0 1-.148-.721V1.819a.81.81 0 0 0-1.622 0v1.918a.536.536 0 0 1-.563.514h-6.99Zm-.505-3.243c-.445 0-.81.307-.81.683v1.502a.058.058 0 0 0 .059.06h7.741a.057.057 0 0 0 .06-.06V1.82c0-.248.05-.494.148-.722.01-.02 0-.04 0-.059a.054.054 0 0 0-.05-.03H1.81Zm2.314 9.462a.504.504 0 1 1 0-1.008H9.62a.504.504 0 1 1 0 1.008H4.123Zm0-2.689a.504.504 0 0 1 0-1.008H9.62a.504.504 0 1 1 0 1.008H4.123Z",fill:"#3061D0",fillRule:"nonzero"}));var lr="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMuNjI5IDE0YTIuMzggMi4zOCAwIDAgMS0yLjM3My0yLjM3M1Y0LjMxMWEuMDU3LjA1NyAwIDAgMC0uMDYtLjA2SC41NjRBLjU0Mi41NDIgMCAwIDEgMCAzLjczN1YxLjY5MUMwIC43Ni44MSAwIDEuODEgMGg4Ljg2OGMuOTk5IDAgMS44MDkuODEgMS44MSAxLjgxdjcuNTYzYS4wNTcuMDU3IDAgMCAwIC4wNTkuMDZoMS45OTdhLjU1Ny41NTcgMCAwIDEgLjU2My41NjN2Mi4xODVhMS44MSAxLjgxIDAgMCAxLTEuODA5IDEuODFMMy42MjggMTRabTguOTI3LTMuNTZhLjA1Ny4wNTcgMCAwIDAtLjA1OS4wNnYxLjY5YS44MS44MSAwIDAgMCAxLjYyMiAwVjEwLjVhLjA1Ny4wNTcgMCAwIDAtLjA2LS4wNmgtMS41MDNaTTIuMzE0IDQuMjUyYS4wNTcuMDU3IDAgMCAwLS4wNi4wNnY3LjMwNmExLjM3NyAxLjM3NyAwIDAgMCAxLjM3NSAxLjM3NWg3Ljk1OWMuMDIgMCAuMDQtLjAxMi4wNDktLjAzYS4wNjMuMDYzIDAgMCAwIDAtLjA2IDEuODE0IDEuODE0IDAgMCAxLS4xNDgtLjcyMVYxLjgxOWEuODEuODEgMCAwIDAtMS42MjIgMHYxLjkxOGEuNTM2LjUzNiAwIDAgMS0uNTYzLjUxNGgtNi45OVptLS41MDUtMy4yNDNjLS40NDUgMC0uODEuMzA3LS44MS42ODN2MS41MDJhLjA1OC4wNTggMCAwIDAgLjA1OS4wNmg3Ljc0MWEuMDU3LjA1NyAwIDAgMCAuMDYtLjA2VjEuODJjMC0uMjQ4LjA1LS40OTQuMTQ4LS43MjIuMDEtLjAyIDAtLjA0IDAtLjA1OWEuMDU0LjA1NCAwIDAgMC0uMDUtLjAzSDEuODFabTIuMzE0IDkuNDYyYS41MDQuNTA0IDAgMSAxIDAtMS4wMDhIOS42MmEuNTA0LjUwNCAwIDEgMSAwIDEuMDA4SDQuMTIzWm0wLTIuNjg5YS41MDQuNTA0IDAgMCAxIDAtMS4wMDhIOS42MmEuNTA0LjUwNCAwIDEgMSAwIDEuMDA4SDQuMTIzWiIgZmlsbD0iIzMwNjFEMCIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+";const dr=({handleCloseOrOpenModal:Xn,dataInfo:bn,isShowButton:_t=!0,className:Ao=""})=>{const ta=()=>{if(bn!=null&&bn.teacher_score&&(bn==null?void 0:bn.teacher_score)>=0)return se.createElement(se.Fragment,null,"\u6559\u5E08\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.teacher_score));if(bn!=null&&bn.teaching_asistant_score&&(bn==null?void 0:bn.teaching_asistant_score)>=0)return se.createElement(se.Fragment,null,"\u52A9\u6559\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.teaching_asistant_score));if(bn!=null&&bn.student_score&&(bn==null?void 0:bn.student_score)>=0)return se.createElement(se.Fragment,null,"\u533F\u8BC4\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.student_score))};return se.createElement(se.Fragment,null,se.createElement("div",{className:`${zt.work_score} ${Ao}`},se.createElement("div",{style:{color:"#191919",fontWeight:600}},"\u4F5C\u4E1A\u5F97\u5206"),se.createElement("div",{className:zt.work_img},se.createElement("div",{style:{height:"40px",lineHeight:"50px",fontSize:"24px",color:"#009C0F",fontWeight:600}},(bn==null?void 0:bn.work_score)||"--",se.createElement("span",{style:{fontSize:"14px"}},"\u5206")),se.createElement("div",{style:{fontSize:"12px",color:"#666666"}},"\u6700\u7EC8\u6210\u7EE9")),se.createElement("img",{src:nn}),se.createElement("div",{style:{marginLeft:"10px",width:_t?"59%":"77%"}},"\u8BA1\u7B97\u89C4\u5219",se.createElement(et.Z,{title:se.createElement("span",{className:"font14"},"\u5728\u591A\u9879\u8BC4\u5206\u5360\u6BD4\u8BBE\u7F6E\u4E2D\uFF0C\u82E5\u67D0\u9879\u8BC4\u5206\u7F3A\u5931\uFF0C\u5176\u5360\u6BD4\u5C06\u7531\u5176\u4ED6\u5DF2\u8BC4\u5206\u9879\u5E73\u5206\uFF1B\u82E5\u4E24\u9879\u8BC4\u5206\u7F3A\u5931\uFF0C\u5219\u552F\u4E00\u5DF2\u8BC4\u5206\u9879\u5C06\u5360100%\u7684\u6BD4\u91CD\u3002")},se.createElement("i",{className:"iconfont icon-tishixiaowenhao ml5 mr5 font14 c-grey-999 current",style:{lineHeight:"18px"}})),"=",bn!=null&&bn.final_mode?ta():se.createElement(se.Fragment,null,"\u6559\u5E08\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},(bn==null?void 0:bn.teacher_score)||"--","*",bn==null?void 0:bn.te_proportion),"+\u52A9\u6559\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},(bn==null?void 0:bn.teaching_asistant_score)||"--","*",bn==null?void 0:bn.ta_proportion),"+\u533F\u8BC4\u8BC4\u5206",se.createElement("span",{style:{color:"#CA7720"}},(bn==null?void 0:bn.student_score)||"--","*",bn==null?void 0:bn.st_proportion)),"-\u6263\u5206\u9879 (\u8865\u4EA4\u6263\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.late_penalty),"+\u67E5\u91CD\u6263\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.repeat_minus_score),"+\u7F3A\u8BC4\u6263\u5206",se.createElement("span",{style:{color:"#CA7720"}},bn==null?void 0:bn.absence_penalty),")"),_t&&se.createElement("div",{className:zt.work_button,onClick:()=>{Xn({key:"\u5F97\u5206\u8BE6\u60C5"})}},se.createElement("img",{src:lr,style:{marginRight:"5px"}}),"\u67E5\u770B\u5F97\u5206\u8BE6\u60C5")))};var ur=(0,Ce.connect)(({shixunHomeworks:Xn})=>({shixunHomeworks:Xn}))(dr),Sr=Object.defineProperty,Wr=Object.defineProperties,Gi=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,no=(Xn,bn,_t)=>bn in Xn?Sr(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,pr=(Xn,bn)=>{for(var _t in bn||(bn={}))Yi.call(bn,_t)&&no(Xn,_t,bn[_t]);if(Zr)for(var _t of Zr(bn))Ue.call(bn,_t)&&no(Xn,_t,bn[_t]);return Xn},fo=(Xn,bn)=>Wr(Xn,Gi(bn)),Fo=(Xn,bn)=>{var _t={};for(var Ao in Xn)Yi.call(Xn,Ao)&&bn.indexOf(Ao)<0&&(_t[Ao]=Xn[Ao]);if(Xn!=null&&Zr)for(var Ao of Zr(Xn))bn.indexOf(Ao)<0&&Ue.call(Xn,Ao)&&(_t[Ao]=Xn[Ao]);return _t},Vo=(Xn,bn,_t)=>new Promise((Ao,ta)=>{var sa=jr=>{try{Jr(_t.next(jr))}catch(rr){ta(rr)}},Vr=jr=>{try{Jr(_t.throw(jr))}catch(rr){ta(rr)}},Jr=jr=>jr.done?Ao(jr.value):Promise.resolve(jr.value).then(sa,Vr);Jr((_t=_t.apply(Xn,bn)).next())});const Io=({shixunHomeworks:Xn,loading:bn,user:_t,globalSetting:Ao})=>({shixunHomeworks:Xn,loading:bn.effects,user:_t,globalSetting:Ao}),Oi=Xn=>{var bn=Xn,{ModalProps:_t={},shixunHomeworks:Ao,user:ta}=bn,sa=Fo(bn,["ModalProps","shixunHomeworks","user"]),Vr,Jr;const[jr]=we.default.useForm(),rr=(0,Ce.useParams)(),{userInfo:ro={}}=ta,[,Na,Ia,Ho]=(0,Zt.U)(ke.Yn,{homeworkId:rr==null?void 0:rr.userId}),[,Bo,rl,Bs]=(0,Zt.U)(ke.Am,{homeworkId:rr==null?void 0:rr.userId}),[,ka,Nl]=(0,Zt.U)(ke.QC,{userId:rr==null?void 0:rr.userId}),[js,$s]=(0,se.useState)({page:1,limit:10}),[fr,va]=(0,se.useState)(!1),Wt=[{title:"\u8BC4\u9605\u4EBA\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:100,render:Ns=>se.createElement(et.Z,{title:Ns},se.createElement("span",null,Ns))},{title:"\u8BC4\u5206",dataIndex:"score",width:80},{title:"\u8BC4\u8BED",dataIndex:"content",ellipsis:!0,render:Ns=>se.createElement(et.Z,{title:Ns},se.createElement("span",null,Ns))},{title:"\u63D0\u4EA4\u4F5C\u4E1A\u7248\u672C",dataIndex:"student_work_num",width:110,render:(Ns,ps)=>{var cl;return se.createElement("a",{style:{color:Ns===((cl=Ho==null?void 0:Ho.data)==null?void 0:cl.max_student_work_num)?"#1B8565":"#FA6400"},target:"_blank",href:`/classrooms/${rr==null?void 0:rr.coursesId}/common_homework/${rr==null?void 0:rr.categoryId}/review/${ps==null?void 0:ps.student_work_id}?history_id=${ps==null?void 0:ps.history_id}`},"\u7B2C ",Ns," \u6B21")}},{title:"\u64CD\u4F5C",dataIndex:"comment_id",width:150,render:(Ns,ps)=>se.createElement("div",{className:"flex item-center gap-20px"},(ps==null?void 0:ps.user_login)===(ro==null?void 0:ro.login)&&se.createElement("a",{onClick:()=>{var cl;jr.setFieldsValue(fo(pr({},ps),{comment:ps==null?void 0:ps.content,score_details:((cl=ps==null?void 0:ps.score_details)==null?void 0:cl.map(Os=>pr({},Os)))||[]})),va(!0)}},"\u7F16\u8F91"),se.createElement("a",{target:"_blank",href:`/classrooms/${rr==null?void 0:rr.coursesId}/common_homework/${rr==null?void 0:rr.categoryId}/review/${ps==null?void 0:ps.student_work_id}?history_id=${ps==null?void 0:ps.history_id}`},"\u67E5\u770B"),(ps==null?void 0:ps.user_login)===(ro==null?void 0:ro.login)&&se.createElement("a",{className:"current-delete-hover",onClick:()=>{di(ps)}},"\u5220\u9664"))}],di=(Ns={})=>{Ie.default.confirm({title:"\u662F\u5426\u786E\u8BA4\u5220\u9664?",centered:!0,onOk:()=>Vo(void 0,null,function*(){(yield Nl({score_id:Ns==null?void 0:Ns.comment_id})).status===0&&(De.ZP.success("\u5220\u9664\u6210\u529F"),$s({page:1,limit:10}),va(!1))})})};return(0,se.useEffect)(()=>{_t!=null&&_t.open&&Ia(pr({homeworkId:rr==null?void 0:rr.userId},js))},[js,_t==null?void 0:_t.open]),se.createElement(se.Fragment,null,se.createElement(Ie.default,pr({},pr({title:"\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55",centered:!0,width:800},_t)),se.createElement(ht.default,{className:"mt10",loading:Na,columns:Wt,locale:{emptyText:se.createElement(St.Z,null)},dataSource:((Vr=Ho==null?void 0:Ho.data)==null?void 0:Vr.list)||[],pagination:{hideOnSinglePage:!0,total:((Jr=Ho==null?void 0:Ho.data)==null?void 0:Jr.size)||0,onChange:(Ns,ps)=>{$s(fo(pr({},js),{page:Ns,limit:ps}))},current:js==null?void 0:js.page,pageSize:js==null?void 0:js.limit,showTotal:Ns=>se.createElement(se.Fragment,null,"\u5171",se.createElement("span",{className:"ml5 mr5 c-blue"},Ns),"\u6761\u6570\u636E")}})),se.createElement(On,{FormProps:{form:jr,onFinish:(...Ns)=>Vo(void 0,[...Ns],function*(ps={}){const cl=yield rl(fo(pr({},ps),{homeworkId:rr==null?void 0:rr.userId}));(cl==null?void 0:cl.status)===0&&(De.ZP.success("\u4FEE\u6539\u6210\u529F"),$s({page:1,limit:10}),va(!1))})},ModalProps:{open:fr,onCancel:()=>{va(!1)},onOk:()=>{jr.submit()},confirmLoading:Bo}}))},on=(0,Ce.connect)(Io)(Oi),ln=Xn=>{var bn=Xn,{FormProps:_t,DataProps:Ao={},isShowStyles:ta=!0,shixunHomeworks:sa}=bn,Vr=Fo(bn,["FormProps","DataProps","isShowStyles","shixunHomeworks"]);const[Jr]=we.default.useForm(),{form:jr=Jr}=_t,{studentWorkDetail:rr,workDetail:ro}=sa,Na=(0,Ce.useParams)(),Ia=we.default.useWatch("comment",jr),Ho=we.default.useWatch("score",jr),Bo=we.default.useWatch("score_details",jr),[rl,Bs]=Ie.default.useModal(),[ka,Nl]=(0,se.useState)(!1),[js,$s]=(0,se.useState)(!1);return(0,se.useEffect)(()=>{var fr;!(rr!=null&&rr.single_score)&&(Bo==null?void 0:Bo.length)>0&&jr.setFieldsValue({score:(fr=Bo||[])==null?void 0:fr.reduce((va,Wt)=>(0,Gn.EN)(va,Wt.score||0,"+"),0)})},[Bo]),se.createElement(se.Fragment,null,Bs,se.createElement(we.default.Item,{hidden:!0,name:"score_id",label:"\u8FD9\u4E2A\u662F\u7528\u6765\u6536\u96C6score_id\u7684"}),!(Ao!=null&&Ao.disabledScore)&&se.createElement(se.Fragment,null,rr!=null&&rr.single_score?se.createElement(we.default.Item,{className:zt.ReviewStyle,name:"score",rules:[{required:!(0,ii.GJ)(),message:"\u8BF7\u586B\u5199\u5206\u6570"}],label:se.createElement("div",{className:"w-full flex justify-between item-center"},se.createElement("span",null,"\u8BC4\u5206"),se.createElement(xe.Z,{title:"\u667A\u80FD\u8BC4\u9605",isShowComponent:ro==null?void 0:ro.is_open_ai_review,isReview:!0,authority:(0,ii.G5)(),DrawerProps:{open:js,onClose:()=>{$s(!1)}},onOpen:()=>{$s(!0)},loadingOption:{text:"AI\u8BC4\u9605\u4E2D..."},defaultGetData:!0,FetchUrl:"/api/intelligent_reviews/large_model_intelligent_qa.json",FetchData:{student_work_id:Na.userId},isShowDefuatTips:!1,extraEdit:fr=>{var va;return(fr==null?void 0:fr.sender)=="AI"&&((va=fr==null?void 0:fr.response)==null?void 0:va.status)!=-1&&se.createElement(Ke.ZP,{icon:se.createElement("i",{className:"iconfont icon-yijianyingyong",style:{color:"#b7b7c2"}}),className:"mr10",type:"link",onClick:()=>{const Wt=()=>{var di,Ns;jr.setFieldsValue({score:(di=fr==null?void 0:fr.response)==null?void 0:di.score,comment:(Ns=fr==null?void 0:fr.response)==null?void 0:Ns.remarks}),$s(!1)};if(Ho||Ia){rl.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u5206\u6216\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4E00\u952E\u5E94\u7528\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u5E94\u7528\uFF1F",okText:"\u5E94\u7528",onOk:Wt});return}Wt()}},"\u4E00\u952E\u5E94\u7528")}},se.createElement(Ke.ZP,{style:{padding:0,height:"auto"},icon:se.createElement("img",{src:oe(11689)}),type:"link"},"\u667A\u80FD\u8BC4\u9605")))},se.createElement(Te.Z,{className:"w-full",step:.1,min:0,placeholder:"\u8BF7\u586B\u5199\u5206\u6570",addonAfter:"\u5206"})):se.createElement("div",{className:ta?"gap-10px":"gap-20px mb20",style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(350px, 1fr))"}},se.createElement(we.default.List,{name:"score_details"},(fr,{add:va,remove:Wt})=>se.createElement(se.Fragment,null,fr.map(di=>se.createElement("div",{key:di.key,className:ta?"pt10 pb10 p20":"",style:{background:ta&&"#F6F7F9"}},se.createElement("div",{className:"flex justify-between mb10"},se.createElement("div",{className:"multi_ellipsis1"},jr.getFieldValue(["score_details",di.name,"name"])),se.createElement("div",{className:"c-grey-666"},"\uFF08\u6EE1\u5206",jr.getFieldValue(["score_details",di.name,"full_score"]),"\u5206\uFF09")),se.createElement(we.default.Item,{className:"mb0",name:[di.name,"score"],rules:jr.getFieldValue(["score_details",di.name,"isAllScore"])?null:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},se.createElement(Te.Z,{className:"w-full",stringMode:!0,min:0,max:jr.getFieldValue(["score_details",di.name,"full_score"]),placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",controls:!1,addonAfter:"\u5206"})))))),se.createElement("div",{key:"allScore",className:ta?"pt10 pb10 p20":"",style:{background:ta&&"#F6F7F9"}},se.createElement("div",{className:"flex justify-between mb10"},se.createElement("div",{className:"multi_ellipsis1 c-blue"},"\u7EFC\u5408\u5F97\u5206"),se.createElement("div",{className:"c-grey-666"},"\uFF08\u6EE1\u5206100\u5206\uFF09")),se.createElement(we.default.Item,{className:"mb0",name:"score"},se.createElement(Te.Z,{className:"w-full",stringMode:!0,disabled:!0,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",controls:!1,addonAfter:"\u5206"}))))),se.createElement(we.default.Item,{name:"comment",className:zt.ReviewStyle,label:se.createElement("div",{className:"w-full flex justify-between item-center"},se.createElement("span",null,"\u8BC4\u8BED"),se.createElement(Ae.Z,{isShowComponent:(0,ii.G5)(),ModalProps:{open:ka,onCancel:()=>{Nl(!1)}},onDataSelect:(fr,{node:va})=>{const Wt=()=>{jr.setFieldsValue({comment:va==null?void 0:va.value}),Nl(!1)};if(Ia){rl.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Wt});return}Wt()}},se.createElement(Ke.ZP,{style:{padding:0,height:"auto"},icon:se.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:fr=>{fr.stopPropagation(),Nl(!0)}},"\u5E38\u7528\u8BC4\u8BED")))},se.createElement(Ge.h,{height:200,scrollId:"comment",placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u5BF9\u672C\u4F5C\u54C1\u7684\u8BC4\u8BED\uFF0C\u6700\u5927\u9650\u52362000\u4E2A\u5B57\u7B26"})))},qt=(0,Ce.connect)(Io)(ln),Nt=Xn=>{var bn=Xn,{ModalProps:_t={},DataProps:Ao={},shixunHomeworks:ta,FormProps:sa}=bn,Vr=Fo(bn,["ModalProps","DataProps","shixunHomeworks","FormProps"]);const{form:Jr}=sa,{studentWorkDetail:jr}=ta;return se.createElement(Ie.default,pr({},pr({title:se.createElement(se.Fragment,null,"\u7F16\u8F91\u8BC4\u8BED",!(jr!=null&&jr.single_score)&&se.createElement("span",{className:"ml20 font16",style:{color:"#FA6400"}},"\u6CE8\u610F\uFF1A\u5F00\u542F\u591A\u7EF4\u5EA6\u8BC4\u5206")),centered:!0,width:jr!=null&&jr.single_score?662:1120},_t)),se.createElement(we.default,pr({},pr({size:"large",layout:"vertical"},sa)),se.createElement(qt,{FormProps:{form:Jr},DataProps:Ao})))},On=(0,Ce.connect)(Io)(Nt),Un=Xn=>{var bn=Xn,{ModalProps:_t={},DataProps:Ao={},shixunHomeworks:ta}=bn,sa=Fo(bn,["ModalProps","DataProps","shixunHomeworks"]),Vr,Jr,jr;const{studentWorkDetail:rr}=ta,[ro,Na]=(0,se.useState)({teacherList:[],assistantsList:[],anonymousCommentList:[]}),Ia=(Ho,Bo,rl="")=>({title:rl==="anonymous_comment"?se.createElement(et.Z,{title:(0,ii.G5)()&&(Ho==null?void 0:Ho.name)},se.createElement("a",null,"\u533F\u540D")):Ho==null?void 0:Ho.name,dataIndex:`score${Bo}`,align:"center",render:(Bs,ka,Nl)=>Nl===0?se.createElement(se.Fragment,null,Bs,ka[`old_score${Bo}`]&&se.createElement("span",{style:{color:"#009C0F"}},"\uFF08\u6559\u5E08\u8865\u5206\uFF1A",ka[`old_score${Bo}`],"\uFF09")):se.createElement("div",{className:"flex item-center justify-center"},se.createElement("div",{style:{width:166}},Bs==null?void 0:Bs.map((js,$s)=>se.createElement("div",{key:$s,className:"flex justify-between"},js==null?void 0:js.name,se.createElement("span",{className:"ml5",style:{color:"#009C0F"}},js==null?void 0:js.score)))))});return(0,se.useEffect)(()=>{var Ho,Bo,rl,Bs,ka,Nl;if(rr&&(_t!=null&&_t.open)){const js=[{},{}],$s=[{},{}],fr=[{},{}];((Ho=rr==null?void 0:rr.teacher_score_list)==null?void 0:Ho.length)>0&&((Bo=rr==null?void 0:rr.teacher_score_list)==null||Bo.forEach((va,Wt)=>{js[0][`score${Wt}`]=va==null?void 0:va.score,js[1][`score${Wt}`]=va==null?void 0:va.user_score})),((rl=rr==null?void 0:rr.assistants_score_list)==null?void 0:rl.length)>0&&((Bs=rr==null?void 0:rr.assistants_score_list)==null||Bs.forEach((va,Wt)=>{$s[0][`score${Wt}`]=va==null?void 0:va.score,$s[1][`score${Wt}`]=va==null?void 0:va.user_score})),((ka=rr==null?void 0:rr.anonymous_comment_score_list)==null?void 0:ka.length)>0&&((Nl=rr==null?void 0:rr.anonymous_comment_score_list)==null||Nl.forEach((va,Wt)=>{va!=null&&va.old_score?(fr[0][`score${Wt}`]=va==null?void 0:va.old_score,fr[0][`old_score${Wt}`]=va==null?void 0:va.score):(fr[0][`score${Wt}`]=va==null?void 0:va.score,fr[0][`old_score${Wt}`]=va==null?void 0:va.old_score),fr[1][`score${Wt}`]=va==null?void 0:va.user_score})),Na({teacherList:rr!=null&&rr.single_score?[js[0]]:js,assistantsList:rr!=null&&rr.single_score?[$s[0]]:$s,anonymousCommentList:rr!=null&&rr.single_score?[fr[0]]:fr})}},[rr,_t==null?void 0:_t.open]),se.createElement(Ie.default,pr({},pr({title:"\u5F97\u5206\u8BE6\u60C5",centered:!0,width:1200,bodyStyle:{maxHeight:"80vh"}},_t)),se.createElement(ur,{className:"mt0",dataInfo:rr,isShowButton:!1}),se.createElement("div",{className:`${zt.ScoreDetailsBase} flex flex-col gap-20px`},((Vr=rr==null?void 0:rr.teacher_score_list)==null?void 0:Vr.length)>0&&se.createElement("div",{className:"flex"},se.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u6559\u5E08\u8BC4\u5206"),se.createElement(ht.default,{className:"flex-1",style:{minWidth:0},bordered:!0,dataSource:ro==null?void 0:ro.teacherList,pagination:!1,scroll:{x:"max-content"},columns:[...((rr==null?void 0:rr.teacher_score_list)||[]).map((Ho,Bo)=>Ia(Ho,Bo)),{title:`\u6700\u7EC8\u5F97\u5206\uFF08${(rr==null?void 0:rr.teacher_mode)===1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206"}\uFF09`,dataIndex:"value",align:"center",width:224,fixed:"right",render:Ho=>se.createElement("span",{style:{color:"#009C0F"}},rr==null?void 0:rr.teacher_score),onCell:(Ho,Bo)=>({rowSpan:Bo%2==0?2:0})}]})),((Jr=rr==null?void 0:rr.assistants_score_list)==null?void 0:Jr.length)>0&&se.createElement("div",{className:"flex"},se.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u52A9\u6559\u8BC4\u5206"),se.createElement(ht.default,{className:"flex-1",style:{minWidth:0},bordered:!0,dataSource:(ro==null?void 0:ro.assistantsList)||[],pagination:!1,scroll:{x:"max-content"},columns:[...((rr==null?void 0:rr.assistants_score_list)||[]).map((Ho,Bo)=>Ia(Ho,Bo)),{title:`\u6700\u7EC8\u5F97\u5206\uFF08${(rr==null?void 0:rr.ta_mode)===1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206"}\uFF09`,dataIndex:"value",align:"center",width:224,fixed:"right",render:Ho=>se.createElement("span",{style:{color:"#009C0F"}},rr==null?void 0:rr.teaching_asistant_score),onCell:(Ho,Bo)=>({rowSpan:Bo%2==0?2:0})}]})),(rr==null?void 0:rr.anonymous_comment)&&((jr=rr==null?void 0:rr.anonymous_comment_score_list)==null?void 0:jr.length)>0&&se.createElement("div",{className:"flex"},se.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u533F\u8BC4\u8BC4\u5206"),se.createElement(ht.default,{className:"flex-1",style:{minWidth:0},bordered:!0,dataSource:(ro==null?void 0:ro.anonymousCommentList)||[],pagination:!1,scroll:{x:"max-content"},columns:[...((rr==null?void 0:rr.anonymous_comment_score_list)||[]).map((Ho,Bo)=>Ia(Ho,Bo,"anonymous_comment")),{title:"\u6700\u7EC8\u5F97\u5206\uFF08\u53D6\u5E73\u5747\u5206\uFF09",dataIndex:"value",align:"center",width:224,fixed:"right",render:Ho=>se.createElement("span",{style:{color:"#009C0F"}}," ",rr==null?void 0:rr.student_score),onCell:(Ho,Bo)=>({rowSpan:Bo%2==0?2:0})}]})),se.createElement("div",{className:"flex"},se.createElement("div",{className:"c-grey-333 font14 blod flex item-center justify-center",style:{background:"rgba(48,97,208,0.1)",width:60,padding:"20px 15px"}},"\u6263\u5206"),se.createElement(ht.default,{className:" flex-1",bordered:!0,dataSource:[rr],pagination:!1,columns:[{title:"\u8865\u4EA4\u6263\u5206",dataIndex:"late_penalty",align:"center"},{title:"\u67E5\u91CD\u6263\u5206",dataIndex:"repeat_minus_score",align:"center"},(rr==null?void 0:rr.anonymous_comment)&&{title:"\u7F3A\u8BC4\u6263\u5206",dataIndex:"absence_penalty",align:"center"},{title:"\u8FDD\u8BC4\u6263\u5206",dataIndex:"appeal_penalty",align:"center"},{title:"\u6700\u7EC8\u6263\u5206",dataIndex:"value",align:"center",width:224,render:(Ho,Bo)=>se.createElement("span",{style:{color:"#009C0F"}},((Bo==null?void 0:Bo.late_penalty)||0)+((Bo==null?void 0:Bo.repeat_minus_score)||0)+((Bo==null?void 0:Bo.absence_penalty)||0)+((Bo==null?void 0:Bo.appeal_penalty)||0))}].filter(Ho=>Ho)}))))},Vt=(0,Ce.connect)(Io)(Un),yt=Xn=>{var bn=Xn,{ModalProps:_t={},DataProps:Ao={},shixunHomeworks:ta,dispatch:sa}=bn,Vr=Fo(bn,["ModalProps","DataProps","shixunHomeworks","dispatch"]);const{workDetail:Jr}=ta,jr=(0,Ce.useParams)();return se.createElement(Ie.default,pr({},pr({title:"\u4F5C\u4E1A\u63CF\u8FF0",centered:!0,width:1200,bodyStyle:{maxHeight:"80vh"}},_t)),se.createElement(Xt.Z,{className:"mt10",value:(Jr==null?void 0:Jr.description)||"\u6682\u65E0\uFF5E"}),se.createElement(rt.Z,{authority:(0,ii.GJ)(),showDimensions:!1,dataSource:Jr==null?void 0:Jr.attachments,callback:()=>{sa({type:"shixunHomeworks/getWorkDetail",payload:{categoryId:jr.categoryId}})}}))},In=(0,Ce.connect)(Io)(yt);var zn=Object.defineProperty,mi=Object.getOwnPropertySymbols,Rn=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Ut=(Xn,bn,_t)=>bn in Xn?zn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,Ln=(Xn,bn)=>{for(var _t in bn||(bn={}))Rn.call(bn,_t)&&Ut(Xn,_t,bn[_t]);if(mi)for(var _t of mi(bn))bt.call(bn,_t)&&Ut(Xn,_t,bn[_t]);return Xn};const ni=Xn=>React.createElement("svg",Ln({width:13,height:12,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"4"),React.createElement("path",{d:"M2.573 1.787v.006c.018.135.324 2.394 2.146 4.04C6.597 7.53 9.481 7.66 9.481 7.66h.003c.084.001 1.985.07 3.035 3.16.033.096.074.232.123.407a.583.583 0 0 1-.563.739H3.578a.583.583 0 0 1-.584-.592c.025-1.732-.115-2.97-.421-3.714C2.057 6.405.735 5.392.038 2.183c-.04-.188-.246-1.41.997-1.578C2.277.437 2.573 1.787 2.573 1.787ZM7.876.007c1.611 0 2.917 1.371 2.917 3.063 0 1.69-1.306 3.062-2.917 3.062-1.611 0-2.917-1.37-2.917-3.062C4.96 1.379 6.265.007 7.876.007Z",fill:"#FA6400",fillRule:"nonzero"}));var Gt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNTczIDEuNzg3di4wMDZjLjAxOC4xMzUuMzI0IDIuMzk0IDIuMTQ2IDQuMDRDNi41OTcgNy41MyA5LjQ4MSA3LjY2IDkuNDgxIDcuNjZoLjAwM2MuMDg0LjAwMSAxLjk4NS4wNyAzLjAzNSAzLjE2LjAzMy4wOTYuMDc0LjIzMi4xMjMuNDA3YS41ODMuNTgzIDAgMCAxLS41NjMuNzM5SDMuNTc4YS41ODMuNTgzIDAgMCAxLS41ODQtLjU5MmMuMDI1LTEuNzMyLS4xMTUtMi45Ny0uNDIxLTMuNzE0QzIuMDU3IDYuNDA1LjczNSA1LjM5Mi4wMzggMi4xODNjLS4wNC0uMTg4LS4yNDYtMS40MS45OTctMS41NzhDMi4yNzcuNDM3IDIuNTczIDEuNzg3IDIuNTczIDEuNzg3Wk03Ljg3Ni4wMDdjMS42MTEgMCAyLjkxNyAxLjM3MSAyLjkxNyAzLjA2MyAwIDEuNjktMS4zMDYgMy4wNjItMi45MTcgMy4wNjItMS42MTEgMC0yLjkxNy0xLjM3LTIuOTE3LTMuMDYyQzQuOTYgMS4zNzkgNi4yNjUuMDA3IDcuODc2LjAwN1oiIGZpbGw9IiNGQTY0MDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",yn=Object.defineProperty,Qt=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,gn=(Xn,bn,_t)=>bn in Xn?yn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,kn=(Xn,bn)=>{for(var _t in bn||(bn={}))un.call(bn,_t)&&gn(Xn,_t,bn[_t]);if(Qt)for(var _t of Qt(bn))wn.call(bn,_t)&&gn(Xn,_t,bn[_t]);return Xn};const Bn=Xn=>React.createElement("svg",kn({width:12,height:12,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"5"),React.createElement("g",{fill:"#5E54E7",fillRule:"nonzero"},React.createElement("path",{d:"M8.477 5.651c.569 0 1.101.138 1.569.377V1.257C10.046.56 9.486 0 8.789 0H1.257C.56 0 0 .56 0 1.257v8.789c0 .697.56 1.257 1.257 1.257h4.56a3.411 3.411 0 0 1-.79-2.193 3.448 3.448 0 0 1 3.45-3.459Zm-3.138.624H2.202a.31.31 0 0 1-.312-.312.31.31 0 0 1 .312-.312h3.137a.31.31 0 0 1 .312.312.31.31 0 0 1-.312.312ZM1.257 3.138V1.88c0-.349.284-.624.624-.624h6.275c.349 0 .624.284.624.624v1.257H1.257Zm2.826 5.651H2.202a.31.31 0 0 1-.312-.312.31.31 0 0 1 .312-.312h1.88a.31.31 0 0 1 .312.312.31.31 0 0 1-.311.312Z"}),React.createElement("path",{d:"M8.477 6.275a2.827 2.827 0 0 0 0 5.652 2.827 2.827 0 0 0 0-5.652Zm1.587 4.743C10.22 8.752 8.44 9.661 8.44 9.661v.981L6.908 9.101 8.44 7.54l-.009.9c2.835.421 1.633 2.577 1.633 2.577Z"})));var Vn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzVFNTRFNyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNOC40NzcgNS42NTFjLjU2OSAwIDEuMTAxLjEzOCAxLjU2OS4zNzdWMS4yNTdDMTAuMDQ2LjU2IDkuNDg2IDAgOC43ODkgMEgxLjI1N0MuNTYgMCAwIC41NiAwIDEuMjU3djguNzg5YzAgLjY5Ny41NiAxLjI1NyAxLjI1NyAxLjI1N2g0LjU2YTMuNDExIDMuNDExIDAgMCAxLS43OS0yLjE5MyAzLjQ0OCAzLjQ0OCAwIDAgMSAzLjQ1LTMuNDU5Wm0tMy4xMzguNjI0SDIuMjAyYS4zMS4zMSAwIDAgMS0uMzEyLS4zMTIuMzEuMzEgMCAwIDEgLjMxMi0uMzEyaDMuMTM3YS4zMS4zMSAwIDAgMSAuMzEyLjMxMi4zMS4zMSAwIDAgMS0uMzEyLjMxMlpNMS4yNTcgMy4xMzhWMS44OGMwLS4zNDkuMjg0LS42MjQuNjI0LS42MjRoNi4yNzVjLjM0OSAwIC42MjQuMjg0LjYyNC42MjR2MS4yNTdIMS4yNTdabTIuODI2IDUuNjUxSDIuMjAyYS4zMS4zMSAwIDAgMS0uMzEyLS4zMTIuMzEuMzEgMCAwIDEgLjMxMi0uMzEyaDEuODhhLjMxLjMxIDAgMCAxIC4zMTIuMzEyLjMxLjMxIDAgMCAxLS4zMTEuMzEyWiIvPjxwYXRoIGQ9Ik04LjQ3NyA2LjI3NWEyLjgyNyAyLjgyNyAwIDAgMCAwIDUuNjUyIDIuODI3IDIuODI3IDAgMCAwIDAtNS42NTJabTEuNTg3IDQuNzQzQzEwLjIyIDguNzUyIDguNDQgOS42NjEgOC40NCA5LjY2MXYuOTgxTDYuOTA4IDkuMTAxIDguNDQgNy41NGwtLjAwOS45YzIuODM1LjQyMSAxLjYzMyAyLjU3NyAxLjYzMyAyLjU3N1oiLz48L2c+PC9zdmc+",Jn=Object.defineProperty,Wn=Object.getOwnPropertySymbols,gi=Object.prototype.hasOwnProperty,Fi=Object.prototype.propertyIsEnumerable,ir=(Xn,bn,_t)=>bn in Xn?Jn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,zi=(Xn,bn)=>{for(var _t in bn||(bn={}))gi.call(bn,_t)&&ir(Xn,_t,bn[_t]);if(Wn)for(var _t of Wn(bn))Fi.call(bn,_t)&&ir(Xn,_t,bn[_t]);return Xn};const tn=Xn=>React.createElement("svg",zi({width:16,height:12,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"2"),React.createElement("g",{fill:"#00B187",fillRule:"nonzero"},React.createElement("path",{d:"M2.573 1.787v.006c.018.135.324 2.394 2.146 4.04C6.597 7.53 9.481 7.66 9.481 7.66h.003c.084.001 1.985.07 3.035 3.16.033.096.074.232.123.407a.583.583 0 0 1-.563.739H3.578a.583.583 0 0 1-.584-.592c.025-1.732-.115-2.97-.421-3.714C2.057 6.405.735 5.392.038 2.183c-.04-.188-.246-1.41.997-1.578C2.277.437 2.573 1.787 2.573 1.787Z"}),React.createElement("path",{d:"M13.09 1.787v.006c-.017.135-.324 2.394-2.146 4.04C9.066 7.53 6.182 7.66 6.182 7.66h-.003c-.084.001-1.985.07-3.035 3.16a7.91 7.91 0 0 0-.122.407.583.583 0 0 0 .562.739h8.502a.583.583 0 0 0 .583-.592c-.025-1.732.116-2.97.422-3.714.515-1.255 1.837-2.268 2.534-5.477.041-.188.246-1.41-.996-1.578-1.242-.168-1.538 1.182-1.538 1.182Z"}),React.createElement("path",{d:"M7.876.007c1.611 0 2.917 1.371 2.917 3.063 0 1.69-1.306 3.062-2.917 3.062-1.611 0-2.917-1.37-2.917-3.062C4.96 1.379 6.265.007 7.876.007Z"})));var Ai="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwQjE4NyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNMi41NzMgMS43ODd2LjAwNmMuMDE4LjEzNS4zMjQgMi4zOTQgMi4xNDYgNC4wNEM2LjU5NyA3LjUzIDkuNDgxIDcuNjYgOS40ODEgNy42NmguMDAzYy4wODQuMDAxIDEuOTg1LjA3IDMuMDM1IDMuMTYuMDMzLjA5Ni4wNzQuMjMyLjEyMy40MDdhLjU4My41ODMgMCAwIDEtLjU2My43MzlIMy41NzhhLjU4My41ODMgMCAwIDEtLjU4NC0uNTkyYy4wMjUtMS43MzItLjExNS0yLjk3LS40MjEtMy43MTRDMi4wNTcgNi40MDUuNzM1IDUuMzkyLjAzOCAyLjE4M2MtLjA0LS4xODgtLjI0Ni0xLjQxLjk5Ny0xLjU3OEMyLjI3Ny40MzcgMi41NzMgMS43ODcgMi41NzMgMS43ODdaIi8+PHBhdGggZD0iTTEzLjA5IDEuNzg3di4wMDZjLS4wMTcuMTM1LS4zMjQgMi4zOTQtMi4xNDYgNC4wNEM5LjA2NiA3LjUzIDYuMTgyIDcuNjYgNi4xODIgNy42NmgtLjAwM2MtLjA4NC4wMDEtMS45ODUuMDctMy4wMzUgMy4xNmE3LjkxIDcuOTEgMCAwIDAtLjEyMi40MDcuNTgzLjU4MyAwIDAgMCAuNTYyLjczOWg4LjUwMmEuNTgzLjU4MyAwIDAgMCAuNTgzLS41OTJjLS4wMjUtMS43MzIuMTE2LTIuOTcuNDIyLTMuNzE0LjUxNS0xLjI1NSAxLjgzNy0yLjI2OCAyLjUzNC01LjQ3Ny4wNDEtLjE4OC4yNDYtMS40MS0uOTk2LTEuNTc4LTEuMjQyLS4xNjgtMS41MzggMS4xODItMS41MzggMS4xODJaIi8+PHBhdGggZD0iTTcuODc2LjAwN2MxLjYxMSAwIDIuOTE3IDEuMzcxIDIuOTE3IDMuMDYzIDAgMS42OS0xLjMwNiAzLjA2Mi0yLjkxNyAzLjA2Mi0xLjYxMSAwLTIuOTE3LTEuMzctMi45MTctMy4wNjJDNC45NiAxLjM3OSA2LjI2NS4wMDcgNy44NzYuMDA3WiIvPjwvZz48L3N2Zz4=",Bi=Object.defineProperty,Ti=Object.getOwnPropertySymbols,hr=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,br=(Xn,bn,_t)=>bn in Xn?Bi(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,Xi=(Xn,bn)=>{for(var _t in bn||(bn={}))hr.call(bn,_t)&&br(Xn,_t,bn[_t]);if(Ti)for(var _t of Ti(bn))tr.call(bn,_t)&&br(Xn,_t,bn[_t]);return Xn};const Hi=Xn=>React.createElement("svg",Xi({width:12,height:12,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"1"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M6.325 1.6a.578.578 0 0 1 .448.197c.135.176.215.387.23.608a.672.672 0 0 1 .535-.107c.497.088.628.632.653 1.043a.565.565 0 0 1 .292-.037c.699.079.686.756.68 1.046-.008.29-.248 2.06-.28 2.288.04.277.343 2.649-.851 3.6l.057.849-3.338.113v-1.168c-.27-.219-1.33-1.136-1.544-2.283a4.077 4.077 0 0 0-.475-1.201c-.277-.514-.515-.96-.114-1.436a.585.585 0 0 1 .457-.236c.608 0 1.154 1.1 1.302 1.935l.16.08-.12-3.53c0-.015-.043-.516.228-.809a.651.651 0 0 1 .493-.205h.036a.767.767 0 0 1 .375.106c.016-.233.104-.456.252-.636a.692.692 0 0 1 .524-.217Z",fill:"#EE5D5D"}),React.createElement("path",{d:"M6 0a6 6 0 1 1 0 12A6 6 0 0 1 6 0ZM2.019 2.655a5.2 5.2 0 0 0 6.472 7.91ZM6 .8a5.18 5.18 0 0 0-3.417 1.28l6.582 8.046A5.2 5.2 0 0 0 6 .8Z",fill:"#E30000"})));var Ir="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNNi4zMjUgMS42YS41NzguNTc4IDAgMCAxIC40NDguMTk3Yy4xMzUuMTc2LjIxNS4zODcuMjMuNjA4YS42NzIuNjcyIDAgMCAxIC41MzUtLjEwN2MuNDk3LjA4OC42MjguNjMyLjY1MyAxLjA0M2EuNTY1LjU2NSAwIDAgMSAuMjkyLS4wMzdjLjY5OS4wNzkuNjg2Ljc1Ni42OCAxLjA0Ni0uMDA4LjI5LS4yNDggMi4wNi0uMjggMi4yODguMDQuMjc3LjM0MyAyLjY0OS0uODUxIDMuNmwuMDU3Ljg0OS0zLjMzOC4xMTN2LTEuMTY4Yy0uMjctLjIxOS0xLjMzLTEuMTM2LTEuNTQ0LTIuMjgzYTQuMDc3IDQuMDc3IDAgMCAwLS40NzUtMS4yMDFjLS4yNzctLjUxNC0uNTE1LS45Ni0uMTE0LTEuNDM2YS41ODUuNTg1IDAgMCAxIC40NTctLjIzNmMuNjA4IDAgMS4xNTQgMS4xIDEuMzAyIDEuOTM1bC4xNi4wOC0uMTItMy41M2MwLS4wMTUtLjA0My0uNTE2LjIyOC0uODA5YS42NTEuNjUxIDAgMCAxIC40OTMtLjIwNWguMDM2YS43NjcuNzY3IDAgMCAxIC4zNzUuMTA2Yy4wMTYtLjIzMy4xMDQtLjQ1Ni4yNTItLjYzNmEuNjkyLjY5MiAwIDAgMSAuNTI0LS4yMTdaIiBmaWxsPSIjRUU1RDVEIi8+PHBhdGggZD0iTTYgMGE2IDYgMCAxIDEgMCAxMkE2IDYgMCAwIDEgNiAwWk0yLjAxOSAyLjY1NWE1LjIgNS4yIDAgMCAwIDYuNDcyIDcuOTFaTTYgLjhhNS4xOCA1LjE4IDAgMCAwLTMuNDE3IDEuMjhsNi41ODIgOC4wNDZBNS4yIDUuMiAwIDAgMCA2IC44WiIgZmlsbD0iI0UzMDAwMCIvPjwvZz48L3N2Zz4=",Ht=oe(59301),Kr=Object.defineProperty,Fn=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,Go=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,Do=(Xn,bn,_t)=>bn in Xn?Kr(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,Ji=(Xn,bn)=>{for(var _t in bn||(bn={}))Dr.call(bn,_t)&&Do(Xn,_t,bn[_t]);if(Go)for(var _t of Go(bn))po.call(bn,_t)&&Do(Xn,_t,bn[_t]);return Xn},or=(Xn,bn)=>Fn(Xn,kr(bn)),io=(Xn,bn)=>{var _t={};for(var Ao in Xn)Dr.call(Xn,Ao)&&bn.indexOf(Ao)<0&&(_t[Ao]=Xn[Ao]);if(Xn!=null&&Go)for(var Ao of Go(Xn))bn.indexOf(Ao)<0&&po.call(Xn,Ao)&&(_t[Ao]=Xn[Ao]);return _t},Gr=(Xn,bn,_t)=>new Promise((Ao,ta)=>{var sa=jr=>{try{Jr(_t.next(jr))}catch(rr){ta(rr)}},Vr=jr=>{try{Jr(_t.throw(jr))}catch(rr){ta(rr)}},Jr=jr=>jr.done?Ao(jr.value):Promise.resolve(jr.value).then(sa,Vr);Jr((_t=_t.apply(Xn,bn)).next())});const Ii=Xn=>{var bn=Xn,{Data:_t,layer:Ao=1,type:ta,index:sa=0,newType:Vr,user:Jr,showName:jr,showNm:rr}=bn,ro=io(bn,["Data","layer","type","index","newType","user","showName","showNm"]),Na,Ia,Ho,Bo,rl,Bs,ka,Nl,js,$s,fr,va,Wt,di,Ns,ps,cl;const Os=(0,Ce.useParams)(),{studentWorkDetail:nu}=ro==null?void 0:ro.shixunHomeworks,[hu,Vu]=(0,se.useState)({type:0,show:!1}),[rs,Eo]=(0,se.useState)(null),[,Fa,Fr]=(0,Zt.U)(ke.qP,{userId:Os==null?void 0:Os.userId}),[,za,qo]=(0,Zt.U)(ke.R$,{userId:Os==null?void 0:Os.userId}),[,ol,Zi]=(0,Zt.U)(ke.QC,{userId:Os==null?void 0:Os.userId}),[,oo,iu]=(0,Zt.U)(ke.Mf,{userId:Os==null?void 0:Os.userId}),[,Sl,_c,Xo]=(0,Zt.U)(ke.Am,{homeworkId:Os==null?void 0:Os.userId}),[,Bl,Ma,Ka]=(0,Zt.U)(ke.oK,{}),[ms,os]=(0,se.useState)(!1),[ya]=we.default.useForm(),[Ku]=we.default.useForm(),[xo]=we.default.useForm(),[Gc,pa]=(0,se.useState)(!1),[ah,ru]=(0,se.useState)(!1),jl=(Ea=_t)=>{Ie.default.confirm({title:"\u662F\u5426\u786E\u8BA4\u5220\u9664?",centered:!0,onOk:()=>Gr(void 0,null,function*(){(yield Zi({score_id:Ea==null?void 0:Ea.comment_id})).status===0&&(De.ZP.success("\u5220\u9664\u6210\u529F"),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})})},Td=(Ea=_t)=>{Ie.default.confirm({title:"\u662F\u5426\u786E\u8BA4\u5220\u9664?",centered:!0,onOk:()=>Gr(void 0,null,function*(){(yield iu({object_id:Ea.id,object_type:"journals_for_message"})).status===0&&(De.ZP.success("\u5220\u9664\u6210\u529F"),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})})},zl=(Ea,zs)=>{let da="";for(let kl=0;kl<(Ea==null?void 0:Ea.length);kl++){const Yu=Ea[kl];zs!=null&&zs.old_score?da+=`${Yu.name} ${Yu.score}\u5206 `:da+=`${Yu.name} ${Yu.score}\u5206 `,kl<(Ea==null?void 0:Ea.length)-1&&(zs!=null&&zs.old_score?da+=' + ':da+=" + ")}return Ht.createElement("span",{dangerouslySetInnerHTML:{__html:da}})};return Ht.createElement("div",{className:Ao==1&&ct.new_style_box,style:Vr&&{background:"#FCF8F4",border:"none"}},Ht.createElement(Ft.Z,{wrap:!1,gutter:15,className:Ao!=1&&ct.box_child,style:Vr&&{marginTop:"0px"}},ta=="appeal_info"?Ht.createElement(Ot.Z,{flex:1},Ht.createElement("div",{className:ct.box_item_top},Ht.createElement(et.Z,{title:jr?(Na=_t==null?void 0:_t.appeal_info)==null?void 0:Na.user_name:""},Ht.createElement("span",{style:{color:jr?"#3061D0":"#333333",fontWeight:600}},rr?"\u533F\u540D":(Ia=_t==null?void 0:_t.appeal_info)==null?void 0:Ia.user_name)),(_t==null?void 0:_t.appeal_status)==1&&Ht.createElement("span",{className:ct.tagStyleSzz,style:{color:"#CF5300",border:"1px solid rgba(250,100,0,0.2)",background:"rgba(250,100,0,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},Ht.createElement("img",{src:Gt,className:"mr5"}),"\u7533\u8BC9\u4E2D"),(_t==null?void 0:_t.appeal_status)==2&&Ht.createElement("span",{className:ct.tagStyleSzz,style:{color:"#4237E7",border:"1px solid rgba(94,84,231,0.2)",background:"rgba(94,84,231,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},Ht.createElement("img",{src:Vn,className:"mr5"}),"\u7533\u8BC9\u5DF2\u64A4\u9500"),(_t==null?void 0:_t.appeal_status)==3&&Ht.createElement("span",{className:ct.tagStyleSzz,style:{color:"#00B187",border:"1px rgba(0,177,135,0.2) solid",background:"rgba(0,177,135,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},Ht.createElement("img",{src:Ai,className:"mr5"}),"\u7533\u8BC9\u6210\u529F"),(_t==null?void 0:_t.appeal_status)==4&&Ht.createElement("span",{className:ct.tagStyleSzz,style:{color:"#E30000",border:"1px solid rgba(227,0,0,0.2)",background:"rgba(227,0,0,0.1)",display:"flex",alignItems:"center",padding:"0 5px",marginLeft:"10px"}},Ht.createElement("img",{src:Ir,className:"mr5"}),"\u7533\u8BC9\u88AB\u62D2\u7EDD")),Ht.createElement(Xt.Z,{className:"font14 mt10",value:`${((Ho=_t==null?void 0:_t.appeal_info)==null?void 0:Ho.content)||"\u6682\u672A\u5199\u8BC4\u8BED"}`})):Ht.createElement(Ot.Z,{flex:1},Ht.createElement("div",{className:ct.box_item_top},Ht.createElement(et.Z,{title:jr?(Bo=_t==null?void 0:_t.user_info)==null?void 0:Bo.user_name:""},Ht.createElement("span",{style:{color:jr?"#3061D0":"#333333",fontWeight:600}},rr?"\u533F\u540D":(rl=_t==null?void 0:_t.user_info)==null?void 0:rl.user_name)),(_t==null?void 0:_t.student_work_num)&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{style:{padding:"3px 8px",background:(_t==null?void 0:_t.student_work_num)==1?"#5A9781":"#FFD28D",color:(_t==null?void 0:_t.student_work_num)==1?"#FFFFFF":"#AC4C0C",fontSize:"12px",borderRadius:"2px"}},"\u7B2C ",_t==null?void 0:_t.student_work_num," \u6B21\u63D0\u4EA4\u7684\u4F5C\u4E1A")),((_t==null?void 0:_t.score)||(_t==null?void 0:_t.score)==0)&&(nu==null?void 0:nu.single_score)&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{style:{color:_t!=null&&_t.anonymous_exception?"#E30000":_t!=null&&_t.old_score?"#999999":"#009C0F",fontWeight:600,marginLeft:"-7px"}}," ",(_t==null?void 0:_t.old_score)||(_t==null?void 0:_t.score),"\u5206 ",(_t==null?void 0:_t.old_score)&&"\uFF08\u5DF2\u5931\u6548\uFF09")),ta!="feedback"&&(Ao==1&&!(_t!=null&&_t.can_reply)||!(_t!=null&&_t.can_reply)&&ta=="teacher"&&sa!=0)&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{className:"c-light-black"},"\uFF08\u5DF2\u5931\u6548\uFF09")),!(nu!=null&&nu.single_score)&&(_t==null?void 0:_t.score)!==null&&Ht.createElement("div",{style:{color:"#333333"}},Ht.createElement(et.Z,{title:((Bs=_t==null?void 0:_t.score_details)==null?void 0:Bs.length)>0?zl(_t==null?void 0:_t.score_details,_t):"",overlayInnerStyle:{width:"min-content",whiteSpace:"nowrap",overflow:"visible"},placement:"topLeft"},Ht.createElement("div",{style:{display:"flex",alignItems:"center"}},((_t==null?void 0:_t.score)||(_t==null?void 0:_t.score)==0)&&Ht.createElement("span",{style:{color:_t!=null&&_t.anonymous_exception?"#E30000":_t!=null&&_t.old_score?"#999999":"#009C0F",fontWeight:600,marginRight:"5px"}},(_t==null?void 0:_t.old_score)||(_t==null?void 0:_t.score),"\u5206 ",(_t==null?void 0:_t.old_score)&&"\uFF08\u5DF2\u5931\u6548\uFF09"),((ka=_t==null?void 0:_t.score_details)==null?void 0:ka.length)>0&&Ht.createElement("div",{className:ct.left,style:{width:"480px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},"= ",zl(_t==null?void 0:_t.score_details,_t))))),(_t==null?void 0:_t.anonymous_exception)&&Ht.createElement("div",{className:ct.yichang,style:{marginLeft:((Nl=_t==null?void 0:_t.score_details)==null?void 0:Nl.length)>0&&"10px"}},Ht.createElement("i",{className:"iconfont icon-tishi12",style:{fontSize:"11px",marginRight:"3px"}}),"\u8BC4\u5206\u5F02\u5E38")),Ht.createElement(Xt.Z,{className:"font14 mt10",value:`${(_t==null?void 0:_t.content)||(_t==null?void 0:_t.hidden_comment)||"\u6682\u672A\u5199\u8BC4\u8BED"}`}),((js=_t==null?void 0:_t.attachments)==null?void 0:js.length)>0&&Ht.createElement("div",{className:"mt10",style:{display:"flex",flexDirection:"column",gap:10}},($s=_t==null?void 0:_t.attachments)==null?void 0:$s.map((Ea,zs)=>Ht.createElement("a",{key:zs,href:`${Ne.Z.API_SERVER}${Ea.url}`},Ht.createElement("i",{className:"iconfont icon-fujian font14"}),Ht.createElement("span",{className:"ml10"},Ea==null?void 0:Ea.title),Ht.createElement("span",{className:"c-light-black ml20 font12"},Ea==null?void 0:Ea.filesize))))),ta!="feedback"&&Ht.createElement(Ht.Fragment,null,ta=="appeal_info"?Ht.createElement(Ot.Z,{style:{whiteSpace:"nowrap"}},Ht.createElement(Ft.Z,{wrap:!1,gutter:10},(_t==null?void 0:_t.delete)&&(_t==null?void 0:_t.can_appeal)&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{className:ct.text_style,onClick:()=>{Ie.default.confirm({centered:!0,title:Ht.createElement("div",null,"\u64A4\u9500\u7533\u8BC9\u540E\uFF0C\u65E0\u6CD5\u518D\u5BF9\u672C\u8BC4\u9605\u8BB0\u5F55\u8FDB\u884C\u7533\u8BC9",Ht.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u64A4\u9500\u7533\u8BC9"),onOk:()=>Gr(void 0,null,function*(){ro!=null&&ro.getInitData&&(ro==null||ro.getInitData())})})}},"\u64A4\u9500\u7533\u8BC9")),(_t==null?void 0:_t.appeal_status)==1&&(0,ii.GJ)()&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{className:ct.text_style,style:{marginRight:"10pz"},onClick:()=>{pa(!0)}},"\u63A5\u53D7\u7533\u8BC9")),(_t==null?void 0:_t.appeal_status)==1&&(0,ii.GJ)()&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{className:ct.text_style_red,onClick:()=>{Ie.default.confirm({centered:!0,title:Ht.createElement("div",null,"\u6B64\u533F\u8BC4\u6210\u7EE9\u5C06\u88AB\u8BA4\u4E3A\u5408\u7406",Ht.createElement("br",null),"\u662F\u5426\u786E\u8BA4\u62D2\u7EDD\u7533\u8BC9"),onOk:()=>Gr(void 0,null,function*(){const Ea=yield(0,ee.ZP)(`/api/student_works/${Os.userId}/deal_appeal_score.json`,{method:"post",body:{score_id:_t==null?void 0:_t.score_id,status:4}});(Ea==null?void 0:Ea.status)===0&&ro!=null&&ro.getInitData&&(ro==null||ro.getInitData())})})}},"\u62D2\u7EDD\u7533\u8BC9")))):Ht.createElement(Ht.Fragment,null,(Ao==1||ta=="teacher")&&Ht.createElement(Ot.Z,{style:{whiteSpace:"nowrap"}},Ht.createElement(Ft.Z,{wrap:!1,gutter:10},((_t==null?void 0:_t.delete)||((fr=Jr==null?void 0:Jr.userInfo)==null?void 0:fr.user_id)==(_t==null?void 0:_t.user_id))&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{className:ct.text_style,onClick:()=>{var Ea;os(!0),Ku.setFieldsValue(or(Ji({},_t),{comment:_t==null?void 0:_t.content,score_details:((Ea=_t==null?void 0:_t.score_details)==null?void 0:Ea.map(zs=>Ji({},zs)))||[]}))}},"\u7F16\u8F91")),(_t==null?void 0:_t.is_invalid)&&(_t==null?void 0:_t.delete)&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{className:ct.text_style,onClick:()=>{jl(_t)}},"\u5220\u9664")),(_t==null?void 0:_t.can_appeal)&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{className:ct.text_style,onClick:()=>{Vu({type:1,show:!0})}},"\u7533\u8BC9")),(_t==null?void 0:_t.can_reply)&&Ht.createElement(Ot.Z,null,Ht.createElement("span",{className:ct.text_style,onClick:()=>{Vu({type:0,show:!0})}},"\u56DE\u590D")))),Ao!=1&&((_t==null?void 0:_t.can_delete)&&ta!="teacher"||((va=Jr==null?void 0:Jr.userInfo)==null?void 0:va.user_id)==((Wt=_t==null?void 0:_t.user_info)==null?void 0:Wt.user_id))&&Ht.createElement("span",{className:ct.text_style,style:{marginRight:"8px"},onClick:()=>{ru(!0),xo.setFieldsValue(Ji({},_t))}},"\u7F16\u8F91"),Ao!=1&&(_t==null?void 0:_t.can_delete)&&ta!="teacher"&&Ht.createElement("span",{className:ct.text_style,onClick:()=>{Td(_t)}},"\u5220\u9664"))),Ao!=1&&(_t==null?void 0:_t.old_score)&&Ht.createElement("span",{style:{color:"#009C0F"}},"\u6559\u5E08\u533F\u8BC4\u8865\u5206\uFF1A",_t==null?void 0:_t.score,"\u5206")),Ao==1&&(_t==null?void 0:_t.appeal_info)&&(_t==null?void 0:_t.appeal_info)!=""&&Ht.createElement("div",{className:"mt20",style:{display:"flex",flexDirection:"column",gap:"20px"}},Ht.createElement(Ii,Ji({type:"appeal_info",Data:_t,layer:Ao+1},ro))),Ao==1&&((di=_t==null?void 0:_t.journals)==null?void 0:di.length)>0&&Ht.createElement("div",{className:"mt20",style:{display:"flex",flexDirection:"column",gap:"20px"}},(Ns=_t==null?void 0:_t.journals)==null?void 0:Ns.map((Ea,zs)=>Ht.createElement(Ii,Ji({key:zs,type:ta,Data:Ea,layer:Ao+1},ro)))),(hu==null?void 0:hu.show)&&Ht.createElement("div",{className:"mt20",style:{marginLeft:"56px"}},Ht.createElement(ne.Z,{height:150,isFocus:!0,watch:!0,onChange:Ea=>{Eo(Ea)}}),Ht.createElement(Ft.Z,{align:"middle",justify:"end",gutter:20},Ht.createElement(Ot.Z,null,Ht.createElement(Ke.ZP,{onClick:()=>{Vu({type:0,show:!1})}},"\u53D6\u6D88")),Ht.createElement(Ot.Z,null,Ht.createElement(Ke.ZP,{loading:Fa||za,type:"primary",onClick:()=>Gr(void 0,null,function*(){if(rs===""){De.ZP.error("\u8BF7\u8F93\u5165\u5185\u5BB9");return}let Ea;ta=="teacher"?Ea=(yield hu==null?void 0:hu.type)==0?Fr({hidden_comment:rs,score_id:_t==null?void 0:_t.score_id}):qo({comment:rs,score_id:_t==null?void 0:_t.score_id}):Ea=yield((hu==null?void 0:hu.type)==0?Fr:qo)({comment:rs,score_id:_t==null?void 0:_t.score_id}),Ea.status===0&&(De.ZP.success("\u64CD\u4F5C\u6210\u529F"),Vu({type:0,show:!1}),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})},(hu==null?void 0:hu.type)==0?"\u56DE\u590D":"\u7533\u8BC9")))),Ht.createElement(Ie.default,{title:"\u63A5\u53D7\u7533\u8BC9",open:Gc,centered:!0,destroyOnClose:!0,onCancel:()=>{pa(!1)},maskClosable:!1,width:544,onOk:()=>{ya.submit()}},Ht.createElement(we.default,{form:ya,colon:!1,onFinish:Ea=>Gr(void 0,null,function*(){(yield(0,ee.ZP)(`/api/student_works/${Os.userId}/deal_appeal_score.json`,{method:"post",body:or(Ji({},Ea),{userId:Os.userId,score_id:_t==null?void 0:_t.score_id,status:3})})).status===0&&(pa(!1),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})},Ht.createElement("div",{style:{color:"#191919"}},"\u786E\u8BA4\u662F\u5426\u63A5\u53D7\u7533\u8BC9\uFF1F\u4E00\u65E6\u63A5\u53D7\uFF0C\u88AB\u7533\u8BC9\u7684\u8BC4\u5206\u8BB0\u5F55\u5C06\u4F5C\u5E9F\u3002\u8BF7\u60A8\u8865\u5145\u533F\u8BC4\u8BC4\u5206\uFF1A"),Ht.createElement(ft.Z,{style:{marginTop:"20px"},colon:!1,items:[{key:"1",label:"\u7533\u8BC9\u4EBA",children:Ht.createElement("span",null,(ps=_t==null?void 0:_t.appeal_info)==null?void 0:ps.user_name)},{key:"2",label:"\u88AB\u7533\u8BC9\u4EBA",children:Ht.createElement("span",{style:{color:"#191919"}},(cl=_t==null?void 0:_t.user_info)==null?void 0:cl.user_name)},{key:"3",label:"\u88AB\u7533\u8BC9\u4EBA\u8BC4\u5206",children:Ht.createElement("span",{style:{color:"#191919"}},_t==null?void 0:_t.score)}]}),Ht.createElement(Ft.Z,{className:"mt20",wrap:!1},Ht.createElement(Ot.Z,null,Ht.createElement(we.default.Item,{label:"\u533F\u8BC4\u5206\u6570",name:"score",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u6570"}]},Ht.createElement(Te.Z,{min:1,max:100,step:1}))),Ht.createElement(Ot.Z,null,Ht.createElement("span",{className:"ml10",style:{lineHeight:"30px"}},"\u5206")),Ht.createElement(Ot.Z,null,Ht.createElement(we.default.Item,{className:"ml20",valuePropName:"checked",name:"is_appeal_penalty",initialValue:!0},Ht.createElement(tt.default,null,"\u6263\u9664\u8FDD\u89C4\u533F\u8BC4\u5206\u6570")))))),Ht.createElement(Ie.default,{title:"\u7F16\u8F91\u56DE\u590D",width:800,centered:!0,open:ah,confirmLoading:Bl,onCancel:()=>{ru(!1)},onOk:()=>{xo.submit()}},Ht.createElement(we.default,{form:xo,colon:!1,onFinish:Ea=>Gr(void 0,null,function*(){const zs=yield Ma(Ji({},Ea));(zs==null?void 0:zs.status)===0&&(De.ZP.success("\u4FEE\u6539\u6210\u529F"),ru(!1),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()))})},Ht.createElement(we.default.Item,{hidden:!0,name:"id",label:"\u8FD9\u4E2A\u662F\u7528\u6765\u6536\u96C6score_id\u7684"}),Ht.createElement(we.default.Item,{name:"content",label:"\u8BC4\u8BED"},Ht.createElement(Ge.h,{height:200,scrollId:"notes",placeholder:"\u8BF7\u5728\u6B64\u8F93\u5165\u5BF9\u672C\u4F5C\u54C1\u7684\u8BC4\u8BED\uFF0C\u6700\u5927\u9650\u52362000\u4E2A\u5B57\u7B26"})))),Ht.createElement(On,{DataProps:{disabledScore:Vr=="teacher"},FormProps:{form:Ku,onFinish:(...Ea)=>Gr(void 0,[...Ea],function*(zs={}){const da=yield _c(or(Ji({},zs),{homeworkId:Os==null?void 0:Os.userId}));(da==null?void 0:da.status)===0&&(De.ZP.success("\u4FEE\u6539\u6210\u529F"),os(!1),ro!=null&&ro.getInitData&&(ro==null||ro.getInitData()),ro!=null&&ro.updateData&&(ro==null||ro.updateData()))})},ModalProps:{open:ms,onCancel:()=>{os(!1),Ku.resetFields()},onOk:()=>{Ku.submit()},confirmLoading:Sl}}))};var lt=(0,Ce.connect)(({user:Xn})=>({user:Xn}))(Ii),Rr=Object.defineProperty,Ko=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable,Mr=(Xn,bn,_t)=>bn in Xn?Rr(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,mr=(Xn,bn)=>{for(var _t in bn||(bn={}))Yr.call(bn,_t)&&Mr(Xn,_t,bn[_t]);if(Ko)for(var _t of Ko(bn))yo.call(bn,_t)&&Mr(Xn,_t,bn[_t]);return Xn};const co=Xn=>React.createElement("svg",mr({width:18,height:18,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u4F5C\u4E1A\u63D0\u4EA4\u5185\u5BB9"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M9 0C4.032 0 0 4.032 0 9s4.032 9 9 9 9-4.032 9-9-4.032-9-9-9Z",fill:"#009CDC"}),React.createElement("path",{d:"M11.511 5H5.956a.954.954 0 0 0-.952.951v6.032c0 .524.428.952.952.952h5.555a.954.954 0 0 0 .952-.952V5.951A.954.954 0 0 0 11.511 5ZM6.607 6.881h2.58a.34.34 0 0 1 0 .68h-2.58a.34.34 0 0 1 0-.68Zm1.603 4.17H6.608a.34.34 0 0 1 0-.68H8.21a.34.34 0 0 1 0 .68Zm2.445-1.744H6.607a.34.34 0 0 1 0-.68h4.048a.34.34 0 0 1 0 .68Z",fill:"#FFF"})));var Uo="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNOSAwQzQuMDMyIDAgMCA0LjAzMiAwIDlzNC4wMzIgOSA5IDkgOS00LjAzMiA5LTktNC4wMzItOS05LTlaIiBmaWxsPSIjMDA5Q0RDIi8+PHBhdGggZD0iTTExLjUxMSA1SDUuOTU2YS45NTQuOTU0IDAgMCAwLS45NTIuOTUxdjYuMDMyYzAgLjUyNC40MjguOTUyLjk1Mi45NTJoNS41NTVhLjk1NC45NTQgMCAwIDAgLjk1Mi0uOTUyVjUuOTUxQS45NTQuOTU0IDAgMCAwIDExLjUxMSA1Wk02LjYwNyA2Ljg4MWgyLjU4YS4zNC4zNCAwIDAgMSAwIC42OGgtMi41OGEuMzQuMzQgMCAwIDEgMC0uNjhabTEuNjAzIDQuMTdINi42MDhhLjM0LjM0IDAgMCAxIDAtLjY4SDguMjFhLjM0LjM0IDAgMCAxIDAgLjY4Wm0yLjQ0NS0xLjc0NEg2LjYwN2EuMzQuMzQgMCAwIDEgMC0uNjhoNC4wNDhhLjM0LjM0IDAgMCAxIDAgLjY4WiIgZmlsbD0iI0ZGRiIvPjwvZz48L3N2Zz4=",ao=Object.defineProperty,ra=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,xr=(Xn,bn,_t)=>bn in Xn?ao(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,fi=(Xn,bn)=>{for(var _t in bn||(bn={}))gr.call(bn,_t)&&xr(Xn,_t,bn[_t]);if(ra)for(var _t of ra(bn))Qi.call(bn,_t)&&xr(Xn,_t,bn[_t]);return Xn};const bo=Xn=>React.createElement("svg",fi({width:70,height:24,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u5F85\u8BC4\u9605"),React.createElement("path",{d:"m70 0-6.146 11.936L70 24H0V0h70ZM40.992 5.229H31.7v1.646h3.768v5.83H31.21v1.663h4.258v5.796h1.724v-5.796h4.325v-1.663h-4.325v-5.83h3.801V5.23Zm4.157 2.167h-1.724v12.768h1.724V7.396Zm-32.34.958c-.845 1.848-2.112 3.46-3.802 4.821l.524 1.663a27.003 27.003 0 0 0 1.656-1.41v6.618h1.706v-8.55a12.713 12.713 0 0 0 1.42-2.437l-1.504-.705Zm44.793-3.142h-8.01v1.613h6.286v10.953c0 .47-.152.706-.44.706l-.658-.034c.186-.37.32-1.008.405-1.932l-1.487-.47c-.05.706-.135 1.126-.253 1.26a.506.506 0 0 1-.422.218h-.305c-.22 0-.32-.134-.32-.386v-1.966h1.672V10.32h-1.487c.406-.672.794-1.411 1.132-2.234l-1.656-.588a23.536 23.536 0 0 1-1.165 2.822H49l1.217-.605c-.406-.739-.811-1.428-1.25-2.032l-1.47.705c.439.571.861 1.21 1.25 1.932h-1.842v4.855h1.538c-.237 1.31-1.183 2.235-2.856 2.806l.913 1.445c2.06-.89 3.21-2.302 3.446-4.25h.913v2.301c0 1.042.456 1.58 1.368 1.58h1.082c.49 0 .878-.102 1.149-.27l.32 1.26h1.015c1.2 0 1.808-.588 1.808-1.764V5.212Zm-35.095 6.3H20.75v1.058h-6.353v1.63h6.353v3.394c0 .537-.253.823-.76.823-.676 0-1.403-.034-2.18-.101l.406 1.663h2.399c1.25 0 1.892-.655 1.892-1.949V14.2h1.775v-1.63h-1.775v-1.058Zm7.317-1.949h-4.022v1.68h2.315v5.964c0 .353-.152.655-.44.907l.66 1.58a25.152 25.152 0 0 0 3.328-2.672l-.49-1.848c-.473.47-.929.908-1.351 1.294V9.563Zm-13.146 4.973-1.369.857c.88.924 1.589 1.764 2.113 2.52l1.368-.958c-.49-.705-1.2-1.512-2.112-2.419Zm35.787-2.806v2.033h-3.97V11.73h3.97Zm-19.11-4.233L31.851 8a28.8 28.8 0 0 1 1.2 4.099l1.504-.37a35.374 35.374 0 0 0-1.2-4.233Zm5.796-.05c-.355 1.646-.76 3.023-1.234 4.099l1.47.52c.524-1.21.963-2.604 1.301-4.216l-1.537-.404ZM20.226 4.573H18.52V6.22h-3.565v1.596h3.565v1.596h-4.174v1.613h10.172V9.412h-4.292V7.816h3.6V6.22h-3.6V4.574Zm-8.025-.101c-.727 1.562-1.842 2.923-3.346 4.065l.524 1.68c2.061-1.512 3.497-3.175 4.342-5.023l-1.52-.722Zm16 .235-1.25 1.21c1.2.873 2.13 1.696 2.771 2.47L30.94 7.16a23.623 23.623 0 0 0-2.737-2.453Zm18.283-.269-1.606.706A15.91 15.91 0 0 1 46.686 7.9l1.572-.806a14.573 14.573 0 0 0-1.774-2.655Z",fill:"#FA6400",fillRule:"nonzero"}));var ua="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTcwIDAtNi4xNDYgMTEuOTM2TDcwIDI0SDBWMGg3MFpNNDAuOTkyIDUuMjI5SDMxLjd2MS42NDZoMy43Njh2NS44M0gzMS4yMXYxLjY2M2g0LjI1OHY1Ljc5NmgxLjcyNHYtNS43OTZoNC4zMjV2LTEuNjYzaC00LjMyNXYtNS44M2gzLjgwMVY1LjIzWm00LjE1NyAyLjE2N2gtMS43MjR2MTIuNzY4aDEuNzI0VjcuMzk2Wm0tMzIuMzQuOTU4Yy0uODQ1IDEuODQ4LTIuMTEyIDMuNDYtMy44MDIgNC44MjFsLjUyNCAxLjY2M2EyNy4wMDMgMjcuMDAzIDAgMCAwIDEuNjU2LTEuNDF2Ni42MThoMS43MDZ2LTguNTVhMTIuNzEzIDEyLjcxMyAwIDAgMCAxLjQyLTIuNDM3bC0xLjUwNC0uNzA1Wm00NC43OTMtMy4xNDJoLTguMDF2MS42MTNoNi4yODZ2MTAuOTUzYzAgLjQ3LS4xNTIuNzA2LS40NC43MDZsLS42NTgtLjAzNGMuMTg2LS4zNy4zMi0xLjAwOC40MDUtMS45MzJsLTEuNDg3LS40N2MtLjA1LjcwNi0uMTM1IDEuMTI2LS4yNTMgMS4yNmEuNTA2LjUwNiAwIDAgMS0uNDIyLjIxOGgtLjMwNWMtLjIyIDAtLjMyLS4xMzQtLjMyLS4zODZ2LTEuOTY2aDEuNjcyVjEwLjMyaC0xLjQ4N2MuNDA2LS42NzIuNzk0LTEuNDExIDEuMTMyLTIuMjM0bC0xLjY1Ni0uNTg4YTIzLjUzNiAyMy41MzYgMCAwIDEtMS4xNjUgMi44MjJINDlsMS4yMTctLjYwNWMtLjQwNi0uNzM5LS44MTEtMS40MjgtMS4yNS0yLjAzMmwtMS40Ny43MDVjLjQzOS41NzEuODYxIDEuMjEgMS4yNSAxLjkzMmgtMS44NDJ2NC44NTVoMS41MzhjLS4yMzcgMS4zMS0xLjE4MyAyLjIzNS0yLjg1NiAyLjgwNmwuOTEzIDEuNDQ1YzIuMDYtLjg5IDMuMjEtMi4zMDIgMy40NDYtNC4yNWguOTEzdjIuMzAxYzAgMS4wNDIuNDU2IDEuNTggMS4zNjggMS41OGgxLjA4MmMuNDkgMCAuODc4LS4xMDIgMS4xNDktLjI3bC4zMiAxLjI2aDEuMDE1YzEuMiAwIDEuODA4LS41ODggMS44MDgtMS43NjRWNS4yMTJabS0zNS4wOTUgNi4zSDIwLjc1djEuMDU4aC02LjM1M3YxLjYzaDYuMzUzdjMuMzk0YzAgLjUzNy0uMjUzLjgyMy0uNzYuODIzLS42NzYgMC0xLjQwMy0uMDM0LTIuMTgtLjEwMWwuNDA2IDEuNjYzaDIuMzk5YzEuMjUgMCAxLjg5Mi0uNjU1IDEuODkyLTEuOTQ5VjE0LjJoMS43NzV2LTEuNjNoLTEuNzc1di0xLjA1OFptNy4zMTctMS45NDloLTQuMDIydjEuNjhoMi4zMTV2NS45NjRjMCAuMzUzLS4xNTIuNjU1LS40NC45MDdsLjY2IDEuNThhMjUuMTUyIDI1LjE1MiAwIDAgMCAzLjMyOC0yLjY3MmwtLjQ5LTEuODQ4Yy0uNDczLjQ3LS45MjkuOTA4LTEuMzUxIDEuMjk0VjkuNTYzWm0tMTMuMTQ2IDQuOTczLTEuMzY5Ljg1N2MuODguOTI0IDEuNTg5IDEuNzY0IDIuMTEzIDIuNTJsMS4zNjgtLjk1OGMtLjQ5LS43MDUtMS4yLTEuNTEyLTIuMTEyLTIuNDE5Wm0zNS43ODctMi44MDZ2Mi4wMzNoLTMuOTdWMTEuNzNoMy45N1ptLTE5LjExLTQuMjMzTDMxLjg1MSA4YTI4LjggMjguOCAwIDAgMSAxLjIgNC4wOTlsMS41MDQtLjM3YTM1LjM3NCAzNS4zNzQgMCAwIDAtMS4yLTQuMjMzWm01Ljc5Ni0uMDVjLS4zNTUgMS42NDYtLjc2IDMuMDIzLTEuMjM0IDQuMDk5bDEuNDcuNTJjLjUyNC0xLjIxLjk2My0yLjYwNCAxLjMwMS00LjIxNmwtMS41MzctLjQwNFpNMjAuMjI2IDQuNTczSDE4LjUyVjYuMjJoLTMuNTY1djEuNTk2aDMuNTY1djEuNTk2aC00LjE3NHYxLjYxM2gxMC4xNzJWOS40MTJoLTQuMjkyVjcuODE2aDMuNlY2LjIyaC0zLjZWNC41NzRabS04LjAyNS0uMTAxYy0uNzI3IDEuNTYyLTEuODQyIDIuOTIzLTMuMzQ2IDQuMDY1bC41MjQgMS42OGMyLjA2MS0xLjUxMiAzLjQ5Ny0zLjE3NSA0LjM0Mi01LjAyM2wtMS41Mi0uNzIyWm0xNiAuMjM1LTEuMjUgMS4yMWMxLjIuODczIDIuMTMgMS42OTYgMi43NzEgMi40N0wzMC45NCA3LjE2YTIzLjYyMyAyMy42MjMgMCAwIDAtMi43MzctMi40NTNabTE4LjI4My0uMjY5LTEuNjA2LjcwNkExNS45MSAxNS45MSAwIDAgMSA0Ni42ODYgNy45bDEuNTcyLS44MDZhMTQuNTczIDE0LjU3MyAwIDAgMC0xLjc3NC0yLjY1NVoiIGZpbGw9IiNGQTY0MDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",ca=Object.defineProperty,oa=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,ts=Object.prototype.propertyIsEnumerable,ds=(Xn,bn,_t)=>bn in Xn?ca(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,Qa=(Xn,bn)=>{for(var _t in bn||(bn={}))Ra.call(bn,_t)&&ds(Xn,_t,bn[_t]);if(oa)for(var _t of oa(bn))ts.call(bn,_t)&&ds(Xn,_t,bn[_t]);return Xn};const ks=Xn=>React.createElement("svg",Qa({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u4EC5\u6559\u5E08\u53EF\u89C1"),React.createElement("g",{fill:"#CA7720",fillRule:"nonzero"},React.createElement("path",{d:"M7.046 13.302V14h1.566v-.698c0-.557.248-1.093.689-1.485a2.487 2.487 0 0 1 1.66-.615v-1.4c-2.163 0-3.915 1.565-3.915 3.5ZM0 9.802v1.4c.623 0 1.22.22 1.66.615.44.394.688.928.688 1.485V14h1.566v-.698c0-1.935-1.752-3.5-3.914-3.5Z"}),React.createElement("path",{d:"M10.96 3.502a4.878 4.878 0 0 0-.954-2.8 6.002 6.002 0 0 0-2.623 1.476A5.414 5.414 0 0 0 5.48 0a5.39 5.39 0 0 0-1.893 2.178A6 6 0 0 0 .957.702a4.87 4.87 0 0 0-.954 2.8V4.2C.005 6.633 2.007 8.695 4.7 9.044V14h1.566V9.045c2.693-.347 4.694-2.41 4.695-4.843v-.7Z"}),React.createElement("path",{d:"M10.977 8.084c-.061 0-.12-.004-.177-.013a.65.65 0 0 1-.15-.042.343.343 0 0 1-.175-.167.885.885 0 0 1-.075-.214l-.029-.133-.002-.009-.02-.092-.001-.006-.002-.005a.697.697 0 0 0-.005-.018l-.001-.002a.546.546 0 0 1-.013-.046.963.963 0 0 0-.009-.033l-.024-.08-.07-.047a.019.019 0 0 1-.008-.014l-.001-.005a.11.11 0 0 1-.003-.022l.005-.142v-.037c.001-.011.008-.02.02-.023l.011-.003a.422.422 0 0 1 .052-.012l.301-.039c.111-.013.23-.02.383-.02H11.011c.165 0 .333.016.5.047.096.018.188.048.27.074.06.02.106.032.15.04a.425.425 0 0 0 .072.008l-.198.512c-.02.054-.042.101-.065.145a.858.858 0 0 1-.2.25.499.499 0 0 1-.184.096 1.258 1.258 0 0 1-.38.052Zm-.205-.097c.022.005.042.01.062.013a1.09 1.09 0 0 0 .452-.026.435.435 0 0 0 .196-.104.61.61 0 0 0 .105-.138c.055-.095.095-.194.118-.294a.65.65 0 0 0 .018-.205l-.01-.126-.112-.058a.506.506 0 0 0-.13-.042l-.01-.002a1.717 1.717 0 0 0-.374-.039h-.008l-.038.002a4.311 4.311 0 0 0-.128.008 1.43 1.43 0 0 0-.25.041l-.133.036-.032.136a.514.514 0 0 0-.009.059v.001l-.002.018a.708.708 0 0 0-.002.155c.007.073.018.17.041.266a.57.57 0 0 0 .078.189c.019.027.04.05.063.067l.06.043h.045Zm2.28.091a1.4 1.4 0 0 1-.27-.025.75.75 0 0 1-.22-.077.594.594 0 0 1-.228-.228 1.782 1.782 0 0 1-.105-.212l-.21-.507a.565.565 0 0 0 .16-.029l.08-.028.075-.025c.09-.03.19-.05.315-.066a2.854 2.854 0 0 1 .525-.019h.009l.265.015c.11.008.219.024.34.043l.02.004.003.002c.01.002.017.007.018.021l.001.023v.006a.984.984 0 0 1 .005.138l-.034-.062-.048.167-.024.08-.082.288.014-.008c-.018.075-.04.152-.07.225a.512.512 0 0 1-.07.125.333.333 0 0 1-.178.115.855.855 0 0 1-.21.032 1.846 1.846 0 0 1-.08.002Zm-.106-1.115a1.641 1.641 0 0 0-.486.075l-.142.049-.012.15a.722.722 0 0 0 .023.21.868.868 0 0 0 .167.354c.066.083.15.136.249.157.109.024.208.035.303.035h.01a.815.815 0 0 0 .21-.024.319.319 0 0 0 .146-.076.342.342 0 0 0 .079-.128c.041-.11.064-.23.068-.358v-.008c.002-.042 0-.084-.002-.125v-.02a.489.489 0 0 0-.003-.039l-.004-.032-.012-.03a.424.424 0 0 0-.004-.01l-.044-.099-.104-.029a1.763 1.763 0 0 0-.396-.053h-.046Zm1.042 3.06-1.42 2.599-.21-.62.388-.78-.778-.782-.778.781.39.782-.251.633-1.38-2.613s-2.942 1.564-2.942 3.113c0 .428.176.823.605.823h8.731c.427 0 .607-.391.607-.817 0-1.454-2.962-3.12-2.962-3.12Zm.54-3.202-.003-.122-.102-.068c-.012-.01-.024-.017-.037-.024-.208-1.803-.194-2.866-2.287-2.551-.734.11-1.535-.118-1.99.215-.574.539-.615 1.348-.459 2.297-.035.019-.07.04-.103.063l-.102.068-.002.123c-.005.316.034.582.12.787a.788.788 0 0 0 .345.407c.182.62.444 1.084.772 1.419.357.365.787.572 1.273.654l.043.007.044-.01c.538-.113.968-.329 1.31-.69.319-.335.556-.787.73-1.39a.8.8 0 0 0 .332-.41c.083-.203.12-.465.115-.775Zm-.556.6c-.041.102-.098.17-.17.194l-.119.042-.032.12c-.156.58-.365.999-.644 1.293-.264.277-.598.449-1.02.544a1.78 1.78 0 0 1-.967-.509c-.292-.297-.524-.729-.685-1.322l-.034-.126-.126-.04c-.074-.022-.132-.088-.174-.19-.043-.101-.069-.23-.08-.383.116-.018.245-.05.308-.009l.022-.074h.003l.01-.05c.034-.137.073-1 .108-1.139.014-.04.019-.086.045-.12.169.23 1.444.257 2.185-.257l-.139.375.141.028.158-.253-.02.177.15.02.093-.291c.184.105.387.246.568.17.06.136.107.967.137 1.127l.039.206.068-.004.032.107c.08-.01.15-.011.22-.013a1.25 1.25 0 0 1-.077.376Z"})));var Ds="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0NBNzcyMCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNNy4wNDYgMTMuMzAyVjE0aDEuNTY2di0uNjk4YzAtLjU1Ny4yNDgtMS4wOTMuNjg5LTEuNDg1YTIuNDg3IDIuNDg3IDAgMCAxIDEuNjYtLjYxNXYtMS40Yy0yLjE2MyAwLTMuOTE1IDEuNTY1LTMuOTE1IDMuNVpNMCA5LjgwMnYxLjRjLjYyMyAwIDEuMjIuMjIgMS42Ni42MTUuNDQuMzk0LjY4OC45MjguNjg4IDEuNDg1VjE0aDEuNTY2di0uNjk4YzAtMS45MzUtMS43NTItMy41LTMuOTE0LTMuNVoiLz48cGF0aCBkPSJNMTAuOTYgMy41MDJhNC44NzggNC44NzggMCAwIDAtLjk1NC0yLjggNi4wMDIgNi4wMDIgMCAwIDAtMi42MjMgMS40NzZBNS40MTQgNS40MTQgMCAwIDAgNS40OCAwYTUuMzkgNS4zOSAwIDAgMC0xLjg5MyAyLjE3OEE2IDYgMCAwIDAgLjk1Ny43MDJhNC44NyA0Ljg3IDAgMCAwLS45NTQgMi44VjQuMkMuMDA1IDYuNjMzIDIuMDA3IDguNjk1IDQuNyA5LjA0NFYxNGgxLjU2NlY5LjA0NWMyLjY5My0uMzQ3IDQuNjk0LTIuNDEgNC42OTUtNC44NDN2LS43WiIvPjxnPjxwYXRoIGQ9Ik0xMC45NzcgOC4wODRjLS4wNjEgMC0uMTItLjAwNC0uMTc3LS4wMTNhLjY1LjY1IDAgMCAxLS4xNS0uMDQyLjM0My4zNDMgMCAwIDEtLjE3NS0uMTY3Ljg4NS44ODUgMCAwIDEtLjA3NS0uMjE0bC0uMDI5LS4xMzMtLjAwMi0uMDA5LS4wMi0uMDkyLS4wMDEtLjAwNi0uMDAyLS4wMDVhLjY5Ny42OTcgMCAwIDAtLjAwNS0uMDE4bC0uMDAxLS4wMDJhLjU0Ni41NDYgMCAwIDEtLjAxMy0uMDQ2Ljk2My45NjMgMCAwIDAtLjAwOS0uMDMzbC0uMDI0LS4wOC0uMDctLjA0N2EuMDE5LjAxOSAwIDAgMS0uMDA4LS4wMTRsLS4wMDEtLjAwNWEuMTEuMTEgMCAwIDEtLjAwMy0uMDIybC4wMDUtLjE0MnYtLjAzN2MuMDAxLS4wMTEuMDA4LS4wMi4wMi0uMDIzbC4wMTEtLjAwM2EuNDIyLjQyMiAwIDAgMSAuMDUyLS4wMTJsLjMwMS0uMDM5Yy4xMTEtLjAxMy4yMy0uMDIuMzgzLS4wMkgxMS4wMTFjLjE2NSAwIC4zMzMuMDE2LjUuMDQ3LjA5Ni4wMTguMTg4LjA0OC4yNy4wNzQuMDYuMDIuMTA2LjAzMi4xNS4wNGEuNDI1LjQyNSAwIDAgMCAuMDcyLjAwOGwtLjE5OC41MTJjLS4wMi4wNTQtLjA0Mi4xMDEtLjA2NS4xNDVhLjg1OC44NTggMCAwIDEtLjIuMjUuNDk5LjQ5OSAwIDAgMS0uMTg0LjA5NiAxLjI1OCAxLjI1OCAwIDAgMS0uMzguMDUyWm0tLjIwNS0uMDk3Yy4wMjIuMDA1LjA0Mi4wMS4wNjIuMDEzYTEuMDkgMS4wOSAwIDAgMCAuNDUyLS4wMjYuNDM1LjQzNSAwIDAgMCAuMTk2LS4xMDQuNjEuNjEgMCAwIDAgLjEwNS0uMTM4Yy4wNTUtLjA5NS4wOTUtLjE5NC4xMTgtLjI5NGEuNjUuNjUgMCAwIDAgLjAxOC0uMjA1bC0uMDEtLjEyNi0uMTEyLS4wNThhLjUwNi41MDYgMCAwIDAtLjEzLS4wNDJsLS4wMS0uMDAyYTEuNzE3IDEuNzE3IDAgMCAwLS4zNzQtLjAzOWgtLjAwOGwtLjAzOC4wMDJhNC4zMTEgNC4zMTEgMCAwIDAtLjEyOC4wMDggMS40MyAxLjQzIDAgMCAwLS4yNS4wNDFsLS4xMzMuMDM2LS4wMzIuMTM2YS41MTQuNTE0IDAgMCAwLS4wMDkuMDU5di4wMDFsLS4wMDIuMDE4YS43MDguNzA4IDAgMCAwLS4wMDIuMTU1Yy4wMDcuMDczLjAxOC4xNy4wNDEuMjY2YS41Ny41NyAwIDAgMCAuMDc4LjE4OWMuMDE5LjAyNy4wNC4wNS4wNjMuMDY3bC4wNi4wNDNoLjA0NVptMi4yOC4wOTFhMS40IDEuNCAwIDAgMS0uMjctLjAyNS43NS43NSAwIDAgMS0uMjItLjA3Ny41OTQuNTk0IDAgMCAxLS4yMjgtLjIyOCAxLjc4MiAxLjc4MiAwIDAgMS0uMTA1LS4yMTJsLS4yMS0uNTA3YS41NjUuNTY1IDAgMCAwIC4xNi0uMDI5bC4wOC0uMDI4LjA3NS0uMDI1Yy4wOS0uMDMuMTktLjA1LjMxNS0uMDY2YTIuODU0IDIuODU0IDAgMCAxIC41MjUtLjAxOWguMDA5bC4yNjUuMDE1Yy4xMS4wMDguMjE5LjAyNC4zNC4wNDNsLjAyLjAwNC4wMDMuMDAyYy4wMS4wMDIuMDE3LjAwNy4wMTguMDIxbC4wMDEuMDIzdi4wMDZhLjk4NC45ODQgMCAwIDEgLjAwNS4xMzhsLS4wMzQtLjA2Mi0uMDQ4LjE2Ny0uMDI0LjA4LS4wODIuMjg4LjAxNC0uMDA4Yy0uMDE4LjA3NS0uMDQuMTUyLS4wNy4yMjVhLjUxMi41MTIgMCAwIDEtLjA3LjEyNS4zMzMuMzMzIDAgMCAxLS4xNzguMTE1Ljg1NS44NTUgMCAwIDEtLjIxLjAzMiAxLjg0NiAxLjg0NiAwIDAgMS0uMDguMDAyWm0tLjEwNi0xLjExNWExLjY0MSAxLjY0MSAwIDAgMC0uNDg2LjA3NWwtLjE0Mi4wNDktLjAxMi4xNWEuNzIyLjcyMiAwIDAgMCAuMDIzLjIxLjg2OC44NjggMCAwIDAgLjE2Ny4zNTRjLjA2Ni4wODMuMTUuMTM2LjI0OS4xNTcuMTA5LjAyNC4yMDguMDM1LjMwMy4wMzVoLjAxYS44MTUuODE1IDAgMCAwIC4yMS0uMDI0LjMxOS4zMTkgMCAwIDAgLjE0Ni0uMDc2LjM0Mi4zNDIgMCAwIDAgLjA3OS0uMTI4Yy4wNDEtLjExLjA2NC0uMjMuMDY4LS4zNTh2LS4wMDhjLjAwMi0uMDQyIDAtLjA4NC0uMDAyLS4xMjV2LS4wMmEuNDg5LjQ4OSAwIDAgMC0uMDAzLS4wMzlsLS4wMDQtLjAzMi0uMDEyLS4wM2EuNDI0LjQyNCAwIDAgMC0uMDA0LS4wMWwtLjA0NC0uMDk5LS4xMDQtLjAyOWExLjc2MyAxLjc2MyAwIDAgMC0uMzk2LS4wNTNoLS4wNDZabTEuMDQyIDMuMDYtMS40MiAyLjU5OS0uMjEtLjYyLjM4OC0uNzgtLjc3OC0uNzgyLS43NzguNzgxLjM5Ljc4Mi0uMjUxLjYzMy0xLjM4LTIuNjEzcy0yLjk0MiAxLjU2NC0yLjk0MiAzLjExM2MwIC40MjguMTc2LjgyMy42MDUuODIzaDguNzMxYy40MjcgMCAuNjA3LS4zOTEuNjA3LS44MTcgMC0xLjQ1NC0yLjk2Mi0zLjEyLTIuOTYyLTMuMTJabS41NC0zLjIwMi0uMDAzLS4xMjItLjEwMi0uMDY4Yy0uMDEyLS4wMS0uMDI0LS4wMTctLjAzNy0uMDI0LS4yMDgtMS44MDMtLjE5NC0yLjg2Ni0yLjI4Ny0yLjU1MS0uNzM0LjExLTEuNTM1LS4xMTgtMS45OS4yMTUtLjU3NC41MzktLjYxNSAxLjM0OC0uNDU5IDIuMjk3LS4wMzUuMDE5LS4wNy4wNC0uMTAzLjA2M2wtLjEwMi4wNjgtLjAwMi4xMjNjLS4wMDUuMzE2LjAzNC41ODIuMTIuNzg3YS43ODguNzg4IDAgMCAwIC4zNDUuNDA3Yy4xODIuNjIuNDQ0IDEuMDg0Ljc3MiAxLjQxOS4zNTcuMzY1Ljc4Ny41NzIgMS4yNzMuNjU0bC4wNDMuMDA3LjA0NC0uMDFjLjUzOC0uMTEzLjk2OC0uMzI5IDEuMzEtLjY5LjMxOS0uMzM1LjU1Ni0uNzg3LjczLTEuMzlhLjguOCAwIDAgMCAuMzMyLS40MWMuMDgzLS4yMDMuMTItLjQ2NS4xMTUtLjc3NVptLS41NTYuNmMtLjA0MS4xMDItLjA5OC4xNy0uMTcuMTk0bC0uMTE5LjA0Mi0uMDMyLjEyYy0uMTU2LjU4LS4zNjUuOTk5LS42NDQgMS4yOTMtLjI2NC4yNzctLjU5OC40NDktMS4wMi41NDRhMS43OCAxLjc4IDAgMCAxLS45NjctLjUwOWMtLjI5Mi0uMjk3LS41MjQtLjcyOS0uNjg1LTEuMzIybC0uMDM0LS4xMjYtLjEyNi0uMDRjLS4wNzQtLjAyMi0uMTMyLS4wODgtLjE3NC0uMTktLjA0My0uMTAxLS4wNjktLjIzLS4wOC0uMzgzLjExNi0uMDE4LjI0NS0uMDUuMzA4LS4wMDlsLjAyMi0uMDc0aC4wMDNsLjAxLS4wNWMuMDM0LS4xMzcuMDczLTEgLjEwOC0xLjEzOS4wMTQtLjA0LjAxOS0uMDg2LjA0NS0uMTIuMTY5LjIzIDEuNDQ0LjI1NyAyLjE4NS0uMjU3bC0uMTM5LjM3NS4xNDEuMDI4LjE1OC0uMjUzLS4wMi4xNzcuMTUuMDIuMDkzLS4yOTFjLjE4NC4xMDUuMzg3LjI0Ni41NjguMTcuMDYuMTM2LjEwNy45NjcuMTM3IDEuMTI3bC4wMzkuMjA2LjA2OC0uMDA0LjAzMi4xMDdjLjA4LS4wMS4xNS0uMDExLjIyLS4wMTNhMS4yNSAxLjI1IDAgMCAxLS4wNzcuMzc2WiIvPjwvZz48L2c+PC9zdmc+",jn=Object.defineProperty,gs=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Kl=Object.prototype.propertyIsEnumerable,Oo=(Xn,bn,_t)=>bn in Xn?jn(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,ma=(Xn,bn)=>{for(var _t in bn||(bn={}))Ql.call(bn,_t)&&Oo(Xn,_t,bn[_t]);if(gs)for(var _t of gs(bn))Kl.call(bn,_t)&&Oo(Xn,_t,bn[_t]);return Xn};const hs=Xn=>React.createElement("svg",ma({width:11,height:14,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u8BC4\u8BED"),React.createElement("g",{fill:"#000",fillRule:"nonzero"},React.createElement("path",{d:"M7.046 13.302V14h1.566v-.698c0-.557.248-1.093.689-1.485a2.487 2.487 0 0 1 1.66-.615v-1.4c-2.163 0-3.915 1.565-3.915 3.5ZM0 9.802v1.4c.623 0 1.22.22 1.66.615.44.394.688.928.688 1.485V14h1.566v-.698c0-1.935-1.752-3.5-3.914-3.5Z"}),React.createElement("path",{d:"M10.96 3.502a4.878 4.878 0 0 0-.954-2.8 6.002 6.002 0 0 0-2.623 1.476A5.414 5.414 0 0 0 5.48 0a5.39 5.39 0 0 0-1.893 2.178A6 6 0 0 0 .957.702a4.87 4.87 0 0 0-.954 2.8V4.2C.005 6.633 2.007 8.695 4.7 9.044V14h1.566V9.045c2.693-.347 4.694-2.41 4.695-4.843v-.7Z"})));var aa="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNNy4wNDYgMTMuMzAyVjE0aDEuNTY2di0uNjk4YzAtLjU1Ny4yNDgtMS4wOTMuNjg5LTEuNDg1YTIuNDg3IDIuNDg3IDAgMCAxIDEuNjYtLjYxNXYtMS40Yy0yLjE2MyAwLTMuOTE1IDEuNTY1LTMuOTE1IDMuNVpNMCA5LjgwMnYxLjRjLjYyMyAwIDEuMjIuMjIgMS42Ni42MTUuNDQuMzk0LjY4OC45MjguNjg4IDEuNDg1VjE0aDEuNTY2di0uNjk4YzAtMS45MzUtMS43NTItMy41LTMuOTE0LTMuNVoiLz48cGF0aCBkPSJNMTAuOTYgMy41MDJhNC44NzggNC44NzggMCAwIDAtLjk1NC0yLjggNi4wMDIgNi4wMDIgMCAwIDAtMi42MjMgMS40NzZBNS40MTQgNS40MTQgMCAwIDAgNS40OCAwYTUuMzkgNS4zOSAwIDAgMC0xLjg5MyAyLjE3OEE2IDYgMCAwIDAgLjk1Ny43MDJhNC44NyA0Ljg3IDAgMCAwLS45NTQgMi44VjQuMkMuMDA1IDYuNjMzIDIuMDA3IDguNjk1IDQuNyA5LjA0NFYxNGgxLjU2NlY5LjA0NWMyLjY5My0uMzQ3IDQuNjk0LTIuNDEgNC42OTUtNC44NDN2LS43WiIvPjwvZz48L3N2Zz4=",Xr=Object.defineProperty,Qr=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,Po=(Xn,bn,_t)=>bn in Xn?Xr(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,Mo=(Xn,bn)=>{for(var _t in bn||(bn={}))ns.call(bn,_t)&&Po(Xn,_t,bn[_t]);if(Qr)for(var _t of Qr(bn))so.call(bn,_t)&&Po(Xn,_t,bn[_t]);return Xn};const $i=Xn=>React.createElement("svg",Mo({width:20,height:20,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u8FD4\u56DE"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#3061D0",width:20,height:20,rx:4}),React.createElement("g",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2},React.createElement("path",{d:"M4.678 10.176h10.526M8.187 13.684l-3.509-3.509 3.509-3.508"}))));var Ja="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjMzA2MUQwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHJ4PSI0Ii8+PGcgc3Ryb2tlPSIjRkZGIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHBhdGggZD0iTTQuNjc4IDEwLjE3NmgxMC41MjZNOC4xODcgMTMuNjg0bC0zLjUwOS0zLjUwOSAzLjUwOS0zLjUwOCIvPjwvZz48L2c+PC9zdmc+",xs=Object.defineProperty,ul=Object.getOwnPropertySymbols,Yl=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,_i=(Xn,bn,_t)=>bn in Xn?xs(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,is=(Xn,bn)=>{for(var _t in bn||(bn={}))Yl.call(bn,_t)&&_i(Xn,_t,bn[_t]);if(ul)for(var _t of ul(bn))Jl.call(bn,_t)&&_i(Xn,_t,bn[_t]);return Xn};const Hs=Xn=>React.createElement("svg",is({width:70,height:24,xmlns:"http://www.w3.org/2000/svg"},Xn),React.createElement("title",null,"\u5DF2\u8BC4\u9605"),React.createElement("path",{d:"m70 0-6.146 11.936L70 24H0V0h70ZM40.74 5.229h-9.292v1.646h3.768v5.83h-4.258v1.663h4.258v5.796h1.723v-5.796h4.326v-1.663h-4.326v-5.83h3.802V5.23Zm4.157 2.167h-1.723v12.768h1.723V7.396ZM57.35 5.212h-8.009v1.613h6.286v10.953c0 .47-.152.706-.44.706l-.659-.034c.186-.37.321-1.008.406-1.932l-1.487-.47c-.05.706-.135 1.126-.253 1.26a.506.506 0 0 1-.423.218h-.304c-.22 0-.321-.134-.321-.386v-1.966h1.673V10.32h-1.487c.405-.672.794-1.411 1.132-2.234l-1.656-.588a23.536 23.536 0 0 1-1.166 2.822H48.75l1.216-.605c-.405-.739-.81-1.428-1.25-2.032l-1.47.705c.44.571.862 1.21 1.25 1.932h-1.841v4.855h1.537c-.236 1.31-1.183 2.235-2.855 2.806l.912 1.445c2.061-.89 3.21-2.302 3.447-4.25h.912v2.301c0 1.042.457 1.58 1.369 1.58h1.081c.49 0 .879-.102 1.15-.27l.32 1.26h1.014c1.2 0 1.808-.588 1.808-1.764V5.212ZM29.572 9.563h-4.021v1.68h2.315v5.964c0 .353-.152.655-.44.907l.66 1.58a25.152 25.152 0 0 0 3.328-2.672l-.49-1.848c-.473.47-.93.908-1.352 1.294V9.563Zm-7.215-4.217H9.465v1.68h11.101v3.83h-8.634V8.64h-1.757v8.703c0 1.512.71 2.268 2.163 2.268h9.394c.676-.034 1.234-.236 1.64-.605.337-.37.624-1.63.844-3.78l-1.723-.538c-.102 1.714-.254 2.705-.49 2.94-.237.202-.49.303-.76.303h-8.398c-.609 0-.913-.303-.913-.908v-4.485h10.425v-7.19Zm29.857 6.384v2.033h-3.971V11.73h3.97Zm-19.11-4.233L31.6 8a28.8 28.8 0 0 1 1.2 4.099l1.503-.37a35.374 35.374 0 0 0-1.2-4.233Zm5.795-.05c-.355 1.646-.76 3.023-1.233 4.099l1.47.52c.523-1.21.963-2.604 1.3-4.216L38.9 7.446ZM27.95 4.707l-1.25 1.21c1.2.873 2.129 1.696 2.77 2.47l1.217-1.227a23.623 23.623 0 0 0-2.737-2.453Zm18.282-.269-1.605.706A15.91 15.91 0 0 1 46.435 7.9l1.571-.806a14.573 14.573 0 0 0-1.774-2.655Z",fill:"#37AD83",fillRule:"nonzero"}));var tu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzAiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTcwIDAtNi4xNDYgMTEuOTM2TDcwIDI0SDBWMGg3MFpNNDAuNzQgNS4yMjloLTkuMjkydjEuNjQ2aDMuNzY4djUuODNoLTQuMjU4djEuNjYzaDQuMjU4djUuNzk2aDEuNzIzdi01Ljc5Nmg0LjMyNnYtMS42NjNoLTQuMzI2di01LjgzaDMuODAyVjUuMjNabTQuMTU3IDIuMTY3aC0xLjcyM3YxMi43NjhoMS43MjNWNy4zOTZaTTU3LjM1IDUuMjEyaC04LjAwOXYxLjYxM2g2LjI4NnYxMC45NTNjMCAuNDctLjE1Mi43MDYtLjQ0LjcwNmwtLjY1OS0uMDM0Yy4xODYtLjM3LjMyMS0xLjAwOC40MDYtMS45MzJsLTEuNDg3LS40N2MtLjA1LjcwNi0uMTM1IDEuMTI2LS4yNTMgMS4yNmEuNTA2LjUwNiAwIDAgMS0uNDIzLjIxOGgtLjMwNGMtLjIyIDAtLjMyMS0uMTM0LS4zMjEtLjM4NnYtMS45NjZoMS42NzNWMTAuMzJoLTEuNDg3Yy40MDUtLjY3Mi43OTQtMS40MTEgMS4xMzItMi4yMzRsLTEuNjU2LS41ODhhMjMuNTM2IDIzLjUzNiAwIDAgMS0xLjE2NiAyLjgyMkg0OC43NWwxLjIxNi0uNjA1Yy0uNDA1LS43MzktLjgxLTEuNDI4LTEuMjUtMi4wMzJsLTEuNDcuNzA1Yy40NC41NzEuODYyIDEuMjEgMS4yNSAxLjkzMmgtMS44NDF2NC44NTVoMS41MzdjLS4yMzYgMS4zMS0xLjE4MyAyLjIzNS0yLjg1NSAyLjgwNmwuOTEyIDEuNDQ1YzIuMDYxLS44OSAzLjIxLTIuMzAyIDMuNDQ3LTQuMjVoLjkxMnYyLjMwMWMwIDEuMDQyLjQ1NyAxLjU4IDEuMzY5IDEuNThoMS4wODFjLjQ5IDAgLjg3OS0uMTAyIDEuMTUtLjI3bC4zMiAxLjI2aDEuMDE0YzEuMiAwIDEuODA4LS41ODggMS44MDgtMS43NjRWNS4yMTJaTTI5LjU3MiA5LjU2M2gtNC4wMjF2MS42OGgyLjMxNXY1Ljk2NGMwIC4zNTMtLjE1Mi42NTUtLjQ0LjkwN2wuNjYgMS41OGEyNS4xNTIgMjUuMTUyIDAgMCAwIDMuMzI4LTIuNjcybC0uNDktMS44NDhjLS40NzMuNDctLjkzLjkwOC0xLjM1MiAxLjI5NFY5LjU2M1ptLTcuMjE1LTQuMjE3SDkuNDY1djEuNjhoMTEuMTAxdjMuODNoLTguNjM0VjguNjRoLTEuNzU3djguNzAzYzAgMS41MTIuNzEgMi4yNjggMi4xNjMgMi4yNjhoOS4zOTRjLjY3Ni0uMDM0IDEuMjM0LS4yMzYgMS42NC0uNjA1LjMzNy0uMzcuNjI0LTEuNjMuODQ0LTMuNzhsLTEuNzIzLS41MzhjLS4xMDIgMS43MTQtLjI1NCAyLjcwNS0uNDkgMi45NC0uMjM3LjIwMi0uNDkuMzAzLS43Ni4zMDNoLTguMzk4Yy0uNjA5IDAtLjkxMy0uMzAzLS45MTMtLjkwOHYtNC40ODVoMTAuNDI1di03LjE5Wm0yOS44NTcgNi4zODR2Mi4wMzNoLTMuOTcxVjExLjczaDMuOTdabS0xOS4xMS00LjIzM0wzMS42IDhhMjguOCAyOC44IDAgMCAxIDEuMiA0LjA5OWwxLjUwMy0uMzdhMzUuMzc0IDM1LjM3NCAwIDAgMC0xLjItNC4yMzNabTUuNzk1LS4wNWMtLjM1NSAxLjY0Ni0uNzYgMy4wMjMtMS4yMzMgNC4wOTlsMS40Ny41MmMuNTIzLTEuMjEuOTYzLTIuNjA0IDEuMy00LjIxNkwzOC45IDcuNDQ2Wk0yNy45NSA0LjcwN2wtMS4yNSAxLjIxYzEuMi44NzMgMi4xMjkgMS42OTYgMi43NyAyLjQ3bDEuMjE3LTEuMjI3YTIzLjYyMyAyMy42MjMgMCAwIDAtMi43MzctMi40NTNabTE4LjI4Mi0uMjY5LTEuNjA1LjcwNkExNS45MSAxNS45MSAwIDAgMSA0Ni40MzUgNy45bDEuNTcxLS44MDZhMTQuNTczIDE0LjU3MyAwIDAgMC0xLjc3NC0yLjY1NVoiIGZpbGw9IiMzN0FEODMiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",ui=oe(59301),du=Object.defineProperty,wo=Object.defineProperties,Uc=Object.getOwnPropertyDescriptors,Wl=Object.getOwnPropertySymbols,$l=Object.prototype.hasOwnProperty,Fl=Object.prototype.propertyIsEnumerable,Zu=(Xn,bn,_t)=>bn in Xn?du(Xn,bn,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Xn[bn]=_t,Ws=(Xn,bn)=>{for(var _t in bn||(bn={}))$l.call(bn,_t)&&Zu(Xn,_t,bn[_t]);if(Wl)for(var _t of Wl(bn))Fl.call(bn,_t)&&Zu(Xn,_t,bn[_t]);return Xn},Zs=(Xn,bn)=>wo(Xn,Uc(bn)),Al=(Xn,bn,_t)=>new Promise((Ao,ta)=>{var sa=jr=>{try{Jr(_t.next(jr))}catch(rr){ta(rr)}},Vr=jr=>{try{Jr(_t.throw(jr))}catch(rr){ta(rr)}},Jr=jr=>jr.done?Ao(jr.value):Promise.resolve(jr.value).then(sa,Vr);Jr((_t=_t.apply(Xn,bn)).next())});const Jc={0:"\u672A\u63D0\u4EA4",1:"\u6309\u65F6\u63D0\u4EA4","-1":"\u91CD\u505A\u4E2D",2:"\u5EF6\u65F6\u63D0\u4EA4",6:"\u6309\u65F6\u63D0\u4EA4\uFF08\u5305\u542B\u7EBF\u4E0B\u548C\u6559\u5E08\u63D0\u4EA4\uFF09"},qc={0:"#4D5865",1:"#FFFFFF","-1":"#FFFFFF",2:"#AC4C0C",6:"#FFFFFF"},Pc={0:"#D0D8E0",1:"#37AD83","-1":"#776FE8",2:"#FFD28D",6:"#37AD83"},md=({shixunHomeworks:Xn,globalSetting:bn,loading:_t,user:Ao,classroomList:ta,dispatch:sa})=>{var Vr,Jr,jr,rr,ro,Na,Ia,Ho,Bo,rl,Bs,ka,Nl,js,$s,fr,va,Wt,di,Ns,ps,cl,Os,nu,hu,Vu,rs,Eo;const[Fa]=(0,Ce.useSearchParams)(),Fr=(0,Ce.useParams)(),[za]=we.default.useForm(),[qo]=we.default.useForm(),{userInfo:ol}=Ao,{studentWorkDetail:Zi,studentWorkCommon:oo,studentWorkSupplyDetail:iu,workList:Sl,workDetail:_c,actionTabs:Xo}=Xn,[,Bl,Ma,Ka]=(0,Zt.U)(ke.wT,{userId:Fr==null?void 0:Fr.userId}),[,ms,os,ya]=(0,Zt.U)(ke.Wr,{userId:Fr==null?void 0:Fr.userId}),[,Ku,xo]=(0,Zt.U)(ke.G$,{userId:Fr==null?void 0:Fr.userId,id:Fr==null?void 0:Fr.userId}),[Gc,pa]=(0,se.useState)("1"),[ah,ru]=(0,se.useState)(!1),[jl,Td]=(0,se.useState)({last:!1}),[zl,Ea]=(0,se.useState)({last:!1}),zs=(0,se.useRef)(),[da,kl]=(0,se.useState)(!1),[Yu,Ac]=(0,se.useState)("");let[Id,$u]=(0,se.useState)([]);const[gu,Sc]=(0,se.useState)(!1),Xu=(0,se.useRef)(),[Nc,td]=(0,se.useState)(!1),[nd,xc]=(0,se.useState)(""),[Mh,Ul]=(0,se.useState)(!1),[Tu,Ud]=(0,se.useState)(!1),[mt,Et]=(0,se.useState)(""),[rn,cn]=(0,se.useState)(!0),[Dn,xn]=Ie.default.useModal(),[ri,ai]=(0,se.useState)(!1),[qn,bi]=(0,se.useState)(!1),[Ni,Ei]=(0,se.useState)(!1),[qi,Ki]=(0,se.useState)(!1),[Ui,Lr]=(0,se.useState)(!1),[Vi,Pr]=(0,se.useState)(!1),[yr,zr]=(0,se.useState)(!0),[So,Lo]=(0,se.useState)(!1),[Tr,mo]=(0,se.useState)({content:"",type:""}),[Zo,Hr]=(0,se.useState)({status:0}),uo=[{title:"\u63D0\u4EA4\u6B21\u6570",dataIndex:"id",ellipsis:!0,width:80,render:(wi,er,qr)=>qr+1},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"commit_time",ellipsis:!0,render:wi=>Se()(wi).format("YYYY-MM-DD HH:mm")},{title:"\u63D0\u4EA4\u9636\u6BB5",dataIndex:"stage_name",ellipsis:!0,width:180,render:(wi,er)=>ui.createElement(ui.Fragment,null,wi,er!=null&&er.is_redo?ui.createElement("span",{style:{color:"#FF9D18"}},"\uFF08\u6253\u56DE\u91CD\u505A\uFF09"):(er==null?void 0:er.is_redo_commit)&&ui.createElement("span",{style:{color:"#2FA34F"}},"\uFF08\u91CD\u505A\u63D0\u4EA4\uFF09"))},{title:"\u6559\u5E08\u8BC4\u5206",dataIndex:"teacher_score",ellipsis:!0},{title:"\u52A9\u6559\u8BC4\u5206",dataIndex:"teaching_asistant_score",ellipsis:!0},{title:"\u533F\u8BC4\u5F97\u5206",dataIndex:"student_score",ellipsis:!0},{title:"\u64CD\u4F5C",dataIndex:"history_id",ellipsis:!0,width:80,align:"right",render:(wi,er)=>ui.createElement("a",{target:"_blank",href:`/classrooms/${Fr==null?void 0:Fr.coursesId}/common_homework/${Fr==null?void 0:Fr.categoryId}/review/${er==null?void 0:er.student_work_id}?history_id=${er==null?void 0:er.history_id}`},"\u67E5\u770B")}],vr=(wi={key:""})=>{sa({type:"shixunHomeworks/setActionTabs",payload:wi}),wi.key===""&&(za.resetFields(),qo.resetFields())},cr=()=>{sa({type:"shixunHomeworks/getStudentWorkCommon",payload:Ws({is_invalid:!1,history_id:Fa.get("history_id")},Fr)})},to=wi=>{let er=0;for(let qr=0;qrAl(void 0,null,function*(){var er;Zi!=null&&Zi.single_score||(wi.score=to(wi.score_details)),wi.attachment_ids=(er=wi.attachment_ids)==null?void 0:er.map(La=>{var ho;return(ho=La==null?void 0:La.response)==null?void 0:ho.id}),Sc(!0),(yield(0,ke.yy)(Zs(Ws({},wi),{userId:Fr.userId,is_hidden_comment:So}))).status===0&&(za.resetFields(),Lo(!1),Zi!=null&&Zi.next_work_id?(De.ZP.success("\u8BC4\u9605\u6210\u529F\uFF01\u5DF2\u4E3A\u60A8\u81EA\u52A8\u5207\u6362\u81F3\u4E0B\u4E00\u4E2A\u5F85\u8BC4\u9605\u7684\u5B66\u751F",2),Ro("read")):(De.ZP.success("\u8BC4\u9605\u6210\u529F\uFF01",2),cr(),Jo())),kl(!0),Sc(!1)}),Ro=wi=>Al(void 0,null,function*(){const{comment:er,score:qr,score_details:La,attachment_ids:ho}=za.getFieldsValue();let Yo=!1;if(Zi!=null&&Zi.single_score?Yo=!(0,fn.isNil)((qr==null?void 0:qr.length)==0?null:qr):La==null||La.some(Sa=>{if(!(0,fn.isNil)(Sa!=null&&Sa.score?Sa==null?void 0:Sa.score:null))return Yo=!0,!0}),er||Yo||ho){Ie.default.confirm({centered:!0,okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:ui.createElement("div",{className:"tc"},"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539"),onOk:()=>{za.resetFields(),wi==="last"?Ce.history.push(Fa.get("ids")?`/classrooms/${Fr==null?void 0:Fr.coursesId}/common_homework/${Fr==null?void 0:Fr.categoryId}/review/${zl==null?void 0:zl.student_work_id}?ids=${Fa.get("ids")}&page=${Fa.get("page")}`:`/classrooms/${Fr==null?void 0:Fr.coursesId}/common_homework/${Fr==null?void 0:Fr.categoryId}/review/${zl==null?void 0:zl.student_work_id}&page=${Fa.get("page")}`):wi==="read"?Ce.history.push(Fa.get("ids")?`/classrooms/${Fr==null?void 0:Fr.coursesId}/common_homework/${Fr==null?void 0:Fr.categoryId}/review/${jl==null?void 0:jl.student_work_id}?ids=${Fa.get("ids")}&page=${Fa.get("page")}`:`/classrooms/${Fr==null?void 0:Fr.coursesId}/common_homework/${Fr==null?void 0:Fr.categoryId}/review/${jl==null?void 0:jl.student_work_id}&page=${Fa.get("page")}`):Ce.history.push(`/classrooms/${Fr.coursesId}/common_homework/${Fr.categoryId}/detail?page=${Fa.get("page")}`)}});return}wi==="last"?Ce.history.push(Fa.get("ids")?`/classrooms/${Fr==null?void 0:Fr.coursesId}/common_homework/${Fr==null?void 0:Fr.categoryId}/review/${zl==null?void 0:zl.student_work_id}?ids=${Fa.get("ids")}&page=${Fa.get("page")}`:`/classrooms/${Fr==null?void 0:Fr.coursesId}/common_homework/${Fr==null?void 0:Fr.categoryId}/review/${zl==null?void 0:zl.student_work_id}&page=${Fa.get("page")}`):wi==="read"?Ce.history.push(Fa.get("ids")?`/classrooms/${Fr==null?void 0:Fr.coursesId}/common_homework/${Fr==null?void 0:Fr.categoryId}/review/${jl==null?void 0:jl.student_work_id}?ids=${Fa.get("ids")}&page=${Fa.get("page")}`:`/classrooms/${Fr==null?void 0:Fr.coursesId}/common_homework/${Fr==null?void 0:Fr.categoryId}/review/${jl==null?void 0:jl.student_work_id}&page=${Fa.get("page")}`):Ce.history.push(`/classrooms/${Fr.coursesId}/common_homework/${Fr.categoryId}/detail?page=${Fa.get("page")}`)}),jo=wi=>Al(void 0,null,function*(){Ul(!0),(yield(0,ee.ZP)(`/api/homework_commons/${Fr.categoryId}/student_works/export_normal_word_all.json`,{method:"post",body:{with_edit:wi,with_submit_record:rn}})).status===0&&(td(!1),Ce.history.push(`/classrooms/${Fr==null?void 0:Fr.coursesId}/exportlist/normal_work_list`)),Ul(!1)}),Or=wi=>{Ul(!0),(0,Gn.Nd)("",`${Ne.Z.API_SERVER}/api/student_works/${Fr.userId}/export_normal_word_single.json?with_edit=${wi}&with_submit_record=${rn}`),Ul(!1),td(!1)},Qo=wi=>{Ud(wi),xc("\u9644\u4EF6"),td(!0)};(0,se.useEffect)(()=>{Zi!=null&&Zi.homework_id&&(Zi!=null&&Zi.prev_work_id?Ea({student_work_id:Zi==null?void 0:Zi.prev_work_id}):Ea({last:!0}),Zi!=null&&Zi.next_work_id?Td({student_work_id:Zi==null?void 0:Zi.next_work_id}):Td({last:!0}))},[Zi]),(0,se.useEffect)(()=>{const wi=JSON.parse(localStorage.getItem("all_student_works_param")||"{}");sa({type:"shixunHomeworks/getStudentWorkDetail",payload:Zs(Ws(Ws({},Fr),wi),{history_id:Fa.get("history_id")||mt})}),sa({type:"shixunHomeworks/getStudentWorkSupplyDetail",payload:Ws({},Fr)}),cr(),Gc=="3"&&os({userId:Fr==null?void 0:Fr.userId}),zs.current.onclick=er=>{er.target.nodeName==="IMG"&&er.target.alt!==""&&ge.Z.publish("preview-image",er.target.src)}},[Fr.categoryId,Fr.userId]),(0,se.useEffect)(()=>{Zi!=null&&Zi.score_details&&$u(Zi==null?void 0:Zi.score_details.map(wi=>Zs(Ws({},wi),{score:""})))},[Zi]),(0,se.useEffect)(()=>{Id.every(wi=>wi.score==="")?kl(!0):kl(!1)},[Id]);const Jo=()=>{const wi=JSON.parse(localStorage.getItem("all_student_works_param")||"{}");sa({type:"shixunHomeworks/getStudentWorkDetail",payload:Zs(Ws(Ws({},Fr),wi),{history_id:Fa.get("history_id")||mt})}),sa({type:"shixunHomeworks/getStudentWorkSupplyDetail",payload:Ws({},Fr)}),sa({type:"shixunHomeworks/getWorkDetail",payload:{categoryId:Fr.categoryId}})};(0,se.useEffect)(()=>{Et(Fa.get("history_id")||"")},[Fa.get("history_id")]),(0,se.useEffect)(()=>(sa({type:"classroomList/getAssistantPermissions",payload:{course_id:Fr.coursesId}}),sa({type:"shixunHomeworks/getWorkDetail",payload:{categoryId:Fr.categoryId}}),sa({type:"globalSetting/footerToggle",payload:!1}),()=>{sa({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,se.useEffect)(()=>{(0,ii.Rm)()&&sa({type:"classroomList/getAssistantPermissions",payload:{course_id:Fr.coursesId}})},[(Vr=Ao==null?void 0:Ao.userInfo)==null?void 0:Vr.username]);const Da=()=>{var wi,er,qr;return mt?!1:(0,ii.G5)()||(0,ii.Rm)()&&((er=(wi=ta==null?void 0:ta.AssistantObject)==null?void 0:wi.practice)!=null&&er.can_appraise)?!0:!!((0,ii.dE)()&&((qr=Zi==null?void 0:Zi.homework_status)!=null&&qr.includes("\u533F\u8BC4\u4E2D"))&&!oo.is_author)},la=(0,ii.dE)()&&((Jr=Zi==null?void 0:Zi.homework_status)==null?void 0:Jr.includes("\u533F\u8BC4\u4E2D"))&&!oo.is_author,[Ms,vs]=(0,se.useState)(!1),[ea,No]=(0,se.useState)(!1),[Ba,bs]=(0,se.useState)(!1),ys=wi=>{const er=wi.currentTarget;er.scrollHeight>er.clientHeight&&vs(!0)},qs=wi=>{const er=wi.currentTarget;er.scrollHeight>er.clientHeight&&No(!0)},_o=wi=>{const er=wi.currentTarget;er.scrollHeight>er.clientHeight&&bs(!0)};return(0,se.useEffect)(()=>{var wi;!(Zi!=null&&Zi.single_score)&&za.setFieldValue("score_details",(wi=Zi==null?void 0:Zi.score_details)==null?void 0:wi.map(er=>Ws({},er)))},[Zi]),ui.createElement("section",{className:"edu-container",ref:zs,style:{width:Da()?"100%":"1200px",overflow:"hidden",overflowX:"auto"}},ui.createElement("div",{style:(0,ii.bg)()&&Da()?{minWidth:yr?"1700px":"1400px"}:{}},ui.createElement("section",{className:"animated fadeIn"},ui.createElement("div",{style:{height:"52px",background:"#FFFFFF",marginBottom:"10px",padding:"0 20px",display:"flex",alignItems:"center"}},ui.createElement("div",{style:{cursor:"pointer",display:"flex",alignItems:"center"},onClick:()=>{Ro("list")}},ui.createElement("img",{src:Ja}),ui.createElement("div",{style:{fontWeight:400,color:"#666666",marginLeft:"5px",fontSize:"16px"}},"\u8FD4\u56DE")),ui.createElement("div",{className:zt.top_content},!la&&(Zi==null?void 0:Zi.image_url)&&ui.createElement("img",{src:`${Ne.Z.IMG_SERVER}/images/${Zi==null?void 0:Zi.image_url}`,className:zt.top_content_img}),ui.createElement("div",{className:zt.item_content},ui.createElement("div",{className:zt.item_name,style:{height:la?"40px":"20px",lineHeight:la?"40px":"20px"}},Zi==null?void 0:Zi.author_name,!la&&ui.createElement("span",{className:zt.item_tags,style:{color:qc[Zi==null?void 0:Zi.work_status],background:Pc[Zi==null?void 0:Zi.work_status]}},Jc[Zi==null?void 0:Zi.work_status])),!la&&((Zi==null?void 0:Zi.student_id)||(Zi==null?void 0:Zi.group_name))&&ui.createElement("div",{className:zt.item_code},ui.createElement("span",null,"\u5B66\u53F7\uFF1A",Zi==null?void 0:Zi.student_id),ui.createElement("span",{style:{marginLeft:"20px"}},"\u73ED\u7EA7\uFF1A",Zi==null?void 0:Zi.group_name)))),ui.createElement("div",{style:{marginLeft:"auto",display:"flex",alignItems:"center"}},((Zi==null?void 0:Zi.score_given_user)||(Zi==null?void 0:Zi.score_given_user)==0)&&!mt&&ui.createElement("div",{className:"mr10 font24",style:{fontWeight:600,color:"#009C0F"}},Zi==null?void 0:Zi.score_given_user,ui.createElement("span",{style:{fontSize:"14px"}},"\u5206")),mt&&ui.createElement("span",{style:{padding:"3px",marginRight:30,background:"rgba(219,243,224,0.88)",color:"#1FBE3C",fontSize:"12px"}},"\u7B2C",Zi==null?void 0:Zi.commit_count,"\u6B21\u63D0\u4EA4\u7684\u4F5C\u4E1A"),mt&&ui.createElement("div",{className:zt.buttonStyle,style:{border:"1px solid rgba(48,97,208,0.5)",color:"#3061D0",display:"flex",alignItems:"center",padding:"0 10px",marginRight:10,height:32,cursor:"pointer"},onClick:()=>{vr({key:"\u4F5C\u4E1A\u63CF\u8FF0"})}},ui.createElement("i",{className:"iconfont icon-fenzuzuoye3 font18",style:{color:"#009CDC"}}),ui.createElement("span",{style:{marginLeft:5}},"\u4F5C\u4E1A\u63CF\u8FF0")),!mt&&ui.createElement("div",null,!((0,ii.dE)()&&oo.is_author)&&(Zi!=null&&Zi.rated_already?ui.createElement("img",{src:tu,style:{margin:"0 20px 0 0"}}):ui.createElement("img",{src:ua,style:{marginRight:"20px"}}))),(0,ii.dE)()&&oo.is_author?ui.createElement(ui.Fragment,null):(Zi==null?void 0:Zi.have_history_comment)&&ui.createElement(Ke.ZP,{className:zt.buttonStyle,style:{border:"1px solid rgba(48,97,208,0.5)",color:"#3061D0",display:"flex",alignItems:"center",padding:"0 10px"},icon:ui.createElement("i",{className:"iconfont icon-chakanshenqingjilu"}),onClick:()=>{vr({key:"\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55"})}},"\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55"),!mt&&(0,ii.G5)()&&ui.createElement(Ee.Z,{menu:{items:[{label:ui.createElement("div",{onClick:()=>{Qo(!1)}},"\u5BFC\u51FA\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6"),key:"1"},{label:ui.createElement("div",{onClick:()=>{Qo(!0)}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u7B54\u9898\u8BB0\u5F55\u4E0E\u9644\u4EF6"),key:"2"}]}},ui.createElement("div",{className:`${zt.daochu} ${zt.buttonStyle}`},"\u5BFC\u51FA",ui.createElement("i",{className:"iconfont icon-a-xialazhankai",style:{fontSize:"6px",marginLeft:"6px"}})))))),ui.createElement("div",{style:{display:"flex"}},yr&&Da()&&ui.createElement("div",{className:zt.left_content},ui.createElement("div",{className:zt.left_title},ui.createElement("i",{className:"iconfont icon-fenzuzuoye3 font18",style:{color:"#009CDC"}}),ui.createElement("span",{className:"ml10"},"\u4F5C\u4E1A\u63CF\u8FF0"),ui.createElement("span",{className:zt.see_work,onClick:()=>{vr({key:"\u4F5C\u4E1A\u63CF\u8FF0"})}},"\u67E5\u770B")),ui.createElement("div",{className:zt.left_list},ui.createElement("div",{className:zt.list_title},ui.createElement("div",{style:{width:"5px",height:"10px",background:"#3061D0"}}),ui.createElement("span",{style:{color:"#171717",fontWeight:600,marginLeft:"10px"}},"\u8BC4\u9605\u4EFB\u52A1"),ui.createElement("span",{style:{marginLeft:"auto",color:"#333333"}},"\u5DF2\u8BC4"),ui.createElement("span",{style:{color:"#009C0F",margin:"0 20px 0 8px",fontWeight:600}},Zi==null?void 0:Zi.commented_size),ui.createElement("span",{style:{color:"#333333",marginRight:"8px"}},"\u672A\u8BC4"),ui.createElement("span",{style:{color:"#FA6400",fontWeight:600}},Zi==null?void 0:Zi.no_commented_size)),ui.createElement("div",{className:`${zt.list_box} ${Ms?"":zt.hiddenBar}`,onMouseEnter:ys,onMouseLeave:()=>vs(!1)},(jr=Zi==null?void 0:Zi.all_student_works)==null?void 0:jr.map(wi=>{var er;return ui.createElement("div",{className:zt.list_item,style:{background:(er=Fr==null?void 0:Fr.userId)!=null&&er.includes(wi==null?void 0:wi.student_work_id)?"#F1F4F9":""},onClick:()=>{Ce.history.push(wi==null?void 0:wi.url)}},ui.createElement("img",{src:`${Ne.Z.IMG_SERVER}/images/${wi==null?void 0:wi.image_url}`,className:zt.item_img,style:{filter:la&&"blur(10px)",border:la&&"none"}}),ui.createElement("div",{className:zt.item_content},ui.createElement("div",{className:zt.item_name,style:{height:la?"40px":"20px",lineHeight:la?"40px":"20px"}},wi==null?void 0:wi.username),!la&&ui.createElement("div",{className:zt.item_code},"\u5B66\u53F7\uFF1A",wi==null?void 0:wi.student_id)),ui.createElement("div",{className:zt.item_states,style:{color:(wi==null?void 0:wi.score)=="\u5F85\u8BC4"?"#FA6400":"#009C0F"}},wi==null?void 0:wi.score,(wi==null?void 0:wi.score)!="\u5F85\u8BC4"&&"\u5206"))})))),Da()&&ui.createElement("div",{className:yr?zt.foldClose:zt.foldOpen,onClick:()=>zr(!yr)},yr&&ui.createElement(et.Z,{placement:"right",title:"\u6536\u8D77"},ui.createElement("span",{className:"icon-zuojiantou iconfont c-grey-c"})),!yr&&ui.createElement(et.Z,{placement:"right",title:"\u5C55\u5F00"},ui.createElement("span",{className:"icon-youjiantou iconfont",style:{color:"#3061D0"}}))),ui.createElement("div",{style:{flex:1,margin:Da()?"0 20px 0 5px":"auto",minWidth:"900px"}},ui.createElement(Je.default,{className:zt.TabsStyle,destroyInactiveTabPane:!0,defaultActiveKey:"1",activeKey:Gc,tabBarExtraContent:ui.createElement(ui.Fragment,null,!mt&&(Zi==null?void 0:Zi.commit_count)>1&&ui.createElement(Ke.ZP,{style:{border:"none",color:"#3061D0",display:"flex",alignItems:"center",padding:0},icon:ui.createElement("i",{className:"iconfont icon-chakanshenqingjilu"}),loading:Bl,onClick:()=>Al(void 0,null,function*(){yield Ma({},!0),vr({key:"\u4F5C\u4E1A\u63D0\u4EA4\u8BB0\u5F55"})})},"\u4F5C\u4E1A\u63D0\u4EA4\u8BB0\u5F55")),onChange:wi=>{pa(wi),wi=="2"&&Ce.history.push(`/classrooms/${Fr.coursesId}/common_homework/${Fr.categoryId}/lab-report-view/${Fr.userId}`),wi=="3"&&os({})}},ui.createElement(Je.default.TabPane,{tab:ui.createElement("span",{style:{position:"relative"}},"\u5B66\u751F\u4F5C\u4E1A",ui.createElement(et.Z,{title:ui.createElement("span",{className:"font14"},"\uFF08\u5F53\u524D\u652F\u6301\u6279\u6CE8\u7684\u6587\u6863\u7C7B\u578B\uFF1A.docx\u3001.xlsx\u3001.pptx\uFF09")},ui.createElement("i",{className:"iconfont icon-tishixiaowenhao ml10 font14 c-grey-999 current",style:{lineHeight:"18px"}}))),key:"1"}),!mt&&(0,ii.j5)()&&ui.createElement(Je.default.TabPane,{tab:"\u5B9E\u9A8C\u62A5\u544A",key:"2"}),(Zi==null?void 0:Zi.anonymous_comment)&&!mt&&ui.createElement(Je.default.TabPane,{tab:"\u95EE\u9898\u53CD\u9988",key:"3"})),ui.createElement("div",{className:`${ea?"":zt.hiddenBar}`,onMouseEnter:qs,onMouseLeave:()=>No(!1),style:{overflowY:"auto",height:"calc(100vh - 180px)"}},ui.createElement(Ye.Z,{spinning:ms||!!_t["shixunHomeworks/getStudentWorkDetail"]||!!_t["shixunHomeworks/getStudentWorkSupplyDetail"]},ui.createElement("div",{key:"1",style:{display:Gc==="1"?"block":"none"}},ui.createElement("div",{style:{background:"#F5F6F8",padding:"20px"}},ui.createElement("div",{className:zt.center_top},ui.createElement("div",{className:zt.center_top_title},ui.createElement("img",{src:Uo}),ui.createElement("span",{className:"ml5",style:{color:"#3061D0",fontWeight:600}},"\u4F5C\u4E1A\u63D0\u4EA4\u5185\u5BB9"),(Zi==null?void 0:Zi.update_time)&&ui.createElement(ui.Fragment,null,ui.createElement("span",{style:{marginLeft:"auto",cursor:"pointer",color:"#333333"}},Se()(Zi==null?void 0:Zi.update_time).format("YYYY-MM-DD HH:mm")),ui.createElement("span",{className:"ml10",style:{color:"#333333"}},"\u66F4\u65B0"))),ui.createElement("div",{className:zt.center_top_content},ui.createElement(Xt.Z,{value:(Zi==null?void 0:Zi.description)||"\u6682\u65E0\uFF5E"}),ui.createElement(rt.Z,{authority:(0,ii.GJ)(),dataSource:Zi==null?void 0:Zi.attachments,callback:()=>{sa({type:"shixunHomeworks/getStudentWorkDetail",payload:Ws({},Fr)})}})))),((Zi==null?void 0:Zi.work_score)||(Zi==null?void 0:Zi.work_score)==0)&&!mt&&ui.createElement(ur,{dataInfo:Zi,handleCloseOrOpenModal:wi=>{vr(wi)}})),ui.createElement("div",{key:"3",style:{display:Gc==="3"?"block":"none"}},ui.createElement("div",{style:{background:"#fff",display:"flex",flexDirection:"column",padding:"10px 30px 30px 30px"}},((rr=ya==null?void 0:ya.data)==null?void 0:rr.count)>0?ui.createElement(ui.Fragment,null,(Na=(ro=ya==null?void 0:ya.data)==null?void 0:ro.list)==null?void 0:Na.map((wi,er)=>ui.createElement(lt,{key:er,type:"feedback",Data:Zs(Ws({},wi),{time:wi==null?void 0:wi.created_at,user_info:{user_image_url:wi.avatar_url,user_id:wi.user_id,user_name:wi.real_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn}))):ui.createElement(St.Z,null)))),(Ia=oo==null?void 0:oo.teacher_list)!=null&&Ia.length?ui.createElement("div",{className:zt.pingyue},ui.createElement("div",{className:zt.pingyue_title},ui.createElement("img",{src:aa,style:{marginRight:"5px"}}),ui.createElement("div",{style:{color:"#333333",fontWeight:600}},"\u6559\u5E08\u8BC4\u9605"),((Zi==null?void 0:Zi.teacher_score)||(Zi==null?void 0:Zi.teacher_score)==0)&&ui.createElement("div",{className:zt.pingyue_score},ui.createElement("div",{style:{height:"30px",lineHeight:"35px",fontSize:"24px",color:"#009C0F",fontWeight:600,marginLeft:"12px"}},Zi==null?void 0:Zi.teacher_score,ui.createElement("span",{style:{fontSize:"14px"}},"\u5206")),ui.createElement("div",{style:{fontSize:"12px",color:"#666666",marginLeft:"12px"}},"\u6700\u7EC8\u5F97\u5206\uFF08",(Zi==null?void 0:Zi.teacher_mode)==1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206","\uFF09"))),ui.createElement("div",{style:{padding:"20px"}},ui.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"20px"}},(Ho=oo==null?void 0:oo.teacher_list)!=null&&Ho.length?(Bo=Ni?oo==null?void 0:oo.teacher_list:oo==null?void 0:oo.teacher_list.slice(0,3))==null?void 0:Bo.map((wi,er)=>ui.createElement(lt,{key:er,index:er,type:Zo.status==1&&"teacher",Data:Zs(Ws({},wi),{user_info:{user_image_url:wi.user_image_url,user_login:wi.user_login,user_name:wi.user_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn})):ui.createElement(St.Z,{styles:{margin:"50px auto"}}),((rl=oo==null?void 0:oo.teacher_list)==null?void 0:rl.length)>3&&!Ni&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ei(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((Bs=oo==null?void 0:oo.teacher_list)==null?void 0:Bs.length)>3&&Ni&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ei(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026")),((ka=oo==null?void 0:oo.hidden_comment_scores)==null?void 0:ka.length)>0&&ui.createElement("div",{className:zt.pingyue_teacher_title},ui.createElement("img",{src:Ds,style:{marginRight:"5px"}}),ui.createElement("div",{style:{color:"#CA7720",fontWeight:600}},"\u4EC5\u6559\u5E08\u53EF\u89C1\u8BC4\u8BED")),((Nl=oo==null?void 0:oo.hidden_comment_scores)==null?void 0:Nl.length)>0&&ui.createElement("div",{style:{display:"flex",flexDirection:"column"}},(js=oo==null?void 0:oo.hidden_comment_scores)!=null&&js.length?($s=qi?oo==null?void 0:oo.hidden_comment_scores:oo==null?void 0:oo.hidden_comment_scores.slice(0,3))==null?void 0:$s.map((wi,er)=>ui.createElement(lt,{newType:"teacher",key:er,index:er,type:Zo.status==1&&"teacher",Data:Zs(Ws({},wi),{user_info:{user_image_url:wi.user_image_url,user_login:wi.user_login,user_name:wi.user_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn})):ui.createElement(St.Z,{styles:{margin:"50px auto"}}),((fr=oo==null?void 0:oo.hidden_comment_scores)==null?void 0:fr.length)>3&&!qi&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ki(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((va=oo==null?void 0:oo.hidden_comment_scores)==null?void 0:va.length)>3&&qi&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Ki(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026")))):null,(Wt=oo==null?void 0:oo.teaching_assistant_list)!=null&&Wt.length?ui.createElement("div",{className:zt.pingyue,style:{marginTop:"20px"}},ui.createElement("div",{className:zt.pingyue_title},ui.createElement("img",{src:aa,style:{marginRight:"5px"}}),ui.createElement("div",{style:{color:"#333333",fontWeight:600}},"\u52A9\u6559\u8BC4\u9605"),((Zi==null?void 0:Zi.teaching_asistant_score)||(Zi==null?void 0:Zi.teaching_asistant_score)==0)&&ui.createElement("div",{className:zt.pingyue_score},ui.createElement("div",{style:{height:"30px",lineHeight:"35px",fontSize:"24px",color:"#009C0F",fontWeight:600,marginLeft:"12px"}},Zi==null?void 0:Zi.teaching_asistant_score,ui.createElement("span",{style:{fontSize:"14px"}},"\u5206")),ui.createElement("div",{style:{fontSize:"12px",color:"#666666",marginLeft:"12px"}},"\u6700\u7EC8\u5F97\u5206\uFF08",(Zi==null?void 0:Zi.ta_mode)==1?"\u5E73\u5747\u8BC4\u5206":"\u6700\u7EC8\u8BC4\u5206","\uFF09"))),ui.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"20px",padding:"20px"}},(di=oo==null?void 0:oo.teaching_assistant_list)!=null&&di.length?(Ns=Ui?oo==null?void 0:oo.teaching_assistant_list:oo==null?void 0:oo.teaching_assistant_list.slice(0,3))==null?void 0:Ns.map((wi,er)=>ui.createElement(lt,{key:er,index:er,type:Zo.status==1&&"teacher",Data:Zs(Ws({},wi),{user_info:{user_image_url:wi.user_image_url,user_login:wi.user_login,user_name:wi.user_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn})):ui.createElement(St.Z,{styles:{margin:"50px auto"}}),((ps=oo==null?void 0:oo.teaching_assistant_list)==null?void 0:ps.length)>3&&!Ui&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Lr(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((cl=oo==null?void 0:oo.teaching_assistant_list)==null?void 0:cl.length)>3&&Ui&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Lr(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"))):null,(Os=oo==null?void 0:oo.student_list)!=null&&Os.length?ui.createElement("div",{className:zt.pingyue,style:{marginTop:"20px"}},ui.createElement("div",{className:zt.pingyue_title},ui.createElement("img",{src:aa,style:{marginRight:"5px"}}),ui.createElement("div",{style:{color:"#333333",fontWeight:600}},"\u533F\u8BC4\u8BC4\u9605"),((Zi==null?void 0:Zi.student_score)||(Zi==null?void 0:Zi.student_score)==0)&&ui.createElement("div",{className:zt.pingyue_score},ui.createElement("div",{style:{height:"30px",lineHeight:"35px",fontSize:"24px",color:"#009C0F",fontWeight:600,marginLeft:"12px"}},Zi==null?void 0:Zi.student_score,ui.createElement("span",{style:{fontSize:"14px"}},"\u5206")),ui.createElement("div",{style:{fontSize:"12px",color:"#666666",marginLeft:"12px"}},"\u6700\u7EC8\u5F97\u5206\uFF08\u5E73\u5747\u8BC4\u5206\uFF09"))),ui.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"20px",padding:"20px"}},(nu=oo==null?void 0:oo.student_list)!=null&&nu.length?(hu=Vi?oo==null?void 0:oo.student_list:oo==null?void 0:oo.student_list.slice(0,3))==null?void 0:hu.map((wi,er)=>ui.createElement(lt,{showNm:!0,showName:!(0,ii.dE)(),key:er,index:er,type:Zo.status==1&&"teacher",Data:Zs(Ws({},wi),{user_info:{user_image_url:wi.user_image_url,user_login:wi.user_login,user_name:wi.user_name}}),getInitData:cr,updateData:Jo,shixunHomeworks:Xn})):ui.createElement(St.Z,{styles:{margin:"50px auto"}}),((Vu=oo==null?void 0:oo.student_list)==null?void 0:Vu.length)>3&&!Vi&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Pr(!0)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u67E5\u770B\u5168\u90E8\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"),((rs=oo==null?void 0:oo.student_list)==null?void 0:rs.length)>3&&Vi&&ui.createElement("div",{style:{color:"#3061D0",textAlign:"center",cursor:"pointer"},onClick:()=>{Pr(!1)}},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u5DF2\u5C55\u793A\u5168\u90E8\u4F5C\u4E1A\u8BC4\u8BED\uFF0C\u70B9\u51FB\u53EF\u6536\u8D77\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"))):null)),Da()&&ui.createElement("div",{style:{width:"400px",padding:"15px",height:"calc(100vh - 143px)",overflowY:"auto",background:"#ffffff"},className:`${Ba?"":zt.hiddenBar}`,onMouseEnter:_o,onMouseLeave:()=>bs(!1)},ui.createElement(we.default,{form:za,layout:"vertical",size:"large",style:{position:"relative"},scrollToFirstError:!0,onFinish:wi=>{Co(wi)}},ui.createElement("div",{className:"blod font16 mb10",style:{color:"#191919"}},"\u8BC4\u9605"),ui.createElement(qt,{FormProps:{form:za},isShowStyles:!1}),ui.createElement(we.default.Item,{name:"attachment_ids",className:"mb20",style:{marginTop:"-12px"}},ui.createElement(an.Z,null)),(0,ii.GJ)()&&ui.createElement("div",null,ui.createElement(we.default.Item,{name:"hidden_comment",style:{background:"#F6F7F9",height:"50px",display:"flex",alignItems:"center",padding:"0 20px"}},ui.createElement(tt.default,{onChange:wi=>{var er;Lo((er=wi==null?void 0:wi.target)==null?void 0:er.checked)}},"\u8BC4\u8BED\u4EC5\u8BFE\u5802\u6559\u5E08\u53EF\u89C1")))),ui.createElement("div",null,ui.createElement(Ke.ZP,{loading:gu,style:{width:"100%",height:"40px",background:"#3061D0",borderRadius:"7px"},type:"primary",onClick:()=>{za.submit()}}," \u63D0\u4EA4\u8BC4\u9605 ")),ui.createElement("div",{style:{display:"flex",marginTop:"20px"}},(Zi==null?void 0:Zi.is_new_rule)&&(0,ii.G5)()&&Zi.work_status!==-1&&Zi.work_status!==0&&ui.createElement(Ke.ZP,{className:zt.btnAdd,onClick:()=>{vr({key:"\u786E\u8BA4\u6253\u56DE\u91CD\u505A"})}}," \u6253\u56DE\u91CD\u505A "),!(Zi!=null&&Zi.is_new_rule)&&(0,ii.G5)()&&["\u63D0\u4EA4\u4E2D","\u8865\u4EA4\u4E2D","\u8FDB\u884C\u4E2D"].some(wi=>{var er;return(er=Zi==null?void 0:Zi.homework_status)==null?void 0:er.includes(wi)})&&ui.createElement(Ke.ZP,{className:zt.btnAdd,onClick:()=>{vr({key:"\u786E\u8BA4\u6253\u56DE\u91CD\u505A"})}}," \u6253\u56DE\u91CD\u505A "),!(Zi!=null&&Zi.is_author)&&(0,ii.dE)()&&((Eo=Zi==null?void 0:Zi.homework_status)==null?void 0:Eo.includes("\u533F\u8BC4\u4E2D"))&&Fa.get("review")!=="review"&&ui.createElement(Ke.ZP,{className:zt.btnAdd,onClick:()=>{vr({key:"\u95EE\u9898\u53CD\u9988"})}}," \u95EE\u9898\u53CD\u9988 "),ui.createElement(Ke.ZP,{className:!(zl!=null&&zl.last)&&zt.btnAdd,style:{marginLeft:"auto",marginRight:"20px",display:"flex",alignItems:"center"},onClick:()=>Ro("last"),disabled:zl==null?void 0:zl.last},ui.createElement("i",{className:"iconfont icon-zuojiantou font12 mr5"})," \u4E0A\u4E00\u4E2A "),ui.createElement(Ke.ZP,{className:!(jl!=null&&jl.last)&&zt.btnAdd,style:{display:"flex",alignItems:"center"},disabled:jl==null?void 0:jl.last,onClick:()=>Ro("read")},"\u4E0B\u4E00\u4E2A ",ui.createElement("i",{className:"iconfont icon-youjiantou font12 ml5"})))))),ui.createElement(dn,null),ui.createElement(Nn,{studentWorkDetail:Zi}),ui.createElement(ze.Z,null),ui.createElement(Ie.default,{title:"\u786E\u8BA4\u6253\u56DE\u91CD\u505A",open:(Xo==null?void 0:Xo.key)=="\u786E\u8BA4\u6253\u56DE\u91CD\u505A",destroyOnClose:!0,forceRender:!0,width:700,onCancel:()=>{vr("")},onOk:()=>Al(void 0,null,function*(){if(!Yu){De.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}const wi=yield(0,ee.ZP)(`/api/student_works/${Fr.userId}/redo_modal.json`,{method:"post",body:{comment:Yu,id:Fr.userId}});(wi==null?void 0:wi.status)===0&&(De.ZP.info("\u6253\u56DE\u91CD\u505A\u6210\u529F"),vr(""),cr(),Jo())})},ui.createElement("div",{style:{padding:"32px"}},ui.createElement("span",null,"\u786E\u8BA4\u5C06",Zi==null?void 0:Zi.author_name,"\u7684\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417"),ui.createElement("div",{style:{marginTop:"20px"}},ui.createElement("label",null,ui.createElement("span",{style:{marginRight:"5px",color:"red"}},"*"),"\u8BC4\u8BED\uFF1A"),ui.createElement(ne.Z,{className:zt.MdEditor,onChange:wi=>Ac(wi),defaultValue:"",height:250})))),ui.createElement(ue.Z,{close:!0,data:Tr==null?void 0:Tr.content,type:Tr==null?void 0:Tr.type,hasMask:!0,monacoEditor:{value:Xu.current,language:"txt",onChange:()=>{},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:()=>mo({content:"",type:""})}),ui.createElement(Ie.default,{width:675,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F",open:Nc,confirmLoading:Mh,centered:!0,onCancel:()=>td(!1),onOk:()=>{nd=="\u9644\u4EF6"?Tu?jo(!1):Or(!1):nd=="\u6279\u6CE8"&&(Tu?jo(!0):Or(!0))}},ui.createElement(tt.default,{checked:rn,onChange:wi=>{cn(wi.target.checked)}},"\u540C\u65F6\u5BFC\u51FA\u5B66\u751F\u63D0\u4EA4\u8BB0\u5F55"),ui.createElement("div",{className:zt.export_type_modal_title},"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u9644\u4EF6\u7C7B\u578B"),ui.createElement("div",{className:zt.export_type_modal},ui.createElement("div",{className:zt.export_type_modal_con},ui.createElement("div",{className:`${zt.type_item} ${nd=="\u9644\u4EF6"?zt.type_item_active:""}`,onClick:()=>xc("\u9644\u4EF6")},ui.createElement("div",{className:`${zt.img_warp}`},ui.createElement("img",{src:Sn.Z,width:72,height:80})),ui.createElement("span",null,"\u5B66\u751F\u63D0\u4EA4\u7684\u9644\u4EF6")),ui.createElement("div",{className:`${zt.type_item} ${nd=="\u6279\u6CE8"?zt.type_item_active:""}`,onClick:()=>xc("\u6279\u6CE8")},ui.createElement("div",{className:`${zt.img_warp}`},ui.createElement("img",{src:Yt.Z,width:99,height:80})),ui.createElement("span",null,"\u5305\u542B\u6279\u6CE8\u5185\u5BB9\u7684\u9644\u4EF6"))),ui.createElement("div",{className:zt.export_type_modal_waring},"\u5982\u5B66\u751F\u672A\u4E0A\u4F20\u9644\u4EF6\uFF0C\u4EC5\u4F1A\u5BFC\u51FA\u8BE5\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u9898\u8BB0\u5F55"))),ui.createElement(Ie.default,{title:Xo==null?void 0:Xo.key,open:(Xo==null?void 0:Xo.key)=="\u4F5C\u4E1A\u63D0\u4EA4\u8BB0\u5F55",centered:!0,destroyOnClose:!0,width:969,footer:null,onCancel:()=>vr("")},ui.createElement(ht.default,{locale:{emptyText:ui.createElement(St.Z,null)},columns:uo,dataSource:Ka==null?void 0:Ka.student_works,pagination:!1})),ui.createElement(Ie.default,{title:Xo==null?void 0:Xo.key,open:(Xo==null?void 0:Xo.key)=="\u95EE\u9898\u53CD\u9988",centered:!0,destroyOnClose:!0,width:700,onCancel:()=>{vr(""),qo.resetFields()},confirmLoading:Ku,onOk:()=>{qo.submit()}},ui.createElement(we.default,{form:qo,onFinish:wi=>Al(void 0,null,function*(){const er=yield xo({userId:Fr==null?void 0:Fr.userId,id:Fr==null?void 0:Fr.userId,student_work_feedback:Ws({},wi)});(er==null?void 0:er.status)==0&&(De.ZP.success("\u63D0\u4EA4\u6210\u529F"),vr(""),qo.resetFields(),os({}),cr())})},ui.createElement("div",{className:"mb20 p20 pt10 pb10 c-grey-333",style:{background:"#F6F7F9"}}," \u5982\u679C\u4F5C\u54C1\u65E0\u6CD5\u533F\u8BC4\uFF0C\u8BF7\u63CF\u8FF0\u95EE\u9898\u5E76\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u8FDB\u884C\u53CD\u9988\u3002\u53CD\u9988\u540E\u7CFB\u7EDF\u5C06\u4E0D\u4F1A\u6263\u9664\u7F3A\u8BC4\u5206\u6570\u3002"),ui.createElement(we.default.Item,{className:"mb0",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}]},ui.createElement(kt.default.TextArea,{rows:6,placeholder:"\u4F8B\u5982\uFF1A\u4F5C\u54C1\u63D0\u4EA4\u7684\u9644\u4EF6\u4E0D\u6E05\u6670",maxLength:200})))),ui.createElement(on,{ModalProps:{open:(Xo==null?void 0:Xo.key)=="\u5386\u53F2\u8BC4\u9605\u8BB0\u5F55",onCancel:()=>{vr("")},onOk:()=>{vr("")}}}),ui.createElement(Vt,{ModalProps:{open:(Xo==null?void 0:Xo.key)=="\u5F97\u5206\u8BE6\u60C5",onCancel:()=>{vr("")},onOk:()=>{vr("")}}}),ui.createElement(In,{ModalProps:{open:(Xo==null?void 0:Xo.key)=="\u4F5C\u4E1A\u63CF\u8FF0",footer:[ui.createElement(Ke.ZP,{type:"primary",onClick:()=>vr("")},"\u786E\u5B9A")],onCancel:()=>{vr("")}}}))};var ed=(0,Ce.connect)(({shixunHomeworks:Xn,loading:bn,user:_t,globalSetting:Ao,classroomList:ta})=>({shixunHomeworks:Xn,globalSetting:Ao,user:_t,loading:bn.effects,classroomList:ta}))(md)},76904:function(_e,be,oe){"use strict";oe.d(be,{$J:function(){return we},JZ:function(){return De},bN:function(){return Ee},jP:function(){return Ke},rO:function(){return Ie}});var se=oe(70635),Ce=(et,Je,Ye)=>new Promise((tt,ht)=>{var kt=ne=>{try{ee(Ye.next(ne))}catch(ge){ht(ge)}},ze=ne=>{try{ee(Ye.throw(ne))}catch(ge){ht(ge)}},ee=ne=>ne.done?tt(ne.value):Promise.resolve(ne.value).then(kt,ze);ee((Ye=Ye.apply(et,Je)).next())});function we(et){return(0,se.U2)(`libraries/${et}.json`)}function Ie(){return(0,se.U2)("library_tags.json")}function De(et){return Ce(this,null,function*(){return(yield(0,se.IV)(`attachments/${et}.json`)).status===0})}function Ke(et){return(0,se.v_)("libraries.json",et)}function Ee(et,Je){return(0,se.gz)(`libraries/${et}.json`,Je)}},35427:function(_e,be,oe){"use strict";oe.d(be,{U:function(){return Je}});var se=oe(59301),Ce=Object.defineProperty,we=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ke=(Ye,tt,ht)=>tt in Ye?Ce(Ye,tt,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Ye[tt]=ht,Ee=(Ye,tt)=>{for(var ht in tt||(tt={}))Ie.call(tt,ht)&&Ke(Ye,ht,tt[ht]);if(we)for(var ht of we(tt))De.call(tt,ht)&&Ke(Ye,ht,tt[ht]);return Ye},et=(Ye,tt,ht)=>new Promise((kt,ze)=>{var ee=ue=>{try{ge(ht.next(ue))}catch(me){ze(me)}},ne=ue=>{try{ge(ht.throw(ue))}catch(me){ze(me)}},ge=ue=>ue.done?kt(ue.value):Promise.resolve(ue.value).then(ee,ne);ge((ht=ht.apply(Ye,tt)).next())});function Je(Ye,tt){const[ht,kt]=(0,se.useState)(tt),[ze,ee]=(0,se.useState)(!1),[ne,ge]=(0,se.useState)();return[ht,ze,(me,Se=!1)=>et(this,null,function*(){const Ne=Se?tt:Ee(Ee({},ht),me);ee(!0),kt(Ne);const ke=yield Ye(Ne);return ee(!1),ge(ke),ke}),ne]}},31087:function(_e,be,oe){"use strict";oe.d(be,{AL:function(){return Ne},Iy:function(){return tt},Qv:function(){return ze},ez:function(){return Se},jb:function(){return ht}});var se=oe(32834),Ce=oe.n(se),we=oe(11690),Ie=oe.n(we);let De=1;function Ke(st,ut){const Mt=st.match(/^(\s+)(?:```)/);if(Mt===null)return ut;const nt=Mt[1];return ut.split(` `).map($t=>{const Pt=$t.match(/^\s+/);if(Pt===null)return $t;const[dn]=Pt;return dn.length>=nt.length?$t.slice(nt.length):$t}).join(` `)}let Ee=[],et=["
    "];const Je=new(Ce()).Renderer,Ye=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function tt(){Ee.length=0,et=["
      "]}const ht={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function kt(st,ut,Mt,nt){if(ut>=st.length||st[ut].level<=Mt)return ut;var $t=st[ut];nt.push("
    • "+$t.text+""),ut++;var Pt=[];return ut=kt(st,ut,$t.level,Pt),Pt.length>0&&(nt.push("
        "),Pt.forEach(function(dn){nt.push(dn)}),nt.push("
      ")),nt.push("
    • "),ut=kt(st,ut,Mt,nt),ut}function ze(){return kt(Ee,0,0,et),et.push("
    "),et.join("")}const ee={heading(st){const ut=Ye.exec(st);if(De+=1,ut)return{type:"heading",raw:ut[0],depth:ut[1].length,text:ut[2]}},fences(st){const ut=this.rules.block.fences.exec(st);if(ut){const Mt=ut[0];let nt=Ke(Mt,ut[3]||"");const $t=ut[2]?ut[2].trim():ut[2];if(["latex","katex","math"].indexOf($t)>=0){const Pt=ue(),dn=nt;nt=Pt,me[Pt]={type:"block",expression:dn}}return{type:"code",raw:Mt,lang:$t,text:nt}}}},ne=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ge=0;const ue=()=>`__special_katext_id_${ge++}__`;let me={};function Se(){return me}function Ne(){ge=0,me={}}function ke(st){return st=st.replace(ne,(ut,Mt)=>{const nt=ue();return me[nt]={type:"inline",expression:Mt},nt}),st}const Te=Je.listitem;Je.listitem=function(st){return Te(ke(st))};const We=Je.paragraph;Je.paragraph=function(st){return We(ke(st))};const $e=Je.tablecell;Je.tablecell=function(st,ut){return $e(ke(st),ut)},Je.code=function(st,ut,Mt){const nt=(ut||"").match(/\S*/)[0];return nt?["latex","katex","math"].indexOf(nt)>=0?`

    ${st}

    `:`
    ${Mt?st:(0,we.escape)(st,!0)}
    `:'
    '+(Mt?st:(0,we.escape)(st,!0))+"
    "},Je.heading=function(st,ut,Mt){let nt=this.options.headerPrefix+Mt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ee.push({anchor:nt,level:ut,text:st}),"'+st+""},Ce().setOptions({silent:!0,gfm:!0,pedantic:!1}),Ce().use({tokenizer:ee,renderer:Je}),be.ZP=Ce()},50371:function(_e,be){"use strict";function oe(){const se=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ce=1;Ce{const De=we[Ie];De!==void 0&&(se[Ie]=De)})}return se}be.Z=oe},13845:function(_e,be,oe){"use strict";oe.d(be,{F:function(){return se},Z:function(){return Ce}});function se(we){return we!=null&&we===we.window}function Ce(we,Ie){var De,Ke;if(typeof window=="undefined")return 0;const Ee=Ie?"scrollTop":"scrollLeft";let et=0;return se(we)?et=we[Ie?"pageYOffset":"pageXOffset"]:we instanceof Document?et=we.documentElement[Ee]:(we instanceof HTMLElement||we)&&(et=we[Ee]),we&&!se(we)&&typeof et!="number"&&(et=(Ke=((De=we.ownerDocument)!==null&&De!==void 0?De:we).documentElement)===null||Ke===void 0?void 0:Ke[Ee]),et}},56762:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ce}});var se=oe(59301);function Ce(){const[,we]=se.useReducer(Ie=>Ie+1,0);return we}},68031:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ie}});var se=oe(23073);function Ce(De,Ke,Ee,et){const Je=Ee-Ke;return De/=et/2,De<1?Je/2*De*De*De+Ke:Je/2*((De-=2)*De*De+2)+Ke}var we=oe(13845);function Ie(De){let Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Ee=()=>window,callback:et,duration:Je=450}=Ke,Ye=Ee(),tt=(0,we.Z)(Ye,!0),ht=Date.now(),kt=()=>{const ee=Date.now()-ht,ne=Ce(ee>Je?Je:ee,tt,De,Je);(0,we.F)(Ye)?Ye.scrollTo(window.pageXOffset,ne):Ye instanceof Document||Ye.constructor.name==="HTMLDocument"?Ye.documentElement.scrollTop=ne:Ye.scrollTop=ne,ee{var ut;const{prefixCls:Mt,className:nt,rootClassName:$t,children:Pt,indeterminate:dn=!1,style:zt,onMouseEnter:Xt,onMouseLeave:fn,skipGroup:an=!1,disabled:it}=$e,Ve=kt($e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:gt,direction:Bt,checkbox:sn}=Ie.useContext(De.E_),It=Ie.useContext(Je),{isFormItemInput:en}=Ie.useContext(Ee.aM),En=Ie.useContext(Ke.Z),ei=(ut=(It==null?void 0:It.disabled)||it)!==null&&ut!==void 0?ut:En,An=Ie.useRef(Ve.value);Ie.useEffect(()=>{It==null||It.registerValue(Ve.value)},[]),Ie.useEffect(()=>{if(!an)return Ve.value!==An.current&&(It==null||It.cancelValue(An.current),It==null||It.registerValue(Ve.value),An.current=Ve.value),()=>It==null?void 0:It.cancelValue(Ve.value)},[Ve.value]);const Kn=gt("checkbox",Mt),[jt,Nn]=(0,Ye.ZP)(Kn),Gn=Object.assign({},Ve);It&&!an&&(Gn.onChange=function(){Ve.onChange&&Ve.onChange.apply(Ve,arguments),It.toggleOption&&It.toggleOption({label:Pt,value:Ve.value})},Gn.name=It.name,Gn.checked=It.value.includes(Ve.value));const ii=Ce()(`${Kn}-wrapper`,{[`${Kn}-rtl`]:Bt==="rtl",[`${Kn}-wrapper-checked`]:Gn.checked,[`${Kn}-wrapper-disabled`]:ei,[`${Kn}-wrapper-in-form-item`]:en},sn==null?void 0:sn.className,nt,$t,Nn),Sn=Ce()({[`${Kn}-indeterminate`]:dn},ht.A,Nn),Yt=dn?"mixed":void 0;return jt(Ie.createElement(tt.Z,{component:"Checkbox",disabled:ei},Ie.createElement("label",{className:ii,style:Object.assign(Object.assign({},sn==null?void 0:sn.style),zt),onMouseEnter:Xt,onMouseLeave:fn},Ie.createElement(we.Z,Object.assign({"aria-checked":Yt},Gn,{prefixCls:Kn,className:Sn,disabled:ei,ref:st})),Pt!==void 0&&Ie.createElement("span",null,Pt))))};var ne=Ie.forwardRef(ze),ge=oe(26390),ue=oe(64002),me=function($e,st){var ut={};for(var Mt in $e)Object.prototype.hasOwnProperty.call($e,Mt)&&st.indexOf(Mt)<0&&(ut[Mt]=$e[Mt]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Mt=Object.getOwnPropertySymbols($e);nt{const{defaultValue:ut,children:Mt,options:nt=[],prefixCls:$t,className:Pt,rootClassName:dn,style:zt,onChange:Xt}=$e,fn=me($e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:an,direction:it}=Ie.useContext(De.E_),[Ve,gt]=Ie.useState(fn.value||ut||[]),[Bt,sn]=Ie.useState([]);Ie.useEffect(()=>{"value"in fn&>(fn.value||[])},[fn.value]);const It=Ie.useMemo(()=>nt.map(Zt=>typeof Zt=="string"||typeof Zt=="number"?{label:Zt,value:Zt}:Zt),[nt]),en=Zt=>{sn(St=>St.filter(rt=>rt!==Zt))},En=Zt=>{sn(St=>[].concat((0,ge.Z)(St),[Zt]))},ei=Zt=>{const St=Ve.indexOf(Zt.value),rt=(0,ge.Z)(Ve);St===-1?rt.push(Zt.value):rt.splice(St,1),"value"in fn||gt(rt),Xt==null||Xt(rt.filter(Ft=>Bt.includes(Ft)).sort((Ft,Ot)=>{const ft=It.findIndex(Ge=>Ge.value===Ft),ct=It.findIndex(Ge=>Ge.value===Ot);return ft-ct}))},An=an("checkbox",$t),Kn=`${An}-group`,[jt,Nn]=(0,Ye.ZP)(An),Gn=(0,ue.Z)(fn,["value","disabled"]),ii=nt.length?It.map(Zt=>Ie.createElement(ne,{prefixCls:An,key:Zt.value.toString(),disabled:"disabled"in Zt?Zt.disabled:fn.disabled,value:Zt.value,checked:Ve.includes(Zt.value),onChange:Zt.onChange,className:`${Kn}-item`,style:Zt.style,title:Zt.title},Zt.label)):Mt,Sn={toggleOption:ei,value:Ve,disabled:fn.disabled,name:fn.name,registerValue:En,cancelValue:en},Yt=Ce()(Kn,{[`${Kn}-rtl`]:it==="rtl"},Pt,dn,Nn);return jt(Ie.createElement("div",Object.assign({className:Yt,style:zt},Gn,{ref:st}),Ie.createElement(Je.Provider,{value:Sn},ii)))},Ne=Ie.forwardRef(Se);var ke=Ie.memo(Ne);const Te=ne;Te.Group=ke,Te.__ANT_CHECKBOX=!0;var We=Te},98447:function(_e,be,oe){"use strict";oe.d(be,{C2:function(){return De}});var se=oe(17313),Ce=oe(37613),we=oe(83116);const Ie=Ke=>{const{checkboxCls:Ee}=Ke,et=`${Ee}-wrapper`;return[{[`${Ee}-group`]:Object.assign(Object.assign({},(0,se.Wf)(Ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ke.marginXS,[`> ${Ke.antCls}-row`]:{flex:1}}),[et]:Object.assign(Object.assign({},(0,se.Wf)(Ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${et}`]:{marginInlineStart:0},[`&${et}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Ee]:Object.assign(Object.assign({},(0,se.Wf)(Ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ke.borderRadiusSM,alignSelf:"center",[`${Ee}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Ee}-inner`]:Object.assign({},(0,se.oN)(Ke))},[`${Ee}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ke.checkboxSize,height:Ke.checkboxSize,direction:"ltr",backgroundColor:Ke.colorBgContainer,border:`${Ke.lineWidth}px ${Ke.lineType} ${Ke.colorBorder}`,borderRadius:Ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ke.checkboxSize/14*5,height:Ke.checkboxSize/14*8,border:`${Ke.lineWidthBold}px solid ${Ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ke.motionDurationFast} ${Ke.motionEaseInBack}, opacity ${Ke.motionDurationFast}`}},"& + span":{paddingInlineStart:Ke.paddingXS,paddingInlineEnd:Ke.paddingXS}})},{[` @@ -1126,7 +1126,7 @@ &-hidden.${yt}-row`]:{display:"none"},"&-has-warning":{[`${On}-split`]:{color:Nt.colorError}},"&-has-error":{[`${On}-split`]:{color:Nt.colorWarning}},[`${On}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Nt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Rn,color:zn,fontSize:mi,[`> ${Un}`]:{fontSize:Nt.fontSize,verticalAlign:"top"},[`&${On}-required:not(${On}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Nt.marginXXS,color:In,fontSize:Nt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Vt}-hide-required-mark &`]:{display:"none"}},[`${On}-optional`]:{display:"inline-block",marginInlineStart:Nt.marginXXS,color:Nt.colorTextDescription,[`${Vt}-hide-required-mark &`]:{display:"none"}},[`${On}-tooltip`]:{color:Nt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Nt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:bt,marginInlineEnd:Ut},[`&${On}-no-colon::after`]:{content:'"\\a0"'}}},[`${On}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${yt}-col-'"]):not([class*="' ${yt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Nt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[On]:{"&-explain, &-extra":{clear:"both",color:Nt.colorTextDescription,fontSize:Nt.fontSize,lineHeight:Nt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Nt.controlHeightSM,transition:`color ${Nt.motionDurationMid} ${Nt.motionEaseOut}`},"&-explain":{"&-error":{color:Nt.colorError},"&-warning":{color:Nt.colorWarning}}},[`&-with-help ${On}-explain`]:{height:"auto",opacity:1},[`${On}-feedback-icon`]:{fontSize:Nt.fontSize,textAlign:"center",visibility:"visible",animationName:Ye.kr,animationDuration:Nt.motionDurationMid,animationTimingFunction:Nt.motionEaseOutBack,pointerEvents:"none","&-success":{color:Nt.colorSuccess},"&-error":{color:Nt.colorError},"&-warning":{color:Nt.colorWarning},"&-validating":{color:Nt.colorPrimary}}})}},Se=Nt=>{const{componentCls:On,formItemCls:Un}=Nt;return{[`${On}-horizontal`]:{[`${Un}-label`]:{flexGrow:0},[`${Un}-control`]:{flex:"1 1 0",minWidth:0},[`${Un}-label[class$='-24'], ${Un}-label[class*='-24 ']`]:{[`& + ${Un}-control`]:{minWidth:"unset"}}}}},Ne=Nt=>{const{componentCls:On,formItemCls:Un}=Nt;return{[`${On}-inline`]:{display:"flex",flexWrap:"wrap",[Un]:{flex:"none",marginInlineEnd:Nt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Un}-label, > ${Un}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Un}-label`]:{flex:"none"},[`${On}-text`]:{display:"inline-block"},[`${Un}-has-feedback`]:{display:"inline-block"}}}}},ke=Nt=>({padding:Nt.verticalLabelPadding,margin:Nt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Te=Nt=>{const{componentCls:On,formItemCls:Un,rootPrefixCls:Vt}=Nt;return{[`${Un} ${Un}-label`]:ke(Nt),[On]:{[Un]:{flexWrap:"wrap",[`${Un}-label, ${Un}-control`]:{[`&:not([class*=" ${Vt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},We=Nt=>{const{componentCls:On,formItemCls:Un,rootPrefixCls:Vt}=Nt;return{[`${On}-vertical`]:{[Un]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${On}-item-control`]:{width:"100%"}}},[`${On}-vertical ${Un}-label, .${Vt}-col-24${Un}-label, - .${Vt}-col-xl-24${Un}-label`]:ke(Nt),[`@media (max-width: ${Nt.screenXSMax}px)`]:[Te(Nt),{[On]:{[`.${Vt}-col-xs-24${Un}-label`]:ke(Nt)}}],[`@media (max-width: ${Nt.screenSMMax}px)`]:{[On]:{[`.${Vt}-col-sm-24${Un}-label`]:ke(Nt)}},[`@media (max-width: ${Nt.screenMDMax}px)`]:{[On]:{[`.${Vt}-col-md-24${Un}-label`]:ke(Nt)}},[`@media (max-width: ${Nt.screenLGMax}px)`]:{[On]:{[`.${Vt}-col-lg-24${Un}-label`]:ke(Nt)}}}},$e=(Nt,On)=>(0,ht.TS)(Nt,{formItemCls:`${Nt.componentCls}-item`,rootPrefixCls:On});var st=(0,kt.Z)("Form",(Nt,On)=>{let{rootPrefixCls:Un}=On;const Vt=$e(Nt,Un);return[ue(Vt),me(Vt),ee(Vt),Se(Vt),Ne(Vt),We(Vt),(0,tt.Z)(Vt),Ye.kr]},Nt=>({labelRequiredMarkColor:Nt.colorError,labelColor:Nt.colorTextHeading,labelFontSize:Nt.fontSize,labelHeight:Nt.controlHeight,labelColonMarginInlineStart:Nt.marginXXS/2,labelColonMarginInlineEnd:Nt.marginXS,itemMarginBottom:Nt.marginLG,verticalLabelPadding:`0 0 ${Nt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const ut=[];function Mt(Nt,On,Un){let Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Nt=="string"?Nt:`${On}-${Vt}`,error:Nt,errorStatus:Un}}var $t=Nt=>{let{help:On,helpStatus:Un,errors:Vt=ut,warnings:yt=ut,className:In,fieldId:zn,onVisibleChanged:mi}=Nt;const{prefixCls:Rn}=De.useContext(Ee.Rk),bt=`${Rn}-item-explain`,[,Ut]=st(Rn),Ln=(0,De.useMemo)(()=>(0,Ke.Z)(Rn),[Rn]),ni=et(Vt),_t=et(yt),yn=De.useMemo(()=>On!=null?[Mt(On,"help",Un)]:[].concat((0,se.Z)(ni.map((un,wn)=>Mt(un,"error","error",wn))),(0,se.Z)(_t.map((un,wn)=>Mt(un,"warning","warning",wn)))),[On,Un,ni,_t]),Qt={};return zn&&(Qt.id=`${zn}_help`),De.createElement(Ie.default,{motionDeadline:Ln.motionDeadline,motionName:`${Rn}-show-help`,visible:!!yn.length,onVisibleChanged:mi},un=>{const{className:wn,style:gn}=un;return De.createElement("div",Object.assign({},Qt,{className:we()(bt,wn,In,Ut),style:gn,role:"alert"}),De.createElement(Ie.CSSMotionList,Object.assign({keys:yn},(0,Ke.Z)(Rn),{motionName:`${Rn}-show-help-item`,component:!1}),kn=>{const{key:Bn,error:Vn,errorStatus:Jn,className:Wn,style:gi}=kn;return De.createElement("div",{key:Bn,className:we()(Wn,{[`${bt}-${Jn}`]:Jn}),style:gi},Vn)}))})},Pt=oe(95013),dn=oe(36355),zt=oe(1684),Xt=oe(52946),fn=oe(19716),an=oe(16722);const it=["parentNode"],Ve="form_item";function gt(Nt){return Nt===void 0||Nt===!1?[]:Array.isArray(Nt)?Nt:[Nt]}function Bt(Nt,On){if(!Nt.length)return;const Un=Nt.join("_");return On?`${On}_${Un}`:it.includes(Un)?`${Ve}_${Un}`:Un}function sn(Nt,On,Un,Vt,yt,In){let zn=Vt;return In!==void 0?zn=In:Un.validating?zn="validating":Nt.length?zn="error":On.length?zn="warning":(Un.touched||yt&&Un.validated)&&(zn="success"),zn}function It(Nt){return gt(Nt).join("_")}function en(Nt){const[On]=(0,Pt.useForm)(),Un=De.useRef({}),Vt=De.useMemo(()=>Nt!=null?Nt:Object.assign(Object.assign({},On),{__INTERNAL__:{itemRef:yt=>In=>{const zn=It(yt);In?Un.current[zn]=In:delete Un.current[zn]}},scrollToField:function(yt){let In=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const zn=gt(yt),mi=Bt(zn,Vt.__INTERNAL__.name),Rn=mi?document.getElementById(mi):null;Rn&&(0,an.Z)(Rn,Object.assign({scrollMode:"if-needed",block:"nearest"},In))},getFieldInstance:yt=>{const In=It(yt);return Un.current[In]}}),[Nt,On]);return[Vt]}var En=oe(28726),ei=function(Nt,On){var Un={};for(var Vt in Nt)Object.prototype.hasOwnProperty.call(Nt,Vt)&&On.indexOf(Vt)<0&&(Un[Vt]=Nt[Vt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Vt=Object.getOwnPropertySymbols(Nt);yt{const Un=De.useContext(zt.Z),{getPrefixCls:Vt,direction:yt,form:In}=De.useContext(dn.E_),{prefixCls:zn,className:mi,rootClassName:Rn,size:bt,disabled:Ut=Un,form:Ln,colon:ni,labelAlign:_t,labelWrap:yn,labelCol:Qt,wrapperCol:un,hideRequiredMark:wn,layout:gn="horizontal",scrollToFirstError:kn,requiredMark:Bn,onFinishFailed:Vn,name:Jn,style:Wn,feedbackIcons:gi}=Nt,Fi=ei(Nt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),ir=(0,fn.Z)(bt),zi=De.useContext(En.Z),tn=(0,De.useMemo)(()=>Bn!==void 0?Bn:In&&In.requiredMark!==void 0?In.requiredMark:!wn,[wn,Bn,In]),Ai=ni!=null?ni:In==null?void 0:In.colon,Bi=Vt("form",zn),[Ti,hr]=st(Bi),tr=we()(Bi,`${Bi}-${gn}`,{[`${Bi}-hide-required-mark`]:tn===!1,[`${Bi}-rtl`]:yt==="rtl",[`${Bi}-${ir}`]:ir},hr,In==null?void 0:In.className,mi,Rn),[br]=en(Ln),{__INTERNAL__:Xi}=br;Xi.name=Jn;const Hi=(0,De.useMemo)(()=>({name:Jn,labelAlign:_t,labelCol:Qt,labelWrap:yn,wrapperCol:un,vertical:gn==="vertical",colon:Ai,requiredMark:tn,itemRef:Xi.itemRef,form:br,feedbackIcons:gi}),[Jn,_t,Qt,un,gn,Ai,tn,br,gi]);De.useImperativeHandle(On,()=>br);const Ir=(Kr,Fn)=>{if(Kr){let kr={block:"nearest"};typeof Kr=="object"&&(kr=Kr),br.scrollToField(Fn,kr)}},Gt=Kr=>{if(Vn==null||Vn(Kr),Kr.errorFields.length){const Fn=Kr.errorFields[0].name;if(kn!==void 0){Ir(kn,Fn);return}In&&In.scrollToFirstError!==void 0&&Ir(In.scrollToFirstError,Fn)}};return Ti(De.createElement(zt.n,{disabled:Ut},De.createElement(Xt.q,{size:ir},De.createElement(Ee.RV,Object.assign({},{validateMessages:zi}),De.createElement(Ee.q3.Provider,{value:Hi},De.createElement(Pt.default,Object.assign({id:Jn},Fi,{name:Jn,onFinishFailed:Gt,form:br,style:Object.assign(Object.assign({},In==null?void 0:In.style),Wn),className:tr})))))))};var jt=De.forwardRef(An),Nn=oe(12383),Gn=oe(20475),ii=oe(92343),Sn=oe(38298);function Yt(Nt){if(typeof Nt=="function")return Nt;const On=(0,Sn.Z)(Nt);return On.length<=1?On[0]:On}const Zt=()=>{const{status:Nt,errors:On=[],warnings:Un=[]}=(0,De.useContext)(Ee.aM);return{status:Nt,errors:On,warnings:Un}};Zt.Context=Ee.aM;var St=Zt,rt=oe(23073);function Ft(Nt){const[On,Un]=De.useState(Nt),Vt=(0,De.useRef)(null),yt=(0,De.useRef)([]),In=(0,De.useRef)(!1);De.useEffect(()=>(In.current=!1,()=>{In.current=!0,rt.Z.cancel(Vt.current),Vt.current=null}),[]);function zn(mi){In.current||(Vt.current===null&&(yt.current=[],Vt.current=(0,rt.Z)(()=>{Vt.current=null,Un(Rn=>{let bt=Rn;return yt.current.forEach(Ut=>{bt=Ut(bt)}),bt})})),yt.current.push(mi))}return[On,zn]}function Ot(){const{itemRef:Nt}=De.useContext(Ee.q3),On=De.useRef({});function Un(Vt,yt){const In=yt&&typeof yt=="object"&&yt.ref,zn=Vt.join("_");return(On.current.name!==zn||On.current.originRef!==In)&&(On.current.name=zn,On.current.originRef=In,On.current.ref=(0,Gn.sQ)(Nt(Vt),In)),On.current.ref}return Un}var ft=oe(48886),ct=oe(28800),Ge=oe(64002),Ae=oe(27382),xe=oe(37028);const je=Nt=>{const{formItemCls:On}=Nt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${On}-control`]:{display:"flex"}}}};var Qe=(0,kt.b)(["Form","item-item"],(Nt,On)=>{let{rootPrefixCls:Un}=On;const Vt=$e(Nt,Un);return[je(Vt)]}),xt=Nt=>{const{prefixCls:On,status:Un,wrapperCol:Vt,children:yt,errors:In,warnings:zn,_internalItemRender:mi,extra:Rn,help:bt,fieldId:Ut,marginBottom:Ln,onErrorVisibleChanged:ni}=Nt,_t=`${On}-item`,yn=De.useContext(Ee.q3),Qt=Vt||yn.wrapperCol||{},un=we()(`${_t}-control`,Qt.className),wn=De.useMemo(()=>Object.assign({},yn),[yn]);delete wn.labelCol,delete wn.wrapperCol;const gn=De.createElement("div",{className:`${_t}-control-input`},De.createElement("div",{className:`${_t}-control-input-content`},yt)),kn=De.useMemo(()=>({prefixCls:On,status:Un}),[On,Un]),Bn=Ln!==null||In.length||zn.length?De.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},De.createElement(Ee.Rk.Provider,{value:kn},De.createElement($t,{fieldId:Ut,errors:In,warnings:zn,help:bt,helpStatus:Un,className:`${_t}-explain-connected`,onVisibleChanged:ni})),!!Ln&&De.createElement("div",{style:{width:0,height:Ln}})):null,Vn={};Ut&&(Vn.id=`${Ut}_extra`);const Jn=Rn?De.createElement("div",Object.assign({},Vn,{className:`${_t}-extra`}),Rn):null,Wn=mi&&mi.mark==="pro_table_render"&&mi.render?mi.render(Nt,{input:gn,errorList:Bn,extra:Jn}):De.createElement(De.Fragment,null,gn,Bn,Jn);return De.createElement(Ee.q3.Provider,{value:wn},De.createElement(xe.Z,Object.assign({},Qt,{className:un}),Wn),De.createElement(Qe,{prefixCls:On}))},hn=oe(86902),Pn=oe(31724),wt=oe(9763),nn=oe(6848),Mn=function(Nt,On){var Un={};for(var Vt in Nt)Object.prototype.hasOwnProperty.call(Nt,Vt)&&On.indexOf(Vt)<0&&(Un[Vt]=Nt[Vt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Vt=Object.getOwnPropertySymbols(Nt);yt{let{prefixCls:On,label:Un,htmlFor:Vt,labelCol:yt,labelAlign:In,colon:zn,required:mi,requiredMark:Rn,tooltip:bt}=Nt;var Ut;const[Ln]=(0,wt.Z)("Form"),{vertical:ni,labelAlign:_t,labelCol:yn,labelWrap:Qt,colon:un}=De.useContext(Ee.q3);if(!Un)return null;const wn=yt||yn||{},gn=In||_t,kn=`${On}-item-label`,Bn=we()(kn,gn==="left"&&`${kn}-left`,wn.className,{[`${kn}-wrap`]:!!Qt});let Vn=Un;const Jn=zn===!0||un!==!1&&zn!==!1;Jn&&!ni&&typeof Un=="string"&&Un.trim()!==""&&(Vn=Un.replace(/[:|:]\s*$/,""));const gi=Zn(bt);if(gi){const{icon:tn=De.createElement(hn.Z,null)}=gi,Ai=Mn(gi,["icon"]),Bi=De.createElement(nn.Z,Object.assign({},Ai),De.cloneElement(tn,{className:`${On}-item-tooltip`,title:""}));Vn=De.createElement(De.Fragment,null,Vn,Bi)}const Fi=Rn==="optional",ir=typeof Rn=="function";ir?Vn=Rn(Vn,{required:!!mi}):Fi&&!mi&&(Vn=De.createElement(De.Fragment,null,Vn,De.createElement("span",{className:`${On}-item-optional`,title:""},(Ln==null?void 0:Ln.optional)||((Ut=Pn.Z.Form)===null||Ut===void 0?void 0:Ut.optional))));const zi=we()({[`${On}-item-required`]:mi,[`${On}-item-required-mark-optional`]:Fi||ir,[`${On}-item-no-colon`]:!Jn});return De.createElement(xe.Z,Object.assign({},wn,{className:Bn}),De.createElement("label",{htmlFor:Vt,className:zi,title:typeof Un=="string"?Un:""},Vn))},Mi=oe(79999),Si=oe(33130),Ri=oe(85404),lr=oe(50023);const dr={success:Mi.Z,warning:Ri.Z,error:Si.Z,validating:lr.Z};function ur(Nt){let{children:On,errors:Un,warnings:Vt,hasFeedback:yt,validateStatus:In,prefixCls:zn,meta:mi,noStyle:Rn}=Nt;const bt=`${zn}-item`,{feedbackIcons:Ut}=De.useContext(Ee.q3),Ln=sn(Un,Vt,mi,null,!!yt,In),{isFormItemInput:ni,status:_t}=De.useContext(Ee.aM),yn=De.useMemo(()=>{var Qt;let un;if(yt){const kn=yt!==!0&&yt.icons||Ut,Bn=Ln&&((Qt=kn==null?void 0:kn({status:Ln,errors:Un,warnings:Vt}))===null||Qt===void 0?void 0:Qt[Ln]),Vn=Ln&&dr[Ln];un=Bn!==!1&&Vn?De.createElement("span",{className:we()(`${bt}-feedback-icon`,`${bt}-feedback-icon-${Ln}`)},Bn||De.createElement(Vn,null)):null}let wn=!0,gn=Ln||"";return Rn&&(wn=ni,gn=(Ln!=null?Ln:_t)||""),{status:gn,errors:Un,warnings:Vt,hasFeedback:!!yt,feedbackIcon:un,isFormItemInput:wn}},[Ln,yt,Rn,ni,_t]);return De.createElement(Ee.aM.Provider,{value:yn},On)}var Sr=function(Nt,On){var Un={};for(var Vt in Nt)Object.prototype.hasOwnProperty.call(Nt,Vt)&&On.indexOf(Vt)<0&&(Un[Vt]=Nt[Vt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Vt=Object.getOwnPropertySymbols(Nt);yt{if(gi&&Bn.current){const hr=getComputedStyle(Bn.current);zi(parseInt(hr.marginBottom,10))}},[gi,Fi]);const tn=hr=>{hr||zi(null)},Bi=function(){let hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const tr=hr?Vn:bt.errors,br=hr?Jn:bt.warnings;return sn(tr,br,bt,"",!!Ut,Rn)}(),Ti=we()(gn,Un,Vt,{[`${gn}-with-help`]:Wn||Vn.length||Jn.length,[`${gn}-has-feedback`]:Bi&&Ut,[`${gn}-has-success`]:Bi==="success",[`${gn}-has-warning`]:Bi==="warning",[`${gn}-has-error`]:Bi==="error",[`${gn}-is-validating`]:Bi==="validating",[`${gn}-hidden`]:Ln});return De.createElement("div",{className:Ti,style:yt,ref:Bn},De.createElement(Ae.Z,Object.assign({className:`${gn}-row`},(0,Ge.Z)(wn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),De.createElement(xi,Object.assign({htmlFor:_t},Nt,{requiredMark:kn,required:yn!=null?yn:Qt,prefixCls:On})),De.createElement(xt,Object.assign({},Nt,bt,{errors:Vn,warnings:Jn,prefixCls:On,status:Bi,help:In,marginBottom:ir,onErrorVisibleChanged:tn}),De.createElement(Ee.qI.Provider,{value:un},De.createElement(ur,{prefixCls:On,meta:bt,errors:bt.errors,warnings:bt.warnings,hasFeedback:Ut,validateStatus:Bi},ni)))),!!ir&&De.createElement("div",{className:`${gn}-margin-offset`,style:{marginBottom:-ir}}))}const Gi="__SPLIT__",Zr=null,Yi=De.memo(Nt=>{let{children:On}=Nt;return On},(Nt,On)=>Nt.value===On.value&&Nt.update===On.update&&Nt.childProps.length===On.childProps.length&&Nt.childProps.every((Un,Vt)=>Un===On.childProps[Vt]));function Ue(Nt){return Nt!=null}function no(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function pr(Nt){const{name:On,noStyle:Un,className:Vt,dependencies:yt,prefixCls:In,shouldUpdate:zn,rules:mi,children:Rn,required:bt,label:Ut,messageVariables:Ln,trigger:ni="onChange",validateTrigger:_t,hidden:yn,help:Qt}=Nt,{getPrefixCls:un}=De.useContext(dn.E_),{name:wn}=De.useContext(Ee.q3),gn=Yt(Rn),kn=typeof gn=="function",Bn=De.useContext(Ee.qI),{validateTrigger:Vn}=De.useContext(Pt.FieldContext),Jn=_t!==void 0?_t:Vn,Wn=Ue(On),gi=un("form",In),[Fi,ir]=st(gi),zi=De.useContext(Pt.ListContext),tn=De.useRef(),[Ai,Bi]=Ft({}),[Ti,hr]=(0,Nn.Z)(()=>no()),tr=Fn=>{const kr=zi==null?void 0:zi.getKey(Fn.name);if(hr(Fn.destroy?no():Fn,!0),Un&&Qt!==!1&&Bn){let Go=Fn.name;if(Fn.destroy)Go=tn.current||Go;else if(kr!==void 0){const[Dr,po]=kr;Go=[Dr].concat((0,se.Z)(po)),tn.current=Go}Bn(Fn,Go)}},br=(Fn,kr)=>{Bi(Go=>{const Dr=Object.assign({},Go),Do=[].concat((0,se.Z)(Fn.name.slice(0,-1)),(0,se.Z)(kr)).join(Gi);return Fn.destroy?delete Dr[Do]:Dr[Do]=Fn,Dr})},[Xi,Hi]=De.useMemo(()=>{const Fn=(0,se.Z)(Ti.errors),kr=(0,se.Z)(Ti.warnings);return Object.values(Ai).forEach(Go=>{Fn.push.apply(Fn,(0,se.Z)(Go.errors||[])),kr.push.apply(kr,(0,se.Z)(Go.warnings||[]))}),[Fn,kr]},[Ai,Ti.errors,Ti.warnings]),Ir=Ot();function Gt(Fn,kr,Go){return Un&&!yn?De.createElement(ur,{prefixCls:gi,hasFeedback:Nt.hasFeedback,validateStatus:Nt.validateStatus,meta:Ti,errors:Xi,warnings:Hi,noStyle:!0},Fn):De.createElement(Wr,Object.assign({key:"row"},Nt,{className:we()(Vt,ir),prefixCls:gi,fieldId:kr,isRequired:Go,errors:Xi,warnings:Hi,meta:Ti,onSubItemMetaChange:br}),Fn)}if(!Wn&&!kn&&!yt)return Fi(Gt(gn));let Kr={};return typeof Ut=="string"?Kr.label=Ut:On&&(Kr.label=String(On)),Ln&&(Kr=Object.assign(Object.assign({},Kr),Ln)),Fi(De.createElement(Pt.Field,Object.assign({},Nt,{messageVariables:Kr,trigger:ni,validateTrigger:Jn,onMetaChange:tr}),(Fn,kr,Go)=>{const Dr=gt(On).length&&kr?kr.name:[],po=Bt(Dr,wn),Do=bt!==void 0?bt:!!(mi&&mi.some(io=>{if(io&&typeof io=="object"&&io.required&&!io.warningOnly)return!0;if(typeof io=="function"){const _r=io(Go);return _r&&_r.required&&!_r.warningOnly}return!1})),Ji=Object.assign({},Fn);let or=null;if(Array.isArray(gn)&&Wn)or=gn;else if(!(kn&&(!(zn||yt)||Wn))){if(!(yt&&!kn&&!Wn))if((0,ii.l$)(gn)){const io=Object.assign(Object.assign({},gn.props),Ji);if(io.id||(io.id=po),Qt||Xi.length>0||Hi.length>0||Nt.extra){const lt=[];(Qt||Xi.length>0)&<.push(`${po}_help`),Nt.extra&<.push(`${po}_extra`),io["aria-describedby"]=lt.join(" ")}Xi.length>0&&(io["aria-invalid"]="true"),Do&&(io["aria-required"]="true"),(0,Gn.Yr)(gn)&&(io.ref=Ir(Dr,gn)),new Set([].concat((0,se.Z)(gt(ni)),(0,se.Z)(gt(Jn)))).forEach(lt=>{io[lt]=function(){for(var Rr,Ko,Yr,yo,Mr,mr=arguments.length,co=new Array(mr),Uo=0;Uo{var{prefixCls:On,children:Un}=Nt,Vt=Vo(Nt,["prefixCls","children"]);const{getPrefixCls:yt}=De.useContext(dn.E_),In=yt("form",On),zn=De.useMemo(()=>({prefixCls:In,status:"error"}),[In]);return De.createElement(Pt.List,Object.assign({},Vt),(mi,Rn,bt)=>De.createElement(Ee.Rk.Provider,{value:zn},Un(mi.map(Ut=>Object.assign(Object.assign({},Ut),{fieldKey:Ut.key})),Rn,{errors:bt.errors,warnings:bt.warnings})))};function on(){const{form:Nt}=(0,De.useContext)(Ee.q3);return Nt}const ln=jt;ln.Item=Fo,ln.List=Oi,ln.ErrorList=$t,ln.useForm=en,ln.useFormInstance=on,ln.useWatch=Pt.useWatch,ln.Provider=Ee.RV,ln.create=()=>{};var qt=ln},8628:function(_e,be,oe){"use strict";var se=oe(59301),Ce=oe(28800),we=oe(56762),Ie=oe(69507);function De(){let Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const Ee=(0,se.useRef)({}),et=(0,we.Z)(),Je=(0,Ie.ZP)();return(0,Ce.Z)(()=>{const Ye=Je.subscribe(tt=>{Ee.current=tt,Ke&&et()});return()=>Je.unsubscribe(Ye)},[]),Ee.current}be.Z=De},9432:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return me},n:function(){return ge}});var se=oe(33130),Ce=oe(92310),we=oe.n(Ce),Ie=oe(93681),De=oe(20475),Ke=oe(59301),Ee=oe(19080),et=oe(36355),Je=oe(1684),Ye=oe(19716),tt=oe(32441),ht=oe(33234),kt=oe(59412),ze=oe(9937);function ee(Se){return!!(Se.prefix||Se.suffix||Se.allowClear)}var ne=function(Se,Ne){var ke={};for(var Te in Se)Object.prototype.hasOwnProperty.call(Se,Te)&&Ne.indexOf(Te)<0&&(ke[Te]=Se[Te]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Te=Object.getOwnPropertySymbols(Se);We{var ke;const{prefixCls:Te,bordered:We=!0,status:$e,size:st,disabled:ut,onBlur:Mt,onFocus:nt,suffix:$t,allowClear:Pt,addonAfter:dn,addonBefore:zt,className:Xt,style:fn,styles:an,rootClassName:it,onChange:Ve,classNames:gt}=Se,Bt=ne(Se,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:sn,direction:It,input:en}=Ke.useContext(et.E_),En=sn("input",Te),ei=(0,Ke.useRef)(null),[An,Kn]=(0,ze.ZP)(En),{compactSize:jt,compactItemClassnames:Nn}=(0,ht.ri)(En,It),Gn=(0,Ye.Z)(Qe=>{var Oe;return(Oe=st!=null?st:jt)!==null&&Oe!==void 0?Oe:Qe}),ii=Ke.useContext(Je.Z),Sn=ut!=null?ut:ii,{status:Yt,hasFeedback:Zt,feedbackIcon:St}=(0,Ke.useContext)(tt.aM),rt=(0,Ee.F)(Yt,$e),Ft=ee(Se)||!!Zt,Ot=(0,Ke.useRef)(Ft);(0,Ke.useEffect)(()=>{var Qe;Ft&&Ot.current,Ot.current=Ft},[Ft]);const ft=(0,kt.Z)(ei,!0),ct=Qe=>{ft(),Mt==null||Mt(Qe)},Ge=Qe=>{ft(),nt==null||nt(Qe)},Ae=Qe=>{ft(),Ve==null||Ve(Qe)},xe=(Zt||$t)&&Ke.createElement(Ke.Fragment,null,$t,Zt&&St);let je;return typeof Pt=="object"&&(Pt!=null&&Pt.clearIcon)?je=Pt:Pt&&(je={clearIcon:Ke.createElement(se.Z,null)}),An(Ke.createElement(Ie.default,Object.assign({ref:(0,De.sQ)(Ne,ei),prefixCls:En,autoComplete:en==null?void 0:en.autoComplete},Bt,{disabled:Sn,onBlur:ct,onFocus:Ge,style:Object.assign(Object.assign({},en==null?void 0:en.style),fn),styles:Object.assign(Object.assign({},en==null?void 0:en.styles),an),suffix:xe,allowClear:je,className:we()(Xt,it,Nn,en==null?void 0:en.className),onChange:Ae,addonAfter:dn&&Ke.createElement(ht.BR,null,Ke.createElement(tt.Ux,{override:!0,status:!0},dn)),addonBefore:zt&&Ke.createElement(ht.BR,null,Ke.createElement(tt.Ux,{override:!0,status:!0},zt)),classNames:Object.assign(Object.assign(Object.assign({},gt),en==null?void 0:en.classNames),{input:we()({[`${En}-sm`]:Gn==="small",[`${En}-lg`]:Gn==="large",[`${En}-rtl`]:It==="rtl",[`${En}-borderless`]:!We},!Ft&&(0,Ee.Z)(En,rt),gt==null?void 0:gt.input,(ke=en==null?void 0:en.classNames)===null||ke===void 0?void 0:ke.input,Kn)}),classes:{affixWrapper:we()({[`${En}-affix-wrapper-sm`]:Gn==="small",[`${En}-affix-wrapper-lg`]:Gn==="large",[`${En}-affix-wrapper-rtl`]:It==="rtl",[`${En}-affix-wrapper-borderless`]:!We},(0,Ee.Z)(`${En}-affix-wrapper`,rt,Zt),Kn),wrapper:we()({[`${En}-group-rtl`]:It==="rtl"},Kn),group:we()({[`${En}-group-wrapper-sm`]:Gn==="small",[`${En}-group-wrapper-lg`]:Gn==="large",[`${En}-group-wrapper-rtl`]:It==="rtl",[`${En}-group-wrapper-disabled`]:Sn},(0,Ee.Z)(`${En}-group-wrapper`,rt,Zt),Kn)}})))})},1643:function(_e,be,oe){"use strict";var se=oe(33130),Ce=oe(92310),we=oe.n(Ce),Ie=oe(9296),De=oe(59301),Ke=oe(19080),Ee=oe(36355),et=oe(1684),Je=oe(19716),Ye=oe(32441),tt=oe(9432),ht=oe(9937),kt=function(ee,ne){var ge={};for(var ue in ee)Object.prototype.hasOwnProperty.call(ee,ue)&&ne.indexOf(ue)<0&&(ge[ue]=ee[ue]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,ue=Object.getOwnPropertySymbols(ee);me{const{prefixCls:ge,bordered:ue=!0,size:me,disabled:Se,status:Ne,allowClear:ke,showCount:Te,classNames:We,rootClassName:$e,className:st}=ee,ut=kt(ee,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Mt,direction:nt}=De.useContext(Ee.E_),$t=(0,Je.Z)(me),Pt=De.useContext(et.Z),dn=Se!=null?Se:Pt,{status:zt,hasFeedback:Xt,feedbackIcon:fn}=De.useContext(Ye.aM),an=(0,Ke.F)(zt,Ne),it=De.useRef(null);De.useImperativeHandle(ne,()=>{var It;return{resizableTextArea:(It=it.current)===null||It===void 0?void 0:It.resizableTextArea,focus:en=>{var En,ei;(0,tt.n)((ei=(En=it.current)===null||En===void 0?void 0:En.resizableTextArea)===null||ei===void 0?void 0:ei.textArea,en)},blur:()=>{var en;return(en=it.current)===null||en===void 0?void 0:en.blur()}}});const Ve=Mt("input",ge);let gt;typeof ke=="object"&&(ke!=null&&ke.clearIcon)?gt=ke:ke&&(gt={clearIcon:De.createElement(se.Z,null)});const[Bt,sn]=(0,ht.ZP)(Ve);return Bt(De.createElement(Ie.default,Object.assign({},ut,{disabled:dn,allowClear:gt,className:we()(st,$e),classes:{affixWrapper:we()(`${Ve}-textarea-affix-wrapper`,{[`${Ve}-affix-wrapper-rtl`]:nt==="rtl",[`${Ve}-affix-wrapper-borderless`]:!ue,[`${Ve}-affix-wrapper-sm`]:$t==="small",[`${Ve}-affix-wrapper-lg`]:$t==="large",[`${Ve}-textarea-show-count`]:Te},(0,Ke.Z)(`${Ve}-affix-wrapper`,an),sn)},classNames:Object.assign(Object.assign({},We),{textarea:we()({[`${Ve}-borderless`]:!ue,[`${Ve}-sm`]:$t==="small",[`${Ve}-lg`]:$t==="large"},(0,Ke.Z)(Ve,an),sn,We==null?void 0:We.textarea)}),prefixCls:Ve,suffix:Xt&&De.createElement("span",{className:`${Ve}-textarea-suffix`},fn),showCount:Te,ref:it})))});be.Z=ze},59412:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ce}});var se=oe(59301);function Ce(we,Ie){const De=(0,se.useRef)([]),Ke=()=>{De.current.push(setTimeout(()=>{var Ee,et,Je,Ye;!((Ee=we.current)===null||Ee===void 0)&&Ee.input&&((et=we.current)===null||et===void 0?void 0:et.input.getAttribute("type"))==="password"&&(!((Je=we.current)===null||Je===void 0)&&Je.input.hasAttribute("value"))&&((Ye=we.current)===null||Ye===void 0||Ye.input.removeAttribute("value"))}))};return(0,se.useEffect)(()=>(Ie&&Ke(),()=>De.current.forEach(Ee=>{Ee&&clearTimeout(Ee)})),[]),Ke}},92832:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return $t}});var se=oe(92310),Ce=oe.n(se),we=oe(59301),Ie=oe(36355),De=oe(32441),Ke=oe(9937),et=Pt=>{const{getPrefixCls:dn,direction:zt}=(0,we.useContext)(Ie.E_),{prefixCls:Xt,className:fn}=Pt,an=dn("input-group",Xt),it=dn("input"),[Ve,gt]=(0,Ke.ZP)(it),Bt=Ce()(an,{[`${an}-lg`]:Pt.size==="large",[`${an}-sm`]:Pt.size==="small",[`${an}-compact`]:Pt.compact,[`${an}-rtl`]:zt==="rtl"},gt,fn),sn=(0,we.useContext)(De.aM),It=(0,we.useMemo)(()=>Object.assign(Object.assign({},sn),{isFormItemInput:!1}),[sn]);return Ve(we.createElement("span",{className:Bt,style:Pt.style,onMouseEnter:Pt.onMouseEnter,onMouseLeave:Pt.onMouseLeave,onFocus:Pt.onFocus,onBlur:Pt.onBlur},we.createElement(De.aM.Provider,{value:It},Pt.children)))},Je=oe(9432),Ye=oe(61441),tt=oe(30631),ht=oe(64002),kt=oe(20475),ze=oe(59412),ee=function(Pt,dn){var zt={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&dn.indexOf(Xt)<0&&(zt[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Xt=Object.getOwnPropertySymbols(Pt);fnPt?we.createElement(tt.Z,null):we.createElement(Ye.Z,null),ge={click:"onClick",hover:"onMouseOver"};var me=we.forwardRef((Pt,dn)=>{const{visibilityToggle:zt=!0}=Pt,Xt=typeof zt=="object"&&zt.visible!==void 0,[fn,an]=(0,we.useState)(()=>Xt?zt.visible:!1),it=(0,we.useRef)(null);we.useEffect(()=>{Xt&&an(zt.visible)},[Xt,zt]);const Ve=(0,ze.Z)(it),gt=()=>{const{disabled:Sn}=Pt;Sn||(fn&&Ve(),an(Yt=>{var Zt;const St=!Yt;return typeof zt=="object"&&((Zt=zt.onVisibleChange)===null||Zt===void 0||Zt.call(zt,St)),St}))},Bt=Sn=>{const{action:Yt="click",iconRender:Zt=ne}=Pt,St=ge[Yt]||"",rt=Zt(fn),Ft={[St]:gt,className:`${Sn}-icon`,key:"passwordIcon",onMouseDown:Ot=>{Ot.preventDefault()},onMouseUp:Ot=>{Ot.preventDefault()}};return we.cloneElement(we.isValidElement(rt)?rt:we.createElement("span",null,rt),Ft)},{className:sn,prefixCls:It,inputPrefixCls:en,size:En}=Pt,ei=ee(Pt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:An}=we.useContext(Ie.E_),Kn=An("input",en),jt=An("input-password",It),Nn=zt&&Bt(jt),Gn=Ce()(jt,sn,{[`${jt}-${En}`]:!!En}),ii=Object.assign(Object.assign({},(0,ht.Z)(ei,["suffix","iconRender","visibilityToggle"])),{type:fn?"text":"password",className:Gn,prefixCls:Kn,suffix:Nn});return En&&(ii.size=En),we.createElement(Je.Z,Object.assign({ref:(0,kt.sQ)(dn,it)},ii))}),Se=oe(21970),Ne=oe(92343),ke=oe(3113),Te=oe(19716),We=oe(33234),$e=function(Pt,dn){var zt={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&dn.indexOf(Xt)<0&&(zt[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Xt=Object.getOwnPropertySymbols(Pt);fn{const{prefixCls:zt,inputPrefixCls:Xt,className:fn,size:an,suffix:it,enterButton:Ve=!1,addonAfter:gt,loading:Bt,disabled:sn,onSearch:It,onChange:en,onCompositionStart:En,onCompositionEnd:ei}=Pt,An=$e(Pt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Kn,direction:jt}=we.useContext(Ie.E_),Nn=we.useRef(!1),Gn=Kn("input-search",zt),ii=Kn("input",Xt),{compactSize:Sn}=(0,We.ri)(Gn,jt),Yt=(0,Te.Z)(xt=>{var hn;return(hn=an!=null?an:Sn)!==null&&hn!==void 0?hn:xt}),Zt=we.useRef(null),St=xt=>{xt&&xt.target&&xt.type==="click"&&It&&It(xt.target.value,xt,{source:"clear"}),en&&en(xt)},rt=xt=>{var hn;document.activeElement===((hn=Zt.current)===null||hn===void 0?void 0:hn.input)&&xt.preventDefault()},Ft=xt=>{var hn,Pn;It&&It((Pn=(hn=Zt.current)===null||hn===void 0?void 0:hn.input)===null||Pn===void 0?void 0:Pn.value,xt,{source:"input"})},Ot=xt=>{Nn.current||Bt||Ft(xt)},ft=typeof Ve=="boolean"?we.createElement(Se.Z,null):null,ct=`${Gn}-button`;let Ge;const Ae=Ve||{},xe=Ae.type&&Ae.type.__ANT_BUTTON===!0;xe||Ae.type==="button"?Ge=(0,Ne.Tm)(Ae,Object.assign({onMouseDown:rt,onClick:xt=>{var hn,Pn;(Pn=(hn=Ae==null?void 0:Ae.props)===null||hn===void 0?void 0:hn.onClick)===null||Pn===void 0||Pn.call(hn,xt),Ft(xt)},key:"enterButton"},xe?{className:ct,size:Yt}:{})):Ge=we.createElement(ke.ZP,{className:ct,type:Ve?"primary":void 0,size:Yt,disabled:sn,key:"enterButton",onMouseDown:rt,onClick:Ft,loading:Bt,icon:ft},Ve),gt&&(Ge=[Ge,(0,Ne.Tm)(gt,{key:"addonAfter"})]);const je=Ce()(Gn,{[`${Gn}-rtl`]:jt==="rtl",[`${Gn}-${Yt}`]:!!Yt,[`${Gn}-with-button`]:!!Ve},fn),Qe=xt=>{Nn.current=!0,En==null||En(xt)},Oe=xt=>{Nn.current=!1,ei==null||ei(xt)};return we.createElement(Je.Z,Object.assign({ref:(0,kt.sQ)(Zt,dn),onPressEnter:Ot},An,{size:Yt,onCompositionStart:Qe,onCompositionEnd:Oe,prefixCls:ii,addonAfter:Ge,suffix:it,onChange:St,className:je,disabled:sn}))}),Mt=oe(1643);const nt=Je.Z;nt.Group=et,nt.Search=ut,nt.TextArea=Mt.Z,nt.Password=me;var $t=nt},99580:function(_e,be,oe){"use strict";oe.d(be,{D:function(){return Se},Z:function(){return Te}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ie=we,De=oe(88853),Ke=function($e,st){return Ce.createElement(De.Z,(0,se.Z)({},$e,{ref:st,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee,Je=oe(16537),Ye=oe(53878),tt=oe(92310),ht=oe.n(tt),kt=oe(64002),ee=We=>!isNaN(parseFloat(We))&&isFinite(We),ne=oe(36355),ge=oe(84966),ue=function(We,$e){var st={};for(var ut in We)Object.prototype.hasOwnProperty.call(We,ut)&&$e.indexOf(ut)<0&&(st[ut]=We[ut]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,ut=Object.getOwnPropertySymbols(We);Mt{let We=0;return function(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return We+=1,`${$e}${We}`}})();var Te=Ce.forwardRef((We,$e)=>{const{prefixCls:st,className:ut,trigger:Mt,children:nt,defaultCollapsed:$t=!1,theme:Pt="dark",style:dn={},collapsible:zt=!1,reverseArrow:Xt=!1,width:fn=200,collapsedWidth:an=80,zeroWidthTriggerStyle:it,breakpoint:Ve,onCollapse:gt,onBreakpoint:Bt}=We,sn=ue(We,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:It}=(0,Ce.useContext)(ge.Gs),[en,En]=(0,Ce.useState)("collapsed"in We?We.collapsed:$t),[ei,An]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{"collapsed"in We&&En(We.collapsed)},[We.collapsed]);const Kn=(Yt,Zt)=>{"collapsed"in We||En(Yt),gt==null||gt(Yt,Zt)},jt=(0,Ce.useRef)();jt.current=Yt=>{An(Yt.matches),Bt==null||Bt(Yt.matches),en!==Yt.matches&&Kn(Yt.matches,"responsive")},(0,Ce.useEffect)(()=>{function Yt(St){return jt.current(St)}let Zt;if(typeof window!="undefined"){const{matchMedia:St}=window;if(St&&Ve&&Ve in me){Zt=St(`(max-width: ${me[Ve]})`);try{Zt.addEventListener("change",Yt)}catch(rt){Zt.addListener(Yt)}Yt(Zt)}}return()=>{try{Zt==null||Zt.removeEventListener("change",Yt)}catch(St){Zt==null||Zt.removeListener(Yt)}}},[Ve]),(0,Ce.useEffect)(()=>{const Yt=Ne("ant-sider-");return It.addSider(Yt),()=>It.removeSider(Yt)},[]);const Nn=()=>{Kn(!en,"clickTrigger")},{getPrefixCls:Gn}=(0,Ce.useContext)(ne.E_),ii=()=>{const Yt=Gn("layout-sider",st),Zt=(0,kt.Z)(sn,["collapsed"]),St=en?an:fn,rt=ee(St)?`${St}px`:String(St),Ft=parseFloat(String(an||0))===0?Ce.createElement("span",{onClick:Nn,className:ht()(`${Yt}-zero-width-trigger`,`${Yt}-zero-width-trigger-${Xt?"right":"left"}`),style:it},Mt||Ce.createElement(et,null)):null,ct={expanded:Xt?Ce.createElement(Ye.Z,null):Ce.createElement(Je.Z,null),collapsed:Xt?Ce.createElement(Je.Z,null):Ce.createElement(Ye.Z,null)}[en?"collapsed":"expanded"],Ge=Mt!==null?Ft||Ce.createElement("div",{className:`${Yt}-trigger`,onClick:Nn,style:{width:rt}},Mt||ct):null,Ae=Object.assign(Object.assign({},dn),{flex:`0 0 ${rt}`,maxWidth:rt,minWidth:rt,width:rt}),xe=ht()(Yt,`${Yt}-${Pt}`,{[`${Yt}-collapsed`]:!!en,[`${Yt}-has-trigger`]:zt&&Mt!==null&&!Ft,[`${Yt}-below`]:!!ei,[`${Yt}-zero-width`]:parseFloat(rt)===0},ut);return Ce.createElement("aside",Object.assign({className:xe},Zt,{style:Ae,ref:$e}),Ce.createElement("div",{className:`${Yt}-children`},nt),zt||ei&&Ft?Ge:null)},Sn=Ce.useMemo(()=>({siderCollapsed:en}),[en]);return Ce.createElement(Se.Provider,{value:Sn},ii())})},84966:function(_e,be,oe){"use strict";oe.d(be,{VY:function(){return Se},$_:function(){return me},h4:function(){return ue},Gs:function(){return kt},ZP:function(){return Ne}});var se=oe(26390),Ce=oe(92310),we=oe.n(Ce),Ie=oe(64002),De=oe(59301),Ke=oe(36355),Ee=oe(83116),Je=ke=>{const{componentCls:Te,bodyBg:We,lightSiderBg:$e,lightTriggerBg:st,lightTriggerColor:ut}=ke;return{[`${Te}-sider-light`]:{background:$e,[`${Te}-sider-trigger`]:{color:ut,background:st},[`${Te}-sider-zero-width-trigger`]:{color:ut,background:st,border:`1px solid ${We}`,borderInlineStart:0}}}};const Ye=ke=>{const{antCls:Te,componentCls:We,colorText:$e,triggerColor:st,footerBg:ut,triggerBg:Mt,headerHeight:nt,headerPadding:$t,headerColor:Pt,footerPadding:dn,triggerHeight:zt,zeroTriggerHeight:Xt,zeroTriggerWidth:fn,motionDurationMid:an,motionDurationSlow:it,fontSize:Ve,borderRadius:gt,bodyBg:Bt,headerBg:sn,siderBg:It}=ke;return{[We]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Bt,"&, *":{boxSizing:"border-box"},[`&${We}-has-sider`]:{flexDirection:"row",[`> ${We}, > ${We}-content`]:{width:0}},[`${We}-header, &${We}-footer`]:{flex:"0 0 auto"},[`${We}-sider`]:{position:"relative",minWidth:0,background:It,transition:`all ${an}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Te}-menu${Te}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:zt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:zt,color:st,lineHeight:`${zt}px`,textAlign:"center",background:Mt,cursor:"pointer",transition:`all ${an}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:nt,insetInlineEnd:-fn,zIndex:1,width:fn,height:Xt,color:st,fontSize:ke.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:It,borderStartStartRadius:0,borderStartEndRadius:gt,borderEndEndRadius:gt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-fn,borderStartStartRadius:gt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:gt}}}}},Je(ke)),{"&-rtl":{direction:"rtl"}}),[`${We}-header`]:{height:nt,padding:$t,color:Pt,lineHeight:`${nt}px`,background:sn,[`${Te}-menu`]:{lineHeight:"inherit"}},[`${We}-footer`]:{padding:dn,color:$e,fontSize:Ve,background:ut},[`${We}-content`]:{flex:"auto",minHeight:0}}};var tt=(0,Ee.Z)("Layout",ke=>[Ye(ke)],ke=>{const{colorBgLayout:Te,controlHeight:We,controlHeightLG:$e,colorText:st,controlHeightSM:ut,marginXXS:Mt,colorTextLightSolid:nt,colorBgContainer:$t}=ke,Pt=$e*1.25;return{colorBgHeader:"#001529",colorBgBody:Te,colorBgTrigger:"#002140",bodyBg:Te,headerBg:"#001529",headerHeight:We*2,headerPadding:`0 ${Pt}px`,headerColor:st,footerPadding:`${ut}px ${Pt}px`,footerBg:Te,siderBg:"#001529",triggerHeight:$e+Mt*2,triggerBg:"#002140",triggerColor:nt,zeroTriggerWidth:$e,zeroTriggerHeight:$e,lightSiderBg:$t,lightTriggerBg:$t,lightTriggerColor:st}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ht=function(ke,Te){var We={};for(var $e in ke)Object.prototype.hasOwnProperty.call(ke,$e)&&Te.indexOf($e)<0&&(We[$e]=ke[$e]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,$e=Object.getOwnPropertySymbols(ke);st<$e.length;st++)Te.indexOf($e[st])<0&&Object.prototype.propertyIsEnumerable.call(ke,$e[st])&&(We[$e[st]]=ke[$e[st]]);return We};const kt=De.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ze(ke){let{suffixCls:Te,tagName:We,displayName:$e}=ke;return st=>De.forwardRef((Mt,nt)=>De.createElement(st,Object.assign({ref:nt,suffixCls:Te,tagName:We},Mt)))}const ee=De.forwardRef((ke,Te)=>{const{prefixCls:We,suffixCls:$e,className:st,tagName:ut}=ke,Mt=ht(ke,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:nt}=De.useContext(Ke.E_),$t=nt("layout",We),[Pt,dn]=tt($t),zt=$e?`${$t}-${$e}`:$t;return Pt(De.createElement(ut,Object.assign({className:we()(We||zt,st,dn),ref:Te},Mt)))}),ne=De.forwardRef((ke,Te)=>{const{direction:We}=De.useContext(Ke.E_),[$e,st]=De.useState([]),{prefixCls:ut,className:Mt,rootClassName:nt,children:$t,hasSider:Pt,tagName:dn,style:zt}=ke,Xt=ht(ke,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),fn=(0,Ie.Z)(Xt,["suffixCls"]),{getPrefixCls:an,layout:it}=De.useContext(Ke.E_),Ve=an("layout",ut),[gt,Bt]=tt(Ve),sn=we()(Ve,{[`${Ve}-has-sider`]:typeof Pt=="boolean"?Pt:$e.length>0,[`${Ve}-rtl`]:We==="rtl"},it==null?void 0:it.className,Mt,nt,Bt),It=De.useMemo(()=>({siderHook:{addSider:en=>{st(En=>[].concat((0,se.Z)(En),[en]))},removeSider:en=>{st(En=>En.filter(ei=>ei!==en))}}}),[]);return gt(De.createElement(kt.Provider,{value:It},De.createElement(dn,Object.assign({ref:Te,className:sn,style:Object.assign(Object.assign({},it==null?void 0:it.style),zt)},fn),$t)))}),ge=ze({tagName:"div",displayName:"Layout"})(ne),ue=ze({suffixCls:"header",tagName:"header",displayName:"Header"})(ee),me=ze({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(ee),Se=ze({suffixCls:"content",tagName:"main",displayName:"Content"})(ee);var Ne=ge},40875:function(_e,be,oe){"use strict";oe.d(be,{J:function(){return Ke}});var se=oe(59301),Ce=oe(33234),we=oe(80764),Ie=function(Ee,et){var Je={};for(var Ye in Ee)Object.prototype.hasOwnProperty.call(Ee,Ye)&&et.indexOf(Ye)<0&&(Je[Ye]=Ee[Ye]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Ye=Object.getOwnPropertySymbols(Ee);tt{const{children:Je}=Ee,Ye=Ie(Ee,["children"]),tt=se.useContext(De),ht=se.useMemo(()=>Object.assign(Object.assign({},tt),Ye),[tt,Ye.prefixCls,Ye.mode,Ye.selectable]);return se.createElement(De.Provider,{value:ht},se.createElement(Ce.BR,null,(0,we.supportNodeRef)(Je)?se.cloneElement(Je,{ref:et}):Je))});be.Z=De},20834:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return Sn}});var se=oe(22798),Ce=oe(59301),we=oe(99580),Ie=oe(92310),De=oe.n(Ie),Ke=oe(36355),Ee=function(Yt,Zt){var St={};for(var rt in Yt)Object.prototype.hasOwnProperty.call(Yt,rt)&&Zt.indexOf(rt)<0&&(St[rt]=Yt[rt]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,rt=Object.getOwnPropertySymbols(Yt);Ft{const{prefixCls:Zt,className:St,dashed:rt}=Yt,Ft=Ee(Yt,["prefixCls","className","dashed"]),{getPrefixCls:Ot}=Ce.useContext(Ke.E_),ft=Ot("menu",Zt),ct=De()({[`${ft}-item-divider-dashed`]:!!rt},St);return Ce.createElement(se.iz,Object.assign({className:ct},Ft))},Ye=oe(38298),tt=oe(64002),ht=oe(6848),kt=oe(92343),ee=(0,Ce.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ge=Yt=>{var Zt;const{className:St,children:rt,icon:Ft,title:Ot,danger:ft}=Yt,{prefixCls:ct,firstLevel:Ge,direction:Ae,disableMenuItemTitleTooltip:xe,inlineCollapsed:je}=Ce.useContext(ee),Qe=nn=>{const Mn=Ce.createElement("span",{className:`${ct}-title-content`},rt);return(!Ft||(0,kt.l$)(rt)&&rt.type==="span")&&rt&&nn&&Ge&&typeof rt=="string"?Ce.createElement("div",{className:`${ct}-inline-collapsed-noicon`},rt.charAt(0)):Mn},{siderCollapsed:Oe}=Ce.useContext(we.D);let xt=Ot;typeof Ot=="undefined"?xt=Ge?rt:"":Ot===!1&&(xt="");const hn={title:xt};!Oe&&!je&&(hn.title=null,hn.open=!1);const Pn=(0,Ye.Z)(rt).length;let wt=Ce.createElement(se.ck,Object.assign({},(0,tt.Z)(Yt,["title","icon","danger"]),{className:De()({[`${ct}-item-danger`]:ft,[`${ct}-item-only-child`]:(Ft?Pn+1:Pn)===1},St),title:typeof Ot=="string"?Ot:void 0}),(0,kt.Tm)(Ft,{className:De()((0,kt.l$)(Ft)?(Zt=Ft.props)===null||Zt===void 0?void 0:Zt.className:"",`${ct}-item-icon`)}),Qe(je));return xe||(wt=Ce.createElement(ht.Z,Object.assign({},hn,{placement:Ae==="rtl"?"left":"right",overlayClassName:`${ct}-inline-collapsed-tooltip`}),wt)),wt},me=Yt=>{var Zt;const{popupClassName:St,icon:rt,title:Ft,theme:Ot}=Yt,ft=Ce.useContext(ee),{prefixCls:ct,inlineCollapsed:Ge,theme:Ae}=ft,xe=(0,se.Xl)();let je;if(!rt)je=Ge&&!xe.length&&Ft&&typeof Ft=="string"?Ce.createElement("div",{className:`${ct}-inline-collapsed-noicon`},Ft.charAt(0)):Ce.createElement("span",{className:`${ct}-title-content`},Ft);else{const Oe=(0,kt.l$)(Ft)&&Ft.type==="span";je=Ce.createElement(Ce.Fragment,null,(0,kt.Tm)(rt,{className:De()((0,kt.l$)(rt)?(Zt=rt.props)===null||Zt===void 0?void 0:Zt.className:"",`${ct}-item-icon`)}),Oe?Ft:Ce.createElement("span",{className:`${ct}-title-content`},Ft))}const Qe=Ce.useMemo(()=>Object.assign(Object.assign({},ft),{firstLevel:!1}),[ft]);return Ce.createElement(ee.Provider,{value:Qe},Ce.createElement(se.Wd,Object.assign({},(0,tt.Z)(Yt,["icon"]),{title:je,popupClassName:De()(ct,St,`${ct}-${Ot||Ae}`)})))},Se=oe(19362),Ne=oe(80764),ke=oe(62892),Te=oe(40875),We=function(Yt,Zt){var St={};for(var rt in Yt)Object.prototype.hasOwnProperty.call(Yt,rt)&&Zt.indexOf(rt)<0&&(St[rt]=Yt[rt]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,rt=Object.getOwnPropertySymbols(Yt);Ft{if(Zt&&typeof Zt=="object"){const rt=Zt,{label:Ft,children:Ot,key:ft,type:ct}=rt,Ge=We(rt,["label","children","key","type"]),Ae=ft!=null?ft:`tmp-${St}`;return Ot||ct==="group"?ct==="group"?Ce.createElement(se.BW,Object.assign({key:Ae},Ge,{title:Ft}),$e(Ot)):Ce.createElement(me,Object.assign({key:Ae},Ge,{title:Ft}),$e(Ot)):ct==="divider"?Ce.createElement(Je,Object.assign({key:Ae},Ge)):Ce.createElement(ge,Object.assign({key:Ae},Ge),Ft)}return null}).filter(Zt=>Zt)}function st(Yt){return Ce.useMemo(()=>Yt&&$e(Yt),[Yt])}var ut=oe(64993),Mt=oe(17313),nt=oe(8378),$t=oe(13826),Pt=oe(29878),dn=oe(83116),zt=oe(37613),fn=Yt=>{const{componentCls:Zt,motionDurationSlow:St,horizontalLineHeight:rt,colorSplit:Ft,lineWidth:Ot,lineType:ft,itemPaddingInline:ct}=Yt;return{[`${Zt}-horizontal`]:{lineHeight:rt,border:0,borderBottom:`${Ot}px ${ft} ${Ft}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Zt}-item, ${Zt}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ct},[`> ${Zt}-item:hover, + .${Vt}-col-xl-24${Un}-label`]:ke(Nt),[`@media (max-width: ${Nt.screenXSMax}px)`]:[Te(Nt),{[On]:{[`.${Vt}-col-xs-24${Un}-label`]:ke(Nt)}}],[`@media (max-width: ${Nt.screenSMMax}px)`]:{[On]:{[`.${Vt}-col-sm-24${Un}-label`]:ke(Nt)}},[`@media (max-width: ${Nt.screenMDMax}px)`]:{[On]:{[`.${Vt}-col-md-24${Un}-label`]:ke(Nt)}},[`@media (max-width: ${Nt.screenLGMax}px)`]:{[On]:{[`.${Vt}-col-lg-24${Un}-label`]:ke(Nt)}}}},$e=(Nt,On)=>(0,ht.TS)(Nt,{formItemCls:`${Nt.componentCls}-item`,rootPrefixCls:On});var st=(0,kt.Z)("Form",(Nt,On)=>{let{rootPrefixCls:Un}=On;const Vt=$e(Nt,Un);return[ue(Vt),me(Vt),ee(Vt),Se(Vt),Ne(Vt),We(Vt),(0,tt.Z)(Vt),Ye.kr]},Nt=>({labelRequiredMarkColor:Nt.colorError,labelColor:Nt.colorTextHeading,labelFontSize:Nt.fontSize,labelHeight:Nt.controlHeight,labelColonMarginInlineStart:Nt.marginXXS/2,labelColonMarginInlineEnd:Nt.marginXS,itemMarginBottom:Nt.marginLG,verticalLabelPadding:`0 0 ${Nt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const ut=[];function Mt(Nt,On,Un){let Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Nt=="string"?Nt:`${On}-${Vt}`,error:Nt,errorStatus:Un}}var $t=Nt=>{let{help:On,helpStatus:Un,errors:Vt=ut,warnings:yt=ut,className:In,fieldId:zn,onVisibleChanged:mi}=Nt;const{prefixCls:Rn}=De.useContext(Ee.Rk),bt=`${Rn}-item-explain`,[,Ut]=st(Rn),Ln=(0,De.useMemo)(()=>(0,Ke.Z)(Rn),[Rn]),ni=et(Vt),Gt=et(yt),yn=De.useMemo(()=>On!=null?[Mt(On,"help",Un)]:[].concat((0,se.Z)(ni.map((un,wn)=>Mt(un,"error","error",wn))),(0,se.Z)(Gt.map((un,wn)=>Mt(un,"warning","warning",wn)))),[On,Un,ni,Gt]),Qt={};return zn&&(Qt.id=`${zn}_help`),De.createElement(Ie.default,{motionDeadline:Ln.motionDeadline,motionName:`${Rn}-show-help`,visible:!!yn.length,onVisibleChanged:mi},un=>{const{className:wn,style:gn}=un;return De.createElement("div",Object.assign({},Qt,{className:we()(bt,wn,In,Ut),style:gn,role:"alert"}),De.createElement(Ie.CSSMotionList,Object.assign({keys:yn},(0,Ke.Z)(Rn),{motionName:`${Rn}-show-help-item`,component:!1}),kn=>{const{key:Bn,error:Vn,errorStatus:Jn,className:Wn,style:gi}=kn;return De.createElement("div",{key:Bn,className:we()(Wn,{[`${bt}-${Jn}`]:Jn}),style:gi},Vn)}))})},Pt=oe(95013),dn=oe(36355),zt=oe(1684),Xt=oe(52946),fn=oe(19716),an=oe(16722);const it=["parentNode"],Ve="form_item";function gt(Nt){return Nt===void 0||Nt===!1?[]:Array.isArray(Nt)?Nt:[Nt]}function Bt(Nt,On){if(!Nt.length)return;const Un=Nt.join("_");return On?`${On}_${Un}`:it.includes(Un)?`${Ve}_${Un}`:Un}function sn(Nt,On,Un,Vt,yt,In){let zn=Vt;return In!==void 0?zn=In:Un.validating?zn="validating":Nt.length?zn="error":On.length?zn="warning":(Un.touched||yt&&Un.validated)&&(zn="success"),zn}function It(Nt){return gt(Nt).join("_")}function en(Nt){const[On]=(0,Pt.useForm)(),Un=De.useRef({}),Vt=De.useMemo(()=>Nt!=null?Nt:Object.assign(Object.assign({},On),{__INTERNAL__:{itemRef:yt=>In=>{const zn=It(yt);In?Un.current[zn]=In:delete Un.current[zn]}},scrollToField:function(yt){let In=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const zn=gt(yt),mi=Bt(zn,Vt.__INTERNAL__.name),Rn=mi?document.getElementById(mi):null;Rn&&(0,an.Z)(Rn,Object.assign({scrollMode:"if-needed",block:"nearest"},In))},getFieldInstance:yt=>{const In=It(yt);return Un.current[In]}}),[Nt,On]);return[Vt]}var En=oe(28726),ei=function(Nt,On){var Un={};for(var Vt in Nt)Object.prototype.hasOwnProperty.call(Nt,Vt)&&On.indexOf(Vt)<0&&(Un[Vt]=Nt[Vt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Vt=Object.getOwnPropertySymbols(Nt);yt{const Un=De.useContext(zt.Z),{getPrefixCls:Vt,direction:yt,form:In}=De.useContext(dn.E_),{prefixCls:zn,className:mi,rootClassName:Rn,size:bt,disabled:Ut=Un,form:Ln,colon:ni,labelAlign:Gt,labelWrap:yn,labelCol:Qt,wrapperCol:un,hideRequiredMark:wn,layout:gn="horizontal",scrollToFirstError:kn,requiredMark:Bn,onFinishFailed:Vn,name:Jn,style:Wn,feedbackIcons:gi}=Nt,Fi=ei(Nt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),ir=(0,fn.Z)(bt),zi=De.useContext(En.Z),tn=(0,De.useMemo)(()=>Bn!==void 0?Bn:In&&In.requiredMark!==void 0?In.requiredMark:!wn,[wn,Bn,In]),Ai=ni!=null?ni:In==null?void 0:In.colon,Bi=Vt("form",zn),[Ti,hr]=st(Bi),tr=we()(Bi,`${Bi}-${gn}`,{[`${Bi}-hide-required-mark`]:tn===!1,[`${Bi}-rtl`]:yt==="rtl",[`${Bi}-${ir}`]:ir},hr,In==null?void 0:In.className,mi,Rn),[br]=en(Ln),{__INTERNAL__:Xi}=br;Xi.name=Jn;const Hi=(0,De.useMemo)(()=>({name:Jn,labelAlign:Gt,labelCol:Qt,labelWrap:yn,wrapperCol:un,vertical:gn==="vertical",colon:Ai,requiredMark:tn,itemRef:Xi.itemRef,form:br,feedbackIcons:gi}),[Jn,Gt,Qt,un,gn,Ai,tn,br,gi]);De.useImperativeHandle(On,()=>br);const Ir=(Kr,Fn)=>{if(Kr){let kr={block:"nearest"};typeof Kr=="object"&&(kr=Kr),br.scrollToField(Fn,kr)}},Ht=Kr=>{if(Vn==null||Vn(Kr),Kr.errorFields.length){const Fn=Kr.errorFields[0].name;if(kn!==void 0){Ir(kn,Fn);return}In&&In.scrollToFirstError!==void 0&&Ir(In.scrollToFirstError,Fn)}};return Ti(De.createElement(zt.n,{disabled:Ut},De.createElement(Xt.q,{size:ir},De.createElement(Ee.RV,Object.assign({},{validateMessages:zi}),De.createElement(Ee.q3.Provider,{value:Hi},De.createElement(Pt.default,Object.assign({id:Jn},Fi,{name:Jn,onFinishFailed:Ht,form:br,style:Object.assign(Object.assign({},In==null?void 0:In.style),Wn),className:tr})))))))};var jt=De.forwardRef(An),Nn=oe(12383),Gn=oe(20475),ii=oe(92343),Sn=oe(38298);function Yt(Nt){if(typeof Nt=="function")return Nt;const On=(0,Sn.Z)(Nt);return On.length<=1?On[0]:On}const Zt=()=>{const{status:Nt,errors:On=[],warnings:Un=[]}=(0,De.useContext)(Ee.aM);return{status:Nt,errors:On,warnings:Un}};Zt.Context=Ee.aM;var St=Zt,rt=oe(23073);function Ft(Nt){const[On,Un]=De.useState(Nt),Vt=(0,De.useRef)(null),yt=(0,De.useRef)([]),In=(0,De.useRef)(!1);De.useEffect(()=>(In.current=!1,()=>{In.current=!0,rt.Z.cancel(Vt.current),Vt.current=null}),[]);function zn(mi){In.current||(Vt.current===null&&(yt.current=[],Vt.current=(0,rt.Z)(()=>{Vt.current=null,Un(Rn=>{let bt=Rn;return yt.current.forEach(Ut=>{bt=Ut(bt)}),bt})})),yt.current.push(mi))}return[On,zn]}function Ot(){const{itemRef:Nt}=De.useContext(Ee.q3),On=De.useRef({});function Un(Vt,yt){const In=yt&&typeof yt=="object"&&yt.ref,zn=Vt.join("_");return(On.current.name!==zn||On.current.originRef!==In)&&(On.current.name=zn,On.current.originRef=In,On.current.ref=(0,Gn.sQ)(Nt(Vt),In)),On.current.ref}return Un}var ft=oe(48886),ct=oe(28800),Ge=oe(64002),Ae=oe(27382),xe=oe(37028);const je=Nt=>{const{formItemCls:On}=Nt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${On}-control`]:{display:"flex"}}}};var Qe=(0,kt.b)(["Form","item-item"],(Nt,On)=>{let{rootPrefixCls:Un}=On;const Vt=$e(Nt,Un);return[je(Vt)]}),xt=Nt=>{const{prefixCls:On,status:Un,wrapperCol:Vt,children:yt,errors:In,warnings:zn,_internalItemRender:mi,extra:Rn,help:bt,fieldId:Ut,marginBottom:Ln,onErrorVisibleChanged:ni}=Nt,Gt=`${On}-item`,yn=De.useContext(Ee.q3),Qt=Vt||yn.wrapperCol||{},un=we()(`${Gt}-control`,Qt.className),wn=De.useMemo(()=>Object.assign({},yn),[yn]);delete wn.labelCol,delete wn.wrapperCol;const gn=De.createElement("div",{className:`${Gt}-control-input`},De.createElement("div",{className:`${Gt}-control-input-content`},yt)),kn=De.useMemo(()=>({prefixCls:On,status:Un}),[On,Un]),Bn=Ln!==null||In.length||zn.length?De.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},De.createElement(Ee.Rk.Provider,{value:kn},De.createElement($t,{fieldId:Ut,errors:In,warnings:zn,help:bt,helpStatus:Un,className:`${Gt}-explain-connected`,onVisibleChanged:ni})),!!Ln&&De.createElement("div",{style:{width:0,height:Ln}})):null,Vn={};Ut&&(Vn.id=`${Ut}_extra`);const Jn=Rn?De.createElement("div",Object.assign({},Vn,{className:`${Gt}-extra`}),Rn):null,Wn=mi&&mi.mark==="pro_table_render"&&mi.render?mi.render(Nt,{input:gn,errorList:Bn,extra:Jn}):De.createElement(De.Fragment,null,gn,Bn,Jn);return De.createElement(Ee.q3.Provider,{value:wn},De.createElement(xe.Z,Object.assign({},Qt,{className:un}),Wn),De.createElement(Qe,{prefixCls:On}))},hn=oe(86902),Pn=oe(31724),wt=oe(9763),nn=oe(6848),Mn=function(Nt,On){var Un={};for(var Vt in Nt)Object.prototype.hasOwnProperty.call(Nt,Vt)&&On.indexOf(Vt)<0&&(Un[Vt]=Nt[Vt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Vt=Object.getOwnPropertySymbols(Nt);yt{let{prefixCls:On,label:Un,htmlFor:Vt,labelCol:yt,labelAlign:In,colon:zn,required:mi,requiredMark:Rn,tooltip:bt}=Nt;var Ut;const[Ln]=(0,wt.Z)("Form"),{vertical:ni,labelAlign:Gt,labelCol:yn,labelWrap:Qt,colon:un}=De.useContext(Ee.q3);if(!Un)return null;const wn=yt||yn||{},gn=In||Gt,kn=`${On}-item-label`,Bn=we()(kn,gn==="left"&&`${kn}-left`,wn.className,{[`${kn}-wrap`]:!!Qt});let Vn=Un;const Jn=zn===!0||un!==!1&&zn!==!1;Jn&&!ni&&typeof Un=="string"&&Un.trim()!==""&&(Vn=Un.replace(/[:|:]\s*$/,""));const gi=Zn(bt);if(gi){const{icon:tn=De.createElement(hn.Z,null)}=gi,Ai=Mn(gi,["icon"]),Bi=De.createElement(nn.Z,Object.assign({},Ai),De.cloneElement(tn,{className:`${On}-item-tooltip`,title:""}));Vn=De.createElement(De.Fragment,null,Vn,Bi)}const Fi=Rn==="optional",ir=typeof Rn=="function";ir?Vn=Rn(Vn,{required:!!mi}):Fi&&!mi&&(Vn=De.createElement(De.Fragment,null,Vn,De.createElement("span",{className:`${On}-item-optional`,title:""},(Ln==null?void 0:Ln.optional)||((Ut=Pn.Z.Form)===null||Ut===void 0?void 0:Ut.optional))));const zi=we()({[`${On}-item-required`]:mi,[`${On}-item-required-mark-optional`]:Fi||ir,[`${On}-item-no-colon`]:!Jn});return De.createElement(xe.Z,Object.assign({},wn,{className:Bn}),De.createElement("label",{htmlFor:Vt,className:zi,title:typeof Un=="string"?Un:""},Vn))},Mi=oe(79999),Si=oe(33130),Ri=oe(85404),lr=oe(50023);const dr={success:Mi.Z,warning:Ri.Z,error:Si.Z,validating:lr.Z};function ur(Nt){let{children:On,errors:Un,warnings:Vt,hasFeedback:yt,validateStatus:In,prefixCls:zn,meta:mi,noStyle:Rn}=Nt;const bt=`${zn}-item`,{feedbackIcons:Ut}=De.useContext(Ee.q3),Ln=sn(Un,Vt,mi,null,!!yt,In),{isFormItemInput:ni,status:Gt}=De.useContext(Ee.aM),yn=De.useMemo(()=>{var Qt;let un;if(yt){const kn=yt!==!0&&yt.icons||Ut,Bn=Ln&&((Qt=kn==null?void 0:kn({status:Ln,errors:Un,warnings:Vt}))===null||Qt===void 0?void 0:Qt[Ln]),Vn=Ln&&dr[Ln];un=Bn!==!1&&Vn?De.createElement("span",{className:we()(`${bt}-feedback-icon`,`${bt}-feedback-icon-${Ln}`)},Bn||De.createElement(Vn,null)):null}let wn=!0,gn=Ln||"";return Rn&&(wn=ni,gn=(Ln!=null?Ln:Gt)||""),{status:gn,errors:Un,warnings:Vt,hasFeedback:!!yt,feedbackIcon:un,isFormItemInput:wn}},[Ln,yt,Rn,ni,Gt]);return De.createElement(Ee.aM.Provider,{value:yn},On)}var Sr=function(Nt,On){var Un={};for(var Vt in Nt)Object.prototype.hasOwnProperty.call(Nt,Vt)&&On.indexOf(Vt)<0&&(Un[Vt]=Nt[Vt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Vt=Object.getOwnPropertySymbols(Nt);yt{if(gi&&Bn.current){const hr=getComputedStyle(Bn.current);zi(parseInt(hr.marginBottom,10))}},[gi,Fi]);const tn=hr=>{hr||zi(null)},Bi=function(){let hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const tr=hr?Vn:bt.errors,br=hr?Jn:bt.warnings;return sn(tr,br,bt,"",!!Ut,Rn)}(),Ti=we()(gn,Un,Vt,{[`${gn}-with-help`]:Wn||Vn.length||Jn.length,[`${gn}-has-feedback`]:Bi&&Ut,[`${gn}-has-success`]:Bi==="success",[`${gn}-has-warning`]:Bi==="warning",[`${gn}-has-error`]:Bi==="error",[`${gn}-is-validating`]:Bi==="validating",[`${gn}-hidden`]:Ln});return De.createElement("div",{className:Ti,style:yt,ref:Bn},De.createElement(Ae.Z,Object.assign({className:`${gn}-row`},(0,Ge.Z)(wn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),De.createElement(xi,Object.assign({htmlFor:Gt},Nt,{requiredMark:kn,required:yn!=null?yn:Qt,prefixCls:On})),De.createElement(xt,Object.assign({},Nt,bt,{errors:Vn,warnings:Jn,prefixCls:On,status:Bi,help:In,marginBottom:ir,onErrorVisibleChanged:tn}),De.createElement(Ee.qI.Provider,{value:un},De.createElement(ur,{prefixCls:On,meta:bt,errors:bt.errors,warnings:bt.warnings,hasFeedback:Ut,validateStatus:Bi},ni)))),!!ir&&De.createElement("div",{className:`${gn}-margin-offset`,style:{marginBottom:-ir}}))}const Gi="__SPLIT__",Zr=null,Yi=De.memo(Nt=>{let{children:On}=Nt;return On},(Nt,On)=>Nt.value===On.value&&Nt.update===On.update&&Nt.childProps.length===On.childProps.length&&Nt.childProps.every((Un,Vt)=>Un===On.childProps[Vt]));function Ue(Nt){return Nt!=null}function no(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function pr(Nt){const{name:On,noStyle:Un,className:Vt,dependencies:yt,prefixCls:In,shouldUpdate:zn,rules:mi,children:Rn,required:bt,label:Ut,messageVariables:Ln,trigger:ni="onChange",validateTrigger:Gt,hidden:yn,help:Qt}=Nt,{getPrefixCls:un}=De.useContext(dn.E_),{name:wn}=De.useContext(Ee.q3),gn=Yt(Rn),kn=typeof gn=="function",Bn=De.useContext(Ee.qI),{validateTrigger:Vn}=De.useContext(Pt.FieldContext),Jn=Gt!==void 0?Gt:Vn,Wn=Ue(On),gi=un("form",In),[Fi,ir]=st(gi),zi=De.useContext(Pt.ListContext),tn=De.useRef(),[Ai,Bi]=Ft({}),[Ti,hr]=(0,Nn.Z)(()=>no()),tr=Fn=>{const kr=zi==null?void 0:zi.getKey(Fn.name);if(hr(Fn.destroy?no():Fn,!0),Un&&Qt!==!1&&Bn){let Go=Fn.name;if(Fn.destroy)Go=tn.current||Go;else if(kr!==void 0){const[Dr,po]=kr;Go=[Dr].concat((0,se.Z)(po)),tn.current=Go}Bn(Fn,Go)}},br=(Fn,kr)=>{Bi(Go=>{const Dr=Object.assign({},Go),Do=[].concat((0,se.Z)(Fn.name.slice(0,-1)),(0,se.Z)(kr)).join(Gi);return Fn.destroy?delete Dr[Do]:Dr[Do]=Fn,Dr})},[Xi,Hi]=De.useMemo(()=>{const Fn=(0,se.Z)(Ti.errors),kr=(0,se.Z)(Ti.warnings);return Object.values(Ai).forEach(Go=>{Fn.push.apply(Fn,(0,se.Z)(Go.errors||[])),kr.push.apply(kr,(0,se.Z)(Go.warnings||[]))}),[Fn,kr]},[Ai,Ti.errors,Ti.warnings]),Ir=Ot();function Ht(Fn,kr,Go){return Un&&!yn?De.createElement(ur,{prefixCls:gi,hasFeedback:Nt.hasFeedback,validateStatus:Nt.validateStatus,meta:Ti,errors:Xi,warnings:Hi,noStyle:!0},Fn):De.createElement(Wr,Object.assign({key:"row"},Nt,{className:we()(Vt,ir),prefixCls:gi,fieldId:kr,isRequired:Go,errors:Xi,warnings:Hi,meta:Ti,onSubItemMetaChange:br}),Fn)}if(!Wn&&!kn&&!yt)return Fi(Ht(gn));let Kr={};return typeof Ut=="string"?Kr.label=Ut:On&&(Kr.label=String(On)),Ln&&(Kr=Object.assign(Object.assign({},Kr),Ln)),Fi(De.createElement(Pt.Field,Object.assign({},Nt,{messageVariables:Kr,trigger:ni,validateTrigger:Jn,onMetaChange:tr}),(Fn,kr,Go)=>{const Dr=gt(On).length&&kr?kr.name:[],po=Bt(Dr,wn),Do=bt!==void 0?bt:!!(mi&&mi.some(io=>{if(io&&typeof io=="object"&&io.required&&!io.warningOnly)return!0;if(typeof io=="function"){const Gr=io(Go);return Gr&&Gr.required&&!Gr.warningOnly}return!1})),Ji=Object.assign({},Fn);let or=null;if(Array.isArray(gn)&&Wn)or=gn;else if(!(kn&&(!(zn||yt)||Wn))){if(!(yt&&!kn&&!Wn))if((0,ii.l$)(gn)){const io=Object.assign(Object.assign({},gn.props),Ji);if(io.id||(io.id=po),Qt||Xi.length>0||Hi.length>0||Nt.extra){const lt=[];(Qt||Xi.length>0)&<.push(`${po}_help`),Nt.extra&<.push(`${po}_extra`),io["aria-describedby"]=lt.join(" ")}Xi.length>0&&(io["aria-invalid"]="true"),Do&&(io["aria-required"]="true"),(0,Gn.Yr)(gn)&&(io.ref=Ir(Dr,gn)),new Set([].concat((0,se.Z)(gt(ni)),(0,se.Z)(gt(Jn)))).forEach(lt=>{io[lt]=function(){for(var Rr,Ko,Yr,yo,Mr,mr=arguments.length,co=new Array(mr),Uo=0;Uo{var{prefixCls:On,children:Un}=Nt,Vt=Vo(Nt,["prefixCls","children"]);const{getPrefixCls:yt}=De.useContext(dn.E_),In=yt("form",On),zn=De.useMemo(()=>({prefixCls:In,status:"error"}),[In]);return De.createElement(Pt.List,Object.assign({},Vt),(mi,Rn,bt)=>De.createElement(Ee.Rk.Provider,{value:zn},Un(mi.map(Ut=>Object.assign(Object.assign({},Ut),{fieldKey:Ut.key})),Rn,{errors:bt.errors,warnings:bt.warnings})))};function on(){const{form:Nt}=(0,De.useContext)(Ee.q3);return Nt}const ln=jt;ln.Item=Fo,ln.List=Oi,ln.ErrorList=$t,ln.useForm=en,ln.useFormInstance=on,ln.useWatch=Pt.useWatch,ln.Provider=Ee.RV,ln.create=()=>{};var qt=ln},8628:function(_e,be,oe){"use strict";var se=oe(59301),Ce=oe(28800),we=oe(56762),Ie=oe(69507);function De(){let Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const Ee=(0,se.useRef)({}),et=(0,we.Z)(),Je=(0,Ie.ZP)();return(0,Ce.Z)(()=>{const Ye=Je.subscribe(tt=>{Ee.current=tt,Ke&&et()});return()=>Je.unsubscribe(Ye)},[]),Ee.current}be.Z=De},9432:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return me},n:function(){return ge}});var se=oe(33130),Ce=oe(92310),we=oe.n(Ce),Ie=oe(93681),De=oe(20475),Ke=oe(59301),Ee=oe(19080),et=oe(36355),Je=oe(1684),Ye=oe(19716),tt=oe(32441),ht=oe(33234),kt=oe(59412),ze=oe(9937);function ee(Se){return!!(Se.prefix||Se.suffix||Se.allowClear)}var ne=function(Se,Ne){var ke={};for(var Te in Se)Object.prototype.hasOwnProperty.call(Se,Te)&&Ne.indexOf(Te)<0&&(ke[Te]=Se[Te]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Te=Object.getOwnPropertySymbols(Se);We{var ke;const{prefixCls:Te,bordered:We=!0,status:$e,size:st,disabled:ut,onBlur:Mt,onFocus:nt,suffix:$t,allowClear:Pt,addonAfter:dn,addonBefore:zt,className:Xt,style:fn,styles:an,rootClassName:it,onChange:Ve,classNames:gt}=Se,Bt=ne(Se,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:sn,direction:It,input:en}=Ke.useContext(et.E_),En=sn("input",Te),ei=(0,Ke.useRef)(null),[An,Kn]=(0,ze.ZP)(En),{compactSize:jt,compactItemClassnames:Nn}=(0,ht.ri)(En,It),Gn=(0,Ye.Z)(Qe=>{var Oe;return(Oe=st!=null?st:jt)!==null&&Oe!==void 0?Oe:Qe}),ii=Ke.useContext(Je.Z),Sn=ut!=null?ut:ii,{status:Yt,hasFeedback:Zt,feedbackIcon:St}=(0,Ke.useContext)(tt.aM),rt=(0,Ee.F)(Yt,$e),Ft=ee(Se)||!!Zt,Ot=(0,Ke.useRef)(Ft);(0,Ke.useEffect)(()=>{var Qe;Ft&&Ot.current,Ot.current=Ft},[Ft]);const ft=(0,kt.Z)(ei,!0),ct=Qe=>{ft(),Mt==null||Mt(Qe)},Ge=Qe=>{ft(),nt==null||nt(Qe)},Ae=Qe=>{ft(),Ve==null||Ve(Qe)},xe=(Zt||$t)&&Ke.createElement(Ke.Fragment,null,$t,Zt&&St);let je;return typeof Pt=="object"&&(Pt!=null&&Pt.clearIcon)?je=Pt:Pt&&(je={clearIcon:Ke.createElement(se.Z,null)}),An(Ke.createElement(Ie.default,Object.assign({ref:(0,De.sQ)(Ne,ei),prefixCls:En,autoComplete:en==null?void 0:en.autoComplete},Bt,{disabled:Sn,onBlur:ct,onFocus:Ge,style:Object.assign(Object.assign({},en==null?void 0:en.style),fn),styles:Object.assign(Object.assign({},en==null?void 0:en.styles),an),suffix:xe,allowClear:je,className:we()(Xt,it,Nn,en==null?void 0:en.className),onChange:Ae,addonAfter:dn&&Ke.createElement(ht.BR,null,Ke.createElement(tt.Ux,{override:!0,status:!0},dn)),addonBefore:zt&&Ke.createElement(ht.BR,null,Ke.createElement(tt.Ux,{override:!0,status:!0},zt)),classNames:Object.assign(Object.assign(Object.assign({},gt),en==null?void 0:en.classNames),{input:we()({[`${En}-sm`]:Gn==="small",[`${En}-lg`]:Gn==="large",[`${En}-rtl`]:It==="rtl",[`${En}-borderless`]:!We},!Ft&&(0,Ee.Z)(En,rt),gt==null?void 0:gt.input,(ke=en==null?void 0:en.classNames)===null||ke===void 0?void 0:ke.input,Kn)}),classes:{affixWrapper:we()({[`${En}-affix-wrapper-sm`]:Gn==="small",[`${En}-affix-wrapper-lg`]:Gn==="large",[`${En}-affix-wrapper-rtl`]:It==="rtl",[`${En}-affix-wrapper-borderless`]:!We},(0,Ee.Z)(`${En}-affix-wrapper`,rt,Zt),Kn),wrapper:we()({[`${En}-group-rtl`]:It==="rtl"},Kn),group:we()({[`${En}-group-wrapper-sm`]:Gn==="small",[`${En}-group-wrapper-lg`]:Gn==="large",[`${En}-group-wrapper-rtl`]:It==="rtl",[`${En}-group-wrapper-disabled`]:Sn},(0,Ee.Z)(`${En}-group-wrapper`,rt,Zt),Kn)}})))})},1643:function(_e,be,oe){"use strict";var se=oe(33130),Ce=oe(92310),we=oe.n(Ce),Ie=oe(9296),De=oe(59301),Ke=oe(19080),Ee=oe(36355),et=oe(1684),Je=oe(19716),Ye=oe(32441),tt=oe(9432),ht=oe(9937),kt=function(ee,ne){var ge={};for(var ue in ee)Object.prototype.hasOwnProperty.call(ee,ue)&&ne.indexOf(ue)<0&&(ge[ue]=ee[ue]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,ue=Object.getOwnPropertySymbols(ee);me{const{prefixCls:ge,bordered:ue=!0,size:me,disabled:Se,status:Ne,allowClear:ke,showCount:Te,classNames:We,rootClassName:$e,className:st}=ee,ut=kt(ee,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Mt,direction:nt}=De.useContext(Ee.E_),$t=(0,Je.Z)(me),Pt=De.useContext(et.Z),dn=Se!=null?Se:Pt,{status:zt,hasFeedback:Xt,feedbackIcon:fn}=De.useContext(Ye.aM),an=(0,Ke.F)(zt,Ne),it=De.useRef(null);De.useImperativeHandle(ne,()=>{var It;return{resizableTextArea:(It=it.current)===null||It===void 0?void 0:It.resizableTextArea,focus:en=>{var En,ei;(0,tt.n)((ei=(En=it.current)===null||En===void 0?void 0:En.resizableTextArea)===null||ei===void 0?void 0:ei.textArea,en)},blur:()=>{var en;return(en=it.current)===null||en===void 0?void 0:en.blur()}}});const Ve=Mt("input",ge);let gt;typeof ke=="object"&&(ke!=null&&ke.clearIcon)?gt=ke:ke&&(gt={clearIcon:De.createElement(se.Z,null)});const[Bt,sn]=(0,ht.ZP)(Ve);return Bt(De.createElement(Ie.default,Object.assign({},ut,{disabled:dn,allowClear:gt,className:we()(st,$e),classes:{affixWrapper:we()(`${Ve}-textarea-affix-wrapper`,{[`${Ve}-affix-wrapper-rtl`]:nt==="rtl",[`${Ve}-affix-wrapper-borderless`]:!ue,[`${Ve}-affix-wrapper-sm`]:$t==="small",[`${Ve}-affix-wrapper-lg`]:$t==="large",[`${Ve}-textarea-show-count`]:Te},(0,Ke.Z)(`${Ve}-affix-wrapper`,an),sn)},classNames:Object.assign(Object.assign({},We),{textarea:we()({[`${Ve}-borderless`]:!ue,[`${Ve}-sm`]:$t==="small",[`${Ve}-lg`]:$t==="large"},(0,Ke.Z)(Ve,an),sn,We==null?void 0:We.textarea)}),prefixCls:Ve,suffix:Xt&&De.createElement("span",{className:`${Ve}-textarea-suffix`},fn),showCount:Te,ref:it})))});be.Z=ze},59412:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ce}});var se=oe(59301);function Ce(we,Ie){const De=(0,se.useRef)([]),Ke=()=>{De.current.push(setTimeout(()=>{var Ee,et,Je,Ye;!((Ee=we.current)===null||Ee===void 0)&&Ee.input&&((et=we.current)===null||et===void 0?void 0:et.input.getAttribute("type"))==="password"&&(!((Je=we.current)===null||Je===void 0)&&Je.input.hasAttribute("value"))&&((Ye=we.current)===null||Ye===void 0||Ye.input.removeAttribute("value"))}))};return(0,se.useEffect)(()=>(Ie&&Ke(),()=>De.current.forEach(Ee=>{Ee&&clearTimeout(Ee)})),[]),Ke}},92832:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return $t}});var se=oe(92310),Ce=oe.n(se),we=oe(59301),Ie=oe(36355),De=oe(32441),Ke=oe(9937),et=Pt=>{const{getPrefixCls:dn,direction:zt}=(0,we.useContext)(Ie.E_),{prefixCls:Xt,className:fn}=Pt,an=dn("input-group",Xt),it=dn("input"),[Ve,gt]=(0,Ke.ZP)(it),Bt=Ce()(an,{[`${an}-lg`]:Pt.size==="large",[`${an}-sm`]:Pt.size==="small",[`${an}-compact`]:Pt.compact,[`${an}-rtl`]:zt==="rtl"},gt,fn),sn=(0,we.useContext)(De.aM),It=(0,we.useMemo)(()=>Object.assign(Object.assign({},sn),{isFormItemInput:!1}),[sn]);return Ve(we.createElement("span",{className:Bt,style:Pt.style,onMouseEnter:Pt.onMouseEnter,onMouseLeave:Pt.onMouseLeave,onFocus:Pt.onFocus,onBlur:Pt.onBlur},we.createElement(De.aM.Provider,{value:It},Pt.children)))},Je=oe(9432),Ye=oe(61441),tt=oe(30631),ht=oe(64002),kt=oe(20475),ze=oe(59412),ee=function(Pt,dn){var zt={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&dn.indexOf(Xt)<0&&(zt[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Xt=Object.getOwnPropertySymbols(Pt);fnPt?we.createElement(tt.Z,null):we.createElement(Ye.Z,null),ge={click:"onClick",hover:"onMouseOver"};var me=we.forwardRef((Pt,dn)=>{const{visibilityToggle:zt=!0}=Pt,Xt=typeof zt=="object"&&zt.visible!==void 0,[fn,an]=(0,we.useState)(()=>Xt?zt.visible:!1),it=(0,we.useRef)(null);we.useEffect(()=>{Xt&&an(zt.visible)},[Xt,zt]);const Ve=(0,ze.Z)(it),gt=()=>{const{disabled:Sn}=Pt;Sn||(fn&&Ve(),an(Yt=>{var Zt;const St=!Yt;return typeof zt=="object"&&((Zt=zt.onVisibleChange)===null||Zt===void 0||Zt.call(zt,St)),St}))},Bt=Sn=>{const{action:Yt="click",iconRender:Zt=ne}=Pt,St=ge[Yt]||"",rt=Zt(fn),Ft={[St]:gt,className:`${Sn}-icon`,key:"passwordIcon",onMouseDown:Ot=>{Ot.preventDefault()},onMouseUp:Ot=>{Ot.preventDefault()}};return we.cloneElement(we.isValidElement(rt)?rt:we.createElement("span",null,rt),Ft)},{className:sn,prefixCls:It,inputPrefixCls:en,size:En}=Pt,ei=ee(Pt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:An}=we.useContext(Ie.E_),Kn=An("input",en),jt=An("input-password",It),Nn=zt&&Bt(jt),Gn=Ce()(jt,sn,{[`${jt}-${En}`]:!!En}),ii=Object.assign(Object.assign({},(0,ht.Z)(ei,["suffix","iconRender","visibilityToggle"])),{type:fn?"text":"password",className:Gn,prefixCls:Kn,suffix:Nn});return En&&(ii.size=En),we.createElement(Je.Z,Object.assign({ref:(0,kt.sQ)(dn,it)},ii))}),Se=oe(21970),Ne=oe(92343),ke=oe(3113),Te=oe(19716),We=oe(33234),$e=function(Pt,dn){var zt={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&dn.indexOf(Xt)<0&&(zt[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Xt=Object.getOwnPropertySymbols(Pt);fn{const{prefixCls:zt,inputPrefixCls:Xt,className:fn,size:an,suffix:it,enterButton:Ve=!1,addonAfter:gt,loading:Bt,disabled:sn,onSearch:It,onChange:en,onCompositionStart:En,onCompositionEnd:ei}=Pt,An=$e(Pt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Kn,direction:jt}=we.useContext(Ie.E_),Nn=we.useRef(!1),Gn=Kn("input-search",zt),ii=Kn("input",Xt),{compactSize:Sn}=(0,We.ri)(Gn,jt),Yt=(0,Te.Z)(xt=>{var hn;return(hn=an!=null?an:Sn)!==null&&hn!==void 0?hn:xt}),Zt=we.useRef(null),St=xt=>{xt&&xt.target&&xt.type==="click"&&It&&It(xt.target.value,xt,{source:"clear"}),en&&en(xt)},rt=xt=>{var hn;document.activeElement===((hn=Zt.current)===null||hn===void 0?void 0:hn.input)&&xt.preventDefault()},Ft=xt=>{var hn,Pn;It&&It((Pn=(hn=Zt.current)===null||hn===void 0?void 0:hn.input)===null||Pn===void 0?void 0:Pn.value,xt,{source:"input"})},Ot=xt=>{Nn.current||Bt||Ft(xt)},ft=typeof Ve=="boolean"?we.createElement(Se.Z,null):null,ct=`${Gn}-button`;let Ge;const Ae=Ve||{},xe=Ae.type&&Ae.type.__ANT_BUTTON===!0;xe||Ae.type==="button"?Ge=(0,Ne.Tm)(Ae,Object.assign({onMouseDown:rt,onClick:xt=>{var hn,Pn;(Pn=(hn=Ae==null?void 0:Ae.props)===null||hn===void 0?void 0:hn.onClick)===null||Pn===void 0||Pn.call(hn,xt),Ft(xt)},key:"enterButton"},xe?{className:ct,size:Yt}:{})):Ge=we.createElement(ke.ZP,{className:ct,type:Ve?"primary":void 0,size:Yt,disabled:sn,key:"enterButton",onMouseDown:rt,onClick:Ft,loading:Bt,icon:ft},Ve),gt&&(Ge=[Ge,(0,Ne.Tm)(gt,{key:"addonAfter"})]);const je=Ce()(Gn,{[`${Gn}-rtl`]:jt==="rtl",[`${Gn}-${Yt}`]:!!Yt,[`${Gn}-with-button`]:!!Ve},fn),Qe=xt=>{Nn.current=!0,En==null||En(xt)},Oe=xt=>{Nn.current=!1,ei==null||ei(xt)};return we.createElement(Je.Z,Object.assign({ref:(0,kt.sQ)(Zt,dn),onPressEnter:Ot},An,{size:Yt,onCompositionStart:Qe,onCompositionEnd:Oe,prefixCls:ii,addonAfter:Ge,suffix:it,onChange:St,className:je,disabled:sn}))}),Mt=oe(1643);const nt=Je.Z;nt.Group=et,nt.Search=ut,nt.TextArea=Mt.Z,nt.Password=me;var $t=nt},99580:function(_e,be,oe){"use strict";oe.d(be,{D:function(){return Se},Z:function(){return Te}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ie=we,De=oe(88853),Ke=function($e,st){return Ce.createElement(De.Z,(0,se.Z)({},$e,{ref:st,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee,Je=oe(16537),Ye=oe(53878),tt=oe(92310),ht=oe.n(tt),kt=oe(64002),ee=We=>!isNaN(parseFloat(We))&&isFinite(We),ne=oe(36355),ge=oe(84966),ue=function(We,$e){var st={};for(var ut in We)Object.prototype.hasOwnProperty.call(We,ut)&&$e.indexOf(ut)<0&&(st[ut]=We[ut]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,ut=Object.getOwnPropertySymbols(We);Mt{let We=0;return function(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return We+=1,`${$e}${We}`}})();var Te=Ce.forwardRef((We,$e)=>{const{prefixCls:st,className:ut,trigger:Mt,children:nt,defaultCollapsed:$t=!1,theme:Pt="dark",style:dn={},collapsible:zt=!1,reverseArrow:Xt=!1,width:fn=200,collapsedWidth:an=80,zeroWidthTriggerStyle:it,breakpoint:Ve,onCollapse:gt,onBreakpoint:Bt}=We,sn=ue(We,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:It}=(0,Ce.useContext)(ge.Gs),[en,En]=(0,Ce.useState)("collapsed"in We?We.collapsed:$t),[ei,An]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{"collapsed"in We&&En(We.collapsed)},[We.collapsed]);const Kn=(Yt,Zt)=>{"collapsed"in We||En(Yt),gt==null||gt(Yt,Zt)},jt=(0,Ce.useRef)();jt.current=Yt=>{An(Yt.matches),Bt==null||Bt(Yt.matches),en!==Yt.matches&&Kn(Yt.matches,"responsive")},(0,Ce.useEffect)(()=>{function Yt(St){return jt.current(St)}let Zt;if(typeof window!="undefined"){const{matchMedia:St}=window;if(St&&Ve&&Ve in me){Zt=St(`(max-width: ${me[Ve]})`);try{Zt.addEventListener("change",Yt)}catch(rt){Zt.addListener(Yt)}Yt(Zt)}}return()=>{try{Zt==null||Zt.removeEventListener("change",Yt)}catch(St){Zt==null||Zt.removeListener(Yt)}}},[Ve]),(0,Ce.useEffect)(()=>{const Yt=Ne("ant-sider-");return It.addSider(Yt),()=>It.removeSider(Yt)},[]);const Nn=()=>{Kn(!en,"clickTrigger")},{getPrefixCls:Gn}=(0,Ce.useContext)(ne.E_),ii=()=>{const Yt=Gn("layout-sider",st),Zt=(0,kt.Z)(sn,["collapsed"]),St=en?an:fn,rt=ee(St)?`${St}px`:String(St),Ft=parseFloat(String(an||0))===0?Ce.createElement("span",{onClick:Nn,className:ht()(`${Yt}-zero-width-trigger`,`${Yt}-zero-width-trigger-${Xt?"right":"left"}`),style:it},Mt||Ce.createElement(et,null)):null,ct={expanded:Xt?Ce.createElement(Ye.Z,null):Ce.createElement(Je.Z,null),collapsed:Xt?Ce.createElement(Je.Z,null):Ce.createElement(Ye.Z,null)}[en?"collapsed":"expanded"],Ge=Mt!==null?Ft||Ce.createElement("div",{className:`${Yt}-trigger`,onClick:Nn,style:{width:rt}},Mt||ct):null,Ae=Object.assign(Object.assign({},dn),{flex:`0 0 ${rt}`,maxWidth:rt,minWidth:rt,width:rt}),xe=ht()(Yt,`${Yt}-${Pt}`,{[`${Yt}-collapsed`]:!!en,[`${Yt}-has-trigger`]:zt&&Mt!==null&&!Ft,[`${Yt}-below`]:!!ei,[`${Yt}-zero-width`]:parseFloat(rt)===0},ut);return Ce.createElement("aside",Object.assign({className:xe},Zt,{style:Ae,ref:$e}),Ce.createElement("div",{className:`${Yt}-children`},nt),zt||ei&&Ft?Ge:null)},Sn=Ce.useMemo(()=>({siderCollapsed:en}),[en]);return Ce.createElement(Se.Provider,{value:Sn},ii())})},84966:function(_e,be,oe){"use strict";oe.d(be,{VY:function(){return Se},$_:function(){return me},h4:function(){return ue},Gs:function(){return kt},ZP:function(){return Ne}});var se=oe(26390),Ce=oe(92310),we=oe.n(Ce),Ie=oe(64002),De=oe(59301),Ke=oe(36355),Ee=oe(83116),Je=ke=>{const{componentCls:Te,bodyBg:We,lightSiderBg:$e,lightTriggerBg:st,lightTriggerColor:ut}=ke;return{[`${Te}-sider-light`]:{background:$e,[`${Te}-sider-trigger`]:{color:ut,background:st},[`${Te}-sider-zero-width-trigger`]:{color:ut,background:st,border:`1px solid ${We}`,borderInlineStart:0}}}};const Ye=ke=>{const{antCls:Te,componentCls:We,colorText:$e,triggerColor:st,footerBg:ut,triggerBg:Mt,headerHeight:nt,headerPadding:$t,headerColor:Pt,footerPadding:dn,triggerHeight:zt,zeroTriggerHeight:Xt,zeroTriggerWidth:fn,motionDurationMid:an,motionDurationSlow:it,fontSize:Ve,borderRadius:gt,bodyBg:Bt,headerBg:sn,siderBg:It}=ke;return{[We]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Bt,"&, *":{boxSizing:"border-box"},[`&${We}-has-sider`]:{flexDirection:"row",[`> ${We}, > ${We}-content`]:{width:0}},[`${We}-header, &${We}-footer`]:{flex:"0 0 auto"},[`${We}-sider`]:{position:"relative",minWidth:0,background:It,transition:`all ${an}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Te}-menu${Te}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:zt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:zt,color:st,lineHeight:`${zt}px`,textAlign:"center",background:Mt,cursor:"pointer",transition:`all ${an}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:nt,insetInlineEnd:-fn,zIndex:1,width:fn,height:Xt,color:st,fontSize:ke.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:It,borderStartStartRadius:0,borderStartEndRadius:gt,borderEndEndRadius:gt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${it} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${it}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-fn,borderStartStartRadius:gt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:gt}}}}},Je(ke)),{"&-rtl":{direction:"rtl"}}),[`${We}-header`]:{height:nt,padding:$t,color:Pt,lineHeight:`${nt}px`,background:sn,[`${Te}-menu`]:{lineHeight:"inherit"}},[`${We}-footer`]:{padding:dn,color:$e,fontSize:Ve,background:ut},[`${We}-content`]:{flex:"auto",minHeight:0}}};var tt=(0,Ee.Z)("Layout",ke=>[Ye(ke)],ke=>{const{colorBgLayout:Te,controlHeight:We,controlHeightLG:$e,colorText:st,controlHeightSM:ut,marginXXS:Mt,colorTextLightSolid:nt,colorBgContainer:$t}=ke,Pt=$e*1.25;return{colorBgHeader:"#001529",colorBgBody:Te,colorBgTrigger:"#002140",bodyBg:Te,headerBg:"#001529",headerHeight:We*2,headerPadding:`0 ${Pt}px`,headerColor:st,footerPadding:`${ut}px ${Pt}px`,footerBg:Te,siderBg:"#001529",triggerHeight:$e+Mt*2,triggerBg:"#002140",triggerColor:nt,zeroTriggerWidth:$e,zeroTriggerHeight:$e,lightSiderBg:$t,lightTriggerBg:$t,lightTriggerColor:st}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ht=function(ke,Te){var We={};for(var $e in ke)Object.prototype.hasOwnProperty.call(ke,$e)&&Te.indexOf($e)<0&&(We[$e]=ke[$e]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,$e=Object.getOwnPropertySymbols(ke);st<$e.length;st++)Te.indexOf($e[st])<0&&Object.prototype.propertyIsEnumerable.call(ke,$e[st])&&(We[$e[st]]=ke[$e[st]]);return We};const kt=De.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ze(ke){let{suffixCls:Te,tagName:We,displayName:$e}=ke;return st=>De.forwardRef((Mt,nt)=>De.createElement(st,Object.assign({ref:nt,suffixCls:Te,tagName:We},Mt)))}const ee=De.forwardRef((ke,Te)=>{const{prefixCls:We,suffixCls:$e,className:st,tagName:ut}=ke,Mt=ht(ke,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:nt}=De.useContext(Ke.E_),$t=nt("layout",We),[Pt,dn]=tt($t),zt=$e?`${$t}-${$e}`:$t;return Pt(De.createElement(ut,Object.assign({className:we()(We||zt,st,dn),ref:Te},Mt)))}),ne=De.forwardRef((ke,Te)=>{const{direction:We}=De.useContext(Ke.E_),[$e,st]=De.useState([]),{prefixCls:ut,className:Mt,rootClassName:nt,children:$t,hasSider:Pt,tagName:dn,style:zt}=ke,Xt=ht(ke,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),fn=(0,Ie.Z)(Xt,["suffixCls"]),{getPrefixCls:an,layout:it}=De.useContext(Ke.E_),Ve=an("layout",ut),[gt,Bt]=tt(Ve),sn=we()(Ve,{[`${Ve}-has-sider`]:typeof Pt=="boolean"?Pt:$e.length>0,[`${Ve}-rtl`]:We==="rtl"},it==null?void 0:it.className,Mt,nt,Bt),It=De.useMemo(()=>({siderHook:{addSider:en=>{st(En=>[].concat((0,se.Z)(En),[en]))},removeSider:en=>{st(En=>En.filter(ei=>ei!==en))}}}),[]);return gt(De.createElement(kt.Provider,{value:It},De.createElement(dn,Object.assign({ref:Te,className:sn,style:Object.assign(Object.assign({},it==null?void 0:it.style),zt)},fn),$t)))}),ge=ze({tagName:"div",displayName:"Layout"})(ne),ue=ze({suffixCls:"header",tagName:"header",displayName:"Header"})(ee),me=ze({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(ee),Se=ze({suffixCls:"content",tagName:"main",displayName:"Content"})(ee);var Ne=ge},40875:function(_e,be,oe){"use strict";oe.d(be,{J:function(){return Ke}});var se=oe(59301),Ce=oe(33234),we=oe(80764),Ie=function(Ee,et){var Je={};for(var Ye in Ee)Object.prototype.hasOwnProperty.call(Ee,Ye)&&et.indexOf(Ye)<0&&(Je[Ye]=Ee[Ye]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Ye=Object.getOwnPropertySymbols(Ee);tt{const{children:Je}=Ee,Ye=Ie(Ee,["children"]),tt=se.useContext(De),ht=se.useMemo(()=>Object.assign(Object.assign({},tt),Ye),[tt,Ye.prefixCls,Ye.mode,Ye.selectable]);return se.createElement(De.Provider,{value:ht},se.createElement(Ce.BR,null,(0,we.supportNodeRef)(Je)?se.cloneElement(Je,{ref:et}):Je))});be.Z=De},20834:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return Sn}});var se=oe(22798),Ce=oe(59301),we=oe(99580),Ie=oe(92310),De=oe.n(Ie),Ke=oe(36355),Ee=function(Yt,Zt){var St={};for(var rt in Yt)Object.prototype.hasOwnProperty.call(Yt,rt)&&Zt.indexOf(rt)<0&&(St[rt]=Yt[rt]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,rt=Object.getOwnPropertySymbols(Yt);Ft{const{prefixCls:Zt,className:St,dashed:rt}=Yt,Ft=Ee(Yt,["prefixCls","className","dashed"]),{getPrefixCls:Ot}=Ce.useContext(Ke.E_),ft=Ot("menu",Zt),ct=De()({[`${ft}-item-divider-dashed`]:!!rt},St);return Ce.createElement(se.iz,Object.assign({className:ct},Ft))},Ye=oe(38298),tt=oe(64002),ht=oe(6848),kt=oe(92343),ee=(0,Ce.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ge=Yt=>{var Zt;const{className:St,children:rt,icon:Ft,title:Ot,danger:ft}=Yt,{prefixCls:ct,firstLevel:Ge,direction:Ae,disableMenuItemTitleTooltip:xe,inlineCollapsed:je}=Ce.useContext(ee),Qe=nn=>{const Mn=Ce.createElement("span",{className:`${ct}-title-content`},rt);return(!Ft||(0,kt.l$)(rt)&&rt.type==="span")&&rt&&nn&&Ge&&typeof rt=="string"?Ce.createElement("div",{className:`${ct}-inline-collapsed-noicon`},rt.charAt(0)):Mn},{siderCollapsed:Oe}=Ce.useContext(we.D);let xt=Ot;typeof Ot=="undefined"?xt=Ge?rt:"":Ot===!1&&(xt="");const hn={title:xt};!Oe&&!je&&(hn.title=null,hn.open=!1);const Pn=(0,Ye.Z)(rt).length;let wt=Ce.createElement(se.ck,Object.assign({},(0,tt.Z)(Yt,["title","icon","danger"]),{className:De()({[`${ct}-item-danger`]:ft,[`${ct}-item-only-child`]:(Ft?Pn+1:Pn)===1},St),title:typeof Ot=="string"?Ot:void 0}),(0,kt.Tm)(Ft,{className:De()((0,kt.l$)(Ft)?(Zt=Ft.props)===null||Zt===void 0?void 0:Zt.className:"",`${ct}-item-icon`)}),Qe(je));return xe||(wt=Ce.createElement(ht.Z,Object.assign({},hn,{placement:Ae==="rtl"?"left":"right",overlayClassName:`${ct}-inline-collapsed-tooltip`}),wt)),wt},me=Yt=>{var Zt;const{popupClassName:St,icon:rt,title:Ft,theme:Ot}=Yt,ft=Ce.useContext(ee),{prefixCls:ct,inlineCollapsed:Ge,theme:Ae}=ft,xe=(0,se.Xl)();let je;if(!rt)je=Ge&&!xe.length&&Ft&&typeof Ft=="string"?Ce.createElement("div",{className:`${ct}-inline-collapsed-noicon`},Ft.charAt(0)):Ce.createElement("span",{className:`${ct}-title-content`},Ft);else{const Oe=(0,kt.l$)(Ft)&&Ft.type==="span";je=Ce.createElement(Ce.Fragment,null,(0,kt.Tm)(rt,{className:De()((0,kt.l$)(rt)?(Zt=rt.props)===null||Zt===void 0?void 0:Zt.className:"",`${ct}-item-icon`)}),Oe?Ft:Ce.createElement("span",{className:`${ct}-title-content`},Ft))}const Qe=Ce.useMemo(()=>Object.assign(Object.assign({},ft),{firstLevel:!1}),[ft]);return Ce.createElement(ee.Provider,{value:Qe},Ce.createElement(se.Wd,Object.assign({},(0,tt.Z)(Yt,["icon"]),{title:je,popupClassName:De()(ct,St,`${ct}-${Ot||Ae}`)})))},Se=oe(19362),Ne=oe(80764),ke=oe(62892),Te=oe(40875),We=function(Yt,Zt){var St={};for(var rt in Yt)Object.prototype.hasOwnProperty.call(Yt,rt)&&Zt.indexOf(rt)<0&&(St[rt]=Yt[rt]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,rt=Object.getOwnPropertySymbols(Yt);Ft{if(Zt&&typeof Zt=="object"){const rt=Zt,{label:Ft,children:Ot,key:ft,type:ct}=rt,Ge=We(rt,["label","children","key","type"]),Ae=ft!=null?ft:`tmp-${St}`;return Ot||ct==="group"?ct==="group"?Ce.createElement(se.BW,Object.assign({key:Ae},Ge,{title:Ft}),$e(Ot)):Ce.createElement(me,Object.assign({key:Ae},Ge,{title:Ft}),$e(Ot)):ct==="divider"?Ce.createElement(Je,Object.assign({key:Ae},Ge)):Ce.createElement(ge,Object.assign({key:Ae},Ge),Ft)}return null}).filter(Zt=>Zt)}function st(Yt){return Ce.useMemo(()=>Yt&&$e(Yt),[Yt])}var ut=oe(64993),Mt=oe(17313),nt=oe(8378),$t=oe(13826),Pt=oe(29878),dn=oe(83116),zt=oe(37613),fn=Yt=>{const{componentCls:Zt,motionDurationSlow:St,horizontalLineHeight:rt,colorSplit:Ft,lineWidth:Ot,lineType:ft,itemPaddingInline:ct}=Yt;return{[`${Zt}-horizontal`]:{lineHeight:rt,border:0,borderBottom:`${Ot}px ${ft} ${Ft}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Zt}-item, ${Zt}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ct},[`> ${Zt}-item:hover, > ${Zt}-item-active, > ${Zt}-submenu ${Zt}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Zt}-item, ${Zt}-submenu-title`]:{transition:[`border-color ${St}`,`background ${St}`].join(",")},[`${Zt}-submenu-arrow`]:{display:"none"}}}},it=Yt=>{let{componentCls:Zt,menuArrowOffset:St}=Yt;return{[`${Zt}-rtl`]:{direction:"rtl"},[`${Zt}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Zt}-rtl${Zt}-vertical, ${Zt}-submenu-rtl ${Zt}-vertical`]:{[`${Zt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${St})`},"&::after":{transform:`rotate(45deg) translateY(${St})`}}}}};const Ve=Yt=>Object.assign({},(0,Mt.oN)(Yt));var Bt=(Yt,Zt)=>{const{componentCls:St,itemColor:rt,itemSelectedColor:Ft,groupTitleColor:Ot,itemBg:ft,subMenuItemBg:ct,itemSelectedBg:Ge,activeBarHeight:Ae,activeBarWidth:xe,activeBarBorderWidth:je,motionDurationSlow:Qe,motionEaseInOut:Oe,motionEaseOut:xt,itemPaddingInline:hn,motionDurationMid:Pn,itemHoverColor:wt,lineType:nn,colorSplit:Mn,itemDisabledColor:Zn,dangerItemColor:li,dangerItemHoverColor:xi,dangerItemSelectedColor:Mi,dangerItemActiveBg:Si,dangerItemSelectedBg:Ri,itemHoverBg:lr,itemActiveBg:dr,menuSubMenuBg:ur,horizontalItemSelectedColor:Sr,horizontalItemSelectedBg:Wr,horizontalItemBorderRadius:Gi,horizontalItemHoverBg:Zr,popupBg:Yi}=Yt;return{[`${St}-${Zt}, ${St}-${Zt} > ${St}`]:{color:rt,background:ft,[`&${St}-root:focus-visible`]:Object.assign({},Ve(Yt)),[`${St}-item-group-title`]:{color:Ot},[`${St}-submenu-selected`]:{[`> ${St}-submenu-title`]:{color:Ft}},[`${St}-item-disabled, ${St}-submenu-disabled`]:{color:`${Zn} !important`},[`${St}-item:not(${St}-item-selected):not(${St}-submenu-selected)`]:{[`&:hover, > ${St}-submenu-title:hover`]:{color:wt}},[`&:not(${St}-horizontal)`]:{[`${St}-item:not(${St}-item-selected)`]:{"&:hover":{backgroundColor:lr},"&:active":{backgroundColor:dr}},[`${St}-submenu-title`]:{"&:hover":{backgroundColor:lr},"&:active":{backgroundColor:dr}}},[`${St}-item-danger`]:{color:li,[`&${St}-item:hover`]:{[`&:not(${St}-item-selected):not(${St}-submenu-selected)`]:{color:xi}},[`&${St}-item:active`]:{background:Si}},[`${St}-item a`]:{"&, &:hover":{color:"inherit"}},[`${St}-item-selected`]:{color:Ft,[`&${St}-item-danger`]:{color:Mi},"a, a:hover":{color:"inherit"}},[`& ${St}-item-selected`]:{backgroundColor:Ge,[`&${St}-item-danger`]:{backgroundColor:Ri}},[`${St}-item, ${St}-submenu-title`]:{[`&:not(${St}-item-disabled):focus-visible`]:Object.assign({},Ve(Yt))},[`&${St}-submenu > ${St}`]:{backgroundColor:ur},[`&${St}-popup > ${St}`]:{backgroundColor:Yi},[`&${St}-horizontal`]:Object.assign(Object.assign({},Zt==="dark"?{borderBottom:0}:{}),{[`> ${St}-item, > ${St}-submenu`]:{top:je,marginTop:-je,marginBottom:0,borderRadius:Gi,"&::after":{position:"absolute",insetInline:hn,bottom:0,borderBottom:`${Ae}px solid transparent`,transition:`border-color ${Qe} ${Oe}`,content:'""'},"&:hover, &-active, &-open":{background:Zr,"&::after":{borderBottomWidth:Ae,borderBottomColor:Sr}},"&-selected":{color:Sr,backgroundColor:Wr,"&:hover":{backgroundColor:Wr},"&::after":{borderBottomWidth:Ae,borderBottomColor:Sr}}}}),[`&${St}-root`]:{[`&${St}-inline, &${St}-vertical`]:{borderInlineEnd:`${je}px ${nn} ${Mn}`}},[`&${St}-inline`]:{[`${St}-sub${St}-inline`]:{background:ct},[`${St}-item, ${St}-submenu-title`]:je&&xe?{width:`calc(100% + ${je}px)`}:{},[`${St}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${xe}px solid ${Ft}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Pn} ${xt}`,`opacity ${Pn} ${xt}`].join(","),content:'""'},[`&${St}-item-danger`]:{"&::after":{borderInlineEndColor:Mi}}},[`${St}-selected, ${St}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Pn} ${Oe}`,`opacity ${Pn} ${Oe}`].join(",")}}}}}};const sn=Yt=>{const{componentCls:Zt,itemHeight:St,itemMarginInline:rt,padding:Ft,menuArrowSize:Ot,marginXS:ft,itemMarginBlock:ct}=Yt,Ge=Ft+Ot+ft;return{[`${Zt}-item`]:{position:"relative",overflow:"hidden"},[`${Zt}-item, ${Zt}-submenu-title`]:{height:St,lineHeight:`${St}px`,paddingInline:Ft,overflow:"hidden",textOverflow:"ellipsis",marginInline:rt,marginBlock:ct,width:`calc(100% - ${rt*2}px)`},[`> ${Zt}-item, @@ -1138,7 +1138,7 @@ ${Zt}-submenu-arrow, ${Zt}-submenu-expand-icon `]:{opacity:0},[`${Zt}-item-icon, ${St}`]:{margin:0,fontSize:Pn,lineHeight:`${rt}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Zt}-item-icon, ${St}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Zt}-item-icon, ${St}`]:{display:"none"},"a, a:hover":{color:Ft}},[`${Zt}-item-group-title`]:Object.assign(Object.assign({},Mt.vS),{paddingInline:Oe})}}]};const En=Yt=>{const{componentCls:Zt,motionDurationSlow:St,motionDurationMid:rt,motionEaseInOut:Ft,motionEaseOut:Ot,iconCls:ft,iconSize:ct,iconMarginInlineEnd:Ge}=Yt;return{[`${Zt}-item, ${Zt}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${St}`,`background ${St}`,`padding ${St} ${Ft}`].join(","),[`${Zt}-item-icon, ${ft}`]:{minWidth:ct,fontSize:ct,transition:[`font-size ${rt} ${Ot}`,`margin ${St} ${Ft}`,`color ${St}`].join(","),"+ span":{marginInlineStart:Ge,opacity:1,transition:[`opacity ${St} ${Ft}`,`margin ${St}`,`color ${St}`].join(",")}},[`${Zt}-item-icon`]:Object.assign({},(0,Mt.Ro)()),[`&${Zt}-item-only-child`]:{[`> ${ft}, > ${Zt}-item-icon`]:{marginInlineEnd:0}}},[`${Zt}-item-disabled, ${Zt}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Zt}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ei=Yt=>{const{componentCls:Zt,motionDurationSlow:St,motionEaseInOut:rt,borderRadius:Ft,menuArrowSize:Ot,menuArrowOffset:ft}=Yt;return{[`${Zt}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Yt.margin,width:Ot,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${St} ${rt}, opacity ${St}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ot*.6,height:Ot*.15,backgroundColor:"currentcolor",borderRadius:Ft,transition:[`background ${St} ${rt}`,`transform ${St} ${rt}`,`top ${St} ${rt}`,`color ${St} ${rt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${ft})`},"&::after":{transform:`rotate(-45deg) translateY(${ft})`}}}}},An=Yt=>{const{antCls:Zt,componentCls:St,fontSize:rt,motionDurationSlow:Ft,motionDurationMid:Ot,motionEaseInOut:ft,paddingXS:ct,padding:Ge,colorSplit:Ae,lineWidth:xe,zIndexPopup:je,borderRadiusLG:Qe,subMenuItemBorderRadius:Oe,menuArrowSize:xt,menuArrowOffset:hn,lineType:Pn,menuPanelMaskInset:wt,groupTitleLineHeight:nn,groupTitleFontSize:Mn}=Yt;return[{"":{[`${St}`]:Object.assign(Object.assign({},(0,Mt.dF)()),{"&-hidden":{display:"none"}})},[`${St}-submenu-hidden`]:{display:"none"}},{[St]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Mt.Wf)(Yt)),(0,Mt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:rt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ft} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${St}-item`]:{flex:"none"}},[`${St}-item, ${St}-submenu, ${St}-submenu-title`]:{borderRadius:Yt.itemBorderRadius},[`${St}-item-group-title`]:{padding:`${ct}px ${Ge}px`,fontSize:Mn,lineHeight:nn,transition:`all ${Ft}`},[`&-horizontal ${St}-submenu`]:{transition:[`border-color ${Ft} ${ft}`,`background ${Ft} ${ft}`].join(",")},[`${St}-submenu, ${St}-submenu-inline`]:{transition:[`border-color ${Ft} ${ft}`,`background ${Ft} ${ft}`,`padding ${Ot} ${ft}`].join(",")},[`${St}-submenu ${St}-sub`]:{cursor:"initial",transition:[`background ${Ft} ${ft}`,`padding ${Ft} ${ft}`].join(",")},[`${St}-title-content`]:{transition:`color ${Ft}`},[`${St}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${St}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ae,borderStyle:Pn,borderWidth:0,borderTopWidth:xe,marginBlock:xe,padding:0,"&-dashed":{borderStyle:"dashed"}}}),En(Yt)),{[`${St}-item-group`]:{[`${St}-item-group-list`]:{margin:0,padding:0,[`${St}-item, ${St}-submenu-title`]:{paddingInline:`${rt*2}px ${Ge}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:je,borderRadius:Qe,boxShadow:"none",transformOrigin:"0 0",[`&${St}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${wt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:wt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Yt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Yt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Yt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Yt.paddingXS},[`> ${St}`]:Object.assign(Object.assign(Object.assign({borderRadius:Qe},En(Yt)),ei(Yt)),{[`${St}-item, ${St}-submenu > ${St}-submenu-title`]:{borderRadius:Oe},[`${St}-submenu-title::after`]:{transition:`transform ${Ft} ${ft}`}})}}),ei(Yt)),{[`&-inline-collapsed ${St}-submenu-arrow, - &-inline ${St}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${hn})`},"&::after":{transform:`rotate(45deg) translateX(-${hn})`}},[`${St}-submenu-open${St}-submenu-inline > ${St}-submenu-title > ${St}-submenu-arrow`]:{transform:`translateY(-${xt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${hn})`},"&::before":{transform:`rotate(45deg) translateX(${hn})`}}})},{[`${Zt}-layout-header`]:{[St]:{lineHeight:"inherit"}}}]};var Kn=(Yt,Zt)=>(0,dn.Z)("Menu",rt=>{if(Zt===!1)return[];const{colorBgElevated:Ft,colorPrimary:Ot,colorTextLightSolid:ft,controlHeightLG:ct,fontSize:Ge,darkItemColor:Ae,darkDangerItemColor:xe,darkItemBg:je,darkSubMenuItemBg:Qe,darkItemSelectedColor:Oe,darkItemSelectedBg:xt,darkDangerItemSelectedBg:hn,darkItemHoverBg:Pn,darkGroupTitleColor:wt,darkItemHoverColor:nn,darkItemDisabledColor:Mn,darkDangerItemHoverColor:Zn,darkDangerItemSelectedColor:li,darkDangerItemActiveBg:xi}=rt,Mi=Ge/7*5,Si=(0,zt.TS)(rt,{menuArrowSize:Mi,menuHorizontalHeight:ct*1.15,menuArrowOffset:`${Mi*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ft}),Ri=(0,zt.TS)(Si,{itemColor:Ae,itemHoverColor:nn,groupTitleColor:wt,itemSelectedColor:Oe,itemBg:je,popupBg:je,subMenuItemBg:Qe,itemActiveBg:"transparent",itemSelectedBg:xt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Pn,itemDisabledColor:Mn,dangerItemColor:xe,dangerItemHoverColor:Zn,dangerItemSelectedColor:li,dangerItemActiveBg:xi,dangerItemSelectedBg:hn,menuSubMenuBg:Qe,horizontalItemSelectedColor:ft,horizontalItemSelectedBg:Ot});return[An(Si),fn(Si),en(Si),Bt(Si,"light"),Bt(Ri,"dark"),it(Si),(0,nt.Z)(Si),(0,$t.oN)(Si,"slide-up"),(0,$t.oN)(Si,"slide-down"),(0,Pt._y)(Si,"zoom-big")]},rt=>{const{colorPrimary:Ft,colorError:Ot,colorTextDisabled:ft,colorErrorBg:ct,colorText:Ge,colorTextDescription:Ae,colorBgContainer:xe,colorFillAlter:je,colorFillContent:Qe,lineWidth:Oe,lineWidthBold:xt,controlItemBgActive:hn,colorBgTextHover:Pn,controlHeightLG:wt,lineHeight:nn,colorBgElevated:Mn,marginXXS:Zn,padding:li,fontSize:xi,controlHeightSM:Mi,fontSizeLG:Si,colorTextLightSolid:Ri,colorErrorHover:lr}=rt,dr=new ut.C(Ri).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:rt.zIndexPopupBase+50,radiusItem:rt.borderRadiusLG,itemBorderRadius:rt.borderRadiusLG,radiusSubMenuItem:rt.borderRadiusSM,subMenuItemBorderRadius:rt.borderRadiusSM,colorItemText:Ge,itemColor:Ge,colorItemTextHover:Ge,itemHoverColor:Ge,colorItemTextHoverHorizontal:Ft,horizontalItemHoverColor:Ft,colorGroupTitle:Ae,groupTitleColor:Ae,colorItemTextSelected:Ft,itemSelectedColor:Ft,colorItemTextSelectedHorizontal:Ft,horizontalItemSelectedColor:Ft,colorItemBg:xe,itemBg:xe,colorItemBgHover:Pn,itemHoverBg:Pn,colorItemBgActive:Qe,itemActiveBg:hn,colorSubItemBg:je,subMenuItemBg:je,colorItemBgSelected:hn,itemSelectedBg:hn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:xt,activeBarHeight:xt,colorActiveBarBorderSize:Oe,activeBarBorderWidth:Oe,colorItemTextDisabled:ft,itemDisabledColor:ft,colorDangerItemText:Ot,dangerItemColor:Ot,colorDangerItemTextHover:Ot,dangerItemHoverColor:Ot,colorDangerItemTextSelected:Ot,dangerItemSelectedColor:Ot,colorDangerItemBgActive:ct,dangerItemActiveBg:ct,colorDangerItemBgSelected:ct,dangerItemSelectedBg:ct,itemMarginInline:rt.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:wt,groupTitleLineHeight:nn,collapsedWidth:wt*2,popupBg:Mn,itemMarginBlock:Zn,itemPaddingInline:li,horizontalLineHeight:`${wt*1.15}px`,iconSize:xi,iconMarginInlineEnd:Mi-xi,collapsedIconSize:Si,groupTitleFontSize:xi,darkItemDisabledColor:new ut.C(Ri).setAlpha(.25).toRgbString(),darkItemColor:dr,darkDangerItemColor:Ot,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Ri,darkItemSelectedBg:Ft,darkDangerItemSelectedBg:Ot,darkItemHoverBg:"transparent",darkGroupTitleColor:dr,darkItemHoverColor:Ri,darkDangerItemHoverColor:lr,darkDangerItemSelectedColor:Ri,darkDangerItemActiveBg:Ot}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Yt),jt=function(Yt,Zt){var St={};for(var rt in Yt)Object.prototype.hasOwnProperty.call(Yt,rt)&&Zt.indexOf(rt)<0&&(St[rt]=Yt[rt]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,rt=Object.getOwnPropertySymbols(Yt);Ft{var St,rt;const Ft=Ce.useContext(Te.Z),Ot=Ft||{},{getPrefixCls:ft,getPopupContainer:ct,direction:Ge,menu:Ae}=Ce.useContext(Ke.E_),xe=ft(),{prefixCls:je,className:Qe,style:Oe,theme:xt="light",expandIcon:hn,_internalDisableMenuItemTitleTooltip:Pn,inlineCollapsed:wt,siderCollapsed:nn,items:Mn,children:Zn,rootClassName:li,mode:xi,selectable:Mi,onClick:Si,overflowedIndicatorPopupClassName:Ri}=Yt,lr=jt(Yt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dr=(0,tt.Z)(lr,["collapsedWidth"]),ur=st(Mn)||Zn;(St=Ot.validator)===null||St===void 0||St.call(Ot,{mode:xi});const Sr=(0,Ne.useEvent)(function(){var Io;Si==null||Si.apply(void 0,arguments),(Io=Ot.onClick)===null||Io===void 0||Io.call(Ot)}),Wr=Ot.mode||xi,Gi=Mi!=null?Mi:Ot.selectable,Zr=Ce.useMemo(()=>nn!==void 0?nn:wt,[wt,nn]),Yi={horizontal:{motionName:`${xe}-slide-up`},inline:(0,ke.Z)(xe),other:{motionName:`${xe}-zoom-big`}},Ue=ft("menu",je||Ot.prefixCls),[no,pr]=Kn(Ue,!Ft),fo=De()(`${Ue}-${xt}`,Ae==null?void 0:Ae.className,Qe);let Fo;if(typeof hn=="function")Fo=hn;else if(hn===null||hn===!1)Fo=null;else if(Ot.expandIcon===null||Ot.expandIcon===!1)Fo=null;else{const Io=hn!=null?hn:Ot.expandIcon;Fo=(0,kt.Tm)(Io,{className:De()(`${Ue}-submenu-expand-icon`,(0,kt.l$)(Io)?(rt=Io.props)===null||rt===void 0?void 0:rt.className:"")})}const Vo=Ce.useMemo(()=>({prefixCls:Ue,inlineCollapsed:Zr||!1,direction:Ge,firstLevel:!0,theme:xt,mode:Wr,disableMenuItemTitleTooltip:Pn}),[Ue,Zr,Ge,Pn,xt]);return no(Ce.createElement(Te.Z.Provider,{value:null},Ce.createElement(ee.Provider,{value:Vo},Ce.createElement(se.ZP,Object.assign({getPopupContainer:ct,overflowedIndicator:Ce.createElement(Se.Z,null),overflowedIndicatorPopupClassName:De()(Ue,`${Ue}-${xt}`,Ri),mode:Wr,selectable:Gi,onClick:Sr},dr,{inlineCollapsed:Zr,style:Object.assign(Object.assign({},Ae==null?void 0:Ae.style),Oe),className:fo,prefixCls:Ue,direction:Ge,defaultMotions:Yi,expandIcon:Fo,ref:Zt,rootClassName:De()(li,pr)}),ur))))});const ii=(0,Ce.forwardRef)((Yt,Zt)=>{const St=(0,Ce.useRef)(null),rt=Ce.useContext(we.D);return(0,Ce.useImperativeHandle)(Zt,()=>({menu:St.current,focus:Ft=>{var Ot;(Ot=St.current)===null||Ot===void 0||Ot.focus(Ft)}})),Ce.createElement(Gn,Object.assign({ref:St},Yt,rt))});ii.Item=ge,ii.SubMenu=me,ii.Divider=Je,ii.ItemGroup=se.BW;var Sn=ii},25700:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ot}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(ct,Ge){return Ce.createElement(De.Z,(0,se.Z)({},ct,{ref:Ge,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee,Je=oe(93343),Ye=oe(16537),tt=oe(53878),ht=oe(92310),kt=oe.n(ht),ze=oe(80962),ee=oe(57259),ne=oe(79545),ge=oe(68550),ue=oe(17928),me=oe(7711),Se=oe(36994),Ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ke=Ne,Te=oe(91735),We=function(ft){(0,ue.Z)(Ge,ft);var ct=(0,me.Z)(Ge);function Ge(){var Ae;(0,ne.Z)(this,Ge);for(var xe=arguments.length,je=new Array(xe),Qe=0;Qe=0||Oe.relatedTarget.className.indexOf("".concat(wt,"-item"))>=0))&&Pn(Ae.getValidValue()))},Ae.go=function(Oe){var xt=Ae.state.goInputText;xt!==""&&(Oe.keyCode===ke.ENTER||Oe.type==="click")&&(Ae.setState({goInputText:""}),Ae.props.quickGo(Ae.getValidValue()))},Ae}return(0,ge.Z)(Ge,[{key:"getPageSizeOptions",value:function(){var xe=this.props,je=xe.pageSize,Qe=xe.pageSizeOptions;return Qe.some(function(Oe){return Oe.toString()===je.toString()})?Qe:Qe.concat([je.toString()]).sort(function(Oe,xt){var hn=Number.isNaN(Number(Oe))?0:Number(Oe),Pn=Number.isNaN(Number(xt))?0:Number(xt);return hn-Pn})}},{key:"render",value:function(){var xe=this,je=this.props,Qe=je.pageSize,Oe=je.locale,xt=je.rootPrefixCls,hn=je.changeSize,Pn=je.quickGo,wt=je.goButton,nn=je.selectComponentClass,Mn=je.buildOptionText,Zn=je.selectPrefixCls,li=je.disabled,xi=this.state.goInputText,Mi="".concat(xt,"-options"),Si=nn,Ri=null,lr=null,dr=null;if(!hn&&!Pn)return null;var ur=this.getPageSizeOptions();if(hn&&Si){var Sr=ur.map(function(Wr,Gi){return Ce.createElement(Si.Option,{key:Gi,value:Wr.toString()},(Mn||xe.buildOptionText)(Wr))});Ri=Ce.createElement(Si,{disabled:li,prefixCls:Zn,showSearch:!1,className:"".concat(Mi,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Qe||ur[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Gi){return Gi.parentNode},"aria-label":Oe.page_size,defaultOpen:!1},Sr)}return Pn&&(wt&&(dr=typeof wt=="boolean"?Ce.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:li,className:"".concat(Mi,"-quick-jumper-button")},Oe.jump_to_confirm):Ce.createElement("span",{onClick:this.go,onKeyUp:this.go},wt)),lr=Ce.createElement("div",{className:"".concat(Mi,"-quick-jumper")},Oe.jump_to,Ce.createElement("input",{disabled:li,type:"text",value:xi,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Oe.page}),Oe.page,dr)),Ce.createElement("li",{className:"".concat(Mi)},Ri,lr)}}]),Ge}(Ce.Component);We.defaultProps={pageSizeOptions:["10","20","50","100"]};var $e=We,st=function(ct){var Ge,Ae=ct.rootPrefixCls,xe=ct.page,je=ct.active,Qe=ct.className,Oe=ct.showTitle,xt=ct.onClick,hn=ct.onKeyPress,Pn=ct.itemRender,wt="".concat(Ae,"-item"),nn=kt()(wt,"".concat(wt,"-").concat(xe),(Ge={},(0,ze.Z)(Ge,"".concat(wt,"-active"),je),(0,ze.Z)(Ge,"".concat(wt,"-disabled"),!xe),(0,ze.Z)(Ge,ct.className,Qe),Ge)),Mn=function(){xt(xe)},Zn=function(Mi){hn(Mi,xt,xe)},li=Pn(xe,"page",Ce.createElement("a",{rel:"nofollow"},xe));return li?Ce.createElement("li",{title:Oe?xe.toString():null,className:nn,onClick:Mn,onKeyPress:Zn,tabIndex:0},li):null},ut=st;function Mt(){}function nt(ft){var ct=Number(ft);return typeof ct=="number"&&!Number.isNaN(ct)&&isFinite(ct)&&Math.floor(ct)===ct}var $t=function(ct,Ge,Ae){return Ae};function Pt(ft,ct,Ge){var Ae=typeof ft=="undefined"?ct.pageSize:ft;return Math.floor((Ge.total-1)/Ae)+1}var dn=function(ft){(0,ue.Z)(Ge,ft);var ct=(0,me.Z)(Ge);function Ge(Ae){var xe;(0,ne.Z)(this,Ge),xe=ct.call(this,Ae),xe.paginationNode=Ce.createRef(),xe.getJumpPrevPage=function(){return Math.max(1,xe.state.current-(xe.props.showLessItems?3:5))},xe.getJumpNextPage=function(){return Math.min(Pt(void 0,xe.state,xe.props),xe.state.current+(xe.props.showLessItems?3:5))},xe.getItemIcon=function(hn,Pn){var wt=xe.props.prefixCls,nn=hn||Ce.createElement("button",{type:"button","aria-label":Pn,className:"".concat(wt,"-item-link")});return typeof hn=="function"&&(nn=Ce.createElement(hn,(0,ee.Z)({},xe.props))),nn},xe.isValid=function(hn){var Pn=xe.props.total;return nt(hn)&&hn!==xe.state.current&&nt(Pn)&&Pn>0},xe.shouldDisplayQuickJumper=function(){var hn=xe.props,Pn=hn.showQuickJumper,wt=hn.total,nn=xe.state.pageSize;return wt<=nn?!1:Pn},xe.handleKeyDown=function(hn){(hn.keyCode===ke.ARROW_UP||hn.keyCode===ke.ARROW_DOWN)&&hn.preventDefault()},xe.handleKeyUp=function(hn){var Pn=xe.getValidValue(hn),wt=xe.state.currentInputValue;Pn!==wt&&xe.setState({currentInputValue:Pn}),hn.keyCode===ke.ENTER?xe.handleChange(Pn):hn.keyCode===ke.ARROW_UP?xe.handleChange(Pn-1):hn.keyCode===ke.ARROW_DOWN&&xe.handleChange(Pn+1)},xe.handleBlur=function(hn){var Pn=xe.getValidValue(hn);xe.handleChange(Pn)},xe.changePageSize=function(hn){var Pn=xe.state.current,wt=Pt(hn,xe.state,xe.props);Pn=Pn>wt?wt:Pn,wt===0&&(Pn=xe.state.current),typeof hn=="number"&&("pageSize"in xe.props||xe.setState({pageSize:hn}),"current"in xe.props||xe.setState({current:Pn,currentInputValue:Pn})),xe.props.onShowSizeChange(Pn,hn),"onChange"in xe.props&&xe.props.onChange&&xe.props.onChange(Pn,hn)},xe.handleChange=function(hn){var Pn=xe.props,wt=Pn.disabled,nn=Pn.onChange,Mn=xe.state,Zn=Mn.pageSize,li=Mn.current,xi=Mn.currentInputValue;if(xe.isValid(hn)&&!wt){var Mi=Pt(void 0,xe.state,xe.props),Si=hn;return hn>Mi?Si=Mi:hn<1&&(Si=1),"current"in xe.props||xe.setState({current:Si}),Si!==xi&&xe.setState({currentInputValue:Si}),nn(Si,Zn),Si}return li},xe.prev=function(){xe.hasPrev()&&xe.handleChange(xe.state.current-1)},xe.next=function(){xe.hasNext()&&xe.handleChange(xe.state.current+1)},xe.jumpPrev=function(){xe.handleChange(xe.getJumpPrevPage())},xe.jumpNext=function(){xe.handleChange(xe.getJumpNextPage())},xe.hasPrev=function(){return xe.state.current>1},xe.hasNext=function(){return xe.state.current2?wt-2:0),Mn=2;Mn=Qe?xt=Qe:xt=Number(je),xt}},{key:"getShowSizeChanger",value:function(){var xe=this.props,je=xe.showSizeChanger,Qe=xe.total,Oe=xe.totalBoundaryShowSizeChanger;return typeof je!="undefined"?je:Qe>Oe}},{key:"render",value:function(){var xe=this.props,je=xe.prefixCls,Qe=xe.className,Oe=xe.style,xt=xe.disabled,hn=xe.hideOnSinglePage,Pn=xe.total,wt=xe.locale,nn=xe.showQuickJumper,Mn=xe.showLessItems,Zn=xe.showTitle,li=xe.showTotal,xi=xe.simple,Mi=xe.itemRender,Si=xe.showPrevNextJumpers,Ri=xe.jumpPrevIcon,lr=xe.jumpNextIcon,dr=xe.selectComponentClass,ur=xe.selectPrefixCls,Sr=xe.pageSizeOptions,Wr=this.state,Gi=Wr.current,Zr=Wr.pageSize,Yi=Wr.currentInputValue;if(hn===!0&&Pn<=Zr)return null;var Ue=Pt(void 0,this.state,this.props),no=[],pr=null,fo=null,Fo=null,Vo=null,Io=null,Oi=nn&&nn.goButton,on=Mn?1:2,ln=Gi-1>0?Gi-1:0,qt=Gi+1Pn?Pn:Gi*Zr]));if(xi){Oi&&(typeof Oi=="boolean"?Io=Ce.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},wt.jump_to_confirm):Io=Ce.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Oi),Io=Ce.createElement("li",{title:Zn?"".concat(wt.jump_to).concat(Gi,"/").concat(Ue):null,className:"".concat(je,"-simple-pager")},Io));var Un=this.renderPrev(ln);return Ce.createElement("ul",(0,se.Z)({className:kt()(je,"".concat(je,"-simple"),(0,ze.Z)({},"".concat(je,"-disabled"),xt),Qe),style:Oe,ref:this.paginationNode},Nt),On,Un?Ce.createElement("li",{title:Zn?wt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:kt()("".concat(je,"-prev"),(0,ze.Z)({},"".concat(je,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Un):null,Ce.createElement("li",{title:Zn?"".concat(Gi,"/").concat(Ue):null,className:"".concat(je,"-simple-pager")},Ce.createElement("input",{type:"text",value:Yi,disabled:xt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ce.createElement("span",{className:"".concat(je,"-slash")},"/"),Ue),Ce.createElement("li",{title:Zn?wt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:kt()("".concat(je,"-next"),(0,ze.Z)({},"".concat(je,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(qt)),Io)}if(Ue<=3+on*2){var Vt={locale:wt,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Zn,itemRender:Mi};Ue||no.push(Ce.createElement(ut,(0,se.Z)({},Vt,{key:"noPager",page:1,className:"".concat(je,"-item-disabled")})));for(var yt=1;yt<=Ue;yt+=1){var In=Gi===yt;no.push(Ce.createElement(ut,(0,se.Z)({},Vt,{key:yt,page:yt,active:In})))}}else{var zn=Mn?wt.prev_3:wt.prev_5,mi=Mn?wt.next_3:wt.next_5,Rn=Mi(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ri,"prev page")),bt=Mi(this.getJumpNextPage(),"jump-next",this.getItemIcon(lr,"next page"));Si&&(pr=Rn?Ce.createElement("li",{title:Zn?zn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:kt()("".concat(je,"-jump-prev"),(0,ze.Z)({},"".concat(je,"-jump-prev-custom-icon"),!!Ri))},Rn):null,fo=bt?Ce.createElement("li",{title:Zn?mi:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:kt()("".concat(je,"-jump-next"),(0,ze.Z)({},"".concat(je,"-jump-next-custom-icon"),!!lr))},bt):null),Vo=Ce.createElement(ut,{locale:wt,last:!0,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ue,page:Ue,active:!1,showTitle:Zn,itemRender:Mi}),Fo=Ce.createElement(ut,{locale:wt,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Zn,itemRender:Mi});var Ut=Math.max(1,Gi-on),Ln=Math.min(Gi+on,Ue);Gi-1<=on&&(Ln=1+on*2),Ue-Gi<=on&&(Ut=Ue-on*2);for(var ni=Ut;ni<=Ln;ni+=1){var _t=Gi===ni;no.push(Ce.createElement(ut,{locale:wt,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ni,page:ni,active:_t,showTitle:Zn,itemRender:Mi}))}Gi-1>=on*2&&Gi!==3&&(no[0]=(0,Ce.cloneElement)(no[0],{className:"".concat(je,"-item-after-jump-prev")}),no.unshift(pr)),Ue-Gi>=on*2&&Gi!==Ue-2&&(no[no.length-1]=(0,Ce.cloneElement)(no[no.length-1],{className:"".concat(je,"-item-before-jump-next")}),no.push(fo)),Ut!==1&&no.unshift(Fo),Ln!==Ue&&no.push(Vo)}var yn=!this.hasPrev()||!Ue,Qt=!this.hasNext()||!Ue,un=this.renderPrev(ln),wn=this.renderNext(qt);return Ce.createElement("ul",(0,se.Z)({className:kt()(je,Qe,(0,ze.Z)({},"".concat(je,"-disabled"),xt)),style:Oe,ref:this.paginationNode},Nt),On,un?Ce.createElement("li",{title:Zn?wt.prev_page:null,onClick:this.prev,tabIndex:yn?null:0,onKeyPress:this.runIfEnterPrev,className:kt()("".concat(je,"-prev"),(0,ze.Z)({},"".concat(je,"-disabled"),yn)),"aria-disabled":yn},un):null,no,wn?Ce.createElement("li",{title:Zn?wt.next_page:null,onClick:this.next,tabIndex:Qt?null:0,onKeyPress:this.runIfEnterNext,className:kt()("".concat(je,"-next"),(0,ze.Z)({},"".concat(je,"-disabled"),Qt)),"aria-disabled":Qt},wn):null,Ce.createElement($e,{disabled:xt,locale:wt,rootPrefixCls:je,selectComponentClass:dr,selectPrefixCls:ur,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Gi,pageSize:Zr,pageSizeOptions:Sr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Oi}))}}],[{key:"getDerivedStateFromProps",value:function(xe,je){var Qe={};if("current"in xe&&(Qe.current=xe.current,xe.current!==je.current&&(Qe.currentInputValue=Qe.current)),"pageSize"in xe&&xe.pageSize!==je.pageSize){var Oe=je.current,xt=Pt(xe.pageSize,je,xe);Oe=Oe>xt?xt:Oe,"current"in xe||(Qe.current=Oe,Qe.currentInputValue=Oe),Qe.pageSize=xe.pageSize}return Qe}}]),Ge}(Ce.Component);dn.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Mt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Mt,locale:Te.Z,style:{},itemRender:$t,totalBoundaryShowSizeChanger:50};var zt=dn,Xt=oe(22075),fn=oe(36355),an=oe(19716),it=oe(8628),Ve=oe(9763),gt=oe(57809);const Bt=ft=>Ce.createElement(gt.default,Object.assign({},ft,{showSearch:!0,size:"small"})),sn=ft=>Ce.createElement(gt.default,Object.assign({},ft,{showSearch:!0,size:"middle"}));Bt.Option=gt.default.Option,sn.Option=gt.default.Option;var It=oe(9937),en=oe(17313),En=oe(83116),ei=oe(37613);const An=ft=>{const{componentCls:ct}=ft;return{[`${ct}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ct}-item-link`]:{color:ft.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ct}-item-link`]:{color:ft.colorTextDisabled,cursor:"not-allowed"}}},[`&${ct}-disabled`]:{cursor:"not-allowed",[`${ct}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ft.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ft.colorBorder,backgroundColor:ft.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ft.itemActiveBgDisabled},a:{color:ft.itemActiveColorDisabled}}},[`${ct}-item-link`]:{color:ft.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ct}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ct}-simple-pager`]:{color:ft.colorTextDisabled},[`${ct}-jump-prev, ${ct}-jump-next`]:{[`${ct}-item-link-icon`]:{opacity:0},[`${ct}-item-ellipsis`]:{opacity:1}}},[`&${ct}-simple`]:{[`${ct}-prev, ${ct}-next`]:{[`&${ct}-disabled ${ct}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Kn=ft=>{const{componentCls:ct}=ft;return{[`&${ct}-mini ${ct}-total-text, &${ct}-mini ${ct}-simple-pager`]:{height:ft.itemSizeSM,lineHeight:`${ft.itemSizeSM}px`},[`&${ct}-mini ${ct}-item`]:{minWidth:ft.itemSizeSM,height:ft.itemSizeSM,margin:0,lineHeight:`${ft.itemSizeSM-2}px`},[`&${ct}-mini:not(${ct}-disabled) ${ct}-item:not(${ct}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:ft.colorBgTextHover},"&:active":{backgroundColor:ft.colorBgTextActive}},[`&${ct}-mini ${ct}-prev, &${ct}-mini ${ct}-next`]:{minWidth:ft.itemSizeSM,height:ft.itemSizeSM,margin:0,lineHeight:`${ft.itemSizeSM}px`},[`&${ct}-mini:not(${ct}-disabled)`]:{[`${ct}-prev, ${ct}-next`]:{[`&:hover ${ct}-item-link`]:{backgroundColor:ft.colorBgTextHover},[`&:active ${ct}-item-link`]:{backgroundColor:ft.colorBgTextActive},[`&${ct}-disabled:hover ${ct}-item-link`]:{backgroundColor:"transparent"}}},[` + &-inline ${St}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${hn})`},"&::after":{transform:`rotate(45deg) translateX(-${hn})`}},[`${St}-submenu-open${St}-submenu-inline > ${St}-submenu-title > ${St}-submenu-arrow`]:{transform:`translateY(-${xt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${hn})`},"&::before":{transform:`rotate(45deg) translateX(${hn})`}}})},{[`${Zt}-layout-header`]:{[St]:{lineHeight:"inherit"}}}]};var Kn=(Yt,Zt)=>(0,dn.Z)("Menu",rt=>{if(Zt===!1)return[];const{colorBgElevated:Ft,colorPrimary:Ot,colorTextLightSolid:ft,controlHeightLG:ct,fontSize:Ge,darkItemColor:Ae,darkDangerItemColor:xe,darkItemBg:je,darkSubMenuItemBg:Qe,darkItemSelectedColor:Oe,darkItemSelectedBg:xt,darkDangerItemSelectedBg:hn,darkItemHoverBg:Pn,darkGroupTitleColor:wt,darkItemHoverColor:nn,darkItemDisabledColor:Mn,darkDangerItemHoverColor:Zn,darkDangerItemSelectedColor:li,darkDangerItemActiveBg:xi}=rt,Mi=Ge/7*5,Si=(0,zt.TS)(rt,{menuArrowSize:Mi,menuHorizontalHeight:ct*1.15,menuArrowOffset:`${Mi*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ft}),Ri=(0,zt.TS)(Si,{itemColor:Ae,itemHoverColor:nn,groupTitleColor:wt,itemSelectedColor:Oe,itemBg:je,popupBg:je,subMenuItemBg:Qe,itemActiveBg:"transparent",itemSelectedBg:xt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Pn,itemDisabledColor:Mn,dangerItemColor:xe,dangerItemHoverColor:Zn,dangerItemSelectedColor:li,dangerItemActiveBg:xi,dangerItemSelectedBg:hn,menuSubMenuBg:Qe,horizontalItemSelectedColor:ft,horizontalItemSelectedBg:Ot});return[An(Si),fn(Si),en(Si),Bt(Si,"light"),Bt(Ri,"dark"),it(Si),(0,nt.Z)(Si),(0,$t.oN)(Si,"slide-up"),(0,$t.oN)(Si,"slide-down"),(0,Pt._y)(Si,"zoom-big")]},rt=>{const{colorPrimary:Ft,colorError:Ot,colorTextDisabled:ft,colorErrorBg:ct,colorText:Ge,colorTextDescription:Ae,colorBgContainer:xe,colorFillAlter:je,colorFillContent:Qe,lineWidth:Oe,lineWidthBold:xt,controlItemBgActive:hn,colorBgTextHover:Pn,controlHeightLG:wt,lineHeight:nn,colorBgElevated:Mn,marginXXS:Zn,padding:li,fontSize:xi,controlHeightSM:Mi,fontSizeLG:Si,colorTextLightSolid:Ri,colorErrorHover:lr}=rt,dr=new ut.C(Ri).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:rt.zIndexPopupBase+50,radiusItem:rt.borderRadiusLG,itemBorderRadius:rt.borderRadiusLG,radiusSubMenuItem:rt.borderRadiusSM,subMenuItemBorderRadius:rt.borderRadiusSM,colorItemText:Ge,itemColor:Ge,colorItemTextHover:Ge,itemHoverColor:Ge,colorItemTextHoverHorizontal:Ft,horizontalItemHoverColor:Ft,colorGroupTitle:Ae,groupTitleColor:Ae,colorItemTextSelected:Ft,itemSelectedColor:Ft,colorItemTextSelectedHorizontal:Ft,horizontalItemSelectedColor:Ft,colorItemBg:xe,itemBg:xe,colorItemBgHover:Pn,itemHoverBg:Pn,colorItemBgActive:Qe,itemActiveBg:hn,colorSubItemBg:je,subMenuItemBg:je,colorItemBgSelected:hn,itemSelectedBg:hn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:xt,activeBarHeight:xt,colorActiveBarBorderSize:Oe,activeBarBorderWidth:Oe,colorItemTextDisabled:ft,itemDisabledColor:ft,colorDangerItemText:Ot,dangerItemColor:Ot,colorDangerItemTextHover:Ot,dangerItemHoverColor:Ot,colorDangerItemTextSelected:Ot,dangerItemSelectedColor:Ot,colorDangerItemBgActive:ct,dangerItemActiveBg:ct,colorDangerItemBgSelected:ct,dangerItemSelectedBg:ct,itemMarginInline:rt.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:wt,groupTitleLineHeight:nn,collapsedWidth:wt*2,popupBg:Mn,itemMarginBlock:Zn,itemPaddingInline:li,horizontalLineHeight:`${wt*1.15}px`,iconSize:xi,iconMarginInlineEnd:Mi-xi,collapsedIconSize:Si,groupTitleFontSize:xi,darkItemDisabledColor:new ut.C(Ri).setAlpha(.25).toRgbString(),darkItemColor:dr,darkDangerItemColor:Ot,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Ri,darkItemSelectedBg:Ft,darkDangerItemSelectedBg:Ot,darkItemHoverBg:"transparent",darkGroupTitleColor:dr,darkItemHoverColor:Ri,darkDangerItemHoverColor:lr,darkDangerItemSelectedColor:Ri,darkDangerItemActiveBg:Ot}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Yt),jt=function(Yt,Zt){var St={};for(var rt in Yt)Object.prototype.hasOwnProperty.call(Yt,rt)&&Zt.indexOf(rt)<0&&(St[rt]=Yt[rt]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,rt=Object.getOwnPropertySymbols(Yt);Ft{var St,rt;const Ft=Ce.useContext(Te.Z),Ot=Ft||{},{getPrefixCls:ft,getPopupContainer:ct,direction:Ge,menu:Ae}=Ce.useContext(Ke.E_),xe=ft(),{prefixCls:je,className:Qe,style:Oe,theme:xt="light",expandIcon:hn,_internalDisableMenuItemTitleTooltip:Pn,inlineCollapsed:wt,siderCollapsed:nn,items:Mn,children:Zn,rootClassName:li,mode:xi,selectable:Mi,onClick:Si,overflowedIndicatorPopupClassName:Ri}=Yt,lr=jt(Yt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dr=(0,tt.Z)(lr,["collapsedWidth"]),ur=st(Mn)||Zn;(St=Ot.validator)===null||St===void 0||St.call(Ot,{mode:xi});const Sr=(0,Ne.useEvent)(function(){var Io;Si==null||Si.apply(void 0,arguments),(Io=Ot.onClick)===null||Io===void 0||Io.call(Ot)}),Wr=Ot.mode||xi,Gi=Mi!=null?Mi:Ot.selectable,Zr=Ce.useMemo(()=>nn!==void 0?nn:wt,[wt,nn]),Yi={horizontal:{motionName:`${xe}-slide-up`},inline:(0,ke.Z)(xe),other:{motionName:`${xe}-zoom-big`}},Ue=ft("menu",je||Ot.prefixCls),[no,pr]=Kn(Ue,!Ft),fo=De()(`${Ue}-${xt}`,Ae==null?void 0:Ae.className,Qe);let Fo;if(typeof hn=="function")Fo=hn;else if(hn===null||hn===!1)Fo=null;else if(Ot.expandIcon===null||Ot.expandIcon===!1)Fo=null;else{const Io=hn!=null?hn:Ot.expandIcon;Fo=(0,kt.Tm)(Io,{className:De()(`${Ue}-submenu-expand-icon`,(0,kt.l$)(Io)?(rt=Io.props)===null||rt===void 0?void 0:rt.className:"")})}const Vo=Ce.useMemo(()=>({prefixCls:Ue,inlineCollapsed:Zr||!1,direction:Ge,firstLevel:!0,theme:xt,mode:Wr,disableMenuItemTitleTooltip:Pn}),[Ue,Zr,Ge,Pn,xt]);return no(Ce.createElement(Te.Z.Provider,{value:null},Ce.createElement(ee.Provider,{value:Vo},Ce.createElement(se.ZP,Object.assign({getPopupContainer:ct,overflowedIndicator:Ce.createElement(Se.Z,null),overflowedIndicatorPopupClassName:De()(Ue,`${Ue}-${xt}`,Ri),mode:Wr,selectable:Gi,onClick:Sr},dr,{inlineCollapsed:Zr,style:Object.assign(Object.assign({},Ae==null?void 0:Ae.style),Oe),className:fo,prefixCls:Ue,direction:Ge,defaultMotions:Yi,expandIcon:Fo,ref:Zt,rootClassName:De()(li,pr)}),ur))))});const ii=(0,Ce.forwardRef)((Yt,Zt)=>{const St=(0,Ce.useRef)(null),rt=Ce.useContext(we.D);return(0,Ce.useImperativeHandle)(Zt,()=>({menu:St.current,focus:Ft=>{var Ot;(Ot=St.current)===null||Ot===void 0||Ot.focus(Ft)}})),Ce.createElement(Gn,Object.assign({ref:St},Yt,rt))});ii.Item=ge,ii.SubMenu=me,ii.Divider=Je,ii.ItemGroup=se.BW;var Sn=ii},25700:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ot}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ie=we,De=oe(88853),Ke=function(ct,Ge){return Ce.createElement(De.Z,(0,se.Z)({},ct,{ref:Ge,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee,Je=oe(93343),Ye=oe(16537),tt=oe(53878),ht=oe(92310),kt=oe.n(ht),ze=oe(80962),ee=oe(57259),ne=oe(79545),ge=oe(68550),ue=oe(17928),me=oe(7711),Se=oe(36994),Ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ke=Ne,Te=oe(91735),We=function(ft){(0,ue.Z)(Ge,ft);var ct=(0,me.Z)(Ge);function Ge(){var Ae;(0,ne.Z)(this,Ge);for(var xe=arguments.length,je=new Array(xe),Qe=0;Qe=0||Oe.relatedTarget.className.indexOf("".concat(wt,"-item"))>=0))&&Pn(Ae.getValidValue()))},Ae.go=function(Oe){var xt=Ae.state.goInputText;xt!==""&&(Oe.keyCode===ke.ENTER||Oe.type==="click")&&(Ae.setState({goInputText:""}),Ae.props.quickGo(Ae.getValidValue()))},Ae}return(0,ge.Z)(Ge,[{key:"getPageSizeOptions",value:function(){var xe=this.props,je=xe.pageSize,Qe=xe.pageSizeOptions;return Qe.some(function(Oe){return Oe.toString()===je.toString()})?Qe:Qe.concat([je.toString()]).sort(function(Oe,xt){var hn=Number.isNaN(Number(Oe))?0:Number(Oe),Pn=Number.isNaN(Number(xt))?0:Number(xt);return hn-Pn})}},{key:"render",value:function(){var xe=this,je=this.props,Qe=je.pageSize,Oe=je.locale,xt=je.rootPrefixCls,hn=je.changeSize,Pn=je.quickGo,wt=je.goButton,nn=je.selectComponentClass,Mn=je.buildOptionText,Zn=je.selectPrefixCls,li=je.disabled,xi=this.state.goInputText,Mi="".concat(xt,"-options"),Si=nn,Ri=null,lr=null,dr=null;if(!hn&&!Pn)return null;var ur=this.getPageSizeOptions();if(hn&&Si){var Sr=ur.map(function(Wr,Gi){return Ce.createElement(Si.Option,{key:Gi,value:Wr.toString()},(Mn||xe.buildOptionText)(Wr))});Ri=Ce.createElement(Si,{disabled:li,prefixCls:Zn,showSearch:!1,className:"".concat(Mi,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Qe||ur[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Gi){return Gi.parentNode},"aria-label":Oe.page_size,defaultOpen:!1},Sr)}return Pn&&(wt&&(dr=typeof wt=="boolean"?Ce.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:li,className:"".concat(Mi,"-quick-jumper-button")},Oe.jump_to_confirm):Ce.createElement("span",{onClick:this.go,onKeyUp:this.go},wt)),lr=Ce.createElement("div",{className:"".concat(Mi,"-quick-jumper")},Oe.jump_to,Ce.createElement("input",{disabled:li,type:"text",value:xi,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Oe.page}),Oe.page,dr)),Ce.createElement("li",{className:"".concat(Mi)},Ri,lr)}}]),Ge}(Ce.Component);We.defaultProps={pageSizeOptions:["10","20","50","100"]};var $e=We,st=function(ct){var Ge,Ae=ct.rootPrefixCls,xe=ct.page,je=ct.active,Qe=ct.className,Oe=ct.showTitle,xt=ct.onClick,hn=ct.onKeyPress,Pn=ct.itemRender,wt="".concat(Ae,"-item"),nn=kt()(wt,"".concat(wt,"-").concat(xe),(Ge={},(0,ze.Z)(Ge,"".concat(wt,"-active"),je),(0,ze.Z)(Ge,"".concat(wt,"-disabled"),!xe),(0,ze.Z)(Ge,ct.className,Qe),Ge)),Mn=function(){xt(xe)},Zn=function(Mi){hn(Mi,xt,xe)},li=Pn(xe,"page",Ce.createElement("a",{rel:"nofollow"},xe));return li?Ce.createElement("li",{title:Oe?xe.toString():null,className:nn,onClick:Mn,onKeyPress:Zn,tabIndex:0},li):null},ut=st;function Mt(){}function nt(ft){var ct=Number(ft);return typeof ct=="number"&&!Number.isNaN(ct)&&isFinite(ct)&&Math.floor(ct)===ct}var $t=function(ct,Ge,Ae){return Ae};function Pt(ft,ct,Ge){var Ae=typeof ft=="undefined"?ct.pageSize:ft;return Math.floor((Ge.total-1)/Ae)+1}var dn=function(ft){(0,ue.Z)(Ge,ft);var ct=(0,me.Z)(Ge);function Ge(Ae){var xe;(0,ne.Z)(this,Ge),xe=ct.call(this,Ae),xe.paginationNode=Ce.createRef(),xe.getJumpPrevPage=function(){return Math.max(1,xe.state.current-(xe.props.showLessItems?3:5))},xe.getJumpNextPage=function(){return Math.min(Pt(void 0,xe.state,xe.props),xe.state.current+(xe.props.showLessItems?3:5))},xe.getItemIcon=function(hn,Pn){var wt=xe.props.prefixCls,nn=hn||Ce.createElement("button",{type:"button","aria-label":Pn,className:"".concat(wt,"-item-link")});return typeof hn=="function"&&(nn=Ce.createElement(hn,(0,ee.Z)({},xe.props))),nn},xe.isValid=function(hn){var Pn=xe.props.total;return nt(hn)&&hn!==xe.state.current&&nt(Pn)&&Pn>0},xe.shouldDisplayQuickJumper=function(){var hn=xe.props,Pn=hn.showQuickJumper,wt=hn.total,nn=xe.state.pageSize;return wt<=nn?!1:Pn},xe.handleKeyDown=function(hn){(hn.keyCode===ke.ARROW_UP||hn.keyCode===ke.ARROW_DOWN)&&hn.preventDefault()},xe.handleKeyUp=function(hn){var Pn=xe.getValidValue(hn),wt=xe.state.currentInputValue;Pn!==wt&&xe.setState({currentInputValue:Pn}),hn.keyCode===ke.ENTER?xe.handleChange(Pn):hn.keyCode===ke.ARROW_UP?xe.handleChange(Pn-1):hn.keyCode===ke.ARROW_DOWN&&xe.handleChange(Pn+1)},xe.handleBlur=function(hn){var Pn=xe.getValidValue(hn);xe.handleChange(Pn)},xe.changePageSize=function(hn){var Pn=xe.state.current,wt=Pt(hn,xe.state,xe.props);Pn=Pn>wt?wt:Pn,wt===0&&(Pn=xe.state.current),typeof hn=="number"&&("pageSize"in xe.props||xe.setState({pageSize:hn}),"current"in xe.props||xe.setState({current:Pn,currentInputValue:Pn})),xe.props.onShowSizeChange(Pn,hn),"onChange"in xe.props&&xe.props.onChange&&xe.props.onChange(Pn,hn)},xe.handleChange=function(hn){var Pn=xe.props,wt=Pn.disabled,nn=Pn.onChange,Mn=xe.state,Zn=Mn.pageSize,li=Mn.current,xi=Mn.currentInputValue;if(xe.isValid(hn)&&!wt){var Mi=Pt(void 0,xe.state,xe.props),Si=hn;return hn>Mi?Si=Mi:hn<1&&(Si=1),"current"in xe.props||xe.setState({current:Si}),Si!==xi&&xe.setState({currentInputValue:Si}),nn(Si,Zn),Si}return li},xe.prev=function(){xe.hasPrev()&&xe.handleChange(xe.state.current-1)},xe.next=function(){xe.hasNext()&&xe.handleChange(xe.state.current+1)},xe.jumpPrev=function(){xe.handleChange(xe.getJumpPrevPage())},xe.jumpNext=function(){xe.handleChange(xe.getJumpNextPage())},xe.hasPrev=function(){return xe.state.current>1},xe.hasNext=function(){return xe.state.current2?wt-2:0),Mn=2;Mn=Qe?xt=Qe:xt=Number(je),xt}},{key:"getShowSizeChanger",value:function(){var xe=this.props,je=xe.showSizeChanger,Qe=xe.total,Oe=xe.totalBoundaryShowSizeChanger;return typeof je!="undefined"?je:Qe>Oe}},{key:"render",value:function(){var xe=this.props,je=xe.prefixCls,Qe=xe.className,Oe=xe.style,xt=xe.disabled,hn=xe.hideOnSinglePage,Pn=xe.total,wt=xe.locale,nn=xe.showQuickJumper,Mn=xe.showLessItems,Zn=xe.showTitle,li=xe.showTotal,xi=xe.simple,Mi=xe.itemRender,Si=xe.showPrevNextJumpers,Ri=xe.jumpPrevIcon,lr=xe.jumpNextIcon,dr=xe.selectComponentClass,ur=xe.selectPrefixCls,Sr=xe.pageSizeOptions,Wr=this.state,Gi=Wr.current,Zr=Wr.pageSize,Yi=Wr.currentInputValue;if(hn===!0&&Pn<=Zr)return null;var Ue=Pt(void 0,this.state,this.props),no=[],pr=null,fo=null,Fo=null,Vo=null,Io=null,Oi=nn&&nn.goButton,on=Mn?1:2,ln=Gi-1>0?Gi-1:0,qt=Gi+1Pn?Pn:Gi*Zr]));if(xi){Oi&&(typeof Oi=="boolean"?Io=Ce.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},wt.jump_to_confirm):Io=Ce.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Oi),Io=Ce.createElement("li",{title:Zn?"".concat(wt.jump_to).concat(Gi,"/").concat(Ue):null,className:"".concat(je,"-simple-pager")},Io));var Un=this.renderPrev(ln);return Ce.createElement("ul",(0,se.Z)({className:kt()(je,"".concat(je,"-simple"),(0,ze.Z)({},"".concat(je,"-disabled"),xt),Qe),style:Oe,ref:this.paginationNode},Nt),On,Un?Ce.createElement("li",{title:Zn?wt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:kt()("".concat(je,"-prev"),(0,ze.Z)({},"".concat(je,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Un):null,Ce.createElement("li",{title:Zn?"".concat(Gi,"/").concat(Ue):null,className:"".concat(je,"-simple-pager")},Ce.createElement("input",{type:"text",value:Yi,disabled:xt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ce.createElement("span",{className:"".concat(je,"-slash")},"/"),Ue),Ce.createElement("li",{title:Zn?wt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:kt()("".concat(je,"-next"),(0,ze.Z)({},"".concat(je,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(qt)),Io)}if(Ue<=3+on*2){var Vt={locale:wt,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Zn,itemRender:Mi};Ue||no.push(Ce.createElement(ut,(0,se.Z)({},Vt,{key:"noPager",page:1,className:"".concat(je,"-item-disabled")})));for(var yt=1;yt<=Ue;yt+=1){var In=Gi===yt;no.push(Ce.createElement(ut,(0,se.Z)({},Vt,{key:yt,page:yt,active:In})))}}else{var zn=Mn?wt.prev_3:wt.prev_5,mi=Mn?wt.next_3:wt.next_5,Rn=Mi(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ri,"prev page")),bt=Mi(this.getJumpNextPage(),"jump-next",this.getItemIcon(lr,"next page"));Si&&(pr=Rn?Ce.createElement("li",{title:Zn?zn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:kt()("".concat(je,"-jump-prev"),(0,ze.Z)({},"".concat(je,"-jump-prev-custom-icon"),!!Ri))},Rn):null,fo=bt?Ce.createElement("li",{title:Zn?mi:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:kt()("".concat(je,"-jump-next"),(0,ze.Z)({},"".concat(je,"-jump-next-custom-icon"),!!lr))},bt):null),Vo=Ce.createElement(ut,{locale:wt,last:!0,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ue,page:Ue,active:!1,showTitle:Zn,itemRender:Mi}),Fo=Ce.createElement(ut,{locale:wt,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Zn,itemRender:Mi});var Ut=Math.max(1,Gi-on),Ln=Math.min(Gi+on,Ue);Gi-1<=on&&(Ln=1+on*2),Ue-Gi<=on&&(Ut=Ue-on*2);for(var ni=Ut;ni<=Ln;ni+=1){var Gt=Gi===ni;no.push(Ce.createElement(ut,{locale:wt,rootPrefixCls:je,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ni,page:ni,active:Gt,showTitle:Zn,itemRender:Mi}))}Gi-1>=on*2&&Gi!==3&&(no[0]=(0,Ce.cloneElement)(no[0],{className:"".concat(je,"-item-after-jump-prev")}),no.unshift(pr)),Ue-Gi>=on*2&&Gi!==Ue-2&&(no[no.length-1]=(0,Ce.cloneElement)(no[no.length-1],{className:"".concat(je,"-item-before-jump-next")}),no.push(fo)),Ut!==1&&no.unshift(Fo),Ln!==Ue&&no.push(Vo)}var yn=!this.hasPrev()||!Ue,Qt=!this.hasNext()||!Ue,un=this.renderPrev(ln),wn=this.renderNext(qt);return Ce.createElement("ul",(0,se.Z)({className:kt()(je,Qe,(0,ze.Z)({},"".concat(je,"-disabled"),xt)),style:Oe,ref:this.paginationNode},Nt),On,un?Ce.createElement("li",{title:Zn?wt.prev_page:null,onClick:this.prev,tabIndex:yn?null:0,onKeyPress:this.runIfEnterPrev,className:kt()("".concat(je,"-prev"),(0,ze.Z)({},"".concat(je,"-disabled"),yn)),"aria-disabled":yn},un):null,no,wn?Ce.createElement("li",{title:Zn?wt.next_page:null,onClick:this.next,tabIndex:Qt?null:0,onKeyPress:this.runIfEnterNext,className:kt()("".concat(je,"-next"),(0,ze.Z)({},"".concat(je,"-disabled"),Qt)),"aria-disabled":Qt},wn):null,Ce.createElement($e,{disabled:xt,locale:wt,rootPrefixCls:je,selectComponentClass:dr,selectPrefixCls:ur,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Gi,pageSize:Zr,pageSizeOptions:Sr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Oi}))}}],[{key:"getDerivedStateFromProps",value:function(xe,je){var Qe={};if("current"in xe&&(Qe.current=xe.current,xe.current!==je.current&&(Qe.currentInputValue=Qe.current)),"pageSize"in xe&&xe.pageSize!==je.pageSize){var Oe=je.current,xt=Pt(xe.pageSize,je,xe);Oe=Oe>xt?xt:Oe,"current"in xe||(Qe.current=Oe,Qe.currentInputValue=Oe),Qe.pageSize=xe.pageSize}return Qe}}]),Ge}(Ce.Component);dn.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Mt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Mt,locale:Te.Z,style:{},itemRender:$t,totalBoundaryShowSizeChanger:50};var zt=dn,Xt=oe(22075),fn=oe(36355),an=oe(19716),it=oe(8628),Ve=oe(9763),gt=oe(57809);const Bt=ft=>Ce.createElement(gt.default,Object.assign({},ft,{showSearch:!0,size:"small"})),sn=ft=>Ce.createElement(gt.default,Object.assign({},ft,{showSearch:!0,size:"middle"}));Bt.Option=gt.default.Option,sn.Option=gt.default.Option;var It=oe(9937),en=oe(17313),En=oe(83116),ei=oe(37613);const An=ft=>{const{componentCls:ct}=ft;return{[`${ct}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ct}-item-link`]:{color:ft.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ct}-item-link`]:{color:ft.colorTextDisabled,cursor:"not-allowed"}}},[`&${ct}-disabled`]:{cursor:"not-allowed",[`${ct}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ft.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ft.colorBorder,backgroundColor:ft.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ft.itemActiveBgDisabled},a:{color:ft.itemActiveColorDisabled}}},[`${ct}-item-link`]:{color:ft.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ct}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ct}-simple-pager`]:{color:ft.colorTextDisabled},[`${ct}-jump-prev, ${ct}-jump-next`]:{[`${ct}-item-link-icon`]:{opacity:0},[`${ct}-item-ellipsis`]:{opacity:1}}},[`&${ct}-simple`]:{[`${ct}-prev, ${ct}-next`]:{[`&${ct}-disabled ${ct}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Kn=ft=>{const{componentCls:ct}=ft;return{[`&${ct}-mini ${ct}-total-text, &${ct}-mini ${ct}-simple-pager`]:{height:ft.itemSizeSM,lineHeight:`${ft.itemSizeSM}px`},[`&${ct}-mini ${ct}-item`]:{minWidth:ft.itemSizeSM,height:ft.itemSizeSM,margin:0,lineHeight:`${ft.itemSizeSM-2}px`},[`&${ct}-mini:not(${ct}-disabled) ${ct}-item:not(${ct}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:ft.colorBgTextHover},"&:active":{backgroundColor:ft.colorBgTextActive}},[`&${ct}-mini ${ct}-prev, &${ct}-mini ${ct}-next`]:{minWidth:ft.itemSizeSM,height:ft.itemSizeSM,margin:0,lineHeight:`${ft.itemSizeSM}px`},[`&${ct}-mini:not(${ct}-disabled)`]:{[`${ct}-prev, ${ct}-next`]:{[`&:hover ${ct}-item-link`]:{backgroundColor:ft.colorBgTextHover},[`&:active ${ct}-item-link`]:{backgroundColor:ft.colorBgTextActive},[`&${ct}-disabled:hover ${ct}-item-link`]:{backgroundColor:"transparent"}}},[` &${ct}-mini ${ct}-prev ${ct}-item-link, &${ct}-mini ${ct}-next ${ct}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ft.itemSizeSM,lineHeight:`${ft.itemSizeSM}px`}},[`&${ct}-mini ${ct}-jump-prev, &${ct}-mini ${ct}-jump-next`]:{height:ft.itemSizeSM,marginInlineEnd:0,lineHeight:`${ft.itemSizeSM}px`},[`&${ct}-mini ${ct}-options`]:{marginInlineStart:ft.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ft.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ft.itemSizeSM,lineHeight:`${ft.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,It.x0)(ft)),{width:ft.paginationMiniQuickJumperInputWidth,height:ft.controlHeightSM})}}}},jt=ft=>{const{componentCls:ct}=ft;return{[` @@ -1154,7 +1154,7 @@ ${ct}-jump-prev, ${ct}-jump-next `]:{display:"inline-block",minWidth:ft.itemSize,height:ft.itemSize,color:ft.colorText,fontFamily:ft.fontFamily,lineHeight:`${ft.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ft.borderRadius,cursor:"pointer",transition:`all ${ft.motionDurationMid}`},[`${ct}-prev, ${ct}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:ft.colorText,cursor:"pointer",userSelect:"none"},[`${ct}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ft.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${ft.lineWidth}px ${ft.lineType} transparent`,borderRadius:ft.borderRadius,outline:"none",transition:`all ${ft.motionDurationMid}`},[`&:hover ${ct}-item-link`]:{backgroundColor:ft.colorBgTextHover},[`&:active ${ct}-item-link`]:{backgroundColor:ft.colorBgTextActive},[`&${ct}-disabled:hover`]:{[`${ct}-item-link`]:{backgroundColor:"transparent"}}},[`${ct}-slash`]:{marginInlineEnd:ft.paginationSlashMarginInlineEnd,marginInlineStart:ft.paginationSlashMarginInlineStart},[`${ct}-options`]:{display:"inline-block",marginInlineStart:ft.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ft.controlHeight,marginInlineStart:ft.marginXS,lineHeight:`${ft.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,It.ik)(ft)),{width:ft.controlHeightLG*1.25,height:ft.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ft.marginXS,marginInlineEnd:ft.marginXS})}}}},Gn=ft=>{const{componentCls:ct}=ft;return{[`${ct}-item`]:{display:"inline-block",minWidth:ft.itemSize,height:ft.itemSize,marginInlineEnd:ft.marginXS,fontFamily:ft.fontFamily,lineHeight:`${ft.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${ft.lineWidth}px ${ft.lineType} transparent`,borderRadius:ft.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${ft.paginationItemPaddingInline}px`,color:ft.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ct}-item-active)`]:{"&:hover":{transition:`all ${ft.motionDurationMid}`,backgroundColor:ft.colorBgTextHover},"&:active":{backgroundColor:ft.colorBgTextActive}},"&-active":{fontWeight:ft.fontWeightStrong,backgroundColor:ft.itemActiveBg,borderColor:ft.colorPrimary,a:{color:ft.colorPrimary},"&:hover":{borderColor:ft.colorPrimaryHover},"&:hover a":{color:ft.colorPrimaryHover}}}}},ii=ft=>{const{componentCls:ct}=ft;return{[ct]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,en.Wf)(ft)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ct}-total-text`]:{display:"inline-block",height:ft.itemSize,marginInlineEnd:ft.marginXS,lineHeight:`${ft.itemSize-2}px`,verticalAlign:"middle"}}),Gn(ft)),Nn(ft)),jt(ft)),Kn(ft)),An(ft)),{[`@media only screen and (max-width: ${ft.screenLG}px)`]:{[`${ct}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ft.screenSM}px)`]:{[`${ct}-options`]:{display:"none"}}}),[`&${ft.componentCls}-rtl`]:{direction:"rtl"}}},Sn=ft=>{const{componentCls:ct}=ft;return{[`${ct}${ct}-disabled:not(${ct}-mini)`]:{"&, &:hover":{[`${ct}-item-link`]:{borderColor:ft.colorBorder}},"&:focus-visible":{[`${ct}-item-link`]:{borderColor:ft.colorBorder}},[`${ct}-item, ${ct}-item-link`]:{backgroundColor:ft.colorBgContainerDisabled,borderColor:ft.colorBorder,[`&:hover:not(${ct}-item-active)`]:{backgroundColor:ft.colorBgContainerDisabled,borderColor:ft.colorBorder,a:{color:ft.colorTextDisabled}},[`&${ct}-item-active`]:{backgroundColor:ft.itemActiveBgDisabled}},[`${ct}-prev, ${ct}-next`]:{"&:hover button":{backgroundColor:ft.colorBgContainerDisabled,borderColor:ft.colorBorder,color:ft.colorTextDisabled},[`${ct}-item-link`]:{backgroundColor:ft.colorBgContainerDisabled,borderColor:ft.colorBorder}}},[`${ct}:not(${ct}-mini)`]:{[`${ct}-prev, ${ct}-next`]:{"&:hover button":{borderColor:ft.colorPrimaryHover,backgroundColor:ft.itemBg},[`${ct}-item-link`]:{backgroundColor:ft.itemLinkBg,borderColor:ft.colorBorder},[`&:hover ${ct}-item-link`]:{borderColor:ft.colorPrimary,backgroundColor:ft.itemBg,color:ft.colorPrimary},[`&${ct}-disabled`]:{[`${ct}-item-link`]:{borderColor:ft.colorBorder,color:ft.colorTextDisabled}}},[`${ct}-item`]:{backgroundColor:ft.itemBg,border:`${ft.lineWidth}px ${ft.lineType} ${ft.colorBorder}`,[`&:hover:not(${ct}-item-active)`]:{borderColor:ft.colorPrimary,backgroundColor:ft.itemBg,a:{color:ft.colorPrimary}},"&-active":{borderColor:ft.colorPrimary}}}}},Yt=ft=>{const{componentCls:ct}=ft;return{[`${ct}:not(${ct}-disabled)`]:{[`${ct}-item`]:Object.assign({},(0,en.Qy)(ft)),[`${ct}-jump-prev, ${ct}-jump-next`]:{"&:focus-visible":Object.assign({[`${ct}-item-link-icon`]:{opacity:1},[`${ct}-item-ellipsis`]:{opacity:0}},(0,en.oN)(ft))},[`${ct}-prev, ${ct}-next`]:{[`&:focus-visible ${ct}-item-link`]:Object.assign({},(0,en.oN)(ft))}}}};var Zt=(0,En.Z)("Pagination",ft=>{const ct=(0,ei.TS)(ft,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ft.marginXXS/2,paginationMiniQuickJumperInputWidth:ft.controlHeightLG*1.1,paginationItemPaddingInline:ft.marginXXS*1.5,paginationEllipsisLetterSpacing:ft.marginXXS/2,paginationSlashMarginInlineStart:ft.marginXXS,paginationSlashMarginInlineEnd:ft.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,It.e5)(ft),(0,It.TM)(ft));return[ii(ct),Yt(ct),ft.wireframe&&Sn(ct)]},ft=>({itemBg:ft.colorBgContainer,itemSize:ft.controlHeight,itemSizeSM:ft.controlHeightSM,itemActiveBg:ft.colorBgContainer,itemLinkBg:ft.colorBgContainer,itemActiveColorDisabled:ft.colorTextDisabled,itemActiveBgDisabled:ft.controlItemBgActiveDisabled,itemInputBg:ft.colorBgContainer,miniOptionsSizeChangerTop:0})),St=function(ft,ct){var Ge={};for(var Ae in ft)Object.prototype.hasOwnProperty.call(ft,Ae)&&ct.indexOf(Ae)<0&&(Ge[Ae]=ft[Ae]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,Ae=Object.getOwnPropertySymbols(ft);xe{const{prefixCls:ct,selectPrefixCls:Ge,className:Ae,rootClassName:xe,style:je,size:Qe,locale:Oe,selectComponentClass:xt,responsive:hn,showSizeChanger:Pn}=ft,wt=St(ft,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:nn}=(0,it.Z)(hn),{getPrefixCls:Mn,direction:Zn,pagination:li={}}=Ce.useContext(fn.E_),xi=Mn("pagination",ct),[Mi,Si]=Zt(xi),Ri=Pn!=null?Pn:li.showSizeChanger,lr=Ce.useMemo(()=>{const Ue=Ce.createElement("span",{className:`${xi}-item-ellipsis`},"\u2022\u2022\u2022"),no=Ce.createElement("button",{className:`${xi}-item-link`,type:"button",tabIndex:-1},Zn==="rtl"?Ce.createElement(tt.Z,null):Ce.createElement(Ye.Z,null)),pr=Ce.createElement("button",{className:`${xi}-item-link`,type:"button",tabIndex:-1},Zn==="rtl"?Ce.createElement(Ye.Z,null):Ce.createElement(tt.Z,null)),fo=Ce.createElement("a",{className:`${xi}-item-link`},Ce.createElement("div",{className:`${xi}-item-container`},Zn==="rtl"?Ce.createElement(Je.Z,{className:`${xi}-item-link-icon`}):Ce.createElement(et,{className:`${xi}-item-link-icon`}),Ue)),Fo=Ce.createElement("a",{className:`${xi}-item-link`},Ce.createElement("div",{className:`${xi}-item-container`},Zn==="rtl"?Ce.createElement(et,{className:`${xi}-item-link-icon`}):Ce.createElement(Je.Z,{className:`${xi}-item-link-icon`}),Ue));return{prevIcon:no,nextIcon:pr,jumpPrevIcon:fo,jumpNextIcon:Fo}},[Zn,xi]),[dr]=(0,Ve.Z)("Pagination",Xt.Z),ur=Object.assign(Object.assign({},dr),Oe),Sr=(0,an.Z)(Qe),Wr=Sr==="small"||!!(nn&&!Sr&&hn),Gi=Mn("select",Ge),Zr=kt()({[`${xi}-mini`]:Wr,[`${xi}-rtl`]:Zn==="rtl"},li==null?void 0:li.className,Ae,xe,Si),Yi=Object.assign(Object.assign({},li==null?void 0:li.style),je);return Mi(Ce.createElement(zt,Object.assign({},lr,wt,{style:Yi,prefixCls:xi,selectPrefixCls:Gi,className:Zr,selectComponentClass:xt||(Wr?Bt:sn),locale:ur,showSizeChanger:Ri})))},Ot=Ft},93948:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Pn}});var se=oe(59301),Ce=oe(79999),we=oe(10402),Ie=oe(33130),De=oe(72119),Ke=oe(92310),Ee=oe.n(Ke),et=oe(64002),Je=oe(36355),Ye=oe(5891),tt=oe(57259),ht=oe(19149),kt={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ze=function(){var nn=(0,se.useRef)([]),Mn=(0,se.useRef)(null);return(0,se.useEffect)(function(){var Zn=Date.now(),li=!1;nn.current.forEach(function(xi){if(xi){li=!0;var Mi=xi.style;Mi.transitionDuration=".3s, .3s, .3s, .06s",Mn.current&&Zn-Mn.current<100&&(Mi.transitionDuration="0s, 0s")}}),li&&(Mn.current=Date.now())}),nn.current},ee=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ne=function(nn){var Mn=(0,tt.Z)((0,tt.Z)({},kt),nn),Zn=Mn.className,li=Mn.percent,xi=Mn.prefixCls,Mi=Mn.strokeColor,Si=Mn.strokeLinecap,Ri=Mn.strokeWidth,lr=Mn.style,dr=Mn.trailColor,ur=Mn.trailWidth,Sr=Mn.transition,Wr=(0,ht.Z)(Mn,ee);delete Wr.gapPosition;var Gi=Array.isArray(li)?li:[li],Zr=Array.isArray(Mi)?Mi:[Mi],Yi=ze(),Ue=Ri/2,no=100-Ri/2,pr="M ".concat(Si==="round"?Ue:0,",").concat(Ue,` - L `).concat(Si==="round"?no:100,",").concat(Ue),fo="0 0 100 ".concat(Ri),Fo=0;return se.createElement("svg",(0,Ye.Z)({className:Ee()("".concat(xi,"-line"),Zn),viewBox:fo,preserveAspectRatio:"none",style:lr},Wr),se.createElement("path",{className:"".concat(xi,"-line-trail"),d:pr,strokeLinecap:Si,stroke:dr,strokeWidth:ur||Ri,fillOpacity:"0"}),Gi.map(function(Vo,Io){var Oi=1;switch(Si){case"round":Oi=1-Ri/100;break;case"square":Oi=1-Ri/2/100;break;default:Oi=1;break}var on={strokeDasharray:"".concat(Vo*Oi,"px, 100px"),strokeDashoffset:"-".concat(Fo,"px"),transition:Sr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ln=Zr[Io]||Zr[Zr.length-1];return Fo+=Vo,se.createElement("path",{key:Io,className:"".concat(xi,"-line-path"),d:pr,strokeLinecap:Si,stroke:ln,strokeWidth:Ri,fillOpacity:"0",ref:function(Nt){Yi[Io]=Nt},style:on})}))},ge=ne,ue=oe(80665),me=oe(29043),Se=oe(87746),Ne=0,ke=(0,Se.Z)();function Te(){var wt;return ke?(wt=Ne,Ne+=1):wt="TEST_OR_SSR",wt}var We=function(wt){var nn=se.useState(),Mn=(0,me.Z)(nn,2),Zn=Mn[0],li=Mn[1];return se.useEffect(function(){li("rc_progress_".concat(Te()))},[]),wt||Zn},$e=function(nn){var Mn=nn.bg,Zn=nn.children;return se.createElement("div",{style:{width:"100%",height:"100%",background:Mn}},Zn)};function st(wt,nn){return Object.keys(wt).map(function(Mn){var Zn=parseFloat(Mn),li="".concat(Math.floor(Zn*nn),"%");return"".concat(wt[Mn]," ").concat(li)})}var ut=se.forwardRef(function(wt,nn){var Mn=wt.prefixCls,Zn=wt.color,li=wt.gradientId,xi=wt.radius,Mi=wt.style,Si=wt.ptg,Ri=wt.strokeLinecap,lr=wt.strokeWidth,dr=wt.size,ur=wt.gapDegree,Sr=Zn&&(0,ue.Z)(Zn)==="object",Wr=Sr?"#FFF":void 0,Gi=dr/2,Zr=se.createElement("circle",{className:"".concat(Mn,"-circle-path"),r:xi,cx:Gi,cy:Gi,stroke:Wr,strokeLinecap:Ri,strokeWidth:lr,opacity:Si===0?0:1,style:Mi,ref:nn});if(!Sr)return Zr;var Yi="".concat(li,"-conic"),Ue=ur?"".concat(180+ur/2,"deg"):"0deg",no=st(Zn,(360-ur)/360),pr=st(Zn,1),fo="conic-gradient(from ".concat(Ue,", ").concat(no.join(", "),")"),Fo="linear-gradient(to ".concat(ur?"bottom":"top",", ").concat(pr.join(", "),")");return se.createElement(se.Fragment,null,se.createElement("mask",{id:Yi},Zr),se.createElement("foreignObject",{x:0,y:0,width:dr,height:dr,mask:"url(#".concat(Yi,")")},se.createElement($e,{bg:Fo},se.createElement($e,{bg:fo}))))}),Mt=ut,nt=100,$t=function(nn,Mn,Zn,li,xi,Mi,Si,Ri,lr,dr){var ur=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Sr=Zn/100*360*((360-Mi)/360),Wr=Mi===0?0:{bottom:0,top:180,left:90,right:-90}[Si],Gi=(100-li)/100*Mn;lr==="round"&&li!==100&&(Gi+=dr/2,Gi>=Mn&&(Gi=Mn-.01));var Zr=nt/2;return{stroke:typeof Ri=="string"?Ri:void 0,strokeDasharray:"".concat(Mn,"px ").concat(nn),strokeDashoffset:Gi+ur,transform:"rotate(".concat(xi+Sr+Wr,"deg)"),transformOrigin:"".concat(Zr,"px ").concat(Zr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Pt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function dn(wt){var nn=wt!=null?wt:[];return Array.isArray(nn)?nn:[nn]}var zt=function(nn){var Mn=(0,tt.Z)((0,tt.Z)({},kt),nn),Zn=Mn.id,li=Mn.prefixCls,xi=Mn.steps,Mi=Mn.strokeWidth,Si=Mn.trailWidth,Ri=Mn.gapDegree,lr=Ri===void 0?0:Ri,dr=Mn.gapPosition,ur=Mn.trailColor,Sr=Mn.strokeLinecap,Wr=Mn.style,Gi=Mn.className,Zr=Mn.strokeColor,Yi=Mn.percent,Ue=(0,ht.Z)(Mn,Pt),no=nt/2,pr=We(Zn),fo="".concat(pr,"-gradient"),Fo=no-Mi/2,Vo=Math.PI*2*Fo,Io=lr>0?90+lr/2:-90,Oi=Vo*((360-lr)/360),on=(0,ue.Z)(xi)==="object"?xi:{count:xi,space:2},ln=on.count,qt=on.space,Nt=dn(Yi),On=dn(Zr),Un=On.find(function(bt){return bt&&(0,ue.Z)(bt)==="object"}),Vt=Un&&(0,ue.Z)(Un)==="object",yt=Vt?"butt":Sr,In=$t(Vo,Oi,0,100,Io,lr,dr,ur,yt,Mi),zn=ze(),mi=function(){var Ut=0;return Nt.map(function(Ln,ni){var _t=On[ni]||On[On.length-1],yn=$t(Vo,Oi,Ut,Ln,Io,lr,dr,_t,yt,Mi);return Ut+=Ln,se.createElement(Mt,{key:ni,color:_t,ptg:Ln,radius:Fo,prefixCls:li,gradientId:fo,style:yn,strokeLinecap:yt,strokeWidth:Mi,gapDegree:lr,ref:function(un){zn[ni]=un},size:nt})}).reverse()},Rn=function(){var Ut=Math.round(ln*(Nt[0]/100)),Ln=100/ln,ni=0;return new Array(ln).fill(null).map(function(_t,yn){var Qt=yn<=Ut-1?On[0]:ur,un=Qt&&(0,ue.Z)(Qt)==="object"?"url(#".concat(fo,")"):void 0,wn=$t(Vo,Oi,ni,Ln,Io,lr,dr,Qt,"butt",Mi,qt);return ni+=(Oi-wn.strokeDashoffset+qt)*100/Oi,se.createElement("circle",{key:yn,className:"".concat(li,"-circle-path"),r:Fo,cx:no,cy:no,stroke:un,strokeWidth:Mi,opacity:1,style:wn,ref:function(kn){zn[yn]=kn}})})};return se.createElement("svg",(0,Ye.Z)({className:Ee()("".concat(li,"-circle"),Gi),viewBox:"0 0 ".concat(nt," ").concat(nt),style:Wr,id:Zn,role:"presentation"},Ue),!ln&&se.createElement("circle",{className:"".concat(li,"-circle-trail"),r:Fo,cx:no,cy:no,stroke:ur,strokeLinecap:yt,strokeWidth:Si||Mi,style:In}),ln?Rn():mi())},Xt=zt,fn={Line:ge,Circle:Xt},an=oe(6848),it=oe(93398);function Ve(wt){return!wt||wt<0?0:wt>100?100:wt}function gt(wt){let{success:nn,successPercent:Mn}=wt,Zn=Mn;return nn&&"progress"in nn&&(Zn=nn.progress),nn&&"percent"in nn&&(Zn=nn.percent),Zn}const Bt=wt=>{let{percent:nn,success:Mn,successPercent:Zn}=wt;const li=Ve(gt({success:Mn,successPercent:Zn}));return[li,Ve(Ve(nn)-li)]},sn=wt=>{let{success:nn={},strokeColor:Mn}=wt;const{strokeColor:Zn}=nn;return[Zn||it.presetPrimaryColors.green,Mn||null]},It=(wt,nn,Mn)=>{var Zn,li,xi,Mi;let Si=-1,Ri=-1;if(nn==="step"){const lr=Mn.steps,dr=Mn.strokeWidth;typeof wt=="string"||typeof wt=="undefined"?(Si=wt==="small"?2:14,Ri=dr!=null?dr:8):typeof wt=="number"?[Si,Ri]=[wt,wt]:[Si=14,Ri=8]=wt,Si*=lr}else if(nn==="line"){const lr=Mn==null?void 0:Mn.strokeWidth;typeof wt=="string"||typeof wt=="undefined"?Ri=lr||(wt==="small"?6:8):typeof wt=="number"?[Si,Ri]=[wt,wt]:[Si=-1,Ri=8]=wt}else(nn==="circle"||nn==="dashboard")&&(typeof wt=="string"||typeof wt=="undefined"?[Si,Ri]=wt==="small"?[60,60]:[120,120]:typeof wt=="number"?[Si,Ri]=[wt,wt]:(Si=(li=(Zn=wt[0])!==null&&Zn!==void 0?Zn:wt[1])!==null&&li!==void 0?li:120,Ri=(Mi=(xi=wt[0])!==null&&xi!==void 0?xi:wt[1])!==null&&Mi!==void 0?Mi:120));return[Si,Ri]},en=3,En=wt=>en/wt*100;var An=wt=>{const{prefixCls:nn,trailColor:Mn=null,strokeLinecap:Zn="round",gapPosition:li,gapDegree:xi,width:Mi=120,type:Si,children:Ri,success:lr,size:dr=Mi}=wt,[ur,Sr]=It(dr,"circle");let{strokeWidth:Wr}=wt;Wr===void 0&&(Wr=Math.max(En(ur),6));const Gi={width:ur,height:Sr,fontSize:ur*.15+6},Zr=se.useMemo(()=>{if(xi||xi===0)return xi;if(Si==="dashboard")return 75},[xi,Si]),Yi=li||Si==="dashboard"&&"bottom"||void 0,Ue=Object.prototype.toString.call(wt.strokeColor)==="[object Object]",no=sn({success:lr,strokeColor:wt.strokeColor}),pr=Ee()(`${nn}-inner`,{[`${nn}-circle-gradient`]:Ue}),fo=se.createElement(Xt,{percent:Bt(wt),strokeWidth:Wr,trailWidth:Wr,strokeColor:no,strokeLinecap:Zn,trailColor:Mn,prefixCls:nn,gapDegree:Zr,gapPosition:Yi});return se.createElement("div",{className:pr,style:Gi},ur<=20?se.createElement(an.Z,{title:Ri},se.createElement("span",null,fo)):se.createElement(se.Fragment,null,fo,Ri))},Kn=function(wt,nn){var Mn={};for(var Zn in wt)Object.prototype.hasOwnProperty.call(wt,Zn)&&nn.indexOf(Zn)<0&&(Mn[Zn]=wt[Zn]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var li=0,Zn=Object.getOwnPropertySymbols(wt);li{let nn=[];return Object.keys(wt).forEach(Mn=>{const Zn=parseFloat(Mn.replace(/%/g,""));isNaN(Zn)||nn.push({key:Zn,value:wt[Mn]})}),nn=nn.sort((Mn,Zn)=>Mn.key-Zn.key),nn.map(Mn=>{let{key:Zn,value:li}=Mn;return`${li} ${Zn}%`}).join(", ")},Nn=(wt,nn)=>{const{from:Mn=it.presetPrimaryColors.blue,to:Zn=it.presetPrimaryColors.blue,direction:li=nn==="rtl"?"to left":"to right"}=wt,xi=Kn(wt,["from","to","direction"]);if(Object.keys(xi).length!==0){const Mi=jt(xi);return{backgroundImage:`linear-gradient(${li}, ${Mi})`}}return{backgroundImage:`linear-gradient(${li}, ${Mn}, ${Zn})`}};var ii=wt=>{const{prefixCls:nn,direction:Mn,percent:Zn,size:li,strokeWidth:xi,strokeColor:Mi,strokeLinecap:Si="round",children:Ri,trailColor:lr=null,success:dr}=wt,ur=Mi&&typeof Mi!="string"?Nn(Mi,Mn):{backgroundColor:Mi},Sr=Si==="square"||Si==="butt"?0:void 0,Wr={backgroundColor:lr||void 0,borderRadius:Sr},Gi=li!=null?li:[-1,xi||(li==="small"?6:8)],[Zr,Yi]=It(Gi,"line",{strokeWidth:xi}),Ue=Object.assign({width:`${Ve(Zn)}%`,height:Yi,borderRadius:Sr},ur),no=gt(wt),pr={width:`${Ve(no)}%`,height:Yi,borderRadius:Sr,backgroundColor:dr==null?void 0:dr.strokeColor},fo={width:Zr<0?"100%":Zr,height:Yi};return se.createElement(se.Fragment,null,se.createElement("div",{className:`${nn}-outer`,style:fo},se.createElement("div",{className:`${nn}-inner`,style:Wr},se.createElement("div",{className:`${nn}-bg`,style:Ue}),no!==void 0?se.createElement("div",{className:`${nn}-success-bg`,style:pr}):null)),Ri)},Yt=wt=>{const{size:nn,steps:Mn,percent:Zn=0,strokeWidth:li=8,strokeColor:xi,trailColor:Mi=null,prefixCls:Si,children:Ri}=wt,lr=Math.round(Mn*(Zn/100)),dr=nn==="small"?2:14,ur=nn!=null?nn:[dr,li],[Sr,Wr]=It(ur,"step",{steps:Mn,strokeWidth:li}),Gi=Sr/Mn,Zr=new Array(Mn);for(let Yi=0;Yi{const nn=wt?"100%":"-100%";return new Zt.Keyframes(`antProgress${wt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${nn}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${nn}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ft=wt=>{const{componentCls:nn,iconCls:Mn}=wt;return{[nn]:Object.assign(Object.assign({},(0,St.Wf)(wt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:wt.fontSize,marginInlineEnd:wt.marginXS,marginBottom:wt.marginXS},[`${nn}-outer`]:{display:"inline-block",width:"100%"},[`&${nn}-show-info`]:{[`${nn}-outer`]:{marginInlineEnd:`calc(-2em - ${wt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${wt.paddingXS}px)`}},[`${nn}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:wt.remainingColor,borderRadius:wt.lineBorderRadius},[`${nn}-inner:not(${nn}-circle-gradient)`]:{[`${nn}-circle-path`]:{stroke:wt.defaultColor}},[`${nn}-success-bg, ${nn}-bg`]:{position:"relative",backgroundColor:wt.defaultColor,borderRadius:wt.lineBorderRadius,transition:`all ${wt.motionDurationSlow} ${wt.motionEaseInOutCirc}`},[`${nn}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:wt.colorSuccess},[`${nn}-text`]:{display:"inline-block",width:"2em",marginInlineStart:wt.marginXS,color:wt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Mn]:{fontSize:wt.fontSize}},[`&${nn}-status-active`]:{[`${nn}-bg::before`]:{position:"absolute",inset:0,backgroundColor:wt.colorBgContainer,borderRadius:wt.lineBorderRadius,opacity:0,animationName:Ot(),animationDuration:wt.progressActiveMotionDuration,animationTimingFunction:wt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${nn}-rtl${nn}-status-active`]:{[`${nn}-bg::before`]:{animationName:Ot(!0)}},[`&${nn}-status-exception`]:{[`${nn}-bg`]:{backgroundColor:wt.colorError},[`${nn}-text`]:{color:wt.colorError}},[`&${nn}-status-exception ${nn}-inner:not(${nn}-circle-gradient)`]:{[`${nn}-circle-path`]:{stroke:wt.colorError}},[`&${nn}-status-success`]:{[`${nn}-bg`]:{backgroundColor:wt.colorSuccess},[`${nn}-text`]:{color:wt.colorSuccess}},[`&${nn}-status-success ${nn}-inner:not(${nn}-circle-gradient)`]:{[`${nn}-circle-path`]:{stroke:wt.colorSuccess}}})}},ct=wt=>{const{componentCls:nn,iconCls:Mn}=wt;return{[nn]:{[`${nn}-circle-trail`]:{stroke:wt.remainingColor},[`&${nn}-circle ${nn}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${nn}-circle ${nn}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:wt.circleTextColor,fontSize:wt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Mn]:{fontSize:`${wt.fontSize/wt.fontSizeSM}em`}},[`${nn}-circle&-status-exception`]:{[`${nn}-text`]:{color:wt.colorError}},[`${nn}-circle&-status-success`]:{[`${nn}-text`]:{color:wt.colorSuccess}}},[`${nn}-inline-circle`]:{lineHeight:1,[`${nn}-inner`]:{verticalAlign:"bottom"}}}},Ge=wt=>{const{componentCls:nn}=wt;return{[nn]:{[`${nn}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:wt.progressStepMinWidth,marginInlineEnd:wt.progressStepMarginInlineEnd,backgroundColor:wt.remainingColor,transition:`all ${wt.motionDurationSlow}`,"&-active":{backgroundColor:wt.defaultColor}}}}}},Ae=wt=>{const{componentCls:nn,iconCls:Mn}=wt;return{[nn]:{[`${nn}-small&-line, ${nn}-small&-line ${nn}-text ${Mn}`]:{fontSize:wt.fontSizeSM}}}};var xe=(0,rt.Z)("Progress",wt=>{const nn=wt.marginXXS/2,Mn=(0,Ft.TS)(wt,{progressStepMarginInlineEnd:nn,progressStepMinWidth:nn,progressActiveMotionDuration:"2.4s"});return[ft(Mn),ct(Mn),Ge(Mn),Ae(Mn)]},wt=>({circleTextColor:wt.colorText,defaultColor:wt.colorInfo,remainingColor:wt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),je=function(wt,nn){var Mn={};for(var Zn in wt)Object.prototype.hasOwnProperty.call(wt,Zn)&&nn.indexOf(Zn)<0&&(Mn[Zn]=wt[Zn]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var li=0,Zn=Object.getOwnPropertySymbols(wt);li{const{prefixCls:Mn,className:Zn,rootClassName:li,steps:xi,strokeColor:Mi,percent:Si=0,size:Ri="default",showInfo:lr=!0,type:dr="line",status:ur,format:Sr,style:Wr}=wt,Gi=je(wt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Zr=se.useMemo(()=>{var Nt,On;const Un=gt(wt);return parseInt(Un!==void 0?(Nt=Un!=null?Un:0)===null||Nt===void 0?void 0:Nt.toString():(On=Si!=null?Si:0)===null||On===void 0?void 0:On.toString(),10)},[Si,wt.success,wt.successPercent]),Yi=se.useMemo(()=>!Oe.includes(ur)&&Zr>=100?"success":ur||"normal",[ur,Zr]),{getPrefixCls:Ue,direction:no,progress:pr}=se.useContext(Je.E_),fo=Ue("progress",Mn),[Fo,Vo]=xe(fo),Io=se.useMemo(()=>{if(!lr)return null;const Nt=gt(wt);let On;const Un=Sr||(yt=>`${yt}%`),Vt=dr==="line";return Sr||Yi!=="exception"&&Yi!=="success"?On=Un(Ve(Si),Ve(Nt)):Yi==="exception"?On=Vt?se.createElement(Ie.Z,null):se.createElement(De.Z,null):Yi==="success"&&(On=Vt?se.createElement(Ce.Z,null):se.createElement(we.Z,null)),se.createElement("span",{className:`${fo}-text`,title:typeof On=="string"?On:void 0},On)},[lr,Si,Zr,Yi,dr,fo,Sr]),Oi=Array.isArray(Mi)?Mi[0]:Mi,on=typeof Mi=="string"||Array.isArray(Mi)?Mi:void 0;let ln;dr==="line"?ln=xi?se.createElement(Yt,Object.assign({},wt,{strokeColor:on,prefixCls:fo,steps:xi}),Io):se.createElement(ii,Object.assign({},wt,{strokeColor:Oi,prefixCls:fo,direction:no}),Io):(dr==="circle"||dr==="dashboard")&&(ln=se.createElement(An,Object.assign({},wt,{strokeColor:Oi,prefixCls:fo,progressStatus:Yi}),Io));const qt=Ee()(fo,`${fo}-status-${Yi}`,`${fo}-${dr==="dashboard"&&"circle"||xi&&"steps"||dr}`,{[`${fo}-inline-circle`]:dr==="circle"&&It(Ri,"circle")[0]<=20,[`${fo}-show-info`]:lr,[`${fo}-${Ri}`]:typeof Ri=="string",[`${fo}-rtl`]:no==="rtl"},pr==null?void 0:pr.className,Zn,li,Vo);return Fo(se.createElement("div",Object.assign({ref:nn,style:Object.assign(Object.assign({},pr==null?void 0:pr.style),Wr),className:qt,role:"progressbar","aria-valuenow":Zr},(0,et.Z)(Gi,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ln))}),Pn=hn},39978:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ve}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ie=we,De=oe(88853),Ke=function(Bt,sn){return Ce.createElement(De.Z,(0,se.Z)({},Bt,{ref:sn,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee,Je=oe(92310),Ye=oe.n(Je),tt=oe(80962),ht=oe(29043),kt=oe(19149),ze=oe(35788),ee=oe(85108),ne=oe(36994);function ge(gt,Bt){var sn=gt.disabled,It=gt.prefixCls,en=gt.character,En=gt.characterRender,ei=gt.index,An=gt.count,Kn=gt.value,jt=gt.allowHalf,Nn=gt.focused,Gn=gt.onHover,ii=gt.onClick,Sn=function(ct){Gn(ct,ei)},Yt=function(ct){ii(ct,ei)},Zt=function(ct){ct.keyCode===ee.Z.ENTER&&ii(ct,ei)},St=ei+1,rt=new Set([It]);Kn===0&&ei===0&&Nn?rt.add("".concat(It,"-focused")):jt&&Kn+.5>=St&&Knei?"true":"false","aria-posinset":ei+1,"aria-setsize":An,tabIndex:sn?-1:0},Ce.createElement("div",{className:"".concat(It,"-first")},Ft),Ce.createElement("div",{className:"".concat(It,"-second")},Ft)));return En&&(Ot=En(Ot,gt)),Ot}var ue=Ce.forwardRef(ge);function me(){var gt=Ce.useRef({});function Bt(It){return gt.current[It]}function sn(It){return function(en){gt.current[It]=en}}return[Bt,sn]}function Se(gt){var Bt=gt.pageXOffset,sn="scrollLeft";if(typeof Bt!="number"){var It=gt.document;Bt=It.documentElement[sn],typeof Bt!="number"&&(Bt=It.body[sn])}return Bt}function Ne(gt){var Bt,sn,It=gt.ownerDocument,en=It.body,En=It&&It.documentElement,ei=gt.getBoundingClientRect();return Bt=ei.left,sn=ei.top,Bt-=En.clientLeft||en.clientLeft||0,sn-=En.clientTop||en.clientTop||0,{left:Bt,top:sn}}function ke(gt){var Bt=Ne(gt),sn=gt.ownerDocument,It=sn.defaultView||sn.parentWindow;return Bt.left+=Se(It),Bt.left}var Te=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function We(gt,Bt){var sn,It=gt.prefixCls,en=It===void 0?"rc-rate":It,En=gt.className,ei=gt.defaultValue,An=gt.value,Kn=gt.count,jt=Kn===void 0?5:Kn,Nn=gt.allowHalf,Gn=Nn===void 0?!1:Nn,ii=gt.allowClear,Sn=ii===void 0?!0:ii,Yt=gt.character,Zt=Yt===void 0?"\u2605":Yt,St=gt.characterRender,rt=gt.disabled,Ft=gt.direction,Ot=Ft===void 0?"ltr":Ft,ft=gt.tabIndex,ct=ft===void 0?0:ft,Ge=gt.autoFocus,Ae=gt.onHoverChange,xe=gt.onChange,je=gt.onFocus,Qe=gt.onBlur,Oe=gt.onKeyDown,xt=gt.onMouseLeave,hn=(0,kt.Z)(gt,Te),Pn=me(),wt=(0,ht.Z)(Pn,2),nn=wt[0],Mn=wt[1],Zn=Ce.useRef(null),li=function(){if(!rt){var yt;(yt=Zn.current)===null||yt===void 0||yt.focus()}};Ce.useImperativeHandle(Bt,function(){return{focus:li,blur:function(){if(!rt){var yt;(yt=Zn.current)===null||yt===void 0||yt.blur()}}}});var xi=(0,ze.Z)(ei||0,{value:An}),Mi=(0,ht.Z)(xi,2),Si=Mi[0],Ri=Mi[1],lr=(0,ze.Z)(null),dr=(0,ht.Z)(lr,2),ur=dr[0],Sr=dr[1],Wr=function(yt,In){var zn=Ot==="rtl",mi=yt+1;if(Gn){var Rn=nn(yt),bt=ke(Rn),Ut=Rn.clientWidth;(zn&&In-bt>Ut/2||!zn&&In-bt0&&!zn||In===ee.Z.RIGHT&&mi>0&&zn?(Gn?mi-=.5:mi-=1,Gi(mi),yt.preventDefault()):In===ee.Z.LEFT&&mi{const{componentCls:Bt}=gt;return{[`${Bt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:gt.marginXS},"> div":{transition:`all ${gt.motionDurationMid}, outline 0s`,"&:hover":{transform:gt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${gt.lineWidth}px dashed ${gt.starColor}`,transform:gt.starHoverScale}},"&-first, &-second":{color:gt.starBg,transition:`all ${gt.motionDurationMid}`,userSelect:"none",[gt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Bt}-star-first, &-half ${Bt}-star-second`]:{opacity:1},[`&-half ${Bt}-star-first, &-full ${Bt}-star-second`]:{color:"inherit"}}}},zt=gt=>({[`&-rtl${gt.componentCls}`]:{direction:"rtl"}}),Xt=gt=>{const{componentCls:Bt}=gt;return{[Bt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,nt.Wf)(gt)),{display:"inline-block",margin:0,padding:0,color:gt.starColor,fontSize:gt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Bt} ${Bt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),dn(gt)),{[`+ ${Bt}-text`]:{display:"inline-block",marginInlineStart:gt.marginXS,fontSize:gt.fontSize}}),zt(gt))}};var fn=(0,$t.Z)("Rate",gt=>{const Bt=(0,Pt.TS)(gt,{});return[Xt(Bt)]},gt=>({starColor:gt.yellow6,starSize:gt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:gt.colorFillContent})),an=function(gt,Bt){var sn={};for(var It in gt)Object.prototype.hasOwnProperty.call(gt,It)&&Bt.indexOf(It)<0&&(sn[It]=gt[It]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var en=0,It=Object.getOwnPropertySymbols(gt);en{const{prefixCls:sn,className:It,rootClassName:en,style:En,tooltips:ei,character:An=Ce.createElement(et,null)}=gt,Kn=an(gt,["prefixCls","className","rootClassName","style","tooltips","character"]),jt=(rt,Ft)=>{let{index:Ot}=Ft;return ei?Ce.createElement(Mt.Z,{title:ei[Ot]},rt):rt},{getPrefixCls:Nn,direction:Gn,rate:ii}=Ce.useContext(ut.E_),Sn=Nn("rate",sn),[Yt,Zt]=fn(Sn),St=Object.assign(Object.assign({},ii==null?void 0:ii.style),En);return Yt(Ce.createElement(st,Object.assign({ref:Bt,character:An,characterRender:jt},Kn,{className:Ye()(It,en,Zt,ii==null?void 0:ii.className),style:St,prefixCls:Sn,direction:Gn})))})},57809:function(_e,be,oe){"use strict";var se=oe(92310),Ce=oe.n(se),we=oe(77861),Ie=oe(64002),De=oe(59301),Ke=oe(53487),Ee=oe(62892),et=oe(19080),Je=oe(36355),Ye=oe(1684),tt=oe(93891),ht=oe(19716),kt=oe(32441),ze=oe(33234),ee=oe(14154),ne=oe(58582),ge=oe(84443),ue=oe(66339),me=function(We,$e){var st={};for(var ut in We)Object.prototype.hasOwnProperty.call(We,ut)&&$e.indexOf(ut)<0&&(st[ut]=We[ut]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,ut=Object.getOwnPropertySymbols(We);Mt{var st,{prefixCls:ut,bordered:Mt=!0,className:nt,rootClassName:$t,getPopupContainer:Pt,popupClassName:dn,dropdownClassName:zt,listHeight:Xt=256,placement:fn,listItemHeight:an=24,size:it,disabled:Ve,notFoundContent:gt,status:Bt,builtinPlacements:sn,dropdownMatchSelectWidth:It,popupMatchSelectWidth:en,direction:En,style:ei,allowClear:An}=We,Kn=me(We,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:jt,getPrefixCls:Nn,renderEmpty:Gn,direction:ii,virtual:Sn,popupMatchSelectWidth:Yt,popupOverflow:Zt,select:St}=De.useContext(Je.E_),rt=Nn("select",ut),Ft=Nn(),Ot=En!=null?En:ii,{compactSize:ft,compactItemClassnames:ct}=(0,ze.ri)(rt,Ot),[Ge,Ae]=(0,ee.Z)(rt),xe=De.useMemo(()=>{const{mode:Yi}=Kn;if(Yi!=="combobox")return Yi===Se?"combobox":Yi},[Kn.mode]),je=xe==="multiple"||xe==="tags",Qe=(0,ge.Z)(Kn.suffixIcon,Kn.showArrow),Oe=(st=en!=null?en:It)!==null&&st!==void 0?st:Yt,{status:xt,hasFeedback:hn,isFormItemInput:Pn,feedbackIcon:wt}=De.useContext(kt.aM),nn=(0,et.F)(xt,Bt);let Mn;gt!==void 0?Mn=gt:xe==="combobox"?Mn=null:Mn=(Gn==null?void 0:Gn("Select"))||De.createElement(tt.Z,{componentName:"Select"});const{suffixIcon:Zn,itemIcon:li,removeIcon:xi,clearIcon:Mi}=(0,ue.Z)(Object.assign(Object.assign({},Kn),{multiple:je,hasFeedback:hn,feedbackIcon:wt,showSuffixIcon:Qe,prefixCls:rt,showArrow:Kn.showArrow,componentName:"Select"})),Si=An===!0?{clearIcon:Mi}:An,Ri=(0,Ie.Z)(Kn,["suffixIcon","itemIcon"]),lr=Ce()(dn||zt,{[`${rt}-dropdown-${Ot}`]:Ot==="rtl"},$t,Ae),dr=(0,ht.Z)(Yi=>{var Ue;return(Ue=it!=null?it:ft)!==null&&Ue!==void 0?Ue:Yi}),ur=De.useContext(Ye.Z),Sr=Ve!=null?Ve:ur,Wr=Ce()({[`${rt}-lg`]:dr==="large",[`${rt}-sm`]:dr==="small",[`${rt}-rtl`]:Ot==="rtl",[`${rt}-borderless`]:!Mt,[`${rt}-in-form-item`]:Pn},(0,et.Z)(rt,nn,hn),ct,St==null?void 0:St.className,nt,$t,Ae),Gi=De.useMemo(()=>fn!==void 0?fn:Ot==="rtl"?"bottomRight":"bottomLeft",[fn,Ot]),Zr=(0,ne.Z)(sn,Zt);return Ge(De.createElement(we.ZP,Object.assign({ref:$e,virtual:Sn,showSearch:St==null?void 0:St.showSearch},Ri,{style:Object.assign(Object.assign({},St==null?void 0:St.style),ei),dropdownMatchSelectWidth:Oe,builtinPlacements:Zr,transitionName:(0,Ee.m)(Ft,"slide-up",Kn.transitionName),listHeight:Xt,listItemHeight:an,mode:xe,prefixCls:rt,placement:Gi,direction:Ot,suffixIcon:Zn,menuItemSelectedIcon:li,removeIcon:xi,allowClear:Si,notFoundContent:Mn,className:Wr,getPopupContainer:Pt||jt,dropdownClassName:lr,disabled:Sr})))},ke=De.forwardRef(Ne),Te=(0,Ke.Z)(ke);ke.SECRET_COMBOBOX_MODE_DO_NOT_USE=Se,ke.Option=we.Wx,ke.OptGroup=we.Xo,ke._InternalPanelDoNotUseOrYouWillBeFired=Te,be.default=ke},14154:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ke}});var se=oe(17313),Ce=oe(74207),we=oe(37613),Ie=oe(83116),De=oe(13826),Ke=oe(92899);const Ee=Te=>{const{optionHeight:We,optionFontSize:$e,optionLineHeight:st,optionPadding:ut}=Te;return{position:"relative",display:"block",minHeight:We,padding:ut,color:Te.colorText,fontWeight:"normal",fontSize:$e,lineHeight:st,boxSizing:"border-box"}};var Je=Te=>{const{antCls:We,componentCls:$e}=Te,st=`${$e}-item`,ut=`&${We}-slide-up-enter${We}-slide-up-enter-active`,Mt=`&${We}-slide-up-appear${We}-slide-up-appear-active`,nt=`&${We}-slide-up-leave${We}-slide-up-leave-active`,$t=`${$e}-dropdown-placement-`;return[{[`${$e}-dropdown`]:Object.assign(Object.assign({},(0,se.Wf)(Te)),{position:"absolute",top:-9999,zIndex:Te.zIndexPopup,boxSizing:"border-box",padding:Te.paddingXXS,overflow:"hidden",fontSize:Te.fontSize,fontVariant:"initial",backgroundColor:Te.colorBgElevated,borderRadius:Te.borderRadiusLG,outline:"none",boxShadow:Te.boxShadowSecondary,[` + L `).concat(Si==="round"?no:100,",").concat(Ue),fo="0 0 100 ".concat(Ri),Fo=0;return se.createElement("svg",(0,Ye.Z)({className:Ee()("".concat(xi,"-line"),Zn),viewBox:fo,preserveAspectRatio:"none",style:lr},Wr),se.createElement("path",{className:"".concat(xi,"-line-trail"),d:pr,strokeLinecap:Si,stroke:dr,strokeWidth:ur||Ri,fillOpacity:"0"}),Gi.map(function(Vo,Io){var Oi=1;switch(Si){case"round":Oi=1-Ri/100;break;case"square":Oi=1-Ri/2/100;break;default:Oi=1;break}var on={strokeDasharray:"".concat(Vo*Oi,"px, 100px"),strokeDashoffset:"-".concat(Fo,"px"),transition:Sr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ln=Zr[Io]||Zr[Zr.length-1];return Fo+=Vo,se.createElement("path",{key:Io,className:"".concat(xi,"-line-path"),d:pr,strokeLinecap:Si,stroke:ln,strokeWidth:Ri,fillOpacity:"0",ref:function(Nt){Yi[Io]=Nt},style:on})}))},ge=ne,ue=oe(80665),me=oe(29043),Se=oe(87746),Ne=0,ke=(0,Se.Z)();function Te(){var wt;return ke?(wt=Ne,Ne+=1):wt="TEST_OR_SSR",wt}var We=function(wt){var nn=se.useState(),Mn=(0,me.Z)(nn,2),Zn=Mn[0],li=Mn[1];return se.useEffect(function(){li("rc_progress_".concat(Te()))},[]),wt||Zn},$e=function(nn){var Mn=nn.bg,Zn=nn.children;return se.createElement("div",{style:{width:"100%",height:"100%",background:Mn}},Zn)};function st(wt,nn){return Object.keys(wt).map(function(Mn){var Zn=parseFloat(Mn),li="".concat(Math.floor(Zn*nn),"%");return"".concat(wt[Mn]," ").concat(li)})}var ut=se.forwardRef(function(wt,nn){var Mn=wt.prefixCls,Zn=wt.color,li=wt.gradientId,xi=wt.radius,Mi=wt.style,Si=wt.ptg,Ri=wt.strokeLinecap,lr=wt.strokeWidth,dr=wt.size,ur=wt.gapDegree,Sr=Zn&&(0,ue.Z)(Zn)==="object",Wr=Sr?"#FFF":void 0,Gi=dr/2,Zr=se.createElement("circle",{className:"".concat(Mn,"-circle-path"),r:xi,cx:Gi,cy:Gi,stroke:Wr,strokeLinecap:Ri,strokeWidth:lr,opacity:Si===0?0:1,style:Mi,ref:nn});if(!Sr)return Zr;var Yi="".concat(li,"-conic"),Ue=ur?"".concat(180+ur/2,"deg"):"0deg",no=st(Zn,(360-ur)/360),pr=st(Zn,1),fo="conic-gradient(from ".concat(Ue,", ").concat(no.join(", "),")"),Fo="linear-gradient(to ".concat(ur?"bottom":"top",", ").concat(pr.join(", "),")");return se.createElement(se.Fragment,null,se.createElement("mask",{id:Yi},Zr),se.createElement("foreignObject",{x:0,y:0,width:dr,height:dr,mask:"url(#".concat(Yi,")")},se.createElement($e,{bg:Fo},se.createElement($e,{bg:fo}))))}),Mt=ut,nt=100,$t=function(nn,Mn,Zn,li,xi,Mi,Si,Ri,lr,dr){var ur=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Sr=Zn/100*360*((360-Mi)/360),Wr=Mi===0?0:{bottom:0,top:180,left:90,right:-90}[Si],Gi=(100-li)/100*Mn;lr==="round"&&li!==100&&(Gi+=dr/2,Gi>=Mn&&(Gi=Mn-.01));var Zr=nt/2;return{stroke:typeof Ri=="string"?Ri:void 0,strokeDasharray:"".concat(Mn,"px ").concat(nn),strokeDashoffset:Gi+ur,transform:"rotate(".concat(xi+Sr+Wr,"deg)"),transformOrigin:"".concat(Zr,"px ").concat(Zr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Pt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function dn(wt){var nn=wt!=null?wt:[];return Array.isArray(nn)?nn:[nn]}var zt=function(nn){var Mn=(0,tt.Z)((0,tt.Z)({},kt),nn),Zn=Mn.id,li=Mn.prefixCls,xi=Mn.steps,Mi=Mn.strokeWidth,Si=Mn.trailWidth,Ri=Mn.gapDegree,lr=Ri===void 0?0:Ri,dr=Mn.gapPosition,ur=Mn.trailColor,Sr=Mn.strokeLinecap,Wr=Mn.style,Gi=Mn.className,Zr=Mn.strokeColor,Yi=Mn.percent,Ue=(0,ht.Z)(Mn,Pt),no=nt/2,pr=We(Zn),fo="".concat(pr,"-gradient"),Fo=no-Mi/2,Vo=Math.PI*2*Fo,Io=lr>0?90+lr/2:-90,Oi=Vo*((360-lr)/360),on=(0,ue.Z)(xi)==="object"?xi:{count:xi,space:2},ln=on.count,qt=on.space,Nt=dn(Yi),On=dn(Zr),Un=On.find(function(bt){return bt&&(0,ue.Z)(bt)==="object"}),Vt=Un&&(0,ue.Z)(Un)==="object",yt=Vt?"butt":Sr,In=$t(Vo,Oi,0,100,Io,lr,dr,ur,yt,Mi),zn=ze(),mi=function(){var Ut=0;return Nt.map(function(Ln,ni){var Gt=On[ni]||On[On.length-1],yn=$t(Vo,Oi,Ut,Ln,Io,lr,dr,Gt,yt,Mi);return Ut+=Ln,se.createElement(Mt,{key:ni,color:Gt,ptg:Ln,radius:Fo,prefixCls:li,gradientId:fo,style:yn,strokeLinecap:yt,strokeWidth:Mi,gapDegree:lr,ref:function(un){zn[ni]=un},size:nt})}).reverse()},Rn=function(){var Ut=Math.round(ln*(Nt[0]/100)),Ln=100/ln,ni=0;return new Array(ln).fill(null).map(function(Gt,yn){var Qt=yn<=Ut-1?On[0]:ur,un=Qt&&(0,ue.Z)(Qt)==="object"?"url(#".concat(fo,")"):void 0,wn=$t(Vo,Oi,ni,Ln,Io,lr,dr,Qt,"butt",Mi,qt);return ni+=(Oi-wn.strokeDashoffset+qt)*100/Oi,se.createElement("circle",{key:yn,className:"".concat(li,"-circle-path"),r:Fo,cx:no,cy:no,stroke:un,strokeWidth:Mi,opacity:1,style:wn,ref:function(kn){zn[yn]=kn}})})};return se.createElement("svg",(0,Ye.Z)({className:Ee()("".concat(li,"-circle"),Gi),viewBox:"0 0 ".concat(nt," ").concat(nt),style:Wr,id:Zn,role:"presentation"},Ue),!ln&&se.createElement("circle",{className:"".concat(li,"-circle-trail"),r:Fo,cx:no,cy:no,stroke:ur,strokeLinecap:yt,strokeWidth:Si||Mi,style:In}),ln?Rn():mi())},Xt=zt,fn={Line:ge,Circle:Xt},an=oe(6848),it=oe(93398);function Ve(wt){return!wt||wt<0?0:wt>100?100:wt}function gt(wt){let{success:nn,successPercent:Mn}=wt,Zn=Mn;return nn&&"progress"in nn&&(Zn=nn.progress),nn&&"percent"in nn&&(Zn=nn.percent),Zn}const Bt=wt=>{let{percent:nn,success:Mn,successPercent:Zn}=wt;const li=Ve(gt({success:Mn,successPercent:Zn}));return[li,Ve(Ve(nn)-li)]},sn=wt=>{let{success:nn={},strokeColor:Mn}=wt;const{strokeColor:Zn}=nn;return[Zn||it.presetPrimaryColors.green,Mn||null]},It=(wt,nn,Mn)=>{var Zn,li,xi,Mi;let Si=-1,Ri=-1;if(nn==="step"){const lr=Mn.steps,dr=Mn.strokeWidth;typeof wt=="string"||typeof wt=="undefined"?(Si=wt==="small"?2:14,Ri=dr!=null?dr:8):typeof wt=="number"?[Si,Ri]=[wt,wt]:[Si=14,Ri=8]=wt,Si*=lr}else if(nn==="line"){const lr=Mn==null?void 0:Mn.strokeWidth;typeof wt=="string"||typeof wt=="undefined"?Ri=lr||(wt==="small"?6:8):typeof wt=="number"?[Si,Ri]=[wt,wt]:[Si=-1,Ri=8]=wt}else(nn==="circle"||nn==="dashboard")&&(typeof wt=="string"||typeof wt=="undefined"?[Si,Ri]=wt==="small"?[60,60]:[120,120]:typeof wt=="number"?[Si,Ri]=[wt,wt]:(Si=(li=(Zn=wt[0])!==null&&Zn!==void 0?Zn:wt[1])!==null&&li!==void 0?li:120,Ri=(Mi=(xi=wt[0])!==null&&xi!==void 0?xi:wt[1])!==null&&Mi!==void 0?Mi:120));return[Si,Ri]},en=3,En=wt=>en/wt*100;var An=wt=>{const{prefixCls:nn,trailColor:Mn=null,strokeLinecap:Zn="round",gapPosition:li,gapDegree:xi,width:Mi=120,type:Si,children:Ri,success:lr,size:dr=Mi}=wt,[ur,Sr]=It(dr,"circle");let{strokeWidth:Wr}=wt;Wr===void 0&&(Wr=Math.max(En(ur),6));const Gi={width:ur,height:Sr,fontSize:ur*.15+6},Zr=se.useMemo(()=>{if(xi||xi===0)return xi;if(Si==="dashboard")return 75},[xi,Si]),Yi=li||Si==="dashboard"&&"bottom"||void 0,Ue=Object.prototype.toString.call(wt.strokeColor)==="[object Object]",no=sn({success:lr,strokeColor:wt.strokeColor}),pr=Ee()(`${nn}-inner`,{[`${nn}-circle-gradient`]:Ue}),fo=se.createElement(Xt,{percent:Bt(wt),strokeWidth:Wr,trailWidth:Wr,strokeColor:no,strokeLinecap:Zn,trailColor:Mn,prefixCls:nn,gapDegree:Zr,gapPosition:Yi});return se.createElement("div",{className:pr,style:Gi},ur<=20?se.createElement(an.Z,{title:Ri},se.createElement("span",null,fo)):se.createElement(se.Fragment,null,fo,Ri))},Kn=function(wt,nn){var Mn={};for(var Zn in wt)Object.prototype.hasOwnProperty.call(wt,Zn)&&nn.indexOf(Zn)<0&&(Mn[Zn]=wt[Zn]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var li=0,Zn=Object.getOwnPropertySymbols(wt);li{let nn=[];return Object.keys(wt).forEach(Mn=>{const Zn=parseFloat(Mn.replace(/%/g,""));isNaN(Zn)||nn.push({key:Zn,value:wt[Mn]})}),nn=nn.sort((Mn,Zn)=>Mn.key-Zn.key),nn.map(Mn=>{let{key:Zn,value:li}=Mn;return`${li} ${Zn}%`}).join(", ")},Nn=(wt,nn)=>{const{from:Mn=it.presetPrimaryColors.blue,to:Zn=it.presetPrimaryColors.blue,direction:li=nn==="rtl"?"to left":"to right"}=wt,xi=Kn(wt,["from","to","direction"]);if(Object.keys(xi).length!==0){const Mi=jt(xi);return{backgroundImage:`linear-gradient(${li}, ${Mi})`}}return{backgroundImage:`linear-gradient(${li}, ${Mn}, ${Zn})`}};var ii=wt=>{const{prefixCls:nn,direction:Mn,percent:Zn,size:li,strokeWidth:xi,strokeColor:Mi,strokeLinecap:Si="round",children:Ri,trailColor:lr=null,success:dr}=wt,ur=Mi&&typeof Mi!="string"?Nn(Mi,Mn):{backgroundColor:Mi},Sr=Si==="square"||Si==="butt"?0:void 0,Wr={backgroundColor:lr||void 0,borderRadius:Sr},Gi=li!=null?li:[-1,xi||(li==="small"?6:8)],[Zr,Yi]=It(Gi,"line",{strokeWidth:xi}),Ue=Object.assign({width:`${Ve(Zn)}%`,height:Yi,borderRadius:Sr},ur),no=gt(wt),pr={width:`${Ve(no)}%`,height:Yi,borderRadius:Sr,backgroundColor:dr==null?void 0:dr.strokeColor},fo={width:Zr<0?"100%":Zr,height:Yi};return se.createElement(se.Fragment,null,se.createElement("div",{className:`${nn}-outer`,style:fo},se.createElement("div",{className:`${nn}-inner`,style:Wr},se.createElement("div",{className:`${nn}-bg`,style:Ue}),no!==void 0?se.createElement("div",{className:`${nn}-success-bg`,style:pr}):null)),Ri)},Yt=wt=>{const{size:nn,steps:Mn,percent:Zn=0,strokeWidth:li=8,strokeColor:xi,trailColor:Mi=null,prefixCls:Si,children:Ri}=wt,lr=Math.round(Mn*(Zn/100)),dr=nn==="small"?2:14,ur=nn!=null?nn:[dr,li],[Sr,Wr]=It(ur,"step",{steps:Mn,strokeWidth:li}),Gi=Sr/Mn,Zr=new Array(Mn);for(let Yi=0;Yi{const nn=wt?"100%":"-100%";return new Zt.Keyframes(`antProgress${wt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${nn}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${nn}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ft=wt=>{const{componentCls:nn,iconCls:Mn}=wt;return{[nn]:Object.assign(Object.assign({},(0,St.Wf)(wt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:wt.fontSize,marginInlineEnd:wt.marginXS,marginBottom:wt.marginXS},[`${nn}-outer`]:{display:"inline-block",width:"100%"},[`&${nn}-show-info`]:{[`${nn}-outer`]:{marginInlineEnd:`calc(-2em - ${wt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${wt.paddingXS}px)`}},[`${nn}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:wt.remainingColor,borderRadius:wt.lineBorderRadius},[`${nn}-inner:not(${nn}-circle-gradient)`]:{[`${nn}-circle-path`]:{stroke:wt.defaultColor}},[`${nn}-success-bg, ${nn}-bg`]:{position:"relative",backgroundColor:wt.defaultColor,borderRadius:wt.lineBorderRadius,transition:`all ${wt.motionDurationSlow} ${wt.motionEaseInOutCirc}`},[`${nn}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:wt.colorSuccess},[`${nn}-text`]:{display:"inline-block",width:"2em",marginInlineStart:wt.marginXS,color:wt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Mn]:{fontSize:wt.fontSize}},[`&${nn}-status-active`]:{[`${nn}-bg::before`]:{position:"absolute",inset:0,backgroundColor:wt.colorBgContainer,borderRadius:wt.lineBorderRadius,opacity:0,animationName:Ot(),animationDuration:wt.progressActiveMotionDuration,animationTimingFunction:wt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${nn}-rtl${nn}-status-active`]:{[`${nn}-bg::before`]:{animationName:Ot(!0)}},[`&${nn}-status-exception`]:{[`${nn}-bg`]:{backgroundColor:wt.colorError},[`${nn}-text`]:{color:wt.colorError}},[`&${nn}-status-exception ${nn}-inner:not(${nn}-circle-gradient)`]:{[`${nn}-circle-path`]:{stroke:wt.colorError}},[`&${nn}-status-success`]:{[`${nn}-bg`]:{backgroundColor:wt.colorSuccess},[`${nn}-text`]:{color:wt.colorSuccess}},[`&${nn}-status-success ${nn}-inner:not(${nn}-circle-gradient)`]:{[`${nn}-circle-path`]:{stroke:wt.colorSuccess}}})}},ct=wt=>{const{componentCls:nn,iconCls:Mn}=wt;return{[nn]:{[`${nn}-circle-trail`]:{stroke:wt.remainingColor},[`&${nn}-circle ${nn}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${nn}-circle ${nn}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:wt.circleTextColor,fontSize:wt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Mn]:{fontSize:`${wt.fontSize/wt.fontSizeSM}em`}},[`${nn}-circle&-status-exception`]:{[`${nn}-text`]:{color:wt.colorError}},[`${nn}-circle&-status-success`]:{[`${nn}-text`]:{color:wt.colorSuccess}}},[`${nn}-inline-circle`]:{lineHeight:1,[`${nn}-inner`]:{verticalAlign:"bottom"}}}},Ge=wt=>{const{componentCls:nn}=wt;return{[nn]:{[`${nn}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:wt.progressStepMinWidth,marginInlineEnd:wt.progressStepMarginInlineEnd,backgroundColor:wt.remainingColor,transition:`all ${wt.motionDurationSlow}`,"&-active":{backgroundColor:wt.defaultColor}}}}}},Ae=wt=>{const{componentCls:nn,iconCls:Mn}=wt;return{[nn]:{[`${nn}-small&-line, ${nn}-small&-line ${nn}-text ${Mn}`]:{fontSize:wt.fontSizeSM}}}};var xe=(0,rt.Z)("Progress",wt=>{const nn=wt.marginXXS/2,Mn=(0,Ft.TS)(wt,{progressStepMarginInlineEnd:nn,progressStepMinWidth:nn,progressActiveMotionDuration:"2.4s"});return[ft(Mn),ct(Mn),Ge(Mn),Ae(Mn)]},wt=>({circleTextColor:wt.colorText,defaultColor:wt.colorInfo,remainingColor:wt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),je=function(wt,nn){var Mn={};for(var Zn in wt)Object.prototype.hasOwnProperty.call(wt,Zn)&&nn.indexOf(Zn)<0&&(Mn[Zn]=wt[Zn]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var li=0,Zn=Object.getOwnPropertySymbols(wt);li{const{prefixCls:Mn,className:Zn,rootClassName:li,steps:xi,strokeColor:Mi,percent:Si=0,size:Ri="default",showInfo:lr=!0,type:dr="line",status:ur,format:Sr,style:Wr}=wt,Gi=je(wt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Zr=se.useMemo(()=>{var Nt,On;const Un=gt(wt);return parseInt(Un!==void 0?(Nt=Un!=null?Un:0)===null||Nt===void 0?void 0:Nt.toString():(On=Si!=null?Si:0)===null||On===void 0?void 0:On.toString(),10)},[Si,wt.success,wt.successPercent]),Yi=se.useMemo(()=>!Oe.includes(ur)&&Zr>=100?"success":ur||"normal",[ur,Zr]),{getPrefixCls:Ue,direction:no,progress:pr}=se.useContext(Je.E_),fo=Ue("progress",Mn),[Fo,Vo]=xe(fo),Io=se.useMemo(()=>{if(!lr)return null;const Nt=gt(wt);let On;const Un=Sr||(yt=>`${yt}%`),Vt=dr==="line";return Sr||Yi!=="exception"&&Yi!=="success"?On=Un(Ve(Si),Ve(Nt)):Yi==="exception"?On=Vt?se.createElement(Ie.Z,null):se.createElement(De.Z,null):Yi==="success"&&(On=Vt?se.createElement(Ce.Z,null):se.createElement(we.Z,null)),se.createElement("span",{className:`${fo}-text`,title:typeof On=="string"?On:void 0},On)},[lr,Si,Zr,Yi,dr,fo,Sr]),Oi=Array.isArray(Mi)?Mi[0]:Mi,on=typeof Mi=="string"||Array.isArray(Mi)?Mi:void 0;let ln;dr==="line"?ln=xi?se.createElement(Yt,Object.assign({},wt,{strokeColor:on,prefixCls:fo,steps:xi}),Io):se.createElement(ii,Object.assign({},wt,{strokeColor:Oi,prefixCls:fo,direction:no}),Io):(dr==="circle"||dr==="dashboard")&&(ln=se.createElement(An,Object.assign({},wt,{strokeColor:Oi,prefixCls:fo,progressStatus:Yi}),Io));const qt=Ee()(fo,`${fo}-status-${Yi}`,`${fo}-${dr==="dashboard"&&"circle"||xi&&"steps"||dr}`,{[`${fo}-inline-circle`]:dr==="circle"&&It(Ri,"circle")[0]<=20,[`${fo}-show-info`]:lr,[`${fo}-${Ri}`]:typeof Ri=="string",[`${fo}-rtl`]:no==="rtl"},pr==null?void 0:pr.className,Zn,li,Vo);return Fo(se.createElement("div",Object.assign({ref:nn,style:Object.assign(Object.assign({},pr==null?void 0:pr.style),Wr),className:qt,role:"progressbar","aria-valuenow":Zr},(0,et.Z)(Gi,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ln))}),Pn=hn},39978:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ve}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ie=we,De=oe(88853),Ke=function(Bt,sn){return Ce.createElement(De.Z,(0,se.Z)({},Bt,{ref:sn,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee,Je=oe(92310),Ye=oe.n(Je),tt=oe(80962),ht=oe(29043),kt=oe(19149),ze=oe(35788),ee=oe(85108),ne=oe(36994);function ge(gt,Bt){var sn=gt.disabled,It=gt.prefixCls,en=gt.character,En=gt.characterRender,ei=gt.index,An=gt.count,Kn=gt.value,jt=gt.allowHalf,Nn=gt.focused,Gn=gt.onHover,ii=gt.onClick,Sn=function(ct){Gn(ct,ei)},Yt=function(ct){ii(ct,ei)},Zt=function(ct){ct.keyCode===ee.Z.ENTER&&ii(ct,ei)},St=ei+1,rt=new Set([It]);Kn===0&&ei===0&&Nn?rt.add("".concat(It,"-focused")):jt&&Kn+.5>=St&&Knei?"true":"false","aria-posinset":ei+1,"aria-setsize":An,tabIndex:sn?-1:0},Ce.createElement("div",{className:"".concat(It,"-first")},Ft),Ce.createElement("div",{className:"".concat(It,"-second")},Ft)));return En&&(Ot=En(Ot,gt)),Ot}var ue=Ce.forwardRef(ge);function me(){var gt=Ce.useRef({});function Bt(It){return gt.current[It]}function sn(It){return function(en){gt.current[It]=en}}return[Bt,sn]}function Se(gt){var Bt=gt.pageXOffset,sn="scrollLeft";if(typeof Bt!="number"){var It=gt.document;Bt=It.documentElement[sn],typeof Bt!="number"&&(Bt=It.body[sn])}return Bt}function Ne(gt){var Bt,sn,It=gt.ownerDocument,en=It.body,En=It&&It.documentElement,ei=gt.getBoundingClientRect();return Bt=ei.left,sn=ei.top,Bt-=En.clientLeft||en.clientLeft||0,sn-=En.clientTop||en.clientTop||0,{left:Bt,top:sn}}function ke(gt){var Bt=Ne(gt),sn=gt.ownerDocument,It=sn.defaultView||sn.parentWindow;return Bt.left+=Se(It),Bt.left}var Te=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function We(gt,Bt){var sn,It=gt.prefixCls,en=It===void 0?"rc-rate":It,En=gt.className,ei=gt.defaultValue,An=gt.value,Kn=gt.count,jt=Kn===void 0?5:Kn,Nn=gt.allowHalf,Gn=Nn===void 0?!1:Nn,ii=gt.allowClear,Sn=ii===void 0?!0:ii,Yt=gt.character,Zt=Yt===void 0?"\u2605":Yt,St=gt.characterRender,rt=gt.disabled,Ft=gt.direction,Ot=Ft===void 0?"ltr":Ft,ft=gt.tabIndex,ct=ft===void 0?0:ft,Ge=gt.autoFocus,Ae=gt.onHoverChange,xe=gt.onChange,je=gt.onFocus,Qe=gt.onBlur,Oe=gt.onKeyDown,xt=gt.onMouseLeave,hn=(0,kt.Z)(gt,Te),Pn=me(),wt=(0,ht.Z)(Pn,2),nn=wt[0],Mn=wt[1],Zn=Ce.useRef(null),li=function(){if(!rt){var yt;(yt=Zn.current)===null||yt===void 0||yt.focus()}};Ce.useImperativeHandle(Bt,function(){return{focus:li,blur:function(){if(!rt){var yt;(yt=Zn.current)===null||yt===void 0||yt.blur()}}}});var xi=(0,ze.Z)(ei||0,{value:An}),Mi=(0,ht.Z)(xi,2),Si=Mi[0],Ri=Mi[1],lr=(0,ze.Z)(null),dr=(0,ht.Z)(lr,2),ur=dr[0],Sr=dr[1],Wr=function(yt,In){var zn=Ot==="rtl",mi=yt+1;if(Gn){var Rn=nn(yt),bt=ke(Rn),Ut=Rn.clientWidth;(zn&&In-bt>Ut/2||!zn&&In-bt0&&!zn||In===ee.Z.RIGHT&&mi>0&&zn?(Gn?mi-=.5:mi-=1,Gi(mi),yt.preventDefault()):In===ee.Z.LEFT&&mi{const{componentCls:Bt}=gt;return{[`${Bt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:gt.marginXS},"> div":{transition:`all ${gt.motionDurationMid}, outline 0s`,"&:hover":{transform:gt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${gt.lineWidth}px dashed ${gt.starColor}`,transform:gt.starHoverScale}},"&-first, &-second":{color:gt.starBg,transition:`all ${gt.motionDurationMid}`,userSelect:"none",[gt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Bt}-star-first, &-half ${Bt}-star-second`]:{opacity:1},[`&-half ${Bt}-star-first, &-full ${Bt}-star-second`]:{color:"inherit"}}}},zt=gt=>({[`&-rtl${gt.componentCls}`]:{direction:"rtl"}}),Xt=gt=>{const{componentCls:Bt}=gt;return{[Bt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,nt.Wf)(gt)),{display:"inline-block",margin:0,padding:0,color:gt.starColor,fontSize:gt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Bt} ${Bt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),dn(gt)),{[`+ ${Bt}-text`]:{display:"inline-block",marginInlineStart:gt.marginXS,fontSize:gt.fontSize}}),zt(gt))}};var fn=(0,$t.Z)("Rate",gt=>{const Bt=(0,Pt.TS)(gt,{});return[Xt(Bt)]},gt=>({starColor:gt.yellow6,starSize:gt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:gt.colorFillContent})),an=function(gt,Bt){var sn={};for(var It in gt)Object.prototype.hasOwnProperty.call(gt,It)&&Bt.indexOf(It)<0&&(sn[It]=gt[It]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var en=0,It=Object.getOwnPropertySymbols(gt);en{const{prefixCls:sn,className:It,rootClassName:en,style:En,tooltips:ei,character:An=Ce.createElement(et,null)}=gt,Kn=an(gt,["prefixCls","className","rootClassName","style","tooltips","character"]),jt=(rt,Ft)=>{let{index:Ot}=Ft;return ei?Ce.createElement(Mt.Z,{title:ei[Ot]},rt):rt},{getPrefixCls:Nn,direction:Gn,rate:ii}=Ce.useContext(ut.E_),Sn=Nn("rate",sn),[Yt,Zt]=fn(Sn),St=Object.assign(Object.assign({},ii==null?void 0:ii.style),En);return Yt(Ce.createElement(st,Object.assign({ref:Bt,character:An,characterRender:jt},Kn,{className:Ye()(It,en,Zt,ii==null?void 0:ii.className),style:St,prefixCls:Sn,direction:Gn})))})},57809:function(_e,be,oe){"use strict";var se=oe(92310),Ce=oe.n(se),we=oe(77861),Ie=oe(64002),De=oe(59301),Ke=oe(53487),Ee=oe(62892),et=oe(19080),Je=oe(36355),Ye=oe(1684),tt=oe(93891),ht=oe(19716),kt=oe(32441),ze=oe(33234),ee=oe(14154),ne=oe(58582),ge=oe(84443),ue=oe(66339),me=function(We,$e){var st={};for(var ut in We)Object.prototype.hasOwnProperty.call(We,ut)&&$e.indexOf(ut)<0&&(st[ut]=We[ut]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,ut=Object.getOwnPropertySymbols(We);Mt{var st,{prefixCls:ut,bordered:Mt=!0,className:nt,rootClassName:$t,getPopupContainer:Pt,popupClassName:dn,dropdownClassName:zt,listHeight:Xt=256,placement:fn,listItemHeight:an=24,size:it,disabled:Ve,notFoundContent:gt,status:Bt,builtinPlacements:sn,dropdownMatchSelectWidth:It,popupMatchSelectWidth:en,direction:En,style:ei,allowClear:An}=We,Kn=me(We,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:jt,getPrefixCls:Nn,renderEmpty:Gn,direction:ii,virtual:Sn,popupMatchSelectWidth:Yt,popupOverflow:Zt,select:St}=De.useContext(Je.E_),rt=Nn("select",ut),Ft=Nn(),Ot=En!=null?En:ii,{compactSize:ft,compactItemClassnames:ct}=(0,ze.ri)(rt,Ot),[Ge,Ae]=(0,ee.Z)(rt),xe=De.useMemo(()=>{const{mode:Yi}=Kn;if(Yi!=="combobox")return Yi===Se?"combobox":Yi},[Kn.mode]),je=xe==="multiple"||xe==="tags",Qe=(0,ge.Z)(Kn.suffixIcon,Kn.showArrow),Oe=(st=en!=null?en:It)!==null&&st!==void 0?st:Yt,{status:xt,hasFeedback:hn,isFormItemInput:Pn,feedbackIcon:wt}=De.useContext(kt.aM),nn=(0,et.F)(xt,Bt);let Mn;gt!==void 0?Mn=gt:xe==="combobox"?Mn=null:Mn=(Gn==null?void 0:Gn("Select"))||De.createElement(tt.Z,{componentName:"Select"});const{suffixIcon:Zn,itemIcon:li,removeIcon:xi,clearIcon:Mi}=(0,ue.Z)(Object.assign(Object.assign({},Kn),{multiple:je,hasFeedback:hn,feedbackIcon:wt,showSuffixIcon:Qe,prefixCls:rt,showArrow:Kn.showArrow,componentName:"Select"})),Si=An===!0?{clearIcon:Mi}:An,Ri=(0,Ie.Z)(Kn,["suffixIcon","itemIcon"]),lr=Ce()(dn||zt,{[`${rt}-dropdown-${Ot}`]:Ot==="rtl"},$t,Ae),dr=(0,ht.Z)(Yi=>{var Ue;return(Ue=it!=null?it:ft)!==null&&Ue!==void 0?Ue:Yi}),ur=De.useContext(Ye.Z),Sr=Ve!=null?Ve:ur,Wr=Ce()({[`${rt}-lg`]:dr==="large",[`${rt}-sm`]:dr==="small",[`${rt}-rtl`]:Ot==="rtl",[`${rt}-borderless`]:!Mt,[`${rt}-in-form-item`]:Pn},(0,et.Z)(rt,nn,hn),ct,St==null?void 0:St.className,nt,$t,Ae),Gi=De.useMemo(()=>fn!==void 0?fn:Ot==="rtl"?"bottomRight":"bottomLeft",[fn,Ot]),Zr=(0,ne.Z)(sn,Zt);return Ge(De.createElement(we.ZP,Object.assign({ref:$e,virtual:Sn,showSearch:St==null?void 0:St.showSearch},Ri,{style:Object.assign(Object.assign({},St==null?void 0:St.style),ei),dropdownMatchSelectWidth:Oe,builtinPlacements:Zr,transitionName:(0,Ee.m)(Ft,"slide-up",Kn.transitionName),listHeight:Xt,listItemHeight:an,mode:xe,prefixCls:rt,placement:Gi,direction:Ot,suffixIcon:Zn,menuItemSelectedIcon:li,removeIcon:xi,allowClear:Si,notFoundContent:Mn,className:Wr,getPopupContainer:Pt||jt,dropdownClassName:lr,disabled:Sr})))},ke=De.forwardRef(Ne),Te=(0,Ke.Z)(ke);ke.SECRET_COMBOBOX_MODE_DO_NOT_USE=Se,ke.Option=we.Wx,ke.OptGroup=we.Xo,ke._InternalPanelDoNotUseOrYouWillBeFired=Te,be.default=ke},14154:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ke}});var se=oe(17313),Ce=oe(74207),we=oe(37613),Ie=oe(83116),De=oe(13826),Ke=oe(92899);const Ee=Te=>{const{optionHeight:We,optionFontSize:$e,optionLineHeight:st,optionPadding:ut}=Te;return{position:"relative",display:"block",minHeight:We,padding:ut,color:Te.colorText,fontWeight:"normal",fontSize:$e,lineHeight:st,boxSizing:"border-box"}};var Je=Te=>{const{antCls:We,componentCls:$e}=Te,st=`${$e}-item`,ut=`&${We}-slide-up-enter${We}-slide-up-enter-active`,Mt=`&${We}-slide-up-appear${We}-slide-up-appear-active`,nt=`&${We}-slide-up-leave${We}-slide-up-leave-active`,$t=`${$e}-dropdown-placement-`;return[{[`${$e}-dropdown`]:Object.assign(Object.assign({},(0,se.Wf)(Te)),{position:"absolute",top:-9999,zIndex:Te.zIndexPopup,boxSizing:"border-box",padding:Te.paddingXXS,overflow:"hidden",fontSize:Te.fontSize,fontVariant:"initial",backgroundColor:Te.colorBgElevated,borderRadius:Te.borderRadiusLG,outline:"none",boxShadow:Te.boxShadowSecondary,[` ${ut}${$t}bottomLeft, ${Mt}${$t}bottomLeft `]:{animationName:De.fJ},[` @@ -1184,7 +1184,7 @@ ${ct}, ${Ge}, ${Ae} - `]:Object.assign({},ze(St))}}};var We=(0,Je.Z)("Skeleton",St=>{const{componentCls:rt}=St,Ft=(0,Ye.TS)(St,{skeletonAvatarCls:`${rt}-avatar`,skeletonTitleCls:`${rt}-title`,skeletonParagraphCls:`${rt}-paragraph`,skeletonButtonCls:`${rt}-button`,skeletonInputCls:`${rt}-input`,skeletonImageCls:`${rt}-image`,imageSizeBase:St.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${St.gradientFromColor} 25%, ${St.gradientToColor} 37%, ${St.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Te(Ft)]},St=>{const{colorFillContent:rt,colorFill:Ft}=St,Ot=rt,ft=Ft;return{color:Ot,colorGradientEnd:ft,gradientFromColor:Ot,gradientToColor:ft,titleHeight:St.controlHeight/2,blockRadius:St.borderRadiusSM,paragraphMarginTop:St.marginLG+St.marginXXS,paragraphLiHeight:St.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),st=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,active:ft,shape:ct="circle",size:Ge="default"}=St,{getPrefixCls:Ae}=we.useContext(Ie.E_),xe=Ae("skeleton",rt),[je,Qe]=We(xe),Oe=(0,De.Z)(St,["prefixCls","className"]),xt=Ce()(xe,`${xe}-element`,{[`${xe}-active`]:ft},Ft,Ot,Qe);return je(we.createElement("div",{className:xt},we.createElement(Ee,Object.assign({prefixCls:`${xe}-avatar`,shape:ct,size:Ge},Oe))))},Mt=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,active:ft,block:ct=!1,size:Ge="default"}=St,{getPrefixCls:Ae}=we.useContext(Ie.E_),xe=Ae("skeleton",rt),[je,Qe]=We(xe),Oe=(0,De.Z)(St,["prefixCls"]),xt=Ce()(xe,`${xe}-element`,{[`${xe}-active`]:ft,[`${xe}-block`]:ct},Ft,Ot,Qe);return je(we.createElement("div",{className:xt},we.createElement(Ee,Object.assign({prefixCls:`${xe}-button`,size:Ge},Oe))))};const nt="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Pt=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,style:ft,active:ct}=St,{getPrefixCls:Ge}=we.useContext(Ie.E_),Ae=Ge("skeleton",rt),[xe,je]=We(Ae),Qe=Ce()(Ae,`${Ae}-element`,{[`${Ae}-active`]:ct},Ft,Ot,je);return xe(we.createElement("div",{className:Qe},we.createElement("div",{className:Ce()(`${Ae}-image`,Ft),style:ft},we.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Ae}-image-svg`},we.createElement("path",{d:nt,className:`${Ae}-image-path`})))))},zt=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,active:ft,block:ct,size:Ge="default"}=St,{getPrefixCls:Ae}=we.useContext(Ie.E_),xe=Ae("skeleton",rt),[je,Qe]=We(xe),Oe=(0,De.Z)(St,["prefixCls"]),xt=Ce()(xe,`${xe}-element`,{[`${xe}-active`]:ft,[`${xe}-block`]:ct},Ft,Ot,Qe);return je(we.createElement("div",{className:xt},we.createElement(Ee,Object.assign({prefixCls:`${xe}-input`,size:Ge},Oe))))},Xt=oe(5891),fn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},an=fn,it=oe(88853),Ve=function(rt,Ft){return we.createElement(it.Z,(0,Xt.Z)({},rt,{ref:Ft,icon:an}))},gt=we.forwardRef(Ve),Bt=gt,It=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,style:ft,active:ct,children:Ge}=St,{getPrefixCls:Ae}=we.useContext(Ie.E_),xe=Ae("skeleton",rt),[je,Qe]=We(xe),Oe=Ce()(xe,`${xe}-element`,{[`${xe}-active`]:ct},Qe,Ft,Ot),xt=Ge!=null?Ge:we.createElement(Bt,null);return je(we.createElement("div",{className:Oe},we.createElement("div",{className:Ce()(`${xe}-image`,Ft),style:ft},xt)))},en=oe(26390),ei=St=>{const rt=Ae=>{const{width:xe,rows:je=2}=St;if(Array.isArray(xe))return xe[Ae];if(je-1===Ae)return xe},{prefixCls:Ft,className:Ot,style:ft,rows:ct}=St,Ge=(0,en.Z)(Array(ct)).map((Ae,xe)=>we.createElement("li",{key:xe,style:{width:rt(xe)}}));return we.createElement("ul",{className:Ce()(Ft,Ot),style:ft},Ge)},Kn=St=>{let{prefixCls:rt,className:Ft,width:Ot,style:ft}=St;return we.createElement("h3",{className:Ce()(rt,Ft),style:Object.assign({width:Ot},ft)})};function jt(St){return St&&typeof St=="object"?St:{}}function Nn(St,rt){return St&&!rt?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Gn(St,rt){return!St&&rt?{width:"38%"}:St&&rt?{width:"50%"}:{}}function ii(St,rt){const Ft={};return(!St||!rt)&&(Ft.width="61%"),!St&&rt?Ft.rows=3:Ft.rows=2,Ft}const Sn=St=>{const{prefixCls:rt,loading:Ft,className:Ot,rootClassName:ft,style:ct,children:Ge,avatar:Ae=!1,title:xe=!0,paragraph:je=!0,active:Qe,round:Oe}=St,{getPrefixCls:xt,direction:hn,skeleton:Pn}=we.useContext(Ie.E_),wt=xt("skeleton",rt),[nn,Mn]=We(wt);if(Ft||!("loading"in St)){const Zn=!!Ae,li=!!xe,xi=!!je;let Mi;if(Zn){const lr=Object.assign(Object.assign({prefixCls:`${wt}-avatar`},Nn(li,xi)),jt(Ae));Mi=we.createElement("div",{className:`${wt}-header`},we.createElement(Ee,Object.assign({},lr)))}let Si;if(li||xi){let lr;if(li){const ur=Object.assign(Object.assign({prefixCls:`${wt}-title`},Gn(Zn,xi)),jt(xe));lr=we.createElement(Kn,Object.assign({},ur))}let dr;if(xi){const ur=Object.assign(Object.assign({prefixCls:`${wt}-paragraph`},ii(Zn,li)),jt(je));dr=we.createElement(ei,Object.assign({},ur))}Si=we.createElement("div",{className:`${wt}-content`},lr,dr)}const Ri=Ce()(wt,{[`${wt}-with-avatar`]:Zn,[`${wt}-active`]:Qe,[`${wt}-rtl`]:hn==="rtl",[`${wt}-round`]:Oe},Pn==null?void 0:Pn.className,Ot,ft,Mn);return nn(we.createElement("div",{className:Ri,style:Object.assign(Object.assign({},Pn==null?void 0:Pn.style),ct)},Mi,Si))}return typeof Ge!="undefined"?Ge:null};Sn.Button=Mt,Sn.Avatar=st,Sn.Input=zt,Sn.Image=Pt,Sn.Node=It;var Yt=Sn,Zt=Yt},81327:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ge}});var se=oe(59301),Ce=oe(92310),we=oe.n(Ce),Ie=oe(38298),De=oe(36355),Ke=oe(33234);const Ee=se.createContext({latestIndex:0}),et=Ee.Provider;var Ye=ue=>{let{className:me,index:Se,children:Ne,split:ke,style:Te}=ue;const{latestIndex:We}=se.useContext(Ee);return Ne==null?null:se.createElement(se.Fragment,null,se.createElement("div",{className:me,style:Te},Ne),Se{var Se,Ne;const{getPrefixCls:ke,space:Te,direction:We}=se.useContext(De.E_),{size:$e=(Te==null?void 0:Te.size)||"small",align:st,className:ut,rootClassName:Mt,children:nt,direction:$t="horizontal",prefixCls:Pt,split:dn,style:zt,wrap:Xt=!1,classNames:fn,styles:an}=ue,it=ze(ue,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Ve,gt]=Array.isArray($e)?$e:[$e,$e],Bt=ht(gt),sn=ht(Ve),It=kt(gt),en=kt(Ve),En=(0,Ie.Z)(nt,{keepEmpty:!0}),ei=st===void 0&&$t==="horizontal"?"center":st,An=ke("space",Pt),[Kn,jt]=(0,tt.Z)(An),Nn=we()(An,Te==null?void 0:Te.className,jt,`${An}-${$t}`,{[`${An}-rtl`]:We==="rtl",[`${An}-align-${ei}`]:ei,[`${An}-gap-row-${gt}`]:Bt,[`${An}-gap-col-${Ve}`]:sn},ut,Mt),Gn=we()(`${An}-item`,(Se=fn==null?void 0:fn.item)!==null&&Se!==void 0?Se:(Ne=Te==null?void 0:Te.classNames)===null||Ne===void 0?void 0:Ne.item);let ii=0;const Sn=En.map((St,rt)=>{var Ft,Ot;St!=null&&(ii=rt);const ft=St&&St.key||`${Gn}-${rt}`;return se.createElement(Ye,{className:Gn,key:ft,index:rt,split:dn,style:(Ft=an==null?void 0:an.item)!==null&&Ft!==void 0?Ft:(Ot=Te==null?void 0:Te.styles)===null||Ot===void 0?void 0:Ot.item},St)}),Yt=se.useMemo(()=>({latestIndex:ii}),[ii]);if(En.length===0)return null;const Zt={};return Xt&&(Zt.flexWrap="wrap"),!sn&&en&&(Zt.columnGap=Ve),!Bt&&It&&(Zt.rowGap=gt),Kn(se.createElement("div",Object.assign({ref:me,className:Nn,style:Object.assign(Object.assign(Object.assign({},Zt),Te==null?void 0:Te.style),zt)},it),se.createElement(et,{value:Yt},Sn)))});ne.Compact=Ke.ZP;var ge=ne},31797:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return We}});var se=oe(59301),Ce=oe(56762),we=oe(92343),Ie=oe(92310),De=oe.n(Ie),Ke=oe(36355),Ee=oe(78485),Je=$e=>{const{value:st,formatter:ut,precision:Mt,decimalSeparator:nt,groupSeparator:$t="",prefixCls:Pt}=$e;let dn;if(typeof ut=="function")dn=ut(st);else{const zt=String(st),Xt=zt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Xt||zt==="-")dn=zt;else{const fn=Xt[1];let an=Xt[2]||"0",it=Xt[4]||"";an=an.replace(/\B(?=(\d{3})+(?!\d))/g,$t),typeof Mt=="number"&&(it=it.padEnd(Mt,"0").slice(0,Mt>0?Mt:0)),it&&(it=`${nt}${it}`),dn=[se.createElement("span",{key:"int",className:`${Pt}-content-value-int`},fn,an),it&&se.createElement("span",{key:"decimal",className:`${Pt}-content-value-decimal`},it)]}}return se.createElement("span",{className:`${Pt}-content-value`},dn)},Ye=oe(17313),tt=oe(83116),ht=oe(37613);const kt=$e=>{const{componentCls:st,marginXXS:ut,padding:Mt,colorTextDescription:nt,titleFontSize:$t,colorTextHeading:Pt,contentFontSize:dn,fontFamily:zt}=$e;return{[`${st}`]:Object.assign(Object.assign({},(0,Ye.Wf)($e)),{[`${st}-title`]:{marginBottom:ut,color:nt,fontSize:$t},[`${st}-skeleton`]:{paddingTop:Mt},[`${st}-content`]:{color:Pt,fontSize:dn,fontFamily:zt,[`${st}-content-value`]:{display:"inline-block",direction:"ltr"},[`${st}-content-prefix, ${st}-content-suffix`]:{display:"inline-block"},[`${st}-content-prefix`]:{marginInlineEnd:ut},[`${st}-content-suffix`]:{marginInlineStart:ut}}})}};var ze=(0,tt.Z)("Statistic",$e=>{const st=(0,ht.TS)($e,{});return[kt(st)]},$e=>{const{fontSizeHeading3:st,fontSize:ut}=$e;return{titleFontSize:ut,contentFontSize:st}}),ne=$e=>{const{prefixCls:st,className:ut,rootClassName:Mt,style:nt,valueStyle:$t,value:Pt=0,title:dn,valueRender:zt,prefix:Xt,suffix:fn,loading:an=!1,onMouseEnter:it,onMouseLeave:Ve,decimalSeparator:gt=".",groupSeparator:Bt=","}=$e,{getPrefixCls:sn,direction:It,statistic:en}=se.useContext(Ke.E_),En=sn("statistic",st),[ei,An]=ze(En),Kn=se.createElement(Je,Object.assign({decimalSeparator:gt,groupSeparator:Bt,prefixCls:En},$e,{value:Pt})),jt=De()(En,{[`${En}-rtl`]:It==="rtl"},en==null?void 0:en.className,ut,Mt,An);return ei(se.createElement("div",{className:jt,style:Object.assign(Object.assign({},en==null?void 0:en.style),nt),onMouseEnter:it,onMouseLeave:Ve},dn&&se.createElement("div",{className:`${En}-title`},dn),se.createElement(Ee.Z,{paragraph:!1,loading:an,className:`${En}-skeleton`},se.createElement("div",{style:$t,className:`${En}-content`},Xt&&se.createElement("span",{className:`${En}-content-prefix`},Xt),zt?zt(Kn):Kn,fn&&se.createElement("span",{className:`${En}-content-suffix`},fn)))))};const ge=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function ue($e,st){let ut=$e;const Mt=/\[[^\]]*]/g,nt=(st.match(Mt)||[]).map(zt=>zt.slice(1,-1)),$t=st.replace(Mt,"[]"),Pt=ge.reduce((zt,Xt)=>{let[fn,an]=Xt;if(zt.includes(fn)){const it=Math.floor(ut/an);return ut-=it*an,zt.replace(new RegExp(`${fn}+`,"g"),Ve=>{const gt=Ve.length;return it.toString().padStart(gt,"0")})}return zt},$t);let dn=0;return Pt.replace(Mt,()=>{const zt=nt[dn];return dn+=1,zt})}function me($e,st){const{format:ut=""}=st,Mt=new Date($e).getTime(),nt=Date.now(),$t=Math.max(Mt-nt,0);return ue($t,ut)}const Se=1e3/30;function Ne($e){return new Date($e).getTime()}const ke=$e=>{const{value:st,format:ut="HH:mm:ss",onChange:Mt,onFinish:nt}=$e,$t=(0,Ce.Z)(),Pt=se.useRef(null),dn=()=>{nt==null||nt(),Pt.current&&(clearInterval(Pt.current),Pt.current=null)},zt=()=>{const an=Ne(st);an>=Date.now()&&(Pt.current=setInterval(()=>{$t(),Mt==null||Mt(an-Date.now()),an(zt(),()=>{Pt.current&&(clearInterval(Pt.current),Pt.current=null)}),[st]);const Xt=(an,it)=>me(an,Object.assign(Object.assign({},it),{format:ut})),fn=an=>(0,we.Tm)(an,{title:void 0});return se.createElement(ne,Object.assign({},$e,{valueRender:fn,formatter:Xt}))};var Te=se.memo(ke);ne.Countdown=Te;var We=ne},15969:function(_e,be,oe){"use strict";oe.d(be,{N:function(){return se}});const se=Ce=>({color:Ce.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ce.motionDurationSlow}`,"&:focus, &:hover":{color:Ce.colorLinkHover},"&:active":{color:Ce.colorLinkActive}})},78673:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return $t}});var se=oe(50023),Ce=oe(92310),we=oe.n(Ce),Ie=oe(5891),De=oe(80962),Ke=oe(29043),Ee=oe(19149),et=oe(59301),Je=oe(35788),Ye=oe(85108),tt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ht=et.forwardRef(function(Pt,dn){var zt,Xt=Pt.prefixCls,fn=Xt===void 0?"rc-switch":Xt,an=Pt.className,it=Pt.checked,Ve=Pt.defaultChecked,gt=Pt.disabled,Bt=Pt.loadingIcon,sn=Pt.checkedChildren,It=Pt.unCheckedChildren,en=Pt.onClick,En=Pt.onChange,ei=Pt.onKeyDown,An=(0,Ee.Z)(Pt,tt),Kn=(0,Je.Z)(!1,{value:it,defaultValue:Ve}),jt=(0,Ke.Z)(Kn,2),Nn=jt[0],Gn=jt[1];function ii(St,rt){var Ft=Nn;return gt||(Ft=St,Gn(Ft),En==null||En(Ft,rt)),Ft}function Sn(St){St.which===Ye.Z.LEFT?ii(!1,St):St.which===Ye.Z.RIGHT&&ii(!0,St),ei==null||ei(St)}function Yt(St){var rt=ii(!Nn,St);en==null||en(rt,St)}var Zt=we()(fn,an,(zt={},(0,De.Z)(zt,"".concat(fn,"-checked"),Nn),(0,De.Z)(zt,"".concat(fn,"-disabled"),gt),zt));return et.createElement("button",(0,Ie.Z)({},An,{type:"button",role:"switch","aria-checked":Nn,disabled:gt,className:Zt,ref:dn,onKeyDown:Sn,onClick:Yt}),Bt,et.createElement("span",{className:"".concat(fn,"-inner")},et.createElement("span",{className:"".concat(fn,"-inner-checked")},sn),et.createElement("span",{className:"".concat(fn,"-inner-unchecked")},It)))});ht.displayName="Switch";var kt=ht,ze=oe(14088),ee=oe(36355),ne=oe(1684),ge=oe(19716),ue=oe(64993),me=oe(17313),Se=oe(83116),Ne=oe(37613);const ke=Pt=>{const{componentCls:dn,trackHeightSM:zt,trackPadding:Xt,trackMinWidthSM:fn,innerMinMarginSM:an,innerMaxMarginSM:it,handleSizeSM:Ve}=Pt,gt=`${dn}-inner`;return{[dn]:{[`&${dn}-small`]:{minWidth:fn,height:zt,lineHeight:`${zt}px`,[`${dn}-inner`]:{paddingInlineStart:it,paddingInlineEnd:an,[`${gt}-checked`]:{marginInlineStart:`calc(-100% + ${Ve+Xt*2}px - ${it*2}px)`,marginInlineEnd:`calc(100% - ${Ve+Xt*2}px + ${it*2}px)`},[`${gt}-unchecked`]:{marginTop:-zt,marginInlineStart:0,marginInlineEnd:0}},[`${dn}-handle`]:{width:Ve,height:Ve},[`${dn}-loading-icon`]:{top:(Ve-Pt.switchLoadingIconSize)/2,fontSize:Pt.switchLoadingIconSize},[`&${dn}-checked`]:{[`${dn}-inner`]:{paddingInlineStart:an,paddingInlineEnd:it,[`${gt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${gt}-unchecked`]:{marginInlineStart:`calc(100% - ${Ve+Xt*2}px + ${it*2}px)`,marginInlineEnd:`calc(-100% + ${Ve+Xt*2}px - ${it*2}px)`}},[`${dn}-handle`]:{insetInlineStart:`calc(100% - ${Ve+Xt}px)`}},[`&:not(${dn}-disabled):active`]:{[`&:not(${dn}-checked) ${gt}`]:{[`${gt}-unchecked`]:{marginInlineStart:Pt.marginXXS/2,marginInlineEnd:-Pt.marginXXS/2}},[`&${dn}-checked ${gt}`]:{[`${gt}-checked`]:{marginInlineStart:-Pt.marginXXS/2,marginInlineEnd:Pt.marginXXS/2}}}}}}},Te=Pt=>{const{componentCls:dn,handleSize:zt}=Pt;return{[dn]:{[`${dn}-loading-icon${Pt.iconCls}`]:{position:"relative",top:(zt-Pt.fontSize)/2,color:Pt.switchLoadingIconColor,verticalAlign:"top"},[`&${dn}-checked ${dn}-loading-icon`]:{color:Pt.switchColor}}}},We=Pt=>{const{componentCls:dn,motion:zt,trackPadding:Xt,handleBg:fn,handleShadow:an,handleSize:it}=Pt,Ve=`${dn}-handle`;return{[dn]:{[Ve]:{position:"absolute",top:Xt,insetInlineStart:Xt,width:it,height:it,transition:`all ${Pt.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:fn,borderRadius:it/2,boxShadow:an,transition:`all ${Pt.switchDuration} ease-in-out`,content:'""'}},[`&${dn}-checked ${Ve}`]:{insetInlineStart:`calc(100% - ${it+Xt}px)`},[`&:not(${dn}-disabled):active`]:zt?{[`${Ve}::before`]:{insetInlineEnd:Pt.switchHandleActiveInset,insetInlineStart:0},[`&${dn}-checked ${Ve}::before`]:{insetInlineEnd:0,insetInlineStart:Pt.switchHandleActiveInset}}:{}}}},$e=Pt=>{const{componentCls:dn,trackHeight:zt,trackPadding:Xt,innerMinMargin:fn,innerMaxMargin:an,handleSize:it}=Pt,Ve=`${dn}-inner`;return{[dn]:{[Ve]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:an,paddingInlineEnd:fn,transition:`padding-inline-start ${Pt.switchDuration} ease-in-out, padding-inline-end ${Pt.switchDuration} ease-in-out`,[`${Ve}-checked, ${Ve}-unchecked`]:{display:"block",color:Pt.colorTextLightSolid,fontSize:Pt.fontSizeSM,transition:`margin-inline-start ${Pt.switchDuration} ease-in-out, margin-inline-end ${Pt.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Ve}-checked`]:{marginInlineStart:`calc(-100% + ${it+Xt*2}px - ${an*2}px)`,marginInlineEnd:`calc(100% - ${it+Xt*2}px + ${an*2}px)`},[`${Ve}-unchecked`]:{marginTop:-zt,marginInlineStart:0,marginInlineEnd:0}},[`&${dn}-checked ${Ve}`]:{paddingInlineStart:fn,paddingInlineEnd:an,[`${Ve}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ve}-unchecked`]:{marginInlineStart:`calc(100% - ${it+Xt*2}px + ${an*2}px)`,marginInlineEnd:`calc(-100% + ${it+Xt*2}px - ${an*2}px)`}},[`&:not(${dn}-disabled):active`]:{[`&:not(${dn}-checked) ${Ve}`]:{[`${Ve}-unchecked`]:{marginInlineStart:Xt*2,marginInlineEnd:-Xt*2}},[`&${dn}-checked ${Ve}`]:{[`${Ve}-checked`]:{marginInlineStart:-Xt*2,marginInlineEnd:Xt*2}}}}}},st=Pt=>{const{componentCls:dn,trackHeight:zt,trackMinWidth:Xt}=Pt;return{[dn]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,me.Wf)(Pt)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Xt,height:zt,lineHeight:`${zt}px`,verticalAlign:"middle",background:Pt.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Pt.motionDurationMid}`,userSelect:"none",[`&:hover:not(${dn}-disabled)`]:{background:Pt.colorTextTertiary}}),(0,me.Qy)(Pt)),{[`&${dn}-checked`]:{background:Pt.switchColor,[`&:hover:not(${dn}-disabled)`]:{background:Pt.colorPrimaryHover}},[`&${dn}-loading, &${dn}-disabled`]:{cursor:"not-allowed",opacity:Pt.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${dn}-rtl`]:{direction:"rtl"}})}};var ut=(0,Se.Z)("Switch",Pt=>{const dn=(0,Ne.TS)(Pt,{switchDuration:Pt.motionDurationMid,switchColor:Pt.colorPrimary,switchDisabledOpacity:Pt.opacityLoading,switchLoadingIconSize:Pt.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Pt.opacityLoading})`,switchHandleActiveInset:"-30%"});return[st(dn),$e(dn),We(dn),Te(dn),ke(dn)]},Pt=>{const{fontSize:dn,lineHeight:zt,controlHeight:Xt,colorWhite:fn}=Pt,an=dn*zt,it=Xt/2,Ve=2,gt=an-Ve*2,Bt=it-Ve*2;return{trackHeight:an,trackHeightSM:it,trackMinWidth:gt*2+Ve*4,trackMinWidthSM:Bt*2+Ve*2,trackPadding:Ve,handleBg:fn,handleSize:gt,handleSizeSM:Bt,handleShadow:`0 2px 4px 0 ${new ue.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:gt/2,innerMaxMargin:gt+Ve+Ve*2,innerMinMarginSM:Bt/2,innerMaxMarginSM:Bt+Ve+Ve*2}}),Mt=function(Pt,dn){var zt={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&dn.indexOf(Xt)<0&&(zt[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Xt=Object.getOwnPropertySymbols(Pt);fn{const{prefixCls:zt,size:Xt,disabled:fn,loading:an,className:it,rootClassName:Ve,style:gt}=Pt,Bt=Mt(Pt,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:sn,direction:It,switch:en}=et.useContext(ee.E_),En=et.useContext(ne.Z),ei=(fn!=null?fn:En)||an,An=sn("switch",zt),Kn=et.createElement("div",{className:`${An}-handle`},an&&et.createElement(se.Z,{className:`${An}-loading-icon`})),[jt,Nn]=ut(An),Gn=(0,ge.Z)(Xt),ii=we()(en==null?void 0:en.className,{[`${An}-small`]:Gn==="small",[`${An}-loading`]:an,[`${An}-rtl`]:It==="rtl"},it,Ve,Nn),Sn=Object.assign(Object.assign({},en==null?void 0:en.style),gt);return jt(et.createElement(ze.Z,{component:"Switch"},et.createElement(kt,Object.assign({},Bt,{prefixCls:An,className:ii,style:Sn,disabled:ei,ref:dn,loadingIcon:Kn}))))});nt.__ANT_SWITCH=!0;var $t=nt},2595:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return Ud}});var se={},Ce="rc-table-internal-hook",we=oe(29043),Ie=oe(8107),De=oe(28800),Ke=oe(51346),Ee=oe(59301),et=oe(4676);function Je(mt){var Et=Ee.createContext(void 0),rn=function(Dn){var xn=Dn.value,ri=Dn.children,ai=Ee.useRef(xn);ai.current=xn;var qn=Ee.useState(function(){return{getValue:function(){return ai.current},listeners:new Set}}),bi=(0,we.Z)(qn,1),Ni=bi[0];return(0,De.Z)(function(){(0,et.unstable_batchedUpdates)(function(){Ni.listeners.forEach(function(Ei){Ei(xn)})})},[xn]),Ee.createElement(Et.Provider,{value:Ni},ri)};return{Context:Et,Provider:rn,defaultValue:mt}}function Ye(mt,Et){var rn=(0,Ie.Z)(typeof Et=="function"?Et:function(Ei){if(Et===void 0)return Ei;if(!Array.isArray(Et))return Ei[Et];var qi={};return Et.forEach(function(Ki){qi[Ki]=Ei[Ki]}),qi}),cn=Ee.useContext(mt==null?void 0:mt.Context),Dn=cn||{},xn=Dn.listeners,ri=Dn.getValue,ai=Ee.useRef();ai.current=rn(cn?ri():mt==null?void 0:mt.defaultValue);var qn=Ee.useState({}),bi=(0,we.Z)(qn,2),Ni=bi[1];return(0,De.Z)(function(){if(!cn)return;function Ei(qi){var Ki=rn(qi);(0,Ke.Z)(ai.current,Ki,!0)||Ni({})}return xn.add(Ei),function(){xn.delete(Ei)}},[cn]),ai.current}var tt=oe(5891),ht=oe(20475);function kt(){var mt=Ee.createContext(null);function Et(){return Ee.useContext(mt)}function rn(Dn,xn){var ri=(0,ht.Yr)(Dn),ai=function(bi,Ni){var Ei=ri?{ref:Ni}:{},qi=Ee.useRef(0),Ki=Ee.useRef(bi),Ui=Et();return Ui!==null?Ee.createElement(Dn,(0,tt.Z)({},bi,Ei)):((!xn||xn(Ki.current,bi))&&(qi.current+=1),Ki.current=bi,Ee.createElement(mt.Provider,{value:qi.current},Ee.createElement(Dn,(0,tt.Z)({},bi,Ei))))};return ri?Ee.forwardRef(ai):ai}function cn(Dn,xn){var ri=(0,ht.Yr)(Dn),ai=function(bi,Ni){var Ei=ri?{ref:Ni}:{};return Et(),Ee.createElement(Dn,(0,tt.Z)({},bi,Ei))};return ri?Ee.memo(Ee.forwardRef(ai),xn):Ee.memo(ai,xn)}return{makeImmutable:rn,responseImmutable:cn,useImmutableMark:Et}}var ze=kt(),ee=ze.makeImmutable,ne=ze.responseImmutable,ge=ze.useImmutableMark,ue=kt(),me=ue.makeImmutable,Se=ue.responseImmutable,Ne=ue.useImmutableMark,ke=Je(),Te=ke;function We(mt,Et){var rn=Ee.useRef(0);rn.current+=1;var cn=Ee.useRef(mt),Dn=[];Object.keys(mt||{}).map(function(ri){var ai;(mt==null?void 0:mt[ri])!==((ai=cn.current)===null||ai===void 0?void 0:ai[ri])&&Dn.push(ri)}),cn.current=mt;var xn=Ee.useRef([]);return Dn.length&&(xn.current=Dn),Ee.useDebugValue(rn.current),Ee.useDebugValue(xn.current.join(", ")),Et&&console.log("".concat(Et,":"),rn.current,xn.current),rn.current}var $e=null,st=Ee.memo(function(){var mt=We();return Ee.createElement("h1",null,"Render Times: ",mt)});st.displayName="RenderBlock";var ut=oe(80665),Mt=oe(57259),nt=oe(80962),$t=oe(92310),Pt=oe.n($t),dn=oe(79722),zt=oe(69004),Xt=oe(51395),fn=Ee.createContext({renderWithProps:!1}),an=fn,it="RC_TABLE_KEY";function Ve(mt){return mt==null?[]:Array.isArray(mt)?mt:[mt]}function gt(mt){var Et=[],rn={};return mt.forEach(function(cn){for(var Dn=cn||{},xn=Dn.key,ri=Dn.dataIndex,ai=xn||Ve(ri).join("-")||it;rn[ai];)ai="".concat(ai,"_next");rn[ai]=!0,Et.push(ai)}),Et}function Bt(mt){return mt!=null}function sn(mt){return mt&&(0,ut.Z)(mt)==="object"&&!Array.isArray(mt)&&!Ee.isValidElement(mt)}function It(mt,Et,rn,cn,Dn,xn){var ri=Ee.useContext(an),ai=Ne(),qn=(0,dn.Z)(function(){if(Bt(cn))return[cn];var bi=Et==null||Et===""?[]:Array.isArray(Et)?Et:[Et],Ni=(0,zt.Z)(mt,bi),Ei=Ni,qi=void 0;if(Dn){var Ki=Dn(Ni,mt,rn);sn(Ki)?(Ei=Ki.children,qi=Ki.props,ri.renderWithProps=!0):Ei=Ki}return[Ei,qi]},[ai,mt,cn,Et,Dn,rn],function(bi,Ni){if(xn){var Ei=(0,we.Z)(bi,2),qi=Ei[1],Ki=(0,we.Z)(Ni,2),Ui=Ki[1];return xn(Ui,qi)}return ri.renderWithProps?!0:!(0,Ke.Z)(bi,Ni,!0)});return qn}function en(mt,Et,rn,cn){var Dn=mt+Et-1;return mt<=cn&&Dn>=rn}function En(mt,Et){return Ye(Te,function(rn){var cn=en(mt,Et||1,rn.hoverStartRow,rn.hoverEndRow);return[cn,rn.onHover]})}var ei=function(Et){var rn=Et.ellipsis,cn=Et.rowType,Dn=Et.children,xn,ri=rn===!0?{showTitle:!0}:rn;return ri&&(ri.showTitle||cn==="header")&&(typeof Dn=="string"||typeof Dn=="number"?xn=Dn.toString():Ee.isValidElement(Dn)&&typeof Dn.props.children=="string"&&(xn=Dn.props.children)),xn};function An(mt){var Et,rn,cn,Dn,xn,ri,ai,qn,bi=mt.component,Ni=mt.children,Ei=mt.ellipsis,qi=mt.scope,Ki=mt.prefixCls,Ui=mt.className,Lr=mt.align,Vi=mt.record,Pr=mt.render,yr=mt.dataIndex,jr=mt.renderIndex,So=mt.shouldCellUpdate,Lo=mt.index,Tr=mt.rowType,mo=mt.colSpan,Zo=mt.rowSpan,Hr=mt.fixLeft,uo=mt.fixRight,vr=mt.firstFixLeft,cr=mt.lastFixLeft,to=mt.firstFixRight,Co=mt.lastFixRight,Ro=mt.appendNode,jo=mt.additionalProps,Or=jo===void 0?{}:jo,Qo=mt.isSticky,Jo="".concat(Ki,"-cell"),Da=Ye(Te,["supportSticky","allColumnsFixedLeft"]),la=Da.supportSticky,Ms=Da.allColumnsFixedLeft,vs=It(Vi,yr,jr,Ni,Pr,So),ea=(0,we.Z)(vs,2),No=ea[0],Ba=ea[1],bs={},ys=typeof Hr=="number"&&la,qs=typeof uo=="number"&&la;ys&&(bs.position="sticky",bs.left=Hr),qs&&(bs.position="sticky",bs.right=uo);var _o=(Et=(rn=(cn=Ba==null?void 0:Ba.colSpan)!==null&&cn!==void 0?cn:Or.colSpan)!==null&&rn!==void 0?rn:mo)!==null&&Et!==void 0?Et:1,wi=(Dn=(xn=(ri=Ba==null?void 0:Ba.rowSpan)!==null&&ri!==void 0?ri:Or.rowSpan)!==null&&xn!==void 0?xn:Zo)!==null&&Dn!==void 0?Dn:1,er=En(Lo,wi),qr=(0,we.Z)(er,2),La=qr[0],ho=qr[1],Yo=function(sl){var Ml;Vi&&ho(Lo,Lo+wi-1),Or==null||(Ml=Or.onMouseEnter)===null||Ml===void 0||Ml.call(Or,sl)},Sa=function(sl){var Ml;Vi&&ho(-1,-1),Or==null||(Ml=Or.onMouseLeave)===null||Ml===void 0||Ml.call(Or,sl)};if(_o===0||wi===0)return null;var ja=(ai=Or.title)!==null&&ai!==void 0?ai:ei({rowType:Tr,ellipsis:Ei,children:No}),xl=Pt()(Jo,Ui,(qn={},(0,nt.Z)(qn,"".concat(Jo,"-fix-left"),ys&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-left-first"),vr&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-left-last"),cr&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-left-all"),cr&&Ms&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-right"),qs&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-right-first"),to&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-right-last"),Co&&la),(0,nt.Z)(qn,"".concat(Jo,"-ellipsis"),Ei),(0,nt.Z)(qn,"".concat(Jo,"-with-append"),Ro),(0,nt.Z)(qn,"".concat(Jo,"-fix-sticky"),(ys||qs)&&Qo&&la),(0,nt.Z)(qn,"".concat(Jo,"-row-hover"),!Ba&&La),qn),Or.className,Ba==null?void 0:Ba.className),al={};Lr&&(al.textAlign=Lr);var ql=(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({},bs),Or.style),al),Ba==null?void 0:Ba.style),Ya=No;return(0,ut.Z)(Ya)==="object"&&!Array.isArray(Ya)&&!Ee.isValidElement(Ya)&&(Ya=null),Ei&&(cr||to)&&(Ya=Ee.createElement("span",{className:"".concat(Jo,"-content")},Ya)),Ee.createElement(bi,(0,tt.Z)({},Ba,Or,{className:xl,style:ql,title:ja,scope:qi,onMouseEnter:Yo,onMouseLeave:Sa,colSpan:_o!==1?_o:null,rowSpan:wi!==1?wi:null}),Ro,Ya)}var Kn=Ee.memo(An);function jt(mt,Et,rn,cn,Dn,xn){var ri=rn[mt]||{},ai=rn[Et]||{},qn,bi;ri.fixed==="left"?qn=cn.left[Dn==="rtl"?Et:mt]:ai.fixed==="right"&&(bi=cn.right[Dn==="rtl"?mt:Et]);var Ni=!1,Ei=!1,qi=!1,Ki=!1,Ui=rn[Et+1],Lr=rn[mt-1],Vi=!(xn!=null&&xn.children);if(Dn==="rtl"){if(qn!==void 0){var Pr=Lr&&Lr.fixed==="left";Ki=!Pr&&Vi}else if(bi!==void 0){var yr=Ui&&Ui.fixed==="right";qi=!yr&&Vi}}else if(qn!==void 0){var jr=Ui&&Ui.fixed==="left";Ni=!jr&&Vi}else if(bi!==void 0){var So=Lr&&Lr.fixed==="right";Ei=!So&&Vi}return{fixLeft:qn,fixRight:bi,lastFixLeft:Ni,firstFixRight:Ei,lastFixRight:qi,firstFixLeft:Ki,isSticky:cn.isSticky}}var Nn=Ee.createContext({}),Gn=Nn;function ii(mt){var Et=mt.className,rn=mt.index,cn=mt.children,Dn=mt.colSpan,xn=Dn===void 0?1:Dn,ri=mt.rowSpan,ai=mt.align,qn=Ye(Te,["prefixCls","direction"]),bi=qn.prefixCls,Ni=qn.direction,Ei=Ee.useContext(Gn),qi=Ei.scrollColumnIndex,Ki=Ei.stickyOffsets,Ui=Ei.flattenColumns,Lr=Ei.columns,Vi=rn+xn-1,Pr=Vi+1===qi?xn+1:xn,yr=jt(rn,rn+Pr-1,Ui,Ki,Ni,Lr==null?void 0:Lr[rn]);return Ee.createElement(Kn,(0,tt.Z)({className:Et,index:rn,component:"td",prefixCls:bi,record:null,dataIndex:null,align:ai,colSpan:Pr,rowSpan:ri,render:function(){return cn}},yr))}var Sn=oe(19149),Yt=["children"];function Zt(mt){var Et=mt.children,rn=(0,Sn.Z)(mt,Yt);return Ee.createElement("tr",rn,Et)}function St(mt){var Et=mt.children;return Et}St.Row=Zt,St.Cell=ii;var rt=St;function Ft(mt){var Et=mt.children,rn=mt.stickyOffsets,cn=mt.flattenColumns,Dn=mt.columns,xn=Ye(Te,"prefixCls"),ri=cn.length-1,ai=cn[ri],qn=Ee.useMemo(function(){return{stickyOffsets:rn,flattenColumns:cn,scrollColumnIndex:ai!=null&&ai.scrollbar?ri:null,columns:Dn}},[ai,cn,ri,rn,Dn]);return Ee.createElement(Gn.Provider,{value:qn},Ee.createElement("tfoot",{className:"".concat(xn,"-summary")},Et))}var Ot=Se(Ft),ft=rt,ct=oe(80764),Ge=oe(29301),Ae=oe(48886),xe=oe(24387),je=oe(59055),Qe=oe(36994);function Oe(mt,Et,rn,cn,Dn,xn,ri){mt.push({record:Et,indent:rn,index:ri});var ai=xn(Et),qn=Dn==null?void 0:Dn.has(ai);if(Et&&Array.isArray(Et[cn])&&qn)for(var bi=0;bi1?vr-1:0),to=1;to=0;ai-=1){var qn=Et[ai],bi=rn&&rn[ai],Ni=bi&&bi[lr];if(qn||Ni||ri){var Ei=Ni||{},qi=Ei.columnType,Ki=(0,Sn.Z)(Ei,ur);Dn.unshift(Ee.createElement("col",(0,tt.Z)({key:ai,style:{width:qn}},Ki))),ri=!0}}return Ee.createElement("colgroup",null,Dn)}var Wr=Sr,Gi=oe(26390),Zr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Yi(mt,Et){return(0,Ee.useMemo)(function(){for(var rn=[],cn=0;cn1?"colgroup":"col":null,ellipsis:Vi.ellipsis,align:Vi.align,component:Vi.title?xn:ri,prefixCls:Ni,key:Ki[Lr]},Pr,{additionalProps:yr,rowType:"header"}))}))}pr.displayName="HeaderRow";var fo=pr;function Fo(mt){var Et=[];function rn(ri,ai){var qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Et[qn]=Et[qn]||[];var bi=ai,Ni=ri.filter(Boolean).map(function(Ei){var qi={key:Ei.key,className:Ei.className||"",children:Ei.title,column:Ei,colStart:bi},Ki=1,Ui=Ei.children;return Ui&&Ui.length>0&&(Ki=rn(Ui,bi,qn+1).reduce(function(Lr,Vi){return Lr+Vi},0),qi.hasSubColumns=!0),"colSpan"in Ei&&(Ki=Ei.colSpan),"rowSpan"in Ei&&(qi.rowSpan=Ei.rowSpan),qi.colSpan=Ki,qi.colEnd=qi.colStart+Ki-1,Et[qn].push(qi),bi+=Ki,Ki});return Ni}rn(mt,0);for(var cn=Et.length,Dn=function(ai){Et[ai].forEach(function(qn){!("rowSpan"in qn)&&!qn.hasSubColumns&&(qn.rowSpan=cn-ai)})},xn=0;xn1&&arguments[1]!==void 0?arguments[1]:"";return typeof Et=="number"?Et:Et.endsWith("%")?mt*parseFloat(Et)/100:null}function ln(mt,Et){return Ee.useMemo(function(){if(Et&&Et>0){var rn=0,cn=0;mt.forEach(function(bi){var Ni=on(Et,bi.width);Ni?rn+=Ni:cn+=1});var Dn=Et-rn,xn=cn,ri=Dn/cn,ai=0,qn=mt.map(function(bi){var Ni=(0,Mt.Z)({},bi),Ei=on(Et,Ni.width);if(Ei)Ni.width=Ei;else{var qi=Math.floor(ri);Ni.width=xn===1?Dn:qi,Dn-=qi,xn-=1}return ai+=Ni.width,Ni});return[qn,ai]}return[mt,Et]},[mt,Et])}var qt=["children"],Nt=["fixed"];function On(mt){return(0,Oi.Z)(mt).filter(function(Et){return Ee.isValidElement(Et)}).map(function(Et){var rn=Et.key,cn=Et.props,Dn=cn.children,xn=(0,Sn.Z)(cn,qt),ri=(0,Mt.Z)({key:rn},xn);return Dn&&(ri.children=On(Dn)),ri})}function Un(mt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return mt.filter(function(rn){return rn&&(0,ut.Z)(rn)==="object"}).reduce(function(rn,cn,Dn){var xn=cn.fixed,ri=xn===!0?"left":xn,ai="".concat(Et,"-").concat(Dn),qn=cn.children;return qn&&qn.length>0?[].concat((0,Gi.Z)(rn),(0,Gi.Z)(Un(qn,ai).map(function(bi){return(0,Mt.Z)({fixed:ri},bi)}))):[].concat((0,Gi.Z)(rn),[(0,Mt.Z)((0,Mt.Z)({key:ai},cn),{},{fixed:ri})])},[])}function Vt(mt){for(var Et=!0,rn=0;rn=0;xn-=1){var ri=mt[xn];if(Dn&&ri.fixed!=="right")Dn=!1;else if(!Dn&&ri.fixed==="right"){warning(!1,"Index ".concat(xn+1," of `columns` missing `fixed='right'` prop."));break}}}function yt(mt){return mt.map(function(Et){var rn=Et.fixed,cn=(0,Sn.Z)(Et,Nt),Dn=rn;return rn==="left"?Dn="right":rn==="right"&&(Dn="left"),(0,Mt.Z)({fixed:Dn},cn)})}function In(mt,Et){var rn=mt.prefixCls,cn=mt.columns,Dn=mt.children,xn=mt.expandable,ri=mt.expandedKeys,ai=mt.columnTitle,qn=mt.getRowKey,bi=mt.onTriggerExpand,Ni=mt.expandIcon,Ei=mt.rowExpandable,qi=mt.expandIconColumnIndex,Ki=mt.direction,Ui=mt.expandRowByClick,Lr=mt.columnWidth,Vi=mt.fixed,Pr=mt.scrollWidth,yr=Ee.useMemo(function(){return cn||On(Dn)},[cn,Dn]),jr=Ee.useMemo(function(){if(xn){var uo,vr=yr.slice();if(!vr.includes(se)){var cr=qi||0;cr>=0&&vr.splice(cr,0,se)}var to=vr.indexOf(se);vr=vr.filter(function(Or,Qo){return Or!==se||Qo===to});var Co=yr[to],Ro;(Vi==="left"||Vi)&&!qi?Ro="left":(Vi==="right"||Vi)&&qi===yr.length?Ro="right":Ro=Co?Co.fixed:null;var jo=(uo={},(0,nt.Z)(uo,lr,{className:"".concat(rn,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,nt.Z)(uo,"title",ai),(0,nt.Z)(uo,"fixed",Ro),(0,nt.Z)(uo,"className","".concat(rn,"-row-expand-icon-cell")),(0,nt.Z)(uo,"width",Lr),(0,nt.Z)(uo,"render",function(Qo,Jo,Da){var la=qn(Jo,Da),Ms=ri.has(la),vs=Ei?Ei(Jo):!0,ea=Ni({prefixCls:rn,expanded:Ms,expandable:vs,record:Jo,onExpand:bi});return Ui?Ee.createElement("span",{onClick:function(Ba){return Ba.stopPropagation()}},ea):ea}),uo);return vr.map(function(Or){return Or===se?jo:Or})}return yr.filter(function(Or){return Or!==se})},[xn,yr,qn,ri,Ni,Ki]),So=Ee.useMemo(function(){var uo=jr;return Et&&(uo=Et(uo)),uo.length||(uo=[{render:function(){return null}}]),uo},[Et,jr,Ki]),Lo=Ee.useMemo(function(){return Ki==="rtl"?yt(Un(So)):Un(So)},[So,Ki,Pr]),Tr=ln(Lo,Pr),mo=(0,we.Z)(Tr,2),Zo=mo[0],Hr=mo[1];return[So,Zo,Hr]}var zn=In;function mi(mt){var Et,rn=mt.prefixCls,cn=mt.record,Dn=mt.onExpand,xn=mt.expanded,ri=mt.expandable,ai="".concat(rn,"-row-expand-icon");if(!ri)return Ee.createElement("span",{className:Pt()(ai,"".concat(rn,"-row-spaced"))});var qn=function(Ni){Dn(cn,Ni),Ni.stopPropagation()};return Ee.createElement("span",{className:Pt()(ai,(Et={},(0,nt.Z)(Et,"".concat(rn,"-row-expanded"),xn),(0,nt.Z)(Et,"".concat(rn,"-row-collapsed"),!xn),Et)),onClick:qn})}function Rn(mt,Et,rn){var cn=[];function Dn(xn){(xn||[]).forEach(function(ri,ai){cn.push(Et(ri,ai)),Dn(ri[rn])})}return Dn(mt),cn}function bt(mt,Et,rn){var cn=dr(mt),Dn=cn.expandIcon,xn=cn.expandedRowKeys,ri=cn.defaultExpandedRowKeys,ai=cn.defaultExpandAllRows,qn=cn.expandedRowRender,bi=cn.onExpand,Ni=cn.onExpandedRowsChange,Ei=cn.childrenColumnName,qi=Dn||mi,Ki=Ei||"children",Ui=Ee.useMemo(function(){return qn?"row":mt.expandable&&mt.internalHooks===Ce&&mt.expandable.__PARENT_RENDER_ICON__||Et.some(function(Lo){return Lo&&(0,ut.Z)(Lo)==="object"&&Lo[Ki]})?"nest":!1},[!!qn,Et]),Lr=Ee.useState(function(){return ri||(ai?Rn(Et,rn,Ki):[])}),Vi=(0,we.Z)(Lr,2),Pr=Vi[0],yr=Vi[1],jr=Ee.useMemo(function(){return new Set(xn||Pr||[])},[xn,Pr]),So=Ee.useCallback(function(Lo){var Tr=rn(Lo,Et.indexOf(Lo)),mo,Zo=jr.has(Tr);Zo?(jr.delete(Tr),mo=(0,Gi.Z)(jr)):mo=[].concat((0,Gi.Z)(jr),[Tr]),yr(mo),bi&&bi(!Zo,Lo),Ni&&Ni(mo)},[rn,jr,Et,bi,Ni]);return[cn,Ui,jr,qi,Ki,So]}function Ut(mt,Et,rn,cn){var Dn=mt.map(function(xn,ri){return jt(ri,ri,mt,Et,rn,cn==null?void 0:cn[ri])});return(0,dn.Z)(function(){return Dn},[Dn],function(xn,ri){return!(0,Ke.Z)(xn,ri)})}function Ln(mt){var Et=(0,Ee.useRef)(mt),rn=(0,Ee.useState)({}),cn=(0,we.Z)(rn,2),Dn=cn[1],xn=(0,Ee.useRef)(null),ri=(0,Ee.useRef)([]);function ai(qn){ri.current.push(qn);var bi=Promise.resolve();xn.current=bi,bi.then(function(){if(xn.current===bi){var Ni=ri.current,Ei=Et.current;ri.current=[],Ni.forEach(function(qi){Et.current=qi(Et.current)}),xn.current=null,Ei!==Et.current&&Dn({})}})}return(0,Ee.useEffect)(function(){return function(){xn.current=null}},[]),[Et.current,ai]}function ni(mt){var Et=(0,Ee.useRef)(mt||null),rn=(0,Ee.useRef)();function cn(){window.clearTimeout(rn.current)}function Dn(ri){Et.current=ri,cn(),rn.current=window.setTimeout(function(){Et.current=null,rn.current=void 0},100)}function xn(){return Et.current}return(0,Ee.useEffect)(function(){return cn},[]),[Dn,xn]}function _t(){var mt=Ee.useState(-1),Et=(0,we.Z)(mt,2),rn=Et[0],cn=Et[1],Dn=Ee.useState(-1),xn=(0,we.Z)(Dn,2),ri=xn[0],ai=xn[1],qn=Ee.useCallback(function(bi,Ni){cn(bi),ai(Ni)},[]);return[rn,ri,qn]}var yn=oe(87746),Qt=(0,yn.Z)()?window:null;function un(mt,Et){var rn=(0,ut.Z)(mt)==="object"?mt:{},cn=rn.offsetHeader,Dn=cn===void 0?0:cn,xn=rn.offsetSummary,ri=xn===void 0?0:xn,ai=rn.offsetScroll,qn=ai===void 0?0:ai,bi=rn.getContainer,Ni=bi===void 0?function(){return Qt}:bi,Ei=Ni()||Qt;return Ee.useMemo(function(){var qi=!!mt;return{isSticky:qi,stickyClassName:qi?"".concat(Et,"-sticky-holder"):"",offsetHeader:Dn,offsetSummary:ri,offsetScroll:qn,container:Ei}},[qn,Dn,ri,Et,Ei])}function wn(mt,Et,rn){var cn=(0,Ee.useMemo)(function(){for(var Dn=[],xn=[],ri=0,ai=0,qn=0;qn=Ei&&(Or=Ei-qi),ri({scrollLeft:Or/Ei*(Ni+2)}),yr.current.x=to.pageX},uo=function(){if(xn.current){var to=(0,Jn.os)(xn.current).top,Co=to+xn.current.offsetHeight,Ro=qn===window?document.documentElement.scrollTop+window.innerHeight:(0,Jn.os)(qn).top+qn.clientHeight;Co-(0,je.Z)()<=Ro||to>=Ro-ai?Pr(function(jo){return(0,Mt.Z)((0,Mt.Z)({},jo),{},{isHiddenScrollBar:!0})}):Pr(function(jo){return(0,Mt.Z)((0,Mt.Z)({},jo),{},{isHiddenScrollBar:!1})})}},vr=function(to){Pr(function(Co){return(0,Mt.Z)((0,Mt.Z)({},Co),{},{scrollLeft:to/Ni*Ei||0})})};return Ee.useImperativeHandle(rn,function(){return{setScrollLeft:vr}}),Ee.useEffect(function(){var cr=(0,Vn.Z)(document.body,"mouseup",mo,!1),to=(0,Vn.Z)(document.body,"mousemove",Hr,!1);return uo(),function(){cr.remove(),to.remove()}},[qi,Lo]),Ee.useEffect(function(){var cr=(0,Vn.Z)(qn,"scroll",uo,!1),to=(0,Vn.Z)(window,"resize",uo,!1);return function(){cr.remove(),to.remove()}},[qn]),Ee.useEffect(function(){Vi.isHiddenScrollBar||Pr(function(cr){var to=xn.current;return to?(0,Mt.Z)((0,Mt.Z)({},cr),{},{scrollLeft:to.scrollLeft/to.scrollWidth*to.clientWidth}):cr})},[Vi.isHiddenScrollBar]),Ni<=Ei||!qi||Vi.isHiddenScrollBar?null:Ee.createElement("div",{style:{height:(0,je.Z)(),width:Ei,bottom:ai},className:"".concat(bi,"-sticky-scroll")},Ee.createElement("div",{onMouseDown:Zo,ref:Ki,className:Pt()("".concat(bi,"-sticky-scroll-bar"),(0,nt.Z)({},"".concat(bi,"-sticky-scroll-bar-active"),Lo)),style:{width:"".concat(qi,"px"),transform:"translate3d(".concat(Vi.scrollLeft,"px, 0, 0)")}}))},gi=Ee.forwardRef(Wn);function Fi(mt){return null}var ir=Fi;function zi(mt){return null}var tn=zi,Ai="rc-table",Bi=[],Ti={};function hr(){return"No Data"}function tr(mt){var Et,rn=(0,Mt.Z)({rowKey:"key",prefixCls:Ai,emptyText:hr},mt),cn=rn.prefixCls,Dn=rn.className,xn=rn.rowClassName,ri=rn.style,ai=rn.data,qn=rn.rowKey,bi=rn.scroll,Ni=rn.tableLayout,Ei=rn.direction,qi=rn.title,Ki=rn.footer,Ui=rn.summary,Lr=rn.caption,Vi=rn.id,Pr=rn.showHeader,yr=rn.components,jr=rn.emptyText,So=rn.onRow,Lo=rn.onHeaderRow,Tr=rn.internalHooks,mo=rn.transformColumns,Zo=rn.internalRefs,Hr=rn.tailor,uo=rn.sticky,vr=ai||Bi,cr=!!vr.length,to=Tr===Ce,Co=Ee.useCallback(function($a,Rs){return(0,zt.Z)(yr,$a)||Rs},[yr]),Ro=Ee.useMemo(function(){return typeof qn=="function"?qn:function($a){var Rs=$a&&$a[qn];return Rs}},[qn]),jo=Co(["body"]),Or=_t(),Qo=(0,we.Z)(Or,3),Jo=Qo[0],Da=Qo[1],la=Qo[2],Ms=bt(rn,vr,Ro),vs=(0,we.Z)(Ms,6),ea=vs[0],No=vs[1],Ba=vs[2],bs=vs[3],ys=vs[4],qs=vs[5],_o=bi==null?void 0:bi.x,wi=Ee.useState(0),er=(0,we.Z)(wi,2),qr=er[0],La=er[1],ho=zn((0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({},rn),ea),{},{expandable:!!ea.expandedRowRender,columnTitle:ea.columnTitle,expandedKeys:Ba,getRowKey:Ro,onTriggerExpand:qs,expandIcon:bs,expandIconColumnIndex:ea.expandIconColumnIndex,direction:Ei,scrollWidth:to&&Hr&&typeof _o=="number"?_o:null}),to?mo:null),Yo=(0,we.Z)(ho,3),Sa=Yo[0],ja=Yo[1],xl=Yo[2],al=xl!=null?xl:_o,ql=Ee.useMemo(function(){return{columns:Sa,flattenColumns:ja}},[Sa,ja]),Ya=Ee.useRef(),_l=Ee.useRef(),sl=Ee.useRef(),Ml=Ee.useRef(),Hc=Ee.useRef(),Za=Ee.useState(!1),os=(0,we.Z)(Za,2),Ss=os[0],Vs=os[1],dl=Ee.useState(!1),xa=(0,we.Z)(dl,2),ws=xa[0],Ll=xa[1],hl=Ln(new Map),Qu=(0,we.Z)(hl,2),Iu=Qu[0],lc=Qu[1],uc=gt(ja),Ju=uc.map(function($a){return Iu.get($a)}),qa=Ee.useMemo(function(){return Ju},[Ju.join("_")]),bl=gn(qa,ja.length,Ei),Ks=bi&&Bt(bi.y),Es=bi&&Bt(al)||!!ea.fixed,fu=Es&&ja.some(function($a){var Rs=$a.fixed;return Rs}),id=Ee.useRef(),cc=un(uo,cn),dc=cc.isSticky,Mc=cc.offsetHeader,ou=cc.offsetSummary,Ua=cc.offsetScroll,Cs=cc.stickyClassName,wl=cc.container,Ls=Ee.useMemo(function(){return Ui==null?void 0:Ui(vr)},[Ui,vr]),_a=(Ks||dc)&&Ee.isValidElement(Ls)&&Ls.type===rt&&Ls.props.fixed,gl,pu,qu;Ks&&(pu={overflowY:"scroll",maxHeight:bi.y}),Es&&(gl={overflowX:"auto"},Ks||(pu={overflowY:"hidden"}),qu={width:al===!0?"auto":al,minWidth:"100%"});var sh=Ee.useCallback(function($a,Rs){(0,Ae.Z)(Ya.current)&&lc(function(Zl){if(Zl.get($a)!==Rs){var ec=new Map(Zl);return ec.set($a,Rs),ec}return Zl})},[]),pn=ni(null),rd=(0,we.Z)(pn,2),Lc=rd[0],_d=rd[1];function Gd($a,Rs){Rs&&(typeof Rs=="function"?Rs($a):Rs.scrollLeft!==$a&&(Rs.scrollLeft=$a,Rs.scrollLeft!==$a&&setTimeout(function(){Rs.scrollLeft=$a},0)))}var kd=(0,Ie.Z)(function($a){var Rs=$a.currentTarget,Zl=$a.scrollLeft,ec=Ei==="rtl",yu=typeof Zl=="number"?Zl:Rs.scrollLeft,dh=Rs||Ti;if(!_d()||_d()===dh){var Sd;Lc(dh),Gd(yu,_l.current),Gd(yu,sl.current),Gd(yu,Hc.current),Gd(yu,(Sd=id.current)===null||Sd===void 0?void 0:Sd.setScrollLeft)}var hh=Rs||_l.current;if(hh){var hc=hh.scrollWidth,od=hh.clientWidth;if(hc===od){Vs(!1),Ll(!1);return}ec?(Vs(-yu0)):(Vs(yu>0),Ll(yu1?Lr-to:0,Ro=(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({},mo),qn),{},{flex:"0 0 ".concat(to,"px"),width:"".concat(to,"px"),marginRight:Co,pointerEvents:"auto"}),jo=Ee.useMemo(function(){return Ni?vr<=1:Hr===0||vr===0||vr>1},[vr,Hr,Ni]);jo?Ro.visibility="hidden":Ni&&(Ro.height=Ei==null?void 0:Ei(vr));var Or=jo?function(){return null}:qi,Qo={};return(vr===0||Hr===0)&&(Qo.rowSpan=1,Qo.colSpan=1),Ee.createElement(Kn,(0,tt.Z)({className:Pt()(Ui,bi),ellipsis:rn.ellipsis,align:rn.align,scope:rn.rowScope,component:"div",prefixCls:Et.prefixCls,key:jr,record:ai,index:xn,renderIndex:ri,dataIndex:Ki,render:Or,shouldCellUpdate:rn.shouldCellUpdate},So,{appendNode:Lo,additionalProps:(0,Mt.Z)((0,Mt.Z)({},Tr),{},{style:Ro},Qo)}))}var Go=kr,Dr=["data","index","className","rowKey","style","extra","getHeight"],po=Ee.forwardRef(function(mt,Et){var rn=mt.data,cn=mt.index,Dn=mt.className,xn=mt.rowKey,ri=mt.style,ai=mt.extra,qn=mt.getHeight,bi=(0,Sn.Z)(mt,Dr),Ni=rn.record,Ei=rn.indent,qi=rn.index,Ki=Ye(Te,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ui=Ki.scrollX,Lr=Ki.flattenColumns,Vi=Ki.prefixCls,Pr=Ki.fixColumn,yr=Ki.componentWidth,jr=wt(Ni,xn,cn,Ei),So=jr.rowSupportExpand,Lo=jr.expanded,Tr=jr.rowProps,mo=jr.expandedRowRender,Zo=jr.expandedRowClassName,Hr;if(So&&Lo){var uo=mo(Ni,cn,Ei+1,Lo),vr=Zo==null?void 0:Zo(Ni,cn,Ei),cr={};Pr&&(cr={style:(0,nt.Z)({},"--virtual-width","".concat(yr,"px"))});var to="".concat(Vi,"-expanded-row-cell");Hr=Ee.createElement("div",{className:Pt()("".concat(Vi,"-expanded-row"),"".concat(Vi,"-expanded-row-level-").concat(Ei+1),vr)},Ee.createElement(Kn,{component:"div",prefixCls:Vi,className:Pt()(to,(0,nt.Z)({},"".concat(to,"-fixed"),Pr)),additionalProps:cr},uo))}var Co=(0,Mt.Z)((0,Mt.Z)({},ri),{},{width:Ui});ai&&(Co.position="absolute",Co.pointerEvents="none");var Ro=Ee.createElement("div",(0,tt.Z)({},Tr,bi,{ref:So?null:Et,className:Pt()(Dn,"".concat(Vi,"-row"),Tr==null?void 0:Tr.className,(0,nt.Z)({},"".concat(Vi,"-row-extra"),ai)),style:(0,Mt.Z)((0,Mt.Z)({},Co),Tr==null?void 0:Tr.style)}),Lr.map(function(jo,Or){return Ee.createElement(Go,{key:Or,rowInfo:jr,column:jo,colIndex:Or,indent:Ei,index:cn,renderIndex:qi,record:Ni,inverse:ai,getHeight:qn})}));return So?Ee.createElement("div",{ref:Et},Ro,Hr):Ro}),Do=Se(po),Ji=Do,or=Ee.forwardRef(function(mt,Et){var rn=mt.data,cn=mt.onScroll,Dn=Ye(Te,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),xn=Dn.flattenColumns,ri=Dn.onColumnResize,ai=Dn.getRowKey,qn=Dn.expandedKeys,bi=Dn.prefixCls,Ni=Dn.childrenColumnName,Ei=Dn.emptyNode,qi=Dn.scrollX,Ki=Ye(Gt),Ui=Ki.scrollY,Lr=Ki.listItemHeight,Vi=Ee.useRef(),Pr=xt(rn,Ni,qn,ai),yr=Ee.useMemo(function(){var Hr=0;return xn.map(function(uo){var vr=uo.width,cr=uo.key;return Hr+=vr,[cr,vr,Hr]})},[xn]),jr=Ee.useMemo(function(){return yr.map(function(Hr){return Hr[2]})},[yr]);Ee.useEffect(function(){yr.forEach(function(Hr){var uo=(0,we.Z)(Hr,2),vr=uo[0],cr=uo[1];ri(vr,cr)})},[yr]),Ee.useImperativeHandle(Et,function(){var Hr={};return Object.defineProperty(Hr,"scrollLeft",{get:function(){var vr;return((vr=Vi.current)===null||vr===void 0?void 0:vr.getScrollInfo().x)||0},set:function(vr){var cr;(cr=Vi.current)===null||cr===void 0||cr.scrollTo({left:vr})}}),Hr});var So=function(uo,vr){var cr,to=(cr=Pr[vr])===null||cr===void 0?void 0:cr.record,Co=uo.onCell;if(Co){var Ro,jo=Co(to,vr);return(Ro=jo==null?void 0:jo.rowSpan)!==null&&Ro!==void 0?Ro:1}return 1},Lo=function(uo){var vr=uo.start,cr=uo.end,to=uo.getSize,Co=uo.offsetY;if(cr<0)return null;for(var Ro=xn.filter(function(_o){return So(_o,vr)===0}),jo=vr,Or=function(wi){if(Ro=Ro.filter(function(er){return So(er,wi)===0}),!Ro.length)return jo=wi,"break"},Qo=vr;Qo>=0;Qo-=1){var Jo=Or(Qo);if(Jo==="break")break}for(var Da=xn.filter(function(_o){return So(_o,cr)!==1}),la=cr,Ms=function(wi){if(Da=Da.filter(function(er){return So(er,wi)!==1}),!Da.length)return la=Math.max(wi-1,cr),"break"},vs=cr;vs1})&&No.push(wi)},bs=jo;bs<=la;bs+=1)var ys=Ba(bs);var qs=No.map(function(_o){var wi=Pr[_o],er=ai(wi.record,_o),qr=function(Yo){var Sa=_o+Yo-1,ja=ai(Pr[Sa].record,Sa),xl=to(er,ja);return xl.bottom-xl.top},La=to(er);return Ee.createElement(Ji,{key:_o,data:wi,rowKey:er,index:_o,style:{top:-Co+La.top},extra:!0,getHeight:qr})});return qs},Tr=Ee.useMemo(function(){return{columnsOffset:jr}},[jr]),mo="".concat(bi,"-tbody"),Zo;return Pr.length?Zo=Ee.createElement(Ir.Z,{fullHeight:!1,ref:Vi,className:Pt()(mo,"".concat(mo,"-virtual")),height:Ui,itemHeight:Lr||24,data:Pr,itemKey:function(uo){return ai(uo.record)},scrollWidth:qi,onVirtualScroll:function(uo){var vr=uo.x;cn({scrollLeft:vr})},extraRender:Lo},function(Hr,uo,vr){var cr=ai(Hr.record,uo);return Ee.createElement(Ji,(0,tt.Z)({data:Hr,rowKey:cr,index:uo},vr))}):Zo=Ee.createElement("div",{className:Pt()("".concat(bi,"-placeholder"))},Ee.createElement(Kn,{component:"div",prefixCls:bi},Ei)),Ee.createElement(Kr.Provider,{value:Tr},Zo)}),io=Se(or),_r=io,Ii=function(Et,rn){var cn=rn.ref,Dn=rn.onScroll;return Ee.createElement(_r,{ref:cn,data:Et,onScroll:Dn})},lt=100;function Rr(mt){var Et=mt.columns,rn=mt.scroll,cn=mt.prefixCls,Dn=cn===void 0?Ai:cn,xn=mt.className,ri=mt.listItemHeight,ai=rn||{},qn=ai.x,bi=ai.y;typeof qn!="number"&&(qn=((Et||[]).length+1)*lt),typeof bi!="number"&&(bi=500);var Ni=Ee.useMemo(function(){return{scrollY:bi,listItemHeight:ri}},[bi,ri]);return Ee.createElement(Gt.Provider,{value:Ni},Ee.createElement(Hi,(0,tt.Z)({},mt,{className:Pt()(xn,"".concat(Dn,"-virtual")),scroll:(0,Mt.Z)((0,Mt.Z)({},rn),{},{x:qn}),components:{body:Ii},columns:Et,internalHooks:Ce,tailor:!0})))}function Ko(mt){return me(Rr,mt)}var Yr=Ko(),yo=null;function Mr(mt){return null}var mr=Mr;function co(mt){return null}var Uo=co,ao=oe(64002),ra=oe(68031),gr=oe(36355),Qi=oe(93891),xr=oe(19716),fi=oe(8628),bo=oe(31724),ua=oe(25700),ca=oe(71418),oa=oe(88088);function Ra(mt){return function(rn){let{prefixCls:cn,onExpand:Dn,record:xn,expanded:ri,expandable:ai}=rn;const qn=`${cn}-row-expand-icon`;return Ee.createElement("button",{type:"button",onClick:bi=>{Dn(xn,bi),bi.stopPropagation()},className:Pt()(qn,{[`${qn}-spaced`]:!ai,[`${qn}-expanded`]:ai&&ri,[`${qn}-collapsed`]:ai&&!ri}),"aria-label":ri?mt.collapse:mt.expand,"aria-expanded":ri})}}var ts=Ra;function cs(mt,Et){return"key"in mt&&mt.key!==void 0&&mt.key!==null?mt.key:mt.dataIndex?Array.isArray(mt.dataIndex)?mt.dataIndex.join("."):mt.dataIndex:Et}function Qa(mt,Et){return Et?`${Et}-${mt}`:`${mt}`}function ks(mt,Et){return typeof mt=="function"?mt(Et):mt}function Ds(mt,Et){const rn=ks(mt,Et);return Object.prototype.toString.call(rn)==="[object Object]"?"":rn}var jn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},gs=jn,Ql=oe(88853),Kl=function(Et,rn){return Ee.createElement(Ql.Z,(0,tt.Z)({},Et,{ref:rn,icon:gs}))},Oo=Ee.forwardRef(Kl),ma=Oo,ds=oe(56762);function aa(mt){const Et=Ee.useRef(mt),rn=(0,ds.Z)();return[()=>Et.current,cn=>{Et.current=cn,rn()}]}var Xr=oe(3113),Qr=oe(24905),ns=oe(38854),so=oe(64165),Po=oe(20834),Mo=oe(40875),$i=oe(5112),Ja=oe(86914),xs=oe(21970),ul=oe(92832);function Yl(mt){let{value:Et,onChange:rn,filterSearch:cn,tablePrefixCls:Dn,locale:xn}=mt;return cn?Ee.createElement("div",{className:`${Dn}-filter-dropdown-search`},Ee.createElement(ul.default,{prefix:Ee.createElement(xs.Z,null),placeholder:xn.filterSearchPlaceholder,onChange:rn,value:Et,htmlSize:1,className:`${Dn}-filter-dropdown-search-input`})):null}var Jl=Yl,_i=oe(85108);const is=mt=>{const{keyCode:Et}=mt;Et===_i.Z.ENTER&&mt.stopPropagation()};var tu=Ee.forwardRef((mt,Et)=>Ee.createElement("div",{className:mt.className,onClick:rn=>rn.stopPropagation(),onKeyDown:is,ref:Et},mt.children));function ui(mt){let Et=[];return(mt||[]).forEach(rn=>{let{value:cn,children:Dn}=rn;Et.push(cn),Dn&&(Et=[].concat((0,Gi.Z)(Et),(0,Gi.Z)(ui(Dn))))}),Et}function du(mt){return mt.some(Et=>{let{children:rn}=Et;return rn})}function wo(mt,Et){return typeof Et=="string"||typeof Et=="number"?Et==null?void 0:Et.toString().toLowerCase().includes(mt.trim().toLowerCase()):!1}function Uc(mt){let{filters:Et,prefixCls:rn,filteredKeys:cn,filterMultiple:Dn,searchValue:xn,filterSearch:ri}=mt;return Et.map((ai,qn)=>{const bi=String(ai.value);if(ai.children)return{key:bi||qn,label:ai.text,popupClassName:`${rn}-dropdown-submenu`,children:Uc({filters:ai.children,prefixCls:rn,filteredKeys:cn,filterMultiple:Dn,searchValue:xn,filterSearch:ri})};const Ni=Dn?Qr.default:$i.ZP,Ei={key:ai.value!==void 0?bi:qn,label:Ee.createElement(Ee.Fragment,null,Ee.createElement(Ni,{checked:cn.includes(bi)}),Ee.createElement("span",null,ai.text))};return xn.trim()?typeof ri=="function"?ri(xn,ai)?Ei:null:wo(xn,ai.text)?Ei:null:Ei})}function Wl(mt){var Et,rn;const{tablePrefixCls:cn,prefixCls:Dn,column:xn,dropdownPrefixCls:ri,columnKey:ai,filterMultiple:qn,filterMode:bi="menu",filterSearch:Ni=!1,filterState:Ei,triggerFilter:qi,locale:Ki,children:Ui,getPopupContainer:Lr}=mt,{filterDropdownOpen:Vi,onFilterDropdownOpenChange:Pr,filterResetToDefaultFilteredValue:yr,defaultFilteredValue:jr,filterDropdownVisible:So,onFilterDropdownVisibleChange:Lo}=xn,[Tr,mo]=Ee.useState(!1),Zo=!!(Ei&&(!((Et=Ei.filteredKeys)===null||Et===void 0)&&Et.length||Ei.forceFiltered)),Hr=ho=>{mo(ho),Pr==null||Pr(ho),Lo==null||Lo(ho)},uo=(rn=Vi!=null?Vi:So)!==null&&rn!==void 0?rn:Tr,vr=Ei==null?void 0:Ei.filteredKeys,[cr,to]=aa(vr||[]),Co=ho=>{let{selectedKeys:Yo}=ho;to(Yo)},Ro=(ho,Yo)=>{let{node:Sa,checked:ja}=Yo;Co(qn?{selectedKeys:ho}:{selectedKeys:ja&&Sa.key?[Sa.key]:[]})};Ee.useEffect(()=>{Tr&&Co({selectedKeys:vr||[]})},[vr]);const[jo,Or]=Ee.useState([]),Qo=ho=>{Or(ho)},[Jo,Da]=Ee.useState(""),la=ho=>{const{value:Yo}=ho.target;Da(Yo)};Ee.useEffect(()=>{Tr||Da("")},[Tr]);const Ms=ho=>{const Yo=ho&&ho.length?ho:null;if(Yo===null&&(!Ei||!Ei.filteredKeys)||(0,Ke.Z)(Yo,Ei==null?void 0:Ei.filteredKeys,!0))return null;qi({column:xn,key:ai,filteredKeys:Yo})},vs=()=>{Hr(!1),Ms(cr())},ea=function(){let{confirm:ho,closeDropdown:Yo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ho&&Ms([]),Yo&&Hr(!1),Da(""),to(yr?(jr||[]).map(Sa=>String(Sa)):[])},No=function(){let{closeDropdown:ho}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ho&&Hr(!1),Ms(cr())},Ba=ho=>{ho&&vr!==void 0&&to(vr||[]),Hr(ho),!ho&&!xn.filterDropdown&&vs()},bs=Pt()({[`${ri}-menu-without-submenu`]:!du(xn.filters||[])}),ys=ho=>{if(ho.target.checked){const Yo=ui(xn==null?void 0:xn.filters).map(Sa=>String(Sa));to(Yo)}else to([])},qs=ho=>{let{filters:Yo}=ho;return(Yo||[]).map((Sa,ja)=>{const xl=String(Sa.value),al={title:Sa.text,key:Sa.value!==void 0?xl:ja};return Sa.children&&(al.children=qs({filters:Sa.children})),al})},_o=ho=>{var Yo;return Object.assign(Object.assign({},ho),{text:ho.title,value:ho.key,children:((Yo=ho.children)===null||Yo===void 0?void 0:Yo.map(Sa=>_o(Sa)))||[]})};let wi;if(typeof xn.filterDropdown=="function")wi=xn.filterDropdown({prefixCls:`${ri}-custom`,setSelectedKeys:ho=>Co({selectedKeys:ho}),selectedKeys:cr(),confirm:No,clearFilters:ea,filters:xn.filters,visible:uo,close:()=>{Hr(!1)}});else if(xn.filterDropdown)wi=xn.filterDropdown;else{const ho=cr()||[],Yo=()=>(xn.filters||[]).length===0?Ee.createElement(so.Z,{image:so.Z.PRESENTED_IMAGE_SIMPLE,description:Ki.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):bi==="tree"?Ee.createElement(Ee.Fragment,null,Ee.createElement(Jl,{filterSearch:Ni,value:Jo,onChange:la,tablePrefixCls:cn,locale:Ki}),Ee.createElement("div",{className:`${cn}-filter-dropdown-tree`},qn?Ee.createElement(Qr.default,{checked:ho.length===ui(xn.filters).length,indeterminate:ho.length>0&&ho.lengthtypeof Ni=="function"?Ni(Jo,_o(ja)):wo(Jo,ja.title):void 0}))):Ee.createElement(Ee.Fragment,null,Ee.createElement(Jl,{filterSearch:Ni,value:Jo,onChange:la,tablePrefixCls:cn,locale:Ki}),Ee.createElement(Po.default,{selectable:!0,multiple:qn,prefixCls:`${ri}-menu`,className:bs,onSelect:Co,onDeselect:Co,selectedKeys:ho,getPopupContainer:Lr,openKeys:jo,onOpenChange:Qo,items:Uc({filters:xn.filters||[],filterSearch:Ni,prefixCls:Dn,filteredKeys:cr(),filterMultiple:qn,searchValue:Jo})})),Sa=()=>yr?(0,Ke.Z)((jr||[]).map(ja=>String(ja)),ho,!0):ho.length===0;wi=Ee.createElement(Ee.Fragment,null,Yo(),Ee.createElement("div",{className:`${Dn}-dropdown-btns`},Ee.createElement(Xr.ZP,{type:"link",size:"small",disabled:Sa(),onClick:()=>ea()},Ki.filterReset),Ee.createElement(Xr.ZP,{type:"primary",size:"small",onClick:vs},Ki.filterConfirm)))}xn.filterDropdown&&(wi=Ee.createElement(Mo.J,{selectable:void 0},wi));const er=()=>Ee.createElement(tu,{className:`${Dn}-dropdown`},wi);let qr;typeof xn.filterIcon=="function"?qr=xn.filterIcon(Zo):xn.filterIcon?qr=xn.filterIcon:qr=Ee.createElement(ma,null);const{direction:La}=Ee.useContext(gr.E_);return Ee.createElement("div",{className:`${Dn}-column`},Ee.createElement("span",{className:`${cn}-column-title`},Ui),Ee.createElement(ns.Z,{dropdownRender:er,trigger:["click"],open:uo,onOpenChange:Ba,getPopupContainer:Lr,placement:La==="rtl"?"bottomLeft":"bottomRight"},Ee.createElement("span",{role:"button",tabIndex:-1,className:Pt()(`${Dn}-trigger`,{active:Zo}),onClick:ho=>{ho.stopPropagation()}},qr)))}var $l=Wl;function Fl(mt,Et,rn){let cn=[];return(mt||[]).forEach((Dn,xn)=>{var ri;const ai=Qa(xn,rn);if(Dn.filters||"filterDropdown"in Dn||"onFilter"in Dn)if("filteredValue"in Dn){let qn=Dn.filteredValue;"filterDropdown"in Dn||(qn=(ri=qn==null?void 0:qn.map(String))!==null&&ri!==void 0?ri:qn),cn.push({column:Dn,key:cs(Dn,ai),filteredKeys:qn,forceFiltered:Dn.filtered})}else cn.push({column:Dn,key:cs(Dn,ai),filteredKeys:Et&&Dn.defaultFilteredValue?Dn.defaultFilteredValue:void 0,forceFiltered:Dn.filtered});"children"in Dn&&(cn=[].concat((0,Gi.Z)(cn),(0,Gi.Z)(Fl(Dn.children,Et,ai))))}),cn}function Zu(mt,Et,rn,cn,Dn,xn,ri,ai){return rn.map((qn,bi)=>{const Ni=Qa(bi,ai),{filterMultiple:Ei=!0,filterMode:qi,filterSearch:Ki}=qn;let Ui=qn;if(Ui.filters||Ui.filterDropdown){const Lr=cs(Ui,Ni),Vi=cn.find(Pr=>{let{key:yr}=Pr;return Lr===yr});Ui=Object.assign(Object.assign({},Ui),{title:Pr=>Ee.createElement($l,{tablePrefixCls:mt,prefixCls:`${mt}-filter`,dropdownPrefixCls:Et,column:Ui,columnKey:Lr,filterState:Vi,filterMultiple:Ei,filterMode:qi,filterSearch:Ki,triggerFilter:xn,locale:Dn,getPopupContainer:ri},ks(qn.title,Pr))})}return"children"in Ui&&(Ui=Object.assign(Object.assign({},Ui),{children:Zu(mt,Et,Ui.children,cn,Dn,xn,ri,Ni)})),Ui})}function Ws(mt){const Et={};return mt.forEach(rn=>{let{key:cn,filteredKeys:Dn,column:xn}=rn;const{filters:ri,filterDropdown:ai}=xn;if(ai)Et[cn]=Dn||null;else if(Array.isArray(Dn)){const qn=ui(ri);Et[cn]=qn.filter(bi=>Dn.includes(String(bi)))}else Et[cn]=null}),Et}function Zs(mt,Et){return Et.reduce((rn,cn)=>{const{column:{onFilter:Dn,filters:xn},filteredKeys:ri}=cn;return Dn&&ri&&ri.length?rn.filter(ai=>ri.some(qn=>{const bi=ui(xn),Ni=bi.findIndex(qi=>String(qi)===String(qn)),Ei=Ni!==-1?bi[Ni]:qn;return Dn(Ei,ai)})):rn},mt)}const Al=mt=>mt.flatMap(Et=>"children"in Et?[Et].concat((0,Gi.Z)(Al(Et.children||[]))):[Et]);function Jc(mt){let{prefixCls:Et,dropdownPrefixCls:rn,mergedColumns:cn,onFilterChange:Dn,getPopupContainer:xn,locale:ri}=mt;const ai=Ee.useMemo(()=>Al(cn||[]),[cn]),[qn,bi]=Ee.useState(()=>Fl(ai,!0)),Ni=Ee.useMemo(()=>{const Ui=Fl(ai,!1);if(Ui.length===0)return Ui;let Lr=!0,Vi=!0;if(Ui.forEach(Pr=>{let{filteredKeys:yr}=Pr;yr!==void 0?Lr=!1:Vi=!1}),Lr){const Pr=(ai||[]).map((yr,jr)=>cs(yr,Qa(jr)));return qn.filter(yr=>{let{key:jr}=yr;return Pr.includes(jr)}).map(yr=>{const jr=ai[Pr.findIndex(So=>So===yr.key)];return Object.assign(Object.assign({},yr),{column:Object.assign(Object.assign({},yr.column),jr),forceFiltered:jr.filtered})})}return Ui},[ai,qn]),Ei=Ee.useMemo(()=>Ws(Ni),[Ni]),qi=Ui=>{const Lr=Ni.filter(Vi=>{let{key:Pr}=Vi;return Pr!==Ui.key});Lr.push(Ui),bi(Lr),Dn(Ws(Lr),Lr)};return[Ui=>Zu(Et,rn,Ui,Ni,ri,qi,xn),Ni,Ei]}var qc=Jc;function Pc(mt,Et,rn){const cn=Ee.useRef({});function Dn(xn){if(!cn.current||cn.current.data!==mt||cn.current.childrenColumnName!==Et||cn.current.getRowKey!==rn){let ai=function(qn){qn.forEach((bi,Ni)=>{const Ei=rn(bi,Ni);ri.set(Ei,bi),bi&&typeof bi=="object"&&Et in bi&&ai(bi[Et]||[])})};const ri=new Map;ai(mt),cn.current={data:mt,childrenColumnName:Et,kvMap:ri,getRowKey:rn}}return cn.current.kvMap.get(xn)}return[Dn]}var md=oe(50371),ed=function(mt,Et){var rn={};for(var cn in mt)Object.prototype.hasOwnProperty.call(mt,cn)&&Et.indexOf(cn)<0&&(rn[cn]=mt[cn]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dn=0,cn=Object.getOwnPropertySymbols(mt);Dn{const xn=mt[Dn];typeof xn!="function"&&(rn[Dn]=xn)}),rn}function Ht(mt,Et,rn){const cn=rn&&typeof rn=="object"?rn:{},{total:Dn=0}=cn,xn=ed(cn,["total"]),[ri,ai]=(0,Ee.useState)(()=>({current:"defaultCurrent"in xn?xn.defaultCurrent:1,pageSize:"defaultPageSize"in xn?xn.defaultPageSize:Xn})),qn=(0,md.Z)(ri,xn,{total:Dn>0?Dn:mt}),bi=Math.ceil((Dn||mt)/qn.pageSize);qn.current>bi&&(qn.current=bi||1);const Ni=(qi,Ki)=>{ai({current:qi!=null?qi:1,pageSize:Ki||qn.pageSize})},Ei=(qi,Ki)=>{var Ui;rn&&((Ui=rn.onChange)===null||Ui===void 0||Ui.call(rn,qi,Ki)),Ni(qi,Ki),Et(qi,Ki||(qn==null?void 0:qn.pageSize))};return rn===!1?[{},()=>{}]:[Object.assign(Object.assign({},qn),{onChange:Ei}),Ni]}var Ao=Ht,ta=oe(18290),sa=oe(35654),Vr=oe(90782),Jr=oe(71430),Br=oe(35788);const rr={},ro="SELECT_ALL",Na="SELECT_INVERT",Ia="SELECT_NONE",Ho=[],Bo=(mt,Et)=>{let rn=[];return(Et||[]).forEach(cn=>{rn.push(cn),cn&&typeof cn=="object"&&mt in cn&&(rn=[].concat((0,Gi.Z)(rn),(0,Gi.Z)(Bo(mt,cn[mt]))))}),rn};var Bs=(mt,Et)=>{const{preserveSelectedRowKeys:rn,selectedRowKeys:cn,defaultSelectedRowKeys:Dn,getCheckboxProps:xn,onChange:ri,onSelect:ai,onSelectAll:qn,onSelectInvert:bi,onSelectNone:Ni,onSelectMultiple:Ei,columnWidth:qi,type:Ki,selections:Ui,fixed:Lr,renderCell:Vi,hideSelectAll:Pr,checkStrictly:yr=!0}=Et||{},{prefixCls:jr,data:So,pageData:Lo,getRecordByKey:Tr,getRowKey:mo,expandType:Zo,childrenColumnName:Hr,locale:uo,getPopupContainer:vr}=mt,[cr,to]=(0,Br.Z)(cn||Dn||Ho,{value:cn}),Co=Ee.useRef(new Map),Ro=(0,Ee.useCallback)(_o=>{if(rn){const wi=new Map;_o.forEach(er=>{let qr=Tr(er);!qr&&Co.current.has(er)&&(qr=Co.current.get(er)),wi.set(er,qr)}),Co.current=wi}},[Tr,rn]);Ee.useEffect(()=>{Ro(cr)},[cr]);const{keyEntities:jo}=(0,Ee.useMemo)(()=>{if(yr)return{keyEntities:null};let _o=So;if(rn){const wi=new Set(So.map((qr,La)=>mo(qr,La))),er=Array.from(Co.current).reduce((qr,La)=>{let[ho,Yo]=La;return wi.has(ho)?qr:qr.concat(Yo)},[]);_o=[].concat((0,Gi.Z)(_o),(0,Gi.Z)(er))}return(0,Jr.I8)(_o,{externalGetKey:mo,childrenPropName:Hr})},[So,mo,yr,Hr,rn]),Or=(0,Ee.useMemo)(()=>Bo(Hr,Lo),[Hr,Lo]),Qo=(0,Ee.useMemo)(()=>{const _o=new Map;return Or.forEach((wi,er)=>{const qr=mo(wi,er),La=(xn?xn(wi):null)||{};_o.set(qr,La)}),_o},[Or,mo,xn]),Jo=(0,Ee.useCallback)(_o=>{var wi;return!!(!((wi=Qo.get(mo(_o)))===null||wi===void 0)&&wi.disabled)},[Qo,mo]),[Da,la]=(0,Ee.useMemo)(()=>{if(yr)return[cr||[],[]];const{checkedKeys:_o,halfCheckedKeys:wi}=(0,Vr.S)(cr,!0,jo,Jo);return[_o||[],wi]},[cr,yr,jo,Jo]),Ms=(0,Ee.useMemo)(()=>{const _o=Ki==="radio"?Da.slice(0,1):Da;return new Set(_o)},[Da,Ki]),vs=(0,Ee.useMemo)(()=>Ki==="radio"?new Set:new Set(la),[la,Ki]),[ea,No]=(0,Ee.useState)(null);Ee.useEffect(()=>{Et||to(Ho)},[!!Et]);const Ba=(0,Ee.useCallback)((_o,wi)=>{let er,qr;Ro(_o),rn?(er=_o,qr=_o.map(La=>Co.current.get(La))):(er=[],qr=[],_o.forEach(La=>{const ho=Tr(La);ho!==void 0&&(er.push(La),qr.push(ho))})),to(er),ri==null||ri(er,qr,{type:wi})},[to,Tr,ri,rn]),bs=(0,Ee.useCallback)((_o,wi,er,qr)=>{if(ai){const La=er.map(ho=>Tr(ho));ai(Tr(_o),wi,La,qr)}Ba(er,"single")},[ai,Tr,Ba]),ys=(0,Ee.useMemo)(()=>!Ui||Pr?null:(Ui===!0?[ro,Na,Ia]:Ui).map(wi=>wi===ro?{key:"all",text:uo.selectionAll,onSelect(){Ba(So.map((er,qr)=>mo(er,qr)).filter(er=>{const qr=Qo.get(er);return!(qr!=null&&qr.disabled)||Ms.has(er)}),"all")}}:wi===Na?{key:"invert",text:uo.selectInvert,onSelect(){const er=new Set(Ms);Lo.forEach((La,ho)=>{const Yo=mo(La,ho),Sa=Qo.get(Yo);Sa!=null&&Sa.disabled||(er.has(Yo)?er.delete(Yo):er.add(Yo))});const qr=Array.from(er);bi&&bi(qr),Ba(qr,"invert")}}:wi===Ia?{key:"none",text:uo.selectNone,onSelect(){Ni==null||Ni(),Ba(Array.from(Ms).filter(er=>{const qr=Qo.get(er);return qr==null?void 0:qr.disabled}),"none")}}:wi).map(wi=>Object.assign(Object.assign({},wi),{onSelect:function(){for(var er,qr,La=arguments.length,ho=new Array(La),Yo=0;Yo{var wi;if(!Et)return _o.filter(Za=>Za!==rr);let er=(0,Gi.Z)(_o);const qr=new Set(Ms),La=Or.map(mo).filter(Za=>!Qo.get(Za).disabled),ho=La.every(Za=>qr.has(Za)),Yo=La.some(Za=>qr.has(Za)),Sa=()=>{const Za=[];ho?La.forEach(Ss=>{qr.delete(Ss),Za.push(Ss)}):La.forEach(Ss=>{qr.has(Ss)||(qr.add(Ss),Za.push(Ss))});const os=Array.from(qr);qn==null||qn(!ho,os.map(Ss=>Tr(Ss)),Za.map(Ss=>Tr(Ss))),Ba(os,"all"),No(null)};let ja;if(Ki!=="radio"){let Za;if(ys){const xa={getPopupContainer:vr,items:ys.map((ws,Ll)=>{const{key:hl,text:Qu,onSelect:Iu}=ws;return{key:hl!=null?hl:Ll,onClick:()=>{Iu==null||Iu(La)},label:Qu}})};Za=Ee.createElement("div",{className:`${jr}-selection-extra`},Ee.createElement(ns.Z,{menu:xa,getPopupContainer:vr},Ee.createElement("span",null,Ee.createElement(ta.Z,null))))}const os=Or.map((xa,ws)=>{const Ll=mo(xa,ws),hl=Qo.get(Ll)||{};return Object.assign({checked:qr.has(Ll)},hl)}).filter(xa=>{let{disabled:ws}=xa;return ws}),Ss=!!os.length&&os.length===Or.length,Vs=Ss&&os.every(xa=>{let{checked:ws}=xa;return ws}),dl=Ss&&os.some(xa=>{let{checked:ws}=xa;return ws});ja=!Pr&&Ee.createElement("div",{className:`${jr}-selection`},Ee.createElement(Qr.default,{checked:Ss?Vs:!!Or.length&&ho,indeterminate:Ss?!Vs&&dl:!ho&&Yo,onChange:Sa,disabled:Or.length===0||Ss,"aria-label":Za?"Custom selection":"Select all",skipGroup:!0}),Za)}let xl;Ki==="radio"?xl=(Za,os,Ss)=>{const Vs=mo(os,Ss),dl=qr.has(Vs);return{node:Ee.createElement($i.ZP,Object.assign({},Qo.get(Vs),{checked:dl,onClick:xa=>xa.stopPropagation(),onChange:xa=>{qr.has(Vs)||bs(Vs,!0,[Vs],xa.nativeEvent)}})),checked:dl}}:xl=(Za,os,Ss)=>{var Vs;const dl=mo(os,Ss),xa=qr.has(dl),ws=vs.has(dl),Ll=Qo.get(dl);let hl;return Zo==="nest"?hl=ws:hl=(Vs=Ll==null?void 0:Ll.indeterminate)!==null&&Vs!==void 0?Vs:ws,{node:Ee.createElement(Qr.default,Object.assign({},Ll,{indeterminate:hl,checked:xa,skipGroup:!0,onClick:Qu=>Qu.stopPropagation(),onChange:Qu=>{let{nativeEvent:Iu}=Qu;const{shiftKey:lc}=Iu;let uc=-1,Ju=-1;if(lc&&yr){const qa=new Set([ea,dl]);La.some((bl,Ks)=>{if(qa.has(bl))if(uc===-1)uc=Ks;else return Ju=Ks,!0;return!1})}if(Ju!==-1&&uc!==Ju&&yr){const qa=La.slice(uc,Ju+1),bl=[];xa?qa.forEach(Es=>{qr.has(Es)&&(bl.push(Es),qr.delete(Es))}):qa.forEach(Es=>{qr.has(Es)||(bl.push(Es),qr.add(Es))});const Ks=Array.from(qr);Ei==null||Ei(!xa,Ks.map(Es=>Tr(Es)),bl.map(Es=>Tr(Es))),Ba(Ks,"multiple")}else{const qa=Da;if(yr){const bl=xa?(0,sa._5)(qa,dl):(0,sa.L0)(qa,dl);bs(dl,!xa,bl,Iu)}else{const bl=(0,Vr.S)([].concat((0,Gi.Z)(qa),[dl]),!0,jo,Jo),{checkedKeys:Ks,halfCheckedKeys:Es}=bl;let fu=Ks;if(xa){const id=new Set(Ks);id.delete(dl),fu=(0,Vr.S)(Array.from(id),{checked:!1,halfCheckedKeys:Es},jo,Jo).checkedKeys}bs(dl,!xa,fu,Iu)}}No(xa?null:dl)}})),checked:xa}};const al=(Za,os,Ss)=>{const{node:Vs,checked:dl}=xl(Za,os,Ss);return Vi?Vi(dl,os,Ss,Vs):Vs};if(!er.includes(rr))if(er.findIndex(Za=>{var os;return((os=Za[lr])===null||os===void 0?void 0:os.columnType)==="EXPAND_COLUMN"})===0){const[Za,...os]=er;er=[Za,rr].concat((0,Gi.Z)(os))}else er=[rr].concat((0,Gi.Z)(er));const ql=er.indexOf(rr);er=er.filter((Za,os)=>Za!==rr||os===ql);const Ya=er[ql-1],_l=er[ql+1];let sl=Lr;sl===void 0&&((_l==null?void 0:_l.fixed)!==void 0?sl=_l.fixed:(Ya==null?void 0:Ya.fixed)!==void 0&&(sl=Ya.fixed)),sl&&Ya&&((wi=Ya[lr])===null||wi===void 0?void 0:wi.columnType)==="EXPAND_COLUMN"&&Ya.fixed===void 0&&(Ya.fixed=sl);const Ml=Pt()(`${jr}-selection-col`,{[`${jr}-selection-col-with-dropdown`]:Ui&&Ki==="checkbox"}),Hc={fixed:sl,width:qi,className:`${jr}-selection-column`,title:Et.columnTitle||ja,render:al,onCell:Et.onCell,[lr]:{className:Ml}};return er.map(Za=>Za===rr?Hc:Za)},[mo,Or,Et,Da,Ms,vs,qi,ys,Zo,ea,Qo,Ei,bs,Jo]),Ms]},ka=oe(35323),Nl=oe(19155),js=oe(6848);const $s="ascend",fr="descend";function va(mt){return typeof mt.sorter=="object"&&typeof mt.sorter.multiple=="number"?mt.sorter.multiple:!1}function Wt(mt){return typeof mt=="function"?mt:mt&&typeof mt=="object"&&mt.compare?mt.compare:!1}function di(mt,Et){return Et?mt[mt.indexOf(Et)+1]:mt[0]}function Ns(mt,Et,rn){let cn=[];function Dn(xn,ri){cn.push({column:xn,key:cs(xn,ri),multiplePriority:va(xn),sortOrder:xn.sortOrder})}return(mt||[]).forEach((xn,ri)=>{const ai=Qa(ri,rn);xn.children?("sortOrder"in xn&&Dn(xn,ai),cn=[].concat((0,Gi.Z)(cn),(0,Gi.Z)(Ns(xn.children,Et,ai)))):xn.sorter&&("sortOrder"in xn?Dn(xn,ai):Et&&xn.defaultSortOrder&&cn.push({column:xn,key:cs(xn,ai),multiplePriority:va(xn),sortOrder:xn.defaultSortOrder}))}),cn}function ps(mt,Et,rn,cn,Dn,xn,ri,ai){return(Et||[]).map((qn,bi)=>{const Ni=Qa(bi,ai);let Ei=qn;if(Ei.sorter){const qi=Ei.sortDirections||Dn,Ki=Ei.showSorterTooltip===void 0?ri:Ei.showSorterTooltip,Ui=cs(Ei,Ni),Lr=rn.find(Zo=>{let{key:Hr}=Zo;return Hr===Ui}),Vi=Lr?Lr.sortOrder:null,Pr=di(qi,Vi);let yr;if(qn.sortIcon)yr=qn.sortIcon({sortOrder:Vi});else{const Zo=qi.includes($s)&&Ee.createElement(Nl.Z,{className:Pt()(`${mt}-column-sorter-up`,{active:Vi===$s})}),Hr=qi.includes(fr)&&Ee.createElement(ka.Z,{className:Pt()(`${mt}-column-sorter-down`,{active:Vi===fr})});yr=Ee.createElement("span",{className:Pt()(`${mt}-column-sorter`,{[`${mt}-column-sorter-full`]:!!(Zo&&Hr)})},Ee.createElement("span",{className:`${mt}-column-sorter-inner`,"aria-hidden":"true"},Zo,Hr))}const{cancelSort:jr,triggerAsc:So,triggerDesc:Lo}=xn||{};let Tr=jr;Pr===fr?Tr=Lo:Pr===$s&&(Tr=So);const mo=typeof Ki=="object"?Ki:{title:Tr};Ei=Object.assign(Object.assign({},Ei),{className:Pt()(Ei.className,{[`${mt}-column-sort`]:Vi}),title:Zo=>{const Hr=Ee.createElement("div",{className:`${mt}-column-sorters`},Ee.createElement("span",{className:`${mt}-column-title`},ks(qn.title,Zo)),yr);return Ki?Ee.createElement(js.Z,Object.assign({},mo),Hr):Hr},onHeaderCell:Zo=>{const Hr=qn.onHeaderCell&&qn.onHeaderCell(Zo)||{},uo=Hr.onClick,vr=Hr.onKeyDown;Hr.onClick=Co=>{cn({column:qn,key:Ui,sortOrder:Pr,multiplePriority:va(qn)}),uo==null||uo(Co)},Hr.onKeyDown=Co=>{Co.keyCode===_i.Z.ENTER&&(cn({column:qn,key:Ui,sortOrder:Pr,multiplePriority:va(qn)}),vr==null||vr(Co))};const cr=Ds(qn.title,{}),to=cr==null?void 0:cr.toString();return Vi?Hr["aria-sort"]=Vi==="ascend"?"ascending":"descending":Hr["aria-label"]=to||"",Hr.className=Pt()(Hr.className,`${mt}-column-has-sorters`),Hr.tabIndex=0,qn.ellipsis&&(Hr.title=(cr!=null?cr:"").toString()),Hr}})}return"children"in Ei&&(Ei=Object.assign(Object.assign({},Ei),{children:ps(mt,Ei.children,rn,cn,Dn,xn,ri,Ni)})),Ei})}function cl(mt){const{column:Et,sortOrder:rn}=mt;return{column:Et,order:rn,field:Et.dataIndex,columnKey:Et.key}}function Os(mt){const Et=mt.filter(rn=>{let{sortOrder:cn}=rn;return cn}).map(cl);return Et.length===0&&mt.length?Object.assign(Object.assign({},cl(mt[mt.length-1])),{column:void 0}):Et.length<=1?Et[0]||{}:Et}function nu(mt,Et,rn){const cn=Et.slice().sort((ri,ai)=>ai.multiplePriority-ri.multiplePriority),Dn=mt.slice(),xn=cn.filter(ri=>{let{column:{sorter:ai},sortOrder:qn}=ri;return Wt(ai)&&qn});return xn.length?Dn.sort((ri,ai)=>{for(let qn=0;qn{const ai=ri[rn];return ai?Object.assign(Object.assign({},ri),{[rn]:nu(ai,Et,rn)}):ri}):Dn}function hu(mt){let{prefixCls:Et,mergedColumns:rn,onSorterChange:cn,sortDirections:Dn,tableLocale:xn,showSorterTooltip:ri}=mt;const[ai,qn]=Ee.useState(Ns(rn,!0)),bi=Ee.useMemo(()=>{let Ui=!0;const Lr=Ns(rn,!1);if(!Lr.length)return ai;const Vi=[];function Pr(jr){Ui?Vi.push(jr):Vi.push(Object.assign(Object.assign({},jr),{sortOrder:null}))}let yr=null;return Lr.forEach(jr=>{yr===null?(Pr(jr),jr.sortOrder&&(jr.multiplePriority===!1?Ui=!1:yr=!0)):(yr&&jr.multiplePriority!==!1||(Ui=!1),Pr(jr))}),Vi},[rn,ai]),Ni=Ee.useMemo(()=>{const Ui=bi.map(Lr=>{let{column:Vi,sortOrder:Pr}=Lr;return{column:Vi,order:Pr}});return{sortColumns:Ui,sortColumn:Ui[0]&&Ui[0].column,sortOrder:Ui[0]&&Ui[0].order}},[bi]);function Ei(Ui){let Lr;Ui.multiplePriority===!1||!bi.length||bi[0].multiplePriority===!1?Lr=[Ui]:Lr=[].concat((0,Gi.Z)(bi.filter(Vi=>{let{key:Pr}=Vi;return Pr!==Ui.key})),[Ui]),qn(Lr),cn(Os(Lr),Lr)}return[Ui=>ps(Et,Ui,bi,Ei,Dn,xn,ri),bi,Ni,()=>Os(bi)]}function Vu(mt,Et){return mt.map(rn=>{const cn=Object.assign({},rn);return cn.title=ks(rn.title,Et),"children"in cn&&(cn.children=Vu(cn.children,Et)),cn})}function rs(mt){return[Ee.useCallback(rn=>Vu(rn,mt),[mt])]}var Eo=br((mt,Et)=>{const{_renderTimes:rn}=mt,{_renderTimes:cn}=Et;return rn!==cn}),Fa=Ko((mt,Et)=>{const{_renderTimes:rn}=mt,{_renderTimes:cn}=Et;return rn!==cn}),Gr=oe(64993),za=oe(17313),qo=oe(83116),ol=oe(37613),oo=mt=>{const{componentCls:Et}=mt,rn=`${mt.lineWidth}px ${mt.lineType} ${mt.tableBorderColor}`,cn=(Dn,xn,ri)=>({[`&${Et}-${Dn}`]:{[`> ${Et}-container`]:{[`> ${Et}-content, > ${Et}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Et}-expanded-row-fixed`]:{margin:`-${xn}px -${ri+mt.lineWidth}px`}}}}}});return{[`${Et}-wrapper`]:{[`${Et}${Et}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Et}-title`]:{border:rn,borderBottom:0},[`> ${Et}-container`]:{borderInlineStart:rn,borderTop:rn,[` + `]:Object.assign({},ze(St))}}};var We=(0,Je.Z)("Skeleton",St=>{const{componentCls:rt}=St,Ft=(0,Ye.TS)(St,{skeletonAvatarCls:`${rt}-avatar`,skeletonTitleCls:`${rt}-title`,skeletonParagraphCls:`${rt}-paragraph`,skeletonButtonCls:`${rt}-button`,skeletonInputCls:`${rt}-input`,skeletonImageCls:`${rt}-image`,imageSizeBase:St.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${St.gradientFromColor} 25%, ${St.gradientToColor} 37%, ${St.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Te(Ft)]},St=>{const{colorFillContent:rt,colorFill:Ft}=St,Ot=rt,ft=Ft;return{color:Ot,colorGradientEnd:ft,gradientFromColor:Ot,gradientToColor:ft,titleHeight:St.controlHeight/2,blockRadius:St.borderRadiusSM,paragraphMarginTop:St.marginLG+St.marginXXS,paragraphLiHeight:St.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),st=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,active:ft,shape:ct="circle",size:Ge="default"}=St,{getPrefixCls:Ae}=we.useContext(Ie.E_),xe=Ae("skeleton",rt),[je,Qe]=We(xe),Oe=(0,De.Z)(St,["prefixCls","className"]),xt=Ce()(xe,`${xe}-element`,{[`${xe}-active`]:ft},Ft,Ot,Qe);return je(we.createElement("div",{className:xt},we.createElement(Ee,Object.assign({prefixCls:`${xe}-avatar`,shape:ct,size:Ge},Oe))))},Mt=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,active:ft,block:ct=!1,size:Ge="default"}=St,{getPrefixCls:Ae}=we.useContext(Ie.E_),xe=Ae("skeleton",rt),[je,Qe]=We(xe),Oe=(0,De.Z)(St,["prefixCls"]),xt=Ce()(xe,`${xe}-element`,{[`${xe}-active`]:ft,[`${xe}-block`]:ct},Ft,Ot,Qe);return je(we.createElement("div",{className:xt},we.createElement(Ee,Object.assign({prefixCls:`${xe}-button`,size:Ge},Oe))))};const nt="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Pt=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,style:ft,active:ct}=St,{getPrefixCls:Ge}=we.useContext(Ie.E_),Ae=Ge("skeleton",rt),[xe,je]=We(Ae),Qe=Ce()(Ae,`${Ae}-element`,{[`${Ae}-active`]:ct},Ft,Ot,je);return xe(we.createElement("div",{className:Qe},we.createElement("div",{className:Ce()(`${Ae}-image`,Ft),style:ft},we.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Ae}-image-svg`},we.createElement("path",{d:nt,className:`${Ae}-image-path`})))))},zt=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,active:ft,block:ct,size:Ge="default"}=St,{getPrefixCls:Ae}=we.useContext(Ie.E_),xe=Ae("skeleton",rt),[je,Qe]=We(xe),Oe=(0,De.Z)(St,["prefixCls"]),xt=Ce()(xe,`${xe}-element`,{[`${xe}-active`]:ft,[`${xe}-block`]:ct},Ft,Ot,Qe);return je(we.createElement("div",{className:xt},we.createElement(Ee,Object.assign({prefixCls:`${xe}-input`,size:Ge},Oe))))},Xt=oe(5891),fn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},an=fn,it=oe(88853),Ve=function(rt,Ft){return we.createElement(it.Z,(0,Xt.Z)({},rt,{ref:Ft,icon:an}))},gt=we.forwardRef(Ve),Bt=gt,It=St=>{const{prefixCls:rt,className:Ft,rootClassName:Ot,style:ft,active:ct,children:Ge}=St,{getPrefixCls:Ae}=we.useContext(Ie.E_),xe=Ae("skeleton",rt),[je,Qe]=We(xe),Oe=Ce()(xe,`${xe}-element`,{[`${xe}-active`]:ct},Qe,Ft,Ot),xt=Ge!=null?Ge:we.createElement(Bt,null);return je(we.createElement("div",{className:Oe},we.createElement("div",{className:Ce()(`${xe}-image`,Ft),style:ft},xt)))},en=oe(26390),ei=St=>{const rt=Ae=>{const{width:xe,rows:je=2}=St;if(Array.isArray(xe))return xe[Ae];if(je-1===Ae)return xe},{prefixCls:Ft,className:Ot,style:ft,rows:ct}=St,Ge=(0,en.Z)(Array(ct)).map((Ae,xe)=>we.createElement("li",{key:xe,style:{width:rt(xe)}}));return we.createElement("ul",{className:Ce()(Ft,Ot),style:ft},Ge)},Kn=St=>{let{prefixCls:rt,className:Ft,width:Ot,style:ft}=St;return we.createElement("h3",{className:Ce()(rt,Ft),style:Object.assign({width:Ot},ft)})};function jt(St){return St&&typeof St=="object"?St:{}}function Nn(St,rt){return St&&!rt?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Gn(St,rt){return!St&&rt?{width:"38%"}:St&&rt?{width:"50%"}:{}}function ii(St,rt){const Ft={};return(!St||!rt)&&(Ft.width="61%"),!St&&rt?Ft.rows=3:Ft.rows=2,Ft}const Sn=St=>{const{prefixCls:rt,loading:Ft,className:Ot,rootClassName:ft,style:ct,children:Ge,avatar:Ae=!1,title:xe=!0,paragraph:je=!0,active:Qe,round:Oe}=St,{getPrefixCls:xt,direction:hn,skeleton:Pn}=we.useContext(Ie.E_),wt=xt("skeleton",rt),[nn,Mn]=We(wt);if(Ft||!("loading"in St)){const Zn=!!Ae,li=!!xe,xi=!!je;let Mi;if(Zn){const lr=Object.assign(Object.assign({prefixCls:`${wt}-avatar`},Nn(li,xi)),jt(Ae));Mi=we.createElement("div",{className:`${wt}-header`},we.createElement(Ee,Object.assign({},lr)))}let Si;if(li||xi){let lr;if(li){const ur=Object.assign(Object.assign({prefixCls:`${wt}-title`},Gn(Zn,xi)),jt(xe));lr=we.createElement(Kn,Object.assign({},ur))}let dr;if(xi){const ur=Object.assign(Object.assign({prefixCls:`${wt}-paragraph`},ii(Zn,li)),jt(je));dr=we.createElement(ei,Object.assign({},ur))}Si=we.createElement("div",{className:`${wt}-content`},lr,dr)}const Ri=Ce()(wt,{[`${wt}-with-avatar`]:Zn,[`${wt}-active`]:Qe,[`${wt}-rtl`]:hn==="rtl",[`${wt}-round`]:Oe},Pn==null?void 0:Pn.className,Ot,ft,Mn);return nn(we.createElement("div",{className:Ri,style:Object.assign(Object.assign({},Pn==null?void 0:Pn.style),ct)},Mi,Si))}return typeof Ge!="undefined"?Ge:null};Sn.Button=Mt,Sn.Avatar=st,Sn.Input=zt,Sn.Image=Pt,Sn.Node=It;var Yt=Sn,Zt=Yt},81327:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ge}});var se=oe(59301),Ce=oe(92310),we=oe.n(Ce),Ie=oe(38298),De=oe(36355),Ke=oe(33234);const Ee=se.createContext({latestIndex:0}),et=Ee.Provider;var Ye=ue=>{let{className:me,index:Se,children:Ne,split:ke,style:Te}=ue;const{latestIndex:We}=se.useContext(Ee);return Ne==null?null:se.createElement(se.Fragment,null,se.createElement("div",{className:me,style:Te},Ne),Se{var Se,Ne;const{getPrefixCls:ke,space:Te,direction:We}=se.useContext(De.E_),{size:$e=(Te==null?void 0:Te.size)||"small",align:st,className:ut,rootClassName:Mt,children:nt,direction:$t="horizontal",prefixCls:Pt,split:dn,style:zt,wrap:Xt=!1,classNames:fn,styles:an}=ue,it=ze(ue,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Ve,gt]=Array.isArray($e)?$e:[$e,$e],Bt=ht(gt),sn=ht(Ve),It=kt(gt),en=kt(Ve),En=(0,Ie.Z)(nt,{keepEmpty:!0}),ei=st===void 0&&$t==="horizontal"?"center":st,An=ke("space",Pt),[Kn,jt]=(0,tt.Z)(An),Nn=we()(An,Te==null?void 0:Te.className,jt,`${An}-${$t}`,{[`${An}-rtl`]:We==="rtl",[`${An}-align-${ei}`]:ei,[`${An}-gap-row-${gt}`]:Bt,[`${An}-gap-col-${Ve}`]:sn},ut,Mt),Gn=we()(`${An}-item`,(Se=fn==null?void 0:fn.item)!==null&&Se!==void 0?Se:(Ne=Te==null?void 0:Te.classNames)===null||Ne===void 0?void 0:Ne.item);let ii=0;const Sn=En.map((St,rt)=>{var Ft,Ot;St!=null&&(ii=rt);const ft=St&&St.key||`${Gn}-${rt}`;return se.createElement(Ye,{className:Gn,key:ft,index:rt,split:dn,style:(Ft=an==null?void 0:an.item)!==null&&Ft!==void 0?Ft:(Ot=Te==null?void 0:Te.styles)===null||Ot===void 0?void 0:Ot.item},St)}),Yt=se.useMemo(()=>({latestIndex:ii}),[ii]);if(En.length===0)return null;const Zt={};return Xt&&(Zt.flexWrap="wrap"),!sn&&en&&(Zt.columnGap=Ve),!Bt&&It&&(Zt.rowGap=gt),Kn(se.createElement("div",Object.assign({ref:me,className:Nn,style:Object.assign(Object.assign(Object.assign({},Zt),Te==null?void 0:Te.style),zt)},it),se.createElement(et,{value:Yt},Sn)))});ne.Compact=Ke.ZP;var ge=ne},31797:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return We}});var se=oe(59301),Ce=oe(56762),we=oe(92343),Ie=oe(92310),De=oe.n(Ie),Ke=oe(36355),Ee=oe(78485),Je=$e=>{const{value:st,formatter:ut,precision:Mt,decimalSeparator:nt,groupSeparator:$t="",prefixCls:Pt}=$e;let dn;if(typeof ut=="function")dn=ut(st);else{const zt=String(st),Xt=zt.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Xt||zt==="-")dn=zt;else{const fn=Xt[1];let an=Xt[2]||"0",it=Xt[4]||"";an=an.replace(/\B(?=(\d{3})+(?!\d))/g,$t),typeof Mt=="number"&&(it=it.padEnd(Mt,"0").slice(0,Mt>0?Mt:0)),it&&(it=`${nt}${it}`),dn=[se.createElement("span",{key:"int",className:`${Pt}-content-value-int`},fn,an),it&&se.createElement("span",{key:"decimal",className:`${Pt}-content-value-decimal`},it)]}}return se.createElement("span",{className:`${Pt}-content-value`},dn)},Ye=oe(17313),tt=oe(83116),ht=oe(37613);const kt=$e=>{const{componentCls:st,marginXXS:ut,padding:Mt,colorTextDescription:nt,titleFontSize:$t,colorTextHeading:Pt,contentFontSize:dn,fontFamily:zt}=$e;return{[`${st}`]:Object.assign(Object.assign({},(0,Ye.Wf)($e)),{[`${st}-title`]:{marginBottom:ut,color:nt,fontSize:$t},[`${st}-skeleton`]:{paddingTop:Mt},[`${st}-content`]:{color:Pt,fontSize:dn,fontFamily:zt,[`${st}-content-value`]:{display:"inline-block",direction:"ltr"},[`${st}-content-prefix, ${st}-content-suffix`]:{display:"inline-block"},[`${st}-content-prefix`]:{marginInlineEnd:ut},[`${st}-content-suffix`]:{marginInlineStart:ut}}})}};var ze=(0,tt.Z)("Statistic",$e=>{const st=(0,ht.TS)($e,{});return[kt(st)]},$e=>{const{fontSizeHeading3:st,fontSize:ut}=$e;return{titleFontSize:ut,contentFontSize:st}}),ne=$e=>{const{prefixCls:st,className:ut,rootClassName:Mt,style:nt,valueStyle:$t,value:Pt=0,title:dn,valueRender:zt,prefix:Xt,suffix:fn,loading:an=!1,onMouseEnter:it,onMouseLeave:Ve,decimalSeparator:gt=".",groupSeparator:Bt=","}=$e,{getPrefixCls:sn,direction:It,statistic:en}=se.useContext(Ke.E_),En=sn("statistic",st),[ei,An]=ze(En),Kn=se.createElement(Je,Object.assign({decimalSeparator:gt,groupSeparator:Bt,prefixCls:En},$e,{value:Pt})),jt=De()(En,{[`${En}-rtl`]:It==="rtl"},en==null?void 0:en.className,ut,Mt,An);return ei(se.createElement("div",{className:jt,style:Object.assign(Object.assign({},en==null?void 0:en.style),nt),onMouseEnter:it,onMouseLeave:Ve},dn&&se.createElement("div",{className:`${En}-title`},dn),se.createElement(Ee.Z,{paragraph:!1,loading:an,className:`${En}-skeleton`},se.createElement("div",{style:$t,className:`${En}-content`},Xt&&se.createElement("span",{className:`${En}-content-prefix`},Xt),zt?zt(Kn):Kn,fn&&se.createElement("span",{className:`${En}-content-suffix`},fn)))))};const ge=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function ue($e,st){let ut=$e;const Mt=/\[[^\]]*]/g,nt=(st.match(Mt)||[]).map(zt=>zt.slice(1,-1)),$t=st.replace(Mt,"[]"),Pt=ge.reduce((zt,Xt)=>{let[fn,an]=Xt;if(zt.includes(fn)){const it=Math.floor(ut/an);return ut-=it*an,zt.replace(new RegExp(`${fn}+`,"g"),Ve=>{const gt=Ve.length;return it.toString().padStart(gt,"0")})}return zt},$t);let dn=0;return Pt.replace(Mt,()=>{const zt=nt[dn];return dn+=1,zt})}function me($e,st){const{format:ut=""}=st,Mt=new Date($e).getTime(),nt=Date.now(),$t=Math.max(Mt-nt,0);return ue($t,ut)}const Se=1e3/30;function Ne($e){return new Date($e).getTime()}const ke=$e=>{const{value:st,format:ut="HH:mm:ss",onChange:Mt,onFinish:nt}=$e,$t=(0,Ce.Z)(),Pt=se.useRef(null),dn=()=>{nt==null||nt(),Pt.current&&(clearInterval(Pt.current),Pt.current=null)},zt=()=>{const an=Ne(st);an>=Date.now()&&(Pt.current=setInterval(()=>{$t(),Mt==null||Mt(an-Date.now()),an(zt(),()=>{Pt.current&&(clearInterval(Pt.current),Pt.current=null)}),[st]);const Xt=(an,it)=>me(an,Object.assign(Object.assign({},it),{format:ut})),fn=an=>(0,we.Tm)(an,{title:void 0});return se.createElement(ne,Object.assign({},$e,{valueRender:fn,formatter:Xt}))};var Te=se.memo(ke);ne.Countdown=Te;var We=ne},15969:function(_e,be,oe){"use strict";oe.d(be,{N:function(){return se}});const se=Ce=>({color:Ce.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ce.motionDurationSlow}`,"&:focus, &:hover":{color:Ce.colorLinkHover},"&:active":{color:Ce.colorLinkActive}})},78673:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return $t}});var se=oe(50023),Ce=oe(92310),we=oe.n(Ce),Ie=oe(5891),De=oe(80962),Ke=oe(29043),Ee=oe(19149),et=oe(59301),Je=oe(35788),Ye=oe(85108),tt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],ht=et.forwardRef(function(Pt,dn){var zt,Xt=Pt.prefixCls,fn=Xt===void 0?"rc-switch":Xt,an=Pt.className,it=Pt.checked,Ve=Pt.defaultChecked,gt=Pt.disabled,Bt=Pt.loadingIcon,sn=Pt.checkedChildren,It=Pt.unCheckedChildren,en=Pt.onClick,En=Pt.onChange,ei=Pt.onKeyDown,An=(0,Ee.Z)(Pt,tt),Kn=(0,Je.Z)(!1,{value:it,defaultValue:Ve}),jt=(0,Ke.Z)(Kn,2),Nn=jt[0],Gn=jt[1];function ii(St,rt){var Ft=Nn;return gt||(Ft=St,Gn(Ft),En==null||En(Ft,rt)),Ft}function Sn(St){St.which===Ye.Z.LEFT?ii(!1,St):St.which===Ye.Z.RIGHT&&ii(!0,St),ei==null||ei(St)}function Yt(St){var rt=ii(!Nn,St);en==null||en(rt,St)}var Zt=we()(fn,an,(zt={},(0,De.Z)(zt,"".concat(fn,"-checked"),Nn),(0,De.Z)(zt,"".concat(fn,"-disabled"),gt),zt));return et.createElement("button",(0,Ie.Z)({},An,{type:"button",role:"switch","aria-checked":Nn,disabled:gt,className:Zt,ref:dn,onKeyDown:Sn,onClick:Yt}),Bt,et.createElement("span",{className:"".concat(fn,"-inner")},et.createElement("span",{className:"".concat(fn,"-inner-checked")},sn),et.createElement("span",{className:"".concat(fn,"-inner-unchecked")},It)))});ht.displayName="Switch";var kt=ht,ze=oe(14088),ee=oe(36355),ne=oe(1684),ge=oe(19716),ue=oe(64993),me=oe(17313),Se=oe(83116),Ne=oe(37613);const ke=Pt=>{const{componentCls:dn,trackHeightSM:zt,trackPadding:Xt,trackMinWidthSM:fn,innerMinMarginSM:an,innerMaxMarginSM:it,handleSizeSM:Ve}=Pt,gt=`${dn}-inner`;return{[dn]:{[`&${dn}-small`]:{minWidth:fn,height:zt,lineHeight:`${zt}px`,[`${dn}-inner`]:{paddingInlineStart:it,paddingInlineEnd:an,[`${gt}-checked`]:{marginInlineStart:`calc(-100% + ${Ve+Xt*2}px - ${it*2}px)`,marginInlineEnd:`calc(100% - ${Ve+Xt*2}px + ${it*2}px)`},[`${gt}-unchecked`]:{marginTop:-zt,marginInlineStart:0,marginInlineEnd:0}},[`${dn}-handle`]:{width:Ve,height:Ve},[`${dn}-loading-icon`]:{top:(Ve-Pt.switchLoadingIconSize)/2,fontSize:Pt.switchLoadingIconSize},[`&${dn}-checked`]:{[`${dn}-inner`]:{paddingInlineStart:an,paddingInlineEnd:it,[`${gt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${gt}-unchecked`]:{marginInlineStart:`calc(100% - ${Ve+Xt*2}px + ${it*2}px)`,marginInlineEnd:`calc(-100% + ${Ve+Xt*2}px - ${it*2}px)`}},[`${dn}-handle`]:{insetInlineStart:`calc(100% - ${Ve+Xt}px)`}},[`&:not(${dn}-disabled):active`]:{[`&:not(${dn}-checked) ${gt}`]:{[`${gt}-unchecked`]:{marginInlineStart:Pt.marginXXS/2,marginInlineEnd:-Pt.marginXXS/2}},[`&${dn}-checked ${gt}`]:{[`${gt}-checked`]:{marginInlineStart:-Pt.marginXXS/2,marginInlineEnd:Pt.marginXXS/2}}}}}}},Te=Pt=>{const{componentCls:dn,handleSize:zt}=Pt;return{[dn]:{[`${dn}-loading-icon${Pt.iconCls}`]:{position:"relative",top:(zt-Pt.fontSize)/2,color:Pt.switchLoadingIconColor,verticalAlign:"top"},[`&${dn}-checked ${dn}-loading-icon`]:{color:Pt.switchColor}}}},We=Pt=>{const{componentCls:dn,motion:zt,trackPadding:Xt,handleBg:fn,handleShadow:an,handleSize:it}=Pt,Ve=`${dn}-handle`;return{[dn]:{[Ve]:{position:"absolute",top:Xt,insetInlineStart:Xt,width:it,height:it,transition:`all ${Pt.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:fn,borderRadius:it/2,boxShadow:an,transition:`all ${Pt.switchDuration} ease-in-out`,content:'""'}},[`&${dn}-checked ${Ve}`]:{insetInlineStart:`calc(100% - ${it+Xt}px)`},[`&:not(${dn}-disabled):active`]:zt?{[`${Ve}::before`]:{insetInlineEnd:Pt.switchHandleActiveInset,insetInlineStart:0},[`&${dn}-checked ${Ve}::before`]:{insetInlineEnd:0,insetInlineStart:Pt.switchHandleActiveInset}}:{}}}},$e=Pt=>{const{componentCls:dn,trackHeight:zt,trackPadding:Xt,innerMinMargin:fn,innerMaxMargin:an,handleSize:it}=Pt,Ve=`${dn}-inner`;return{[dn]:{[Ve]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:an,paddingInlineEnd:fn,transition:`padding-inline-start ${Pt.switchDuration} ease-in-out, padding-inline-end ${Pt.switchDuration} ease-in-out`,[`${Ve}-checked, ${Ve}-unchecked`]:{display:"block",color:Pt.colorTextLightSolid,fontSize:Pt.fontSizeSM,transition:`margin-inline-start ${Pt.switchDuration} ease-in-out, margin-inline-end ${Pt.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Ve}-checked`]:{marginInlineStart:`calc(-100% + ${it+Xt*2}px - ${an*2}px)`,marginInlineEnd:`calc(100% - ${it+Xt*2}px + ${an*2}px)`},[`${Ve}-unchecked`]:{marginTop:-zt,marginInlineStart:0,marginInlineEnd:0}},[`&${dn}-checked ${Ve}`]:{paddingInlineStart:fn,paddingInlineEnd:an,[`${Ve}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ve}-unchecked`]:{marginInlineStart:`calc(100% - ${it+Xt*2}px + ${an*2}px)`,marginInlineEnd:`calc(-100% + ${it+Xt*2}px - ${an*2}px)`}},[`&:not(${dn}-disabled):active`]:{[`&:not(${dn}-checked) ${Ve}`]:{[`${Ve}-unchecked`]:{marginInlineStart:Xt*2,marginInlineEnd:-Xt*2}},[`&${dn}-checked ${Ve}`]:{[`${Ve}-checked`]:{marginInlineStart:-Xt*2,marginInlineEnd:Xt*2}}}}}},st=Pt=>{const{componentCls:dn,trackHeight:zt,trackMinWidth:Xt}=Pt;return{[dn]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,me.Wf)(Pt)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Xt,height:zt,lineHeight:`${zt}px`,verticalAlign:"middle",background:Pt.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Pt.motionDurationMid}`,userSelect:"none",[`&:hover:not(${dn}-disabled)`]:{background:Pt.colorTextTertiary}}),(0,me.Qy)(Pt)),{[`&${dn}-checked`]:{background:Pt.switchColor,[`&:hover:not(${dn}-disabled)`]:{background:Pt.colorPrimaryHover}},[`&${dn}-loading, &${dn}-disabled`]:{cursor:"not-allowed",opacity:Pt.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${dn}-rtl`]:{direction:"rtl"}})}};var ut=(0,Se.Z)("Switch",Pt=>{const dn=(0,Ne.TS)(Pt,{switchDuration:Pt.motionDurationMid,switchColor:Pt.colorPrimary,switchDisabledOpacity:Pt.opacityLoading,switchLoadingIconSize:Pt.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${Pt.opacityLoading})`,switchHandleActiveInset:"-30%"});return[st(dn),$e(dn),We(dn),Te(dn),ke(dn)]},Pt=>{const{fontSize:dn,lineHeight:zt,controlHeight:Xt,colorWhite:fn}=Pt,an=dn*zt,it=Xt/2,Ve=2,gt=an-Ve*2,Bt=it-Ve*2;return{trackHeight:an,trackHeightSM:it,trackMinWidth:gt*2+Ve*4,trackMinWidthSM:Bt*2+Ve*2,trackPadding:Ve,handleBg:fn,handleSize:gt,handleSizeSM:Bt,handleShadow:`0 2px 4px 0 ${new ue.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:gt/2,innerMaxMargin:gt+Ve+Ve*2,innerMinMarginSM:Bt/2,innerMaxMarginSM:Bt+Ve+Ve*2}}),Mt=function(Pt,dn){var zt={};for(var Xt in Pt)Object.prototype.hasOwnProperty.call(Pt,Xt)&&dn.indexOf(Xt)<0&&(zt[Xt]=Pt[Xt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,Xt=Object.getOwnPropertySymbols(Pt);fn{const{prefixCls:zt,size:Xt,disabled:fn,loading:an,className:it,rootClassName:Ve,style:gt}=Pt,Bt=Mt(Pt,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:sn,direction:It,switch:en}=et.useContext(ee.E_),En=et.useContext(ne.Z),ei=(fn!=null?fn:En)||an,An=sn("switch",zt),Kn=et.createElement("div",{className:`${An}-handle`},an&&et.createElement(se.Z,{className:`${An}-loading-icon`})),[jt,Nn]=ut(An),Gn=(0,ge.Z)(Xt),ii=we()(en==null?void 0:en.className,{[`${An}-small`]:Gn==="small",[`${An}-loading`]:an,[`${An}-rtl`]:It==="rtl"},it,Ve,Nn),Sn=Object.assign(Object.assign({},en==null?void 0:en.style),gt);return jt(et.createElement(ze.Z,{component:"Switch"},et.createElement(kt,Object.assign({},Bt,{prefixCls:An,className:ii,style:Sn,disabled:ei,ref:dn,loadingIcon:Kn}))))});nt.__ANT_SWITCH=!0;var $t=nt},2595:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return Ud}});var se={},Ce="rc-table-internal-hook",we=oe(29043),Ie=oe(8107),De=oe(28800),Ke=oe(51346),Ee=oe(59301),et=oe(4676);function Je(mt){var Et=Ee.createContext(void 0),rn=function(Dn){var xn=Dn.value,ri=Dn.children,ai=Ee.useRef(xn);ai.current=xn;var qn=Ee.useState(function(){return{getValue:function(){return ai.current},listeners:new Set}}),bi=(0,we.Z)(qn,1),Ni=bi[0];return(0,De.Z)(function(){(0,et.unstable_batchedUpdates)(function(){Ni.listeners.forEach(function(Ei){Ei(xn)})})},[xn]),Ee.createElement(Et.Provider,{value:Ni},ri)};return{Context:Et,Provider:rn,defaultValue:mt}}function Ye(mt,Et){var rn=(0,Ie.Z)(typeof Et=="function"?Et:function(Ei){if(Et===void 0)return Ei;if(!Array.isArray(Et))return Ei[Et];var qi={};return Et.forEach(function(Ki){qi[Ki]=Ei[Ki]}),qi}),cn=Ee.useContext(mt==null?void 0:mt.Context),Dn=cn||{},xn=Dn.listeners,ri=Dn.getValue,ai=Ee.useRef();ai.current=rn(cn?ri():mt==null?void 0:mt.defaultValue);var qn=Ee.useState({}),bi=(0,we.Z)(qn,2),Ni=bi[1];return(0,De.Z)(function(){if(!cn)return;function Ei(qi){var Ki=rn(qi);(0,Ke.Z)(ai.current,Ki,!0)||Ni({})}return xn.add(Ei),function(){xn.delete(Ei)}},[cn]),ai.current}var tt=oe(5891),ht=oe(20475);function kt(){var mt=Ee.createContext(null);function Et(){return Ee.useContext(mt)}function rn(Dn,xn){var ri=(0,ht.Yr)(Dn),ai=function(bi,Ni){var Ei=ri?{ref:Ni}:{},qi=Ee.useRef(0),Ki=Ee.useRef(bi),Ui=Et();return Ui!==null?Ee.createElement(Dn,(0,tt.Z)({},bi,Ei)):((!xn||xn(Ki.current,bi))&&(qi.current+=1),Ki.current=bi,Ee.createElement(mt.Provider,{value:qi.current},Ee.createElement(Dn,(0,tt.Z)({},bi,Ei))))};return ri?Ee.forwardRef(ai):ai}function cn(Dn,xn){var ri=(0,ht.Yr)(Dn),ai=function(bi,Ni){var Ei=ri?{ref:Ni}:{};return Et(),Ee.createElement(Dn,(0,tt.Z)({},bi,Ei))};return ri?Ee.memo(Ee.forwardRef(ai),xn):Ee.memo(ai,xn)}return{makeImmutable:rn,responseImmutable:cn,useImmutableMark:Et}}var ze=kt(),ee=ze.makeImmutable,ne=ze.responseImmutable,ge=ze.useImmutableMark,ue=kt(),me=ue.makeImmutable,Se=ue.responseImmutable,Ne=ue.useImmutableMark,ke=Je(),Te=ke;function We(mt,Et){var rn=Ee.useRef(0);rn.current+=1;var cn=Ee.useRef(mt),Dn=[];Object.keys(mt||{}).map(function(ri){var ai;(mt==null?void 0:mt[ri])!==((ai=cn.current)===null||ai===void 0?void 0:ai[ri])&&Dn.push(ri)}),cn.current=mt;var xn=Ee.useRef([]);return Dn.length&&(xn.current=Dn),Ee.useDebugValue(rn.current),Ee.useDebugValue(xn.current.join(", ")),Et&&console.log("".concat(Et,":"),rn.current,xn.current),rn.current}var $e=null,st=Ee.memo(function(){var mt=We();return Ee.createElement("h1",null,"Render Times: ",mt)});st.displayName="RenderBlock";var ut=oe(80665),Mt=oe(57259),nt=oe(80962),$t=oe(92310),Pt=oe.n($t),dn=oe(79722),zt=oe(69004),Xt=oe(51395),fn=Ee.createContext({renderWithProps:!1}),an=fn,it="RC_TABLE_KEY";function Ve(mt){return mt==null?[]:Array.isArray(mt)?mt:[mt]}function gt(mt){var Et=[],rn={};return mt.forEach(function(cn){for(var Dn=cn||{},xn=Dn.key,ri=Dn.dataIndex,ai=xn||Ve(ri).join("-")||it;rn[ai];)ai="".concat(ai,"_next");rn[ai]=!0,Et.push(ai)}),Et}function Bt(mt){return mt!=null}function sn(mt){return mt&&(0,ut.Z)(mt)==="object"&&!Array.isArray(mt)&&!Ee.isValidElement(mt)}function It(mt,Et,rn,cn,Dn,xn){var ri=Ee.useContext(an),ai=Ne(),qn=(0,dn.Z)(function(){if(Bt(cn))return[cn];var bi=Et==null||Et===""?[]:Array.isArray(Et)?Et:[Et],Ni=(0,zt.Z)(mt,bi),Ei=Ni,qi=void 0;if(Dn){var Ki=Dn(Ni,mt,rn);sn(Ki)?(Ei=Ki.children,qi=Ki.props,ri.renderWithProps=!0):Ei=Ki}return[Ei,qi]},[ai,mt,cn,Et,Dn,rn],function(bi,Ni){if(xn){var Ei=(0,we.Z)(bi,2),qi=Ei[1],Ki=(0,we.Z)(Ni,2),Ui=Ki[1];return xn(Ui,qi)}return ri.renderWithProps?!0:!(0,Ke.Z)(bi,Ni,!0)});return qn}function en(mt,Et,rn,cn){var Dn=mt+Et-1;return mt<=cn&&Dn>=rn}function En(mt,Et){return Ye(Te,function(rn){var cn=en(mt,Et||1,rn.hoverStartRow,rn.hoverEndRow);return[cn,rn.onHover]})}var ei=function(Et){var rn=Et.ellipsis,cn=Et.rowType,Dn=Et.children,xn,ri=rn===!0?{showTitle:!0}:rn;return ri&&(ri.showTitle||cn==="header")&&(typeof Dn=="string"||typeof Dn=="number"?xn=Dn.toString():Ee.isValidElement(Dn)&&typeof Dn.props.children=="string"&&(xn=Dn.props.children)),xn};function An(mt){var Et,rn,cn,Dn,xn,ri,ai,qn,bi=mt.component,Ni=mt.children,Ei=mt.ellipsis,qi=mt.scope,Ki=mt.prefixCls,Ui=mt.className,Lr=mt.align,Vi=mt.record,Pr=mt.render,yr=mt.dataIndex,zr=mt.renderIndex,So=mt.shouldCellUpdate,Lo=mt.index,Tr=mt.rowType,mo=mt.colSpan,Zo=mt.rowSpan,Hr=mt.fixLeft,uo=mt.fixRight,vr=mt.firstFixLeft,cr=mt.lastFixLeft,to=mt.firstFixRight,Co=mt.lastFixRight,Ro=mt.appendNode,jo=mt.additionalProps,Or=jo===void 0?{}:jo,Qo=mt.isSticky,Jo="".concat(Ki,"-cell"),Da=Ye(Te,["supportSticky","allColumnsFixedLeft"]),la=Da.supportSticky,Ms=Da.allColumnsFixedLeft,vs=It(Vi,yr,zr,Ni,Pr,So),ea=(0,we.Z)(vs,2),No=ea[0],Ba=ea[1],bs={},ys=typeof Hr=="number"&&la,qs=typeof uo=="number"&&la;ys&&(bs.position="sticky",bs.left=Hr),qs&&(bs.position="sticky",bs.right=uo);var _o=(Et=(rn=(cn=Ba==null?void 0:Ba.colSpan)!==null&&cn!==void 0?cn:Or.colSpan)!==null&&rn!==void 0?rn:mo)!==null&&Et!==void 0?Et:1,wi=(Dn=(xn=(ri=Ba==null?void 0:Ba.rowSpan)!==null&&ri!==void 0?ri:Or.rowSpan)!==null&&xn!==void 0?xn:Zo)!==null&&Dn!==void 0?Dn:1,er=En(Lo,wi),qr=(0,we.Z)(er,2),La=qr[0],ho=qr[1],Yo=function(sl){var Ml;Vi&&ho(Lo,Lo+wi-1),Or==null||(Ml=Or.onMouseEnter)===null||Ml===void 0||Ml.call(Or,sl)},Sa=function(sl){var Ml;Vi&&ho(-1,-1),Or==null||(Ml=Or.onMouseLeave)===null||Ml===void 0||Ml.call(Or,sl)};if(_o===0||wi===0)return null;var ja=(ai=Or.title)!==null&&ai!==void 0?ai:ei({rowType:Tr,ellipsis:Ei,children:No}),xl=Pt()(Jo,Ui,(qn={},(0,nt.Z)(qn,"".concat(Jo,"-fix-left"),ys&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-left-first"),vr&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-left-last"),cr&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-left-all"),cr&&Ms&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-right"),qs&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-right-first"),to&&la),(0,nt.Z)(qn,"".concat(Jo,"-fix-right-last"),Co&&la),(0,nt.Z)(qn,"".concat(Jo,"-ellipsis"),Ei),(0,nt.Z)(qn,"".concat(Jo,"-with-append"),Ro),(0,nt.Z)(qn,"".concat(Jo,"-fix-sticky"),(ys||qs)&&Qo&&la),(0,nt.Z)(qn,"".concat(Jo,"-row-hover"),!Ba&&La),qn),Or.className,Ba==null?void 0:Ba.className),al={};Lr&&(al.textAlign=Lr);var ql=(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({},bs),Or.style),al),Ba==null?void 0:Ba.style),Ya=No;return(0,ut.Z)(Ya)==="object"&&!Array.isArray(Ya)&&!Ee.isValidElement(Ya)&&(Ya=null),Ei&&(cr||to)&&(Ya=Ee.createElement("span",{className:"".concat(Jo,"-content")},Ya)),Ee.createElement(bi,(0,tt.Z)({},Ba,Or,{className:xl,style:ql,title:ja,scope:qi,onMouseEnter:Yo,onMouseLeave:Sa,colSpan:_o!==1?_o:null,rowSpan:wi!==1?wi:null}),Ro,Ya)}var Kn=Ee.memo(An);function jt(mt,Et,rn,cn,Dn,xn){var ri=rn[mt]||{},ai=rn[Et]||{},qn,bi;ri.fixed==="left"?qn=cn.left[Dn==="rtl"?Et:mt]:ai.fixed==="right"&&(bi=cn.right[Dn==="rtl"?mt:Et]);var Ni=!1,Ei=!1,qi=!1,Ki=!1,Ui=rn[Et+1],Lr=rn[mt-1],Vi=!(xn!=null&&xn.children);if(Dn==="rtl"){if(qn!==void 0){var Pr=Lr&&Lr.fixed==="left";Ki=!Pr&&Vi}else if(bi!==void 0){var yr=Ui&&Ui.fixed==="right";qi=!yr&&Vi}}else if(qn!==void 0){var zr=Ui&&Ui.fixed==="left";Ni=!zr&&Vi}else if(bi!==void 0){var So=Lr&&Lr.fixed==="right";Ei=!So&&Vi}return{fixLeft:qn,fixRight:bi,lastFixLeft:Ni,firstFixRight:Ei,lastFixRight:qi,firstFixLeft:Ki,isSticky:cn.isSticky}}var Nn=Ee.createContext({}),Gn=Nn;function ii(mt){var Et=mt.className,rn=mt.index,cn=mt.children,Dn=mt.colSpan,xn=Dn===void 0?1:Dn,ri=mt.rowSpan,ai=mt.align,qn=Ye(Te,["prefixCls","direction"]),bi=qn.prefixCls,Ni=qn.direction,Ei=Ee.useContext(Gn),qi=Ei.scrollColumnIndex,Ki=Ei.stickyOffsets,Ui=Ei.flattenColumns,Lr=Ei.columns,Vi=rn+xn-1,Pr=Vi+1===qi?xn+1:xn,yr=jt(rn,rn+Pr-1,Ui,Ki,Ni,Lr==null?void 0:Lr[rn]);return Ee.createElement(Kn,(0,tt.Z)({className:Et,index:rn,component:"td",prefixCls:bi,record:null,dataIndex:null,align:ai,colSpan:Pr,rowSpan:ri,render:function(){return cn}},yr))}var Sn=oe(19149),Yt=["children"];function Zt(mt){var Et=mt.children,rn=(0,Sn.Z)(mt,Yt);return Ee.createElement("tr",rn,Et)}function St(mt){var Et=mt.children;return Et}St.Row=Zt,St.Cell=ii;var rt=St;function Ft(mt){var Et=mt.children,rn=mt.stickyOffsets,cn=mt.flattenColumns,Dn=mt.columns,xn=Ye(Te,"prefixCls"),ri=cn.length-1,ai=cn[ri],qn=Ee.useMemo(function(){return{stickyOffsets:rn,flattenColumns:cn,scrollColumnIndex:ai!=null&&ai.scrollbar?ri:null,columns:Dn}},[ai,cn,ri,rn,Dn]);return Ee.createElement(Gn.Provider,{value:qn},Ee.createElement("tfoot",{className:"".concat(xn,"-summary")},Et))}var Ot=Se(Ft),ft=rt,ct=oe(80764),Ge=oe(29301),Ae=oe(48886),xe=oe(24387),je=oe(59055),Qe=oe(36994);function Oe(mt,Et,rn,cn,Dn,xn,ri){mt.push({record:Et,indent:rn,index:ri});var ai=xn(Et),qn=Dn==null?void 0:Dn.has(ai);if(Et&&Array.isArray(Et[cn])&&qn)for(var bi=0;bi1?vr-1:0),to=1;to=0;ai-=1){var qn=Et[ai],bi=rn&&rn[ai],Ni=bi&&bi[lr];if(qn||Ni||ri){var Ei=Ni||{},qi=Ei.columnType,Ki=(0,Sn.Z)(Ei,ur);Dn.unshift(Ee.createElement("col",(0,tt.Z)({key:ai,style:{width:qn}},Ki))),ri=!0}}return Ee.createElement("colgroup",null,Dn)}var Wr=Sr,Gi=oe(26390),Zr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Yi(mt,Et){return(0,Ee.useMemo)(function(){for(var rn=[],cn=0;cn1?"colgroup":"col":null,ellipsis:Vi.ellipsis,align:Vi.align,component:Vi.title?xn:ri,prefixCls:Ni,key:Ki[Lr]},Pr,{additionalProps:yr,rowType:"header"}))}))}pr.displayName="HeaderRow";var fo=pr;function Fo(mt){var Et=[];function rn(ri,ai){var qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Et[qn]=Et[qn]||[];var bi=ai,Ni=ri.filter(Boolean).map(function(Ei){var qi={key:Ei.key,className:Ei.className||"",children:Ei.title,column:Ei,colStart:bi},Ki=1,Ui=Ei.children;return Ui&&Ui.length>0&&(Ki=rn(Ui,bi,qn+1).reduce(function(Lr,Vi){return Lr+Vi},0),qi.hasSubColumns=!0),"colSpan"in Ei&&(Ki=Ei.colSpan),"rowSpan"in Ei&&(qi.rowSpan=Ei.rowSpan),qi.colSpan=Ki,qi.colEnd=qi.colStart+Ki-1,Et[qn].push(qi),bi+=Ki,Ki});return Ni}rn(mt,0);for(var cn=Et.length,Dn=function(ai){Et[ai].forEach(function(qn){!("rowSpan"in qn)&&!qn.hasSubColumns&&(qn.rowSpan=cn-ai)})},xn=0;xn1&&arguments[1]!==void 0?arguments[1]:"";return typeof Et=="number"?Et:Et.endsWith("%")?mt*parseFloat(Et)/100:null}function ln(mt,Et){return Ee.useMemo(function(){if(Et&&Et>0){var rn=0,cn=0;mt.forEach(function(bi){var Ni=on(Et,bi.width);Ni?rn+=Ni:cn+=1});var Dn=Et-rn,xn=cn,ri=Dn/cn,ai=0,qn=mt.map(function(bi){var Ni=(0,Mt.Z)({},bi),Ei=on(Et,Ni.width);if(Ei)Ni.width=Ei;else{var qi=Math.floor(ri);Ni.width=xn===1?Dn:qi,Dn-=qi,xn-=1}return ai+=Ni.width,Ni});return[qn,ai]}return[mt,Et]},[mt,Et])}var qt=["children"],Nt=["fixed"];function On(mt){return(0,Oi.Z)(mt).filter(function(Et){return Ee.isValidElement(Et)}).map(function(Et){var rn=Et.key,cn=Et.props,Dn=cn.children,xn=(0,Sn.Z)(cn,qt),ri=(0,Mt.Z)({key:rn},xn);return Dn&&(ri.children=On(Dn)),ri})}function Un(mt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return mt.filter(function(rn){return rn&&(0,ut.Z)(rn)==="object"}).reduce(function(rn,cn,Dn){var xn=cn.fixed,ri=xn===!0?"left":xn,ai="".concat(Et,"-").concat(Dn),qn=cn.children;return qn&&qn.length>0?[].concat((0,Gi.Z)(rn),(0,Gi.Z)(Un(qn,ai).map(function(bi){return(0,Mt.Z)({fixed:ri},bi)}))):[].concat((0,Gi.Z)(rn),[(0,Mt.Z)((0,Mt.Z)({key:ai},cn),{},{fixed:ri})])},[])}function Vt(mt){for(var Et=!0,rn=0;rn=0;xn-=1){var ri=mt[xn];if(Dn&&ri.fixed!=="right")Dn=!1;else if(!Dn&&ri.fixed==="right"){warning(!1,"Index ".concat(xn+1," of `columns` missing `fixed='right'` prop."));break}}}function yt(mt){return mt.map(function(Et){var rn=Et.fixed,cn=(0,Sn.Z)(Et,Nt),Dn=rn;return rn==="left"?Dn="right":rn==="right"&&(Dn="left"),(0,Mt.Z)({fixed:Dn},cn)})}function In(mt,Et){var rn=mt.prefixCls,cn=mt.columns,Dn=mt.children,xn=mt.expandable,ri=mt.expandedKeys,ai=mt.columnTitle,qn=mt.getRowKey,bi=mt.onTriggerExpand,Ni=mt.expandIcon,Ei=mt.rowExpandable,qi=mt.expandIconColumnIndex,Ki=mt.direction,Ui=mt.expandRowByClick,Lr=mt.columnWidth,Vi=mt.fixed,Pr=mt.scrollWidth,yr=Ee.useMemo(function(){return cn||On(Dn)},[cn,Dn]),zr=Ee.useMemo(function(){if(xn){var uo,vr=yr.slice();if(!vr.includes(se)){var cr=qi||0;cr>=0&&vr.splice(cr,0,se)}var to=vr.indexOf(se);vr=vr.filter(function(Or,Qo){return Or!==se||Qo===to});var Co=yr[to],Ro;(Vi==="left"||Vi)&&!qi?Ro="left":(Vi==="right"||Vi)&&qi===yr.length?Ro="right":Ro=Co?Co.fixed:null;var jo=(uo={},(0,nt.Z)(uo,lr,{className:"".concat(rn,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,nt.Z)(uo,"title",ai),(0,nt.Z)(uo,"fixed",Ro),(0,nt.Z)(uo,"className","".concat(rn,"-row-expand-icon-cell")),(0,nt.Z)(uo,"width",Lr),(0,nt.Z)(uo,"render",function(Qo,Jo,Da){var la=qn(Jo,Da),Ms=ri.has(la),vs=Ei?Ei(Jo):!0,ea=Ni({prefixCls:rn,expanded:Ms,expandable:vs,record:Jo,onExpand:bi});return Ui?Ee.createElement("span",{onClick:function(Ba){return Ba.stopPropagation()}},ea):ea}),uo);return vr.map(function(Or){return Or===se?jo:Or})}return yr.filter(function(Or){return Or!==se})},[xn,yr,qn,ri,Ni,Ki]),So=Ee.useMemo(function(){var uo=zr;return Et&&(uo=Et(uo)),uo.length||(uo=[{render:function(){return null}}]),uo},[Et,zr,Ki]),Lo=Ee.useMemo(function(){return Ki==="rtl"?yt(Un(So)):Un(So)},[So,Ki,Pr]),Tr=ln(Lo,Pr),mo=(0,we.Z)(Tr,2),Zo=mo[0],Hr=mo[1];return[So,Zo,Hr]}var zn=In;function mi(mt){var Et,rn=mt.prefixCls,cn=mt.record,Dn=mt.onExpand,xn=mt.expanded,ri=mt.expandable,ai="".concat(rn,"-row-expand-icon");if(!ri)return Ee.createElement("span",{className:Pt()(ai,"".concat(rn,"-row-spaced"))});var qn=function(Ni){Dn(cn,Ni),Ni.stopPropagation()};return Ee.createElement("span",{className:Pt()(ai,(Et={},(0,nt.Z)(Et,"".concat(rn,"-row-expanded"),xn),(0,nt.Z)(Et,"".concat(rn,"-row-collapsed"),!xn),Et)),onClick:qn})}function Rn(mt,Et,rn){var cn=[];function Dn(xn){(xn||[]).forEach(function(ri,ai){cn.push(Et(ri,ai)),Dn(ri[rn])})}return Dn(mt),cn}function bt(mt,Et,rn){var cn=dr(mt),Dn=cn.expandIcon,xn=cn.expandedRowKeys,ri=cn.defaultExpandedRowKeys,ai=cn.defaultExpandAllRows,qn=cn.expandedRowRender,bi=cn.onExpand,Ni=cn.onExpandedRowsChange,Ei=cn.childrenColumnName,qi=Dn||mi,Ki=Ei||"children",Ui=Ee.useMemo(function(){return qn?"row":mt.expandable&&mt.internalHooks===Ce&&mt.expandable.__PARENT_RENDER_ICON__||Et.some(function(Lo){return Lo&&(0,ut.Z)(Lo)==="object"&&Lo[Ki]})?"nest":!1},[!!qn,Et]),Lr=Ee.useState(function(){return ri||(ai?Rn(Et,rn,Ki):[])}),Vi=(0,we.Z)(Lr,2),Pr=Vi[0],yr=Vi[1],zr=Ee.useMemo(function(){return new Set(xn||Pr||[])},[xn,Pr]),So=Ee.useCallback(function(Lo){var Tr=rn(Lo,Et.indexOf(Lo)),mo,Zo=zr.has(Tr);Zo?(zr.delete(Tr),mo=(0,Gi.Z)(zr)):mo=[].concat((0,Gi.Z)(zr),[Tr]),yr(mo),bi&&bi(!Zo,Lo),Ni&&Ni(mo)},[rn,zr,Et,bi,Ni]);return[cn,Ui,zr,qi,Ki,So]}function Ut(mt,Et,rn,cn){var Dn=mt.map(function(xn,ri){return jt(ri,ri,mt,Et,rn,cn==null?void 0:cn[ri])});return(0,dn.Z)(function(){return Dn},[Dn],function(xn,ri){return!(0,Ke.Z)(xn,ri)})}function Ln(mt){var Et=(0,Ee.useRef)(mt),rn=(0,Ee.useState)({}),cn=(0,we.Z)(rn,2),Dn=cn[1],xn=(0,Ee.useRef)(null),ri=(0,Ee.useRef)([]);function ai(qn){ri.current.push(qn);var bi=Promise.resolve();xn.current=bi,bi.then(function(){if(xn.current===bi){var Ni=ri.current,Ei=Et.current;ri.current=[],Ni.forEach(function(qi){Et.current=qi(Et.current)}),xn.current=null,Ei!==Et.current&&Dn({})}})}return(0,Ee.useEffect)(function(){return function(){xn.current=null}},[]),[Et.current,ai]}function ni(mt){var Et=(0,Ee.useRef)(mt||null),rn=(0,Ee.useRef)();function cn(){window.clearTimeout(rn.current)}function Dn(ri){Et.current=ri,cn(),rn.current=window.setTimeout(function(){Et.current=null,rn.current=void 0},100)}function xn(){return Et.current}return(0,Ee.useEffect)(function(){return cn},[]),[Dn,xn]}function Gt(){var mt=Ee.useState(-1),Et=(0,we.Z)(mt,2),rn=Et[0],cn=Et[1],Dn=Ee.useState(-1),xn=(0,we.Z)(Dn,2),ri=xn[0],ai=xn[1],qn=Ee.useCallback(function(bi,Ni){cn(bi),ai(Ni)},[]);return[rn,ri,qn]}var yn=oe(87746),Qt=(0,yn.Z)()?window:null;function un(mt,Et){var rn=(0,ut.Z)(mt)==="object"?mt:{},cn=rn.offsetHeader,Dn=cn===void 0?0:cn,xn=rn.offsetSummary,ri=xn===void 0?0:xn,ai=rn.offsetScroll,qn=ai===void 0?0:ai,bi=rn.getContainer,Ni=bi===void 0?function(){return Qt}:bi,Ei=Ni()||Qt;return Ee.useMemo(function(){var qi=!!mt;return{isSticky:qi,stickyClassName:qi?"".concat(Et,"-sticky-holder"):"",offsetHeader:Dn,offsetSummary:ri,offsetScroll:qn,container:Ei}},[qn,Dn,ri,Et,Ei])}function wn(mt,Et,rn){var cn=(0,Ee.useMemo)(function(){for(var Dn=[],xn=[],ri=0,ai=0,qn=0;qn=Ei&&(Or=Ei-qi),ri({scrollLeft:Or/Ei*(Ni+2)}),yr.current.x=to.pageX},uo=function(){if(xn.current){var to=(0,Jn.os)(xn.current).top,Co=to+xn.current.offsetHeight,Ro=qn===window?document.documentElement.scrollTop+window.innerHeight:(0,Jn.os)(qn).top+qn.clientHeight;Co-(0,je.Z)()<=Ro||to>=Ro-ai?Pr(function(jo){return(0,Mt.Z)((0,Mt.Z)({},jo),{},{isHiddenScrollBar:!0})}):Pr(function(jo){return(0,Mt.Z)((0,Mt.Z)({},jo),{},{isHiddenScrollBar:!1})})}},vr=function(to){Pr(function(Co){return(0,Mt.Z)((0,Mt.Z)({},Co),{},{scrollLeft:to/Ni*Ei||0})})};return Ee.useImperativeHandle(rn,function(){return{setScrollLeft:vr}}),Ee.useEffect(function(){var cr=(0,Vn.Z)(document.body,"mouseup",mo,!1),to=(0,Vn.Z)(document.body,"mousemove",Hr,!1);return uo(),function(){cr.remove(),to.remove()}},[qi,Lo]),Ee.useEffect(function(){var cr=(0,Vn.Z)(qn,"scroll",uo,!1),to=(0,Vn.Z)(window,"resize",uo,!1);return function(){cr.remove(),to.remove()}},[qn]),Ee.useEffect(function(){Vi.isHiddenScrollBar||Pr(function(cr){var to=xn.current;return to?(0,Mt.Z)((0,Mt.Z)({},cr),{},{scrollLeft:to.scrollLeft/to.scrollWidth*to.clientWidth}):cr})},[Vi.isHiddenScrollBar]),Ni<=Ei||!qi||Vi.isHiddenScrollBar?null:Ee.createElement("div",{style:{height:(0,je.Z)(),width:Ei,bottom:ai},className:"".concat(bi,"-sticky-scroll")},Ee.createElement("div",{onMouseDown:Zo,ref:Ki,className:Pt()("".concat(bi,"-sticky-scroll-bar"),(0,nt.Z)({},"".concat(bi,"-sticky-scroll-bar-active"),Lo)),style:{width:"".concat(qi,"px"),transform:"translate3d(".concat(Vi.scrollLeft,"px, 0, 0)")}}))},gi=Ee.forwardRef(Wn);function Fi(mt){return null}var ir=Fi;function zi(mt){return null}var tn=zi,Ai="rc-table",Bi=[],Ti={};function hr(){return"No Data"}function tr(mt){var Et,rn=(0,Mt.Z)({rowKey:"key",prefixCls:Ai,emptyText:hr},mt),cn=rn.prefixCls,Dn=rn.className,xn=rn.rowClassName,ri=rn.style,ai=rn.data,qn=rn.rowKey,bi=rn.scroll,Ni=rn.tableLayout,Ei=rn.direction,qi=rn.title,Ki=rn.footer,Ui=rn.summary,Lr=rn.caption,Vi=rn.id,Pr=rn.showHeader,yr=rn.components,zr=rn.emptyText,So=rn.onRow,Lo=rn.onHeaderRow,Tr=rn.internalHooks,mo=rn.transformColumns,Zo=rn.internalRefs,Hr=rn.tailor,uo=rn.sticky,vr=ai||Bi,cr=!!vr.length,to=Tr===Ce,Co=Ee.useCallback(function($a,Rs){return(0,zt.Z)(yr,$a)||Rs},[yr]),Ro=Ee.useMemo(function(){return typeof qn=="function"?qn:function($a){var Rs=$a&&$a[qn];return Rs}},[qn]),jo=Co(["body"]),Or=Gt(),Qo=(0,we.Z)(Or,3),Jo=Qo[0],Da=Qo[1],la=Qo[2],Ms=bt(rn,vr,Ro),vs=(0,we.Z)(Ms,6),ea=vs[0],No=vs[1],Ba=vs[2],bs=vs[3],ys=vs[4],qs=vs[5],_o=bi==null?void 0:bi.x,wi=Ee.useState(0),er=(0,we.Z)(wi,2),qr=er[0],La=er[1],ho=zn((0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({},rn),ea),{},{expandable:!!ea.expandedRowRender,columnTitle:ea.columnTitle,expandedKeys:Ba,getRowKey:Ro,onTriggerExpand:qs,expandIcon:bs,expandIconColumnIndex:ea.expandIconColumnIndex,direction:Ei,scrollWidth:to&&Hr&&typeof _o=="number"?_o:null}),to?mo:null),Yo=(0,we.Z)(ho,3),Sa=Yo[0],ja=Yo[1],xl=Yo[2],al=xl!=null?xl:_o,ql=Ee.useMemo(function(){return{columns:Sa,flattenColumns:ja}},[Sa,ja]),Ya=Ee.useRef(),_l=Ee.useRef(),sl=Ee.useRef(),Ml=Ee.useRef(),Hc=Ee.useRef(),Za=Ee.useState(!1),as=(0,we.Z)(Za,2),Ss=as[0],Vs=as[1],dl=Ee.useState(!1),xa=(0,we.Z)(dl,2),ws=xa[0],Ll=xa[1],hl=Ln(new Map),Qu=(0,we.Z)(hl,2),Iu=Qu[0],lc=Qu[1],uc=gt(ja),Ju=uc.map(function($a){return Iu.get($a)}),qa=Ee.useMemo(function(){return Ju},[Ju.join("_")]),bl=gn(qa,ja.length,Ei),Ks=bi&&Bt(bi.y),Es=bi&&Bt(al)||!!ea.fixed,fu=Es&&ja.some(function($a){var Rs=$a.fixed;return Rs}),id=Ee.useRef(),cc=un(uo,cn),dc=cc.isSticky,Mc=cc.offsetHeader,ou=cc.offsetSummary,Ua=cc.offsetScroll,Cs=cc.stickyClassName,wl=cc.container,Ls=Ee.useMemo(function(){return Ui==null?void 0:Ui(vr)},[Ui,vr]),_a=(Ks||dc)&&Ee.isValidElement(Ls)&&Ls.type===rt&&Ls.props.fixed,gl,pu,qu;Ks&&(pu={overflowY:"scroll",maxHeight:bi.y}),Es&&(gl={overflowX:"auto"},Ks||(pu={overflowY:"hidden"}),qu={width:al===!0?"auto":al,minWidth:"100%"});var sh=Ee.useCallback(function($a,Rs){(0,Ae.Z)(Ya.current)&&lc(function(Zl){if(Zl.get($a)!==Rs){var ec=new Map(Zl);return ec.set($a,Rs),ec}return Zl})},[]),pn=ni(null),rd=(0,we.Z)(pn,2),Lc=rd[0],_d=rd[1];function Gd($a,Rs){Rs&&(typeof Rs=="function"?Rs($a):Rs.scrollLeft!==$a&&(Rs.scrollLeft=$a,Rs.scrollLeft!==$a&&setTimeout(function(){Rs.scrollLeft=$a},0)))}var kd=(0,Ie.Z)(function($a){var Rs=$a.currentTarget,Zl=$a.scrollLeft,ec=Ei==="rtl",yu=typeof Zl=="number"?Zl:Rs.scrollLeft,dh=Rs||Ti;if(!_d()||_d()===dh){var Sd;Lc(dh),Gd(yu,_l.current),Gd(yu,sl.current),Gd(yu,Hc.current),Gd(yu,(Sd=id.current)===null||Sd===void 0?void 0:Sd.setScrollLeft)}var hh=Rs||_l.current;if(hh){var hc=hh.scrollWidth,od=hh.clientWidth;if(hc===od){Vs(!1),Ll(!1);return}ec?(Vs(-yu0)):(Vs(yu>0),Ll(yu1?Lr-to:0,Ro=(0,Mt.Z)((0,Mt.Z)((0,Mt.Z)({},mo),qn),{},{flex:"0 0 ".concat(to,"px"),width:"".concat(to,"px"),marginRight:Co,pointerEvents:"auto"}),jo=Ee.useMemo(function(){return Ni?vr<=1:Hr===0||vr===0||vr>1},[vr,Hr,Ni]);jo?Ro.visibility="hidden":Ni&&(Ro.height=Ei==null?void 0:Ei(vr));var Or=jo?function(){return null}:qi,Qo={};return(vr===0||Hr===0)&&(Qo.rowSpan=1,Qo.colSpan=1),Ee.createElement(Kn,(0,tt.Z)({className:Pt()(Ui,bi),ellipsis:rn.ellipsis,align:rn.align,scope:rn.rowScope,component:"div",prefixCls:Et.prefixCls,key:zr,record:ai,index:xn,renderIndex:ri,dataIndex:Ki,render:Or,shouldCellUpdate:rn.shouldCellUpdate},So,{appendNode:Lo,additionalProps:(0,Mt.Z)((0,Mt.Z)({},Tr),{},{style:Ro},Qo)}))}var Go=kr,Dr=["data","index","className","rowKey","style","extra","getHeight"],po=Ee.forwardRef(function(mt,Et){var rn=mt.data,cn=mt.index,Dn=mt.className,xn=mt.rowKey,ri=mt.style,ai=mt.extra,qn=mt.getHeight,bi=(0,Sn.Z)(mt,Dr),Ni=rn.record,Ei=rn.indent,qi=rn.index,Ki=Ye(Te,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ui=Ki.scrollX,Lr=Ki.flattenColumns,Vi=Ki.prefixCls,Pr=Ki.fixColumn,yr=Ki.componentWidth,zr=wt(Ni,xn,cn,Ei),So=zr.rowSupportExpand,Lo=zr.expanded,Tr=zr.rowProps,mo=zr.expandedRowRender,Zo=zr.expandedRowClassName,Hr;if(So&&Lo){var uo=mo(Ni,cn,Ei+1,Lo),vr=Zo==null?void 0:Zo(Ni,cn,Ei),cr={};Pr&&(cr={style:(0,nt.Z)({},"--virtual-width","".concat(yr,"px"))});var to="".concat(Vi,"-expanded-row-cell");Hr=Ee.createElement("div",{className:Pt()("".concat(Vi,"-expanded-row"),"".concat(Vi,"-expanded-row-level-").concat(Ei+1),vr)},Ee.createElement(Kn,{component:"div",prefixCls:Vi,className:Pt()(to,(0,nt.Z)({},"".concat(to,"-fixed"),Pr)),additionalProps:cr},uo))}var Co=(0,Mt.Z)((0,Mt.Z)({},ri),{},{width:Ui});ai&&(Co.position="absolute",Co.pointerEvents="none");var Ro=Ee.createElement("div",(0,tt.Z)({},Tr,bi,{ref:So?null:Et,className:Pt()(Dn,"".concat(Vi,"-row"),Tr==null?void 0:Tr.className,(0,nt.Z)({},"".concat(Vi,"-row-extra"),ai)),style:(0,Mt.Z)((0,Mt.Z)({},Co),Tr==null?void 0:Tr.style)}),Lr.map(function(jo,Or){return Ee.createElement(Go,{key:Or,rowInfo:zr,column:jo,colIndex:Or,indent:Ei,index:cn,renderIndex:qi,record:Ni,inverse:ai,getHeight:qn})}));return So?Ee.createElement("div",{ref:Et},Ro,Hr):Ro}),Do=Se(po),Ji=Do,or=Ee.forwardRef(function(mt,Et){var rn=mt.data,cn=mt.onScroll,Dn=Ye(Te,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),xn=Dn.flattenColumns,ri=Dn.onColumnResize,ai=Dn.getRowKey,qn=Dn.expandedKeys,bi=Dn.prefixCls,Ni=Dn.childrenColumnName,Ei=Dn.emptyNode,qi=Dn.scrollX,Ki=Ye(Ht),Ui=Ki.scrollY,Lr=Ki.listItemHeight,Vi=Ee.useRef(),Pr=xt(rn,Ni,qn,ai),yr=Ee.useMemo(function(){var Hr=0;return xn.map(function(uo){var vr=uo.width,cr=uo.key;return Hr+=vr,[cr,vr,Hr]})},[xn]),zr=Ee.useMemo(function(){return yr.map(function(Hr){return Hr[2]})},[yr]);Ee.useEffect(function(){yr.forEach(function(Hr){var uo=(0,we.Z)(Hr,2),vr=uo[0],cr=uo[1];ri(vr,cr)})},[yr]),Ee.useImperativeHandle(Et,function(){var Hr={};return Object.defineProperty(Hr,"scrollLeft",{get:function(){var vr;return((vr=Vi.current)===null||vr===void 0?void 0:vr.getScrollInfo().x)||0},set:function(vr){var cr;(cr=Vi.current)===null||cr===void 0||cr.scrollTo({left:vr})}}),Hr});var So=function(uo,vr){var cr,to=(cr=Pr[vr])===null||cr===void 0?void 0:cr.record,Co=uo.onCell;if(Co){var Ro,jo=Co(to,vr);return(Ro=jo==null?void 0:jo.rowSpan)!==null&&Ro!==void 0?Ro:1}return 1},Lo=function(uo){var vr=uo.start,cr=uo.end,to=uo.getSize,Co=uo.offsetY;if(cr<0)return null;for(var Ro=xn.filter(function(_o){return So(_o,vr)===0}),jo=vr,Or=function(wi){if(Ro=Ro.filter(function(er){return So(er,wi)===0}),!Ro.length)return jo=wi,"break"},Qo=vr;Qo>=0;Qo-=1){var Jo=Or(Qo);if(Jo==="break")break}for(var Da=xn.filter(function(_o){return So(_o,cr)!==1}),la=cr,Ms=function(wi){if(Da=Da.filter(function(er){return So(er,wi)!==1}),!Da.length)return la=Math.max(wi-1,cr),"break"},vs=cr;vs1})&&No.push(wi)},bs=jo;bs<=la;bs+=1)var ys=Ba(bs);var qs=No.map(function(_o){var wi=Pr[_o],er=ai(wi.record,_o),qr=function(Yo){var Sa=_o+Yo-1,ja=ai(Pr[Sa].record,Sa),xl=to(er,ja);return xl.bottom-xl.top},La=to(er);return Ee.createElement(Ji,{key:_o,data:wi,rowKey:er,index:_o,style:{top:-Co+La.top},extra:!0,getHeight:qr})});return qs},Tr=Ee.useMemo(function(){return{columnsOffset:zr}},[zr]),mo="".concat(bi,"-tbody"),Zo;return Pr.length?Zo=Ee.createElement(Ir.Z,{fullHeight:!1,ref:Vi,className:Pt()(mo,"".concat(mo,"-virtual")),height:Ui,itemHeight:Lr||24,data:Pr,itemKey:function(uo){return ai(uo.record)},scrollWidth:qi,onVirtualScroll:function(uo){var vr=uo.x;cn({scrollLeft:vr})},extraRender:Lo},function(Hr,uo,vr){var cr=ai(Hr.record,uo);return Ee.createElement(Ji,(0,tt.Z)({data:Hr,rowKey:cr,index:uo},vr))}):Zo=Ee.createElement("div",{className:Pt()("".concat(bi,"-placeholder"))},Ee.createElement(Kn,{component:"div",prefixCls:bi},Ei)),Ee.createElement(Kr.Provider,{value:Tr},Zo)}),io=Se(or),Gr=io,Ii=function(Et,rn){var cn=rn.ref,Dn=rn.onScroll;return Ee.createElement(Gr,{ref:cn,data:Et,onScroll:Dn})},lt=100;function Rr(mt){var Et=mt.columns,rn=mt.scroll,cn=mt.prefixCls,Dn=cn===void 0?Ai:cn,xn=mt.className,ri=mt.listItemHeight,ai=rn||{},qn=ai.x,bi=ai.y;typeof qn!="number"&&(qn=((Et||[]).length+1)*lt),typeof bi!="number"&&(bi=500);var Ni=Ee.useMemo(function(){return{scrollY:bi,listItemHeight:ri}},[bi,ri]);return Ee.createElement(Ht.Provider,{value:Ni},Ee.createElement(Hi,(0,tt.Z)({},mt,{className:Pt()(xn,"".concat(Dn,"-virtual")),scroll:(0,Mt.Z)((0,Mt.Z)({},rn),{},{x:qn}),components:{body:Ii},columns:Et,internalHooks:Ce,tailor:!0})))}function Ko(mt){return me(Rr,mt)}var Yr=Ko(),yo=null;function Mr(mt){return null}var mr=Mr;function co(mt){return null}var Uo=co,ao=oe(64002),ra=oe(68031),gr=oe(36355),Qi=oe(93891),xr=oe(19716),fi=oe(8628),bo=oe(31724),ua=oe(25700),ca=oe(71418),oa=oe(88088);function Ra(mt){return function(rn){let{prefixCls:cn,onExpand:Dn,record:xn,expanded:ri,expandable:ai}=rn;const qn=`${cn}-row-expand-icon`;return Ee.createElement("button",{type:"button",onClick:bi=>{Dn(xn,bi),bi.stopPropagation()},className:Pt()(qn,{[`${qn}-spaced`]:!ai,[`${qn}-expanded`]:ai&&ri,[`${qn}-collapsed`]:ai&&!ri}),"aria-label":ri?mt.collapse:mt.expand,"aria-expanded":ri})}}var ts=Ra;function ds(mt,Et){return"key"in mt&&mt.key!==void 0&&mt.key!==null?mt.key:mt.dataIndex?Array.isArray(mt.dataIndex)?mt.dataIndex.join("."):mt.dataIndex:Et}function Qa(mt,Et){return Et?`${Et}-${mt}`:`${mt}`}function ks(mt,Et){return typeof mt=="function"?mt(Et):mt}function Ds(mt,Et){const rn=ks(mt,Et);return Object.prototype.toString.call(rn)==="[object Object]"?"":rn}var jn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},gs=jn,Ql=oe(88853),Kl=function(Et,rn){return Ee.createElement(Ql.Z,(0,tt.Z)({},Et,{ref:rn,icon:gs}))},Oo=Ee.forwardRef(Kl),ma=Oo,hs=oe(56762);function aa(mt){const Et=Ee.useRef(mt),rn=(0,hs.Z)();return[()=>Et.current,cn=>{Et.current=cn,rn()}]}var Xr=oe(3113),Qr=oe(24905),ns=oe(38854),so=oe(64165),Po=oe(20834),Mo=oe(40875),$i=oe(5112),Ja=oe(86914),xs=oe(21970),ul=oe(92832);function Yl(mt){let{value:Et,onChange:rn,filterSearch:cn,tablePrefixCls:Dn,locale:xn}=mt;return cn?Ee.createElement("div",{className:`${Dn}-filter-dropdown-search`},Ee.createElement(ul.default,{prefix:Ee.createElement(xs.Z,null),placeholder:xn.filterSearchPlaceholder,onChange:rn,value:Et,htmlSize:1,className:`${Dn}-filter-dropdown-search-input`})):null}var Jl=Yl,_i=oe(85108);const is=mt=>{const{keyCode:Et}=mt;Et===_i.Z.ENTER&&mt.stopPropagation()};var tu=Ee.forwardRef((mt,Et)=>Ee.createElement("div",{className:mt.className,onClick:rn=>rn.stopPropagation(),onKeyDown:is,ref:Et},mt.children));function ui(mt){let Et=[];return(mt||[]).forEach(rn=>{let{value:cn,children:Dn}=rn;Et.push(cn),Dn&&(Et=[].concat((0,Gi.Z)(Et),(0,Gi.Z)(ui(Dn))))}),Et}function du(mt){return mt.some(Et=>{let{children:rn}=Et;return rn})}function wo(mt,Et){return typeof Et=="string"||typeof Et=="number"?Et==null?void 0:Et.toString().toLowerCase().includes(mt.trim().toLowerCase()):!1}function Uc(mt){let{filters:Et,prefixCls:rn,filteredKeys:cn,filterMultiple:Dn,searchValue:xn,filterSearch:ri}=mt;return Et.map((ai,qn)=>{const bi=String(ai.value);if(ai.children)return{key:bi||qn,label:ai.text,popupClassName:`${rn}-dropdown-submenu`,children:Uc({filters:ai.children,prefixCls:rn,filteredKeys:cn,filterMultiple:Dn,searchValue:xn,filterSearch:ri})};const Ni=Dn?Qr.default:$i.ZP,Ei={key:ai.value!==void 0?bi:qn,label:Ee.createElement(Ee.Fragment,null,Ee.createElement(Ni,{checked:cn.includes(bi)}),Ee.createElement("span",null,ai.text))};return xn.trim()?typeof ri=="function"?ri(xn,ai)?Ei:null:wo(xn,ai.text)?Ei:null:Ei})}function Wl(mt){var Et,rn;const{tablePrefixCls:cn,prefixCls:Dn,column:xn,dropdownPrefixCls:ri,columnKey:ai,filterMultiple:qn,filterMode:bi="menu",filterSearch:Ni=!1,filterState:Ei,triggerFilter:qi,locale:Ki,children:Ui,getPopupContainer:Lr}=mt,{filterDropdownOpen:Vi,onFilterDropdownOpenChange:Pr,filterResetToDefaultFilteredValue:yr,defaultFilteredValue:zr,filterDropdownVisible:So,onFilterDropdownVisibleChange:Lo}=xn,[Tr,mo]=Ee.useState(!1),Zo=!!(Ei&&(!((Et=Ei.filteredKeys)===null||Et===void 0)&&Et.length||Ei.forceFiltered)),Hr=ho=>{mo(ho),Pr==null||Pr(ho),Lo==null||Lo(ho)},uo=(rn=Vi!=null?Vi:So)!==null&&rn!==void 0?rn:Tr,vr=Ei==null?void 0:Ei.filteredKeys,[cr,to]=aa(vr||[]),Co=ho=>{let{selectedKeys:Yo}=ho;to(Yo)},Ro=(ho,Yo)=>{let{node:Sa,checked:ja}=Yo;Co(qn?{selectedKeys:ho}:{selectedKeys:ja&&Sa.key?[Sa.key]:[]})};Ee.useEffect(()=>{Tr&&Co({selectedKeys:vr||[]})},[vr]);const[jo,Or]=Ee.useState([]),Qo=ho=>{Or(ho)},[Jo,Da]=Ee.useState(""),la=ho=>{const{value:Yo}=ho.target;Da(Yo)};Ee.useEffect(()=>{Tr||Da("")},[Tr]);const Ms=ho=>{const Yo=ho&&ho.length?ho:null;if(Yo===null&&(!Ei||!Ei.filteredKeys)||(0,Ke.Z)(Yo,Ei==null?void 0:Ei.filteredKeys,!0))return null;qi({column:xn,key:ai,filteredKeys:Yo})},vs=()=>{Hr(!1),Ms(cr())},ea=function(){let{confirm:ho,closeDropdown:Yo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ho&&Ms([]),Yo&&Hr(!1),Da(""),to(yr?(zr||[]).map(Sa=>String(Sa)):[])},No=function(){let{closeDropdown:ho}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ho&&Hr(!1),Ms(cr())},Ba=ho=>{ho&&vr!==void 0&&to(vr||[]),Hr(ho),!ho&&!xn.filterDropdown&&vs()},bs=Pt()({[`${ri}-menu-without-submenu`]:!du(xn.filters||[])}),ys=ho=>{if(ho.target.checked){const Yo=ui(xn==null?void 0:xn.filters).map(Sa=>String(Sa));to(Yo)}else to([])},qs=ho=>{let{filters:Yo}=ho;return(Yo||[]).map((Sa,ja)=>{const xl=String(Sa.value),al={title:Sa.text,key:Sa.value!==void 0?xl:ja};return Sa.children&&(al.children=qs({filters:Sa.children})),al})},_o=ho=>{var Yo;return Object.assign(Object.assign({},ho),{text:ho.title,value:ho.key,children:((Yo=ho.children)===null||Yo===void 0?void 0:Yo.map(Sa=>_o(Sa)))||[]})};let wi;if(typeof xn.filterDropdown=="function")wi=xn.filterDropdown({prefixCls:`${ri}-custom`,setSelectedKeys:ho=>Co({selectedKeys:ho}),selectedKeys:cr(),confirm:No,clearFilters:ea,filters:xn.filters,visible:uo,close:()=>{Hr(!1)}});else if(xn.filterDropdown)wi=xn.filterDropdown;else{const ho=cr()||[],Yo=()=>(xn.filters||[]).length===0?Ee.createElement(so.Z,{image:so.Z.PRESENTED_IMAGE_SIMPLE,description:Ki.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):bi==="tree"?Ee.createElement(Ee.Fragment,null,Ee.createElement(Jl,{filterSearch:Ni,value:Jo,onChange:la,tablePrefixCls:cn,locale:Ki}),Ee.createElement("div",{className:`${cn}-filter-dropdown-tree`},qn?Ee.createElement(Qr.default,{checked:ho.length===ui(xn.filters).length,indeterminate:ho.length>0&&ho.lengthtypeof Ni=="function"?Ni(Jo,_o(ja)):wo(Jo,ja.title):void 0}))):Ee.createElement(Ee.Fragment,null,Ee.createElement(Jl,{filterSearch:Ni,value:Jo,onChange:la,tablePrefixCls:cn,locale:Ki}),Ee.createElement(Po.default,{selectable:!0,multiple:qn,prefixCls:`${ri}-menu`,className:bs,onSelect:Co,onDeselect:Co,selectedKeys:ho,getPopupContainer:Lr,openKeys:jo,onOpenChange:Qo,items:Uc({filters:xn.filters||[],filterSearch:Ni,prefixCls:Dn,filteredKeys:cr(),filterMultiple:qn,searchValue:Jo})})),Sa=()=>yr?(0,Ke.Z)((zr||[]).map(ja=>String(ja)),ho,!0):ho.length===0;wi=Ee.createElement(Ee.Fragment,null,Yo(),Ee.createElement("div",{className:`${Dn}-dropdown-btns`},Ee.createElement(Xr.ZP,{type:"link",size:"small",disabled:Sa(),onClick:()=>ea()},Ki.filterReset),Ee.createElement(Xr.ZP,{type:"primary",size:"small",onClick:vs},Ki.filterConfirm)))}xn.filterDropdown&&(wi=Ee.createElement(Mo.J,{selectable:void 0},wi));const er=()=>Ee.createElement(tu,{className:`${Dn}-dropdown`},wi);let qr;typeof xn.filterIcon=="function"?qr=xn.filterIcon(Zo):xn.filterIcon?qr=xn.filterIcon:qr=Ee.createElement(ma,null);const{direction:La}=Ee.useContext(gr.E_);return Ee.createElement("div",{className:`${Dn}-column`},Ee.createElement("span",{className:`${cn}-column-title`},Ui),Ee.createElement(ns.Z,{dropdownRender:er,trigger:["click"],open:uo,onOpenChange:Ba,getPopupContainer:Lr,placement:La==="rtl"?"bottomLeft":"bottomRight"},Ee.createElement("span",{role:"button",tabIndex:-1,className:Pt()(`${Dn}-trigger`,{active:Zo}),onClick:ho=>{ho.stopPropagation()}},qr)))}var $l=Wl;function Fl(mt,Et,rn){let cn=[];return(mt||[]).forEach((Dn,xn)=>{var ri;const ai=Qa(xn,rn);if(Dn.filters||"filterDropdown"in Dn||"onFilter"in Dn)if("filteredValue"in Dn){let qn=Dn.filteredValue;"filterDropdown"in Dn||(qn=(ri=qn==null?void 0:qn.map(String))!==null&&ri!==void 0?ri:qn),cn.push({column:Dn,key:ds(Dn,ai),filteredKeys:qn,forceFiltered:Dn.filtered})}else cn.push({column:Dn,key:ds(Dn,ai),filteredKeys:Et&&Dn.defaultFilteredValue?Dn.defaultFilteredValue:void 0,forceFiltered:Dn.filtered});"children"in Dn&&(cn=[].concat((0,Gi.Z)(cn),(0,Gi.Z)(Fl(Dn.children,Et,ai))))}),cn}function Zu(mt,Et,rn,cn,Dn,xn,ri,ai){return rn.map((qn,bi)=>{const Ni=Qa(bi,ai),{filterMultiple:Ei=!0,filterMode:qi,filterSearch:Ki}=qn;let Ui=qn;if(Ui.filters||Ui.filterDropdown){const Lr=ds(Ui,Ni),Vi=cn.find(Pr=>{let{key:yr}=Pr;return Lr===yr});Ui=Object.assign(Object.assign({},Ui),{title:Pr=>Ee.createElement($l,{tablePrefixCls:mt,prefixCls:`${mt}-filter`,dropdownPrefixCls:Et,column:Ui,columnKey:Lr,filterState:Vi,filterMultiple:Ei,filterMode:qi,filterSearch:Ki,triggerFilter:xn,locale:Dn,getPopupContainer:ri},ks(qn.title,Pr))})}return"children"in Ui&&(Ui=Object.assign(Object.assign({},Ui),{children:Zu(mt,Et,Ui.children,cn,Dn,xn,ri,Ni)})),Ui})}function Ws(mt){const Et={};return mt.forEach(rn=>{let{key:cn,filteredKeys:Dn,column:xn}=rn;const{filters:ri,filterDropdown:ai}=xn;if(ai)Et[cn]=Dn||null;else if(Array.isArray(Dn)){const qn=ui(ri);Et[cn]=qn.filter(bi=>Dn.includes(String(bi)))}else Et[cn]=null}),Et}function Zs(mt,Et){return Et.reduce((rn,cn)=>{const{column:{onFilter:Dn,filters:xn},filteredKeys:ri}=cn;return Dn&&ri&&ri.length?rn.filter(ai=>ri.some(qn=>{const bi=ui(xn),Ni=bi.findIndex(qi=>String(qi)===String(qn)),Ei=Ni!==-1?bi[Ni]:qn;return Dn(Ei,ai)})):rn},mt)}const Al=mt=>mt.flatMap(Et=>"children"in Et?[Et].concat((0,Gi.Z)(Al(Et.children||[]))):[Et]);function Jc(mt){let{prefixCls:Et,dropdownPrefixCls:rn,mergedColumns:cn,onFilterChange:Dn,getPopupContainer:xn,locale:ri}=mt;const ai=Ee.useMemo(()=>Al(cn||[]),[cn]),[qn,bi]=Ee.useState(()=>Fl(ai,!0)),Ni=Ee.useMemo(()=>{const Ui=Fl(ai,!1);if(Ui.length===0)return Ui;let Lr=!0,Vi=!0;if(Ui.forEach(Pr=>{let{filteredKeys:yr}=Pr;yr!==void 0?Lr=!1:Vi=!1}),Lr){const Pr=(ai||[]).map((yr,zr)=>ds(yr,Qa(zr)));return qn.filter(yr=>{let{key:zr}=yr;return Pr.includes(zr)}).map(yr=>{const zr=ai[Pr.findIndex(So=>So===yr.key)];return Object.assign(Object.assign({},yr),{column:Object.assign(Object.assign({},yr.column),zr),forceFiltered:zr.filtered})})}return Ui},[ai,qn]),Ei=Ee.useMemo(()=>Ws(Ni),[Ni]),qi=Ui=>{const Lr=Ni.filter(Vi=>{let{key:Pr}=Vi;return Pr!==Ui.key});Lr.push(Ui),bi(Lr),Dn(Ws(Lr),Lr)};return[Ui=>Zu(Et,rn,Ui,Ni,ri,qi,xn),Ni,Ei]}var qc=Jc;function Pc(mt,Et,rn){const cn=Ee.useRef({});function Dn(xn){if(!cn.current||cn.current.data!==mt||cn.current.childrenColumnName!==Et||cn.current.getRowKey!==rn){let ai=function(qn){qn.forEach((bi,Ni)=>{const Ei=rn(bi,Ni);ri.set(Ei,bi),bi&&typeof bi=="object"&&Et in bi&&ai(bi[Et]||[])})};const ri=new Map;ai(mt),cn.current={data:mt,childrenColumnName:Et,kvMap:ri,getRowKey:rn}}return cn.current.kvMap.get(xn)}return[Dn]}var md=oe(50371),ed=function(mt,Et){var rn={};for(var cn in mt)Object.prototype.hasOwnProperty.call(mt,cn)&&Et.indexOf(cn)<0&&(rn[cn]=mt[cn]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dn=0,cn=Object.getOwnPropertySymbols(mt);Dn{const xn=mt[Dn];typeof xn!="function"&&(rn[Dn]=xn)}),rn}function _t(mt,Et,rn){const cn=rn&&typeof rn=="object"?rn:{},{total:Dn=0}=cn,xn=ed(cn,["total"]),[ri,ai]=(0,Ee.useState)(()=>({current:"defaultCurrent"in xn?xn.defaultCurrent:1,pageSize:"defaultPageSize"in xn?xn.defaultPageSize:Xn})),qn=(0,md.Z)(ri,xn,{total:Dn>0?Dn:mt}),bi=Math.ceil((Dn||mt)/qn.pageSize);qn.current>bi&&(qn.current=bi||1);const Ni=(qi,Ki)=>{ai({current:qi!=null?qi:1,pageSize:Ki||qn.pageSize})},Ei=(qi,Ki)=>{var Ui;rn&&((Ui=rn.onChange)===null||Ui===void 0||Ui.call(rn,qi,Ki)),Ni(qi,Ki),Et(qi,Ki||(qn==null?void 0:qn.pageSize))};return rn===!1?[{},()=>{}]:[Object.assign(Object.assign({},qn),{onChange:Ei}),Ni]}var Ao=_t,ta=oe(18290),sa=oe(35654),Vr=oe(90782),Jr=oe(71430),jr=oe(35788);const rr={},ro="SELECT_ALL",Na="SELECT_INVERT",Ia="SELECT_NONE",Ho=[],Bo=(mt,Et)=>{let rn=[];return(Et||[]).forEach(cn=>{rn.push(cn),cn&&typeof cn=="object"&&mt in cn&&(rn=[].concat((0,Gi.Z)(rn),(0,Gi.Z)(Bo(mt,cn[mt]))))}),rn};var Bs=(mt,Et)=>{const{preserveSelectedRowKeys:rn,selectedRowKeys:cn,defaultSelectedRowKeys:Dn,getCheckboxProps:xn,onChange:ri,onSelect:ai,onSelectAll:qn,onSelectInvert:bi,onSelectNone:Ni,onSelectMultiple:Ei,columnWidth:qi,type:Ki,selections:Ui,fixed:Lr,renderCell:Vi,hideSelectAll:Pr,checkStrictly:yr=!0}=Et||{},{prefixCls:zr,data:So,pageData:Lo,getRecordByKey:Tr,getRowKey:mo,expandType:Zo,childrenColumnName:Hr,locale:uo,getPopupContainer:vr}=mt,[cr,to]=(0,jr.Z)(cn||Dn||Ho,{value:cn}),Co=Ee.useRef(new Map),Ro=(0,Ee.useCallback)(_o=>{if(rn){const wi=new Map;_o.forEach(er=>{let qr=Tr(er);!qr&&Co.current.has(er)&&(qr=Co.current.get(er)),wi.set(er,qr)}),Co.current=wi}},[Tr,rn]);Ee.useEffect(()=>{Ro(cr)},[cr]);const{keyEntities:jo}=(0,Ee.useMemo)(()=>{if(yr)return{keyEntities:null};let _o=So;if(rn){const wi=new Set(So.map((qr,La)=>mo(qr,La))),er=Array.from(Co.current).reduce((qr,La)=>{let[ho,Yo]=La;return wi.has(ho)?qr:qr.concat(Yo)},[]);_o=[].concat((0,Gi.Z)(_o),(0,Gi.Z)(er))}return(0,Jr.I8)(_o,{externalGetKey:mo,childrenPropName:Hr})},[So,mo,yr,Hr,rn]),Or=(0,Ee.useMemo)(()=>Bo(Hr,Lo),[Hr,Lo]),Qo=(0,Ee.useMemo)(()=>{const _o=new Map;return Or.forEach((wi,er)=>{const qr=mo(wi,er),La=(xn?xn(wi):null)||{};_o.set(qr,La)}),_o},[Or,mo,xn]),Jo=(0,Ee.useCallback)(_o=>{var wi;return!!(!((wi=Qo.get(mo(_o)))===null||wi===void 0)&&wi.disabled)},[Qo,mo]),[Da,la]=(0,Ee.useMemo)(()=>{if(yr)return[cr||[],[]];const{checkedKeys:_o,halfCheckedKeys:wi}=(0,Vr.S)(cr,!0,jo,Jo);return[_o||[],wi]},[cr,yr,jo,Jo]),Ms=(0,Ee.useMemo)(()=>{const _o=Ki==="radio"?Da.slice(0,1):Da;return new Set(_o)},[Da,Ki]),vs=(0,Ee.useMemo)(()=>Ki==="radio"?new Set:new Set(la),[la,Ki]),[ea,No]=(0,Ee.useState)(null);Ee.useEffect(()=>{Et||to(Ho)},[!!Et]);const Ba=(0,Ee.useCallback)((_o,wi)=>{let er,qr;Ro(_o),rn?(er=_o,qr=_o.map(La=>Co.current.get(La))):(er=[],qr=[],_o.forEach(La=>{const ho=Tr(La);ho!==void 0&&(er.push(La),qr.push(ho))})),to(er),ri==null||ri(er,qr,{type:wi})},[to,Tr,ri,rn]),bs=(0,Ee.useCallback)((_o,wi,er,qr)=>{if(ai){const La=er.map(ho=>Tr(ho));ai(Tr(_o),wi,La,qr)}Ba(er,"single")},[ai,Tr,Ba]),ys=(0,Ee.useMemo)(()=>!Ui||Pr?null:(Ui===!0?[ro,Na,Ia]:Ui).map(wi=>wi===ro?{key:"all",text:uo.selectionAll,onSelect(){Ba(So.map((er,qr)=>mo(er,qr)).filter(er=>{const qr=Qo.get(er);return!(qr!=null&&qr.disabled)||Ms.has(er)}),"all")}}:wi===Na?{key:"invert",text:uo.selectInvert,onSelect(){const er=new Set(Ms);Lo.forEach((La,ho)=>{const Yo=mo(La,ho),Sa=Qo.get(Yo);Sa!=null&&Sa.disabled||(er.has(Yo)?er.delete(Yo):er.add(Yo))});const qr=Array.from(er);bi&&bi(qr),Ba(qr,"invert")}}:wi===Ia?{key:"none",text:uo.selectNone,onSelect(){Ni==null||Ni(),Ba(Array.from(Ms).filter(er=>{const qr=Qo.get(er);return qr==null?void 0:qr.disabled}),"none")}}:wi).map(wi=>Object.assign(Object.assign({},wi),{onSelect:function(){for(var er,qr,La=arguments.length,ho=new Array(La),Yo=0;Yo{var wi;if(!Et)return _o.filter(Za=>Za!==rr);let er=(0,Gi.Z)(_o);const qr=new Set(Ms),La=Or.map(mo).filter(Za=>!Qo.get(Za).disabled),ho=La.every(Za=>qr.has(Za)),Yo=La.some(Za=>qr.has(Za)),Sa=()=>{const Za=[];ho?La.forEach(Ss=>{qr.delete(Ss),Za.push(Ss)}):La.forEach(Ss=>{qr.has(Ss)||(qr.add(Ss),Za.push(Ss))});const as=Array.from(qr);qn==null||qn(!ho,as.map(Ss=>Tr(Ss)),Za.map(Ss=>Tr(Ss))),Ba(as,"all"),No(null)};let ja;if(Ki!=="radio"){let Za;if(ys){const xa={getPopupContainer:vr,items:ys.map((ws,Ll)=>{const{key:hl,text:Qu,onSelect:Iu}=ws;return{key:hl!=null?hl:Ll,onClick:()=>{Iu==null||Iu(La)},label:Qu}})};Za=Ee.createElement("div",{className:`${zr}-selection-extra`},Ee.createElement(ns.Z,{menu:xa,getPopupContainer:vr},Ee.createElement("span",null,Ee.createElement(ta.Z,null))))}const as=Or.map((xa,ws)=>{const Ll=mo(xa,ws),hl=Qo.get(Ll)||{};return Object.assign({checked:qr.has(Ll)},hl)}).filter(xa=>{let{disabled:ws}=xa;return ws}),Ss=!!as.length&&as.length===Or.length,Vs=Ss&&as.every(xa=>{let{checked:ws}=xa;return ws}),dl=Ss&&as.some(xa=>{let{checked:ws}=xa;return ws});ja=!Pr&&Ee.createElement("div",{className:`${zr}-selection`},Ee.createElement(Qr.default,{checked:Ss?Vs:!!Or.length&&ho,indeterminate:Ss?!Vs&&dl:!ho&&Yo,onChange:Sa,disabled:Or.length===0||Ss,"aria-label":Za?"Custom selection":"Select all",skipGroup:!0}),Za)}let xl;Ki==="radio"?xl=(Za,as,Ss)=>{const Vs=mo(as,Ss),dl=qr.has(Vs);return{node:Ee.createElement($i.ZP,Object.assign({},Qo.get(Vs),{checked:dl,onClick:xa=>xa.stopPropagation(),onChange:xa=>{qr.has(Vs)||bs(Vs,!0,[Vs],xa.nativeEvent)}})),checked:dl}}:xl=(Za,as,Ss)=>{var Vs;const dl=mo(as,Ss),xa=qr.has(dl),ws=vs.has(dl),Ll=Qo.get(dl);let hl;return Zo==="nest"?hl=ws:hl=(Vs=Ll==null?void 0:Ll.indeterminate)!==null&&Vs!==void 0?Vs:ws,{node:Ee.createElement(Qr.default,Object.assign({},Ll,{indeterminate:hl,checked:xa,skipGroup:!0,onClick:Qu=>Qu.stopPropagation(),onChange:Qu=>{let{nativeEvent:Iu}=Qu;const{shiftKey:lc}=Iu;let uc=-1,Ju=-1;if(lc&&yr){const qa=new Set([ea,dl]);La.some((bl,Ks)=>{if(qa.has(bl))if(uc===-1)uc=Ks;else return Ju=Ks,!0;return!1})}if(Ju!==-1&&uc!==Ju&&yr){const qa=La.slice(uc,Ju+1),bl=[];xa?qa.forEach(Es=>{qr.has(Es)&&(bl.push(Es),qr.delete(Es))}):qa.forEach(Es=>{qr.has(Es)||(bl.push(Es),qr.add(Es))});const Ks=Array.from(qr);Ei==null||Ei(!xa,Ks.map(Es=>Tr(Es)),bl.map(Es=>Tr(Es))),Ba(Ks,"multiple")}else{const qa=Da;if(yr){const bl=xa?(0,sa._5)(qa,dl):(0,sa.L0)(qa,dl);bs(dl,!xa,bl,Iu)}else{const bl=(0,Vr.S)([].concat((0,Gi.Z)(qa),[dl]),!0,jo,Jo),{checkedKeys:Ks,halfCheckedKeys:Es}=bl;let fu=Ks;if(xa){const id=new Set(Ks);id.delete(dl),fu=(0,Vr.S)(Array.from(id),{checked:!1,halfCheckedKeys:Es},jo,Jo).checkedKeys}bs(dl,!xa,fu,Iu)}}No(xa?null:dl)}})),checked:xa}};const al=(Za,as,Ss)=>{const{node:Vs,checked:dl}=xl(Za,as,Ss);return Vi?Vi(dl,as,Ss,Vs):Vs};if(!er.includes(rr))if(er.findIndex(Za=>{var as;return((as=Za[lr])===null||as===void 0?void 0:as.columnType)==="EXPAND_COLUMN"})===0){const[Za,...as]=er;er=[Za,rr].concat((0,Gi.Z)(as))}else er=[rr].concat((0,Gi.Z)(er));const ql=er.indexOf(rr);er=er.filter((Za,as)=>Za!==rr||as===ql);const Ya=er[ql-1],_l=er[ql+1];let sl=Lr;sl===void 0&&((_l==null?void 0:_l.fixed)!==void 0?sl=_l.fixed:(Ya==null?void 0:Ya.fixed)!==void 0&&(sl=Ya.fixed)),sl&&Ya&&((wi=Ya[lr])===null||wi===void 0?void 0:wi.columnType)==="EXPAND_COLUMN"&&Ya.fixed===void 0&&(Ya.fixed=sl);const Ml=Pt()(`${zr}-selection-col`,{[`${zr}-selection-col-with-dropdown`]:Ui&&Ki==="checkbox"}),Hc={fixed:sl,width:qi,className:`${zr}-selection-column`,title:Et.columnTitle||ja,render:al,onCell:Et.onCell,[lr]:{className:Ml}};return er.map(Za=>Za===rr?Hc:Za)},[mo,Or,Et,Da,Ms,vs,qi,ys,Zo,ea,Qo,Ei,bs,Jo]),Ms]},ka=oe(35323),Nl=oe(19155),js=oe(6848);const $s="ascend",fr="descend";function va(mt){return typeof mt.sorter=="object"&&typeof mt.sorter.multiple=="number"?mt.sorter.multiple:!1}function Wt(mt){return typeof mt=="function"?mt:mt&&typeof mt=="object"&&mt.compare?mt.compare:!1}function di(mt,Et){return Et?mt[mt.indexOf(Et)+1]:mt[0]}function Ns(mt,Et,rn){let cn=[];function Dn(xn,ri){cn.push({column:xn,key:ds(xn,ri),multiplePriority:va(xn),sortOrder:xn.sortOrder})}return(mt||[]).forEach((xn,ri)=>{const ai=Qa(ri,rn);xn.children?("sortOrder"in xn&&Dn(xn,ai),cn=[].concat((0,Gi.Z)(cn),(0,Gi.Z)(Ns(xn.children,Et,ai)))):xn.sorter&&("sortOrder"in xn?Dn(xn,ai):Et&&xn.defaultSortOrder&&cn.push({column:xn,key:ds(xn,ai),multiplePriority:va(xn),sortOrder:xn.defaultSortOrder}))}),cn}function ps(mt,Et,rn,cn,Dn,xn,ri,ai){return(Et||[]).map((qn,bi)=>{const Ni=Qa(bi,ai);let Ei=qn;if(Ei.sorter){const qi=Ei.sortDirections||Dn,Ki=Ei.showSorterTooltip===void 0?ri:Ei.showSorterTooltip,Ui=ds(Ei,Ni),Lr=rn.find(Zo=>{let{key:Hr}=Zo;return Hr===Ui}),Vi=Lr?Lr.sortOrder:null,Pr=di(qi,Vi);let yr;if(qn.sortIcon)yr=qn.sortIcon({sortOrder:Vi});else{const Zo=qi.includes($s)&&Ee.createElement(Nl.Z,{className:Pt()(`${mt}-column-sorter-up`,{active:Vi===$s})}),Hr=qi.includes(fr)&&Ee.createElement(ka.Z,{className:Pt()(`${mt}-column-sorter-down`,{active:Vi===fr})});yr=Ee.createElement("span",{className:Pt()(`${mt}-column-sorter`,{[`${mt}-column-sorter-full`]:!!(Zo&&Hr)})},Ee.createElement("span",{className:`${mt}-column-sorter-inner`,"aria-hidden":"true"},Zo,Hr))}const{cancelSort:zr,triggerAsc:So,triggerDesc:Lo}=xn||{};let Tr=zr;Pr===fr?Tr=Lo:Pr===$s&&(Tr=So);const mo=typeof Ki=="object"?Ki:{title:Tr};Ei=Object.assign(Object.assign({},Ei),{className:Pt()(Ei.className,{[`${mt}-column-sort`]:Vi}),title:Zo=>{const Hr=Ee.createElement("div",{className:`${mt}-column-sorters`},Ee.createElement("span",{className:`${mt}-column-title`},ks(qn.title,Zo)),yr);return Ki?Ee.createElement(js.Z,Object.assign({},mo),Hr):Hr},onHeaderCell:Zo=>{const Hr=qn.onHeaderCell&&qn.onHeaderCell(Zo)||{},uo=Hr.onClick,vr=Hr.onKeyDown;Hr.onClick=Co=>{cn({column:qn,key:Ui,sortOrder:Pr,multiplePriority:va(qn)}),uo==null||uo(Co)},Hr.onKeyDown=Co=>{Co.keyCode===_i.Z.ENTER&&(cn({column:qn,key:Ui,sortOrder:Pr,multiplePriority:va(qn)}),vr==null||vr(Co))};const cr=Ds(qn.title,{}),to=cr==null?void 0:cr.toString();return Vi?Hr["aria-sort"]=Vi==="ascend"?"ascending":"descending":Hr["aria-label"]=to||"",Hr.className=Pt()(Hr.className,`${mt}-column-has-sorters`),Hr.tabIndex=0,qn.ellipsis&&(Hr.title=(cr!=null?cr:"").toString()),Hr}})}return"children"in Ei&&(Ei=Object.assign(Object.assign({},Ei),{children:ps(mt,Ei.children,rn,cn,Dn,xn,ri,Ni)})),Ei})}function cl(mt){const{column:Et,sortOrder:rn}=mt;return{column:Et,order:rn,field:Et.dataIndex,columnKey:Et.key}}function Os(mt){const Et=mt.filter(rn=>{let{sortOrder:cn}=rn;return cn}).map(cl);return Et.length===0&&mt.length?Object.assign(Object.assign({},cl(mt[mt.length-1])),{column:void 0}):Et.length<=1?Et[0]||{}:Et}function nu(mt,Et,rn){const cn=Et.slice().sort((ri,ai)=>ai.multiplePriority-ri.multiplePriority),Dn=mt.slice(),xn=cn.filter(ri=>{let{column:{sorter:ai},sortOrder:qn}=ri;return Wt(ai)&&qn});return xn.length?Dn.sort((ri,ai)=>{for(let qn=0;qn{const ai=ri[rn];return ai?Object.assign(Object.assign({},ri),{[rn]:nu(ai,Et,rn)}):ri}):Dn}function hu(mt){let{prefixCls:Et,mergedColumns:rn,onSorterChange:cn,sortDirections:Dn,tableLocale:xn,showSorterTooltip:ri}=mt;const[ai,qn]=Ee.useState(Ns(rn,!0)),bi=Ee.useMemo(()=>{let Ui=!0;const Lr=Ns(rn,!1);if(!Lr.length)return ai;const Vi=[];function Pr(zr){Ui?Vi.push(zr):Vi.push(Object.assign(Object.assign({},zr),{sortOrder:null}))}let yr=null;return Lr.forEach(zr=>{yr===null?(Pr(zr),zr.sortOrder&&(zr.multiplePriority===!1?Ui=!1:yr=!0)):(yr&&zr.multiplePriority!==!1||(Ui=!1),Pr(zr))}),Vi},[rn,ai]),Ni=Ee.useMemo(()=>{const Ui=bi.map(Lr=>{let{column:Vi,sortOrder:Pr}=Lr;return{column:Vi,order:Pr}});return{sortColumns:Ui,sortColumn:Ui[0]&&Ui[0].column,sortOrder:Ui[0]&&Ui[0].order}},[bi]);function Ei(Ui){let Lr;Ui.multiplePriority===!1||!bi.length||bi[0].multiplePriority===!1?Lr=[Ui]:Lr=[].concat((0,Gi.Z)(bi.filter(Vi=>{let{key:Pr}=Vi;return Pr!==Ui.key})),[Ui]),qn(Lr),cn(Os(Lr),Lr)}return[Ui=>ps(Et,Ui,bi,Ei,Dn,xn,ri),bi,Ni,()=>Os(bi)]}function Vu(mt,Et){return mt.map(rn=>{const cn=Object.assign({},rn);return cn.title=ks(rn.title,Et),"children"in cn&&(cn.children=Vu(cn.children,Et)),cn})}function rs(mt){return[Ee.useCallback(rn=>Vu(rn,mt),[mt])]}var Eo=br((mt,Et)=>{const{_renderTimes:rn}=mt,{_renderTimes:cn}=Et;return rn!==cn}),Fa=Ko((mt,Et)=>{const{_renderTimes:rn}=mt,{_renderTimes:cn}=Et;return rn!==cn}),Fr=oe(64993),za=oe(17313),qo=oe(83116),ol=oe(37613),oo=mt=>{const{componentCls:Et}=mt,rn=`${mt.lineWidth}px ${mt.lineType} ${mt.tableBorderColor}`,cn=(Dn,xn,ri)=>({[`&${Et}-${Dn}`]:{[`> ${Et}-container`]:{[`> ${Et}-content, > ${Et}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Et}-expanded-row-fixed`]:{margin:`-${xn}px -${ri+mt.lineWidth}px`}}}}}});return{[`${Et}-wrapper`]:{[`${Et}${Et}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Et}-title`]:{border:rn,borderBottom:0},[`> ${Et}-container`]:{borderInlineStart:rn,borderTop:rn,[` > ${Et}-content, > ${Et}-header, > ${Et}-body, @@ -1195,7 +1195,7 @@ `]:{"> th, > td":{borderInlineEnd:0}}}}}},cn("middle",mt.tablePaddingVerticalMiddle,mt.tablePaddingHorizontalMiddle)),cn("small",mt.tablePaddingVerticalSmall,mt.tablePaddingHorizontalSmall)),{[`> ${Et}-footer`]:{border:rn,borderTop:0}}),[`${Et}-cell`]:{[`${Et}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${mt.lineWidth}px 0 ${mt.lineWidth}px ${mt.tableHeaderBg}`}},[`${Et}-bordered ${Et}-cell-scrollbar`]:{borderInlineEnd:rn}}}},Sl=mt=>{const{componentCls:Et}=mt;return{[`${Et}-wrapper`]:{[`${Et}-cell-ellipsis`]:Object.assign(Object.assign({},za.vS),{wordBreak:"keep-all",[` &${Et}-cell-fix-left-last, &${Et}-cell-fix-right-first - `]:{overflow:"visible",[`${Et}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Et}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Xo=mt=>{const{componentCls:Et}=mt;return{[`${Et}-wrapper`]:{[`${Et}-tbody > tr${Et}-placeholder`]:{textAlign:"center",color:mt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:mt.colorBgContainer}}}}},Bl=oe(15969),Ka=mt=>{const{componentCls:Et,antCls:rn,controlInteractiveSize:cn,motionDurationSlow:Dn,lineWidth:xn,paddingXS:ri,lineType:ai,tableBorderColor:qn,tableExpandIconBg:bi,tableExpandColumnWidth:Ni,borderRadius:Ei,fontSize:qi,fontSizeSM:Ki,lineHeight:Ui,tablePaddingVertical:Lr,tablePaddingHorizontal:Vi,tableExpandedRowBg:Pr,paddingXXS:yr}=mt,jr=cn/2-xn,So=jr*2+xn*3,Lo=`${xn}px ${ai} ${qn}`,Tr=yr-xn;return{[`${Et}-wrapper`]:{[`${Et}-expand-icon-col`]:{width:Ni},[`${Et}-row-expand-icon-cell`]:{textAlign:"center",[`${Et}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Et}-row-indent`]:{height:1,float:"left"},[`${Et}-row-expand-icon`]:Object.assign(Object.assign({},(0,Bl.N)(mt)),{position:"relative",float:"left",boxSizing:"border-box",width:So,height:So,padding:0,color:"inherit",lineHeight:`${So}px`,background:bi,border:Lo,borderRadius:Ei,transform:`scale(${cn/So})`,transition:`all ${Dn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Dn} ease-out`,content:'""'},"&::before":{top:jr,insetInlineEnd:Tr,insetInlineStart:Tr,height:xn},"&::after":{top:Tr,bottom:Tr,insetInlineStart:jr,width:xn,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Et}-row-indent + ${Et}-row-expand-icon`]:{marginTop:(qi*Ui-xn*3)/2-Math.ceil((Ki*1.4-xn*3)/2),marginInlineEnd:ri},[`tr${Et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Pr}},[`${rn}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Et}-expanded-row-fixed`]:{position:"relative",margin:`-${Lr}px -${Vi}px`,padding:`${Lr}px ${Vi}px`}}}},hs=mt=>{const{componentCls:Et,antCls:rn,iconCls:cn,tableFilterDropdownWidth:Dn,tableFilterDropdownSearchWidth:xn,paddingXXS:ri,paddingXS:ai,colorText:qn,lineWidth:bi,lineType:Ni,tableBorderColor:Ei,tableHeaderIconColor:qi,fontSizeSM:Ki,tablePaddingHorizontal:Ui,borderRadius:Lr,motionDurationSlow:Vi,colorTextDescription:Pr,colorPrimary:yr,tableHeaderFilterActiveBg:jr,colorTextDisabled:So,tableFilterDropdownBg:Lo,tableFilterDropdownHeight:Tr,controlItemBgHover:mo,controlItemBgActive:Zo,boxShadowSecondary:Hr,filterDropdownMenuBg:uo}=mt,vr=`${rn}-dropdown`,cr=`${Et}-filter-dropdown`,to=`${rn}-tree`,Co=`${bi}px ${Ni} ${Ei}`;return[{[`${Et}-wrapper`]:{[`${Et}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Et}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-ri,marginInline:`${ri}px ${-Ui/2}px`,padding:`0 ${ri}px`,color:qi,fontSize:Ki,borderRadius:Lr,cursor:"pointer",transition:`all ${Vi}`,"&:hover":{color:Pr,background:jr},"&.active":{color:yr}}}},{[`${rn}-dropdown`]:{[cr]:Object.assign(Object.assign({},(0,za.Wf)(mt)),{minWidth:Dn,backgroundColor:Lo,borderRadius:Lr,boxShadow:Hr,overflow:"hidden",[`${vr}-menu`]:{maxHeight:Tr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:uo,"&:empty::after":{display:"block",padding:`${ai}px 0`,color:So,fontSize:Ki,textAlign:"center",content:'"Not Found"'}},[`${cr}-tree`]:{paddingBlock:`${ai}px 0`,paddingInline:ai,[to]:{padding:0},[`${to}-treenode ${to}-node-content-wrapper:hover`]:{backgroundColor:mo},[`${to}-treenode-checkbox-checked ${to}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Zo}}},[`${cr}-search`]:{padding:ai,borderBottom:Co,"&-input":{input:{minWidth:xn},[cn]:{color:So}}},[`${cr}-checkall`]:{width:"100%",marginBottom:ri,marginInlineStart:ri},[`${cr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${ai-bi}px ${ai}px`,overflow:"hidden",borderTop:Co}})}},{[`${rn}-dropdown ${cr}, ${cr}-submenu`]:{[`${rn}-checkbox-wrapper + span`]:{paddingInlineStart:ai,color:qn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ku=mt=>{const{componentCls:Et,lineWidth:rn,colorSplit:cn,motionDurationSlow:Dn,zIndexTableFixed:xn,tableBg:ri,zIndexTableSticky:ai}=mt,qn=cn;return{[`${Et}-wrapper`]:{[` + `]:{overflow:"visible",[`${Et}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Et}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Xo=mt=>{const{componentCls:Et}=mt;return{[`${Et}-wrapper`]:{[`${Et}-tbody > tr${Et}-placeholder`]:{textAlign:"center",color:mt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:mt.colorBgContainer}}}}},Bl=oe(15969),Ka=mt=>{const{componentCls:Et,antCls:rn,controlInteractiveSize:cn,motionDurationSlow:Dn,lineWidth:xn,paddingXS:ri,lineType:ai,tableBorderColor:qn,tableExpandIconBg:bi,tableExpandColumnWidth:Ni,borderRadius:Ei,fontSize:qi,fontSizeSM:Ki,lineHeight:Ui,tablePaddingVertical:Lr,tablePaddingHorizontal:Vi,tableExpandedRowBg:Pr,paddingXXS:yr}=mt,zr=cn/2-xn,So=zr*2+xn*3,Lo=`${xn}px ${ai} ${qn}`,Tr=yr-xn;return{[`${Et}-wrapper`]:{[`${Et}-expand-icon-col`]:{width:Ni},[`${Et}-row-expand-icon-cell`]:{textAlign:"center",[`${Et}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Et}-row-indent`]:{height:1,float:"left"},[`${Et}-row-expand-icon`]:Object.assign(Object.assign({},(0,Bl.N)(mt)),{position:"relative",float:"left",boxSizing:"border-box",width:So,height:So,padding:0,color:"inherit",lineHeight:`${So}px`,background:bi,border:Lo,borderRadius:Ei,transform:`scale(${cn/So})`,transition:`all ${Dn}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Dn} ease-out`,content:'""'},"&::before":{top:zr,insetInlineEnd:Tr,insetInlineStart:Tr,height:xn},"&::after":{top:Tr,bottom:Tr,insetInlineStart:zr,width:xn,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Et}-row-indent + ${Et}-row-expand-icon`]:{marginTop:(qi*Ui-xn*3)/2-Math.ceil((Ki*1.4-xn*3)/2),marginInlineEnd:ri},[`tr${Et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Pr}},[`${rn}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Et}-expanded-row-fixed`]:{position:"relative",margin:`-${Lr}px -${Vi}px`,padding:`${Lr}px ${Vi}px`}}}},os=mt=>{const{componentCls:Et,antCls:rn,iconCls:cn,tableFilterDropdownWidth:Dn,tableFilterDropdownSearchWidth:xn,paddingXXS:ri,paddingXS:ai,colorText:qn,lineWidth:bi,lineType:Ni,tableBorderColor:Ei,tableHeaderIconColor:qi,fontSizeSM:Ki,tablePaddingHorizontal:Ui,borderRadius:Lr,motionDurationSlow:Vi,colorTextDescription:Pr,colorPrimary:yr,tableHeaderFilterActiveBg:zr,colorTextDisabled:So,tableFilterDropdownBg:Lo,tableFilterDropdownHeight:Tr,controlItemBgHover:mo,controlItemBgActive:Zo,boxShadowSecondary:Hr,filterDropdownMenuBg:uo}=mt,vr=`${rn}-dropdown`,cr=`${Et}-filter-dropdown`,to=`${rn}-tree`,Co=`${bi}px ${Ni} ${Ei}`;return[{[`${Et}-wrapper`]:{[`${Et}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Et}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-ri,marginInline:`${ri}px ${-Ui/2}px`,padding:`0 ${ri}px`,color:qi,fontSize:Ki,borderRadius:Lr,cursor:"pointer",transition:`all ${Vi}`,"&:hover":{color:Pr,background:zr},"&.active":{color:yr}}}},{[`${rn}-dropdown`]:{[cr]:Object.assign(Object.assign({},(0,za.Wf)(mt)),{minWidth:Dn,backgroundColor:Lo,borderRadius:Lr,boxShadow:Hr,overflow:"hidden",[`${vr}-menu`]:{maxHeight:Tr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:uo,"&:empty::after":{display:"block",padding:`${ai}px 0`,color:So,fontSize:Ki,textAlign:"center",content:'"Not Found"'}},[`${cr}-tree`]:{paddingBlock:`${ai}px 0`,paddingInline:ai,[to]:{padding:0},[`${to}-treenode ${to}-node-content-wrapper:hover`]:{backgroundColor:mo},[`${to}-treenode-checkbox-checked ${to}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Zo}}},[`${cr}-search`]:{padding:ai,borderBottom:Co,"&-input":{input:{minWidth:xn},[cn]:{color:So}}},[`${cr}-checkall`]:{width:"100%",marginBottom:ri,marginInlineStart:ri},[`${cr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${ai-bi}px ${ai}px`,overflow:"hidden",borderTop:Co}})}},{[`${rn}-dropdown ${cr}, ${cr}-submenu`]:{[`${rn}-checkbox-wrapper + span`]:{paddingInlineStart:ai,color:qn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ku=mt=>{const{componentCls:Et,lineWidth:rn,colorSplit:cn,motionDurationSlow:Dn,zIndexTableFixed:xn,tableBg:ri,zIndexTableSticky:ai}=mt,qn=cn;return{[`${Et}-wrapper`]:{[` ${Et}-cell-fix-left, ${Et}-cell-fix-right `]:{position:"sticky !important",zIndex:xn,background:ri},[` @@ -1225,7 +1225,7 @@ `]:{padding:`${Dn}px ${xn}px`},[`${Et}-filter-trigger`]:{marginInlineEnd:`-${xn/2}px`},[`${Et}-expanded-row-fixed`]:{margin:`-${Dn}px -${xn}px`},[`${Et}-tbody`]:{[`${Et}-wrapper:only-child ${Et}`]:{marginBlock:`-${Dn}px`,marginInline:`${mt.tableExpandColumnWidth-xn}px -${xn}px`}},[`${Et}-selection-column`]:{paddingInlineStart:`${xn/4}px`}}});return{[`${Et}-wrapper`]:Object.assign(Object.assign({},rn("middle",mt.tablePaddingVerticalMiddle,mt.tablePaddingHorizontalMiddle,mt.tableFontSizeMiddle)),rn("small",mt.tablePaddingVerticalSmall,mt.tablePaddingHorizontalSmall,mt.tableFontSizeSmall))}},kl=mt=>{const{componentCls:Et,marginXXS:rn,fontSizeIcon:cn,tableHeaderIconColor:Dn,tableHeaderIconColorHover:xn}=mt;return{[`${Et}-wrapper`]:{[`${Et}-thead th${Et}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${mt.motionDurationSlow}`,"&:hover":{background:mt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:mt.colorPrimary},[` &${Et}-cell-fix-left:hover, &${Et}-cell-fix-right:hover - `]:{background:mt.tableFixedHeaderSortActiveBg}},[`${Et}-thead th${Et}-column-sort`]:{background:mt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Et}-column-sort`]:{background:mt.tableBodySortBg},[`${Et}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Et}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Et}-column-sorter`]:{marginInlineStart:rn,color:Dn,fontSize:0,transition:`color ${mt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:cn,"&.active":{color:mt.colorPrimary}},[`${Et}-column-sorter-up + ${Et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Et}-column-sorters:hover ${Et}-column-sorter`]:{color:xn}}}},Ac=mt=>{const{componentCls:Et,opacityLoading:rn,tableScrollThumbBg:cn,tableScrollThumbBgHover:Dn,tableScrollThumbSize:xn,tableScrollBg:ri,zIndexTableSticky:ai,stickyScrollBarBorderRadius:qn}=mt,bi=`${mt.lineWidth}px ${mt.lineType} ${mt.tableBorderColor}`;return{[`${Et}-wrapper`]:{[`${Et}-sticky`]:{"&-holder":{position:"sticky",zIndex:ai,background:mt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${xn}px !important`,zIndex:ai,display:"flex",alignItems:"center",background:ri,borderTop:bi,opacity:rn,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:xn,backgroundColor:cn,borderRadius:qn,transition:`all ${mt.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Dn}}}}}}},$u=mt=>{const{componentCls:Et,lineWidth:rn,tableBorderColor:cn}=mt,Dn=`${rn}px ${mt.lineType} ${cn}`;return{[`${Et}-wrapper`]:{[`${Et}-summary`]:{position:"relative",zIndex:mt.zIndexTableFixed,background:mt.tableBg,"> tr":{"> th, > td":{borderBottom:Dn}}},[`div${Et}-summary`]:{boxShadow:`0 -${rn}px 0 ${cn}`}}}},Sc=mt=>{const{componentCls:Et}=mt,rn=`${mt.lineWidth}px ${mt.lineType} ${mt.tableBorderColor}`,cn=`${Et}-expanded-row-cell`;return{[`${Et}-wrapper`]:{[`${Et}-tbody-virtual`]:{[`${Et}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Et}-cell`]:{borderBottom:rn},[`${Et}-expanded-row`]:{[`${cn}${cn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${mt.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Et}-bordered`]:{[`${Et}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:rn,position:"absolute"},[`${Et}-cell`]:{borderInlineEnd:rn,[`&${Et}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-mt.lineWidth,borderInlineStart:rn}}}}}}};const Xu=mt=>{const{componentCls:Et,fontWeightStrong:rn,tablePaddingVertical:cn,tablePaddingHorizontal:Dn,lineWidth:xn,lineType:ri,tableBorderColor:ai,tableFontSize:qn,tableBg:bi,tableRadius:Ni,tableHeaderTextColor:Ei,motionDurationMid:qi,tableHeaderBg:Ki,tableHeaderCellSplitColor:Ui,tableRowHoverBg:Lr,tableSelectedRowBg:Vi,tableSelectedRowHoverBg:Pr,tableFooterTextColor:yr,tableFooterBg:jr,paddingContentVerticalLG:So}=mt,Lo=`${xn}px ${ri} ${ai}`;return{[`${Et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,za.dF)()),{[Et]:Object.assign(Object.assign({},(0,za.Wf)(mt)),{fontSize:qn,background:bi,borderRadius:`${Ni}px ${Ni}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ni}px ${Ni}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{background:mt.tableFixedHeaderSortActiveBg}},[`${Et}-thead th${Et}-column-sort`]:{background:mt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Et}-column-sort`]:{background:mt.tableBodySortBg},[`${Et}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Et}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Et}-column-sorter`]:{marginInlineStart:rn,color:Dn,fontSize:0,transition:`color ${mt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:cn,"&.active":{color:mt.colorPrimary}},[`${Et}-column-sorter-up + ${Et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Et}-column-sorters:hover ${Et}-column-sorter`]:{color:xn}}}},Ac=mt=>{const{componentCls:Et,opacityLoading:rn,tableScrollThumbBg:cn,tableScrollThumbBgHover:Dn,tableScrollThumbSize:xn,tableScrollBg:ri,zIndexTableSticky:ai,stickyScrollBarBorderRadius:qn}=mt,bi=`${mt.lineWidth}px ${mt.lineType} ${mt.tableBorderColor}`;return{[`${Et}-wrapper`]:{[`${Et}-sticky`]:{"&-holder":{position:"sticky",zIndex:ai,background:mt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${xn}px !important`,zIndex:ai,display:"flex",alignItems:"center",background:ri,borderTop:bi,opacity:rn,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:xn,backgroundColor:cn,borderRadius:qn,transition:`all ${mt.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Dn}}}}}}},$u=mt=>{const{componentCls:Et,lineWidth:rn,tableBorderColor:cn}=mt,Dn=`${rn}px ${mt.lineType} ${cn}`;return{[`${Et}-wrapper`]:{[`${Et}-summary`]:{position:"relative",zIndex:mt.zIndexTableFixed,background:mt.tableBg,"> tr":{"> th, > td":{borderBottom:Dn}}},[`div${Et}-summary`]:{boxShadow:`0 -${rn}px 0 ${cn}`}}}},Sc=mt=>{const{componentCls:Et}=mt,rn=`${mt.lineWidth}px ${mt.lineType} ${mt.tableBorderColor}`,cn=`${Et}-expanded-row-cell`;return{[`${Et}-wrapper`]:{[`${Et}-tbody-virtual`]:{[`${Et}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Et}-cell`]:{borderBottom:rn},[`${Et}-expanded-row`]:{[`${cn}${cn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${mt.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Et}-bordered`]:{[`${Et}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:rn,position:"absolute"},[`${Et}-cell`]:{borderInlineEnd:rn,[`&${Et}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-mt.lineWidth,borderInlineStart:rn}}}}}}};const Xu=mt=>{const{componentCls:Et,fontWeightStrong:rn,tablePaddingVertical:cn,tablePaddingHorizontal:Dn,lineWidth:xn,lineType:ri,tableBorderColor:ai,tableFontSize:qn,tableBg:bi,tableRadius:Ni,tableHeaderTextColor:Ei,motionDurationMid:qi,tableHeaderBg:Ki,tableHeaderCellSplitColor:Ui,tableRowHoverBg:Lr,tableSelectedRowBg:Vi,tableSelectedRowHoverBg:Pr,tableFooterTextColor:yr,tableFooterBg:zr,paddingContentVerticalLG:So}=mt,Lo=`${xn}px ${ri} ${ai}`;return{[`${Et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,za.dF)()),{[Et]:Object.assign(Object.assign({},(0,za.Wf)(mt)),{fontSize:qn,background:bi,borderRadius:`${Ni}px ${Ni}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ni}px ${Ni}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${Et}-cell, ${Et}-thead > tr > th, ${Et}-tbody > tr > th, @@ -1240,7 +1240,7 @@ &${Et}-row:hover > td, > th${Et}-cell-row-hover, > td${Et}-cell-row-hover - `]:{background:Lr},[`&${Et}-row-selected`]:{"> th, > td":{background:Vi},"&:hover > th, &:hover > td":{background:Pr}}}},[`${Et}-footer`]:{padding:`${cn}px ${Dn}px`,color:yr,background:jr}})}};var Nc=(0,qo.Z)("Table",mt=>{const{colorTextHeading:Et,colorSplit:rn,colorIcon:cn,colorIconHover:Dn,opacityLoading:xn,colorBgContainer:ri,controlInteractiveSize:ai,headerBg:qn,headerColor:bi,headerSortActiveBg:Ni,headerSortHoverBg:Ei,bodySortBg:qi,rowHoverBg:Ki,rowSelectedBg:Ui,rowSelectedHoverBg:Lr,rowExpandedBg:Vi,cellPaddingBlock:Pr,cellPaddingInline:yr,cellPaddingBlockMD:jr,cellPaddingInlineMD:So,cellPaddingBlockSM:Lo,cellPaddingInlineSM:Tr,borderColor:mo,footerBg:Zo,footerColor:Hr,headerBorderRadius:uo,cellFontSize:vr,cellFontSizeMD:cr,cellFontSizeSM:to,headerSplitColor:Co,fixedHeaderSortActiveBg:Ro,headerFilterHoverBg:jo,filterDropdownBg:Or,expandIconBg:Qo,selectionColumnWidth:Jo,stickyScrollBarBg:Da}=mt,la=new Gr.C(cn),Ms=new Gr.C(Dn),vs=2,ea=(0,ol.TS)(mt,{tableFontSize:vr,tableBg:ri,tableRadius:uo,tablePaddingVertical:Pr,tablePaddingHorizontal:yr,tablePaddingVerticalMiddle:jr,tablePaddingHorizontalMiddle:So,tablePaddingVerticalSmall:Lo,tablePaddingHorizontalSmall:Tr,tableBorderColor:mo,tableHeaderTextColor:bi,tableHeaderBg:qn,tableFooterTextColor:Hr,tableFooterBg:Zo,tableHeaderCellSplitColor:Co,tableHeaderSortBg:Ni,tableHeaderSortHoverBg:Ei,tableHeaderIconColor:la.clone().setAlpha(la.getAlpha()*xn).toRgbString(),tableHeaderIconColorHover:Ms.clone().setAlpha(Ms.getAlpha()*xn).toRgbString(),tableBodySortBg:qi,tableFixedHeaderSortActiveBg:Ro,tableHeaderFilterActiveBg:jo,tableFilterDropdownBg:Or,tableRowHoverBg:Ki,tableSelectedRowBg:Ui,tableSelectedRowHoverBg:Lr,zIndexTableFixed:vs,zIndexTableSticky:vs+1,tableFontSizeMiddle:cr,tableFontSizeSmall:to,tableSelectionColumnWidth:Jo,tableExpandIconBg:Qo,tableExpandColumnWidth:ai+2*mt.padding,tableExpandedRowBg:Vi,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Da,tableScrollThumbBgHover:Et,tableScrollBg:rn});return[Xu(ea),Gc(ea),$u(ea),kl(ea),hs(ea),oo(ea),ah(ea),Ka(ea),$u(ea),Xo(ea),zl(ea),Ku(ea),Ac(ea),Sl(ea),zs(ea),jl(ea),Sc(ea)]},mt=>{const{colorFillAlter:Et,colorBgContainer:rn,colorTextHeading:cn,colorFillSecondary:Dn,colorFillContent:xn,controlItemBgActive:ri,controlItemBgActiveHover:ai,padding:qn,paddingSM:bi,paddingXS:Ni,colorBorderSecondary:Ei,borderRadiusLG:qi,fontSize:Ki,controlHeight:Ui,colorTextPlaceholder:Lr}=mt,Vi=new Gr.C(Dn).onBackground(rn).toHexShortString(),Pr=new Gr.C(xn).onBackground(rn).toHexShortString(),yr=new Gr.C(Et).onBackground(rn).toHexShortString();return{headerBg:yr,headerColor:cn,headerSortActiveBg:Vi,headerSortHoverBg:Pr,bodySortBg:yr,rowHoverBg:yr,rowSelectedBg:ri,rowSelectedHoverBg:ai,rowExpandedBg:Et,cellPaddingBlock:qn,cellPaddingInline:qn,cellPaddingBlockMD:bi,cellPaddingInlineMD:Ni,cellPaddingBlockSM:Ni,cellPaddingInlineSM:Ni,borderColor:Ei,headerBorderRadius:qi,footerBg:yr,footerColor:cn,cellFontSize:Ki,cellFontSizeMD:Ki,cellFontSizeSM:Ki,headerSplitColor:Ei,fixedHeaderSortActiveBg:Vi,headerFilterHoverBg:xn,filterDropdownMenuBg:rn,filterDropdownBg:rn,expandIconBg:rn,selectionColumnWidth:Ui,stickyScrollBarBg:Lr,stickyScrollBarBorderRadius:100}});const td=[],nd=(mt,Et)=>{const{prefixCls:rn,className:cn,rootClassName:Dn,style:xn,size:ri,bordered:ai,dropdownPrefixCls:qn,dataSource:bi,pagination:Ni,rowSelection:Ei,rowKey:qi="key",rowClassName:Ki,columns:Ui,children:Lr,childrenColumnName:Vi,onChange:Pr,getPopupContainer:yr,loading:jr,expandIcon:So,expandable:Lo,expandedRowRender:Tr,expandIconColumnIndex:mo,indentSize:Zo,scroll:Hr,sortDirections:uo,locale:vr,showSorterTooltip:cr=!0,virtual:to}=mt,Co=Ee.useMemo(()=>Ui||On(Lr),[Ui,Lr]),Ro=Ee.useMemo(()=>Co.some(Ua=>Ua.responsive),[Co]),jo=(0,fi.Z)(Ro),Or=Ee.useMemo(()=>{const Ua=new Set(Object.keys(jo).filter(Cs=>jo[Cs]));return Co.filter(Cs=>!Cs.responsive||Cs.responsive.some(wl=>Ua.has(wl)))},[Co,jo]),Qo=(0,ao.Z)(mt,["className","style","columns"]),{locale:Jo=bo.Z,direction:Da,table:la,renderEmpty:Ms,getPrefixCls:vs,getPopupContainer:ea}=Ee.useContext(gr.E_),No=(0,xr.Z)(ri),Ba=Object.assign(Object.assign({},Jo.Table),vr),bs=bi||td,ys=vs("table",rn),qs=vs("dropdown",qn),_o=Object.assign({childrenColumnName:Vi,expandIconColumnIndex:mo},Lo),{childrenColumnName:wi="children"}=_o,er=Ee.useMemo(()=>bs.some(Ua=>Ua==null?void 0:Ua[wi])?"nest":Tr||Lo&&Lo.expandedRowRender?"row":null,[bs]),qr={body:Ee.useRef()},La=Ee.useMemo(()=>typeof qi=="function"?qi:Ua=>Ua==null?void 0:Ua[qi],[qi]),[ho]=Pc(bs,wi,La),Yo={},Sa=function(Ua,Cs){let wl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ls,_a,gl;const pu=Object.assign(Object.assign({},Yo),Ua);wl&&((Ls=Yo.resetPagination)===null||Ls===void 0||Ls.call(Yo),!((_a=pu.pagination)===null||_a===void 0)&&_a.current&&(pu.pagination.current=1),Ni&&Ni.onChange&&Ni.onChange(1,(gl=pu.pagination)===null||gl===void 0?void 0:gl.pageSize)),Hr&&Hr.scrollToFirstRowOnChange!==!1&&qr.body.current&&(0,ra.Z)(0,{getContainer:()=>qr.body.current}),Pr==null||Pr(pu.pagination,pu.filters,pu.sorter,{currentDataSource:Zs(nu(bs,pu.sorterStates,wi),pu.filterStates),action:Cs})},ja=(Ua,Cs)=>{Sa({sorter:Ua,sorterStates:Cs},"sort",!1)},[xl,al,ql,Ya]=hu({prefixCls:ys,mergedColumns:Or,onSorterChange:ja,sortDirections:uo||["ascend","descend"],tableLocale:Ba,showSorterTooltip:cr}),_l=Ee.useMemo(()=>nu(bs,al,wi),[bs,al]);Yo.sorter=Ya(),Yo.sorterStates=al;const sl=(Ua,Cs)=>{Sa({filters:Ua,filterStates:Cs},"filter",!0)},[Ml,Hc,Za]=qc({prefixCls:ys,locale:Ba,dropdownPrefixCls:qs,mergedColumns:Or,onFilterChange:sl,getPopupContainer:yr||ea}),os=Zs(_l,Hc);Yo.filters=Za,Yo.filterStates=Hc;const Ss=Ee.useMemo(()=>{const Ua={};return Object.keys(Za).forEach(Cs=>{Za[Cs]!==null&&(Ua[Cs]=Za[Cs])}),Object.assign(Object.assign({},ql),{filters:Ua})},[ql,Za]),[Vs]=rs(Ss),dl=(Ua,Cs)=>{Sa({pagination:Object.assign(Object.assign({},Yo.pagination),{current:Ua,pageSize:Cs})},"paginate")},[xa,ws]=Ao(os.length,dl,Ni);Yo.pagination=Ni===!1?{}:bn(xa,Ni),Yo.resetPagination=ws;const Ll=Ee.useMemo(()=>{if(Ni===!1||!xa.pageSize)return os;const{current:Ua=1,total:Cs,pageSize:wl=Xn}=xa;return os.lengthwl?os.slice((Ua-1)*wl,Ua*wl):os:os.slice((Ua-1)*wl,Ua*wl)},[!!Ni,os,xa&&xa.current,xa&&xa.pageSize,xa&&xa.total]),[hl,Qu]=Bs({prefixCls:ys,data:os,pageData:Ll,getRowKey:La,getRecordByKey:ho,expandType:er,childrenColumnName:wi,locale:Ba,getPopupContainer:yr||ea},Ei),Iu=(Ua,Cs,wl)=>{let Ls;return typeof Ki=="function"?Ls=Pt()(Ki(Ua,Cs,wl)):Ls=Pt()(Ki),Pt()({[`${ys}-row-selected`]:Qu.has(La(Ua,Cs))},Ls)};_o.__PARENT_RENDER_ICON__=_o.expandIcon,_o.expandIcon=_o.expandIcon||So||ts(Ba),er==="nest"&&_o.expandIconColumnIndex===void 0?_o.expandIconColumnIndex=Ei?1:0:_o.expandIconColumnIndex>0&&Ei&&(_o.expandIconColumnIndex-=1),typeof _o.indentSize!="number"&&(_o.indentSize=typeof Zo=="number"?Zo:15);const lc=Ee.useCallback(Ua=>Vs(hl(Ml(xl(Ua)))),[xl,Ml,hl]);let uc,Ju;if(Ni!==!1&&(xa!=null&&xa.total)){let Ua;xa.size?Ua=xa.size:Ua=No==="small"||No==="middle"?"small":void 0;const Cs=_a=>Ee.createElement(ua.Z,Object.assign({},xa,{className:Pt()(`${ys}-pagination ${ys}-pagination-${_a}`,xa.className),size:Ua})),wl=Da==="rtl"?"left":"right",{position:Ls}=xa;if(Ls!==null&&Array.isArray(Ls)){const _a=Ls.find(qu=>qu.includes("top")),gl=Ls.find(qu=>qu.includes("bottom")),pu=Ls.every(qu=>`${qu}`=="none");!_a&&!gl&&!pu&&(Ju=Cs(wl)),_a&&(uc=Cs(_a.toLowerCase().replace("top",""))),gl&&(Ju=Cs(gl.toLowerCase().replace("bottom","")))}else Ju=Cs(wl)}let qa;typeof jr=="boolean"?qa={spinning:jr}:typeof jr=="object"&&(qa=Object.assign({spinning:!0},jr));const[bl,Ks]=Nc(ys),[,Es]=(0,oa.Z)(),fu=Pt()(`${ys}-wrapper`,la==null?void 0:la.className,{[`${ys}-wrapper-rtl`]:Da==="rtl"},cn,Dn,Ks),id=Object.assign(Object.assign({},la==null?void 0:la.style),xn),cc=vr&&vr.emptyText||(Ms==null?void 0:Ms("Table"))||Ee.createElement(Qi.Z,{componentName:"Table"}),dc=to?Fa:Eo,Mc={},ou=Ee.useMemo(()=>{const{fontSize:Ua,lineHeight:Cs,padding:wl,paddingXS:Ls,paddingSM:_a}=Es,gl=Math.floor(Ua*Cs);switch(No){case"large":return wl*2+gl;case"small":return Ls*2+gl;default:return _a*2+gl}},[Es,No]);return to&&(Mc.listItemHeight=ou),bl(Ee.createElement("div",{ref:Et,className:fu,style:id},Ee.createElement(ca.Z,Object.assign({spinning:!1},qa),uc,Ee.createElement(dc,Object.assign({},Mc,Qo,{columns:Or,direction:Da,expandable:_o,prefixCls:ys,className:Pt()({[`${ys}-middle`]:No==="middle",[`${ys}-small`]:No==="small",[`${ys}-bordered`]:ai,[`${ys}-empty`]:bs.length===0}),data:Ll,rowKey:La,rowClassName:Iu,emptyText:cc,internalHooks:Ce,internalRefs:qr,transformColumns:lc})),Ju)))};var xc=Ee.forwardRef(nd);const Mh=(mt,Et)=>{const rn=Ee.useRef(0);return rn.current+=1,Ee.createElement(xc,Object.assign({},mt,{ref:Et,_renderTimes:rn.current}))},Ul=Ee.forwardRef(Mh);Ul.SELECTION_COLUMN=rr,Ul.EXPAND_COLUMN=se,Ul.SELECTION_ALL=ro,Ul.SELECTION_INVERT=Na,Ul.SELECTION_NONE=Ia,Ul.Column=mr,Ul.ColumnGroup=Uo,Ul.Summary=ft;var Tu=Ul,Ud=Tu},86914:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return it}});var se=oe(99581),Ce=oe(26390),we=oe(43971),Ie=oe(58358),De=oe(5891),Ke=oe(59301),Ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},et=Ee,Je=oe(88853),Ye=function(gt,Bt){return Ke.createElement(Je.Z,(0,De.Z)({},gt,{ref:Bt,icon:et}))},tt=Ke.forwardRef(Ye),ht=tt,kt=oe(92310),ze=oe.n(kt),ee=oe(35654),ne=oe(71430),ge=oe(36355),ue=oe(44757),me=oe(62892),Se=oe(20648);const Ne=4;function ke(Ve){const{dropPosition:gt,dropLevelOffset:Bt,prefixCls:sn,indent:It,direction:en="ltr"}=Ve,En=en==="ltr"?"left":"right",ei=en==="ltr"?"right":"left",An={[En]:-Bt*It+Ne,[ei]:0};switch(gt){case-1:An.top=-3;break;case 1:An.bottom=-3;break;default:An.bottom=-3,An[En]=It+Ne;break}return Ke.createElement("div",{style:An,className:`${sn}-drop-indicator`})}var Te=oe(48610),$e=Ke.forwardRef((Ve,gt)=>{const{getPrefixCls:Bt,direction:sn,virtual:It,tree:en}=Ke.useContext(ge.E_),{prefixCls:En,className:ei,showIcon:An=!1,showLine:Kn,switcherIcon:jt,blockNode:Nn=!1,children:Gn,checkable:ii=!1,selectable:Sn=!0,draggable:Yt,motion:Zt,style:St}=Ve,rt=Bt("tree",En),Ft=Bt(),Ot=Zt!=null?Zt:Object.assign(Object.assign({},(0,me.Z)(Ft)),{motionAppear:!1}),ft=Object.assign(Object.assign({},Ve),{checkable:ii,selectable:Sn,showIcon:An,motion:Ot,blockNode:Nn,showLine:!!Kn,dropIndicatorRender:ke}),[ct,Ge]=(0,Se.ZP)(rt),Ae=Ke.useMemo(()=>{if(!Yt)return!1;let je={};switch(typeof Yt){case"function":je.nodeDraggable=Yt;break;case"object":je=Object.assign({},Yt);break;default:break}return je.icon!==!1&&(je.icon=je.icon||Ke.createElement(ue.Z,null)),je},[Yt]),xe=je=>Ke.createElement(Te.Z,{prefixCls:rt,switcherIcon:jt,treeNodeProps:je,showLine:Kn});return ct(Ke.createElement(se.Z,Object.assign({itemHeight:20,ref:gt,virtual:It},ft,{style:Object.assign(Object.assign({},en==null?void 0:en.style),St),prefixCls:rt,className:ze()({[`${rt}-icon-hide`]:!An,[`${rt}-block-node`]:Nn,[`${rt}-unselectable`]:!Sn,[`${rt}-rtl`]:sn==="rtl"},en==null?void 0:en.className,ei,Ge),direction:sn,checkable:ii&&Ke.createElement("span",{className:`${rt}-checkbox-inner`}),selectable:Sn,switcherIcon:xe,draggable:Ae}),Gn))}),st;(function(Ve){Ve[Ve.None=0]="None",Ve[Ve.Start=1]="Start",Ve[Ve.End=2]="End"})(st||(st={}));function ut(Ve,gt){function Bt(sn){const{key:It,children:en}=sn;gt(It,sn)!==!1&&ut(en||[],gt)}Ve.forEach(Bt)}function Mt(Ve){let{treeData:gt,expandedKeys:Bt,startKey:sn,endKey:It}=Ve;const en=[];let En=st.None;if(sn&&sn===It)return[sn];if(!sn||!It)return[];function ei(An){return An===sn||An===It}return ut(gt,An=>{if(En===st.End)return!1;if(ei(An)){if(en.push(An),En===st.None)En=st.Start;else if(En===st.Start)return En=st.End,!1}else En===st.Start&&en.push(An);return Bt.includes(An)}),en}function nt(Ve,gt){const Bt=(0,Ce.Z)(gt),sn=[];return ut(Ve,(It,en)=>{const En=Bt.indexOf(It);return En!==-1&&(sn.push(en),Bt.splice(En,1)),!!Bt.length}),sn}var $t=function(Ve,gt){var Bt={};for(var sn in Ve)Object.prototype.hasOwnProperty.call(Ve,sn)&>.indexOf(sn)<0&&(Bt[sn]=Ve[sn]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,sn=Object.getOwnPropertySymbols(Ve);It{var{defaultExpandAll:Bt,defaultExpandParent:sn,defaultExpandedKeys:It}=Ve,en=$t(Ve,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const En=Ke.useRef(),ei=Ke.useRef(),An=()=>{const{keyEntities:Ae}=(0,ne.I8)(dn(en));let xe;return Bt?xe=Object.keys(Ae):sn?xe=(0,ee.r7)(en.expandedKeys||It||[],Ae):xe=en.expandedKeys||It,xe},[Kn,jt]=Ke.useState(en.selectedKeys||en.defaultSelectedKeys||[]),[Nn,Gn]=Ke.useState(()=>An());Ke.useEffect(()=>{"selectedKeys"in en&&jt(en.selectedKeys)},[en.selectedKeys]),Ke.useEffect(()=>{"expandedKeys"in en&&Gn(en.expandedKeys)},[en.expandedKeys]);const ii=(Ae,xe)=>{var je;return"expandedKeys"in en||Gn(Ae),(je=en.onExpand)===null||je===void 0?void 0:je.call(en,Ae,xe)},Sn=(Ae,xe)=>{var je;const{multiple:Qe}=en,{node:Oe,nativeEvent:xt}=xe,{key:hn=""}=Oe,Pn=dn(en),wt=Object.assign(Object.assign({},xe),{selected:!0}),nn=(xt==null?void 0:xt.ctrlKey)||(xt==null?void 0:xt.metaKey),Mn=xt==null?void 0:xt.shiftKey;let Zn;Qe&&nn?(Zn=Ae,En.current=hn,ei.current=Zn,wt.selectedNodes=nt(Pn,Zn)):Qe&&Mn?(Zn=Array.from(new Set([].concat((0,Ce.Z)(ei.current||[]),(0,Ce.Z)(Mt({treeData:Pn,expandedKeys:Nn,startKey:hn,endKey:En.current}))))),wt.selectedNodes=nt(Pn,Zn)):(Zn=[hn],En.current=hn,ei.current=Zn,wt.selectedNodes=nt(Pn,Zn)),(je=en.onSelect)===null||je===void 0||je.call(en,Zn,wt),"selectedKeys"in en||jt(Zn)},{getPrefixCls:Yt,direction:Zt}=Ke.useContext(ge.E_),{prefixCls:St,className:rt,showIcon:Ft=!0,expandAction:Ot="click"}=en,ft=$t(en,["prefixCls","className","showIcon","expandAction"]),ct=Yt("tree",St),Ge=ze()(`${ct}-directory`,{[`${ct}-directory-rtl`]:Zt==="rtl"},rt);return Ke.createElement($e,Object.assign({icon:Pt,ref:gt,blockNode:!0},ft,{showIcon:Ft,expandAction:Ot,prefixCls:ct,className:Ge,expandedKeys:Nn,selectedKeys:Kn,onSelect:Sn,onExpand:ii}))};var fn=Ke.forwardRef(zt);const an=$e;an.DirectoryTree=fn,an.TreeNode=se.O;var it=an},20648:function(_e,be,oe){"use strict";oe.d(be,{TM:function(){return kt},Yk:function(){return ht}});var se=oe(9792),Ce=oe(98447),we=oe(17313),Ie=oe(8378),De=oe(37613),Ke=oe(83116);const Ee=new se.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),et=(ze,ee)=>({[`.${ze}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${ee.motionDurationSlow}`}}}),Je=(ze,ee)=>({[`.${ze}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:ee.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${ee.lineWidthBold}px solid ${ee.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ye=(ze,ee)=>{const{treeCls:ne,treeNodeCls:ge,treeNodePadding:ue,titleHeight:me,nodeSelectedBg:Se,nodeHoverBg:Ne}=ee,ke=ee.paddingXS;return{[ne]:Object.assign(Object.assign({},(0,we.Wf)(ee)),{background:ee.colorBgContainer,borderRadius:ee.borderRadius,transition:`background-color ${ee.motionDurationSlow}`,[`&${ne}-rtl`]:{[`${ne}-switcher`]:{"&_close":{[`${ne}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ne}-active-focused)`]:Object.assign({},(0,we.oN)(ee)),[`${ne}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ne}-block-node`]:{[`${ne}-list-holder-inner`]:{alignItems:"stretch",[`${ne}-node-content-wrapper`]:{flex:"auto"},[`${ge}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:ue,insetInlineStart:0,border:`1px solid ${ee.colorPrimary}`,opacity:0,animationName:Ee,animationDuration:ee.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ge}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${ue}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ne}-node-content-wrapper`]:{color:ee.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ne}-node-content-wrapper`]:Object.assign({},(0,we.oN)(ee)),[`&:not(${ge}-disabled).filter-node ${ne}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ne}-draggable-icon`]:{flexShrink:0,width:me,lineHeight:`${me}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${ee.motionDurationSlow}`,[`${ge}:hover &`]:{opacity:.45}},[`&${ge}-disabled`]:{[`${ne}-draggable-icon`]:{visibility:"hidden"}}}},[`${ne}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:me}},[`${ne}-draggable-icon`]:{visibility:"hidden"},[`${ne}-switcher`]:Object.assign(Object.assign({},et(ze,ee)),{position:"relative",flex:"none",alignSelf:"stretch",width:me,margin:0,lineHeight:`${me}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ne}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:ee.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:me/2,bottom:-ue,marginInlineStart:-1,borderInlineEnd:`1px solid ${ee.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:me/2*.8,height:me/2,borderBottom:`1px solid ${ee.colorBorder}`,content:'""'}}}),[`${ne}-checkbox`]:{top:"initial",marginInlineEnd:ke},[`${ne}-node-content-wrapper, ${ne}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:me,margin:0,padding:`0 ${ee.paddingXS/2}px`,color:"inherit",lineHeight:`${me}px`,background:"transparent",borderRadius:ee.borderRadius,cursor:"pointer",transition:`all ${ee.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Ne},[`&${ne}-node-selected`]:{backgroundColor:Se},[`${ne}-iconEle`]:{display:"inline-block",width:me,height:me,lineHeight:`${me}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ne}-unselectable ${ne}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ne}-node-content-wrapper`]:Object.assign({lineHeight:`${me}px`,userSelect:"none"},Je(ze,ee)),[`${ge}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${ee.colorPrimary}`}},"&-show-line":{[`${ne}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:me/2,bottom:-ue,borderInlineEnd:`1px solid ${ee.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ne}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ge}-leaf-last`]:{[`${ne}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${me/2}px !important`}}}}})}},tt=ze=>{const{treeCls:ee,treeNodeCls:ne,treeNodePadding:ge,directoryNodeSelectedBg:ue,directoryNodeSelectedColor:me}=ze;return{[`${ee}${ee}-directory`]:{[ne]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ge,insetInlineStart:0,transition:`background-color ${ze.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ze.controlItemBgHover}},"> *":{zIndex:1},[`${ee}-switcher`]:{transition:`color ${ze.motionDurationMid}`},[`${ee}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${ee}-node-selected`]:{color:me,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:ue},[`${ee}-switcher`]:{color:me},[`${ee}-node-content-wrapper`]:{color:me,background:"transparent"}}}}}},ht=(ze,ee)=>{const ne=`.${ze}`,ge=`${ne}-treenode`,ue=ee.paddingXS/2,me=(0,De.TS)(ee,{treeCls:ne,treeNodeCls:ge,treeNodePadding:ue});return[Ye(ze,me),tt(me)]},kt=ze=>{const{controlHeightSM:ee}=ze;return{titleHeight:ee,nodeHoverBg:ze.controlItemBgHover,nodeSelectedBg:ze.controlItemBgActive}};be.ZP=(0,Ke.Z)("Tree",(ze,ee)=>{let{prefixCls:ne}=ee;return[{[ze.componentCls]:(0,Ce.C2)(`${ne}-checkbox`,ze)},ht(ne,ze),(0,Ie.Z)(ze)]},ze=>{const{colorTextLightSolid:ee,colorPrimary:ne}=ze;return Object.assign(Object.assign({},kt(ze)),{directoryNodeSelectedColor:ee,directoryNodeSelectedBg:ne})})},48610:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ge}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ie=we,De=oe(88853),Ke=function(me,Se){return Ce.createElement(De.Z,(0,se.Z)({},me,{ref:Se,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee,Je=oe(43971),Ye=oe(50023),tt=oe(77042),ht=oe(5527),kt=oe(92310),ze=oe.n(kt),ee=oe(92343),ge=ue=>{const{prefixCls:me,switcherIcon:Se,treeNodeProps:Ne,showLine:ke}=ue,{isLeaf:Te,expanded:We,loading:$e}=Ne;if($e)return Ce.createElement(Ye.Z,{className:`${me}-switcher-loading-icon`});let st;if(ke&&typeof ke=="object"&&(st=ke.showLeafIcon),Te){if(!ke)return null;if(typeof st!="boolean"&&st){const nt=typeof st=="function"?st(Ne):st,$t=`${me}-switcher-line-custom-icon`;return(0,ee.l$)(nt)?(0,ee.Tm)(nt,{className:ze()(nt.props.className||"",$t)}):nt}return st?Ce.createElement(Je.Z,{className:`${me}-switcher-line-icon`}):Ce.createElement("span",{className:`${me}-switcher-leaf-line`})}const ut=`${me}-switcher-icon`,Mt=typeof Se=="function"?Se(Ne):Se;return(0,ee.l$)(Mt)?(0,ee.Tm)(Mt,{className:ze()(Mt.props.className||"",ut)}):Mt!==void 0?Mt:ke?We?Ce.createElement(tt.Z,{className:`${me}-switcher-line-icon`}):Ce.createElement(ht.Z,{className:`${me}-switcher-line-icon`}):Ce.createElement(et,{className:ut})}},24645:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return yn}});var se=oe(59301),Ce=oe(26390),we=oe(92310),Ie=oe.n(we),De=oe(5891),Ke=oe(79545),Ee=oe(68550),et=oe(17928),Je=oe(7711),Ye=oe(80962),tt=oe(19149),ht=oe(50204),kt=oe(80665),ze=oe(20959),ee=oe(36994);function ne(Qt,un){var wn="cannot ".concat(Qt.method," ").concat(Qt.action," ").concat(un.status,"'"),gn=new Error(wn);return gn.status=un.status,gn.method=Qt.method,gn.url=Qt.action,gn}function ge(Qt){var un=Qt.responseText||Qt.response;if(!un)return un;try{return JSON.parse(un)}catch(wn){return un}}function ue(Qt){var un=new XMLHttpRequest;Qt.onProgress&&un.upload&&(un.upload.onprogress=function(Bn){Bn.total>0&&(Bn.percent=Bn.loaded/Bn.total*100),Qt.onProgress(Bn)});var wn=new FormData;Qt.data&&Object.keys(Qt.data).forEach(function(kn){var Bn=Qt.data[kn];if(Array.isArray(Bn)){Bn.forEach(function(Vn){wn.append("".concat(kn,"[]"),Vn)});return}wn.append(kn,Bn)}),Qt.file instanceof Blob?wn.append(Qt.filename,Qt.file,Qt.file.name):wn.append(Qt.filename,Qt.file),un.onerror=function(Bn){Qt.onError(Bn)},un.onload=function(){return un.status<200||un.status>=300?Qt.onError(ne(Qt,un),ge(un)):Qt.onSuccess(ge(un),un)},un.open(Qt.method,Qt.action,!0),Qt.withCredentials&&"withCredentials"in un&&(un.withCredentials=!0);var gn=Qt.headers||{};return gn["X-Requested-With"]!==null&&un.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(gn).forEach(function(kn){gn[kn]!==null&&un.setRequestHeader(kn,gn[kn])}),un.send(wn),{abort:function(){un.abort()}}}var me=+new Date,Se=0;function Ne(){return"rc-upload-".concat(me,"-").concat(++Se)}var ke=oe(51395),Te=function(Qt,un){if(Qt&&un){var wn=Array.isArray(un)?un:un.split(","),gn=Qt.name||"",kn=Qt.type||"",Bn=kn.replace(/\/.*$/,"");return wn.some(function(Vn){var Jn=Vn.trim();if(/^\*(\/\*)?$/.test(Vn))return!0;if(Jn.charAt(0)==="."){var Wn=gn.toLowerCase(),gi=Jn.toLowerCase(),Fi=[gi];return(gi===".jpg"||gi===".jpeg")&&(Fi=[".jpg",".jpeg"]),Fi.some(function(ir){return Wn.endsWith(ir)})}return/\/\*$/.test(Jn)?Bn===Jn.replace(/\/.*$/,""):kn===Jn?!0:/^\w+$/.test(Jn)?((0,ke.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Jn,"'.Skip for check.")),!0):!1})}return!0};function We(Qt,un){var wn=Qt.createReader(),gn=[];function kn(){wn.readEntries(function(Bn){var Vn=Array.prototype.slice.apply(Bn);gn=gn.concat(Vn);var Jn=!Vn.length;Jn?un(gn):kn()})}kn()}var $e=function(un,wn,gn){var kn=function Bn(Vn,Jn){Vn&&(Vn.path=Jn||"",Vn.isFile?Vn.file(function(Wn){gn(Wn)&&(Vn.fullPath&&!Wn.webkitRelativePath&&(Object.defineProperties(Wn,{webkitRelativePath:{writable:!0}}),Wn.webkitRelativePath=Vn.fullPath.replace(/^\//,""),Object.defineProperties(Wn,{webkitRelativePath:{writable:!1}})),wn([Wn]))}):Vn.isDirectory&&We(Vn,function(Wn){Wn.forEach(function(gi){Bn(gi,"".concat(Jn).concat(Vn.name,"/"))})}))};un.forEach(function(Bn){kn(Bn.webkitGetAsEntry())})},st=$e,ut=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Mt=function(Qt){(0,et.Z)(wn,Qt);var un=(0,Je.Z)(wn);function wn(){var gn;(0,Ke.Z)(this,wn);for(var kn=arguments.length,Bn=new Array(kn),Vn=0;Vn{let{uid:Bn}=kn;return Bn===Qt.uid});return gn===-1?wn.push(Qt):wn[gn]=Qt,wn}function je(Qt,un){const wn=Qt.uid!==void 0?"uid":"name";return un.filter(gn=>gn[wn]===Qt[wn])[0]}function Qe(Qt,un){const wn=Qt.uid!==void 0?"uid":"name",gn=un.filter(kn=>kn[wn]!==Qt[wn]);return gn.length===un.length?null:gn}const Oe=function(){const un=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),gn=un[un.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(gn)||[""])[0]},xt=Qt=>Qt.indexOf("image/")===0,hn=Qt=>{if(Qt.type&&!Qt.thumbUrl)return xt(Qt.type);const un=Qt.thumbUrl||Qt.url||"",wn=Oe(un);return/^data:image\//.test(un)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(wn)?!0:!(/^data:/.test(un)||wn)},Pn=200;function wt(Qt){return new Promise(un=>{if(!Qt.type||!xt(Qt.type)){un("");return}const wn=document.createElement("canvas");wn.width=Pn,wn.height=Pn,wn.style.cssText=`position: fixed; left: 0; top: 0; width: ${Pn}px; height: ${Pn}px; z-index: 9999; display: none;`,document.body.appendChild(wn);const gn=wn.getContext("2d"),kn=new Image;if(kn.onload=()=>{const{width:Bn,height:Vn}=kn;let Jn=Pn,Wn=Pn,gi=0,Fi=0;Bn>Vn?(Wn=Vn*(Pn/Bn),Fi=-(Wn-Jn)/2):(Jn=Bn*(Pn/Vn),gi=-(Jn-Wn)/2),gn.drawImage(kn,gi,Fi,Jn,Wn);const ir=wn.toDataURL();document.body.removeChild(wn),window.URL.revokeObjectURL(kn.src),un(ir)},kn.crossOrigin="anonymous",Qt.type.startsWith("image/svg+xml")){const Bn=new FileReader;Bn.onload=()=>{Bn.result&&(kn.src=Bn.result)},Bn.readAsDataURL(Qt)}else if(Qt.type.startsWith("image/gif")){const Bn=new FileReader;Bn.onload=()=>{Bn.result&&un(Bn.result)},Bn.readAsDataURL(Qt)}else kn.src=window.URL.createObjectURL(Qt)})}var nn=oe(72295),Mn=oe(24566),Zn=oe(30631),li=oe(93948),xi=oe(6848),Si=se.forwardRef((Qt,un)=>{let{prefixCls:wn,className:gn,style:kn,locale:Bn,listType:Vn,file:Jn,items:Wn,progress:gi,iconRender:Fi,actionIconRender:ir,itemRender:zi,isImgUrl:tn,showPreviewIcon:Ai,showRemoveIcon:Bi,showDownloadIcon:Ti,previewIcon:hr,removeIcon:tr,downloadIcon:br,onPreview:Xi,onDownload:Hi,onClose:Ir}=Qt;var Gt,Kr;const{status:Fn}=Jn,[kr,Go]=se.useState(Fn);se.useEffect(()=>{Fn!=="removed"&&Go(Fn)},[Fn]);const[Dr,po]=se.useState(!1);se.useEffect(()=>{const gr=setTimeout(()=>{po(!0)},300);return()=>{clearTimeout(gr)}},[]);const Do=Fi(Jn);let Ji=se.createElement("div",{className:`${wn}-icon`},Do);if(Vn==="picture"||Vn==="picture-card"||Vn==="picture-circle")if(kr==="uploading"||!Jn.thumbUrl&&!Jn.url){const gr=Ie()(`${wn}-list-item-thumbnail`,{[`${wn}-list-item-file`]:kr!=="uploading"});Ji=se.createElement("div",{className:gr},Do)}else{const gr=tn!=null&&tn(Jn)?se.createElement("img",{src:Jn.thumbUrl||Jn.url,alt:Jn.name,className:`${wn}-list-item-image`,crossOrigin:Jn.crossOrigin}):Do,Qi=Ie()(`${wn}-list-item-thumbnail`,{[`${wn}-list-item-file`]:tn&&!tn(Jn)});Ji=se.createElement("a",{className:Qi,onClick:xr=>Xi(Jn,xr),href:Jn.url||Jn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},gr)}const or=Ie()(`${wn}-list-item`,`${wn}-list-item-${kr}`),io=typeof Jn.linkProps=="string"?JSON.parse(Jn.linkProps):Jn.linkProps,_r=Bi?ir((typeof tr=="function"?tr(Jn):tr)||se.createElement(nn.Z,null),()=>Ir(Jn),wn,Bn.removeFile):null,Ii=Ti&&kr==="done"?ir((typeof br=="function"?br(Jn):br)||se.createElement(Mn.Z,null),()=>Hi(Jn),wn,Bn.downloadFile):null,lt=Vn!=="picture-card"&&Vn!=="picture-circle"&&se.createElement("span",{key:"download-delete",className:Ie()(`${wn}-list-item-actions`,{picture:Vn==="picture"})},Ii,_r),Rr=Ie()(`${wn}-list-item-name`),Ko=Jn.url?[se.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Rr,title:Jn.name},io,{href:Jn.url,onClick:gr=>Xi(Jn,gr)}),Jn.name),lt]:[se.createElement("span",{key:"view",className:Rr,onClick:gr=>Xi(Jn,gr),title:Jn.name},Jn.name),lt],Yr={pointerEvents:"none",opacity:.5},yo=Ai?se.createElement("a",{href:Jn.url||Jn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Jn.url||Jn.thumbUrl?void 0:Yr,onClick:gr=>Xi(Jn,gr),title:Bn.previewFile},typeof hr=="function"?hr(Jn):hr||se.createElement(Zn.Z,null)):null,Mr=(Vn==="picture-card"||Vn==="picture-circle")&&kr!=="uploading"&&se.createElement("span",{className:`${wn}-list-item-actions`},yo,kr==="done"&&Ii,_r),{getPrefixCls:mr}=se.useContext(an.E_),co=mr(),Uo=se.createElement("div",{className:or},Ji,Ko,Mr,Dr&&se.createElement(Ft.default,{motionName:`${co}-fade`,visible:kr==="uploading",motionDeadline:2e3},gr=>{let{className:Qi}=gr;const xr="percent"in Jn?se.createElement(li.Z,Object.assign({},gi,{type:"line",percent:Jn.percent,"aria-label":Jn["aria-label"],"aria-labelledby":Jn["aria-labelledby"]})):null;return se.createElement("div",{className:Ie()(`${wn}-list-item-progress`,Qi)},xr)})),ao=Jn.response&&typeof Jn.response=="string"?Jn.response:((Gt=Jn.error)===null||Gt===void 0?void 0:Gt.statusText)||((Kr=Jn.error)===null||Kr===void 0?void 0:Kr.message)||Bn.uploadError,ra=kr==="error"?se.createElement(xi.Z,{title:ao,getPopupContainer:gr=>gr.parentNode},Uo):Uo;return se.createElement("div",{className:Ie()(`${wn}-list-item-container`,gn),style:kn,ref:un},zi?zi(ra,Jn,Wn,{download:Hi.bind(null,Jn),preview:Xi.bind(null,Jn),remove:Ir.bind(null,Jn)}):ra)});const Ri=(Qt,un)=>{const{listType:wn="text",previewFile:gn=wt,onPreview:kn,onDownload:Bn,onRemove:Vn,locale:Jn,iconRender:Wn,isImageUrl:gi=hn,prefixCls:Fi,items:ir=[],showPreviewIcon:zi=!0,showRemoveIcon:tn=!0,showDownloadIcon:Ai=!1,removeIcon:Bi,previewIcon:Ti,downloadIcon:hr,progress:tr={size:[-1,2],showInfo:!1},appendAction:br,appendActionVisible:Xi=!0,itemRender:Hi,disabled:Ir}=Qt,Gt=(0,Ot.Z)(),[Kr,Fn]=se.useState(!1);se.useEffect(()=>{wn!=="picture"&&wn!=="picture-card"&&wn!=="picture-circle"||(ir||[]).forEach(Yr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Yr.originFileObj instanceof File||Yr.originFileObj instanceof Blob)||Yr.thumbUrl!==void 0||(Yr.thumbUrl="",gn&&gn(Yr.originFileObj).then(yo=>{Yr.thumbUrl=yo||"",Gt()}))})},[wn,ir,gn]),se.useEffect(()=>{Fn(!0)},[]);const kr=(Yr,yo)=>{if(kn)return yo==null||yo.preventDefault(),kn(Yr)},Go=Yr=>{typeof Bn=="function"?Bn(Yr):Yr.url&&window.open(Yr.url)},Dr=Yr=>{Vn==null||Vn(Yr)},po=Yr=>{if(Wn)return Wn(Yr,wn);const yo=Yr.status==="uploading",Mr=gi&&gi(Yr)?se.createElement(rt,null):se.createElement(ei,null);let mr=yo?se.createElement(An.Z,null):se.createElement(ii,null);return wn==="picture"?mr=yo?se.createElement(An.Z,null):Mr:(wn==="picture-card"||wn==="picture-circle")&&(mr=yo?Jn.uploading:Mr),mr},Do=(Yr,yo,Mr,mr)=>{const co={type:"text",size:"small",title:mr,onClick:Uo=>{yo(),(0,ct.l$)(Yr)&&Yr.props.onClick&&Yr.props.onClick(Uo)},className:`${Mr}-list-item-action`,disabled:Ir};if((0,ct.l$)(Yr)){const Uo=(0,ct.Tm)(Yr,Object.assign(Object.assign({},Yr.props),{onClick:()=>{}}));return se.createElement(Ge.ZP,Object.assign({},co,{icon:Uo}))}return se.createElement(Ge.ZP,Object.assign({},co),se.createElement("span",null,Yr))};se.useImperativeHandle(un,()=>({handlePreview:kr,handleDownload:Go}));const{getPrefixCls:Ji}=se.useContext(an.E_),or=Ji("upload",Fi),io=Ji(),_r=Ie()(`${or}-list`,`${or}-list-${wn}`),Ii=(0,Ce.Z)(ir.map(Yr=>({key:Yr.uid,file:Yr})));let Rr={motionDeadline:2e3,motionName:`${or}-${wn==="picture-card"||wn==="picture-circle"?"animate-inline":"animate"}`,keys:Ii,motionAppear:Kr};const Ko=se.useMemo(()=>{const Yr=Object.assign({},(0,ft.Z)(io));return delete Yr.onAppearEnd,delete Yr.onEnterEnd,delete Yr.onLeaveEnd,Yr},[io]);return wn!=="picture-card"&&wn!=="picture-circle"&&(Rr=Object.assign(Object.assign({},Ko),Rr)),se.createElement("div",{className:_r},se.createElement(Ft.CSSMotionList,Object.assign({},Rr,{component:!1}),Yr=>{let{key:yo,file:Mr,className:mr,style:co}=Yr;return se.createElement(Si,{key:yo,locale:Jn,prefixCls:or,className:mr,style:co,file:Mr,items:ir,progress:tr,listType:wn,isImgUrl:gi,showPreviewIcon:zi,showRemoveIcon:tn,showDownloadIcon:Ai,removeIcon:Bi,previewIcon:Ti,downloadIcon:hr,iconRender:po,actionIconRender:Do,itemRender:Hi,onPreview:kr,onDownload:Go,onClose:Dr})}),br&&se.createElement(Ft.default,Object.assign({},Rr,{visible:Xi,forceRender:!0}),Yr=>{let{className:yo,style:Mr}=Yr;return(0,ct.Tm)(br,mr=>({className:Ie()(mr.className,yo),style:Object.assign(Object.assign(Object.assign({},Mr),{pointerEvents:yo?"none":void 0}),mr.style)}))}))};var dr=se.forwardRef(Ri),ur=oe(17313),Sr=oe(8378),Wr=oe(83116),Gi=oe(37613),Yi=Qt=>{const{componentCls:un,iconCls:wn}=Qt;return{[`${un}-wrapper`]:{[`${un}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Qt.colorFillAlter,border:`${Qt.lineWidth}px dashed ${Qt.colorBorder}`,borderRadius:Qt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Qt.motionDurationSlow}`,[un]:{padding:`${Qt.padding}px 0`},[`${un}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${un}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${un}-disabled):hover`]:{borderColor:Qt.colorPrimaryHover},[`p${un}-drag-icon`]:{marginBottom:Qt.margin,[wn]:{color:Qt.colorPrimary,fontSize:Qt.uploadThumbnailSize}},[`p${un}-text`]:{margin:`0 0 ${Qt.marginXXS}px`,color:Qt.colorTextHeading,fontSize:Qt.fontSizeLG},[`p${un}-hint`]:{color:Qt.colorTextDescription,fontSize:Qt.fontSize},[`&${un}-disabled`]:{cursor:"not-allowed",[`p${un}-drag-icon ${wn}, + `]:{background:Lr},[`&${Et}-row-selected`]:{"> th, > td":{background:Vi},"&:hover > th, &:hover > td":{background:Pr}}}},[`${Et}-footer`]:{padding:`${cn}px ${Dn}px`,color:yr,background:zr}})}};var Nc=(0,qo.Z)("Table",mt=>{const{colorTextHeading:Et,colorSplit:rn,colorIcon:cn,colorIconHover:Dn,opacityLoading:xn,colorBgContainer:ri,controlInteractiveSize:ai,headerBg:qn,headerColor:bi,headerSortActiveBg:Ni,headerSortHoverBg:Ei,bodySortBg:qi,rowHoverBg:Ki,rowSelectedBg:Ui,rowSelectedHoverBg:Lr,rowExpandedBg:Vi,cellPaddingBlock:Pr,cellPaddingInline:yr,cellPaddingBlockMD:zr,cellPaddingInlineMD:So,cellPaddingBlockSM:Lo,cellPaddingInlineSM:Tr,borderColor:mo,footerBg:Zo,footerColor:Hr,headerBorderRadius:uo,cellFontSize:vr,cellFontSizeMD:cr,cellFontSizeSM:to,headerSplitColor:Co,fixedHeaderSortActiveBg:Ro,headerFilterHoverBg:jo,filterDropdownBg:Or,expandIconBg:Qo,selectionColumnWidth:Jo,stickyScrollBarBg:Da}=mt,la=new Fr.C(cn),Ms=new Fr.C(Dn),vs=2,ea=(0,ol.TS)(mt,{tableFontSize:vr,tableBg:ri,tableRadius:uo,tablePaddingVertical:Pr,tablePaddingHorizontal:yr,tablePaddingVerticalMiddle:zr,tablePaddingHorizontalMiddle:So,tablePaddingVerticalSmall:Lo,tablePaddingHorizontalSmall:Tr,tableBorderColor:mo,tableHeaderTextColor:bi,tableHeaderBg:qn,tableFooterTextColor:Hr,tableFooterBg:Zo,tableHeaderCellSplitColor:Co,tableHeaderSortBg:Ni,tableHeaderSortHoverBg:Ei,tableHeaderIconColor:la.clone().setAlpha(la.getAlpha()*xn).toRgbString(),tableHeaderIconColorHover:Ms.clone().setAlpha(Ms.getAlpha()*xn).toRgbString(),tableBodySortBg:qi,tableFixedHeaderSortActiveBg:Ro,tableHeaderFilterActiveBg:jo,tableFilterDropdownBg:Or,tableRowHoverBg:Ki,tableSelectedRowBg:Ui,tableSelectedRowHoverBg:Lr,zIndexTableFixed:vs,zIndexTableSticky:vs+1,tableFontSizeMiddle:cr,tableFontSizeSmall:to,tableSelectionColumnWidth:Jo,tableExpandIconBg:Qo,tableExpandColumnWidth:ai+2*mt.padding,tableExpandedRowBg:Vi,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Da,tableScrollThumbBgHover:Et,tableScrollBg:rn});return[Xu(ea),Gc(ea),$u(ea),kl(ea),os(ea),oo(ea),ah(ea),Ka(ea),$u(ea),Xo(ea),zl(ea),Ku(ea),Ac(ea),Sl(ea),zs(ea),jl(ea),Sc(ea)]},mt=>{const{colorFillAlter:Et,colorBgContainer:rn,colorTextHeading:cn,colorFillSecondary:Dn,colorFillContent:xn,controlItemBgActive:ri,controlItemBgActiveHover:ai,padding:qn,paddingSM:bi,paddingXS:Ni,colorBorderSecondary:Ei,borderRadiusLG:qi,fontSize:Ki,controlHeight:Ui,colorTextPlaceholder:Lr}=mt,Vi=new Fr.C(Dn).onBackground(rn).toHexShortString(),Pr=new Fr.C(xn).onBackground(rn).toHexShortString(),yr=new Fr.C(Et).onBackground(rn).toHexShortString();return{headerBg:yr,headerColor:cn,headerSortActiveBg:Vi,headerSortHoverBg:Pr,bodySortBg:yr,rowHoverBg:yr,rowSelectedBg:ri,rowSelectedHoverBg:ai,rowExpandedBg:Et,cellPaddingBlock:qn,cellPaddingInline:qn,cellPaddingBlockMD:bi,cellPaddingInlineMD:Ni,cellPaddingBlockSM:Ni,cellPaddingInlineSM:Ni,borderColor:Ei,headerBorderRadius:qi,footerBg:yr,footerColor:cn,cellFontSize:Ki,cellFontSizeMD:Ki,cellFontSizeSM:Ki,headerSplitColor:Ei,fixedHeaderSortActiveBg:Vi,headerFilterHoverBg:xn,filterDropdownMenuBg:rn,filterDropdownBg:rn,expandIconBg:rn,selectionColumnWidth:Ui,stickyScrollBarBg:Lr,stickyScrollBarBorderRadius:100}});const td=[],nd=(mt,Et)=>{const{prefixCls:rn,className:cn,rootClassName:Dn,style:xn,size:ri,bordered:ai,dropdownPrefixCls:qn,dataSource:bi,pagination:Ni,rowSelection:Ei,rowKey:qi="key",rowClassName:Ki,columns:Ui,children:Lr,childrenColumnName:Vi,onChange:Pr,getPopupContainer:yr,loading:zr,expandIcon:So,expandable:Lo,expandedRowRender:Tr,expandIconColumnIndex:mo,indentSize:Zo,scroll:Hr,sortDirections:uo,locale:vr,showSorterTooltip:cr=!0,virtual:to}=mt,Co=Ee.useMemo(()=>Ui||On(Lr),[Ui,Lr]),Ro=Ee.useMemo(()=>Co.some(Ua=>Ua.responsive),[Co]),jo=(0,fi.Z)(Ro),Or=Ee.useMemo(()=>{const Ua=new Set(Object.keys(jo).filter(Cs=>jo[Cs]));return Co.filter(Cs=>!Cs.responsive||Cs.responsive.some(wl=>Ua.has(wl)))},[Co,jo]),Qo=(0,ao.Z)(mt,["className","style","columns"]),{locale:Jo=bo.Z,direction:Da,table:la,renderEmpty:Ms,getPrefixCls:vs,getPopupContainer:ea}=Ee.useContext(gr.E_),No=(0,xr.Z)(ri),Ba=Object.assign(Object.assign({},Jo.Table),vr),bs=bi||td,ys=vs("table",rn),qs=vs("dropdown",qn),_o=Object.assign({childrenColumnName:Vi,expandIconColumnIndex:mo},Lo),{childrenColumnName:wi="children"}=_o,er=Ee.useMemo(()=>bs.some(Ua=>Ua==null?void 0:Ua[wi])?"nest":Tr||Lo&&Lo.expandedRowRender?"row":null,[bs]),qr={body:Ee.useRef()},La=Ee.useMemo(()=>typeof qi=="function"?qi:Ua=>Ua==null?void 0:Ua[qi],[qi]),[ho]=Pc(bs,wi,La),Yo={},Sa=function(Ua,Cs){let wl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ls,_a,gl;const pu=Object.assign(Object.assign({},Yo),Ua);wl&&((Ls=Yo.resetPagination)===null||Ls===void 0||Ls.call(Yo),!((_a=pu.pagination)===null||_a===void 0)&&_a.current&&(pu.pagination.current=1),Ni&&Ni.onChange&&Ni.onChange(1,(gl=pu.pagination)===null||gl===void 0?void 0:gl.pageSize)),Hr&&Hr.scrollToFirstRowOnChange!==!1&&qr.body.current&&(0,ra.Z)(0,{getContainer:()=>qr.body.current}),Pr==null||Pr(pu.pagination,pu.filters,pu.sorter,{currentDataSource:Zs(nu(bs,pu.sorterStates,wi),pu.filterStates),action:Cs})},ja=(Ua,Cs)=>{Sa({sorter:Ua,sorterStates:Cs},"sort",!1)},[xl,al,ql,Ya]=hu({prefixCls:ys,mergedColumns:Or,onSorterChange:ja,sortDirections:uo||["ascend","descend"],tableLocale:Ba,showSorterTooltip:cr}),_l=Ee.useMemo(()=>nu(bs,al,wi),[bs,al]);Yo.sorter=Ya(),Yo.sorterStates=al;const sl=(Ua,Cs)=>{Sa({filters:Ua,filterStates:Cs},"filter",!0)},[Ml,Hc,Za]=qc({prefixCls:ys,locale:Ba,dropdownPrefixCls:qs,mergedColumns:Or,onFilterChange:sl,getPopupContainer:yr||ea}),as=Zs(_l,Hc);Yo.filters=Za,Yo.filterStates=Hc;const Ss=Ee.useMemo(()=>{const Ua={};return Object.keys(Za).forEach(Cs=>{Za[Cs]!==null&&(Ua[Cs]=Za[Cs])}),Object.assign(Object.assign({},ql),{filters:Ua})},[ql,Za]),[Vs]=rs(Ss),dl=(Ua,Cs)=>{Sa({pagination:Object.assign(Object.assign({},Yo.pagination),{current:Ua,pageSize:Cs})},"paginate")},[xa,ws]=Ao(as.length,dl,Ni);Yo.pagination=Ni===!1?{}:bn(xa,Ni),Yo.resetPagination=ws;const Ll=Ee.useMemo(()=>{if(Ni===!1||!xa.pageSize)return as;const{current:Ua=1,total:Cs,pageSize:wl=Xn}=xa;return as.lengthwl?as.slice((Ua-1)*wl,Ua*wl):as:as.slice((Ua-1)*wl,Ua*wl)},[!!Ni,as,xa&&xa.current,xa&&xa.pageSize,xa&&xa.total]),[hl,Qu]=Bs({prefixCls:ys,data:as,pageData:Ll,getRowKey:La,getRecordByKey:ho,expandType:er,childrenColumnName:wi,locale:Ba,getPopupContainer:yr||ea},Ei),Iu=(Ua,Cs,wl)=>{let Ls;return typeof Ki=="function"?Ls=Pt()(Ki(Ua,Cs,wl)):Ls=Pt()(Ki),Pt()({[`${ys}-row-selected`]:Qu.has(La(Ua,Cs))},Ls)};_o.__PARENT_RENDER_ICON__=_o.expandIcon,_o.expandIcon=_o.expandIcon||So||ts(Ba),er==="nest"&&_o.expandIconColumnIndex===void 0?_o.expandIconColumnIndex=Ei?1:0:_o.expandIconColumnIndex>0&&Ei&&(_o.expandIconColumnIndex-=1),typeof _o.indentSize!="number"&&(_o.indentSize=typeof Zo=="number"?Zo:15);const lc=Ee.useCallback(Ua=>Vs(hl(Ml(xl(Ua)))),[xl,Ml,hl]);let uc,Ju;if(Ni!==!1&&(xa!=null&&xa.total)){let Ua;xa.size?Ua=xa.size:Ua=No==="small"||No==="middle"?"small":void 0;const Cs=_a=>Ee.createElement(ua.Z,Object.assign({},xa,{className:Pt()(`${ys}-pagination ${ys}-pagination-${_a}`,xa.className),size:Ua})),wl=Da==="rtl"?"left":"right",{position:Ls}=xa;if(Ls!==null&&Array.isArray(Ls)){const _a=Ls.find(qu=>qu.includes("top")),gl=Ls.find(qu=>qu.includes("bottom")),pu=Ls.every(qu=>`${qu}`=="none");!_a&&!gl&&!pu&&(Ju=Cs(wl)),_a&&(uc=Cs(_a.toLowerCase().replace("top",""))),gl&&(Ju=Cs(gl.toLowerCase().replace("bottom","")))}else Ju=Cs(wl)}let qa;typeof zr=="boolean"?qa={spinning:zr}:typeof zr=="object"&&(qa=Object.assign({spinning:!0},zr));const[bl,Ks]=Nc(ys),[,Es]=(0,oa.Z)(),fu=Pt()(`${ys}-wrapper`,la==null?void 0:la.className,{[`${ys}-wrapper-rtl`]:Da==="rtl"},cn,Dn,Ks),id=Object.assign(Object.assign({},la==null?void 0:la.style),xn),cc=vr&&vr.emptyText||(Ms==null?void 0:Ms("Table"))||Ee.createElement(Qi.Z,{componentName:"Table"}),dc=to?Fa:Eo,Mc={},ou=Ee.useMemo(()=>{const{fontSize:Ua,lineHeight:Cs,padding:wl,paddingXS:Ls,paddingSM:_a}=Es,gl=Math.floor(Ua*Cs);switch(No){case"large":return wl*2+gl;case"small":return Ls*2+gl;default:return _a*2+gl}},[Es,No]);return to&&(Mc.listItemHeight=ou),bl(Ee.createElement("div",{ref:Et,className:fu,style:id},Ee.createElement(ca.Z,Object.assign({spinning:!1},qa),uc,Ee.createElement(dc,Object.assign({},Mc,Qo,{columns:Or,direction:Da,expandable:_o,prefixCls:ys,className:Pt()({[`${ys}-middle`]:No==="middle",[`${ys}-small`]:No==="small",[`${ys}-bordered`]:ai,[`${ys}-empty`]:bs.length===0}),data:Ll,rowKey:La,rowClassName:Iu,emptyText:cc,internalHooks:Ce,internalRefs:qr,transformColumns:lc})),Ju)))};var xc=Ee.forwardRef(nd);const Mh=(mt,Et)=>{const rn=Ee.useRef(0);return rn.current+=1,Ee.createElement(xc,Object.assign({},mt,{ref:Et,_renderTimes:rn.current}))},Ul=Ee.forwardRef(Mh);Ul.SELECTION_COLUMN=rr,Ul.EXPAND_COLUMN=se,Ul.SELECTION_ALL=ro,Ul.SELECTION_INVERT=Na,Ul.SELECTION_NONE=Ia,Ul.Column=mr,Ul.ColumnGroup=Uo,Ul.Summary=ft;var Tu=Ul,Ud=Tu},86914:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return it}});var se=oe(99581),Ce=oe(26390),we=oe(43971),Ie=oe(58358),De=oe(5891),Ke=oe(59301),Ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},et=Ee,Je=oe(88853),Ye=function(gt,Bt){return Ke.createElement(Je.Z,(0,De.Z)({},gt,{ref:Bt,icon:et}))},tt=Ke.forwardRef(Ye),ht=tt,kt=oe(92310),ze=oe.n(kt),ee=oe(35654),ne=oe(71430),ge=oe(36355),ue=oe(44757),me=oe(62892),Se=oe(20648);const Ne=4;function ke(Ve){const{dropPosition:gt,dropLevelOffset:Bt,prefixCls:sn,indent:It,direction:en="ltr"}=Ve,En=en==="ltr"?"left":"right",ei=en==="ltr"?"right":"left",An={[En]:-Bt*It+Ne,[ei]:0};switch(gt){case-1:An.top=-3;break;case 1:An.bottom=-3;break;default:An.bottom=-3,An[En]=It+Ne;break}return Ke.createElement("div",{style:An,className:`${sn}-drop-indicator`})}var Te=oe(48610),$e=Ke.forwardRef((Ve,gt)=>{const{getPrefixCls:Bt,direction:sn,virtual:It,tree:en}=Ke.useContext(ge.E_),{prefixCls:En,className:ei,showIcon:An=!1,showLine:Kn,switcherIcon:jt,blockNode:Nn=!1,children:Gn,checkable:ii=!1,selectable:Sn=!0,draggable:Yt,motion:Zt,style:St}=Ve,rt=Bt("tree",En),Ft=Bt(),Ot=Zt!=null?Zt:Object.assign(Object.assign({},(0,me.Z)(Ft)),{motionAppear:!1}),ft=Object.assign(Object.assign({},Ve),{checkable:ii,selectable:Sn,showIcon:An,motion:Ot,blockNode:Nn,showLine:!!Kn,dropIndicatorRender:ke}),[ct,Ge]=(0,Se.ZP)(rt),Ae=Ke.useMemo(()=>{if(!Yt)return!1;let je={};switch(typeof Yt){case"function":je.nodeDraggable=Yt;break;case"object":je=Object.assign({},Yt);break;default:break}return je.icon!==!1&&(je.icon=je.icon||Ke.createElement(ue.Z,null)),je},[Yt]),xe=je=>Ke.createElement(Te.Z,{prefixCls:rt,switcherIcon:jt,treeNodeProps:je,showLine:Kn});return ct(Ke.createElement(se.Z,Object.assign({itemHeight:20,ref:gt,virtual:It},ft,{style:Object.assign(Object.assign({},en==null?void 0:en.style),St),prefixCls:rt,className:ze()({[`${rt}-icon-hide`]:!An,[`${rt}-block-node`]:Nn,[`${rt}-unselectable`]:!Sn,[`${rt}-rtl`]:sn==="rtl"},en==null?void 0:en.className,ei,Ge),direction:sn,checkable:ii&&Ke.createElement("span",{className:`${rt}-checkbox-inner`}),selectable:Sn,switcherIcon:xe,draggable:Ae}),Gn))}),st;(function(Ve){Ve[Ve.None=0]="None",Ve[Ve.Start=1]="Start",Ve[Ve.End=2]="End"})(st||(st={}));function ut(Ve,gt){function Bt(sn){const{key:It,children:en}=sn;gt(It,sn)!==!1&&ut(en||[],gt)}Ve.forEach(Bt)}function Mt(Ve){let{treeData:gt,expandedKeys:Bt,startKey:sn,endKey:It}=Ve;const en=[];let En=st.None;if(sn&&sn===It)return[sn];if(!sn||!It)return[];function ei(An){return An===sn||An===It}return ut(gt,An=>{if(En===st.End)return!1;if(ei(An)){if(en.push(An),En===st.None)En=st.Start;else if(En===st.Start)return En=st.End,!1}else En===st.Start&&en.push(An);return Bt.includes(An)}),en}function nt(Ve,gt){const Bt=(0,Ce.Z)(gt),sn=[];return ut(Ve,(It,en)=>{const En=Bt.indexOf(It);return En!==-1&&(sn.push(en),Bt.splice(En,1)),!!Bt.length}),sn}var $t=function(Ve,gt){var Bt={};for(var sn in Ve)Object.prototype.hasOwnProperty.call(Ve,sn)&>.indexOf(sn)<0&&(Bt[sn]=Ve[sn]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,sn=Object.getOwnPropertySymbols(Ve);It{var{defaultExpandAll:Bt,defaultExpandParent:sn,defaultExpandedKeys:It}=Ve,en=$t(Ve,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const En=Ke.useRef(),ei=Ke.useRef(),An=()=>{const{keyEntities:Ae}=(0,ne.I8)(dn(en));let xe;return Bt?xe=Object.keys(Ae):sn?xe=(0,ee.r7)(en.expandedKeys||It||[],Ae):xe=en.expandedKeys||It,xe},[Kn,jt]=Ke.useState(en.selectedKeys||en.defaultSelectedKeys||[]),[Nn,Gn]=Ke.useState(()=>An());Ke.useEffect(()=>{"selectedKeys"in en&&jt(en.selectedKeys)},[en.selectedKeys]),Ke.useEffect(()=>{"expandedKeys"in en&&Gn(en.expandedKeys)},[en.expandedKeys]);const ii=(Ae,xe)=>{var je;return"expandedKeys"in en||Gn(Ae),(je=en.onExpand)===null||je===void 0?void 0:je.call(en,Ae,xe)},Sn=(Ae,xe)=>{var je;const{multiple:Qe}=en,{node:Oe,nativeEvent:xt}=xe,{key:hn=""}=Oe,Pn=dn(en),wt=Object.assign(Object.assign({},xe),{selected:!0}),nn=(xt==null?void 0:xt.ctrlKey)||(xt==null?void 0:xt.metaKey),Mn=xt==null?void 0:xt.shiftKey;let Zn;Qe&&nn?(Zn=Ae,En.current=hn,ei.current=Zn,wt.selectedNodes=nt(Pn,Zn)):Qe&&Mn?(Zn=Array.from(new Set([].concat((0,Ce.Z)(ei.current||[]),(0,Ce.Z)(Mt({treeData:Pn,expandedKeys:Nn,startKey:hn,endKey:En.current}))))),wt.selectedNodes=nt(Pn,Zn)):(Zn=[hn],En.current=hn,ei.current=Zn,wt.selectedNodes=nt(Pn,Zn)),(je=en.onSelect)===null||je===void 0||je.call(en,Zn,wt),"selectedKeys"in en||jt(Zn)},{getPrefixCls:Yt,direction:Zt}=Ke.useContext(ge.E_),{prefixCls:St,className:rt,showIcon:Ft=!0,expandAction:Ot="click"}=en,ft=$t(en,["prefixCls","className","showIcon","expandAction"]),ct=Yt("tree",St),Ge=ze()(`${ct}-directory`,{[`${ct}-directory-rtl`]:Zt==="rtl"},rt);return Ke.createElement($e,Object.assign({icon:Pt,ref:gt,blockNode:!0},ft,{showIcon:Ft,expandAction:Ot,prefixCls:ct,className:Ge,expandedKeys:Nn,selectedKeys:Kn,onSelect:Sn,onExpand:ii}))};var fn=Ke.forwardRef(zt);const an=$e;an.DirectoryTree=fn,an.TreeNode=se.O;var it=an},20648:function(_e,be,oe){"use strict";oe.d(be,{TM:function(){return kt},Yk:function(){return ht}});var se=oe(9792),Ce=oe(98447),we=oe(17313),Ie=oe(8378),De=oe(37613),Ke=oe(83116);const Ee=new se.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),et=(ze,ee)=>({[`.${ze}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${ee.motionDurationSlow}`}}}),Je=(ze,ee)=>({[`.${ze}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:ee.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${ee.lineWidthBold}px solid ${ee.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ye=(ze,ee)=>{const{treeCls:ne,treeNodeCls:ge,treeNodePadding:ue,titleHeight:me,nodeSelectedBg:Se,nodeHoverBg:Ne}=ee,ke=ee.paddingXS;return{[ne]:Object.assign(Object.assign({},(0,we.Wf)(ee)),{background:ee.colorBgContainer,borderRadius:ee.borderRadius,transition:`background-color ${ee.motionDurationSlow}`,[`&${ne}-rtl`]:{[`${ne}-switcher`]:{"&_close":{[`${ne}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${ne}-active-focused)`]:Object.assign({},(0,we.oN)(ee)),[`${ne}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ne}-block-node`]:{[`${ne}-list-holder-inner`]:{alignItems:"stretch",[`${ne}-node-content-wrapper`]:{flex:"auto"},[`${ge}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:ue,insetInlineStart:0,border:`1px solid ${ee.colorPrimary}`,opacity:0,animationName:Ee,animationDuration:ee.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ge}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${ue}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${ne}-node-content-wrapper`]:{color:ee.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${ne}-node-content-wrapper`]:Object.assign({},(0,we.oN)(ee)),[`&:not(${ge}-disabled).filter-node ${ne}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${ne}-draggable-icon`]:{flexShrink:0,width:me,lineHeight:`${me}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${ee.motionDurationSlow}`,[`${ge}:hover &`]:{opacity:.45}},[`&${ge}-disabled`]:{[`${ne}-draggable-icon`]:{visibility:"hidden"}}}},[`${ne}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:me}},[`${ne}-draggable-icon`]:{visibility:"hidden"},[`${ne}-switcher`]:Object.assign(Object.assign({},et(ze,ee)),{position:"relative",flex:"none",alignSelf:"stretch",width:me,margin:0,lineHeight:`${me}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${ne}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:ee.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:me/2,bottom:-ue,marginInlineStart:-1,borderInlineEnd:`1px solid ${ee.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:me/2*.8,height:me/2,borderBottom:`1px solid ${ee.colorBorder}`,content:'""'}}}),[`${ne}-checkbox`]:{top:"initial",marginInlineEnd:ke},[`${ne}-node-content-wrapper, ${ne}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:me,margin:0,padding:`0 ${ee.paddingXS/2}px`,color:"inherit",lineHeight:`${me}px`,background:"transparent",borderRadius:ee.borderRadius,cursor:"pointer",transition:`all ${ee.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Ne},[`&${ne}-node-selected`]:{backgroundColor:Se},[`${ne}-iconEle`]:{display:"inline-block",width:me,height:me,lineHeight:`${me}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${ne}-unselectable ${ne}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ne}-node-content-wrapper`]:Object.assign({lineHeight:`${me}px`,userSelect:"none"},Je(ze,ee)),[`${ge}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${ee.colorPrimary}`}},"&-show-line":{[`${ne}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:me/2,bottom:-ue,borderInlineEnd:`1px solid ${ee.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${ne}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ge}-leaf-last`]:{[`${ne}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${me/2}px !important`}}}}})}},tt=ze=>{const{treeCls:ee,treeNodeCls:ne,treeNodePadding:ge,directoryNodeSelectedBg:ue,directoryNodeSelectedColor:me}=ze;return{[`${ee}${ee}-directory`]:{[ne]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ge,insetInlineStart:0,transition:`background-color ${ze.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ze.controlItemBgHover}},"> *":{zIndex:1},[`${ee}-switcher`]:{transition:`color ${ze.motionDurationMid}`},[`${ee}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${ee}-node-selected`]:{color:me,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:ue},[`${ee}-switcher`]:{color:me},[`${ee}-node-content-wrapper`]:{color:me,background:"transparent"}}}}}},ht=(ze,ee)=>{const ne=`.${ze}`,ge=`${ne}-treenode`,ue=ee.paddingXS/2,me=(0,De.TS)(ee,{treeCls:ne,treeNodeCls:ge,treeNodePadding:ue});return[Ye(ze,me),tt(me)]},kt=ze=>{const{controlHeightSM:ee}=ze;return{titleHeight:ee,nodeHoverBg:ze.controlItemBgHover,nodeSelectedBg:ze.controlItemBgActive}};be.ZP=(0,Ke.Z)("Tree",(ze,ee)=>{let{prefixCls:ne}=ee;return[{[ze.componentCls]:(0,Ce.C2)(`${ne}-checkbox`,ze)},ht(ne,ze),(0,Ie.Z)(ze)]},ze=>{const{colorTextLightSolid:ee,colorPrimary:ne}=ze;return Object.assign(Object.assign({},kt(ze)),{directoryNodeSelectedColor:ee,directoryNodeSelectedBg:ne})})},48610:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ge}});var se=oe(5891),Ce=oe(59301),we={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ie=we,De=oe(88853),Ke=function(me,Se){return Ce.createElement(De.Z,(0,se.Z)({},me,{ref:Se,icon:Ie}))},Ee=Ce.forwardRef(Ke),et=Ee,Je=oe(43971),Ye=oe(50023),tt=oe(77042),ht=oe(5527),kt=oe(92310),ze=oe.n(kt),ee=oe(92343),ge=ue=>{const{prefixCls:me,switcherIcon:Se,treeNodeProps:Ne,showLine:ke}=ue,{isLeaf:Te,expanded:We,loading:$e}=Ne;if($e)return Ce.createElement(Ye.Z,{className:`${me}-switcher-loading-icon`});let st;if(ke&&typeof ke=="object"&&(st=ke.showLeafIcon),Te){if(!ke)return null;if(typeof st!="boolean"&&st){const nt=typeof st=="function"?st(Ne):st,$t=`${me}-switcher-line-custom-icon`;return(0,ee.l$)(nt)?(0,ee.Tm)(nt,{className:ze()(nt.props.className||"",$t)}):nt}return st?Ce.createElement(Je.Z,{className:`${me}-switcher-line-icon`}):Ce.createElement("span",{className:`${me}-switcher-leaf-line`})}const ut=`${me}-switcher-icon`,Mt=typeof Se=="function"?Se(Ne):Se;return(0,ee.l$)(Mt)?(0,ee.Tm)(Mt,{className:ze()(Mt.props.className||"",ut)}):Mt!==void 0?Mt:ke?We?Ce.createElement(tt.Z,{className:`${me}-switcher-line-icon`}):Ce.createElement(ht.Z,{className:`${me}-switcher-line-icon`}):Ce.createElement(et,{className:ut})}},24645:function(_e,be,oe){"use strict";oe.d(be,{default:function(){return yn}});var se=oe(59301),Ce=oe(26390),we=oe(92310),Ie=oe.n(we),De=oe(5891),Ke=oe(79545),Ee=oe(68550),et=oe(17928),Je=oe(7711),Ye=oe(80962),tt=oe(19149),ht=oe(50204),kt=oe(80665),ze=oe(20959),ee=oe(36994);function ne(Qt,un){var wn="cannot ".concat(Qt.method," ").concat(Qt.action," ").concat(un.status,"'"),gn=new Error(wn);return gn.status=un.status,gn.method=Qt.method,gn.url=Qt.action,gn}function ge(Qt){var un=Qt.responseText||Qt.response;if(!un)return un;try{return JSON.parse(un)}catch(wn){return un}}function ue(Qt){var un=new XMLHttpRequest;Qt.onProgress&&un.upload&&(un.upload.onprogress=function(Bn){Bn.total>0&&(Bn.percent=Bn.loaded/Bn.total*100),Qt.onProgress(Bn)});var wn=new FormData;Qt.data&&Object.keys(Qt.data).forEach(function(kn){var Bn=Qt.data[kn];if(Array.isArray(Bn)){Bn.forEach(function(Vn){wn.append("".concat(kn,"[]"),Vn)});return}wn.append(kn,Bn)}),Qt.file instanceof Blob?wn.append(Qt.filename,Qt.file,Qt.file.name):wn.append(Qt.filename,Qt.file),un.onerror=function(Bn){Qt.onError(Bn)},un.onload=function(){return un.status<200||un.status>=300?Qt.onError(ne(Qt,un),ge(un)):Qt.onSuccess(ge(un),un)},un.open(Qt.method,Qt.action,!0),Qt.withCredentials&&"withCredentials"in un&&(un.withCredentials=!0);var gn=Qt.headers||{};return gn["X-Requested-With"]!==null&&un.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(gn).forEach(function(kn){gn[kn]!==null&&un.setRequestHeader(kn,gn[kn])}),un.send(wn),{abort:function(){un.abort()}}}var me=+new Date,Se=0;function Ne(){return"rc-upload-".concat(me,"-").concat(++Se)}var ke=oe(51395),Te=function(Qt,un){if(Qt&&un){var wn=Array.isArray(un)?un:un.split(","),gn=Qt.name||"",kn=Qt.type||"",Bn=kn.replace(/\/.*$/,"");return wn.some(function(Vn){var Jn=Vn.trim();if(/^\*(\/\*)?$/.test(Vn))return!0;if(Jn.charAt(0)==="."){var Wn=gn.toLowerCase(),gi=Jn.toLowerCase(),Fi=[gi];return(gi===".jpg"||gi===".jpeg")&&(Fi=[".jpg",".jpeg"]),Fi.some(function(ir){return Wn.endsWith(ir)})}return/\/\*$/.test(Jn)?Bn===Jn.replace(/\/.*$/,""):kn===Jn?!0:/^\w+$/.test(Jn)?((0,ke.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Jn,"'.Skip for check.")),!0):!1})}return!0};function We(Qt,un){var wn=Qt.createReader(),gn=[];function kn(){wn.readEntries(function(Bn){var Vn=Array.prototype.slice.apply(Bn);gn=gn.concat(Vn);var Jn=!Vn.length;Jn?un(gn):kn()})}kn()}var $e=function(un,wn,gn){var kn=function Bn(Vn,Jn){Vn&&(Vn.path=Jn||"",Vn.isFile?Vn.file(function(Wn){gn(Wn)&&(Vn.fullPath&&!Wn.webkitRelativePath&&(Object.defineProperties(Wn,{webkitRelativePath:{writable:!0}}),Wn.webkitRelativePath=Vn.fullPath.replace(/^\//,""),Object.defineProperties(Wn,{webkitRelativePath:{writable:!1}})),wn([Wn]))}):Vn.isDirectory&&We(Vn,function(Wn){Wn.forEach(function(gi){Bn(gi,"".concat(Jn).concat(Vn.name,"/"))})}))};un.forEach(function(Bn){kn(Bn.webkitGetAsEntry())})},st=$e,ut=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Mt=function(Qt){(0,et.Z)(wn,Qt);var un=(0,Je.Z)(wn);function wn(){var gn;(0,Ke.Z)(this,wn);for(var kn=arguments.length,Bn=new Array(kn),Vn=0;Vn{let{uid:Bn}=kn;return Bn===Qt.uid});return gn===-1?wn.push(Qt):wn[gn]=Qt,wn}function je(Qt,un){const wn=Qt.uid!==void 0?"uid":"name";return un.filter(gn=>gn[wn]===Qt[wn])[0]}function Qe(Qt,un){const wn=Qt.uid!==void 0?"uid":"name",gn=un.filter(kn=>kn[wn]!==Qt[wn]);return gn.length===un.length?null:gn}const Oe=function(){const un=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),gn=un[un.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(gn)||[""])[0]},xt=Qt=>Qt.indexOf("image/")===0,hn=Qt=>{if(Qt.type&&!Qt.thumbUrl)return xt(Qt.type);const un=Qt.thumbUrl||Qt.url||"",wn=Oe(un);return/^data:image\//.test(un)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(wn)?!0:!(/^data:/.test(un)||wn)},Pn=200;function wt(Qt){return new Promise(un=>{if(!Qt.type||!xt(Qt.type)){un("");return}const wn=document.createElement("canvas");wn.width=Pn,wn.height=Pn,wn.style.cssText=`position: fixed; left: 0; top: 0; width: ${Pn}px; height: ${Pn}px; z-index: 9999; display: none;`,document.body.appendChild(wn);const gn=wn.getContext("2d"),kn=new Image;if(kn.onload=()=>{const{width:Bn,height:Vn}=kn;let Jn=Pn,Wn=Pn,gi=0,Fi=0;Bn>Vn?(Wn=Vn*(Pn/Bn),Fi=-(Wn-Jn)/2):(Jn=Bn*(Pn/Vn),gi=-(Jn-Wn)/2),gn.drawImage(kn,gi,Fi,Jn,Wn);const ir=wn.toDataURL();document.body.removeChild(wn),window.URL.revokeObjectURL(kn.src),un(ir)},kn.crossOrigin="anonymous",Qt.type.startsWith("image/svg+xml")){const Bn=new FileReader;Bn.onload=()=>{Bn.result&&(kn.src=Bn.result)},Bn.readAsDataURL(Qt)}else if(Qt.type.startsWith("image/gif")){const Bn=new FileReader;Bn.onload=()=>{Bn.result&&un(Bn.result)},Bn.readAsDataURL(Qt)}else kn.src=window.URL.createObjectURL(Qt)})}var nn=oe(72295),Mn=oe(24566),Zn=oe(30631),li=oe(93948),xi=oe(6848),Si=se.forwardRef((Qt,un)=>{let{prefixCls:wn,className:gn,style:kn,locale:Bn,listType:Vn,file:Jn,items:Wn,progress:gi,iconRender:Fi,actionIconRender:ir,itemRender:zi,isImgUrl:tn,showPreviewIcon:Ai,showRemoveIcon:Bi,showDownloadIcon:Ti,previewIcon:hr,removeIcon:tr,downloadIcon:br,onPreview:Xi,onDownload:Hi,onClose:Ir}=Qt;var Ht,Kr;const{status:Fn}=Jn,[kr,Go]=se.useState(Fn);se.useEffect(()=>{Fn!=="removed"&&Go(Fn)},[Fn]);const[Dr,po]=se.useState(!1);se.useEffect(()=>{const gr=setTimeout(()=>{po(!0)},300);return()=>{clearTimeout(gr)}},[]);const Do=Fi(Jn);let Ji=se.createElement("div",{className:`${wn}-icon`},Do);if(Vn==="picture"||Vn==="picture-card"||Vn==="picture-circle")if(kr==="uploading"||!Jn.thumbUrl&&!Jn.url){const gr=Ie()(`${wn}-list-item-thumbnail`,{[`${wn}-list-item-file`]:kr!=="uploading"});Ji=se.createElement("div",{className:gr},Do)}else{const gr=tn!=null&&tn(Jn)?se.createElement("img",{src:Jn.thumbUrl||Jn.url,alt:Jn.name,className:`${wn}-list-item-image`,crossOrigin:Jn.crossOrigin}):Do,Qi=Ie()(`${wn}-list-item-thumbnail`,{[`${wn}-list-item-file`]:tn&&!tn(Jn)});Ji=se.createElement("a",{className:Qi,onClick:xr=>Xi(Jn,xr),href:Jn.url||Jn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},gr)}const or=Ie()(`${wn}-list-item`,`${wn}-list-item-${kr}`),io=typeof Jn.linkProps=="string"?JSON.parse(Jn.linkProps):Jn.linkProps,Gr=Bi?ir((typeof tr=="function"?tr(Jn):tr)||se.createElement(nn.Z,null),()=>Ir(Jn),wn,Bn.removeFile):null,Ii=Ti&&kr==="done"?ir((typeof br=="function"?br(Jn):br)||se.createElement(Mn.Z,null),()=>Hi(Jn),wn,Bn.downloadFile):null,lt=Vn!=="picture-card"&&Vn!=="picture-circle"&&se.createElement("span",{key:"download-delete",className:Ie()(`${wn}-list-item-actions`,{picture:Vn==="picture"})},Ii,Gr),Rr=Ie()(`${wn}-list-item-name`),Ko=Jn.url?[se.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Rr,title:Jn.name},io,{href:Jn.url,onClick:gr=>Xi(Jn,gr)}),Jn.name),lt]:[se.createElement("span",{key:"view",className:Rr,onClick:gr=>Xi(Jn,gr),title:Jn.name},Jn.name),lt],Yr={pointerEvents:"none",opacity:.5},yo=Ai?se.createElement("a",{href:Jn.url||Jn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Jn.url||Jn.thumbUrl?void 0:Yr,onClick:gr=>Xi(Jn,gr),title:Bn.previewFile},typeof hr=="function"?hr(Jn):hr||se.createElement(Zn.Z,null)):null,Mr=(Vn==="picture-card"||Vn==="picture-circle")&&kr!=="uploading"&&se.createElement("span",{className:`${wn}-list-item-actions`},yo,kr==="done"&&Ii,Gr),{getPrefixCls:mr}=se.useContext(an.E_),co=mr(),Uo=se.createElement("div",{className:or},Ji,Ko,Mr,Dr&&se.createElement(Ft.default,{motionName:`${co}-fade`,visible:kr==="uploading",motionDeadline:2e3},gr=>{let{className:Qi}=gr;const xr="percent"in Jn?se.createElement(li.Z,Object.assign({},gi,{type:"line",percent:Jn.percent,"aria-label":Jn["aria-label"],"aria-labelledby":Jn["aria-labelledby"]})):null;return se.createElement("div",{className:Ie()(`${wn}-list-item-progress`,Qi)},xr)})),ao=Jn.response&&typeof Jn.response=="string"?Jn.response:((Ht=Jn.error)===null||Ht===void 0?void 0:Ht.statusText)||((Kr=Jn.error)===null||Kr===void 0?void 0:Kr.message)||Bn.uploadError,ra=kr==="error"?se.createElement(xi.Z,{title:ao,getPopupContainer:gr=>gr.parentNode},Uo):Uo;return se.createElement("div",{className:Ie()(`${wn}-list-item-container`,gn),style:kn,ref:un},zi?zi(ra,Jn,Wn,{download:Hi.bind(null,Jn),preview:Xi.bind(null,Jn),remove:Ir.bind(null,Jn)}):ra)});const Ri=(Qt,un)=>{const{listType:wn="text",previewFile:gn=wt,onPreview:kn,onDownload:Bn,onRemove:Vn,locale:Jn,iconRender:Wn,isImageUrl:gi=hn,prefixCls:Fi,items:ir=[],showPreviewIcon:zi=!0,showRemoveIcon:tn=!0,showDownloadIcon:Ai=!1,removeIcon:Bi,previewIcon:Ti,downloadIcon:hr,progress:tr={size:[-1,2],showInfo:!1},appendAction:br,appendActionVisible:Xi=!0,itemRender:Hi,disabled:Ir}=Qt,Ht=(0,Ot.Z)(),[Kr,Fn]=se.useState(!1);se.useEffect(()=>{wn!=="picture"&&wn!=="picture-card"&&wn!=="picture-circle"||(ir||[]).forEach(Yr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Yr.originFileObj instanceof File||Yr.originFileObj instanceof Blob)||Yr.thumbUrl!==void 0||(Yr.thumbUrl="",gn&&gn(Yr.originFileObj).then(yo=>{Yr.thumbUrl=yo||"",Ht()}))})},[wn,ir,gn]),se.useEffect(()=>{Fn(!0)},[]);const kr=(Yr,yo)=>{if(kn)return yo==null||yo.preventDefault(),kn(Yr)},Go=Yr=>{typeof Bn=="function"?Bn(Yr):Yr.url&&window.open(Yr.url)},Dr=Yr=>{Vn==null||Vn(Yr)},po=Yr=>{if(Wn)return Wn(Yr,wn);const yo=Yr.status==="uploading",Mr=gi&&gi(Yr)?se.createElement(rt,null):se.createElement(ei,null);let mr=yo?se.createElement(An.Z,null):se.createElement(ii,null);return wn==="picture"?mr=yo?se.createElement(An.Z,null):Mr:(wn==="picture-card"||wn==="picture-circle")&&(mr=yo?Jn.uploading:Mr),mr},Do=(Yr,yo,Mr,mr)=>{const co={type:"text",size:"small",title:mr,onClick:Uo=>{yo(),(0,ct.l$)(Yr)&&Yr.props.onClick&&Yr.props.onClick(Uo)},className:`${Mr}-list-item-action`,disabled:Ir};if((0,ct.l$)(Yr)){const Uo=(0,ct.Tm)(Yr,Object.assign(Object.assign({},Yr.props),{onClick:()=>{}}));return se.createElement(Ge.ZP,Object.assign({},co,{icon:Uo}))}return se.createElement(Ge.ZP,Object.assign({},co),se.createElement("span",null,Yr))};se.useImperativeHandle(un,()=>({handlePreview:kr,handleDownload:Go}));const{getPrefixCls:Ji}=se.useContext(an.E_),or=Ji("upload",Fi),io=Ji(),Gr=Ie()(`${or}-list`,`${or}-list-${wn}`),Ii=(0,Ce.Z)(ir.map(Yr=>({key:Yr.uid,file:Yr})));let Rr={motionDeadline:2e3,motionName:`${or}-${wn==="picture-card"||wn==="picture-circle"?"animate-inline":"animate"}`,keys:Ii,motionAppear:Kr};const Ko=se.useMemo(()=>{const Yr=Object.assign({},(0,ft.Z)(io));return delete Yr.onAppearEnd,delete Yr.onEnterEnd,delete Yr.onLeaveEnd,Yr},[io]);return wn!=="picture-card"&&wn!=="picture-circle"&&(Rr=Object.assign(Object.assign({},Ko),Rr)),se.createElement("div",{className:Gr},se.createElement(Ft.CSSMotionList,Object.assign({},Rr,{component:!1}),Yr=>{let{key:yo,file:Mr,className:mr,style:co}=Yr;return se.createElement(Si,{key:yo,locale:Jn,prefixCls:or,className:mr,style:co,file:Mr,items:ir,progress:tr,listType:wn,isImgUrl:gi,showPreviewIcon:zi,showRemoveIcon:tn,showDownloadIcon:Ai,removeIcon:Bi,previewIcon:Ti,downloadIcon:hr,iconRender:po,actionIconRender:Do,itemRender:Hi,onPreview:kr,onDownload:Go,onClose:Dr})}),br&&se.createElement(Ft.default,Object.assign({},Rr,{visible:Xi,forceRender:!0}),Yr=>{let{className:yo,style:Mr}=Yr;return(0,ct.Tm)(br,mr=>({className:Ie()(mr.className,yo),style:Object.assign(Object.assign(Object.assign({},Mr),{pointerEvents:yo?"none":void 0}),mr.style)}))}))};var dr=se.forwardRef(Ri),ur=oe(17313),Sr=oe(8378),Wr=oe(83116),Gi=oe(37613),Yi=Qt=>{const{componentCls:un,iconCls:wn}=Qt;return{[`${un}-wrapper`]:{[`${un}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Qt.colorFillAlter,border:`${Qt.lineWidth}px dashed ${Qt.colorBorder}`,borderRadius:Qt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Qt.motionDurationSlow}`,[un]:{padding:`${Qt.padding}px 0`},[`${un}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${un}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${un}-disabled):hover`]:{borderColor:Qt.colorPrimaryHover},[`p${un}-drag-icon`]:{marginBottom:Qt.margin,[wn]:{color:Qt.colorPrimary,fontSize:Qt.uploadThumbnailSize}},[`p${un}-text`]:{margin:`0 0 ${Qt.marginXXS}px`,color:Qt.colorTextHeading,fontSize:Qt.fontSizeLG},[`p${un}-hint`]:{color:Qt.colorTextDescription,fontSize:Qt.fontSize},[`&${un}-disabled`]:{cursor:"not-allowed",[`p${un}-drag-icon ${wn}, p${un}-text, p${un}-hint `]:{color:Qt.colorTextDisabled}}}}}},no=Qt=>{const{componentCls:un,antCls:wn,iconCls:gn,fontSize:kn,lineHeight:Bn}=Qt,Vn=`${un}-list-item`,Jn=`${Vn}-actions`,Wn=`${Vn}-action`,gi=Math.round(kn*Bn);return{[`${un}-wrapper`]:{[`${un}-list`]:Object.assign(Object.assign({},(0,ur.dF)()),{lineHeight:Qt.lineHeight,[Vn]:{position:"relative",height:Qt.lineHeight*kn,marginTop:Qt.marginXS,fontSize:kn,display:"flex",alignItems:"center",transition:`background-color ${Qt.motionDurationSlow}`,"&:hover":{backgroundColor:Qt.controlItemBgHover},[`${Vn}-name`]:Object.assign(Object.assign({},ur.vS),{padding:`0 ${Qt.paddingXS}px`,lineHeight:Bn,flex:"auto",transition:`all ${Qt.motionDurationSlow}`}),[Jn]:{[Wn]:{opacity:0},[`${Wn}${wn}-btn-sm`]:{height:gi,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` @@ -1253,53 +1253,53 @@ `]:{[Vn]:{position:"relative",height:gn+Qt.lineWidth*2+Qt.paddingXS*2,padding:Qt.paddingXS,border:`${Qt.lineWidth}px ${Qt.lineType} ${Qt.colorBorder}`,borderRadius:Qt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Vn}-thumbnail`]:Object.assign(Object.assign({},ur.vS),{width:gn,height:gn,lineHeight:`${gn+Qt.paddingSM}px`,textAlign:"center",flex:"none",[wn]:{fontSize:Qt.fontSizeHeading2,color:Qt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Vn}-progress`]:{bottom:kn,width:`calc(100% - ${Qt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:gn+Qt.paddingXS}},[`${Vn}-error`]:{borderColor:Qt.colorError,[`${Vn}-thumbnail ${wn}`]:{[`svg path[fill='${on.blue[0]}']`]:{fill:Qt.colorErrorBg},[`svg path[fill='${on.blue.primary}']`]:{fill:Qt.colorError}}},[`${Vn}-uploading`]:{borderStyle:"dashed",[`${Vn}-name`]:{marginBottom:kn}}},[`${Bn}${Bn}-picture-circle ${Vn}`]:{[`&, &::before, ${Vn}-thumbnail`]:{borderRadius:"50%"}}}}},Nt=Qt=>{const{componentCls:un,iconCls:wn,fontSizeLG:gn,colorTextLightSolid:kn}=Qt,Bn=`${un}-list`,Vn=`${Bn}-item`,Jn=Qt.uploadPicCardSize;return{[` ${un}-wrapper${un}-picture-card-wrapper, ${un}-wrapper${un}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,ur.dF)()),{display:"inline-block",width:"100%",[`${un}${un}-select`]:{width:Jn,height:Jn,marginInlineEnd:Qt.marginXS,marginBottom:Qt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Qt.colorFillAlter,border:`${Qt.lineWidth}px dashed ${Qt.colorBorder}`,borderRadius:Qt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Qt.motionDurationSlow}`,[`> ${un}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${un}-disabled):hover`]:{borderColor:Qt.colorPrimary}},[`${Bn}${Bn}-picture-card, ${Bn}${Bn}-picture-circle`]:{[`${Bn}-item-container`]:{display:"inline-block",width:Jn,height:Jn,marginBlock:`0 ${Qt.marginXS}px`,marginInline:`0 ${Qt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Vn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Qt.paddingXS*2}px)`,height:`calc(100% - ${Qt.paddingXS*2}px)`,backgroundColor:Qt.colorBgMask,opacity:0,transition:`all ${Qt.motionDurationSlow}`,content:'" "'}},[`${Vn}:hover`]:{[`&::before, ${Vn}-actions`]:{opacity:1}},[`${Vn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Qt.motionDurationSlow}`,[`${wn}-eye, ${wn}-download, ${wn}-delete`]:{zIndex:10,width:gn,margin:`0 ${Qt.marginXXS}px`,fontSize:gn,cursor:"pointer",transition:`all ${Qt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Vn}-actions, ${Vn}-actions:hover`]:{[`${wn}-eye, ${wn}-download, ${wn}-delete`]:{color:new ln.C(kn).setAlpha(.65).toRgbString(),"&:hover":{color:kn}}},[`${Vn}-thumbnail, ${Vn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Vn}-name`]:{display:"none",textAlign:"center"},[`${Vn}-file + ${Vn}-name`]:{position:"absolute",bottom:Qt.margin,display:"block",width:`calc(100% - ${Qt.paddingXS*2}px)`},[`${Vn}-uploading`]:{[`&${Vn}`]:{backgroundColor:Qt.colorFillAlter},[`&::before, ${wn}-eye, ${wn}-download, ${wn}-delete`]:{display:"none"}},[`${Vn}-progress`]:{bottom:Qt.marginXL,width:`calc(100% - ${Qt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${un}-wrapper${un}-picture-circle-wrapper`]:{[`${un}${un}-select`]:{borderRadius:"50%"}}}};var Un=Qt=>{const{componentCls:un}=Qt;return{[`${un}-rtl`]:{direction:"rtl"}}};const Vt=Qt=>{const{componentCls:un,colorTextDisabled:wn}=Qt;return{[`${un}-wrapper`]:Object.assign(Object.assign({},(0,ur.Wf)(Qt)),{[un]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${un}-select`]:{display:"inline-block"},[`${un}-disabled`]:{color:wn,cursor:"not-allowed"}})}};var yt=(0,Wr.Z)("Upload",Qt=>{const{fontSizeHeading3:un,fontSize:wn,lineHeight:gn,lineWidth:kn,controlHeightLG:Bn}=Qt,Vn=Math.round(wn*gn),Jn=(0,Gi.TS)(Qt,{uploadThumbnailSize:un*2,uploadProgressOffset:Vn/2+kn,uploadPicCardSize:Bn*2.55});return[Vt(Jn),Yi(Jn),qt(Jn),Nt(Jn),no(Jn),Oi(Jn),Un(Jn),(0,Sr.Z)(Jn)]},Qt=>({actionsColor:Qt.colorTextDescription})),In=function(Qt,un,wn,gn){function kn(Bn){return Bn instanceof wn?Bn:new wn(function(Vn){Vn(Bn)})}return new(wn||(wn=Promise))(function(Bn,Vn){function Jn(Fi){try{gi(gn.next(Fi))}catch(ir){Vn(ir)}}function Wn(Fi){try{gi(gn.throw(Fi))}catch(ir){Vn(ir)}}function gi(Fi){Fi.done?Bn(Fi.value):kn(Fi.value).then(Jn,Wn)}gi((gn=gn.apply(Qt,un||[])).next())})};const zn=`__LIST_IGNORE_${Date.now()}__`,mi=(Qt,un)=>{const{fileList:wn,defaultFileList:gn,onRemove:kn,showUploadList:Bn=!0,listType:Vn="text",onPreview:Jn,onDownload:Wn,onChange:gi,onDrop:Fi,previewFile:ir,disabled:zi,locale:tn,iconRender:Ai,isImageUrl:Bi,progress:Ti,prefixCls:hr,className:tr,type:br="select",children:Xi,style:Hi,itemRender:Ir,maxCount:Gt,data:Kr={},multiple:Fn=!1,action:kr="",accept:Go="",supportServerRender:Dr=!0,rootClassName:po}=Qt,Do=se.useContext(it.Z),Ji=zi!=null?zi:Do,[or,io]=(0,Xt.Z)(gn||[],{value:wn,postState:Oo=>Oo!=null?Oo:[]}),[_r,Ii]=se.useState("drop"),lt=se.useRef(null);se.useMemo(()=>{const Oo=Date.now();(wn||[]).forEach((ma,ds)=>{!ma.uid&&!Object.isFrozen(ma)&&(ma.uid=`__AUTO__${Oo}_${ds}__`)})},[wn]);const Rr=(Oo,ma,ds)=>{let aa=(0,Ce.Z)(ma),Xr=!1;Gt===1?aa=aa.slice(-1):Gt&&(Xr=aa.length>Gt,aa=aa.slice(0,Gt)),(0,fn.flushSync)(()=>{io(aa)});const Qr={file:Oo,fileList:aa};ds&&(Qr.event=ds),(!Xr||aa.some(ns=>ns.uid===Oo.uid))&&(0,fn.flushSync)(()=>{gi==null||gi(Qr)})},Ko=(Oo,ma)=>In(void 0,void 0,void 0,function*(){const{beforeUpload:ds,transformFile:aa}=Qt;let Xr=Oo;if(ds){const Qr=yield ds(Oo,ma);if(Qr===!1)return!1;if(delete Oo[zn],Qr===zn)return Object.defineProperty(Oo,zn,{value:!0,configurable:!0}),!1;typeof Qr=="object"&&Qr&&(Xr=Qr)}return aa&&(Xr=yield aa(Xr)),Xr}),Yr=Oo=>{const ma=Oo.filter(Xr=>!Xr.file[zn]);if(!ma.length)return;const ds=ma.map(Xr=>Ae(Xr.file));let aa=(0,Ce.Z)(or);ds.forEach(Xr=>{aa=xe(Xr,aa)}),ds.forEach((Xr,Qr)=>{let ns=Xr;if(ma[Qr].parsedFile)Xr.status="uploading";else{const{originFileObj:so}=Xr;let Po;try{Po=new File([so],so.name,{type:so.type})}catch(Mo){Po=new Blob([so],{type:so.type}),Po.name=so.name,Po.lastModifiedDate=new Date,Po.lastModified=new Date().getTime()}Po.uid=Xr.uid,ns=Po}Rr(ns,aa)})},yo=(Oo,ma,ds)=>{try{typeof Oo=="string"&&(Oo=JSON.parse(Oo))}catch(Qr){}if(!je(ma,or))return;const aa=Ae(ma);aa.status="done",aa.percent=100,aa.response=Oo,aa.xhr=ds;const Xr=xe(aa,or);Rr(aa,Xr)},Mr=(Oo,ma)=>{if(!je(ma,or))return;const ds=Ae(ma);ds.status="uploading",ds.percent=Oo.percent;const aa=xe(ds,or);Rr(ds,aa,Oo)},mr=(Oo,ma,ds)=>{if(!je(ds,or))return;const aa=Ae(ds);aa.error=Oo,aa.response=ma,aa.status="error";const Xr=xe(aa,or);Rr(aa,Xr)},co=Oo=>{let ma;Promise.resolve(typeof kn=="function"?kn(Oo):kn).then(ds=>{var aa;if(ds===!1)return;const Xr=Qe(Oo,or);Xr&&(ma=Object.assign(Object.assign({},Oo),{status:"removed"}),or==null||or.forEach(Qr=>{const ns=ma.uid!==void 0?"uid":"name";Qr[ns]===ma[ns]&&!Object.isFrozen(Qr)&&(Qr.status="removed")}),(aa=lt.current)===null||aa===void 0||aa.abort(ma),Rr(ma,Xr))})},Uo=Oo=>{Ii(Oo.type),Oo.type==="drop"&&(Fi==null||Fi(Oo))};se.useImperativeHandle(un,()=>({onBatchStart:Yr,onSuccess:yo,onProgress:Mr,onError:mr,fileList:or,upload:lt.current}));const{getPrefixCls:ao,direction:ra,upload:gr}=se.useContext(an.E_),Qi=ao("upload",hr),xr=Object.assign(Object.assign({onBatchStart:Yr,onError:mr,onProgress:Mr,onSuccess:yo},Qt),{data:Kr,multiple:Fn,action:kr,accept:Go,supportServerRender:Dr,prefixCls:Qi,disabled:Ji,beforeUpload:Ko,onChange:void 0});delete xr.className,delete xr.style,(!Xi||Ji)&&delete xr.id;const[fi,bo]=yt(Qi),[ua]=(0,Ve.Z)("Upload",gt.Z.Upload),{showRemoveIcon:ca,showPreviewIcon:oa,showDownloadIcon:Ra,removeIcon:ts,previewIcon:cs,downloadIcon:Qa}=typeof Bn=="boolean"?{}:Bn,ks=(Oo,ma)=>Bn?se.createElement(dr,{prefixCls:Qi,listType:Vn,items:or,previewFile:ir,onPreview:Jn,onDownload:Wn,onRemove:co,showRemoveIcon:!Ji&&ca,showPreviewIcon:oa,showDownloadIcon:Ra,removeIcon:ts,previewIcon:cs,downloadIcon:Qa,iconRender:Ai,locale:Object.assign(Object.assign({},ua),tn),isImageUrl:Bi,progress:Ti,appendAction:Oo,appendActionVisible:ma,itemRender:Ir,disabled:Ji}):Oo,Ds=Ie()(`${Qi}-wrapper`,tr,po,bo,gr==null?void 0:gr.className,{[`${Qi}-rtl`]:ra==="rtl",[`${Qi}-picture-card-wrapper`]:Vn==="picture-card",[`${Qi}-picture-circle-wrapper`]:Vn==="picture-circle"}),jn=Object.assign(Object.assign({},gr==null?void 0:gr.style),Hi);if(br==="drag"){const Oo=Ie()(bo,Qi,`${Qi}-drag`,{[`${Qi}-drag-uploading`]:or.some(ma=>ma.status==="uploading"),[`${Qi}-drag-hover`]:_r==="dragover",[`${Qi}-disabled`]:Ji,[`${Qi}-rtl`]:ra==="rtl"});return fi(se.createElement("span",{className:Ds},se.createElement("div",{className:Oo,style:jn,onDrop:Uo,onDragOver:Uo,onDragLeave:Uo},se.createElement(zt,Object.assign({},xr,{ref:lt,className:`${Qi}-btn`}),se.createElement("div",{className:`${Qi}-drag-container`},Xi))),ks()))}const gs=Ie()(Qi,`${Qi}-select`,{[`${Qi}-disabled`]:Ji}),Kl=(Oo=>se.createElement("div",{className:gs,style:Oo},se.createElement(zt,Object.assign({},xr,{ref:lt}))))(Xi?void 0:{display:"none"});return fi(Vn==="picture-card"||Vn==="picture-circle"?se.createElement("span",{className:Ds},ks(Kl,!!Xi)):se.createElement("span",{className:Ds},Kl,ks()))};var bt=se.forwardRef(mi),Ut=function(Qt,un){var wn={};for(var gn in Qt)Object.prototype.hasOwnProperty.call(Qt,gn)&&un.indexOf(gn)<0&&(wn[gn]=Qt[gn]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kn=0,gn=Object.getOwnPropertySymbols(Qt);kn{var{style:wn,height:gn}=Qt,kn=Ut(Qt,["style","height"]);return se.createElement(bt,Object.assign({ref:un},kn,{type:"drag",style:Object.assign(Object.assign({},wn),{height:gn})}))});const _t=bt;_t.Dragger=ni,_t.LIST_IGNORE=zn;var yn=_t},99498:function(_e,be,oe){(function(se){se(oe(89780))})(function(se){se.defineOption("placeholder","",function(et,Je,Ye){var tt=Ye&&Ye!=se.Init;if(Je&&!tt)et.on("blur",De),et.on("change",Ke),et.on("swapDoc",Ke),se.on(et.getInputField(),"compositionupdate",et.state.placeholderCompose=function(){Ie(et)}),Ke(et);else if(!Je&&tt){et.off("blur",De),et.off("change",Ke),et.off("swapDoc",Ke),se.off(et.getInputField(),"compositionupdate",et.state.placeholderCompose),Ce(et);var ht=et.getWrapperElement();ht.className=ht.className.replace(" CodeMirror-empty","")}Je&&!et.hasFocus()&&De(et)});function Ce(et){et.state.placeholder&&(et.state.placeholder.parentNode.removeChild(et.state.placeholder),et.state.placeholder=null)}function we(et){Ce(et);var Je=et.state.placeholder=document.createElement("pre");Je.style.cssText="height: 0; overflow: visible",Je.style.direction=et.getOption("direction"),Je.className="CodeMirror-placeholder CodeMirror-line-like";var Ye=et.getOption("placeholder");typeof Ye=="string"&&(Ye=document.createTextNode(Ye)),Je.appendChild(Ye),et.display.lineSpace.insertBefore(Je,et.display.lineSpace.firstChild)}function Ie(et){setTimeout(function(){var Je=!1,Ye=et.getInputField();Ye.nodeName=="TEXTAREA"?Je=!Ye.value:et.lineCount()==1&&(Je=!/[^\u200b]/.test(Ye.querySelector(".CodeMirror-line").textContent)),Je?we(et):Ce(et)},20)}function De(et){Ee(et)&&we(et)}function Ke(et){var Je=et.getWrapperElement(),Ye=Ee(et);Je.className=Je.className.replace(" CodeMirror-empty","")+(Ye?" CodeMirror-empty":""),Ye?we(et):Ce(et)}function Ee(et){return et.lineCount()===1&&et.getLine(0)===""}})},25717:function(_e,be,oe){(function(se){se(oe(89780))})(function(se){var Ce={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},we=se.Pos;se.defineOption("autoCloseBrackets",!1,function(ee,ne,ge){ge&&ge!=se.Init&&(ee.removeKeyMap(De),ee.state.closeBrackets=null),ne&&(Ke(Ie(ne,"pairs")),ee.state.closeBrackets=ne,ee.addKeyMap(De))});function Ie(ee,ne){return ne=="pairs"&&typeof ee=="string"?ee:typeof ee=="object"&&ee[ne]!=null?ee[ne]:Ce[ne]}var De={Backspace:Je,Enter:Ye};function Ke(ee){for(var ne=0;ne=0;me--){var Ne=ue[me].head;ee.replaceRange("",we(Ne.line,Ne.ch-1),we(Ne.line,Ne.ch+1),"+delete")}}function Ye(ee){var ne=et(ee),ge=ne&&Ie(ne,"explode");if(!ge||ee.getOption("disableInput"))return se.Pass;for(var ue=ee.listSelections(),me=0;me ${un}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${un}-disabled):hover`]:{borderColor:Qt.colorPrimary}},[`${Bn}${Bn}-picture-card, ${Bn}${Bn}-picture-circle`]:{[`${Bn}-item-container`]:{display:"inline-block",width:Jn,height:Jn,marginBlock:`0 ${Qt.marginXS}px`,marginInline:`0 ${Qt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Vn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Qt.paddingXS*2}px)`,height:`calc(100% - ${Qt.paddingXS*2}px)`,backgroundColor:Qt.colorBgMask,opacity:0,transition:`all ${Qt.motionDurationSlow}`,content:'" "'}},[`${Vn}:hover`]:{[`&::before, ${Vn}-actions`]:{opacity:1}},[`${Vn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Qt.motionDurationSlow}`,[`${wn}-eye, ${wn}-download, ${wn}-delete`]:{zIndex:10,width:gn,margin:`0 ${Qt.marginXXS}px`,fontSize:gn,cursor:"pointer",transition:`all ${Qt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Vn}-actions, ${Vn}-actions:hover`]:{[`${wn}-eye, ${wn}-download, ${wn}-delete`]:{color:new ln.C(kn).setAlpha(.65).toRgbString(),"&:hover":{color:kn}}},[`${Vn}-thumbnail, ${Vn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Vn}-name`]:{display:"none",textAlign:"center"},[`${Vn}-file + ${Vn}-name`]:{position:"absolute",bottom:Qt.margin,display:"block",width:`calc(100% - ${Qt.paddingXS*2}px)`},[`${Vn}-uploading`]:{[`&${Vn}`]:{backgroundColor:Qt.colorFillAlter},[`&::before, ${wn}-eye, ${wn}-download, ${wn}-delete`]:{display:"none"}},[`${Vn}-progress`]:{bottom:Qt.marginXL,width:`calc(100% - ${Qt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${un}-wrapper${un}-picture-circle-wrapper`]:{[`${un}${un}-select`]:{borderRadius:"50%"}}}};var Un=Qt=>{const{componentCls:un}=Qt;return{[`${un}-rtl`]:{direction:"rtl"}}};const Vt=Qt=>{const{componentCls:un,colorTextDisabled:wn}=Qt;return{[`${un}-wrapper`]:Object.assign(Object.assign({},(0,ur.Wf)(Qt)),{[un]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${un}-select`]:{display:"inline-block"},[`${un}-disabled`]:{color:wn,cursor:"not-allowed"}})}};var yt=(0,Wr.Z)("Upload",Qt=>{const{fontSizeHeading3:un,fontSize:wn,lineHeight:gn,lineWidth:kn,controlHeightLG:Bn}=Qt,Vn=Math.round(wn*gn),Jn=(0,Gi.TS)(Qt,{uploadThumbnailSize:un*2,uploadProgressOffset:Vn/2+kn,uploadPicCardSize:Bn*2.55});return[Vt(Jn),Yi(Jn),qt(Jn),Nt(Jn),no(Jn),Oi(Jn),Un(Jn),(0,Sr.Z)(Jn)]},Qt=>({actionsColor:Qt.colorTextDescription})),In=function(Qt,un,wn,gn){function kn(Bn){return Bn instanceof wn?Bn:new wn(function(Vn){Vn(Bn)})}return new(wn||(wn=Promise))(function(Bn,Vn){function Jn(Fi){try{gi(gn.next(Fi))}catch(ir){Vn(ir)}}function Wn(Fi){try{gi(gn.throw(Fi))}catch(ir){Vn(ir)}}function gi(Fi){Fi.done?Bn(Fi.value):kn(Fi.value).then(Jn,Wn)}gi((gn=gn.apply(Qt,un||[])).next())})};const zn=`__LIST_IGNORE_${Date.now()}__`,mi=(Qt,un)=>{const{fileList:wn,defaultFileList:gn,onRemove:kn,showUploadList:Bn=!0,listType:Vn="text",onPreview:Jn,onDownload:Wn,onChange:gi,onDrop:Fi,previewFile:ir,disabled:zi,locale:tn,iconRender:Ai,isImageUrl:Bi,progress:Ti,prefixCls:hr,className:tr,type:br="select",children:Xi,style:Hi,itemRender:Ir,maxCount:Ht,data:Kr={},multiple:Fn=!1,action:kr="",accept:Go="",supportServerRender:Dr=!0,rootClassName:po}=Qt,Do=se.useContext(it.Z),Ji=zi!=null?zi:Do,[or,io]=(0,Xt.Z)(gn||[],{value:wn,postState:Oo=>Oo!=null?Oo:[]}),[Gr,Ii]=se.useState("drop"),lt=se.useRef(null);se.useMemo(()=>{const Oo=Date.now();(wn||[]).forEach((ma,hs)=>{!ma.uid&&!Object.isFrozen(ma)&&(ma.uid=`__AUTO__${Oo}_${hs}__`)})},[wn]);const Rr=(Oo,ma,hs)=>{let aa=(0,Ce.Z)(ma),Xr=!1;Ht===1?aa=aa.slice(-1):Ht&&(Xr=aa.length>Ht,aa=aa.slice(0,Ht)),(0,fn.flushSync)(()=>{io(aa)});const Qr={file:Oo,fileList:aa};hs&&(Qr.event=hs),(!Xr||aa.some(ns=>ns.uid===Oo.uid))&&(0,fn.flushSync)(()=>{gi==null||gi(Qr)})},Ko=(Oo,ma)=>In(void 0,void 0,void 0,function*(){const{beforeUpload:hs,transformFile:aa}=Qt;let Xr=Oo;if(hs){const Qr=yield hs(Oo,ma);if(Qr===!1)return!1;if(delete Oo[zn],Qr===zn)return Object.defineProperty(Oo,zn,{value:!0,configurable:!0}),!1;typeof Qr=="object"&&Qr&&(Xr=Qr)}return aa&&(Xr=yield aa(Xr)),Xr}),Yr=Oo=>{const ma=Oo.filter(Xr=>!Xr.file[zn]);if(!ma.length)return;const hs=ma.map(Xr=>Ae(Xr.file));let aa=(0,Ce.Z)(or);hs.forEach(Xr=>{aa=xe(Xr,aa)}),hs.forEach((Xr,Qr)=>{let ns=Xr;if(ma[Qr].parsedFile)Xr.status="uploading";else{const{originFileObj:so}=Xr;let Po;try{Po=new File([so],so.name,{type:so.type})}catch(Mo){Po=new Blob([so],{type:so.type}),Po.name=so.name,Po.lastModifiedDate=new Date,Po.lastModified=new Date().getTime()}Po.uid=Xr.uid,ns=Po}Rr(ns,aa)})},yo=(Oo,ma,hs)=>{try{typeof Oo=="string"&&(Oo=JSON.parse(Oo))}catch(Qr){}if(!je(ma,or))return;const aa=Ae(ma);aa.status="done",aa.percent=100,aa.response=Oo,aa.xhr=hs;const Xr=xe(aa,or);Rr(aa,Xr)},Mr=(Oo,ma)=>{if(!je(ma,or))return;const hs=Ae(ma);hs.status="uploading",hs.percent=Oo.percent;const aa=xe(hs,or);Rr(hs,aa,Oo)},mr=(Oo,ma,hs)=>{if(!je(hs,or))return;const aa=Ae(hs);aa.error=Oo,aa.response=ma,aa.status="error";const Xr=xe(aa,or);Rr(aa,Xr)},co=Oo=>{let ma;Promise.resolve(typeof kn=="function"?kn(Oo):kn).then(hs=>{var aa;if(hs===!1)return;const Xr=Qe(Oo,or);Xr&&(ma=Object.assign(Object.assign({},Oo),{status:"removed"}),or==null||or.forEach(Qr=>{const ns=ma.uid!==void 0?"uid":"name";Qr[ns]===ma[ns]&&!Object.isFrozen(Qr)&&(Qr.status="removed")}),(aa=lt.current)===null||aa===void 0||aa.abort(ma),Rr(ma,Xr))})},Uo=Oo=>{Ii(Oo.type),Oo.type==="drop"&&(Fi==null||Fi(Oo))};se.useImperativeHandle(un,()=>({onBatchStart:Yr,onSuccess:yo,onProgress:Mr,onError:mr,fileList:or,upload:lt.current}));const{getPrefixCls:ao,direction:ra,upload:gr}=se.useContext(an.E_),Qi=ao("upload",hr),xr=Object.assign(Object.assign({onBatchStart:Yr,onError:mr,onProgress:Mr,onSuccess:yo},Qt),{data:Kr,multiple:Fn,action:kr,accept:Go,supportServerRender:Dr,prefixCls:Qi,disabled:Ji,beforeUpload:Ko,onChange:void 0});delete xr.className,delete xr.style,(!Xi||Ji)&&delete xr.id;const[fi,bo]=yt(Qi),[ua]=(0,Ve.Z)("Upload",gt.Z.Upload),{showRemoveIcon:ca,showPreviewIcon:oa,showDownloadIcon:Ra,removeIcon:ts,previewIcon:ds,downloadIcon:Qa}=typeof Bn=="boolean"?{}:Bn,ks=(Oo,ma)=>Bn?se.createElement(dr,{prefixCls:Qi,listType:Vn,items:or,previewFile:ir,onPreview:Jn,onDownload:Wn,onRemove:co,showRemoveIcon:!Ji&&ca,showPreviewIcon:oa,showDownloadIcon:Ra,removeIcon:ts,previewIcon:ds,downloadIcon:Qa,iconRender:Ai,locale:Object.assign(Object.assign({},ua),tn),isImageUrl:Bi,progress:Ti,appendAction:Oo,appendActionVisible:ma,itemRender:Ir,disabled:Ji}):Oo,Ds=Ie()(`${Qi}-wrapper`,tr,po,bo,gr==null?void 0:gr.className,{[`${Qi}-rtl`]:ra==="rtl",[`${Qi}-picture-card-wrapper`]:Vn==="picture-card",[`${Qi}-picture-circle-wrapper`]:Vn==="picture-circle"}),jn=Object.assign(Object.assign({},gr==null?void 0:gr.style),Hi);if(br==="drag"){const Oo=Ie()(bo,Qi,`${Qi}-drag`,{[`${Qi}-drag-uploading`]:or.some(ma=>ma.status==="uploading"),[`${Qi}-drag-hover`]:Gr==="dragover",[`${Qi}-disabled`]:Ji,[`${Qi}-rtl`]:ra==="rtl"});return fi(se.createElement("span",{className:Ds},se.createElement("div",{className:Oo,style:jn,onDrop:Uo,onDragOver:Uo,onDragLeave:Uo},se.createElement(zt,Object.assign({},xr,{ref:lt,className:`${Qi}-btn`}),se.createElement("div",{className:`${Qi}-drag-container`},Xi))),ks()))}const gs=Ie()(Qi,`${Qi}-select`,{[`${Qi}-disabled`]:Ji}),Kl=(Oo=>se.createElement("div",{className:gs,style:Oo},se.createElement(zt,Object.assign({},xr,{ref:lt}))))(Xi?void 0:{display:"none"});return fi(Vn==="picture-card"||Vn==="picture-circle"?se.createElement("span",{className:Ds},ks(Kl,!!Xi)):se.createElement("span",{className:Ds},Kl,ks()))};var bt=se.forwardRef(mi),Ut=function(Qt,un){var wn={};for(var gn in Qt)Object.prototype.hasOwnProperty.call(Qt,gn)&&un.indexOf(gn)<0&&(wn[gn]=Qt[gn]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kn=0,gn=Object.getOwnPropertySymbols(Qt);kn{var{style:wn,height:gn}=Qt,kn=Ut(Qt,["style","height"]);return se.createElement(bt,Object.assign({ref:un},kn,{type:"drag",style:Object.assign(Object.assign({},wn),{height:gn})}))});const Gt=bt;Gt.Dragger=ni,Gt.LIST_IGNORE=zn;var yn=Gt},99498:function(_e,be,oe){(function(se){se(oe(89780))})(function(se){se.defineOption("placeholder","",function(et,Je,Ye){var tt=Ye&&Ye!=se.Init;if(Je&&!tt)et.on("blur",De),et.on("change",Ke),et.on("swapDoc",Ke),se.on(et.getInputField(),"compositionupdate",et.state.placeholderCompose=function(){Ie(et)}),Ke(et);else if(!Je&&tt){et.off("blur",De),et.off("change",Ke),et.off("swapDoc",Ke),se.off(et.getInputField(),"compositionupdate",et.state.placeholderCompose),Ce(et);var ht=et.getWrapperElement();ht.className=ht.className.replace(" CodeMirror-empty","")}Je&&!et.hasFocus()&&De(et)});function Ce(et){et.state.placeholder&&(et.state.placeholder.parentNode.removeChild(et.state.placeholder),et.state.placeholder=null)}function we(et){Ce(et);var Je=et.state.placeholder=document.createElement("pre");Je.style.cssText="height: 0; overflow: visible",Je.style.direction=et.getOption("direction"),Je.className="CodeMirror-placeholder CodeMirror-line-like";var Ye=et.getOption("placeholder");typeof Ye=="string"&&(Ye=document.createTextNode(Ye)),Je.appendChild(Ye),et.display.lineSpace.insertBefore(Je,et.display.lineSpace.firstChild)}function Ie(et){setTimeout(function(){var Je=!1,Ye=et.getInputField();Ye.nodeName=="TEXTAREA"?Je=!Ye.value:et.lineCount()==1&&(Je=!/[^\u200b]/.test(Ye.querySelector(".CodeMirror-line").textContent)),Je?we(et):Ce(et)},20)}function De(et){Ee(et)&&we(et)}function Ke(et){var Je=et.getWrapperElement(),Ye=Ee(et);Je.className=Je.className.replace(" CodeMirror-empty","")+(Ye?" CodeMirror-empty":""),Ye?we(et):Ce(et)}function Ee(et){return et.lineCount()===1&&et.getLine(0)===""}})},25717:function(_e,be,oe){(function(se){se(oe(89780))})(function(se){var Ce={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},we=se.Pos;se.defineOption("autoCloseBrackets",!1,function(ee,ne,ge){ge&&ge!=se.Init&&(ee.removeKeyMap(De),ee.state.closeBrackets=null),ne&&(Ke(Ie(ne,"pairs")),ee.state.closeBrackets=ne,ee.addKeyMap(De))});function Ie(ee,ne){return ne=="pairs"&&typeof ee=="string"?ee:typeof ee=="object"&&ee[ne]!=null?ee[ne]:Ce[ne]}var De={Backspace:Je,Enter:Ye};function Ke(ee){for(var ne=0;ne=0;me--){var Ne=ue[me].head;ee.replaceRange("",we(Ne.line,Ne.ch-1),we(Ne.line,Ne.ch+1),"+delete")}}function Ye(ee){var ne=et(ee),ge=ne&&Ie(ne,"explode");if(!ge||ee.getOption("disableInput"))return se.Pass;for(var ue=ee.listSelections(),me=0;me0;return{anchor:new we(ee.anchor.line,ee.anchor.ch+(ne?-1:1)),head:new we(ee.head.line,ee.head.ch+(ne?1:-1))}}function ht(ee,ne){var ge=et(ee);if(!ge||ee.getOption("disableInput"))return se.Pass;var ue=Ie(ge,"pairs"),me=ue.indexOf(ne);if(me==-1)return se.Pass;for(var Se=Ie(ge,"closeBefore"),Ne=Ie(ge,"triples"),ke=ue.charAt(me+1)==ne,Te=ee.listSelections(),We=me%2==0,$e,st=0;st=0&&ee.getRange(Mt,we(Mt.line,Mt.ch+3))==ne+ne+ne?nt="skipThree":nt="skip";else if(ke&&Mt.ch>1&&Ne.indexOf(ne)>=0&&ee.getRange(we(Mt.line,Mt.ch-2),Mt)==ne+ne){if(Mt.ch>2&&/\bstring/.test(ee.getTokenTypeAt(we(Mt.line,Mt.ch-2))))return se.Pass;nt="addFour"}else if(ke){var Pt=Mt.ch==0?" ":ee.getRange(we(Mt.line,Mt.ch-1),Mt);if(!se.isWordChar($t)&&Pt!=ne&&!se.isWordChar(Pt))nt="both";else return se.Pass}else if(We&&($t.length===0||/\s/.test($t)||Se.indexOf($t)>-1))nt="both";else return se.Pass;if(!$e)$e=nt;else if($e!=nt)return se.Pass}var dn=me%2?ue.charAt(me-1):ne,zt=me%2?ne:ue.charAt(me+1);ee.operation(function(){if($e=="skip")ee.execCommand("goCharRight");else if($e=="skipThree")for(var Xt=0;Xt<3;Xt++)ee.execCommand("goCharRight");else if($e=="surround"){for(var fn=ee.getSelections(),Xt=0;Xt'"]=function(kt){return Ie(kt)}),Je.addKeyMap(ht)}});var Ce=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],we=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function Ie(Je){if(Je.getOption("disableInput"))return se.Pass;for(var Ye=Je.listSelections(),tt=[],ht=Je.getOption("autoCloseTags"),kt=0;ktze.ch&&(me=me.slice(0,me.length-ee.end+ze.ch));var Te=me.toLowerCase();if(!me||ee.type=="string"&&(ee.end!=ze.ch||!/[\"\']/.test(ee.string.charAt(ee.string.length-1))||ee.string.length==1)||ee.type=="tag"&&ue.close||ee.string.indexOf("/")==ze.ch-ee.start-1||Ne&&Ee(Ne,Te)>-1||et(Je,ne.mode.xmlCurrentContext&&ne.mode.xmlCurrentContext(ge)||[],me,ze,!0))return se.Pass;var We=typeof ht=="object"&&ht.emptyTags;if(We&&Ee(We,me)>-1){tt[kt]={text:"/>",newPos:se.Pos(ze.line,ze.ch+2)};continue}var $e=ke&&Ee(ke,Te)>-1;tt[kt]={indent:$e,text:">"+($e?` -`:"")+"",newPos:$e?se.Pos(ze.line+1,0):se.Pos(ze.line,ze.ch+1)}}for(var st=typeof ht=="object"&&ht.dontIndentOnAutoClose,kt=Ye.length-1;kt>=0;kt--){var ut=tt[kt];Je.replaceRange(ut.text,Ye[kt].head,Ye[kt].anchor,"+insert");var Mt=Je.listSelections().slice(0);Mt[kt]={head:ut.newPos,anchor:ut.newPos},Je.setSelections(Mt),!st&&ut.indent&&(Je.indentLine(ut.newPos.line,null,!0),Je.indentLine(ut.newPos.line+1,null,!0))}}function De(Je,Ye){for(var tt=Je.listSelections(),ht=[],kt=Ye?"/":""&&(Ne+=">"),ht[ne]=Ne}if(Je.replaceSelections(ht),tt=Je.listSelections(),!ee)for(var ne=0;ne=0&&Ye[ge]==tt;ge--)++ne;ht=ee.to;for(var ge=1;ge=ge.max))return ge.ch=0,ge.text=ge.cm.getLine(++ge.line),!0}function Ye(ge){if(!(ge.line<=ge.min))return ge.text=ge.cm.getLine(--ge.line),ge.ch=ge.text.length,!0}function tt(ge){for(;;){var ue=ge.text.indexOf(">",ge.ch);if(ue==-1){if(Je(ge))continue;return}if(!et(ge,ue+1)){ge.ch=ue+1;continue}var me=ge.text.lastIndexOf("/",ue),Se=me>-1&&!/\S/.test(ge.text.slice(me+1,ue));return ge.ch=ue+1,Se?"selfClose":"regular"}}function ht(ge){for(;;){var ue=ge.ch?ge.text.lastIndexOf("<",ge.ch-1):-1;if(ue==-1){if(Ye(ge))continue;return}if(!et(ge,ue+1)){ge.ch=ue;continue}Ke.lastIndex=ue,ge.ch=ue;var me=Ke.exec(ge.text);if(me&&me.index==ue)return me}}function kt(ge){for(;;){Ke.lastIndex=ge.ch;var ue=Ke.exec(ge.text);if(!ue){if(Je(ge))continue;return}if(!et(ge,ue.index+1)){ge.ch=ue.index+1;continue}return ge.ch=ue.index+ue[0].length,ue}}function ze(ge){for(;;){var ue=ge.ch?ge.text.lastIndexOf(">",ge.ch-1):-1;if(ue==-1){if(Ye(ge))continue;return}if(!et(ge,ue+1)){ge.ch=ue;continue}var me=ge.text.lastIndexOf("/",ue),Se=me>-1&&!/\S/.test(ge.text.slice(me+1,ue));return ge.ch=ue+1,Se?"selfClose":"regular"}}function ee(ge,ue){for(var me=[];;){var Se=kt(ge),Ne,ke=ge.line,Te=ge.ch-(Se?Se[0].length:0);if(!Se||!(Ne=tt(ge)))return;if(Ne!="selfClose")if(Se[1]){for(var We=me.length-1;We>=0;--We)if(me[We]==Se[2]){me.length=We;break}if(We<0&&(!ue||ue==Se[2]))return{tag:Se[2],from:Ce(ke,Te),to:Ce(ge.line,ge.ch)}}else me.push(Se[2])}}function ne(ge,ue){for(var me=[];;){var Se=ze(ge);if(!Se)return;if(Se=="selfClose"){ht(ge);continue}var Ne=ge.line,ke=ge.ch,Te=ht(ge);if(!Te)return;if(Te[1])me.push(Te[2]);else{for(var We=me.length-1;We>=0;--We)if(me[We]==Te[2]){me.length=We;break}if(We<0&&(!ue||ue==Te[2]))return{tag:Te[2],from:Ce(ge.line,ge.ch),to:Ce(Ne,ke)}}}}se.registerHelper("fold","xml",function(ge,ue){for(var me=new Ee(ge,ue.line,0);;){var Se=kt(me);if(!Se||me.line!=ue.line)return;var Ne=tt(me);if(!Ne)return;if(!Se[1]&&Ne!="selfClose"){var ke=Ce(me.line,me.ch),Te=ee(me,Se[2]);return Te&&we(Te.from,ke)>0?{from:ke,to:Te.from}:null}}}),se.findMatchingTag=function(ge,ue,me){var Se=new Ee(ge,ue.line,ue.ch,me);if(!(Se.text.indexOf(">")==-1&&Se.text.indexOf("<")==-1)){var Ne=tt(Se),ke=Ne&&Ce(Se.line,Se.ch),Te=Ne&&ht(Se);if(!(!Ne||!Te||we(Se,ue)>0)){var We={from:Ce(Se.line,Se.ch),to:ke,tag:Te[2]};return Ne=="selfClose"?{open:We,close:null,at:"open"}:Te[1]?{open:ne(Se,Te[2]),close:We,at:"close"}:(Se=new Ee(ge,ke.line,ke.ch,me),{open:We,close:ee(Se,Te[2]),at:"open"})}}},se.findEnclosingTag=function(ge,ue,me,Se){for(var Ne=new Ee(ge,ue.line,ue.ch,me);;){var ke=ne(Ne,Se);if(!ke)break;var Te=new Ee(ge,ue.line,ue.ch,me),We=ee(Te,ke.tag);if(We)return{open:ke,close:We}}},se.scanForClosingTag=function(ge,ue,me,Se){var Ne=new Ee(ge,ue.line,ue.ch,Se?{from:0,to:Se}:null);return ee(Ne,me)}})},89780:function(_e){(function(be,oe){_e.exports=oe()})(this,function(){"use strict";var be=navigator.userAgent,oe=navigator.platform,se=/gecko\/\d/i.test(be),Ce=/MSIE \d/.test(be),we=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(be),Ie=/Edge\/(\d+)/.exec(be),De=Ce||we||Ie,Ke=De&&(Ce?document.documentMode||6:+(Ie||we)[1]),Ee=!Ie&&/WebKit\//.test(be),et=Ee&&/Qt\/\d+\.\d+/.test(be),Je=!Ie&&/Chrome\//.test(be),Ye=/Opera\//.test(be),tt=/Apple Computer/.test(navigator.vendor),ht=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(be),kt=/PhantomJS/.test(be),ze=!Ie&&/AppleWebKit/.test(be)&&/Mobile\/\w+/.test(be),ee=/Android/.test(be),ne=ze||ee||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(be),ge=ze||/Mac/.test(oe),ue=/\bCrOS\b/.test(be),me=/win/i.test(oe),Se=Ye&&be.match(/Version\/(\d*\.\d*)/);Se&&(Se=Number(Se[1])),Se&&Se>=15&&(Ye=!1,Ee=!0);var Ne=ge&&(et||Ye&&(Se==null||Se<12.11)),ke=se||De&&Ke>=9;function Te(ie){return new RegExp("(^|\\s)"+ie+"(?:$|\\s)\\s*")}var We=function(ie,ae){var fe=ie.className,pe=Te(ae).exec(fe);if(pe){var ye=fe.slice(pe.index+pe[0].length);ie.className=fe.slice(0,pe.index)+(ye?pe[1]+ye:"")}};function $e(ie){for(var ae=ie.childNodes.length;ae>0;--ae)ie.removeChild(ie.firstChild);return ie}function st(ie,ae){return $e(ie).appendChild(ae)}function ut(ie,ae,fe,pe){var ye=document.createElement(ie);if(fe&&(ye.className=fe),pe&&(ye.style.cssText=pe),typeof ae=="string")ye.appendChild(document.createTextNode(ae));else if(ae)for(var Be=0;Be=ae)return Xe+(ae-Be);Xe+=qe-Be,Xe+=fe-Xe%fe,Be=qe+1}}var Ve=function(){this.id=null,this.f=null,this.time=0,this.handler=fn(this.onTimeout,this)};Ve.prototype.onTimeout=function(ie){ie.id=0,ie.time<=+new Date?ie.f():setTimeout(ie.handler,ie.time-+new Date)},Ve.prototype.set=function(ie,ae){this.f=ae;var fe=+new Date+ie;(!this.id||fe=ae)return pe+Math.min(Xe,ae-ye);if(ye+=Be-pe,ye+=fe-ye%fe,pe=Be+1,ye>=ae)return pe}}var An=[""];function Kn(ie){for(;An.length<=ie;)An.push(jt(An)+" ");return An[ie]}function jt(ie){return ie[ie.length-1]}function Nn(ie,ae){for(var fe=[],pe=0;pe"\x80"&&(ie.toUpperCase()!=ie.toLowerCase()||Yt.test(ie))}function St(ie,ae){return ae?ae.source.indexOf("\\w")>-1&&Zt(ie)?!0:ae.test(ie):Zt(ie)}function rt(ie){for(var ae in ie)if(ie.hasOwnProperty(ae)&&ie[ae])return!1;return!0}var Ft=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ot(ie){return ie.charCodeAt(0)>=768&&Ft.test(ie)}function ft(ie,ae,fe){for(;(fe<0?ae>0:aefe?-1:1;;){if(ae==fe)return ae;var ye=(ae+fe)/2,Be=pe<0?Math.ceil(ye):Math.floor(ye);if(Be==ae)return ie(Be)?ae:fe;ie(Be)?fe=Be:ae=Be+pe}}function Ge(ie,ae,fe,pe){if(!ie)return pe(ae,fe,"ltr",0);for(var ye=!1,Be=0;Beae||ae==fe&&Xe.to==ae)&&(pe(Math.max(Xe.from,ae),Math.min(Xe.to,fe),Xe.level==1?"rtl":"ltr",Be),ye=!0)}ye||pe(ae,fe,"ltr")}var Ae=null;function xe(ie,ae,fe){var pe;Ae=null;for(var ye=0;yeae)return ye;Be.to==ae&&(Be.from!=Be.to&&fe=="before"?pe=ye:Ae=ye),Be.from==ae&&(Be.from!=Be.to&&fe!="before"?pe=ye:Ae=ye)}return pe!=null?pe:Ae}var je=function(){var ie="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ae="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function fe(Tt){return Tt<=247?ie.charAt(Tt):1424<=Tt&&Tt<=1524?"R":1536<=Tt&&Tt<=1785?ae.charAt(Tt-1536):1774<=Tt&&Tt<=2220?"r":8192<=Tt&&Tt<=8203?"w":Tt==8204?"b":"L"}var pe=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ye=/[stwN]/,Be=/[LRr]/,Xe=/[Lb1n]/,qe=/[1n]/;function ot(Tt,mn,Rt){this.level=Tt,this.from=mn,this.to=Rt}return function(Tt,mn){var Rt=mn=="ltr"?"L":"R";if(Tt.length==0||mn=="ltr"&&!pe.test(Tt))return!1;for(var Qn=Tt.length,_n=[],pi=0;pi-1&&(pe[ae]=ye.slice(0,Be).concat(ye.slice(Be+1)))}}}function wt(ie,ae){var fe=hn(ie,ae);if(fe.length)for(var pe=Array.prototype.slice.call(arguments,2),ye=0;ye0}function li(ie){ie.prototype.on=function(ae,fe){xt(this,ae,fe)},ie.prototype.off=function(ae,fe){Pn(this,ae,fe)}}function xi(ie){ie.preventDefault?ie.preventDefault():ie.returnValue=!1}function Mi(ie){ie.stopPropagation?ie.stopPropagation():ie.cancelBubble=!0}function Si(ie){return ie.defaultPrevented!=null?ie.defaultPrevented:ie.returnValue==!1}function Ri(ie){xi(ie),Mi(ie)}function lr(ie){return ie.target||ie.srcElement}function dr(ie){var ae=ie.which;return ae==null&&(ie.button&1?ae=1:ie.button&2?ae=3:ie.button&4&&(ae=2)),ge&&ie.ctrlKey&&ae==1&&(ae=3),ae}var ur=function(){if(De&&Ke<9)return!1;var ie=ut("div");return"draggable"in ie||"dragDrop"in ie}(),Sr;function Wr(ie){if(Sr==null){var ae=ut("span","\u200B");st(ie,ut("span",[ae,document.createTextNode("x")])),ie.firstChild.offsetHeight!=0&&(Sr=ae.offsetWidth<=1&&ae.offsetHeight>2&&!(De&&Ke<8))}var fe=Sr?ut("span","\u200B"):ut("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return fe.setAttribute("cm-text",""),fe}var Gi;function Zr(ie){if(Gi!=null)return Gi;var ae=st(ie,document.createTextNode("A\u062EA")),fe=nt(ae,0,1).getBoundingClientRect(),pe=nt(ae,1,2).getBoundingClientRect();return $e(ie),!fe||fe.left==fe.right?!1:Gi=pe.right-fe.right<3}var Yi=` +`:"")+"",newPos:$e?se.Pos(ze.line+1,0):se.Pos(ze.line,ze.ch+1)}}for(var st=typeof ht=="object"&&ht.dontIndentOnAutoClose,kt=Ye.length-1;kt>=0;kt--){var ut=tt[kt];Je.replaceRange(ut.text,Ye[kt].head,Ye[kt].anchor,"+insert");var Mt=Je.listSelections().slice(0);Mt[kt]={head:ut.newPos,anchor:ut.newPos},Je.setSelections(Mt),!st&&ut.indent&&(Je.indentLine(ut.newPos.line,null,!0),Je.indentLine(ut.newPos.line+1,null,!0))}}function De(Je,Ye){for(var tt=Je.listSelections(),ht=[],kt=Ye?"/":""&&(Ne+=">"),ht[ne]=Ne}if(Je.replaceSelections(ht),tt=Je.listSelections(),!ee)for(var ne=0;ne=0&&Ye[ge]==tt;ge--)++ne;ht=ee.to;for(var ge=1;ge=ge.max))return ge.ch=0,ge.text=ge.cm.getLine(++ge.line),!0}function Ye(ge){if(!(ge.line<=ge.min))return ge.text=ge.cm.getLine(--ge.line),ge.ch=ge.text.length,!0}function tt(ge){for(;;){var ue=ge.text.indexOf(">",ge.ch);if(ue==-1){if(Je(ge))continue;return}if(!et(ge,ue+1)){ge.ch=ue+1;continue}var me=ge.text.lastIndexOf("/",ue),Se=me>-1&&!/\S/.test(ge.text.slice(me+1,ue));return ge.ch=ue+1,Se?"selfClose":"regular"}}function ht(ge){for(;;){var ue=ge.ch?ge.text.lastIndexOf("<",ge.ch-1):-1;if(ue==-1){if(Ye(ge))continue;return}if(!et(ge,ue+1)){ge.ch=ue;continue}Ke.lastIndex=ue,ge.ch=ue;var me=Ke.exec(ge.text);if(me&&me.index==ue)return me}}function kt(ge){for(;;){Ke.lastIndex=ge.ch;var ue=Ke.exec(ge.text);if(!ue){if(Je(ge))continue;return}if(!et(ge,ue.index+1)){ge.ch=ue.index+1;continue}return ge.ch=ue.index+ue[0].length,ue}}function ze(ge){for(;;){var ue=ge.ch?ge.text.lastIndexOf(">",ge.ch-1):-1;if(ue==-1){if(Ye(ge))continue;return}if(!et(ge,ue+1)){ge.ch=ue;continue}var me=ge.text.lastIndexOf("/",ue),Se=me>-1&&!/\S/.test(ge.text.slice(me+1,ue));return ge.ch=ue+1,Se?"selfClose":"regular"}}function ee(ge,ue){for(var me=[];;){var Se=kt(ge),Ne,ke=ge.line,Te=ge.ch-(Se?Se[0].length:0);if(!Se||!(Ne=tt(ge)))return;if(Ne!="selfClose")if(Se[1]){for(var We=me.length-1;We>=0;--We)if(me[We]==Se[2]){me.length=We;break}if(We<0&&(!ue||ue==Se[2]))return{tag:Se[2],from:Ce(ke,Te),to:Ce(ge.line,ge.ch)}}else me.push(Se[2])}}function ne(ge,ue){for(var me=[];;){var Se=ze(ge);if(!Se)return;if(Se=="selfClose"){ht(ge);continue}var Ne=ge.line,ke=ge.ch,Te=ht(ge);if(!Te)return;if(Te[1])me.push(Te[2]);else{for(var We=me.length-1;We>=0;--We)if(me[We]==Te[2]){me.length=We;break}if(We<0&&(!ue||ue==Te[2]))return{tag:Te[2],from:Ce(ge.line,ge.ch),to:Ce(Ne,ke)}}}}se.registerHelper("fold","xml",function(ge,ue){for(var me=new Ee(ge,ue.line,0);;){var Se=kt(me);if(!Se||me.line!=ue.line)return;var Ne=tt(me);if(!Ne)return;if(!Se[1]&&Ne!="selfClose"){var ke=Ce(me.line,me.ch),Te=ee(me,Se[2]);return Te&&we(Te.from,ke)>0?{from:ke,to:Te.from}:null}}}),se.findMatchingTag=function(ge,ue,me){var Se=new Ee(ge,ue.line,ue.ch,me);if(!(Se.text.indexOf(">")==-1&&Se.text.indexOf("<")==-1)){var Ne=tt(Se),ke=Ne&&Ce(Se.line,Se.ch),Te=Ne&&ht(Se);if(!(!Ne||!Te||we(Se,ue)>0)){var We={from:Ce(Se.line,Se.ch),to:ke,tag:Te[2]};return Ne=="selfClose"?{open:We,close:null,at:"open"}:Te[1]?{open:ne(Se,Te[2]),close:We,at:"close"}:(Se=new Ee(ge,ke.line,ke.ch,me),{open:We,close:ee(Se,Te[2]),at:"open"})}}},se.findEnclosingTag=function(ge,ue,me,Se){for(var Ne=new Ee(ge,ue.line,ue.ch,me);;){var ke=ne(Ne,Se);if(!ke)break;var Te=new Ee(ge,ue.line,ue.ch,me),We=ee(Te,ke.tag);if(We)return{open:ke,close:We}}},se.scanForClosingTag=function(ge,ue,me,Se){var Ne=new Ee(ge,ue.line,ue.ch,Se?{from:0,to:Se}:null);return ee(Ne,me)}})},89780:function(_e){(function(be,oe){_e.exports=oe()})(this,function(){"use strict";var be=navigator.userAgent,oe=navigator.platform,se=/gecko\/\d/i.test(be),Ce=/MSIE \d/.test(be),we=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(be),Ie=/Edge\/(\d+)/.exec(be),De=Ce||we||Ie,Ke=De&&(Ce?document.documentMode||6:+(Ie||we)[1]),Ee=!Ie&&/WebKit\//.test(be),et=Ee&&/Qt\/\d+\.\d+/.test(be),Je=!Ie&&/Chrome\//.test(be),Ye=/Opera\//.test(be),tt=/Apple Computer/.test(navigator.vendor),ht=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(be),kt=/PhantomJS/.test(be),ze=!Ie&&/AppleWebKit/.test(be)&&/Mobile\/\w+/.test(be),ee=/Android/.test(be),ne=ze||ee||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(be),ge=ze||/Mac/.test(oe),ue=/\bCrOS\b/.test(be),me=/win/i.test(oe),Se=Ye&&be.match(/Version\/(\d*\.\d*)/);Se&&(Se=Number(Se[1])),Se&&Se>=15&&(Ye=!1,Ee=!0);var Ne=ge&&(et||Ye&&(Se==null||Se<12.11)),ke=se||De&&Ke>=9;function Te(ie){return new RegExp("(^|\\s)"+ie+"(?:$|\\s)\\s*")}var We=function(ie,ae){var fe=ie.className,pe=Te(ae).exec(fe);if(pe){var ye=fe.slice(pe.index+pe[0].length);ie.className=fe.slice(0,pe.index)+(ye?pe[1]+ye:"")}};function $e(ie){for(var ae=ie.childNodes.length;ae>0;--ae)ie.removeChild(ie.firstChild);return ie}function st(ie,ae){return $e(ie).appendChild(ae)}function ut(ie,ae,fe,pe){var ye=document.createElement(ie);if(fe&&(ye.className=fe),pe&&(ye.style.cssText=pe),typeof ae=="string")ye.appendChild(document.createTextNode(ae));else if(ae)for(var Be=0;Be=ae)return Xe+(ae-Be);Xe+=qe-Be,Xe+=fe-Xe%fe,Be=qe+1}}var Ve=function(){this.id=null,this.f=null,this.time=0,this.handler=fn(this.onTimeout,this)};Ve.prototype.onTimeout=function(ie){ie.id=0,ie.time<=+new Date?ie.f():setTimeout(ie.handler,ie.time-+new Date)},Ve.prototype.set=function(ie,ae){this.f=ae;var fe=+new Date+ie;(!this.id||fe=ae)return pe+Math.min(Xe,ae-ye);if(ye+=Be-pe,ye+=fe-ye%fe,pe=Be+1,ye>=ae)return pe}}var An=[""];function Kn(ie){for(;An.length<=ie;)An.push(jt(An)+" ");return An[ie]}function jt(ie){return ie[ie.length-1]}function Nn(ie,ae){for(var fe=[],pe=0;pe"\x80"&&(ie.toUpperCase()!=ie.toLowerCase()||Yt.test(ie))}function St(ie,ae){return ae?ae.source.indexOf("\\w")>-1&&Zt(ie)?!0:ae.test(ie):Zt(ie)}function rt(ie){for(var ae in ie)if(ie.hasOwnProperty(ae)&&ie[ae])return!1;return!0}var Ft=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Ot(ie){return ie.charCodeAt(0)>=768&&Ft.test(ie)}function ft(ie,ae,fe){for(;(fe<0?ae>0:aefe?-1:1;;){if(ae==fe)return ae;var ye=(ae+fe)/2,Be=pe<0?Math.ceil(ye):Math.floor(ye);if(Be==ae)return ie(Be)?ae:fe;ie(Be)?fe=Be:ae=Be+pe}}function Ge(ie,ae,fe,pe){if(!ie)return pe(ae,fe,"ltr",0);for(var ye=!1,Be=0;Beae||ae==fe&&Xe.to==ae)&&(pe(Math.max(Xe.from,ae),Math.min(Xe.to,fe),Xe.level==1?"rtl":"ltr",Be),ye=!0)}ye||pe(ae,fe,"ltr")}var Ae=null;function xe(ie,ae,fe){var pe;Ae=null;for(var ye=0;yeae)return ye;Be.to==ae&&(Be.from!=Be.to&&fe=="before"?pe=ye:Ae=ye),Be.from==ae&&(Be.from!=Be.to&&fe!="before"?pe=ye:Ae=ye)}return pe!=null?pe:Ae}var je=function(){var ie="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ae="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function fe(Tt){return Tt<=247?ie.charAt(Tt):1424<=Tt&&Tt<=1524?"R":1536<=Tt&&Tt<=1785?ae.charAt(Tt-1536):1774<=Tt&&Tt<=2220?"r":8192<=Tt&&Tt<=8203?"w":Tt==8204?"b":"L"}var pe=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ye=/[stwN]/,Be=/[LRr]/,Xe=/[Lb1n]/,qe=/[1n]/;function ot(Tt,mn,Rt){this.level=Tt,this.from=mn,this.to=Rt}return function(Tt,mn){var Rt=mn=="ltr"?"L":"R";if(Tt.length==0||mn=="ltr"&&!pe.test(Tt))return!1;for(var Qn=Tt.length,_n=[],pi=0;pi-1&&(pe[ae]=ye.slice(0,Be).concat(ye.slice(Be+1)))}}}function wt(ie,ae){var fe=hn(ie,ae);if(fe.length)for(var pe=Array.prototype.slice.call(arguments,2),ye=0;ye0}function li(ie){ie.prototype.on=function(ae,fe){xt(this,ae,fe)},ie.prototype.off=function(ae,fe){Pn(this,ae,fe)}}function xi(ie){ie.preventDefault?ie.preventDefault():ie.returnValue=!1}function Mi(ie){ie.stopPropagation?ie.stopPropagation():ie.cancelBubble=!0}function Si(ie){return ie.defaultPrevented!=null?ie.defaultPrevented:ie.returnValue==!1}function Ri(ie){xi(ie),Mi(ie)}function lr(ie){return ie.target||ie.srcElement}function dr(ie){var ae=ie.which;return ae==null&&(ie.button&1?ae=1:ie.button&2?ae=3:ie.button&4&&(ae=2)),ge&&ie.ctrlKey&&ae==1&&(ae=3),ae}var ur=function(){if(De&&Ke<9)return!1;var ie=ut("div");return"draggable"in ie||"dragDrop"in ie}(),Sr;function Wr(ie){if(Sr==null){var ae=ut("span","\u200B");st(ie,ut("span",[ae,document.createTextNode("x")])),ie.firstChild.offsetHeight!=0&&(Sr=ae.offsetWidth<=1&&ae.offsetHeight>2&&!(De&&Ke<8))}var fe=Sr?ut("span","\u200B"):ut("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return fe.setAttribute("cm-text",""),fe}var Gi;function Zr(ie){if(Gi!=null)return Gi;var ae=st(ie,document.createTextNode("A\u062EA")),fe=nt(ae,0,1).getBoundingClientRect(),pe=nt(ae,1,2).getBoundingClientRect();return $e(ie),!fe||fe.left==fe.right?!1:Gi=pe.right-fe.right<3}var Yi=` b`.split(/\n/).length!=3?function(ie){for(var ae=0,fe=[],pe=ie.length;ae<=pe;){var ye=ie.indexOf(` -`,ae);ye==-1&&(ye=ie.length);var Be=ie.slice(ae,ie.charAt(ye-1)=="\r"?ye-1:ye),Xe=Be.indexOf("\r");Xe!=-1?(fe.push(Be.slice(0,Xe)),ae+=Xe+1):(fe.push(Be),ae=ye+1)}return fe}:function(ie){return ie.split(/\r\n?|\n/)},Ue=window.getSelection?function(ie){try{return ie.selectionStart!=ie.selectionEnd}catch(ae){return!1}}:function(ie){var ae;try{ae=ie.ownerDocument.selection.createRange()}catch(fe){}return!ae||ae.parentElement()!=ie?!1:ae.compareEndPoints("StartToEnd",ae)!=0},no=function(){var ie=ut("div");return"oncopy"in ie?!0:(ie.setAttribute("oncopy","return;"),typeof ie.oncopy=="function")}(),pr=null;function fo(ie){if(pr!=null)return pr;var ae=st(ie,ut("span","x")),fe=ae.getBoundingClientRect(),pe=nt(ae,0,1).getBoundingClientRect();return pr=Math.abs(fe.left-pe.left)>1}var Fo={},Vo={};function Io(ie,ae){arguments.length>2&&(ae.dependencies=Array.prototype.slice.call(arguments,2)),Fo[ie]=ae}function Oi(ie,ae){Vo[ie]=ae}function on(ie){if(typeof ie=="string"&&Vo.hasOwnProperty(ie))ie=Vo[ie];else if(ie&&typeof ie.name=="string"&&Vo.hasOwnProperty(ie.name)){var ae=Vo[ie.name];typeof ae=="string"&&(ae={name:ae}),ie=Sn(ae,ie),ie.name=ae.name}else{if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(ie))return on("application/xml");if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(ie))return on("application/json")}return typeof ie=="string"?{name:ie}:ie||{name:"null"}}function ln(ie,ae){ae=on(ae);var fe=Fo[ae.name];if(!fe)return ln(ie,"text/plain");var pe=fe(ie,ae);if(qt.hasOwnProperty(ae.name)){var ye=qt[ae.name];for(var Be in ye)ye.hasOwnProperty(Be)&&(pe.hasOwnProperty(Be)&&(pe["_"+Be]=pe[Be]),pe[Be]=ye[Be])}if(pe.name=ae.name,ae.helperType&&(pe.helperType=ae.helperType),ae.modeProps)for(var Xe in ae.modeProps)pe[Xe]=ae.modeProps[Xe];return pe}var qt={};function Nt(ie,ae){var fe=qt.hasOwnProperty(ie)?qt[ie]:qt[ie]={};an(ae,fe)}function On(ie,ae){if(ae===!0)return ae;if(ie.copyState)return ie.copyState(ae);var fe={};for(var pe in ae){var ye=ae[pe];ye instanceof Array&&(ye=ye.concat([])),fe[pe]=ye}return fe}function Un(ie,ae){for(var fe;ie.innerMode&&(fe=ie.innerMode(ae),!(!fe||fe.mode==ie));)ae=fe.state,ie=fe.mode;return fe||{mode:ie,state:ae}}function Vt(ie,ae,fe){return ie.startState?ie.startState(ae,fe):!0}var yt=function(ie,ae,fe){this.pos=this.start=0,this.string=ie,this.tabSize=ae||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=fe};yt.prototype.eol=function(){return this.pos>=this.string.length},yt.prototype.sol=function(){return this.pos==this.lineStart},yt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},yt.prototype.next=function(){if(this.posae},yt.prototype.eatSpace=function(){for(var ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>ie},yt.prototype.skipToEnd=function(){this.pos=this.string.length},yt.prototype.skipTo=function(ie){var ae=this.string.indexOf(ie,this.pos);if(ae>-1)return this.pos=ae,!0},yt.prototype.backUp=function(ie){this.pos-=ie},yt.prototype.column=function(){return this.lastColumnPos0?null:(Be&&ae!==!1&&(this.pos+=Be[0].length),Be)}},yt.prototype.current=function(){return this.string.slice(this.start,this.pos)},yt.prototype.hideFirstChars=function(ie,ae){this.lineStart+=ie;try{return ae()}finally{this.lineStart-=ie}},yt.prototype.lookAhead=function(ie){var ae=this.lineOracle;return ae&&ae.lookAhead(ie)},yt.prototype.baseToken=function(){var ie=this.lineOracle;return ie&&ie.baseToken(this.pos)};function In(ie,ae){if(ae-=ie.first,ae<0||ae>=ie.size)throw new Error("There is no line "+(ae+ie.first)+" in the document.");for(var fe=ie;!fe.lines;)for(var pe=0;;++pe){var ye=fe.children[pe],Be=ye.chunkSize();if(ae=ie.first&&aefe?_t(fe,In(ie,fe).text.length):Vn(ae,In(ie,ae.line).text.length)}function Vn(ie,ae){var fe=ie.ch;return fe==null||fe>ae?_t(ie.line,ae):fe<0?_t(ie.line,0):ie}function Jn(ie,ae){for(var fe=[],pe=0;pethis.maxLookAhead&&(this.maxLookAhead=ie),ae},gi.prototype.baseToken=function(ie){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=ie;)this.baseTokenPos+=2;var ae=this.baseTokens[this.baseTokenPos+1];return{type:ae&&ae.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-ie}},gi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},gi.fromSaved=function(ie,ae,fe){return ae instanceof Wn?new gi(ie,On(ie.mode,ae.state),fe,ae.lookAhead):new gi(ie,On(ie.mode,ae),fe)},gi.prototype.save=function(ie){var ae=ie!==!1?On(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Wn(ae,this.maxLookAhead):ae};function Fi(ie,ae,fe,pe){var ye=[ie.state.modeGen],Be={};br(ie,ae.text,ie.doc.mode,fe,function(Tt,mn){return ye.push(Tt,mn)},Be,pe);for(var Xe=fe.state,qe=function(Tt){fe.baseTokens=ye;var mn=ie.state.overlays[Tt],Rt=1,Qn=0;fe.state=!0,br(ie,ae.text,mn.mode,fe,function(_n,pi){for(var Ci=Rt;Qn<_n;){var ki=ye[Rt];ki>_n&&ye.splice(Rt,1,_n,ye[Rt+1],ki),Rt+=2,Qn=Math.min(_n,ki)}if(pi)if(mn.opaque)ye.splice(Ci,Rt-Ci,_n,"overlay "+pi),Rt=Ci+2;else for(;Ciie.options.maxHighlightLength&&On(ie.doc.mode,pe.state),Be=Fi(ie,ae,pe);ye&&(pe.state=ye),ae.stateAfter=pe.save(!ye),ae.styles=Be.styles,Be.classes?ae.styleClasses=Be.classes:ae.styleClasses&&(ae.styleClasses=null),fe===ie.doc.highlightFrontier&&(ie.doc.modeFrontier=Math.max(ie.doc.modeFrontier,++ie.doc.highlightFrontier))}return ae.styles}function zi(ie,ae,fe){var pe=ie.doc,ye=ie.display;if(!pe.mode.startState)return new gi(pe,!0,ae);var Be=Xi(ie,ae,fe),Xe=Be>pe.first&&In(pe,Be-1).stateAfter,qe=Xe?gi.fromSaved(pe,Xe,Be):new gi(pe,Vt(pe.mode),Be);return pe.iter(Be,ae,function(ot){tn(ie,ot.text,qe);var Tt=qe.line;ot.stateAfter=Tt==ae-1||Tt%5==0||Tt>=ye.viewFrom&&Ttae.start)return Be}throw new Error("Mode "+ie.name+" failed to advance stream.")}var Ti=function(ie,ae,fe){this.start=ie.start,this.end=ie.pos,this.string=ie.current(),this.type=ae||null,this.state=fe};function hr(ie,ae,fe,pe){var ye=ie.doc,Be=ye.mode,Xe;ae=Bn(ye,ae);var qe=In(ye,ae.line),ot=zi(ie,ae.line,fe),Tt=new yt(qe.text,ie.options.tabSize,ot),mn;for(pe&&(mn=[]);(pe||Tt.posie.options.maxHighlightLength?(qe=!1,Xe&&tn(ie,ae,pe,mn.pos),mn.pos=ae.length,Rt=null):Rt=tr(Bi(fe,mn,pe.state,Qn),Be),Qn){var _n=Qn[0].name;_n&&(Rt="m-"+(Rt?_n+" "+Rt:_n))}if(!qe||Tt!=Rt){for(;otXe;--qe){if(qe<=Be.first)return Be.first;var ot=In(Be,qe-1),Tt=ot.stateAfter;if(Tt&&(!fe||qe+(Tt instanceof Wn?Tt.lookAhead:0)<=Be.modeFrontier))return qe;var mn=it(ot.text,null,ie.options.tabSize);(ye==null||pe>mn)&&(ye=qe-1,pe=mn)}return ye}function Hi(ie,ae){if(ie.modeFrontier=Math.min(ie.modeFrontier,ae),!(ie.highlightFrontierfe;pe--){var ye=In(ie,pe).stateAfter;if(ye&&(!(ye instanceof Wn)||pe+ye.lookAhead=ae:Be.to>ae);(pe||(pe=[])).push(new kr(Xe,Be.from,ot?null:Be.to))}}return pe}function Ji(ie,ae,fe){var pe;if(ie)for(var ye=0;ye=ae:Be.to>ae);if(qe||Be.from==ae&&Xe.type=="bookmark"&&(!fe||Be.marker.insertLeft)){var ot=Be.from==null||(Xe.inclusiveLeft?Be.from<=ae:Be.from0&&qe)for(var $r=0;$r0)){var mn=[ot,1],Rt=yn(Tt.from,qe.from),Qn=yn(Tt.to,qe.to);(Rt<0||!Xe.inclusiveLeft&&!Rt)&&mn.push({from:Tt.from,to:qe.from}),(Qn>0||!Xe.inclusiveRight&&!Qn)&&mn.push({from:qe.to,to:Tt.to}),ye.splice.apply(ye,mn),ot+=mn.length-3}}return ye}function Ii(ie){var ae=ie.markedSpans;if(ae){for(var fe=0;feae)&&(!pe||Yr(pe,Be.marker)<0)&&(pe=Be.marker)}return pe}function Uo(ie,ae,fe,pe,ye){var Be=In(ie,ae),Xe=Gt&&Be.markedSpans;if(Xe)for(var qe=0;qe=0&&Rt<=0||mn<=0&&Rt>=0)&&(mn<=0&&(ot.marker.inclusiveRight&&ye.inclusiveLeft?yn(Tt.to,fe)>=0:yn(Tt.to,fe)>0)||mn>=0&&(ot.marker.inclusiveRight&&ye.inclusiveLeft?yn(Tt.from,pe)<=0:yn(Tt.from,pe)<0)))return!0}}}function ao(ie){for(var ae;ae=Mr(ie);)ie=ae.find(-1,!0).line;return ie}function ra(ie){for(var ae;ae=mr(ie);)ie=ae.find(1,!0).line;return ie}function gr(ie){for(var ae,fe;ae=mr(ie);)ie=ae.find(1,!0).line,(fe||(fe=[])).push(ie);return fe}function Qi(ie,ae){var fe=In(ie,ae),pe=ao(fe);return fe==pe?ae:bt(pe)}function xr(ie,ae){if(ae>ie.lastLine())return ae;var fe=In(ie,ae),pe;if(!fi(ie,fe))return ae;for(;pe=mr(fe);)fe=pe.find(1,!0).line;return bt(fe)+1}function fi(ie,ae){var fe=Gt&&ae.markedSpans;if(fe){for(var pe=void 0,ye=0;yeae.maxLineLength&&(ae.maxLineLength=ye,ae.maxLine=pe)})}var Ra=function(ie,ae,fe){this.text=ie,lt(this,ae),this.height=fe?fe(this):1};Ra.prototype.lineNo=function(){return bt(this)},li(Ra);function ts(ie,ae,fe,pe){ie.text=ae,ie.stateAfter&&(ie.stateAfter=null),ie.styles&&(ie.styles=null),ie.order!=null&&(ie.order=null),Ii(ie),lt(ie,fe);var ye=pe?pe(ie):1;ye!=ie.height&&Rn(ie,ye)}function cs(ie){ie.parent=null,Ii(ie)}var Qa={},ks={};function Ds(ie,ae){if(!ie||/^\s*$/.test(ie))return null;var fe=ae.addModeClass?ks:Qa;return fe[ie]||(fe[ie]=ie.replace(/\S+/g,"cm-$&"))}function jn(ie,ae){var fe=Mt("span",null,null,Ee?"padding-right: .1px":null),pe={pre:Mt("pre",[fe],"CodeMirror-line"),content:fe,col:0,pos:0,cm:ie,trailingSpace:!1,splitSpaces:ie.getOption("lineWrapping")};ae.measure={};for(var ye=0;ye<=(ae.rest?ae.rest.length:0);ye++){var Be=ye?ae.rest[ye-1]:ae.line,Xe=void 0;pe.pos=0,pe.addToken=Ql,Zr(ie.display.measure)&&(Xe=Qe(Be,ie.doc.direction))&&(pe.addToken=Oo(pe.addToken,Xe)),pe.map=[];var qe=ae!=ie.display.externalMeasured&&bt(Be);ds(Be,pe,ir(ie,Be,qe)),Be.styleClasses&&(Be.styleClasses.bgClass&&(pe.bgClass=zt(Be.styleClasses.bgClass,pe.bgClass||"")),Be.styleClasses.textClass&&(pe.textClass=zt(Be.styleClasses.textClass,pe.textClass||""))),pe.map.length==0&&pe.map.push(0,0,pe.content.appendChild(Wr(ie.display.measure))),ye==0?(ae.measure.map=pe.map,ae.measure.cache={}):((ae.measure.maps||(ae.measure.maps=[])).push(pe.map),(ae.measure.caches||(ae.measure.caches=[])).push({}))}if(Ee){var ot=pe.content.lastChild;(/\bcm-tab\b/.test(ot.className)||ot.querySelector&&ot.querySelector(".cm-tab"))&&(pe.content.className="cm-tab-wrap-hack")}return wt(ie,"renderLine",ie,ae.line,pe.pre),pe.pre.className&&(pe.textClass=zt(pe.pre.className,pe.textClass||"")),pe}function gs(ie){var ae=ut("span","\u2022","cm-invalidchar");return ae.title="\\u"+ie.charCodeAt(0).toString(16),ae.setAttribute("aria-label",ae.title),ae}function Ql(ie,ae,fe,pe,ye,Be,Xe){if(ae){var qe=ie.splitSpaces?Kl(ae,ie.trailingSpace):ae,ot=ie.cm.state.specialChars,Tt=!1,mn;if(!ot.test(ae))ie.col+=ae.length,mn=document.createTextNode(qe),ie.map.push(ie.pos,ie.pos+ae.length,mn),De&&Ke<9&&(Tt=!0),ie.pos+=ae.length;else{mn=document.createDocumentFragment();for(var Rt=0;;){ot.lastIndex=Rt;var Qn=ot.exec(ae),_n=Qn?Qn.index-Rt:ae.length-Rt;if(_n){var pi=document.createTextNode(qe.slice(Rt,Rt+_n));De&&Ke<9?mn.appendChild(ut("span",[pi])):mn.appendChild(pi),ie.map.push(ie.pos,ie.pos+_n,pi),ie.col+=_n,ie.pos+=_n}if(!Qn)break;Rt+=_n+1;var Ci=void 0;if(Qn[0]==" "){var ki=ie.cm.options.tabSize,ar=ki-ie.col%ki;Ci=mn.appendChild(ut("span",Kn(ar),"cm-tab")),Ci.setAttribute("role","presentation"),Ci.setAttribute("cm-text"," "),ie.col+=ar}else Qn[0]=="\r"||Qn[0]==` -`?(Ci=mn.appendChild(ut("span",Qn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ci.setAttribute("cm-text",Qn[0]),ie.col+=1):(Ci=ie.cm.options.specialCharPlaceholder(Qn[0]),Ci.setAttribute("cm-text",Qn[0]),De&&Ke<9?mn.appendChild(ut("span",[Ci])):mn.appendChild(Ci),ie.col+=1);ie.map.push(ie.pos,ie.pos+1,Ci),ie.pos++}}if(ie.trailingSpace=qe.charCodeAt(ae.length-1)==32,fe||pe||ye||Tt||Be||Xe){var Nr=fe||"";pe&&(Nr+=pe),ye&&(Nr+=ye);var Er=ut("span",[mn],Nr,Be);if(Xe)for(var $r in Xe)Xe.hasOwnProperty($r)&&$r!="style"&&$r!="class"&&Er.setAttribute($r,Xe[$r]);return ie.content.appendChild(Er)}ie.content.appendChild(mn)}}function Kl(ie,ae){if(ie.length>1&&!/ /.test(ie))return ie;for(var fe=ae,pe="",ye=0;yeTt&&Rt.from<=Tt));Qn++);if(Rt.to>=mn)return ie(fe,pe,ye,Be,Xe,qe,ot);ie(fe,pe.slice(0,Rt.to-Tt),ye,Be,null,qe,ot),Be=null,pe=pe.slice(Rt.to-Tt),Tt=Rt.to}}}function ma(ie,ae,fe,pe){var ye=!pe&&fe.widgetNode;ye&&ie.map.push(ie.pos,ie.pos+ae,ye),!pe&&ie.cm.display.input.needsContentAttribute&&(ye||(ye=ie.content.appendChild(document.createElement("span"))),ye.setAttribute("cm-marker",fe.id)),ye&&(ie.cm.display.input.setUneditable(ye),ie.content.appendChild(ye)),ie.pos+=ae,ie.trailingSpace=!1}function ds(ie,ae,fe){var pe=ie.markedSpans,ye=ie.text,Be=0;if(!pe){for(var Xe=1;Xeot||$o.collapsed&&Cr.to==ot&&Cr.from==ot)){if(Cr.to!=null&&Cr.to!=ot&&_n>Cr.to&&(_n=Cr.to,Ci=""),$o.className&&(pi+=" "+$o.className),$o.css&&(Qn=(Qn?Qn+";":"")+$o.css),$o.startStyle&&Cr.from==ot&&(ki+=" "+$o.startStyle),$o.endStyle&&Cr.to==_n&&($r||($r=[])).push($o.endStyle,Cr.to),$o.title&&((Nr||(Nr={})).title=$o.title),$o.attributes)for(var oi in $o.attributes)(Nr||(Nr={}))[oi]=$o.attributes[oi];$o.collapsed&&(!ar||Yr(ar.marker,$o)<0)&&(ar=Cr)}else Cr.from>ot&&_n>Cr.from&&(_n=Cr.from)}if($r)for(var ls=0;ls<$r.length;ls+=2)$r[ls+1]==_n&&(Ci+=" "+$r[ls]);if(!ar||ar.from==ot)for(var Xa=0;Xa=qe)break;for(var pl=Math.min(qe,_n);;){if(mn){var ml=ot+mn.length;if(!ar){var Va=ml>pl?mn.slice(0,pl-ot):mn;ae.addToken(ae,Va,Rt?Rt+pi:pi,ki,ot+Va.length==_n?Ci:"",Qn,Nr)}if(ml>=pl){mn=mn.slice(pl-ot),ot=pl;break}ot=ml,ki=""}mn=ye.slice(Be,Be=fe[Tt++]),Rt=Ds(fe[Tt++],ae.cm.options)}}}function aa(ie,ae,fe){this.line=ae,this.rest=gr(ae),this.size=this.rest?bt(jt(this.rest))-fe+1:1,this.node=this.text=null,this.hidden=fi(ie,ae)}function Xr(ie,ae,fe){for(var pe=[],ye,Be=ae;Be2&&Be.push((ot.bottom+Tt.top)/2-fe.top)}}Be.push(fe.bottom-fe.top)}}function Pc(ie,ae,fe){if(ie.line==ae)return{map:ie.measure.map,cache:ie.measure.cache};for(var pe=0;pefe)return{map:ie.measure.maps[ye],cache:ie.measure.caches[ye],before:!0}}function md(ie,ae){ae=ao(ae);var fe=bt(ae),pe=ie.display.externalMeasured=new aa(ie.doc,ae,fe);pe.lineN=fe;var ye=pe.built=jn(ie,pe);return pe.text=ye.pre,st(ie.display.lineMeasure,ye.pre),pe}function ed(ie,ae,fe,pe){return Ht(ie,bn(ie,ae),fe,pe)}function Xn(ie,ae){if(ae>=ie.display.viewFrom&&ae=fe.lineN&&aeae)&&(Be=ot-qe,ye=Be-1,ae>=ot&&(Xe="right")),ye!=null){if(pe=ie[Tt+2],qe==ot&&fe==(pe.insertLeft?"left":"right")&&(Xe=fe),fe=="left"&&ye==0)for(;Tt&&ie[Tt-2]==ie[Tt-3]&&ie[Tt-1].insertLeft;)pe=ie[(Tt-=3)+2],Xe="left";if(fe=="right"&&ye==ot-qe)for(;Tt=0&&(fe=ie[ye]).left==fe.right;ye--);return fe}function Vr(ie,ae,fe,pe){var ye=ta(ae.map,fe,pe),Be=ye.node,Xe=ye.start,qe=ye.end,ot=ye.collapse,Tt;if(Be.nodeType==3){for(var mn=0;mn<4;mn++){for(;Xe&&Ot(ae.line.text.charAt(ye.coverStart+Xe));)--Xe;for(;ye.coverStart+qe0&&(ot=pe="right");var Rt;ie.options.lineWrapping&&(Rt=Be.getClientRects()).length>1?Tt=Rt[pe=="right"?Rt.length-1:0]:Tt=Be.getBoundingClientRect()}if(De&&Ke<9&&!Xe&&(!Tt||!Tt.left&&!Tt.right)){var Qn=Be.parentNode.getClientRects()[0];Qn?Tt={left:Qn.left,right:Qn.left+nu(ie.display),top:Qn.top,bottom:Qn.bottom}:Tt=Ao}for(var _n=Tt.top-ae.rect.top,pi=Tt.bottom-ae.rect.top,Ci=(_n+pi)/2,ki=ae.view.measure.heights,ar=0;ar=pe.text.length?(ot=pe.text.length,Tt="before"):ot<=0&&(ot=0,Tt="after"),!qe)return Xe(Tt=="before"?ot-1:ot,Tt=="before");function mn(pi,Ci,ki){var ar=qe[Ci],Nr=ar.level==1;return Xe(ki?pi-1:pi,Nr!=ki)}var Rt=xe(qe,ot,Tt),Qn=Ae,_n=mn(ot,Rt,Tt=="before");return Qn!=null&&(_n.other=mn(ot,Qn,Tt!="before")),_n}function Nl(ie,ae){var fe=0;ae=Bn(ie.doc,ae),ie.options.lineWrapping||(fe=nu(ie.display)*ae.ch);var pe=In(ie.doc,ae.line),ye=ua(pe)+Fl(ie.display);return{left:fe,right:fe,top:ye,bottom:ye+pe.height}}function js(ie,ae,fe,pe,ye){var Be=_t(ie,ae,fe);return Be.xRel=ye,pe&&(Be.outside=pe),Be}function $s(ie,ae,fe){var pe=ie.doc;if(fe+=ie.display.viewOffset,fe<0)return js(pe.first,0,null,-1,-1);var ye=Ut(pe,fe),Be=pe.first+pe.size-1;if(ye>Be)return js(pe.first+pe.size-1,In(pe,Be).text.length,null,1,1);ae<0&&(ae=0);for(var Xe=In(pe,ye);;){var qe=di(ie,Xe,ye,ae,fe),ot=co(Xe,qe.ch+(qe.xRel>0||qe.outside>0?1:0));if(!ot)return qe;var Tt=ot.find(1);if(Tt.line==ye)return Tt;Xe=In(pe,ye=Tt.line)}}function fr(ie,ae,fe,pe){pe-=Ho(ae);var ye=ae.text.length,Be=ct(function(Xe){return Ht(ie,fe,Xe-1).bottom<=pe},ye,0);return ye=ct(function(Xe){return Ht(ie,fe,Xe).top>pe},Be,ye),{begin:Be,end:ye}}function va(ie,ae,fe,pe){fe||(fe=bn(ie,ae));var ye=Bo(ie,ae,Ht(ie,fe,pe),"line").top;return fr(ie,ae,fe,ye)}function Wt(ie,ae,fe,pe){return ie.bottom<=fe?!1:ie.top>fe?!0:(pe?ie.left:ie.right)>ae}function di(ie,ae,fe,pe,ye){ye-=ua(ae);var Be=bn(ie,ae),Xe=Ho(ae),qe=0,ot=ae.text.length,Tt=!0,mn=Qe(ae,ie.doc.direction);if(mn){var Rt=(ie.options.lineWrapping?ps:Ns)(ie,ae,fe,Be,mn,pe,ye);Tt=Rt.level!=1,qe=Tt?Rt.from:Rt.to-1,ot=Tt?Rt.to:Rt.from-1}var Qn=null,_n=null,pi=ct(function(Hn){var Cr=Ht(ie,Be,Hn);return Cr.top+=Xe,Cr.bottom+=Xe,Wt(Cr,pe,ye,!1)?(Cr.top<=ye&&Cr.left<=pe&&(Qn=Hn,_n=Cr),!0):!1},qe,ot),Ci,ki,ar=!1;if(_n){var Nr=pe-_n.left<_n.right-pe,Er=Nr==Tt;pi=Qn+(Er?0:1),ki=Er?"after":"before",Ci=Nr?_n.left:_n.right}else{!Tt&&(pi==ot||pi==qe)&&pi++,ki=pi==0?"after":pi==ae.text.length?"before":Ht(ie,Be,pi-(Tt?1:0)).bottom+Xe<=ye==Tt?"after":"before";var $r=ka(ie,_t(fe,pi,ki),"line",ae,Be);Ci=$r.left,ar=ye<$r.top?-1:ye>=$r.bottom?1:0}return pi=ft(ae.text,pi,1),js(fe,pi,ki,ar,pe-Ci)}function Ns(ie,ae,fe,pe,ye,Be,Xe){var qe=ct(function(Rt){var Qn=ye[Rt],_n=Qn.level!=1;return Wt(ka(ie,_t(fe,_n?Qn.to:Qn.from,_n?"before":"after"),"line",ae,pe),Be,Xe,!0)},0,ye.length-1),ot=ye[qe];if(qe>0){var Tt=ot.level!=1,mn=ka(ie,_t(fe,Tt?ot.from:ot.to,Tt?"after":"before"),"line",ae,pe);Wt(mn,Be,Xe,!0)&&mn.top>Xe&&(ot=ye[qe-1])}return ot}function ps(ie,ae,fe,pe,ye,Be,Xe){var qe=fr(ie,ae,pe,Xe),ot=qe.begin,Tt=qe.end;/\s/.test(ae.text.charAt(Tt-1))&&Tt--;for(var mn=null,Rt=null,Qn=0;Qn=Tt||_n.to<=ot)){var pi=_n.level!=1,Ci=Ht(ie,pe,pi?Math.min(Tt,_n.to)-1:Math.max(ot,_n.from)).right,ki=Ciki)&&(mn=_n,Rt=ki)}}return mn||(mn=ye[ye.length-1]),mn.fromTt&&(mn={from:mn.from,to:Tt,level:mn.level}),mn}var cl;function Os(ie){if(ie.cachedTextHeight!=null)return ie.cachedTextHeight;if(cl==null){cl=ut("pre",null,"CodeMirror-line-like");for(var ae=0;ae<49;++ae)cl.appendChild(document.createTextNode("x")),cl.appendChild(ut("br"));cl.appendChild(document.createTextNode("x"))}st(ie.measure,cl);var fe=cl.offsetHeight/50;return fe>3&&(ie.cachedTextHeight=fe),$e(ie.measure),fe||1}function nu(ie){if(ie.cachedCharWidth!=null)return ie.cachedCharWidth;var ae=ut("span","xxxxxxxxxx"),fe=ut("pre",[ae],"CodeMirror-line-like");st(ie.measure,fe);var pe=ae.getBoundingClientRect(),ye=(pe.right-pe.left)/10;return ye>2&&(ie.cachedCharWidth=ye),ye||10}function hu(ie){for(var ae=ie.display,fe={},pe={},ye=ae.gutters.clientLeft,Be=ae.gutters.firstChild,Xe=0;Be;Be=Be.nextSibling,++Xe){var qe=ie.display.gutterSpecs[Xe].className;fe[qe]=Be.offsetLeft+Be.clientLeft+ye,pe[qe]=Be.clientWidth}return{fixedPos:Vu(ae),gutterTotalWidth:ae.gutters.offsetWidth,gutterLeft:fe,gutterWidth:pe,wrapperWidth:ae.wrapper.clientWidth}}function Vu(ie){return ie.scroller.getBoundingClientRect().left-ie.sizer.getBoundingClientRect().left}function rs(ie){var ae=Os(ie.display),fe=ie.options.lineWrapping,pe=fe&&Math.max(5,ie.display.scroller.clientWidth/nu(ie.display)-3);return function(ye){if(fi(ie.doc,ye))return 0;var Be=0;if(ye.widgets)for(var Xe=0;Xe0&&(Tt=In(ie.doc,ot.line).text).length==ot.ch){var mn=it(Tt,Tt.length,ie.options.tabSize)-Tt.length;ot=_t(ot.line,Math.max(0,Math.round((Be-Ws(ie.display).left)/nu(ie.display))-mn))}return ot}function Gr(ie,ae){if(ae>=ie.display.viewTo||(ae-=ie.display.viewFrom,ae<0))return null;for(var fe=ie.display.view,pe=0;peae)&&(ye.updateLineNumbers=ae),ie.curOp.viewChanged=!0,ae>=ye.viewTo)Gt&&Qi(ie.doc,ae)ye.viewFrom?ol(ie):(ye.viewFrom+=pe,ye.viewTo+=pe);else if(ae<=ye.viewFrom&&fe>=ye.viewTo)ol(ie);else if(ae<=ye.viewFrom){var Be=Zi(ie,fe,fe+pe,1);Be?(ye.view=ye.view.slice(Be.index),ye.viewFrom=Be.lineN,ye.viewTo+=pe):ol(ie)}else if(fe>=ye.viewTo){var Xe=Zi(ie,ae,ae,-1);Xe?(ye.view=ye.view.slice(0,Xe.index),ye.viewTo=Xe.lineN):ol(ie)}else{var qe=Zi(ie,ae,ae,-1),ot=Zi(ie,fe,fe+pe,1);qe&&ot?(ye.view=ye.view.slice(0,qe.index).concat(Xr(ie,qe.lineN,ot.lineN)).concat(ye.view.slice(ot.index)),ye.viewTo+=pe):ol(ie)}var Tt=ye.externalMeasured;Tt&&(fe=ye.lineN&&ae=pe.viewTo)){var Be=pe.view[Gr(ie,ae)];if(Be.node!=null){var Xe=Be.changes||(Be.changes=[]);gt(Xe,fe)==-1&&Xe.push(fe)}}}function ol(ie){ie.display.viewFrom=ie.display.viewTo=ie.doc.first,ie.display.view=[],ie.display.viewOffset=0}function Zi(ie,ae,fe,pe){var ye=Gr(ie,ae),Be,Xe=ie.display.view;if(!Gt||fe==ie.doc.first+ie.doc.size)return{index:ye,lineN:fe};for(var qe=ie.display.viewFrom,ot=0;ot0){if(ye==Xe.length-1)return null;Be=qe+Xe[ye].size-ae,ye++}else Be=qe-ae;ae+=Be,fe+=Be}for(;Qi(ie.doc,fe)!=fe;){if(ye==(pe<0?0:Xe.length-1))return null;fe+=pe*Xe[ye-(pe<0?1:0)].size,ye+=pe}return{index:ye,lineN:fe}}function oo(ie,ae,fe){var pe=ie.display,ye=pe.view;ye.length==0||ae>=pe.viewTo||fe<=pe.viewFrom?(pe.view=Xr(ie,ae,fe),pe.viewFrom=ae):(pe.viewFrom>ae?pe.view=Xr(ie,ae,pe.viewFrom).concat(pe.view):pe.viewFromfe&&(pe.view=pe.view.slice(0,Gr(ie,fe)))),pe.viewTo=fe}function iu(ie){for(var ae=ie.display.view,fe=0,pe=0;pe=ie.display.viewTo||qe.to().line1}var Fo={},Vo={};function Io(ie,ae){arguments.length>2&&(ae.dependencies=Array.prototype.slice.call(arguments,2)),Fo[ie]=ae}function Oi(ie,ae){Vo[ie]=ae}function on(ie){if(typeof ie=="string"&&Vo.hasOwnProperty(ie))ie=Vo[ie];else if(ie&&typeof ie.name=="string"&&Vo.hasOwnProperty(ie.name)){var ae=Vo[ie.name];typeof ae=="string"&&(ae={name:ae}),ie=Sn(ae,ie),ie.name=ae.name}else{if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(ie))return on("application/xml");if(typeof ie=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(ie))return on("application/json")}return typeof ie=="string"?{name:ie}:ie||{name:"null"}}function ln(ie,ae){ae=on(ae);var fe=Fo[ae.name];if(!fe)return ln(ie,"text/plain");var pe=fe(ie,ae);if(qt.hasOwnProperty(ae.name)){var ye=qt[ae.name];for(var Be in ye)ye.hasOwnProperty(Be)&&(pe.hasOwnProperty(Be)&&(pe["_"+Be]=pe[Be]),pe[Be]=ye[Be])}if(pe.name=ae.name,ae.helperType&&(pe.helperType=ae.helperType),ae.modeProps)for(var Xe in ae.modeProps)pe[Xe]=ae.modeProps[Xe];return pe}var qt={};function Nt(ie,ae){var fe=qt.hasOwnProperty(ie)?qt[ie]:qt[ie]={};an(ae,fe)}function On(ie,ae){if(ae===!0)return ae;if(ie.copyState)return ie.copyState(ae);var fe={};for(var pe in ae){var ye=ae[pe];ye instanceof Array&&(ye=ye.concat([])),fe[pe]=ye}return fe}function Un(ie,ae){for(var fe;ie.innerMode&&(fe=ie.innerMode(ae),!(!fe||fe.mode==ie));)ae=fe.state,ie=fe.mode;return fe||{mode:ie,state:ae}}function Vt(ie,ae,fe){return ie.startState?ie.startState(ae,fe):!0}var yt=function(ie,ae,fe){this.pos=this.start=0,this.string=ie,this.tabSize=ae||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=fe};yt.prototype.eol=function(){return this.pos>=this.string.length},yt.prototype.sol=function(){return this.pos==this.lineStart},yt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},yt.prototype.next=function(){if(this.posae},yt.prototype.eatSpace=function(){for(var ie=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>ie},yt.prototype.skipToEnd=function(){this.pos=this.string.length},yt.prototype.skipTo=function(ie){var ae=this.string.indexOf(ie,this.pos);if(ae>-1)return this.pos=ae,!0},yt.prototype.backUp=function(ie){this.pos-=ie},yt.prototype.column=function(){return this.lastColumnPos0?null:(Be&&ae!==!1&&(this.pos+=Be[0].length),Be)}},yt.prototype.current=function(){return this.string.slice(this.start,this.pos)},yt.prototype.hideFirstChars=function(ie,ae){this.lineStart+=ie;try{return ae()}finally{this.lineStart-=ie}},yt.prototype.lookAhead=function(ie){var ae=this.lineOracle;return ae&&ae.lookAhead(ie)},yt.prototype.baseToken=function(){var ie=this.lineOracle;return ie&&ie.baseToken(this.pos)};function In(ie,ae){if(ae-=ie.first,ae<0||ae>=ie.size)throw new Error("There is no line "+(ae+ie.first)+" in the document.");for(var fe=ie;!fe.lines;)for(var pe=0;;++pe){var ye=fe.children[pe],Be=ye.chunkSize();if(ae=ie.first&&aefe?Gt(fe,In(ie,fe).text.length):Vn(ae,In(ie,ae.line).text.length)}function Vn(ie,ae){var fe=ie.ch;return fe==null||fe>ae?Gt(ie.line,ae):fe<0?Gt(ie.line,0):ie}function Jn(ie,ae){for(var fe=[],pe=0;pethis.maxLookAhead&&(this.maxLookAhead=ie),ae},gi.prototype.baseToken=function(ie){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=ie;)this.baseTokenPos+=2;var ae=this.baseTokens[this.baseTokenPos+1];return{type:ae&&ae.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-ie}},gi.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},gi.fromSaved=function(ie,ae,fe){return ae instanceof Wn?new gi(ie,On(ie.mode,ae.state),fe,ae.lookAhead):new gi(ie,On(ie.mode,ae),fe)},gi.prototype.save=function(ie){var ae=ie!==!1?On(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Wn(ae,this.maxLookAhead):ae};function Fi(ie,ae,fe,pe){var ye=[ie.state.modeGen],Be={};br(ie,ae.text,ie.doc.mode,fe,function(Tt,mn){return ye.push(Tt,mn)},Be,pe);for(var Xe=fe.state,qe=function(Tt){fe.baseTokens=ye;var mn=ie.state.overlays[Tt],Rt=1,Qn=0;fe.state=!0,br(ie,ae.text,mn.mode,fe,function(_n,pi){for(var Ci=Rt;Qn<_n;){var ki=ye[Rt];ki>_n&&ye.splice(Rt,1,_n,ye[Rt+1],ki),Rt+=2,Qn=Math.min(_n,ki)}if(pi)if(mn.opaque)ye.splice(Ci,Rt-Ci,_n,"overlay "+pi),Rt=Ci+2;else for(;Ciie.options.maxHighlightLength&&On(ie.doc.mode,pe.state),Be=Fi(ie,ae,pe);ye&&(pe.state=ye),ae.stateAfter=pe.save(!ye),ae.styles=Be.styles,Be.classes?ae.styleClasses=Be.classes:ae.styleClasses&&(ae.styleClasses=null),fe===ie.doc.highlightFrontier&&(ie.doc.modeFrontier=Math.max(ie.doc.modeFrontier,++ie.doc.highlightFrontier))}return ae.styles}function zi(ie,ae,fe){var pe=ie.doc,ye=ie.display;if(!pe.mode.startState)return new gi(pe,!0,ae);var Be=Xi(ie,ae,fe),Xe=Be>pe.first&&In(pe,Be-1).stateAfter,qe=Xe?gi.fromSaved(pe,Xe,Be):new gi(pe,Vt(pe.mode),Be);return pe.iter(Be,ae,function(ot){tn(ie,ot.text,qe);var Tt=qe.line;ot.stateAfter=Tt==ae-1||Tt%5==0||Tt>=ye.viewFrom&&Ttae.start)return Be}throw new Error("Mode "+ie.name+" failed to advance stream.")}var Ti=function(ie,ae,fe){this.start=ie.start,this.end=ie.pos,this.string=ie.current(),this.type=ae||null,this.state=fe};function hr(ie,ae,fe,pe){var ye=ie.doc,Be=ye.mode,Xe;ae=Bn(ye,ae);var qe=In(ye,ae.line),ot=zi(ie,ae.line,fe),Tt=new yt(qe.text,ie.options.tabSize,ot),mn;for(pe&&(mn=[]);(pe||Tt.posie.options.maxHighlightLength?(qe=!1,Xe&&tn(ie,ae,pe,mn.pos),mn.pos=ae.length,Rt=null):Rt=tr(Bi(fe,mn,pe.state,Qn),Be),Qn){var _n=Qn[0].name;_n&&(Rt="m-"+(Rt?_n+" "+Rt:_n))}if(!qe||Tt!=Rt){for(;otXe;--qe){if(qe<=Be.first)return Be.first;var ot=In(Be,qe-1),Tt=ot.stateAfter;if(Tt&&(!fe||qe+(Tt instanceof Wn?Tt.lookAhead:0)<=Be.modeFrontier))return qe;var mn=it(ot.text,null,ie.options.tabSize);(ye==null||pe>mn)&&(ye=qe-1,pe=mn)}return ye}function Hi(ie,ae){if(ie.modeFrontier=Math.min(ie.modeFrontier,ae),!(ie.highlightFrontierfe;pe--){var ye=In(ie,pe).stateAfter;if(ye&&(!(ye instanceof Wn)||pe+ye.lookAhead=ae:Be.to>ae);(pe||(pe=[])).push(new kr(Xe,Be.from,ot?null:Be.to))}}return pe}function Ji(ie,ae,fe){var pe;if(ie)for(var ye=0;ye=ae:Be.to>ae);if(qe||Be.from==ae&&Xe.type=="bookmark"&&(!fe||Be.marker.insertLeft)){var ot=Be.from==null||(Xe.inclusiveLeft?Be.from<=ae:Be.from0&&qe)for(var $r=0;$r0)){var mn=[ot,1],Rt=yn(Tt.from,qe.from),Qn=yn(Tt.to,qe.to);(Rt<0||!Xe.inclusiveLeft&&!Rt)&&mn.push({from:Tt.from,to:qe.from}),(Qn>0||!Xe.inclusiveRight&&!Qn)&&mn.push({from:qe.to,to:Tt.to}),ye.splice.apply(ye,mn),ot+=mn.length-3}}return ye}function Ii(ie){var ae=ie.markedSpans;if(ae){for(var fe=0;feae)&&(!pe||Yr(pe,Be.marker)<0)&&(pe=Be.marker)}return pe}function Uo(ie,ae,fe,pe,ye){var Be=In(ie,ae),Xe=Ht&&Be.markedSpans;if(Xe)for(var qe=0;qe=0&&Rt<=0||mn<=0&&Rt>=0)&&(mn<=0&&(ot.marker.inclusiveRight&&ye.inclusiveLeft?yn(Tt.to,fe)>=0:yn(Tt.to,fe)>0)||mn>=0&&(ot.marker.inclusiveRight&&ye.inclusiveLeft?yn(Tt.from,pe)<=0:yn(Tt.from,pe)<0)))return!0}}}function ao(ie){for(var ae;ae=Mr(ie);)ie=ae.find(-1,!0).line;return ie}function ra(ie){for(var ae;ae=mr(ie);)ie=ae.find(1,!0).line;return ie}function gr(ie){for(var ae,fe;ae=mr(ie);)ie=ae.find(1,!0).line,(fe||(fe=[])).push(ie);return fe}function Qi(ie,ae){var fe=In(ie,ae),pe=ao(fe);return fe==pe?ae:bt(pe)}function xr(ie,ae){if(ae>ie.lastLine())return ae;var fe=In(ie,ae),pe;if(!fi(ie,fe))return ae;for(;pe=mr(fe);)fe=pe.find(1,!0).line;return bt(fe)+1}function fi(ie,ae){var fe=Ht&&ae.markedSpans;if(fe){for(var pe=void 0,ye=0;yeae.maxLineLength&&(ae.maxLineLength=ye,ae.maxLine=pe)})}var Ra=function(ie,ae,fe){this.text=ie,lt(this,ae),this.height=fe?fe(this):1};Ra.prototype.lineNo=function(){return bt(this)},li(Ra);function ts(ie,ae,fe,pe){ie.text=ae,ie.stateAfter&&(ie.stateAfter=null),ie.styles&&(ie.styles=null),ie.order!=null&&(ie.order=null),Ii(ie),lt(ie,fe);var ye=pe?pe(ie):1;ye!=ie.height&&Rn(ie,ye)}function ds(ie){ie.parent=null,Ii(ie)}var Qa={},ks={};function Ds(ie,ae){if(!ie||/^\s*$/.test(ie))return null;var fe=ae.addModeClass?ks:Qa;return fe[ie]||(fe[ie]=ie.replace(/\S+/g,"cm-$&"))}function jn(ie,ae){var fe=Mt("span",null,null,Ee?"padding-right: .1px":null),pe={pre:Mt("pre",[fe],"CodeMirror-line"),content:fe,col:0,pos:0,cm:ie,trailingSpace:!1,splitSpaces:ie.getOption("lineWrapping")};ae.measure={};for(var ye=0;ye<=(ae.rest?ae.rest.length:0);ye++){var Be=ye?ae.rest[ye-1]:ae.line,Xe=void 0;pe.pos=0,pe.addToken=Ql,Zr(ie.display.measure)&&(Xe=Qe(Be,ie.doc.direction))&&(pe.addToken=Oo(pe.addToken,Xe)),pe.map=[];var qe=ae!=ie.display.externalMeasured&&bt(Be);hs(Be,pe,ir(ie,Be,qe)),Be.styleClasses&&(Be.styleClasses.bgClass&&(pe.bgClass=zt(Be.styleClasses.bgClass,pe.bgClass||"")),Be.styleClasses.textClass&&(pe.textClass=zt(Be.styleClasses.textClass,pe.textClass||""))),pe.map.length==0&&pe.map.push(0,0,pe.content.appendChild(Wr(ie.display.measure))),ye==0?(ae.measure.map=pe.map,ae.measure.cache={}):((ae.measure.maps||(ae.measure.maps=[])).push(pe.map),(ae.measure.caches||(ae.measure.caches=[])).push({}))}if(Ee){var ot=pe.content.lastChild;(/\bcm-tab\b/.test(ot.className)||ot.querySelector&&ot.querySelector(".cm-tab"))&&(pe.content.className="cm-tab-wrap-hack")}return wt(ie,"renderLine",ie,ae.line,pe.pre),pe.pre.className&&(pe.textClass=zt(pe.pre.className,pe.textClass||"")),pe}function gs(ie){var ae=ut("span","\u2022","cm-invalidchar");return ae.title="\\u"+ie.charCodeAt(0).toString(16),ae.setAttribute("aria-label",ae.title),ae}function Ql(ie,ae,fe,pe,ye,Be,Xe){if(ae){var qe=ie.splitSpaces?Kl(ae,ie.trailingSpace):ae,ot=ie.cm.state.specialChars,Tt=!1,mn;if(!ot.test(ae))ie.col+=ae.length,mn=document.createTextNode(qe),ie.map.push(ie.pos,ie.pos+ae.length,mn),De&&Ke<9&&(Tt=!0),ie.pos+=ae.length;else{mn=document.createDocumentFragment();for(var Rt=0;;){ot.lastIndex=Rt;var Qn=ot.exec(ae),_n=Qn?Qn.index-Rt:ae.length-Rt;if(_n){var pi=document.createTextNode(qe.slice(Rt,Rt+_n));De&&Ke<9?mn.appendChild(ut("span",[pi])):mn.appendChild(pi),ie.map.push(ie.pos,ie.pos+_n,pi),ie.col+=_n,ie.pos+=_n}if(!Qn)break;Rt+=_n+1;var Ci=void 0;if(Qn[0]==" "){var ki=ie.cm.options.tabSize,ar=ki-ie.col%ki;Ci=mn.appendChild(ut("span",Kn(ar),"cm-tab")),Ci.setAttribute("role","presentation"),Ci.setAttribute("cm-text"," "),ie.col+=ar}else Qn[0]=="\r"||Qn[0]==` +`?(Ci=mn.appendChild(ut("span",Qn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ci.setAttribute("cm-text",Qn[0]),ie.col+=1):(Ci=ie.cm.options.specialCharPlaceholder(Qn[0]),Ci.setAttribute("cm-text",Qn[0]),De&&Ke<9?mn.appendChild(ut("span",[Ci])):mn.appendChild(Ci),ie.col+=1);ie.map.push(ie.pos,ie.pos+1,Ci),ie.pos++}}if(ie.trailingSpace=qe.charCodeAt(ae.length-1)==32,fe||pe||ye||Tt||Be||Xe){var Nr=fe||"";pe&&(Nr+=pe),ye&&(Nr+=ye);var Er=ut("span",[mn],Nr,Be);if(Xe)for(var $r in Xe)Xe.hasOwnProperty($r)&&$r!="style"&&$r!="class"&&Er.setAttribute($r,Xe[$r]);return ie.content.appendChild(Er)}ie.content.appendChild(mn)}}function Kl(ie,ae){if(ie.length>1&&!/ /.test(ie))return ie;for(var fe=ae,pe="",ye=0;yeTt&&Rt.from<=Tt));Qn++);if(Rt.to>=mn)return ie(fe,pe,ye,Be,Xe,qe,ot);ie(fe,pe.slice(0,Rt.to-Tt),ye,Be,null,qe,ot),Be=null,pe=pe.slice(Rt.to-Tt),Tt=Rt.to}}}function ma(ie,ae,fe,pe){var ye=!pe&&fe.widgetNode;ye&&ie.map.push(ie.pos,ie.pos+ae,ye),!pe&&ie.cm.display.input.needsContentAttribute&&(ye||(ye=ie.content.appendChild(document.createElement("span"))),ye.setAttribute("cm-marker",fe.id)),ye&&(ie.cm.display.input.setUneditable(ye),ie.content.appendChild(ye)),ie.pos+=ae,ie.trailingSpace=!1}function hs(ie,ae,fe){var pe=ie.markedSpans,ye=ie.text,Be=0;if(!pe){for(var Xe=1;Xeot||$o.collapsed&&Cr.to==ot&&Cr.from==ot)){if(Cr.to!=null&&Cr.to!=ot&&_n>Cr.to&&(_n=Cr.to,Ci=""),$o.className&&(pi+=" "+$o.className),$o.css&&(Qn=(Qn?Qn+";":"")+$o.css),$o.startStyle&&Cr.from==ot&&(ki+=" "+$o.startStyle),$o.endStyle&&Cr.to==_n&&($r||($r=[])).push($o.endStyle,Cr.to),$o.title&&((Nr||(Nr={})).title=$o.title),$o.attributes)for(var oi in $o.attributes)(Nr||(Nr={}))[oi]=$o.attributes[oi];$o.collapsed&&(!ar||Yr(ar.marker,$o)<0)&&(ar=Cr)}else Cr.from>ot&&_n>Cr.from&&(_n=Cr.from)}if($r)for(var us=0;us<$r.length;us+=2)$r[us+1]==_n&&(Ci+=" "+$r[us]);if(!ar||ar.from==ot)for(var Xa=0;Xa=qe)break;for(var pl=Math.min(qe,_n);;){if(mn){var ml=ot+mn.length;if(!ar){var Va=ml>pl?mn.slice(0,pl-ot):mn;ae.addToken(ae,Va,Rt?Rt+pi:pi,ki,ot+Va.length==_n?Ci:"",Qn,Nr)}if(ml>=pl){mn=mn.slice(pl-ot),ot=pl;break}ot=ml,ki=""}mn=ye.slice(Be,Be=fe[Tt++]),Rt=Ds(fe[Tt++],ae.cm.options)}}}function aa(ie,ae,fe){this.line=ae,this.rest=gr(ae),this.size=this.rest?bt(jt(this.rest))-fe+1:1,this.node=this.text=null,this.hidden=fi(ie,ae)}function Xr(ie,ae,fe){for(var pe=[],ye,Be=ae;Be2&&Be.push((ot.bottom+Tt.top)/2-fe.top)}}Be.push(fe.bottom-fe.top)}}function Pc(ie,ae,fe){if(ie.line==ae)return{map:ie.measure.map,cache:ie.measure.cache};for(var pe=0;pefe)return{map:ie.measure.maps[ye],cache:ie.measure.caches[ye],before:!0}}function md(ie,ae){ae=ao(ae);var fe=bt(ae),pe=ie.display.externalMeasured=new aa(ie.doc,ae,fe);pe.lineN=fe;var ye=pe.built=jn(ie,pe);return pe.text=ye.pre,st(ie.display.lineMeasure,ye.pre),pe}function ed(ie,ae,fe,pe){return _t(ie,bn(ie,ae),fe,pe)}function Xn(ie,ae){if(ae>=ie.display.viewFrom&&ae=fe.lineN&&aeae)&&(Be=ot-qe,ye=Be-1,ae>=ot&&(Xe="right")),ye!=null){if(pe=ie[Tt+2],qe==ot&&fe==(pe.insertLeft?"left":"right")&&(Xe=fe),fe=="left"&&ye==0)for(;Tt&&ie[Tt-2]==ie[Tt-3]&&ie[Tt-1].insertLeft;)pe=ie[(Tt-=3)+2],Xe="left";if(fe=="right"&&ye==ot-qe)for(;Tt=0&&(fe=ie[ye]).left==fe.right;ye--);return fe}function Vr(ie,ae,fe,pe){var ye=ta(ae.map,fe,pe),Be=ye.node,Xe=ye.start,qe=ye.end,ot=ye.collapse,Tt;if(Be.nodeType==3){for(var mn=0;mn<4;mn++){for(;Xe&&Ot(ae.line.text.charAt(ye.coverStart+Xe));)--Xe;for(;ye.coverStart+qe0&&(ot=pe="right");var Rt;ie.options.lineWrapping&&(Rt=Be.getClientRects()).length>1?Tt=Rt[pe=="right"?Rt.length-1:0]:Tt=Be.getBoundingClientRect()}if(De&&Ke<9&&!Xe&&(!Tt||!Tt.left&&!Tt.right)){var Qn=Be.parentNode.getClientRects()[0];Qn?Tt={left:Qn.left,right:Qn.left+nu(ie.display),top:Qn.top,bottom:Qn.bottom}:Tt=Ao}for(var _n=Tt.top-ae.rect.top,pi=Tt.bottom-ae.rect.top,Ci=(_n+pi)/2,ki=ae.view.measure.heights,ar=0;ar=pe.text.length?(ot=pe.text.length,Tt="before"):ot<=0&&(ot=0,Tt="after"),!qe)return Xe(Tt=="before"?ot-1:ot,Tt=="before");function mn(pi,Ci,ki){var ar=qe[Ci],Nr=ar.level==1;return Xe(ki?pi-1:pi,Nr!=ki)}var Rt=xe(qe,ot,Tt),Qn=Ae,_n=mn(ot,Rt,Tt=="before");return Qn!=null&&(_n.other=mn(ot,Qn,Tt!="before")),_n}function Nl(ie,ae){var fe=0;ae=Bn(ie.doc,ae),ie.options.lineWrapping||(fe=nu(ie.display)*ae.ch);var pe=In(ie.doc,ae.line),ye=ua(pe)+Fl(ie.display);return{left:fe,right:fe,top:ye,bottom:ye+pe.height}}function js(ie,ae,fe,pe,ye){var Be=Gt(ie,ae,fe);return Be.xRel=ye,pe&&(Be.outside=pe),Be}function $s(ie,ae,fe){var pe=ie.doc;if(fe+=ie.display.viewOffset,fe<0)return js(pe.first,0,null,-1,-1);var ye=Ut(pe,fe),Be=pe.first+pe.size-1;if(ye>Be)return js(pe.first+pe.size-1,In(pe,Be).text.length,null,1,1);ae<0&&(ae=0);for(var Xe=In(pe,ye);;){var qe=di(ie,Xe,ye,ae,fe),ot=co(Xe,qe.ch+(qe.xRel>0||qe.outside>0?1:0));if(!ot)return qe;var Tt=ot.find(1);if(Tt.line==ye)return Tt;Xe=In(pe,ye=Tt.line)}}function fr(ie,ae,fe,pe){pe-=Ho(ae);var ye=ae.text.length,Be=ct(function(Xe){return _t(ie,fe,Xe-1).bottom<=pe},ye,0);return ye=ct(function(Xe){return _t(ie,fe,Xe).top>pe},Be,ye),{begin:Be,end:ye}}function va(ie,ae,fe,pe){fe||(fe=bn(ie,ae));var ye=Bo(ie,ae,_t(ie,fe,pe),"line").top;return fr(ie,ae,fe,ye)}function Wt(ie,ae,fe,pe){return ie.bottom<=fe?!1:ie.top>fe?!0:(pe?ie.left:ie.right)>ae}function di(ie,ae,fe,pe,ye){ye-=ua(ae);var Be=bn(ie,ae),Xe=Ho(ae),qe=0,ot=ae.text.length,Tt=!0,mn=Qe(ae,ie.doc.direction);if(mn){var Rt=(ie.options.lineWrapping?ps:Ns)(ie,ae,fe,Be,mn,pe,ye);Tt=Rt.level!=1,qe=Tt?Rt.from:Rt.to-1,ot=Tt?Rt.to:Rt.from-1}var Qn=null,_n=null,pi=ct(function(Hn){var Cr=_t(ie,Be,Hn);return Cr.top+=Xe,Cr.bottom+=Xe,Wt(Cr,pe,ye,!1)?(Cr.top<=ye&&Cr.left<=pe&&(Qn=Hn,_n=Cr),!0):!1},qe,ot),Ci,ki,ar=!1;if(_n){var Nr=pe-_n.left<_n.right-pe,Er=Nr==Tt;pi=Qn+(Er?0:1),ki=Er?"after":"before",Ci=Nr?_n.left:_n.right}else{!Tt&&(pi==ot||pi==qe)&&pi++,ki=pi==0?"after":pi==ae.text.length?"before":_t(ie,Be,pi-(Tt?1:0)).bottom+Xe<=ye==Tt?"after":"before";var $r=ka(ie,Gt(fe,pi,ki),"line",ae,Be);Ci=$r.left,ar=ye<$r.top?-1:ye>=$r.bottom?1:0}return pi=ft(ae.text,pi,1),js(fe,pi,ki,ar,pe-Ci)}function Ns(ie,ae,fe,pe,ye,Be,Xe){var qe=ct(function(Rt){var Qn=ye[Rt],_n=Qn.level!=1;return Wt(ka(ie,Gt(fe,_n?Qn.to:Qn.from,_n?"before":"after"),"line",ae,pe),Be,Xe,!0)},0,ye.length-1),ot=ye[qe];if(qe>0){var Tt=ot.level!=1,mn=ka(ie,Gt(fe,Tt?ot.from:ot.to,Tt?"after":"before"),"line",ae,pe);Wt(mn,Be,Xe,!0)&&mn.top>Xe&&(ot=ye[qe-1])}return ot}function ps(ie,ae,fe,pe,ye,Be,Xe){var qe=fr(ie,ae,pe,Xe),ot=qe.begin,Tt=qe.end;/\s/.test(ae.text.charAt(Tt-1))&&Tt--;for(var mn=null,Rt=null,Qn=0;Qn=Tt||_n.to<=ot)){var pi=_n.level!=1,Ci=_t(ie,pe,pi?Math.min(Tt,_n.to)-1:Math.max(ot,_n.from)).right,ki=Ciki)&&(mn=_n,Rt=ki)}}return mn||(mn=ye[ye.length-1]),mn.fromTt&&(mn={from:mn.from,to:Tt,level:mn.level}),mn}var cl;function Os(ie){if(ie.cachedTextHeight!=null)return ie.cachedTextHeight;if(cl==null){cl=ut("pre",null,"CodeMirror-line-like");for(var ae=0;ae<49;++ae)cl.appendChild(document.createTextNode("x")),cl.appendChild(ut("br"));cl.appendChild(document.createTextNode("x"))}st(ie.measure,cl);var fe=cl.offsetHeight/50;return fe>3&&(ie.cachedTextHeight=fe),$e(ie.measure),fe||1}function nu(ie){if(ie.cachedCharWidth!=null)return ie.cachedCharWidth;var ae=ut("span","xxxxxxxxxx"),fe=ut("pre",[ae],"CodeMirror-line-like");st(ie.measure,fe);var pe=ae.getBoundingClientRect(),ye=(pe.right-pe.left)/10;return ye>2&&(ie.cachedCharWidth=ye),ye||10}function hu(ie){for(var ae=ie.display,fe={},pe={},ye=ae.gutters.clientLeft,Be=ae.gutters.firstChild,Xe=0;Be;Be=Be.nextSibling,++Xe){var qe=ie.display.gutterSpecs[Xe].className;fe[qe]=Be.offsetLeft+Be.clientLeft+ye,pe[qe]=Be.clientWidth}return{fixedPos:Vu(ae),gutterTotalWidth:ae.gutters.offsetWidth,gutterLeft:fe,gutterWidth:pe,wrapperWidth:ae.wrapper.clientWidth}}function Vu(ie){return ie.scroller.getBoundingClientRect().left-ie.sizer.getBoundingClientRect().left}function rs(ie){var ae=Os(ie.display),fe=ie.options.lineWrapping,pe=fe&&Math.max(5,ie.display.scroller.clientWidth/nu(ie.display)-3);return function(ye){if(fi(ie.doc,ye))return 0;var Be=0;if(ye.widgets)for(var Xe=0;Xe0&&(Tt=In(ie.doc,ot.line).text).length==ot.ch){var mn=it(Tt,Tt.length,ie.options.tabSize)-Tt.length;ot=Gt(ot.line,Math.max(0,Math.round((Be-Ws(ie.display).left)/nu(ie.display))-mn))}return ot}function Fr(ie,ae){if(ae>=ie.display.viewTo||(ae-=ie.display.viewFrom,ae<0))return null;for(var fe=ie.display.view,pe=0;peae)&&(ye.updateLineNumbers=ae),ie.curOp.viewChanged=!0,ae>=ye.viewTo)Ht&&Qi(ie.doc,ae)ye.viewFrom?ol(ie):(ye.viewFrom+=pe,ye.viewTo+=pe);else if(ae<=ye.viewFrom&&fe>=ye.viewTo)ol(ie);else if(ae<=ye.viewFrom){var Be=Zi(ie,fe,fe+pe,1);Be?(ye.view=ye.view.slice(Be.index),ye.viewFrom=Be.lineN,ye.viewTo+=pe):ol(ie)}else if(fe>=ye.viewTo){var Xe=Zi(ie,ae,ae,-1);Xe?(ye.view=ye.view.slice(0,Xe.index),ye.viewTo=Xe.lineN):ol(ie)}else{var qe=Zi(ie,ae,ae,-1),ot=Zi(ie,fe,fe+pe,1);qe&&ot?(ye.view=ye.view.slice(0,qe.index).concat(Xr(ie,qe.lineN,ot.lineN)).concat(ye.view.slice(ot.index)),ye.viewTo+=pe):ol(ie)}var Tt=ye.externalMeasured;Tt&&(fe=ye.lineN&&ae=pe.viewTo)){var Be=pe.view[Fr(ie,ae)];if(Be.node!=null){var Xe=Be.changes||(Be.changes=[]);gt(Xe,fe)==-1&&Xe.push(fe)}}}function ol(ie){ie.display.viewFrom=ie.display.viewTo=ie.doc.first,ie.display.view=[],ie.display.viewOffset=0}function Zi(ie,ae,fe,pe){var ye=Fr(ie,ae),Be,Xe=ie.display.view;if(!Ht||fe==ie.doc.first+ie.doc.size)return{index:ye,lineN:fe};for(var qe=ie.display.viewFrom,ot=0;ot0){if(ye==Xe.length-1)return null;Be=qe+Xe[ye].size-ae,ye++}else Be=qe-ae;ae+=Be,fe+=Be}for(;Qi(ie.doc,fe)!=fe;){if(ye==(pe<0?0:Xe.length-1))return null;fe+=pe*Xe[ye-(pe<0?1:0)].size,ye+=pe}return{index:ye,lineN:fe}}function oo(ie,ae,fe){var pe=ie.display,ye=pe.view;ye.length==0||ae>=pe.viewTo||fe<=pe.viewFrom?(pe.view=Xr(ie,ae,fe),pe.viewFrom=ae):(pe.viewFrom>ae?pe.view=Xr(ie,ae,pe.viewFrom).concat(pe.view):pe.viewFromfe&&(pe.view=pe.view.slice(0,Fr(ie,fe)))),pe.viewTo=fe}function iu(ie){for(var ae=ie.display.view,fe=0,pe=0;pe=ie.display.viewTo||qe.to().line0?ae.blinker=setInterval(function(){ie.hasFocus()||Ku(ie),ae.cursorDiv.style.visibility=(fe=!fe)?"":"hidden"},ie.options.cursorBlinkRate):ie.options.cursorBlinkRate<0&&(ae.cursorDiv.style.visibility="hidden")}}function ms(ie){ie.state.focused||(ie.display.input.focus(),ya(ie))}function hs(ie){ie.state.delayingBlurEvent=!0,setTimeout(function(){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1,Ku(ie))},100)}function ya(ie,ae){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1),ie.options.readOnly!="nocursor"&&(ie.state.focused||(wt(ie,"focus",ie,ae),ie.state.focused=!0,dn(ie.display.wrapper,"CodeMirror-focused"),!ie.curOp&&ie.display.selForContextMenu!=ie.doc.sel&&(ie.display.input.reset(),Ee&&setTimeout(function(){return ie.display.input.reset(!0)},20)),ie.display.input.receivedFocus()),Ka(ie))}function Ku(ie,ae){ie.state.delayingBlurEvent||(ie.state.focused&&(wt(ie,"blur",ie,ae),ie.state.focused=!1,We(ie.display.wrapper,"CodeMirror-focused")),clearInterval(ie.display.blinker),setTimeout(function(){ie.state.focused||(ie.display.shift=!1)},150))}function xo(ie){for(var ae=ie.display,fe=ae.lineDiv.offsetTop,pe=0;pe.005||mn<-.005)&&(Rn(ye.line,Xe),Gc(ye.line),ye.rest))for(var Rt=0;Rtie.display.sizerWidth){var Qn=Math.ceil(qe/nu(ie.display));Qn>ie.display.maxLineLength&&(ie.display.maxLineLength=Qn,ie.display.maxLine=ye.line,ie.display.maxLineChanged=!0)}}}}function Gc(ie){if(ie.widgets)for(var ae=0;ae=Xe&&(Be=Ut(ae,ua(In(ae,ot))-ie.wrapper.clientHeight),Xe=ot)}return{from:Be,to:Math.max(Xe,Be+1)}}function ah(ie,ae){if(!nn(ie,"scrollCursorIntoView")){var fe=ie.display,pe=fe.sizer.getBoundingClientRect(),ye=null;if(ae.top+pe.top<0?ye=!0:ae.bottom+pe.top>(window.innerHeight||document.documentElement.clientHeight)&&(ye=!1),ye!=null&&!kt){var Be=ut("div","\u200B",null,`position: absolute; + height: `+(Cr-$r)+"px"))}function Rt(Er,$r,Hn){var Cr=In(ye,Er),$o=Cr.text.length,oi,us;function Xa(Va,ll){return Bs(ie,Gt(Er,Va),"div",Cr,ll)}function pl(Va,ll,Xs){var ha=va(ie,Cr,null,Va),Ca=ll=="ltr"==(Xs=="after")?"left":"right",Ts=Xs=="after"?ha.begin:ha.end-(/\s/.test(Cr.text.charAt(ha.end-1))?2:1);return Xa(Ts,Ca)[Ca]}var ml=Qe(Cr,ye.direction);return Ge(ml,$r||0,Hn==null?$o:Hn,function(Va,ll,Xs,ha){var Ca=Xs=="ltr",Ts=Xa(Va,Ca?"left":"right"),el=Xa(ll-1,Ca?"right":"left"),Ps=$r==null&&Va==0,Tl=Hn==null&&ll==$o,ba=ha==0,Fu=!ml||ha==ml.length-1;if(el.top-Ts.top<=3){var fs=(Tt?Ps:Tl)&&ba,Su=(Tt?Tl:Ps)&&Fu,su=fs?qe:(Ca?Ts:el).left,Bu=Su?ot:(Ca?el:Ts).right;mn(su,Ts.top,Bu-su,Ts.bottom)}else{var xu,cs,Il,sr;Ca?(xu=Tt&&Ps&&ba?qe:Ts.left,cs=Tt?ot:pl(Va,Xs,"before"),Il=Tt?qe:pl(ll,Xs,"after"),sr=Tt&&Tl&&Fu?ot:el.right):(xu=Tt?pl(Va,Xs,"before"):qe,cs=!Tt&&Ps&&ba?ot:Ts.right,Il=!Tt&&Tl&&Fu?qe:el.left,sr=Tt?pl(ll,Xs,"after"):ot),mn(xu,Ts.top,cs-xu,Ts.bottom),Ts.bottom0?ae.blinker=setInterval(function(){ie.hasFocus()||Ku(ie),ae.cursorDiv.style.visibility=(fe=!fe)?"":"hidden"},ie.options.cursorBlinkRate):ie.options.cursorBlinkRate<0&&(ae.cursorDiv.style.visibility="hidden")}}function ms(ie){ie.state.focused||(ie.display.input.focus(),ya(ie))}function os(ie){ie.state.delayingBlurEvent=!0,setTimeout(function(){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1,Ku(ie))},100)}function ya(ie,ae){ie.state.delayingBlurEvent&&(ie.state.delayingBlurEvent=!1),ie.options.readOnly!="nocursor"&&(ie.state.focused||(wt(ie,"focus",ie,ae),ie.state.focused=!0,dn(ie.display.wrapper,"CodeMirror-focused"),!ie.curOp&&ie.display.selForContextMenu!=ie.doc.sel&&(ie.display.input.reset(),Ee&&setTimeout(function(){return ie.display.input.reset(!0)},20)),ie.display.input.receivedFocus()),Ka(ie))}function Ku(ie,ae){ie.state.delayingBlurEvent||(ie.state.focused&&(wt(ie,"blur",ie,ae),ie.state.focused=!1,We(ie.display.wrapper,"CodeMirror-focused")),clearInterval(ie.display.blinker),setTimeout(function(){ie.state.focused||(ie.display.shift=!1)},150))}function xo(ie){for(var ae=ie.display,fe=ae.lineDiv.offsetTop,pe=0;pe.005||mn<-.005)&&(Rn(ye.line,Xe),Gc(ye.line),ye.rest))for(var Rt=0;Rtie.display.sizerWidth){var Qn=Math.ceil(qe/nu(ie.display));Qn>ie.display.maxLineLength&&(ie.display.maxLineLength=Qn,ie.display.maxLine=ye.line,ie.display.maxLineChanged=!0)}}}}function Gc(ie){if(ie.widgets)for(var ae=0;ae=Xe&&(Be=Ut(ae,ua(In(ae,ot))-ie.wrapper.clientHeight),Xe=ot)}return{from:Be,to:Math.max(Xe,Be+1)}}function ah(ie,ae){if(!nn(ie,"scrollCursorIntoView")){var fe=ie.display,pe=fe.sizer.getBoundingClientRect(),ye=null;if(ae.top+pe.top<0?ye=!0:ae.bottom+pe.top>(window.innerHeight||document.documentElement.clientHeight)&&(ye=!1),ye!=null&&!kt){var Be=ut("div","\u200B",null,`position: absolute; top: `+(ae.top-fe.viewOffset-Fl(ie.display))+`px; height: `+(ae.bottom-ae.top+Zs(ie)+fe.barHeight)+`px; - left: `+ae.left+"px; width: "+Math.max(2,ae.right-ae.left)+"px;");ie.display.lineSpace.appendChild(Be),Be.scrollIntoView(ye),ie.display.lineSpace.removeChild(Be)}}}function ru(ie,ae,fe,pe){pe==null&&(pe=0);var ye;!ie.options.lineWrapping&&ae==fe&&(ae=ae.ch?_t(ae.line,ae.sticky=="before"?ae.ch-1:ae.ch,"after"):ae,fe=ae.sticky=="before"?_t(ae.line,ae.ch+1,"before"):ae);for(var Be=0;Be<5;Be++){var Xe=!1,qe=ka(ie,ae),ot=!fe||fe==ae?qe:ka(ie,fe);ye={left:Math.min(qe.left,ot.left),top:Math.min(qe.top,ot.top)-pe,right:Math.max(qe.left,ot.left),bottom:Math.max(qe.bottom,ot.bottom)+pe};var Tt=Td(ie,ye),mn=ie.doc.scrollTop,Rt=ie.doc.scrollLeft;if(Tt.scrollTop!=null&&(Ac(ie,Tt.scrollTop),Math.abs(ie.doc.scrollTop-mn)>1&&(Xe=!0)),Tt.scrollLeft!=null&&($u(ie,Tt.scrollLeft),Math.abs(ie.doc.scrollLeft-Rt)>1&&(Xe=!0)),!Xe)break}return ye}function jl(ie,ae){var fe=Td(ie,ae);fe.scrollTop!=null&&Ac(ie,fe.scrollTop),fe.scrollLeft!=null&&$u(ie,fe.scrollLeft)}function Td(ie,ae){var fe=ie.display,pe=Os(ie.display);ae.top<0&&(ae.top=0);var ye=ie.curOp&&ie.curOp.scrollTop!=null?ie.curOp.scrollTop:fe.scroller.scrollTop,Be=Jc(ie),Xe={};ae.bottom-ae.top>Be&&(ae.bottom=ae.top+Be);var qe=ie.doc.height+Zu(fe),ot=ae.topqe-pe;if(ae.topye+Be){var mn=Math.min(ae.top,(Tt?qe:ae.bottom)-Be);mn!=ye&&(Xe.scrollTop=mn)}var Rt=ie.options.fixedGutter?0:fe.gutters.offsetWidth,Qn=ie.curOp&&ie.curOp.scrollLeft!=null?ie.curOp.scrollLeft:fe.scroller.scrollLeft-Rt,_n=Al(ie)-fe.gutters.offsetWidth,pi=ae.right-ae.left>_n;return pi&&(ae.right=ae.left+_n),ae.left<10?Xe.scrollLeft=0:ae.left_n+Qn-3&&(Xe.scrollLeft=ae.right+(pi?0:10)-_n),Xe}function zl(ie,ae){ae!=null&&(kl(ie),ie.curOp.scrollTop=(ie.curOp.scrollTop==null?ie.doc.scrollTop:ie.curOp.scrollTop)+ae)}function Ea(ie){kl(ie);var ae=ie.getCursor();ie.curOp.scrollToPos={from:ae,to:ae,margin:ie.options.cursorScrollMargin}}function zs(ie,ae,fe){(ae!=null||fe!=null)&&kl(ie),ae!=null&&(ie.curOp.scrollLeft=ae),fe!=null&&(ie.curOp.scrollTop=fe)}function da(ie,ae){kl(ie),ie.curOp.scrollToPos=ae}function kl(ie){var ae=ie.curOp.scrollToPos;if(ae){ie.curOp.scrollToPos=null;var fe=Nl(ie,ae.from),pe=Nl(ie,ae.to);Yu(ie,fe,pe,ae.margin)}}function Yu(ie,ae,fe,pe){var ye=Td(ie,{left:Math.min(ae.left,fe.left),top:Math.min(ae.top,fe.top)-pe,right:Math.max(ae.right,fe.right),bottom:Math.max(ae.bottom,fe.bottom)+pe});zs(ie,ye.scrollLeft,ye.scrollTop)}function Ac(ie,ae){Math.abs(ie.doc.scrollTop-ae)<2||(se||Pr(ie,{top:ae}),Id(ie,ae,!0),se&&Pr(ie),bi(ie,100))}function Id(ie,ae,fe){ae=Math.max(0,Math.min(ie.display.scroller.scrollHeight-ie.display.scroller.clientHeight,ae)),!(ie.display.scroller.scrollTop==ae&&!fe)&&(ie.doc.scrollTop=ae,ie.display.scrollbars.setScrollTop(ae),ie.display.scroller.scrollTop!=ae&&(ie.display.scroller.scrollTop=ae))}function $u(ie,ae,fe,pe){ae=Math.max(0,Math.min(ae,ie.display.scroller.scrollWidth-ie.display.scroller.clientWidth)),!((fe?ae==ie.doc.scrollLeft:Math.abs(ie.doc.scrollLeft-ae)<2)&&!pe)&&(ie.doc.scrollLeft=ae,Lo(ie),ie.display.scroller.scrollLeft!=ae&&(ie.display.scroller.scrollLeft=ae),ie.display.scrollbars.setScrollLeft(ae))}function gu(ie){var ae=ie.display,fe=ae.gutters.offsetWidth,pe=Math.round(ie.doc.height+Zu(ie.display));return{clientHeight:ae.scroller.clientHeight,viewHeight:ae.wrapper.clientHeight,scrollWidth:ae.scroller.scrollWidth,clientWidth:ae.scroller.clientWidth,viewWidth:ae.wrapper.clientWidth,barLeft:ie.options.fixedGutter?fe:0,docHeight:pe,scrollHeight:pe+Zs(ie)+ae.barHeight,nativeBarWidth:ae.nativeBarWidth,gutterWidth:fe}}var Sc=function(ie,ae,fe){this.cm=fe;var pe=this.vert=ut("div",[ut("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ye=this.horiz=ut("div",[ut("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");pe.tabIndex=ye.tabIndex=-1,ie(pe),ie(ye),xt(pe,"scroll",function(){pe.clientHeight&&ae(pe.scrollTop,"vertical")}),xt(ye,"scroll",function(){ye.clientWidth&&ae(ye.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,De&&Ke<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Sc.prototype.update=function(ie){var ae=ie.scrollWidth>ie.clientWidth+1,fe=ie.scrollHeight>ie.clientHeight+1,pe=ie.nativeBarWidth;if(fe){this.vert.style.display="block",this.vert.style.bottom=ae?pe+"px":"0";var ye=ie.viewHeight-(ae?pe:0);this.vert.firstChild.style.height=Math.max(0,ie.scrollHeight-ie.clientHeight+ye)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ae){this.horiz.style.display="block",this.horiz.style.right=fe?pe+"px":"0",this.horiz.style.left=ie.barLeft+"px";var Be=ie.viewWidth-ie.barLeft-(fe?pe:0);this.horiz.firstChild.style.width=Math.max(0,ie.scrollWidth-ie.clientWidth+Be)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&ie.clientHeight>0&&(pe==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:fe?pe:0,bottom:ae?pe:0}},Sc.prototype.setScrollLeft=function(ie){this.horiz.scrollLeft!=ie&&(this.horiz.scrollLeft=ie),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Sc.prototype.setScrollTop=function(ie){this.vert.scrollTop!=ie&&(this.vert.scrollTop=ie),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Sc.prototype.zeroWidthHack=function(){var ie=ge&&!ht?"12px":"18px";this.horiz.style.height=this.vert.style.width=ie,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ve,this.disableVert=new Ve},Sc.prototype.enableZeroWidthBar=function(ie,ae,fe){ie.style.pointerEvents="auto";function pe(){var ye=ie.getBoundingClientRect(),Be=fe=="vert"?document.elementFromPoint(ye.right-1,(ye.top+ye.bottom)/2):document.elementFromPoint((ye.right+ye.left)/2,ye.bottom-1);Be!=ie?ie.style.pointerEvents="none":ae.set(1e3,pe)}ae.set(1e3,pe)},Sc.prototype.clear=function(){var ie=this.horiz.parentNode;ie.removeChild(this.horiz),ie.removeChild(this.vert)};var Xu=function(){};Xu.prototype.update=function(){return{bottom:0,right:0}},Xu.prototype.setScrollLeft=function(){},Xu.prototype.setScrollTop=function(){},Xu.prototype.clear=function(){};function Nc(ie,ae){ae||(ae=gu(ie));var fe=ie.display.barWidth,pe=ie.display.barHeight;td(ie,ae);for(var ye=0;ye<4&&fe!=ie.display.barWidth||pe!=ie.display.barHeight;ye++)fe!=ie.display.barWidth&&ie.options.lineWrapping&&xo(ie),td(ie,gu(ie)),fe=ie.display.barWidth,pe=ie.display.barHeight}function td(ie,ae){var fe=ie.display,pe=fe.scrollbars.update(ae);fe.sizer.style.paddingRight=(fe.barWidth=pe.right)+"px",fe.sizer.style.paddingBottom=(fe.barHeight=pe.bottom)+"px",fe.heightForcer.style.borderBottom=pe.bottom+"px solid transparent",pe.right&&pe.bottom?(fe.scrollbarFiller.style.display="block",fe.scrollbarFiller.style.height=pe.bottom+"px",fe.scrollbarFiller.style.width=pe.right+"px"):fe.scrollbarFiller.style.display="",pe.bottom&&ie.options.coverGutterNextToScrollbar&&ie.options.fixedGutter?(fe.gutterFiller.style.display="block",fe.gutterFiller.style.height=pe.bottom+"px",fe.gutterFiller.style.width=ae.gutterWidth+"px"):fe.gutterFiller.style.display=""}var nd={native:Sc,null:Xu};function xc(ie){ie.display.scrollbars&&(ie.display.scrollbars.clear(),ie.display.scrollbars.addClass&&We(ie.display.wrapper,ie.display.scrollbars.addClass)),ie.display.scrollbars=new nd[ie.options.scrollbarStyle](function(ae){ie.display.wrapper.insertBefore(ae,ie.display.scrollbarFiller),xt(ae,"mousedown",function(){ie.state.focused&&setTimeout(function(){return ie.display.input.focus()},0)}),ae.setAttribute("cm-not-content","true")},function(ae,fe){fe=="horizontal"?$u(ie,ae):Ac(ie,ae)},ie),ie.display.scrollbars.addClass&&dn(ie.display.wrapper,ie.display.scrollbars.addClass)}var Mh=0;function Ul(ie){ie.curOp={cm:ie,viewChanged:!1,startHeight:ie.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Mh},ns(ie.curOp)}function Tu(ie){var ae=ie.curOp;ae&&Po(ae,function(fe){for(var pe=0;pe=fe.viewTo)||fe.maxLineChanged&&ae.options.lineWrapping,ie.update=ie.mustUpdate&&new Ei(ae,ie.mustUpdate&&{top:ie.scrollTop,ensure:ie.scrollToPos},ie.forceUpdate)}function Et(ie){ie.updatedDisplay=ie.mustUpdate&&Lr(ie.cm,ie.update)}function rn(ie){var ae=ie.cm,fe=ae.display;ie.updatedDisplay&&xo(ae),ie.barMeasure=gu(ae),fe.maxLineChanged&&!ae.options.lineWrapping&&(ie.adjustWidthTo=ed(ae,fe.maxLine,fe.maxLine.text.length).left+3,ae.display.sizerWidth=ie.adjustWidthTo,ie.barMeasure.scrollWidth=Math.max(fe.scroller.clientWidth,fe.sizer.offsetLeft+ie.adjustWidthTo+Zs(ae)+ae.display.barWidth),ie.maxScrollLeft=Math.max(0,fe.sizer.offsetLeft+ie.adjustWidthTo-Al(ae))),(ie.updatedDisplay||ie.selectionChanged)&&(ie.preparedSelection=fe.input.prepareSelection())}function cn(ie){var ae=ie.cm;ie.adjustWidthTo!=null&&(ae.display.sizer.style.minWidth=ie.adjustWidthTo+"px",ie.maxScrollLeft=ie.display.viewTo)){var fe=+new Date+ie.options.workTime,pe=zi(ie,ae.highlightFrontier),ye=[];ae.iter(pe.line,Math.min(ae.first+ae.size,ie.display.viewTo+500),function(Be){if(pe.line>=ie.display.viewFrom){var Xe=Be.styles,qe=Be.text.length>ie.options.maxHighlightLength?On(ae.mode,pe.state):null,ot=Fi(ie,Be,pe,!0);qe&&(pe.state=qe),Be.styles=ot.styles;var Tt=Be.styleClasses,mn=ot.classes;mn?Be.styleClasses=mn:Tt&&(Be.styleClasses=null);for(var Rt=!Xe||Xe.length!=Be.styles.length||Tt!=mn&&(!Tt||!mn||Tt.bgClass!=mn.bgClass||Tt.textClass!=mn.textClass),Qn=0;!Rt&&Qnfe)return bi(ie,ie.options.workDelay),!0}),ae.highlightFrontier=pe.line,ae.modeFrontier=Math.max(ae.modeFrontier,pe.line),ye.length&&xn(ie,function(){for(var Be=0;Be=fe.viewFrom&&ae.visible.to<=fe.viewTo&&(fe.updateLineNumbers==null||fe.updateLineNumbers>=fe.viewTo)&&fe.renderedView==fe.view&&iu(ie)==0)return!1;Tr(ie)&&(ol(ie),ae.dims=hu(ie));var ye=pe.first+pe.size,Be=Math.max(ae.visible.from-ie.options.viewportMargin,pe.first),Xe=Math.min(ye,ae.visible.to+ie.options.viewportMargin);fe.viewFromXe&&fe.viewTo-Xe<20&&(Xe=Math.min(ye,fe.viewTo)),Gt&&(Be=Qi(ie.doc,Be),Xe=xr(ie.doc,Xe));var qe=Be!=fe.viewFrom||Xe!=fe.viewTo||fe.lastWrapHeight!=ae.wrapperHeight||fe.lastWrapWidth!=ae.wrapperWidth;oo(ie,Be,Xe),fe.viewOffset=ua(In(ie.doc,fe.viewFrom)),ie.display.mover.style.top=fe.viewOffset+"px";var ot=iu(ie);if(!qe&&ot==0&&!ae.force&&fe.renderedView==fe.view&&(fe.updateLineNumbers==null||fe.updateLineNumbers>=fe.viewTo))return!1;var Tt=Ki(ie);return ot>4&&(fe.lineDiv.style.display="none"),yr(ie,fe.updateLineNumbers,ae.dims),ot>4&&(fe.lineDiv.style.display=""),fe.renderedView=fe.view,Ui(Tt),$e(fe.cursorDiv),$e(fe.selectionDiv),fe.gutters.style.height=fe.sizer.style.minHeight=0,qe&&(fe.lastWrapHeight=ae.wrapperHeight,fe.lastWrapWidth=ae.wrapperWidth,bi(ie,400)),fe.updateLineNumbers=null,!0}function Vi(ie,ae){for(var fe=ae.viewport,pe=!0;;pe=!1){if(!pe||!ie.options.lineWrapping||ae.oldDisplayWidth==Al(ie)){if(fe&&fe.top!=null&&(fe={top:Math.min(ie.doc.height+Zu(ie.display)-Jc(ie),fe.top)}),ae.visible=pa(ie.display,ie.doc,fe),ae.visible.from>=ie.display.viewFrom&&ae.visible.to<=ie.display.viewTo)break}else pe&&(ae.visible=pa(ie.display,ie.doc,fe));if(!Lr(ie,ae))break;xo(ie);var ye=gu(ie);Sl(ie),Nc(ie,ye),So(ie,ye),ae.force=!1}ae.signal(ie,"update",ie),(ie.display.viewFrom!=ie.display.reportedViewFrom||ie.display.viewTo!=ie.display.reportedViewTo)&&(ae.signal(ie,"viewportChange",ie,ie.display.viewFrom,ie.display.viewTo),ie.display.reportedViewFrom=ie.display.viewFrom,ie.display.reportedViewTo=ie.display.viewTo)}function Pr(ie,ae){var fe=new Ei(ie,ae);if(Lr(ie,fe)){xo(ie),Vi(ie,fe);var pe=gu(ie);Sl(ie),Nc(ie,pe),So(ie,pe),fe.finish()}}function yr(ie,ae,fe){var pe=ie.display,ye=ie.options.lineNumbers,Be=pe.lineDiv,Xe=Be.firstChild;function qe(pi){var Ci=pi.nextSibling;return Ee&&ge&&ie.display.currentWheelTarget==pi?pi.style.display="none":pi.parentNode.removeChild(pi),Ci}for(var ot=pe.view,Tt=pe.viewFrom,mn=0;mn-1&&(_n=!1),xs(ie,Rt,Tt,fe)),_n&&($e(Rt.lineNumber),Rt.lineNumber.appendChild(document.createTextNode(ni(ie.options,Tt)))),Xe=Rt.node.nextSibling}Tt+=Rt.size}for(;Xe;)Xe=qe(Xe)}function jr(ie){var ae=ie.gutters.offsetWidth;ie.sizer.style.marginLeft=ae+"px"}function So(ie,ae){ie.display.sizer.style.minHeight=ae.docHeight+"px",ie.display.heightForcer.style.top=ae.docHeight+"px",ie.display.gutters.style.height=ae.docHeight+ie.display.barHeight+Zs(ie)+"px"}function Lo(ie){var ae=ie.display,fe=ae.view;if(!(!ae.alignWidgets&&(!ae.gutters.firstChild||!ie.options.fixedGutter))){for(var pe=Vu(ae)-ae.scroller.scrollLeft+ie.doc.scrollLeft,ye=ae.gutters.offsetWidth,Be=pe+"px",Xe=0;XeXe.clientWidth,ot=Xe.scrollHeight>Xe.clientHeight;if(pe&&qe||ye&&ot){if(ye&&ge&&Ee){e:for(var Tt=ae.target,mn=Be.view;Tt!=Xe;Tt=Tt.parentNode)for(var Rt=0;Rt=0&&yn(ie,pe.to())<=0)return fe}return-1};var Or=function(ie,ae){this.anchor=ie,this.head=ae};Or.prototype.from=function(){return gn(this.anchor,this.head)},Or.prototype.to=function(){return wn(this.anchor,this.head)},Or.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Qo(ie,ae,fe){var pe=ie&&ie.options.selectionsMayTouch,ye=ae[fe];ae.sort(function(Qn,_n){return yn(Qn.from(),_n.from())}),fe=gt(ae,ye);for(var Be=1;Be0:ot>=0){var Tt=gn(qe.from(),Xe.from()),mn=wn(qe.to(),Xe.to()),Rt=qe.empty()?Xe.from()==Xe.head:qe.from()==qe.head;Be<=fe&&--fe,ae.splice(--Be,2,new Or(Rt?mn:Tt,Rt?Tt:mn))}}return new jo(ae,fe)}function Jo(ie,ae){return new jo([new Or(ie,ae||ie)],0)}function Da(ie){return ie.text?_t(ie.from.line+ie.text.length-1,jt(ie.text).length+(ie.text.length==1?ie.from.ch:0)):ie.to}function la(ie,ae){if(yn(ie,ae.from)<0)return ie;if(yn(ie,ae.to)<=0)return Da(ae);var fe=ie.line+ae.text.length-(ae.to.line-ae.from.line)-1,pe=ie.ch;return ie.line==ae.to.line&&(pe+=Da(ae).ch-ae.to.ch),_t(fe,pe)}function Ms(ie,ae){for(var fe=[],pe=0;pe1&&ie.remove(qe.line+1,pi-1),ie.insert(qe.line+1,ar)}$i(ie,"change",ie,ae)}function qs(ie,ae,fe){function pe(ye,Be,Xe){if(ye.linked)for(var qe=0;qe1&&!ie.done[ie.done.length-2].ranges)return ie.done.pop(),jt(ie.done)}function Sa(ie,ae,fe,pe){var ye=ie.history;ye.undone.length=0;var Be=+new Date,Xe,qe;if((ye.lastOp==pe||ye.lastOrigin==ae.origin&&ae.origin&&(ae.origin.charAt(0)=="+"&&ye.lastModTime>Be-(ie.cm?ie.cm.options.historyEventDelay:500)||ae.origin.charAt(0)=="*"))&&(Xe=Yo(ye,ye.lastOp==pe)))qe=jt(Xe.changes),yn(ae.from,ae.to)==0&&yn(ae.from,qe.to)==0?qe.to=Da(ae):Xe.changes.push(La(ie,ae));else{var ot=jt(ye.done);for((!ot||!ot.ranges)&&al(ie.sel,ye.done),Xe={changes:[La(ie,ae)],generation:ye.generation},ye.done.push(Xe);ye.done.length>ye.undoDepth;)ye.done.shift(),ye.done[0].ranges||ye.done.shift()}ye.done.push(fe),ye.generation=++ye.maxGeneration,ye.lastModTime=ye.lastSelTime=Be,ye.lastOp=ye.lastSelOp=pe,ye.lastOrigin=ye.lastSelOrigin=ae.origin,qe||wt(ie,"historyAdded")}function ja(ie,ae,fe,pe){var ye=ae.charAt(0);return ye=="*"||ye=="+"&&fe.ranges.length==pe.ranges.length&&fe.somethingSelected()==pe.somethingSelected()&&new Date-ie.history.lastSelTime<=(ie.cm?ie.cm.options.historyEventDelay:500)}function xl(ie,ae,fe,pe){var ye=ie.history,Be=pe&&pe.origin;fe==ye.lastSelOp||Be&&ye.lastSelOrigin==Be&&(ye.lastModTime==ye.lastSelTime&&ye.lastOrigin==Be||ja(ie,Be,jt(ye.done),ae))?ye.done[ye.done.length-1]=ae:al(ae,ye.done),ye.lastSelTime=+new Date,ye.lastSelOrigin=Be,ye.lastSelOp=fe,pe&&pe.clearRedo!==!1&&ho(ye.undone)}function al(ie,ae){var fe=jt(ae);fe&&fe.ranges&&fe.equals(ie)||ae.push(ie)}function ql(ie,ae,fe,pe){var ye=ae["spans_"+ie.id],Be=0;ie.iter(Math.max(ie.first,fe),Math.min(ie.first+ie.size,pe),function(Xe){Xe.markedSpans&&((ye||(ye=ae["spans_"+ie.id]={}))[Be]=Xe.markedSpans),++Be})}function Ya(ie){if(!ie)return null;for(var ae,fe=0;fe-1&&(jt(qe)[Rt]=Tt[Rt],delete Tt[Rt])}}return pe}function Hc(ie,ae,fe,pe){if(pe){var ye=ie.anchor;if(fe){var Be=yn(ae,ye)<0;Be!=yn(fe,ye)<0?(ye=ae,ae=fe):Be!=yn(ae,fe)<0&&(ae=fe)}return new Or(ye,ae)}else return new Or(fe||ae,ae)}function Za(ie,ae,fe,pe,ye){ye==null&&(ye=ie.cm&&(ie.cm.display.shift||ie.extend)),ws(ie,new jo([Hc(ie.sel.primary(),ae,fe,ye)],0),pe)}function os(ie,ae,fe){for(var pe=[],ye=ie.cm&&(ie.cm.display.shift||ie.extend),Be=0;Be=ae.ch:qe.to>ae.ch))){if(ye&&(wt(ot,"beforeCursorEnter"),ot.explicitlyCleared))if(Be.markedSpans){--Xe;continue}else break;if(!ot.atomic)continue;if(fe){var Rt=ot.find(pe<0?1:-1),Qn=void 0;if((pe<0?mn:Tt)&&(Rt=Ju(ie,Rt,-pe,Rt&&Rt.line==ae.line?Be:null)),Rt&&Rt.line==ae.line&&(Qn=yn(Rt,fe))&&(pe<0?Qn<0:Qn>0))return lc(ie,Rt,ae,pe,ye)}var _n=ot.find(pe<0?-1:1);return(pe<0?Tt:mn)&&(_n=Ju(ie,_n,pe,_n.line==ae.line?Be:null)),_n?lc(ie,_n,ae,pe,ye):null}}return ae}function uc(ie,ae,fe,pe,ye){var Be=pe||1,Xe=lc(ie,ae,fe,Be,ye)||!ye&&lc(ie,ae,fe,Be,!0)||lc(ie,ae,fe,-Be,ye)||!ye&&lc(ie,ae,fe,-Be,!0);return Xe||(ie.cantEdit=!0,_t(ie.first,0))}function Ju(ie,ae,fe,pe){return fe<0&&ae.ch==0?ae.line>ie.first?Bn(ie,_t(ae.line-1)):null:fe>0&&ae.ch==(pe||In(ie,ae.line)).text.length?ae.line=0;--ye)Es(ie,{from:pe[ye].from,to:pe[ye].to,text:ye?[""]:ae.text,origin:ae.origin});else Es(ie,ae)}}function Es(ie,ae){if(!(ae.text.length==1&&ae.text[0]==""&&yn(ae.from,ae.to)==0)){var fe=Ms(ie,ae);Sa(ie,ae,fe,ie.cm?ie.cm.curOp.id:NaN),cc(ie,ae,fe,or(ie,ae));var pe=[];qs(ie,function(ye,Be){!Be&>(pe,ye.history)==-1&&(Cs(ye.history,ae),pe.push(ye.history)),cc(ye,ae,null,or(ye,ae))})}}function fu(ie,ae,fe){var pe=ie.cm&&ie.cm.state.suppressEdits;if(!(pe&&!fe)){for(var ye=ie.history,Be,Xe=ie.sel,qe=ae=="undo"?ye.done:ye.undone,ot=ae=="undo"?ye.undone:ye.done,Tt=0;Tt=0;--_n){var pi=Qn(_n);if(pi)return pi.v}}}}function id(ie,ae){if(ae!=0&&(ie.first+=ae,ie.sel=new jo(Nn(ie.sel.ranges,function(ye){return new Or(_t(ye.anchor.line+ae,ye.anchor.ch),_t(ye.head.line+ae,ye.head.ch))}),ie.sel.primIndex),ie.cm)){za(ie.cm,ie.first,ie.first-ae,ae);for(var fe=ie.cm.display,pe=fe.viewFrom;peie.lastLine())){if(ae.from.lineBe&&(ae={from:ae.from,to:_t(Be,In(ie,Be).text.length),text:[ae.text[0]],origin:ae.origin}),ae.removed=zn(ie,ae.from,ae.to),fe||(fe=Ms(ie,ae)),ie.cm?dc(ie.cm,ae,pe):ys(ie,ae,pe),Ll(ie,fe,It),ie.cantEdit&&uc(ie,_t(ie.firstLine(),0))&&(ie.cantEdit=!1)}}function dc(ie,ae,fe){var pe=ie.doc,ye=ie.display,Be=ae.from,Xe=ae.to,qe=!1,ot=Be.line;ie.options.lineWrapping||(ot=bt(ao(In(pe,Be.line))),pe.iter(ot,Xe.line+1,function(_n){if(_n==ye.maxLine)return qe=!0,!0})),pe.sel.contains(ae.from,ae.to)>-1&&Mn(ie),ys(pe,ae,fe,rs(ie)),ie.options.lineWrapping||(pe.iter(ot,Be.line+ae.text.length,function(_n){var pi=ca(_n);pi>ye.maxLineLength&&(ye.maxLine=_n,ye.maxLineLength=pi,ye.maxLineChanged=!0,qe=!1)}),qe&&(ie.curOp.updateMaxLine=!0)),Hi(pe,Be.line),bi(ie,400);var Tt=ae.text.length-(Xe.line-Be.line)-1;ae.full?za(ie):Be.line==Xe.line&&ae.text.length==1&&!bs(ie.doc,ae)?qo(ie,Be.line,"text"):za(ie,Be.line,Xe.line+1,Tt);var mn=Zn(ie,"changes"),Rt=Zn(ie,"change");if(Rt||mn){var Qn={from:Be,to:Xe,text:ae.text,removed:ae.removed,origin:ae.origin};Rt&&$i(ie,"change",ie,Qn),mn&&(ie.curOp.changeObjs||(ie.curOp.changeObjs=[])).push(Qn)}ie.display.selForContextMenu=null}function Mc(ie,ae,fe,pe,ye){var Be;pe||(pe=fe),yn(pe,fe)<0&&(Be=[pe,fe],fe=Be[0],pe=Be[1]),typeof ae=="string"&&(ae=ie.splitLines(ae)),Ks(ie,{from:fe,to:pe,text:ae,origin:ye})}function ou(ie,ae,fe,pe){fe1||!(this.children[0]instanceof Ls))){var qe=[];this.collapse(qe),this.children=[new Ls(qe)],this.children[0].parent=this}},collapse:function(ie){for(var ae=0;ae50){for(var Xe=ye.lines.length%25+25,qe=Xe;qe10);ie.parent.maybeSpill()}},iterN:function(ie,ae,fe){for(var pe=0;peie.display.maxLineLength&&(ie.display.maxLine=Tt,ie.display.maxLineLength=mn,ie.display.maxLineChanged=!0)}pe!=null&&ie&&this.collapsed&&za(ie,pe,ye+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,ie&&Qu(ie.doc)),ie&&$i(ie,"markerCleared",ie,this,pe,ye),ae&&Tu(ie),this.parent&&this.parent.clear()}},pn.prototype.find=function(ie,ae){ie==null&&this.type=="bookmark"&&(ie=1);for(var fe,pe,ye=0;ye0||Xe==0&&Be.clearWhenEmpty!==!1)return Be;if(Be.replacedWith&&(Be.collapsed=!0,Be.widgetNode=Mt("span",[Be.replacedWith],"CodeMirror-widget"),pe.handleMouseEvents||Be.widgetNode.setAttribute("cm-ignore-events","true"),pe.insertLeft&&(Be.widgetNode.insertLeft=!0)),Be.collapsed){if(Uo(ie,ae.line,ae,fe,Be)||ae.line!=fe.line&&Uo(ie,fe.line,ae,fe,Be))throw new Error("Inserting collapsed marker partially overlapping an existing one");Fn()}Be.addToHistory&&Sa(ie,{from:ae,to:fe,origin:"markText"},ie.sel,NaN);var qe=ae.line,ot=ie.cm,Tt;if(ie.iter(qe,fe.line+1,function(Rt){ot&&Be.collapsed&&!ot.options.lineWrapping&&ao(Rt)==ot.display.maxLine&&(Tt=!0),Be.collapsed&&qe!=ae.line&&Rn(Rt,0),po(Rt,new kr(Be,qe==ae.line?ae.ch:null,qe==fe.line?fe.ch:null)),++qe}),Be.collapsed&&ie.iter(ae.line,fe.line+1,function(Rt){fi(ie,Rt)&&Rn(Rt,0)}),Be.clearOnEnter&&xt(Be,"beforeCursorEnter",function(){return Be.clear()}),Be.readOnly&&(Kr(),(ie.history.done.length||ie.history.undone.length)&&ie.clearHistory()),Be.collapsed&&(Be.id=++sh,Be.atomic=!0),ot){if(Tt&&(ot.curOp.updateMaxLine=!0),Be.collapsed)za(ot,ae.line,fe.line+1);else if(Be.className||Be.startStyle||Be.endStyle||Be.css||Be.attributes||Be.title)for(var mn=ae.line;mn<=fe.line;mn++)qo(ot,mn,"text");Be.atomic&&Qu(ot.doc),$i(ot,"markerAdded",ot,Be)}return Be}var Lc=function(ie,ae){this.markers=ie,this.primary=ae;for(var fe=0;fe=0;ot--)Ks(this,pe[ot]);qe?xa(this,qe):this.cm&&Ea(this.cm)}),undo:qn(function(){fu(this,"undo")}),redo:qn(function(){fu(this,"redo")}),undoSelection:qn(function(){fu(this,"undo",!0)}),redoSelection:qn(function(){fu(this,"redo",!0)}),setExtending:function(ie){this.extend=ie},getExtending:function(){return this.extend},historySize:function(){for(var ie=this.history,ae=0,fe=0,pe=0;pe=ie.ch)&&ae.push(ye.marker.parent||ye.marker)}return ae},findMarks:function(ie,ae,fe){ie=Bn(this,ie),ae=Bn(this,ae);var pe=[],ye=ie.line;return this.iter(ie.line,ae.line+1,function(Be){var Xe=Be.markedSpans;if(Xe)for(var qe=0;qe=ot.to||ot.from==null&&ye!=ie.line||ot.from!=null&&ye==ae.line&&ot.from>=ae.ch)&&(!fe||fe(ot.marker))&&pe.push(ot.marker.parent||ot.marker)}++ye}),pe},getAllMarks:function(){var ie=[];return this.iter(function(ae){var fe=ae.markedSpans;if(fe)for(var pe=0;peie)return ae=ie,!0;ie-=Be,++fe}),Bn(this,_t(fe,ae))},indexFromPos:function(ie){ie=Bn(this,ie);var ae=ie.ch;if(ie.lineae&&(ae=ie.from),ie.to!=null&&ie.to-1){ae.state.draggingText(ie),setTimeout(function(){return ae.display.input.focus()},20);return}try{var mn=ie.dataTransfer.getData("Text");if(mn){var Rt;if(ae.state.draggingText&&!ae.state.draggingText.copy&&(Rt=ae.listSelections()),Ll(ae.doc,Jo(fe,fe)),Rt)for(var Qn=0;Qn=0;qe--)Mc(ie.doc,"",pe[qe].from,pe[qe].to,"+delete");Ea(ie)})}function Oh(ie,ae,fe){var pe=ft(ie.text,ae+fe,fe);return pe<0||pe>ie.text.length?null:pe}function El(ie,ae,fe){var pe=Oh(ie,ae.ch,fe);return pe==null?null:new _t(ae.line,pe,fe<0?"after":"before")}function $a(ie,ae,fe,pe,ye){if(ie){ae.doc.direction=="rtl"&&(ye=-ye);var Be=Qe(fe,ae.doc.direction);if(Be){var Xe=ye<0?jt(Be):Be[0],qe=ye<0==(Xe.level==1),ot=qe?"after":"before",Tt;if(Xe.level>0||ae.doc.direction=="rtl"){var mn=bn(ae,fe);Tt=ye<0?fe.text.length-1:0;var Rt=Ht(ae,mn,Tt).top;Tt=ct(function(Qn){return Ht(ae,mn,Qn).top==Rt},ye<0==(Xe.level==1)?Xe.from:Xe.to-1,Tt),ot=="before"&&(Tt=Oh(fe,Tt,1))}else Tt=ye<0?Xe.to:Xe.from;return new _t(pe,Tt,ot)}}return new _t(pe,ye<0?fe.text.length:0,ye<0?"before":"after")}function Rs(ie,ae,fe,pe){var ye=Qe(ae,ie.doc.direction);if(!ye)return El(ae,fe,pe);fe.ch>=ae.text.length?(fe.ch=ae.text.length,fe.sticky="before"):fe.ch<=0&&(fe.ch=0,fe.sticky="after");var Be=xe(ye,fe.ch,fe.sticky),Xe=ye[Be];if(ie.doc.direction=="ltr"&&Xe.level%2==0&&(pe>0?Xe.to>fe.ch:Xe.from=Xe.from&&Qn>=mn.begin)){var _n=Rt?"before":"after";return new _t(fe.line,Qn,_n)}}var pi=function(ar,Nr,Er){for(var $r=function(oi,ls){return ls?new _t(fe.line,qe(oi,1),"before"):new _t(fe.line,oi,"after")};ar>=0&&ar0==(Hn.level!=1),$o=Cr?Er.begin:qe(Er.end,-1);if(Hn.from<=$o&&$o0?mn.end:qe(mn.begin,-1);return ki!=null&&!(pe>0&&ki==ae.text.length)&&(Ci=pi(pe>0?0:ye.length-1,pe,Tt(ki)),Ci)?Ci:null}var Zl={selectAll:qa,singleSelection:function(ie){return ie.setSelection(ie.getCursor("anchor"),ie.getCursor("head"),It)},killLine:function(ie){return au(ie,function(ae){if(ae.empty()){var fe=In(ie.doc,ae.head.line).text.length;return ae.head.ch==fe&&ae.head.line0)ye=new _t(ye.line,ye.ch+1),ie.replaceRange(Be.charAt(ye.ch-1)+Be.charAt(ye.ch-2),_t(ye.line,ye.ch-2),ye,"+transpose");else if(ye.line>ie.doc.first){var Xe=In(ie.doc,ye.line-1).text;Xe&&(ye=new _t(ye.line,1),ie.replaceRange(Be.charAt(0)+ie.doc.lineSeparator()+Xe.charAt(Xe.length-1),_t(ye.line-1,Xe.length-1),ye,"+transpose"))}}fe.push(new Or(ye,ye))}ie.setSelections(fe)})},newlineAndIndent:function(ie){return xn(ie,function(){for(var ae=ie.listSelections(),fe=ae.length-1;fe>=0;fe--)ie.replaceRange(ie.doc.lineSeparator(),ae[fe].anchor,ae[fe].head,"+input");ae=ie.listSelections();for(var pe=0;peie&&yn(ae,this.pos)==0&&fe==this.button};var fh,xd;function fl(ie,ae){var fe=+new Date;return xd&&xd.compare(fe,ie,ae)?(fh=xd=null,"triple"):fh&&fh.compare(fe,ie,ae)?(xd=new ag(fe,ie,ae),fh=null,"double"):(fh=new ag(fe,ie,ae),xd=null,"single")}function sd(ie){var ae=this,fe=ae.display;if(!(nn(ae,ie)||fe.activeTouch&&fe.input.supportsTouch())){if(fe.input.ensurePolled(),fe.shift=ie.shiftKey,$l(fe,ie)){Ee||(fe.scroller.draggable=!1,setTimeout(function(){return fe.scroller.draggable=!0},100));return}if(!Gg(ae,ie)){var pe=Fa(ae,ie),ye=dr(ie),Be=pe?fl(pe,ye):"single";window.focus(),ye==1&&ae.state.selectingText&&ae.state.selectingText(ie),!(pe&&Rh(ae,ye,pe,Be,ie))&&(ye==1?pe?gf(ae,pe,Be,ie):lr(ie)==fe.scroller&&xi(ie):ye==2?(pe&&Za(ae.doc,pe),setTimeout(function(){return fe.input.focus()},20)):ye==3&&(ke?ae.display.input.onContextMenu(ie):hs(ae)))}}}function Rh(ie,ae,fe,pe,ye){var Be="Click";return pe=="double"?Be="Double"+Be:pe=="triple"&&(Be="Triple"+Be),Be=(ae==1?"Left":ae==2?"Middle":"Right")+Be,od(ie,Dh(Be,ye),ye,function(Xe){if(typeof Xe=="string"&&(Xe=Zl[Xe]),!Xe)return!1;var qe=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),qe=Xe(ie,fe)!=sn}finally{ie.state.suppressEdits=!1}return qe})}function sg(ie,ae,fe){var pe=ie.getOption("configureMouse"),ye=pe?pe(ie,ae,fe):{};if(ye.unit==null){var Be=ue?fe.shiftKey&&fe.metaKey:fe.altKey;ye.unit=Be?"rectangle":ae=="single"?"char":ae=="double"?"word":"line"}return(ye.extend==null||ie.doc.extend)&&(ye.extend=ie.doc.extend||fe.shiftKey),ye.addNew==null&&(ye.addNew=ge?fe.metaKey:fe.ctrlKey),ye.moveOnDrag==null&&(ye.moveOnDrag=!(ge?fe.altKey:fe.ctrlKey)),ye}function gf(ie,ae,fe,pe){De?setTimeout(fn(ms,ie),0):ie.curOp.focus=Pt();var ye=sg(ie,fe,pe),Be=ie.doc.sel,Xe;ie.options.dragDrop&&ur&&!ie.isReadOnly()&&fe=="single"&&(Xe=Be.contains(ae))>-1&&(yn((Xe=Be.ranges[Xe]).from(),ae)<0||ae.xRel>0)&&(yn(Xe.to(),ae)>0||ae.xRel<0)?Ug(ie,pe,ae,ye):Lp(ie,pe,ae,ye)}function Ug(ie,ae,fe,pe){var ye=ie.display,Be=!1,Xe=ri(ie,function(Tt){Ee&&(ye.scroller.draggable=!1),ie.state.draggingText=!1,Pn(ye.wrapper.ownerDocument,"mouseup",Xe),Pn(ye.wrapper.ownerDocument,"mousemove",qe),Pn(ye.scroller,"dragstart",ot),Pn(ye.scroller,"drop",Xe),Be||(xi(Tt),pe.addNew||Za(ie.doc,fe,null,null,pe.extend),Ee&&!tt||De&&Ke==9?setTimeout(function(){ye.wrapper.ownerDocument.body.focus({preventScroll:!0}),ye.input.focus()},20):ye.input.focus())}),qe=function(Tt){Be=Be||Math.abs(ae.clientX-Tt.clientX)+Math.abs(ae.clientY-Tt.clientY)>=10},ot=function(){return Be=!0};Ee&&(ye.scroller.draggable=!0),ie.state.draggingText=Xe,Xe.copy=!pe.moveOnDrag,ye.scroller.dragDrop&&ye.scroller.dragDrop(),xt(ye.wrapper.ownerDocument,"mouseup",Xe),xt(ye.wrapper.ownerDocument,"mousemove",qe),xt(ye.scroller,"dragstart",ot),xt(ye.scroller,"drop",Xe),hs(ie),setTimeout(function(){return ye.input.focus()},20)}function _g(ie,ae,fe){if(fe=="char")return new Or(ae,ae);if(fe=="word")return ie.findWordAt(ae);if(fe=="line")return new Or(_t(ae.line,0),Bn(ie.doc,_t(ae.line+1,0)));var pe=fe(ie,ae);return new Or(pe.from,pe.to)}function Lp(ie,ae,fe,pe){var ye=ie.display,Be=ie.doc;xi(ae);var Xe,qe,ot=Be.sel,Tt=ot.ranges;if(pe.addNew&&!pe.extend?(qe=Be.sel.contains(fe),qe>-1?Xe=Tt[qe]:Xe=new Or(fe,fe)):(Xe=Be.sel.primary(),qe=Be.sel.primIndex),pe.unit=="rectangle")pe.addNew||(Xe=new Or(fe,fe)),fe=Fa(ie,ae,!0,!0),qe=-1;else{var mn=_g(ie,fe,pe.unit);pe.extend?Xe=Hc(Xe,mn.anchor,mn.head,pe.extend):Xe=mn}pe.addNew?qe==-1?(qe=Tt.length,ws(Be,Qo(ie,Tt.concat([Xe]),qe),{scroll:!1,origin:"*mouse"})):Tt.length>1&&Tt[qe].empty()&&pe.unit=="char"&&!pe.extend?(ws(Be,Qo(ie,Tt.slice(0,qe).concat(Tt.slice(qe+1)),0),{scroll:!1,origin:"*mouse"}),ot=Be.sel):Ss(Be,qe,Xe,en):(qe=0,ws(Be,new jo([Xe],0),en),ot=Be.sel);var Rt=fe;function Qn(Er){if(yn(Rt,Er)!=0)if(Rt=Er,pe.unit=="rectangle"){for(var $r=[],Hn=ie.options.tabSize,Cr=it(In(Be,fe.line).text,fe.ch,Hn),$o=it(In(Be,Er.line).text,Er.ch,Hn),oi=Math.min(Cr,$o),ls=Math.max(Cr,$o),Xa=Math.min(fe.line,Er.line),pl=Math.min(ie.lastLine(),Math.max(fe.line,Er.line));Xa<=pl;Xa++){var ml=In(Be,Xa).text,Va=ei(ml,oi,Hn);oi==ls?$r.push(new Or(_t(Xa,Va),_t(Xa,Va))):ml.length>Va&&$r.push(new Or(_t(Xa,Va),_t(Xa,ei(ml,ls,Hn))))}$r.length||$r.push(new Or(fe,fe)),ws(Be,Qo(ie,ot.ranges.slice(0,qe).concat($r),qe),{origin:"*mouse",scroll:!1}),ie.scrollIntoView(Er)}else{var ll=Xe,Xs=_g(ie,Er,pe.unit),ha=ll.anchor,Ca;yn(Xs.anchor,ha)>0?(Ca=Xs.head,ha=gn(ll.from(),Xs.anchor)):(Ca=Xs.anchor,ha=wn(ll.to(),Xs.head));var Ts=ot.ranges.slice(0);Ts[qe]=zf(ie,new Or(Bn(Be,ha),Ca)),ws(Be,Qo(ie,Ts,qe),en)}}var _n=ye.wrapper.getBoundingClientRect(),pi=0;function Ci(Er){var $r=++pi,Hn=Fa(ie,Er,!0,pe.unit=="rectangle");if(Hn)if(yn(Hn,Rt)!=0){ie.curOp.focus=Pt(),Qn(Hn);var Cr=pa(ye,Be);(Hn.line>=Cr.to||Hn.line_n.bottom?20:0;$o&&setTimeout(ri(ie,function(){pi==$r&&(ye.scroller.scrollTop+=$o,Ci(Er))}),50)}}function ki(Er){ie.state.selectingText=!1,pi=1/0,Er&&(xi(Er),ye.input.focus()),Pn(ye.wrapper.ownerDocument,"mousemove",ar),Pn(ye.wrapper.ownerDocument,"mouseup",Nr),Be.history.lastSelOrigin=null}var ar=ri(ie,function(Er){Er.buttons===0||!dr(Er)?ki(Er):Ci(Er)}),Nr=ri(ie,ki);ie.state.selectingText=Nr,xt(ye.wrapper.ownerDocument,"mousemove",ar),xt(ye.wrapper.ownerDocument,"mouseup",Nr)}function zf(ie,ae){var fe=ae.anchor,pe=ae.head,ye=In(ie.doc,fe.line);if(yn(fe,pe)==0&&fe.sticky==pe.sticky)return ae;var Be=Qe(ye);if(!Be)return ae;var Xe=xe(Be,fe.ch,fe.sticky),qe=Be[Xe];if(qe.from!=fe.ch&&qe.to!=fe.ch)return ae;var ot=Xe+(qe.from==fe.ch==(qe.level!=1)?0:1);if(ot==0||ot==Be.length)return ae;var Tt;if(pe.line!=fe.line)Tt=(pe.line-fe.line)*(ie.doc.direction=="ltr"?1:-1)>0;else{var mn=xe(Be,pe.ch,pe.sticky),Rt=mn-Xe||(pe.ch-fe.ch)*(qe.level==1?-1:1);mn==ot-1||mn==ot?Tt=Rt<0:Tt=Rt>0}var Qn=Be[ot+(Tt?-1:0)],_n=Tt==(Qn.level==1),pi=_n?Qn.from:Qn.to,Ci=_n?"after":"before";return fe.ch==pi&&fe.sticky==Ci?ae:new Or(new _t(fe.line,pi,Ci),pe)}function ff(ie,ae,fe,pe){var ye,Be;if(ae.touches)ye=ae.touches[0].clientX,Be=ae.touches[0].clientY;else try{ye=ae.clientX,Be=ae.clientY}catch(Qn){return!1}if(ye>=Math.floor(ie.display.gutters.getBoundingClientRect().right))return!1;pe&&xi(ae);var Xe=ie.display,qe=Xe.lineDiv.getBoundingClientRect();if(Be>qe.bottom||!Zn(ie,fe))return Si(ae);Be-=qe.top-Xe.viewOffset;for(var ot=0;ot=ye){var mn=Ut(ie.doc,Be),Rt=ie.display.gutterSpecs[ot];return wt(ie,fe,ie,mn,Rt.className,ae),Si(ae)}}}function Gg(ie,ae){return ff(ie,ae,"gutterClick",!0)}function as(ie,ae){$l(ie.display,ae)||Hg(ie,ae)||nn(ie,ae,"contextmenu")||ke||ie.display.input.onContextMenu(ae)}function Hg(ie,ae){return Zn(ie,"gutterContextMenu")?ff(ie,ae,"gutterContextMenu",!1):!1}function Fh(ie){ie.display.wrapper.className=ie.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+ie.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ro(ie)}var ph={toString:function(){return"CodeMirror.Init"}},pf={},lg={};function Uf(ie){var ae=ie.optionHandlers;function fe(pe,ye,Be,Xe){ie.defaults[pe]=ye,Be&&(ae[pe]=Xe?function(qe,ot,Tt){Tt!=ph&&Be(qe,ot,Tt)}:Be)}ie.defineOption=fe,ie.Init=ph,fe("value","",function(pe,ye){return pe.setValue(ye)},!0),fe("mode",null,function(pe,ye){pe.doc.modeOption=ye,No(pe)},!0),fe("indentUnit",2,No,!0),fe("indentWithTabs",!1),fe("smartIndent",!0),fe("tabSize",4,function(pe){Ba(pe),ro(pe),za(pe)},!0),fe("lineSeparator",null,function(pe,ye){if(pe.doc.lineSep=ye,!!ye){var Be=[],Xe=pe.doc.first;pe.doc.iter(function(ot){for(var Tt=0;;){var mn=ot.text.indexOf(ye,Tt);if(mn==-1)break;Tt=mn+ye.length,Be.push(_t(Xe,mn))}Xe++});for(var qe=Be.length-1;qe>=0;qe--)Mc(pe.doc,ye,Be[qe],_t(Be[qe].line,Be[qe].ch+ye.length))}}),fe("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(pe,ye,Be){pe.state.specialChars=new RegExp(ye.source+(ye.test(" ")?"":"| "),"g"),Be!=ph&&pe.refresh()}),fe("specialCharPlaceholder",gs,function(pe){return pe.refresh()},!0),fe("electricChars",!0),fe("inputStyle",ne?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),fe("spellcheck",!1,function(pe,ye){return pe.getInputField().spellcheck=ye},!0),fe("autocorrect",!1,function(pe,ye){return pe.getInputField().autocorrect=ye},!0),fe("autocapitalize",!1,function(pe,ye){return pe.getInputField().autocapitalize=ye},!0),fe("rtlMoveVisually",!me),fe("wholeLineUpdateBefore",!0),fe("theme","default",function(pe){Fh(pe),Hr(pe)},!0),fe("keyMap","default",function(pe,ye,Be){var Xe=Ou(ye),qe=Be!=ph&&Ou(Be);qe&&qe.detach&&qe.detach(pe,Xe),Xe.attach&&Xe.attach(pe,qe||null)}),fe("extraKeys",null),fe("configureMouse",null),fe("lineWrapping",!1,_f,!0),fe("gutters",[],function(pe,ye){pe.display.gutterSpecs=mo(ye,pe.options.lineNumbers),Hr(pe)},!0),fe("fixedGutter",!0,function(pe,ye){pe.display.gutters.style.left=ye?Vu(pe.display)+"px":"0",pe.refresh()},!0),fe("coverGutterNextToScrollbar",!1,function(pe){return Nc(pe)},!0),fe("scrollbarStyle","native",function(pe){xc(pe),Nc(pe),pe.display.scrollbars.setScrollTop(pe.doc.scrollTop),pe.display.scrollbars.setScrollLeft(pe.doc.scrollLeft)},!0),fe("lineNumbers",!1,function(pe,ye){pe.display.gutterSpecs=mo(pe.options.gutters,ye),Hr(pe)},!0),fe("firstLineNumber",1,Hr,!0),fe("lineNumberFormatter",function(pe){return pe},Hr,!0),fe("showCursorWhenSelecting",!1,Sl,!0),fe("resetSelectionOnContextMenu",!0),fe("lineWiseCopyCut",!0),fe("pasteLinesPerSelection",!0),fe("selectionsMayTouch",!1),fe("readOnly",!1,function(pe,ye){ye=="nocursor"&&(Ku(pe),pe.display.input.blur()),pe.display.input.readOnlyChanged(ye)}),fe("screenReaderLabel",null,function(pe,ye){ye=ye===""?null:ye,pe.display.input.screenReaderLabelChanged(ye)}),fe("disableInput",!1,function(pe,ye){ye||pe.display.input.reset()},!0),fe("dragDrop",!0,Wg),fe("allowDropFileTypes",null),fe("cursorBlinkRate",530),fe("cursorScrollMargin",0),fe("cursorHeight",1,Sl,!0),fe("singleCursorHeightPerLine",!0,Sl,!0),fe("workTime",100),fe("workDelay",100),fe("flattenSpans",!0,Ba,!0),fe("addModeClass",!1,Ba,!0),fe("pollInterval",100),fe("undoDepth",200,function(pe,ye){return pe.doc.history.undoDepth=ye}),fe("historyEventDelay",1250),fe("viewportMargin",10,function(pe){return pe.refresh()},!0),fe("maxHighlightLength",1e4,Ba,!0),fe("moveInputWithCursor",!0,function(pe,ye){ye||pe.display.input.resetPosition()}),fe("tabindex",null,function(pe,ye){return pe.display.input.getField().tabIndex=ye||""}),fe("autofocus",null),fe("direction","ltr",function(pe,ye){return pe.doc.setDirection(ye)},!0),fe("phrases",null)}function Wg(ie,ae,fe){var pe=fe&&fe!=ph;if(!ae!=!pe){var ye=ie.display.dragFunctions,Be=ae?xt:Pn;Be(ie.display.scroller,"dragstart",ye.start),Be(ie.display.scroller,"dragenter",ye.enter),Be(ie.display.scroller,"dragover",ye.over),Be(ie.display.scroller,"dragleave",ye.leave),Be(ie.display.scroller,"drop",ye.drop)}}function _f(ie){ie.options.lineWrapping?(dn(ie.display.wrapper,"CodeMirror-wrap"),ie.display.sizer.style.minWidth="",ie.display.sizerWidth=null):(We(ie.display.wrapper,"CodeMirror-wrap"),oa(ie)),Eo(ie),za(ie),ro(ie),setTimeout(function(){return Nc(ie)},100)}function ss(ie,ae){var fe=this;if(!(this instanceof ss))return new ss(ie,ae);this.options=ae=ae?an(ae):{},an(pf,ae,!1);var pe=ae.value;typeof pe=="string"?pe=new Gl(pe,ae.mode,null,ae.lineSeparator,ae.direction):ae.mode&&(pe.modeOption=ae.mode),this.doc=pe;var ye=new ss.inputStyles[ae.inputStyle](this),Be=this.display=new uo(ie,pe,ye,ae);Be.wrapper.CodeMirror=this,Fh(this),ae.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),xc(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Ve,keySeq:null,specialChars:null},ae.autofocus&&!ne&&Be.input.focus(),De&&Ke<11&&setTimeout(function(){return fe.display.input.reset(!0)},20),Bh(this),ku(),Ul(this),this.curOp.forceUpdate=!0,_o(this,pe),ae.autofocus&&!ne||this.hasFocus()?setTimeout(function(){fe.hasFocus()&&!fe.state.focused&&ya(fe)},20):Ku(this);for(var Xe in lg)lg.hasOwnProperty(Xe)&&lg[Xe](this,ae[Xe],ph);Tr(this),ae.finishInit&&ae.finishInit(this);for(var qe=0;qe20*20}xt(ae.scroller,"touchstart",function(ot){if(!nn(ie,ot)&&!Be(ot)&&!Gg(ie,ot)){ae.input.ensurePolled(),clearTimeout(fe);var Tt=+new Date;ae.activeTouch={start:Tt,moved:!1,prev:Tt-pe.end<=300?pe:null},ot.touches.length==1&&(ae.activeTouch.left=ot.touches[0].pageX,ae.activeTouch.top=ot.touches[0].pageY)}}),xt(ae.scroller,"touchmove",function(){ae.activeTouch&&(ae.activeTouch.moved=!0)}),xt(ae.scroller,"touchend",function(ot){var Tt=ae.activeTouch;if(Tt&&!$l(ae,ot)&&Tt.left!=null&&!Tt.moved&&new Date-Tt.start<300){var mn=ie.coordsChar(ae.activeTouch,"page"),Rt;!Tt.prev||Xe(Tt,Tt.prev)?Rt=new Or(mn,mn):!Tt.prev.prev||Xe(Tt,Tt.prev.prev)?Rt=ie.findWordAt(mn):Rt=new Or(_t(mn.line,0),Bn(ie.doc,_t(mn.line+1,0))),ie.setSelection(Rt.anchor,Rt.head),ie.focus(),xi(ot)}ye()}),xt(ae.scroller,"touchcancel",ye),xt(ae.scroller,"scroll",function(){ae.scroller.clientHeight&&(Ac(ie,ae.scroller.scrollTop),$u(ie,ae.scroller.scrollLeft,!0),wt(ie,"scroll",ie))}),xt(ae.scroller,"mousewheel",function(ot){return Ro(ie,ot)}),xt(ae.scroller,"DOMMouseScroll",function(ot){return Ro(ie,ot)}),xt(ae.wrapper,"scroll",function(){return ae.wrapper.scrollTop=ae.wrapper.scrollLeft=0}),ae.dragFunctions={enter:function(ot){nn(ie,ot)||Ri(ot)},over:function(ot){nn(ie,ot)||(rg(ie,ot),Ri(ot))},start:function(ot){return lh(ie,ot)},drop:ri(ie,Th),leave:function(ot){nn(ie,ot)||Og(ie)}};var qe=ae.input.getField();xt(qe,"keyup",function(ot){return hf.call(ie,ot)}),xt(qe,"keydown",ri(ie,df)),xt(qe,"keypress",ri(ie,ad)),xt(qe,"focus",function(ot){return ya(ie,ot)}),xt(qe,"blur",function(ot){return Ku(ie,ot)})}var Kd=[];ss.defineInitHook=function(ie){return Kd.push(ie)};function Xl(ie,ae,fe,pe){var ye=ie.doc,Be;fe==null&&(fe="add"),fe=="smart"&&(ye.mode.indent?Be=zi(ie,ae).state:fe="prev");var Xe=ie.options.tabSize,qe=In(ye,ae),ot=it(qe.text,null,Xe);qe.stateAfter&&(qe.stateAfter=null);var Tt=qe.text.match(/^\s*/)[0],mn;if(!pe&&!/\S/.test(qe.text))mn=0,fe="not";else if(fe=="smart"&&(mn=ye.mode.indent(Be,qe.text.slice(Tt.length),qe.text),mn==sn||mn>150)){if(!pe)return;fe="prev"}fe=="prev"?ae>ye.first?mn=it(In(ye,ae-1).text,null,Xe):mn=0:fe=="add"?mn=ot+ie.options.indentUnit:fe=="subtract"?mn=ot-ie.options.indentUnit:typeof fe=="number"&&(mn=ot+fe),mn=Math.max(0,mn);var Rt="",Qn=0;if(ie.options.indentWithTabs)for(var _n=Math.floor(mn/Xe);_n;--_n)Qn+=Xe,Rt+=" ";if(QnXe,ot=Yi(ae),Tt=null;if(qe&&pe.ranges.length>1)if(Ru&&Ru.text.join(` -`)==ae){if(pe.ranges.length%Ru.text.length==0){Tt=[];for(var mn=0;mn=0;Qn--){var _n=pe.ranges[Qn],pi=_n.from(),Ci=_n.to();_n.empty()&&(fe&&fe>0?pi=_t(pi.line,pi.ch-fe):ie.state.overwrite&&!qe?Ci=_t(Ci.line,Math.min(In(Be,Ci.line).text.length,Ci.ch+jt(ot).length)):qe&&Ru&&Ru.lineWise&&Ru.text.join(` + left: `+ae.left+"px; width: "+Math.max(2,ae.right-ae.left)+"px;");ie.display.lineSpace.appendChild(Be),Be.scrollIntoView(ye),ie.display.lineSpace.removeChild(Be)}}}function ru(ie,ae,fe,pe){pe==null&&(pe=0);var ye;!ie.options.lineWrapping&&ae==fe&&(ae=ae.ch?Gt(ae.line,ae.sticky=="before"?ae.ch-1:ae.ch,"after"):ae,fe=ae.sticky=="before"?Gt(ae.line,ae.ch+1,"before"):ae);for(var Be=0;Be<5;Be++){var Xe=!1,qe=ka(ie,ae),ot=!fe||fe==ae?qe:ka(ie,fe);ye={left:Math.min(qe.left,ot.left),top:Math.min(qe.top,ot.top)-pe,right:Math.max(qe.left,ot.left),bottom:Math.max(qe.bottom,ot.bottom)+pe};var Tt=Td(ie,ye),mn=ie.doc.scrollTop,Rt=ie.doc.scrollLeft;if(Tt.scrollTop!=null&&(Ac(ie,Tt.scrollTop),Math.abs(ie.doc.scrollTop-mn)>1&&(Xe=!0)),Tt.scrollLeft!=null&&($u(ie,Tt.scrollLeft),Math.abs(ie.doc.scrollLeft-Rt)>1&&(Xe=!0)),!Xe)break}return ye}function jl(ie,ae){var fe=Td(ie,ae);fe.scrollTop!=null&&Ac(ie,fe.scrollTop),fe.scrollLeft!=null&&$u(ie,fe.scrollLeft)}function Td(ie,ae){var fe=ie.display,pe=Os(ie.display);ae.top<0&&(ae.top=0);var ye=ie.curOp&&ie.curOp.scrollTop!=null?ie.curOp.scrollTop:fe.scroller.scrollTop,Be=Jc(ie),Xe={};ae.bottom-ae.top>Be&&(ae.bottom=ae.top+Be);var qe=ie.doc.height+Zu(fe),ot=ae.topqe-pe;if(ae.topye+Be){var mn=Math.min(ae.top,(Tt?qe:ae.bottom)-Be);mn!=ye&&(Xe.scrollTop=mn)}var Rt=ie.options.fixedGutter?0:fe.gutters.offsetWidth,Qn=ie.curOp&&ie.curOp.scrollLeft!=null?ie.curOp.scrollLeft:fe.scroller.scrollLeft-Rt,_n=Al(ie)-fe.gutters.offsetWidth,pi=ae.right-ae.left>_n;return pi&&(ae.right=ae.left+_n),ae.left<10?Xe.scrollLeft=0:ae.left_n+Qn-3&&(Xe.scrollLeft=ae.right+(pi?0:10)-_n),Xe}function zl(ie,ae){ae!=null&&(kl(ie),ie.curOp.scrollTop=(ie.curOp.scrollTop==null?ie.doc.scrollTop:ie.curOp.scrollTop)+ae)}function Ea(ie){kl(ie);var ae=ie.getCursor();ie.curOp.scrollToPos={from:ae,to:ae,margin:ie.options.cursorScrollMargin}}function zs(ie,ae,fe){(ae!=null||fe!=null)&&kl(ie),ae!=null&&(ie.curOp.scrollLeft=ae),fe!=null&&(ie.curOp.scrollTop=fe)}function da(ie,ae){kl(ie),ie.curOp.scrollToPos=ae}function kl(ie){var ae=ie.curOp.scrollToPos;if(ae){ie.curOp.scrollToPos=null;var fe=Nl(ie,ae.from),pe=Nl(ie,ae.to);Yu(ie,fe,pe,ae.margin)}}function Yu(ie,ae,fe,pe){var ye=Td(ie,{left:Math.min(ae.left,fe.left),top:Math.min(ae.top,fe.top)-pe,right:Math.max(ae.right,fe.right),bottom:Math.max(ae.bottom,fe.bottom)+pe});zs(ie,ye.scrollLeft,ye.scrollTop)}function Ac(ie,ae){Math.abs(ie.doc.scrollTop-ae)<2||(se||Pr(ie,{top:ae}),Id(ie,ae,!0),se&&Pr(ie),bi(ie,100))}function Id(ie,ae,fe){ae=Math.max(0,Math.min(ie.display.scroller.scrollHeight-ie.display.scroller.clientHeight,ae)),!(ie.display.scroller.scrollTop==ae&&!fe)&&(ie.doc.scrollTop=ae,ie.display.scrollbars.setScrollTop(ae),ie.display.scroller.scrollTop!=ae&&(ie.display.scroller.scrollTop=ae))}function $u(ie,ae,fe,pe){ae=Math.max(0,Math.min(ae,ie.display.scroller.scrollWidth-ie.display.scroller.clientWidth)),!((fe?ae==ie.doc.scrollLeft:Math.abs(ie.doc.scrollLeft-ae)<2)&&!pe)&&(ie.doc.scrollLeft=ae,Lo(ie),ie.display.scroller.scrollLeft!=ae&&(ie.display.scroller.scrollLeft=ae),ie.display.scrollbars.setScrollLeft(ae))}function gu(ie){var ae=ie.display,fe=ae.gutters.offsetWidth,pe=Math.round(ie.doc.height+Zu(ie.display));return{clientHeight:ae.scroller.clientHeight,viewHeight:ae.wrapper.clientHeight,scrollWidth:ae.scroller.scrollWidth,clientWidth:ae.scroller.clientWidth,viewWidth:ae.wrapper.clientWidth,barLeft:ie.options.fixedGutter?fe:0,docHeight:pe,scrollHeight:pe+Zs(ie)+ae.barHeight,nativeBarWidth:ae.nativeBarWidth,gutterWidth:fe}}var Sc=function(ie,ae,fe){this.cm=fe;var pe=this.vert=ut("div",[ut("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ye=this.horiz=ut("div",[ut("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");pe.tabIndex=ye.tabIndex=-1,ie(pe),ie(ye),xt(pe,"scroll",function(){pe.clientHeight&&ae(pe.scrollTop,"vertical")}),xt(ye,"scroll",function(){ye.clientWidth&&ae(ye.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,De&&Ke<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Sc.prototype.update=function(ie){var ae=ie.scrollWidth>ie.clientWidth+1,fe=ie.scrollHeight>ie.clientHeight+1,pe=ie.nativeBarWidth;if(fe){this.vert.style.display="block",this.vert.style.bottom=ae?pe+"px":"0";var ye=ie.viewHeight-(ae?pe:0);this.vert.firstChild.style.height=Math.max(0,ie.scrollHeight-ie.clientHeight+ye)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ae){this.horiz.style.display="block",this.horiz.style.right=fe?pe+"px":"0",this.horiz.style.left=ie.barLeft+"px";var Be=ie.viewWidth-ie.barLeft-(fe?pe:0);this.horiz.firstChild.style.width=Math.max(0,ie.scrollWidth-ie.clientWidth+Be)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&ie.clientHeight>0&&(pe==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:fe?pe:0,bottom:ae?pe:0}},Sc.prototype.setScrollLeft=function(ie){this.horiz.scrollLeft!=ie&&(this.horiz.scrollLeft=ie),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Sc.prototype.setScrollTop=function(ie){this.vert.scrollTop!=ie&&(this.vert.scrollTop=ie),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Sc.prototype.zeroWidthHack=function(){var ie=ge&&!ht?"12px":"18px";this.horiz.style.height=this.vert.style.width=ie,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ve,this.disableVert=new Ve},Sc.prototype.enableZeroWidthBar=function(ie,ae,fe){ie.style.pointerEvents="auto";function pe(){var ye=ie.getBoundingClientRect(),Be=fe=="vert"?document.elementFromPoint(ye.right-1,(ye.top+ye.bottom)/2):document.elementFromPoint((ye.right+ye.left)/2,ye.bottom-1);Be!=ie?ie.style.pointerEvents="none":ae.set(1e3,pe)}ae.set(1e3,pe)},Sc.prototype.clear=function(){var ie=this.horiz.parentNode;ie.removeChild(this.horiz),ie.removeChild(this.vert)};var Xu=function(){};Xu.prototype.update=function(){return{bottom:0,right:0}},Xu.prototype.setScrollLeft=function(){},Xu.prototype.setScrollTop=function(){},Xu.prototype.clear=function(){};function Nc(ie,ae){ae||(ae=gu(ie));var fe=ie.display.barWidth,pe=ie.display.barHeight;td(ie,ae);for(var ye=0;ye<4&&fe!=ie.display.barWidth||pe!=ie.display.barHeight;ye++)fe!=ie.display.barWidth&&ie.options.lineWrapping&&xo(ie),td(ie,gu(ie)),fe=ie.display.barWidth,pe=ie.display.barHeight}function td(ie,ae){var fe=ie.display,pe=fe.scrollbars.update(ae);fe.sizer.style.paddingRight=(fe.barWidth=pe.right)+"px",fe.sizer.style.paddingBottom=(fe.barHeight=pe.bottom)+"px",fe.heightForcer.style.borderBottom=pe.bottom+"px solid transparent",pe.right&&pe.bottom?(fe.scrollbarFiller.style.display="block",fe.scrollbarFiller.style.height=pe.bottom+"px",fe.scrollbarFiller.style.width=pe.right+"px"):fe.scrollbarFiller.style.display="",pe.bottom&&ie.options.coverGutterNextToScrollbar&&ie.options.fixedGutter?(fe.gutterFiller.style.display="block",fe.gutterFiller.style.height=pe.bottom+"px",fe.gutterFiller.style.width=ae.gutterWidth+"px"):fe.gutterFiller.style.display=""}var nd={native:Sc,null:Xu};function xc(ie){ie.display.scrollbars&&(ie.display.scrollbars.clear(),ie.display.scrollbars.addClass&&We(ie.display.wrapper,ie.display.scrollbars.addClass)),ie.display.scrollbars=new nd[ie.options.scrollbarStyle](function(ae){ie.display.wrapper.insertBefore(ae,ie.display.scrollbarFiller),xt(ae,"mousedown",function(){ie.state.focused&&setTimeout(function(){return ie.display.input.focus()},0)}),ae.setAttribute("cm-not-content","true")},function(ae,fe){fe=="horizontal"?$u(ie,ae):Ac(ie,ae)},ie),ie.display.scrollbars.addClass&&dn(ie.display.wrapper,ie.display.scrollbars.addClass)}var Mh=0;function Ul(ie){ie.curOp={cm:ie,viewChanged:!1,startHeight:ie.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Mh},ns(ie.curOp)}function Tu(ie){var ae=ie.curOp;ae&&Po(ae,function(fe){for(var pe=0;pe=fe.viewTo)||fe.maxLineChanged&&ae.options.lineWrapping,ie.update=ie.mustUpdate&&new Ei(ae,ie.mustUpdate&&{top:ie.scrollTop,ensure:ie.scrollToPos},ie.forceUpdate)}function Et(ie){ie.updatedDisplay=ie.mustUpdate&&Lr(ie.cm,ie.update)}function rn(ie){var ae=ie.cm,fe=ae.display;ie.updatedDisplay&&xo(ae),ie.barMeasure=gu(ae),fe.maxLineChanged&&!ae.options.lineWrapping&&(ie.adjustWidthTo=ed(ae,fe.maxLine,fe.maxLine.text.length).left+3,ae.display.sizerWidth=ie.adjustWidthTo,ie.barMeasure.scrollWidth=Math.max(fe.scroller.clientWidth,fe.sizer.offsetLeft+ie.adjustWidthTo+Zs(ae)+ae.display.barWidth),ie.maxScrollLeft=Math.max(0,fe.sizer.offsetLeft+ie.adjustWidthTo-Al(ae))),(ie.updatedDisplay||ie.selectionChanged)&&(ie.preparedSelection=fe.input.prepareSelection())}function cn(ie){var ae=ie.cm;ie.adjustWidthTo!=null&&(ae.display.sizer.style.minWidth=ie.adjustWidthTo+"px",ie.maxScrollLeft=ie.display.viewTo)){var fe=+new Date+ie.options.workTime,pe=zi(ie,ae.highlightFrontier),ye=[];ae.iter(pe.line,Math.min(ae.first+ae.size,ie.display.viewTo+500),function(Be){if(pe.line>=ie.display.viewFrom){var Xe=Be.styles,qe=Be.text.length>ie.options.maxHighlightLength?On(ae.mode,pe.state):null,ot=Fi(ie,Be,pe,!0);qe&&(pe.state=qe),Be.styles=ot.styles;var Tt=Be.styleClasses,mn=ot.classes;mn?Be.styleClasses=mn:Tt&&(Be.styleClasses=null);for(var Rt=!Xe||Xe.length!=Be.styles.length||Tt!=mn&&(!Tt||!mn||Tt.bgClass!=mn.bgClass||Tt.textClass!=mn.textClass),Qn=0;!Rt&&Qnfe)return bi(ie,ie.options.workDelay),!0}),ae.highlightFrontier=pe.line,ae.modeFrontier=Math.max(ae.modeFrontier,pe.line),ye.length&&xn(ie,function(){for(var Be=0;Be=fe.viewFrom&&ae.visible.to<=fe.viewTo&&(fe.updateLineNumbers==null||fe.updateLineNumbers>=fe.viewTo)&&fe.renderedView==fe.view&&iu(ie)==0)return!1;Tr(ie)&&(ol(ie),ae.dims=hu(ie));var ye=pe.first+pe.size,Be=Math.max(ae.visible.from-ie.options.viewportMargin,pe.first),Xe=Math.min(ye,ae.visible.to+ie.options.viewportMargin);fe.viewFromXe&&fe.viewTo-Xe<20&&(Xe=Math.min(ye,fe.viewTo)),Ht&&(Be=Qi(ie.doc,Be),Xe=xr(ie.doc,Xe));var qe=Be!=fe.viewFrom||Xe!=fe.viewTo||fe.lastWrapHeight!=ae.wrapperHeight||fe.lastWrapWidth!=ae.wrapperWidth;oo(ie,Be,Xe),fe.viewOffset=ua(In(ie.doc,fe.viewFrom)),ie.display.mover.style.top=fe.viewOffset+"px";var ot=iu(ie);if(!qe&&ot==0&&!ae.force&&fe.renderedView==fe.view&&(fe.updateLineNumbers==null||fe.updateLineNumbers>=fe.viewTo))return!1;var Tt=Ki(ie);return ot>4&&(fe.lineDiv.style.display="none"),yr(ie,fe.updateLineNumbers,ae.dims),ot>4&&(fe.lineDiv.style.display=""),fe.renderedView=fe.view,Ui(Tt),$e(fe.cursorDiv),$e(fe.selectionDiv),fe.gutters.style.height=fe.sizer.style.minHeight=0,qe&&(fe.lastWrapHeight=ae.wrapperHeight,fe.lastWrapWidth=ae.wrapperWidth,bi(ie,400)),fe.updateLineNumbers=null,!0}function Vi(ie,ae){for(var fe=ae.viewport,pe=!0;;pe=!1){if(!pe||!ie.options.lineWrapping||ae.oldDisplayWidth==Al(ie)){if(fe&&fe.top!=null&&(fe={top:Math.min(ie.doc.height+Zu(ie.display)-Jc(ie),fe.top)}),ae.visible=pa(ie.display,ie.doc,fe),ae.visible.from>=ie.display.viewFrom&&ae.visible.to<=ie.display.viewTo)break}else pe&&(ae.visible=pa(ie.display,ie.doc,fe));if(!Lr(ie,ae))break;xo(ie);var ye=gu(ie);Sl(ie),Nc(ie,ye),So(ie,ye),ae.force=!1}ae.signal(ie,"update",ie),(ie.display.viewFrom!=ie.display.reportedViewFrom||ie.display.viewTo!=ie.display.reportedViewTo)&&(ae.signal(ie,"viewportChange",ie,ie.display.viewFrom,ie.display.viewTo),ie.display.reportedViewFrom=ie.display.viewFrom,ie.display.reportedViewTo=ie.display.viewTo)}function Pr(ie,ae){var fe=new Ei(ie,ae);if(Lr(ie,fe)){xo(ie),Vi(ie,fe);var pe=gu(ie);Sl(ie),Nc(ie,pe),So(ie,pe),fe.finish()}}function yr(ie,ae,fe){var pe=ie.display,ye=ie.options.lineNumbers,Be=pe.lineDiv,Xe=Be.firstChild;function qe(pi){var Ci=pi.nextSibling;return Ee&&ge&&ie.display.currentWheelTarget==pi?pi.style.display="none":pi.parentNode.removeChild(pi),Ci}for(var ot=pe.view,Tt=pe.viewFrom,mn=0;mn-1&&(_n=!1),xs(ie,Rt,Tt,fe)),_n&&($e(Rt.lineNumber),Rt.lineNumber.appendChild(document.createTextNode(ni(ie.options,Tt)))),Xe=Rt.node.nextSibling}Tt+=Rt.size}for(;Xe;)Xe=qe(Xe)}function zr(ie){var ae=ie.gutters.offsetWidth;ie.sizer.style.marginLeft=ae+"px"}function So(ie,ae){ie.display.sizer.style.minHeight=ae.docHeight+"px",ie.display.heightForcer.style.top=ae.docHeight+"px",ie.display.gutters.style.height=ae.docHeight+ie.display.barHeight+Zs(ie)+"px"}function Lo(ie){var ae=ie.display,fe=ae.view;if(!(!ae.alignWidgets&&(!ae.gutters.firstChild||!ie.options.fixedGutter))){for(var pe=Vu(ae)-ae.scroller.scrollLeft+ie.doc.scrollLeft,ye=ae.gutters.offsetWidth,Be=pe+"px",Xe=0;XeXe.clientWidth,ot=Xe.scrollHeight>Xe.clientHeight;if(pe&&qe||ye&&ot){if(ye&&ge&&Ee){e:for(var Tt=ae.target,mn=Be.view;Tt!=Xe;Tt=Tt.parentNode)for(var Rt=0;Rt=0&&yn(ie,pe.to())<=0)return fe}return-1};var Or=function(ie,ae){this.anchor=ie,this.head=ae};Or.prototype.from=function(){return gn(this.anchor,this.head)},Or.prototype.to=function(){return wn(this.anchor,this.head)},Or.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Qo(ie,ae,fe){var pe=ie&&ie.options.selectionsMayTouch,ye=ae[fe];ae.sort(function(Qn,_n){return yn(Qn.from(),_n.from())}),fe=gt(ae,ye);for(var Be=1;Be0:ot>=0){var Tt=gn(qe.from(),Xe.from()),mn=wn(qe.to(),Xe.to()),Rt=qe.empty()?Xe.from()==Xe.head:qe.from()==qe.head;Be<=fe&&--fe,ae.splice(--Be,2,new Or(Rt?mn:Tt,Rt?Tt:mn))}}return new jo(ae,fe)}function Jo(ie,ae){return new jo([new Or(ie,ae||ie)],0)}function Da(ie){return ie.text?Gt(ie.from.line+ie.text.length-1,jt(ie.text).length+(ie.text.length==1?ie.from.ch:0)):ie.to}function la(ie,ae){if(yn(ie,ae.from)<0)return ie;if(yn(ie,ae.to)<=0)return Da(ae);var fe=ie.line+ae.text.length-(ae.to.line-ae.from.line)-1,pe=ie.ch;return ie.line==ae.to.line&&(pe+=Da(ae).ch-ae.to.ch),Gt(fe,pe)}function Ms(ie,ae){for(var fe=[],pe=0;pe1&&ie.remove(qe.line+1,pi-1),ie.insert(qe.line+1,ar)}$i(ie,"change",ie,ae)}function qs(ie,ae,fe){function pe(ye,Be,Xe){if(ye.linked)for(var qe=0;qe1&&!ie.done[ie.done.length-2].ranges)return ie.done.pop(),jt(ie.done)}function Sa(ie,ae,fe,pe){var ye=ie.history;ye.undone.length=0;var Be=+new Date,Xe,qe;if((ye.lastOp==pe||ye.lastOrigin==ae.origin&&ae.origin&&(ae.origin.charAt(0)=="+"&&ye.lastModTime>Be-(ie.cm?ie.cm.options.historyEventDelay:500)||ae.origin.charAt(0)=="*"))&&(Xe=Yo(ye,ye.lastOp==pe)))qe=jt(Xe.changes),yn(ae.from,ae.to)==0&&yn(ae.from,qe.to)==0?qe.to=Da(ae):Xe.changes.push(La(ie,ae));else{var ot=jt(ye.done);for((!ot||!ot.ranges)&&al(ie.sel,ye.done),Xe={changes:[La(ie,ae)],generation:ye.generation},ye.done.push(Xe);ye.done.length>ye.undoDepth;)ye.done.shift(),ye.done[0].ranges||ye.done.shift()}ye.done.push(fe),ye.generation=++ye.maxGeneration,ye.lastModTime=ye.lastSelTime=Be,ye.lastOp=ye.lastSelOp=pe,ye.lastOrigin=ye.lastSelOrigin=ae.origin,qe||wt(ie,"historyAdded")}function ja(ie,ae,fe,pe){var ye=ae.charAt(0);return ye=="*"||ye=="+"&&fe.ranges.length==pe.ranges.length&&fe.somethingSelected()==pe.somethingSelected()&&new Date-ie.history.lastSelTime<=(ie.cm?ie.cm.options.historyEventDelay:500)}function xl(ie,ae,fe,pe){var ye=ie.history,Be=pe&&pe.origin;fe==ye.lastSelOp||Be&&ye.lastSelOrigin==Be&&(ye.lastModTime==ye.lastSelTime&&ye.lastOrigin==Be||ja(ie,Be,jt(ye.done),ae))?ye.done[ye.done.length-1]=ae:al(ae,ye.done),ye.lastSelTime=+new Date,ye.lastSelOrigin=Be,ye.lastSelOp=fe,pe&&pe.clearRedo!==!1&&ho(ye.undone)}function al(ie,ae){var fe=jt(ae);fe&&fe.ranges&&fe.equals(ie)||ae.push(ie)}function ql(ie,ae,fe,pe){var ye=ae["spans_"+ie.id],Be=0;ie.iter(Math.max(ie.first,fe),Math.min(ie.first+ie.size,pe),function(Xe){Xe.markedSpans&&((ye||(ye=ae["spans_"+ie.id]={}))[Be]=Xe.markedSpans),++Be})}function Ya(ie){if(!ie)return null;for(var ae,fe=0;fe-1&&(jt(qe)[Rt]=Tt[Rt],delete Tt[Rt])}}return pe}function Hc(ie,ae,fe,pe){if(pe){var ye=ie.anchor;if(fe){var Be=yn(ae,ye)<0;Be!=yn(fe,ye)<0?(ye=ae,ae=fe):Be!=yn(ae,fe)<0&&(ae=fe)}return new Or(ye,ae)}else return new Or(fe||ae,ae)}function Za(ie,ae,fe,pe,ye){ye==null&&(ye=ie.cm&&(ie.cm.display.shift||ie.extend)),ws(ie,new jo([Hc(ie.sel.primary(),ae,fe,ye)],0),pe)}function as(ie,ae,fe){for(var pe=[],ye=ie.cm&&(ie.cm.display.shift||ie.extend),Be=0;Be=ae.ch:qe.to>ae.ch))){if(ye&&(wt(ot,"beforeCursorEnter"),ot.explicitlyCleared))if(Be.markedSpans){--Xe;continue}else break;if(!ot.atomic)continue;if(fe){var Rt=ot.find(pe<0?1:-1),Qn=void 0;if((pe<0?mn:Tt)&&(Rt=Ju(ie,Rt,-pe,Rt&&Rt.line==ae.line?Be:null)),Rt&&Rt.line==ae.line&&(Qn=yn(Rt,fe))&&(pe<0?Qn<0:Qn>0))return lc(ie,Rt,ae,pe,ye)}var _n=ot.find(pe<0?-1:1);return(pe<0?Tt:mn)&&(_n=Ju(ie,_n,pe,_n.line==ae.line?Be:null)),_n?lc(ie,_n,ae,pe,ye):null}}return ae}function uc(ie,ae,fe,pe,ye){var Be=pe||1,Xe=lc(ie,ae,fe,Be,ye)||!ye&&lc(ie,ae,fe,Be,!0)||lc(ie,ae,fe,-Be,ye)||!ye&&lc(ie,ae,fe,-Be,!0);return Xe||(ie.cantEdit=!0,Gt(ie.first,0))}function Ju(ie,ae,fe,pe){return fe<0&&ae.ch==0?ae.line>ie.first?Bn(ie,Gt(ae.line-1)):null:fe>0&&ae.ch==(pe||In(ie,ae.line)).text.length?ae.line=0;--ye)Es(ie,{from:pe[ye].from,to:pe[ye].to,text:ye?[""]:ae.text,origin:ae.origin});else Es(ie,ae)}}function Es(ie,ae){if(!(ae.text.length==1&&ae.text[0]==""&&yn(ae.from,ae.to)==0)){var fe=Ms(ie,ae);Sa(ie,ae,fe,ie.cm?ie.cm.curOp.id:NaN),cc(ie,ae,fe,or(ie,ae));var pe=[];qs(ie,function(ye,Be){!Be&>(pe,ye.history)==-1&&(Cs(ye.history,ae),pe.push(ye.history)),cc(ye,ae,null,or(ye,ae))})}}function fu(ie,ae,fe){var pe=ie.cm&&ie.cm.state.suppressEdits;if(!(pe&&!fe)){for(var ye=ie.history,Be,Xe=ie.sel,qe=ae=="undo"?ye.done:ye.undone,ot=ae=="undo"?ye.undone:ye.done,Tt=0;Tt=0;--_n){var pi=Qn(_n);if(pi)return pi.v}}}}function id(ie,ae){if(ae!=0&&(ie.first+=ae,ie.sel=new jo(Nn(ie.sel.ranges,function(ye){return new Or(Gt(ye.anchor.line+ae,ye.anchor.ch),Gt(ye.head.line+ae,ye.head.ch))}),ie.sel.primIndex),ie.cm)){za(ie.cm,ie.first,ie.first-ae,ae);for(var fe=ie.cm.display,pe=fe.viewFrom;peie.lastLine())){if(ae.from.lineBe&&(ae={from:ae.from,to:Gt(Be,In(ie,Be).text.length),text:[ae.text[0]],origin:ae.origin}),ae.removed=zn(ie,ae.from,ae.to),fe||(fe=Ms(ie,ae)),ie.cm?dc(ie.cm,ae,pe):ys(ie,ae,pe),Ll(ie,fe,It),ie.cantEdit&&uc(ie,Gt(ie.firstLine(),0))&&(ie.cantEdit=!1)}}function dc(ie,ae,fe){var pe=ie.doc,ye=ie.display,Be=ae.from,Xe=ae.to,qe=!1,ot=Be.line;ie.options.lineWrapping||(ot=bt(ao(In(pe,Be.line))),pe.iter(ot,Xe.line+1,function(_n){if(_n==ye.maxLine)return qe=!0,!0})),pe.sel.contains(ae.from,ae.to)>-1&&Mn(ie),ys(pe,ae,fe,rs(ie)),ie.options.lineWrapping||(pe.iter(ot,Be.line+ae.text.length,function(_n){var pi=ca(_n);pi>ye.maxLineLength&&(ye.maxLine=_n,ye.maxLineLength=pi,ye.maxLineChanged=!0,qe=!1)}),qe&&(ie.curOp.updateMaxLine=!0)),Hi(pe,Be.line),bi(ie,400);var Tt=ae.text.length-(Xe.line-Be.line)-1;ae.full?za(ie):Be.line==Xe.line&&ae.text.length==1&&!bs(ie.doc,ae)?qo(ie,Be.line,"text"):za(ie,Be.line,Xe.line+1,Tt);var mn=Zn(ie,"changes"),Rt=Zn(ie,"change");if(Rt||mn){var Qn={from:Be,to:Xe,text:ae.text,removed:ae.removed,origin:ae.origin};Rt&&$i(ie,"change",ie,Qn),mn&&(ie.curOp.changeObjs||(ie.curOp.changeObjs=[])).push(Qn)}ie.display.selForContextMenu=null}function Mc(ie,ae,fe,pe,ye){var Be;pe||(pe=fe),yn(pe,fe)<0&&(Be=[pe,fe],fe=Be[0],pe=Be[1]),typeof ae=="string"&&(ae=ie.splitLines(ae)),Ks(ie,{from:fe,to:pe,text:ae,origin:ye})}function ou(ie,ae,fe,pe){fe1||!(this.children[0]instanceof Ls))){var qe=[];this.collapse(qe),this.children=[new Ls(qe)],this.children[0].parent=this}},collapse:function(ie){for(var ae=0;ae50){for(var Xe=ye.lines.length%25+25,qe=Xe;qe10);ie.parent.maybeSpill()}},iterN:function(ie,ae,fe){for(var pe=0;peie.display.maxLineLength&&(ie.display.maxLine=Tt,ie.display.maxLineLength=mn,ie.display.maxLineChanged=!0)}pe!=null&&ie&&this.collapsed&&za(ie,pe,ye+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,ie&&Qu(ie.doc)),ie&&$i(ie,"markerCleared",ie,this,pe,ye),ae&&Tu(ie),this.parent&&this.parent.clear()}},pn.prototype.find=function(ie,ae){ie==null&&this.type=="bookmark"&&(ie=1);for(var fe,pe,ye=0;ye0||Xe==0&&Be.clearWhenEmpty!==!1)return Be;if(Be.replacedWith&&(Be.collapsed=!0,Be.widgetNode=Mt("span",[Be.replacedWith],"CodeMirror-widget"),pe.handleMouseEvents||Be.widgetNode.setAttribute("cm-ignore-events","true"),pe.insertLeft&&(Be.widgetNode.insertLeft=!0)),Be.collapsed){if(Uo(ie,ae.line,ae,fe,Be)||ae.line!=fe.line&&Uo(ie,fe.line,ae,fe,Be))throw new Error("Inserting collapsed marker partially overlapping an existing one");Fn()}Be.addToHistory&&Sa(ie,{from:ae,to:fe,origin:"markText"},ie.sel,NaN);var qe=ae.line,ot=ie.cm,Tt;if(ie.iter(qe,fe.line+1,function(Rt){ot&&Be.collapsed&&!ot.options.lineWrapping&&ao(Rt)==ot.display.maxLine&&(Tt=!0),Be.collapsed&&qe!=ae.line&&Rn(Rt,0),po(Rt,new kr(Be,qe==ae.line?ae.ch:null,qe==fe.line?fe.ch:null)),++qe}),Be.collapsed&&ie.iter(ae.line,fe.line+1,function(Rt){fi(ie,Rt)&&Rn(Rt,0)}),Be.clearOnEnter&&xt(Be,"beforeCursorEnter",function(){return Be.clear()}),Be.readOnly&&(Kr(),(ie.history.done.length||ie.history.undone.length)&&ie.clearHistory()),Be.collapsed&&(Be.id=++sh,Be.atomic=!0),ot){if(Tt&&(ot.curOp.updateMaxLine=!0),Be.collapsed)za(ot,ae.line,fe.line+1);else if(Be.className||Be.startStyle||Be.endStyle||Be.css||Be.attributes||Be.title)for(var mn=ae.line;mn<=fe.line;mn++)qo(ot,mn,"text");Be.atomic&&Qu(ot.doc),$i(ot,"markerAdded",ot,Be)}return Be}var Lc=function(ie,ae){this.markers=ie,this.primary=ae;for(var fe=0;fe=0;ot--)Ks(this,pe[ot]);qe?xa(this,qe):this.cm&&Ea(this.cm)}),undo:qn(function(){fu(this,"undo")}),redo:qn(function(){fu(this,"redo")}),undoSelection:qn(function(){fu(this,"undo",!0)}),redoSelection:qn(function(){fu(this,"redo",!0)}),setExtending:function(ie){this.extend=ie},getExtending:function(){return this.extend},historySize:function(){for(var ie=this.history,ae=0,fe=0,pe=0;pe=ie.ch)&&ae.push(ye.marker.parent||ye.marker)}return ae},findMarks:function(ie,ae,fe){ie=Bn(this,ie),ae=Bn(this,ae);var pe=[],ye=ie.line;return this.iter(ie.line,ae.line+1,function(Be){var Xe=Be.markedSpans;if(Xe)for(var qe=0;qe=ot.to||ot.from==null&&ye!=ie.line||ot.from!=null&&ye==ae.line&&ot.from>=ae.ch)&&(!fe||fe(ot.marker))&&pe.push(ot.marker.parent||ot.marker)}++ye}),pe},getAllMarks:function(){var ie=[];return this.iter(function(ae){var fe=ae.markedSpans;if(fe)for(var pe=0;peie)return ae=ie,!0;ie-=Be,++fe}),Bn(this,Gt(fe,ae))},indexFromPos:function(ie){ie=Bn(this,ie);var ae=ie.ch;if(ie.lineae&&(ae=ie.from),ie.to!=null&&ie.to-1){ae.state.draggingText(ie),setTimeout(function(){return ae.display.input.focus()},20);return}try{var mn=ie.dataTransfer.getData("Text");if(mn){var Rt;if(ae.state.draggingText&&!ae.state.draggingText.copy&&(Rt=ae.listSelections()),Ll(ae.doc,Jo(fe,fe)),Rt)for(var Qn=0;Qn=0;qe--)Mc(ie.doc,"",pe[qe].from,pe[qe].to,"+delete");Ea(ie)})}function Oh(ie,ae,fe){var pe=ft(ie.text,ae+fe,fe);return pe<0||pe>ie.text.length?null:pe}function El(ie,ae,fe){var pe=Oh(ie,ae.ch,fe);return pe==null?null:new Gt(ae.line,pe,fe<0?"after":"before")}function $a(ie,ae,fe,pe,ye){if(ie){ae.doc.direction=="rtl"&&(ye=-ye);var Be=Qe(fe,ae.doc.direction);if(Be){var Xe=ye<0?jt(Be):Be[0],qe=ye<0==(Xe.level==1),ot=qe?"after":"before",Tt;if(Xe.level>0||ae.doc.direction=="rtl"){var mn=bn(ae,fe);Tt=ye<0?fe.text.length-1:0;var Rt=_t(ae,mn,Tt).top;Tt=ct(function(Qn){return _t(ae,mn,Qn).top==Rt},ye<0==(Xe.level==1)?Xe.from:Xe.to-1,Tt),ot=="before"&&(Tt=Oh(fe,Tt,1))}else Tt=ye<0?Xe.to:Xe.from;return new Gt(pe,Tt,ot)}}return new Gt(pe,ye<0?fe.text.length:0,ye<0?"before":"after")}function Rs(ie,ae,fe,pe){var ye=Qe(ae,ie.doc.direction);if(!ye)return El(ae,fe,pe);fe.ch>=ae.text.length?(fe.ch=ae.text.length,fe.sticky="before"):fe.ch<=0&&(fe.ch=0,fe.sticky="after");var Be=xe(ye,fe.ch,fe.sticky),Xe=ye[Be];if(ie.doc.direction=="ltr"&&Xe.level%2==0&&(pe>0?Xe.to>fe.ch:Xe.from=Xe.from&&Qn>=mn.begin)){var _n=Rt?"before":"after";return new Gt(fe.line,Qn,_n)}}var pi=function(ar,Nr,Er){for(var $r=function(oi,us){return us?new Gt(fe.line,qe(oi,1),"before"):new Gt(fe.line,oi,"after")};ar>=0&&ar0==(Hn.level!=1),$o=Cr?Er.begin:qe(Er.end,-1);if(Hn.from<=$o&&$o0?mn.end:qe(mn.begin,-1);return ki!=null&&!(pe>0&&ki==ae.text.length)&&(Ci=pi(pe>0?0:ye.length-1,pe,Tt(ki)),Ci)?Ci:null}var Zl={selectAll:qa,singleSelection:function(ie){return ie.setSelection(ie.getCursor("anchor"),ie.getCursor("head"),It)},killLine:function(ie){return au(ie,function(ae){if(ae.empty()){var fe=In(ie.doc,ae.head.line).text.length;return ae.head.ch==fe&&ae.head.line0)ye=new Gt(ye.line,ye.ch+1),ie.replaceRange(Be.charAt(ye.ch-1)+Be.charAt(ye.ch-2),Gt(ye.line,ye.ch-2),ye,"+transpose");else if(ye.line>ie.doc.first){var Xe=In(ie.doc,ye.line-1).text;Xe&&(ye=new Gt(ye.line,1),ie.replaceRange(Be.charAt(0)+ie.doc.lineSeparator()+Xe.charAt(Xe.length-1),Gt(ye.line-1,Xe.length-1),ye,"+transpose"))}}fe.push(new Or(ye,ye))}ie.setSelections(fe)})},newlineAndIndent:function(ie){return xn(ie,function(){for(var ae=ie.listSelections(),fe=ae.length-1;fe>=0;fe--)ie.replaceRange(ie.doc.lineSeparator(),ae[fe].anchor,ae[fe].head,"+input");ae=ie.listSelections();for(var pe=0;peie&&yn(ae,this.pos)==0&&fe==this.button};var fh,xd;function fl(ie,ae){var fe=+new Date;return xd&&xd.compare(fe,ie,ae)?(fh=xd=null,"triple"):fh&&fh.compare(fe,ie,ae)?(xd=new ag(fe,ie,ae),fh=null,"double"):(fh=new ag(fe,ie,ae),xd=null,"single")}function sd(ie){var ae=this,fe=ae.display;if(!(nn(ae,ie)||fe.activeTouch&&fe.input.supportsTouch())){if(fe.input.ensurePolled(),fe.shift=ie.shiftKey,$l(fe,ie)){Ee||(fe.scroller.draggable=!1,setTimeout(function(){return fe.scroller.draggable=!0},100));return}if(!Gg(ae,ie)){var pe=Fa(ae,ie),ye=dr(ie),Be=pe?fl(pe,ye):"single";window.focus(),ye==1&&ae.state.selectingText&&ae.state.selectingText(ie),!(pe&&Rh(ae,ye,pe,Be,ie))&&(ye==1?pe?gf(ae,pe,Be,ie):lr(ie)==fe.scroller&&xi(ie):ye==2?(pe&&Za(ae.doc,pe),setTimeout(function(){return fe.input.focus()},20)):ye==3&&(ke?ae.display.input.onContextMenu(ie):os(ae)))}}}function Rh(ie,ae,fe,pe,ye){var Be="Click";return pe=="double"?Be="Double"+Be:pe=="triple"&&(Be="Triple"+Be),Be=(ae==1?"Left":ae==2?"Middle":"Right")+Be,od(ie,Dh(Be,ye),ye,function(Xe){if(typeof Xe=="string"&&(Xe=Zl[Xe]),!Xe)return!1;var qe=!1;try{ie.isReadOnly()&&(ie.state.suppressEdits=!0),qe=Xe(ie,fe)!=sn}finally{ie.state.suppressEdits=!1}return qe})}function sg(ie,ae,fe){var pe=ie.getOption("configureMouse"),ye=pe?pe(ie,ae,fe):{};if(ye.unit==null){var Be=ue?fe.shiftKey&&fe.metaKey:fe.altKey;ye.unit=Be?"rectangle":ae=="single"?"char":ae=="double"?"word":"line"}return(ye.extend==null||ie.doc.extend)&&(ye.extend=ie.doc.extend||fe.shiftKey),ye.addNew==null&&(ye.addNew=ge?fe.metaKey:fe.ctrlKey),ye.moveOnDrag==null&&(ye.moveOnDrag=!(ge?fe.altKey:fe.ctrlKey)),ye}function gf(ie,ae,fe,pe){De?setTimeout(fn(ms,ie),0):ie.curOp.focus=Pt();var ye=sg(ie,fe,pe),Be=ie.doc.sel,Xe;ie.options.dragDrop&&ur&&!ie.isReadOnly()&&fe=="single"&&(Xe=Be.contains(ae))>-1&&(yn((Xe=Be.ranges[Xe]).from(),ae)<0||ae.xRel>0)&&(yn(Xe.to(),ae)>0||ae.xRel<0)?Ug(ie,pe,ae,ye):Lp(ie,pe,ae,ye)}function Ug(ie,ae,fe,pe){var ye=ie.display,Be=!1,Xe=ri(ie,function(Tt){Ee&&(ye.scroller.draggable=!1),ie.state.draggingText=!1,Pn(ye.wrapper.ownerDocument,"mouseup",Xe),Pn(ye.wrapper.ownerDocument,"mousemove",qe),Pn(ye.scroller,"dragstart",ot),Pn(ye.scroller,"drop",Xe),Be||(xi(Tt),pe.addNew||Za(ie.doc,fe,null,null,pe.extend),Ee&&!tt||De&&Ke==9?setTimeout(function(){ye.wrapper.ownerDocument.body.focus({preventScroll:!0}),ye.input.focus()},20):ye.input.focus())}),qe=function(Tt){Be=Be||Math.abs(ae.clientX-Tt.clientX)+Math.abs(ae.clientY-Tt.clientY)>=10},ot=function(){return Be=!0};Ee&&(ye.scroller.draggable=!0),ie.state.draggingText=Xe,Xe.copy=!pe.moveOnDrag,ye.scroller.dragDrop&&ye.scroller.dragDrop(),xt(ye.wrapper.ownerDocument,"mouseup",Xe),xt(ye.wrapper.ownerDocument,"mousemove",qe),xt(ye.scroller,"dragstart",ot),xt(ye.scroller,"drop",Xe),os(ie),setTimeout(function(){return ye.input.focus()},20)}function _g(ie,ae,fe){if(fe=="char")return new Or(ae,ae);if(fe=="word")return ie.findWordAt(ae);if(fe=="line")return new Or(Gt(ae.line,0),Bn(ie.doc,Gt(ae.line+1,0)));var pe=fe(ie,ae);return new Or(pe.from,pe.to)}function Lp(ie,ae,fe,pe){var ye=ie.display,Be=ie.doc;xi(ae);var Xe,qe,ot=Be.sel,Tt=ot.ranges;if(pe.addNew&&!pe.extend?(qe=Be.sel.contains(fe),qe>-1?Xe=Tt[qe]:Xe=new Or(fe,fe)):(Xe=Be.sel.primary(),qe=Be.sel.primIndex),pe.unit=="rectangle")pe.addNew||(Xe=new Or(fe,fe)),fe=Fa(ie,ae,!0,!0),qe=-1;else{var mn=_g(ie,fe,pe.unit);pe.extend?Xe=Hc(Xe,mn.anchor,mn.head,pe.extend):Xe=mn}pe.addNew?qe==-1?(qe=Tt.length,ws(Be,Qo(ie,Tt.concat([Xe]),qe),{scroll:!1,origin:"*mouse"})):Tt.length>1&&Tt[qe].empty()&&pe.unit=="char"&&!pe.extend?(ws(Be,Qo(ie,Tt.slice(0,qe).concat(Tt.slice(qe+1)),0),{scroll:!1,origin:"*mouse"}),ot=Be.sel):Ss(Be,qe,Xe,en):(qe=0,ws(Be,new jo([Xe],0),en),ot=Be.sel);var Rt=fe;function Qn(Er){if(yn(Rt,Er)!=0)if(Rt=Er,pe.unit=="rectangle"){for(var $r=[],Hn=ie.options.tabSize,Cr=it(In(Be,fe.line).text,fe.ch,Hn),$o=it(In(Be,Er.line).text,Er.ch,Hn),oi=Math.min(Cr,$o),us=Math.max(Cr,$o),Xa=Math.min(fe.line,Er.line),pl=Math.min(ie.lastLine(),Math.max(fe.line,Er.line));Xa<=pl;Xa++){var ml=In(Be,Xa).text,Va=ei(ml,oi,Hn);oi==us?$r.push(new Or(Gt(Xa,Va),Gt(Xa,Va))):ml.length>Va&&$r.push(new Or(Gt(Xa,Va),Gt(Xa,ei(ml,us,Hn))))}$r.length||$r.push(new Or(fe,fe)),ws(Be,Qo(ie,ot.ranges.slice(0,qe).concat($r),qe),{origin:"*mouse",scroll:!1}),ie.scrollIntoView(Er)}else{var ll=Xe,Xs=_g(ie,Er,pe.unit),ha=ll.anchor,Ca;yn(Xs.anchor,ha)>0?(Ca=Xs.head,ha=gn(ll.from(),Xs.anchor)):(Ca=Xs.anchor,ha=wn(ll.to(),Xs.head));var Ts=ot.ranges.slice(0);Ts[qe]=zf(ie,new Or(Bn(Be,ha),Ca)),ws(Be,Qo(ie,Ts,qe),en)}}var _n=ye.wrapper.getBoundingClientRect(),pi=0;function Ci(Er){var $r=++pi,Hn=Fa(ie,Er,!0,pe.unit=="rectangle");if(Hn)if(yn(Hn,Rt)!=0){ie.curOp.focus=Pt(),Qn(Hn);var Cr=pa(ye,Be);(Hn.line>=Cr.to||Hn.line_n.bottom?20:0;$o&&setTimeout(ri(ie,function(){pi==$r&&(ye.scroller.scrollTop+=$o,Ci(Er))}),50)}}function ki(Er){ie.state.selectingText=!1,pi=1/0,Er&&(xi(Er),ye.input.focus()),Pn(ye.wrapper.ownerDocument,"mousemove",ar),Pn(ye.wrapper.ownerDocument,"mouseup",Nr),Be.history.lastSelOrigin=null}var ar=ri(ie,function(Er){Er.buttons===0||!dr(Er)?ki(Er):Ci(Er)}),Nr=ri(ie,ki);ie.state.selectingText=Nr,xt(ye.wrapper.ownerDocument,"mousemove",ar),xt(ye.wrapper.ownerDocument,"mouseup",Nr)}function zf(ie,ae){var fe=ae.anchor,pe=ae.head,ye=In(ie.doc,fe.line);if(yn(fe,pe)==0&&fe.sticky==pe.sticky)return ae;var Be=Qe(ye);if(!Be)return ae;var Xe=xe(Be,fe.ch,fe.sticky),qe=Be[Xe];if(qe.from!=fe.ch&&qe.to!=fe.ch)return ae;var ot=Xe+(qe.from==fe.ch==(qe.level!=1)?0:1);if(ot==0||ot==Be.length)return ae;var Tt;if(pe.line!=fe.line)Tt=(pe.line-fe.line)*(ie.doc.direction=="ltr"?1:-1)>0;else{var mn=xe(Be,pe.ch,pe.sticky),Rt=mn-Xe||(pe.ch-fe.ch)*(qe.level==1?-1:1);mn==ot-1||mn==ot?Tt=Rt<0:Tt=Rt>0}var Qn=Be[ot+(Tt?-1:0)],_n=Tt==(Qn.level==1),pi=_n?Qn.from:Qn.to,Ci=_n?"after":"before";return fe.ch==pi&&fe.sticky==Ci?ae:new Or(new Gt(fe.line,pi,Ci),pe)}function ff(ie,ae,fe,pe){var ye,Be;if(ae.touches)ye=ae.touches[0].clientX,Be=ae.touches[0].clientY;else try{ye=ae.clientX,Be=ae.clientY}catch(Qn){return!1}if(ye>=Math.floor(ie.display.gutters.getBoundingClientRect().right))return!1;pe&&xi(ae);var Xe=ie.display,qe=Xe.lineDiv.getBoundingClientRect();if(Be>qe.bottom||!Zn(ie,fe))return Si(ae);Be-=qe.top-Xe.viewOffset;for(var ot=0;ot=ye){var mn=Ut(ie.doc,Be),Rt=ie.display.gutterSpecs[ot];return wt(ie,fe,ie,mn,Rt.className,ae),Si(ae)}}}function Gg(ie,ae){return ff(ie,ae,"gutterClick",!0)}function ss(ie,ae){$l(ie.display,ae)||Hg(ie,ae)||nn(ie,ae,"contextmenu")||ke||ie.display.input.onContextMenu(ae)}function Hg(ie,ae){return Zn(ie,"gutterContextMenu")?ff(ie,ae,"gutterContextMenu",!1):!1}function Fh(ie){ie.display.wrapper.className=ie.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+ie.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ro(ie)}var ph={toString:function(){return"CodeMirror.Init"}},pf={},lg={};function Uf(ie){var ae=ie.optionHandlers;function fe(pe,ye,Be,Xe){ie.defaults[pe]=ye,Be&&(ae[pe]=Xe?function(qe,ot,Tt){Tt!=ph&&Be(qe,ot,Tt)}:Be)}ie.defineOption=fe,ie.Init=ph,fe("value","",function(pe,ye){return pe.setValue(ye)},!0),fe("mode",null,function(pe,ye){pe.doc.modeOption=ye,No(pe)},!0),fe("indentUnit",2,No,!0),fe("indentWithTabs",!1),fe("smartIndent",!0),fe("tabSize",4,function(pe){Ba(pe),ro(pe),za(pe)},!0),fe("lineSeparator",null,function(pe,ye){if(pe.doc.lineSep=ye,!!ye){var Be=[],Xe=pe.doc.first;pe.doc.iter(function(ot){for(var Tt=0;;){var mn=ot.text.indexOf(ye,Tt);if(mn==-1)break;Tt=mn+ye.length,Be.push(Gt(Xe,mn))}Xe++});for(var qe=Be.length-1;qe>=0;qe--)Mc(pe.doc,ye,Be[qe],Gt(Be[qe].line,Be[qe].ch+ye.length))}}),fe("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(pe,ye,Be){pe.state.specialChars=new RegExp(ye.source+(ye.test(" ")?"":"| "),"g"),Be!=ph&&pe.refresh()}),fe("specialCharPlaceholder",gs,function(pe){return pe.refresh()},!0),fe("electricChars",!0),fe("inputStyle",ne?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),fe("spellcheck",!1,function(pe,ye){return pe.getInputField().spellcheck=ye},!0),fe("autocorrect",!1,function(pe,ye){return pe.getInputField().autocorrect=ye},!0),fe("autocapitalize",!1,function(pe,ye){return pe.getInputField().autocapitalize=ye},!0),fe("rtlMoveVisually",!me),fe("wholeLineUpdateBefore",!0),fe("theme","default",function(pe){Fh(pe),Hr(pe)},!0),fe("keyMap","default",function(pe,ye,Be){var Xe=Ou(ye),qe=Be!=ph&&Ou(Be);qe&&qe.detach&&qe.detach(pe,Xe),Xe.attach&&Xe.attach(pe,qe||null)}),fe("extraKeys",null),fe("configureMouse",null),fe("lineWrapping",!1,_f,!0),fe("gutters",[],function(pe,ye){pe.display.gutterSpecs=mo(ye,pe.options.lineNumbers),Hr(pe)},!0),fe("fixedGutter",!0,function(pe,ye){pe.display.gutters.style.left=ye?Vu(pe.display)+"px":"0",pe.refresh()},!0),fe("coverGutterNextToScrollbar",!1,function(pe){return Nc(pe)},!0),fe("scrollbarStyle","native",function(pe){xc(pe),Nc(pe),pe.display.scrollbars.setScrollTop(pe.doc.scrollTop),pe.display.scrollbars.setScrollLeft(pe.doc.scrollLeft)},!0),fe("lineNumbers",!1,function(pe,ye){pe.display.gutterSpecs=mo(pe.options.gutters,ye),Hr(pe)},!0),fe("firstLineNumber",1,Hr,!0),fe("lineNumberFormatter",function(pe){return pe},Hr,!0),fe("showCursorWhenSelecting",!1,Sl,!0),fe("resetSelectionOnContextMenu",!0),fe("lineWiseCopyCut",!0),fe("pasteLinesPerSelection",!0),fe("selectionsMayTouch",!1),fe("readOnly",!1,function(pe,ye){ye=="nocursor"&&(Ku(pe),pe.display.input.blur()),pe.display.input.readOnlyChanged(ye)}),fe("screenReaderLabel",null,function(pe,ye){ye=ye===""?null:ye,pe.display.input.screenReaderLabelChanged(ye)}),fe("disableInput",!1,function(pe,ye){ye||pe.display.input.reset()},!0),fe("dragDrop",!0,Wg),fe("allowDropFileTypes",null),fe("cursorBlinkRate",530),fe("cursorScrollMargin",0),fe("cursorHeight",1,Sl,!0),fe("singleCursorHeightPerLine",!0,Sl,!0),fe("workTime",100),fe("workDelay",100),fe("flattenSpans",!0,Ba,!0),fe("addModeClass",!1,Ba,!0),fe("pollInterval",100),fe("undoDepth",200,function(pe,ye){return pe.doc.history.undoDepth=ye}),fe("historyEventDelay",1250),fe("viewportMargin",10,function(pe){return pe.refresh()},!0),fe("maxHighlightLength",1e4,Ba,!0),fe("moveInputWithCursor",!0,function(pe,ye){ye||pe.display.input.resetPosition()}),fe("tabindex",null,function(pe,ye){return pe.display.input.getField().tabIndex=ye||""}),fe("autofocus",null),fe("direction","ltr",function(pe,ye){return pe.doc.setDirection(ye)},!0),fe("phrases",null)}function Wg(ie,ae,fe){var pe=fe&&fe!=ph;if(!ae!=!pe){var ye=ie.display.dragFunctions,Be=ae?xt:Pn;Be(ie.display.scroller,"dragstart",ye.start),Be(ie.display.scroller,"dragenter",ye.enter),Be(ie.display.scroller,"dragover",ye.over),Be(ie.display.scroller,"dragleave",ye.leave),Be(ie.display.scroller,"drop",ye.drop)}}function _f(ie){ie.options.lineWrapping?(dn(ie.display.wrapper,"CodeMirror-wrap"),ie.display.sizer.style.minWidth="",ie.display.sizerWidth=null):(We(ie.display.wrapper,"CodeMirror-wrap"),oa(ie)),Eo(ie),za(ie),ro(ie),setTimeout(function(){return Nc(ie)},100)}function ls(ie,ae){var fe=this;if(!(this instanceof ls))return new ls(ie,ae);this.options=ae=ae?an(ae):{},an(pf,ae,!1);var pe=ae.value;typeof pe=="string"?pe=new Gl(pe,ae.mode,null,ae.lineSeparator,ae.direction):ae.mode&&(pe.modeOption=ae.mode),this.doc=pe;var ye=new ls.inputStyles[ae.inputStyle](this),Be=this.display=new uo(ie,pe,ye,ae);Be.wrapper.CodeMirror=this,Fh(this),ae.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),xc(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Ve,keySeq:null,specialChars:null},ae.autofocus&&!ne&&Be.input.focus(),De&&Ke<11&&setTimeout(function(){return fe.display.input.reset(!0)},20),Bh(this),ku(),Ul(this),this.curOp.forceUpdate=!0,_o(this,pe),ae.autofocus&&!ne||this.hasFocus()?setTimeout(function(){fe.hasFocus()&&!fe.state.focused&&ya(fe)},20):Ku(this);for(var Xe in lg)lg.hasOwnProperty(Xe)&&lg[Xe](this,ae[Xe],ph);Tr(this),ae.finishInit&&ae.finishInit(this);for(var qe=0;qe20*20}xt(ae.scroller,"touchstart",function(ot){if(!nn(ie,ot)&&!Be(ot)&&!Gg(ie,ot)){ae.input.ensurePolled(),clearTimeout(fe);var Tt=+new Date;ae.activeTouch={start:Tt,moved:!1,prev:Tt-pe.end<=300?pe:null},ot.touches.length==1&&(ae.activeTouch.left=ot.touches[0].pageX,ae.activeTouch.top=ot.touches[0].pageY)}}),xt(ae.scroller,"touchmove",function(){ae.activeTouch&&(ae.activeTouch.moved=!0)}),xt(ae.scroller,"touchend",function(ot){var Tt=ae.activeTouch;if(Tt&&!$l(ae,ot)&&Tt.left!=null&&!Tt.moved&&new Date-Tt.start<300){var mn=ie.coordsChar(ae.activeTouch,"page"),Rt;!Tt.prev||Xe(Tt,Tt.prev)?Rt=new Or(mn,mn):!Tt.prev.prev||Xe(Tt,Tt.prev.prev)?Rt=ie.findWordAt(mn):Rt=new Or(Gt(mn.line,0),Bn(ie.doc,Gt(mn.line+1,0))),ie.setSelection(Rt.anchor,Rt.head),ie.focus(),xi(ot)}ye()}),xt(ae.scroller,"touchcancel",ye),xt(ae.scroller,"scroll",function(){ae.scroller.clientHeight&&(Ac(ie,ae.scroller.scrollTop),$u(ie,ae.scroller.scrollLeft,!0),wt(ie,"scroll",ie))}),xt(ae.scroller,"mousewheel",function(ot){return Ro(ie,ot)}),xt(ae.scroller,"DOMMouseScroll",function(ot){return Ro(ie,ot)}),xt(ae.wrapper,"scroll",function(){return ae.wrapper.scrollTop=ae.wrapper.scrollLeft=0}),ae.dragFunctions={enter:function(ot){nn(ie,ot)||Ri(ot)},over:function(ot){nn(ie,ot)||(rg(ie,ot),Ri(ot))},start:function(ot){return lh(ie,ot)},drop:ri(ie,Th),leave:function(ot){nn(ie,ot)||Og(ie)}};var qe=ae.input.getField();xt(qe,"keyup",function(ot){return hf.call(ie,ot)}),xt(qe,"keydown",ri(ie,df)),xt(qe,"keypress",ri(ie,ad)),xt(qe,"focus",function(ot){return ya(ie,ot)}),xt(qe,"blur",function(ot){return Ku(ie,ot)})}var Kd=[];ls.defineInitHook=function(ie){return Kd.push(ie)};function Xl(ie,ae,fe,pe){var ye=ie.doc,Be;fe==null&&(fe="add"),fe=="smart"&&(ye.mode.indent?Be=zi(ie,ae).state:fe="prev");var Xe=ie.options.tabSize,qe=In(ye,ae),ot=it(qe.text,null,Xe);qe.stateAfter&&(qe.stateAfter=null);var Tt=qe.text.match(/^\s*/)[0],mn;if(!pe&&!/\S/.test(qe.text))mn=0,fe="not";else if(fe=="smart"&&(mn=ye.mode.indent(Be,qe.text.slice(Tt.length),qe.text),mn==sn||mn>150)){if(!pe)return;fe="prev"}fe=="prev"?ae>ye.first?mn=it(In(ye,ae-1).text,null,Xe):mn=0:fe=="add"?mn=ot+ie.options.indentUnit:fe=="subtract"?mn=ot-ie.options.indentUnit:typeof fe=="number"&&(mn=ot+fe),mn=Math.max(0,mn);var Rt="",Qn=0;if(ie.options.indentWithTabs)for(var _n=Math.floor(mn/Xe);_n;--_n)Qn+=Xe,Rt+=" ";if(QnXe,ot=Yi(ae),Tt=null;if(qe&&pe.ranges.length>1)if(Ru&&Ru.text.join(` +`)==ae){if(pe.ranges.length%Ru.text.length==0){Tt=[];for(var mn=0;mn=0;Qn--){var _n=pe.ranges[Qn],pi=_n.from(),Ci=_n.to();_n.empty()&&(fe&&fe>0?pi=Gt(pi.line,pi.ch-fe):ie.state.overwrite&&!qe?Ci=Gt(Ci.line,Math.min(In(Be,Ci.line).text.length,Ci.ch+jt(ot).length)):qe&&Ru&&Ru.lineWise&&Ru.text.join(` `)==ot.join(` -`)&&(pi=Ci=_t(pi.line,0)));var ki={from:pi,to:Ci,text:Tt?Tt[Qn%Tt.length]:ot,origin:ye||(qe?"paste":ie.state.cutIncoming>Xe?"cut":"+input")};Ks(ie.doc,ki),$i(ie,"inputRead",ie,ki)}ae&&!qe&&cg(ie,ae),Ea(ie),ie.curOp.updateInput<2&&(ie.curOp.updateInput=Rt),ie.curOp.typing=!0,ie.state.pasteIncoming=ie.state.cutIncoming=-1}function Zg(ie,ae){var fe=ie.clipboardData&&ie.clipboardData.getData("Text");if(fe)return ie.preventDefault(),!ae.isReadOnly()&&!ae.options.disableInput&&xn(ae,function(){return ug(ae,fe,0,null,"paste")}),!0}function cg(ie,ae){if(!(!ie.options.electricChars||!ie.options.smartIndent))for(var fe=ie.doc.sel,pe=fe.ranges.length-1;pe>=0;pe--){var ye=fe.ranges[pe];if(!(ye.head.ch>100||pe&&fe.ranges[pe-1].head.line==ye.head.line)){var Be=ie.getModeAt(ye.head),Xe=!1;if(Be.electricChars){for(var qe=0;qe-1){Xe=Xl(ie,ye.head.line,"smart");break}}else Be.electricInput&&Be.electricInput.test(In(ie.doc,ye.head.line).text.slice(0,ye.head.ch))&&(Xe=Xl(ie,ye.head.line,"smart"));Xe&&$i(ie,"electricInput",ie,ye.head.line)}}}function dg(ie){for(var ae=[],fe=[],pe=0;peBe&&(Xl(this,qe.head.line,pe,!0),Be=qe.head.line,Xe==this.doc.sel.primIndex&&Ea(this));else{var ot=qe.from(),Tt=qe.to(),mn=Math.max(Be,ot.line);Be=Math.min(this.lastLine(),Tt.line-(Tt.ch?0:1))+1;for(var Rt=mn;Rt0&&Ss(this.doc,Xe,new Or(ot,Qn[Xe].to()),It)}}}),getTokenAt:function(pe,ye){return hr(this,pe,ye)},getLineTokens:function(pe,ye){return hr(this,_t(pe),ye,!0)},getTokenTypeAt:function(pe){pe=Bn(this.doc,pe);var ye=ir(this,In(this.doc,pe.line)),Be=0,Xe=(ye.length-1)/2,qe=pe.ch,ot;if(qe==0)ot=ye[2];else for(;;){var Tt=Be+Xe>>1;if((Tt?ye[Tt*2-1]:0)>=qe)Xe=Tt;else if(ye[Tt*2+1]ot&&(pe=ot,Xe=!0),qe=In(this.doc,pe)}else qe=pe;return Bo(this,qe,{top:0,left:0},ye||"page",Be||Xe).top+(Xe?this.doc.height-ua(qe):0)},defaultTextHeight:function(){return Os(this.display)},defaultCharWidth:function(){return nu(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(pe,ye,Be,Xe,qe){var ot=this.display;pe=ka(this,Bn(this.doc,pe));var Tt=pe.bottom,mn=pe.left;if(ye.style.position="absolute",ye.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ye),ot.sizer.appendChild(ye),Xe=="over")Tt=pe.top;else if(Xe=="above"||Xe=="near"){var Rt=Math.max(ot.wrapper.clientHeight,this.doc.height),Qn=Math.max(ot.sizer.clientWidth,ot.lineSpace.clientWidth);(Xe=="above"||pe.bottom+ye.offsetHeight>Rt)&&pe.top>ye.offsetHeight?Tt=pe.top-ye.offsetHeight:pe.bottom+ye.offsetHeight<=Rt&&(Tt=pe.bottom),mn+ye.offsetWidth>Qn&&(mn=Qn-ye.offsetWidth)}ye.style.top=Tt+"px",ye.style.left=ye.style.right="",qe=="right"?(mn=ot.sizer.clientWidth-ye.offsetWidth,ye.style.right="0px"):(qe=="left"?mn=0:qe=="middle"&&(mn=(ot.sizer.clientWidth-ye.offsetWidth)/2),ye.style.left=mn+"px"),Be&&jl(this,{left:mn,top:Tt,right:mn+ye.offsetWidth,bottom:Tt+ye.offsetHeight})},triggerOnKeyDown:ai(df),triggerOnKeyPress:ai(ad),triggerOnKeyUp:hf,triggerOnMouseDown:ai(sd),execCommand:function(pe){if(Zl.hasOwnProperty(pe))return Zl[pe].call(null,this)},triggerElectric:ai(function(pe){cg(this,pe)}),findPosH:function(pe,ye,Be,Xe){var qe=1;ye<0&&(qe=-1,ye=-ye);for(var ot=Bn(this.doc,pe),Tt=0;Tt0&&mn(Be.charAt(Xe-1));)--Xe;for(;qe.5||this.options.lineWrapping)&&Eo(this),wt(this,"refresh",this)}),swapDoc:ai(function(pe){var ye=this.doc;return ye.cm=null,this.state.selectingText&&this.state.selectingText(),_o(this,pe),ro(this),this.display.input.reset(),zs(this,pe.scrollLeft,pe.scrollTop),this.curOp.forceScroll=!0,$i(this,"swapDoc",this,ye),ye}),phrase:function(pe){var ye=this.options.phrases;return ye&&Object.prototype.hasOwnProperty.call(ye,pe)?ye[pe]:pe},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},li(ie),ie.registerHelper=function(pe,ye,Be){fe.hasOwnProperty(pe)||(fe[pe]=ie[pe]={_global:[]}),fe[pe][ye]=Be},ie.registerGlobalHelper=function(pe,ye,Be,Xe){ie.registerHelper(pe,ye,Xe),fe[pe]._global.push({pred:Be,val:Xe})}}function Me(ie,ae,fe,pe,ye){var Be=ae,Xe=fe,qe=In(ie,ae.line),ot=ye&&ie.direction=="rtl"?-fe:fe;function Tt(){var Nr=ae.line+ot;return Nr=ie.first+ie.size?!1:(ae=new _t(Nr,ae.ch,ae.sticky),qe=In(ie,Nr))}function mn(Nr){var Er;if(pe=="codepoint"){var $r=qe.text.charCodeAt(ae.ch+(pe>0?0:-1));isNaN($r)?Er=null:Er=new _t(ae.line,Math.max(0,Math.min(qe.text.length,ae.ch+fe*($r>=55296&&$r<56320?2:1))),-fe)}else ye?Er=Rs(ie.cm,qe,ae,fe):Er=El(qe,ae,fe);if(Er==null)if(!Nr&&Tt())ae=$a(ye,ie.cm,qe,ae.line,ot);else return!1;else ae=Er;return!0}if(pe=="char"||pe=="codepoint")mn();else if(pe=="column")mn(!0);else if(pe=="word"||pe=="group")for(var Rt=null,Qn=pe=="group",_n=ie.cm&&ie.cm.getHelper(ae,"wordChars"),pi=!0;!(fe<0&&!mn(!pi));pi=!1){var Ci=qe.text.charAt(ae.ch)||` +`)&&(pi=Ci=Gt(pi.line,0)));var ki={from:pi,to:Ci,text:Tt?Tt[Qn%Tt.length]:ot,origin:ye||(qe?"paste":ie.state.cutIncoming>Xe?"cut":"+input")};Ks(ie.doc,ki),$i(ie,"inputRead",ie,ki)}ae&&!qe&&cg(ie,ae),Ea(ie),ie.curOp.updateInput<2&&(ie.curOp.updateInput=Rt),ie.curOp.typing=!0,ie.state.pasteIncoming=ie.state.cutIncoming=-1}function Zg(ie,ae){var fe=ie.clipboardData&&ie.clipboardData.getData("Text");if(fe)return ie.preventDefault(),!ae.isReadOnly()&&!ae.options.disableInput&&xn(ae,function(){return ug(ae,fe,0,null,"paste")}),!0}function cg(ie,ae){if(!(!ie.options.electricChars||!ie.options.smartIndent))for(var fe=ie.doc.sel,pe=fe.ranges.length-1;pe>=0;pe--){var ye=fe.ranges[pe];if(!(ye.head.ch>100||pe&&fe.ranges[pe-1].head.line==ye.head.line)){var Be=ie.getModeAt(ye.head),Xe=!1;if(Be.electricChars){for(var qe=0;qe-1){Xe=Xl(ie,ye.head.line,"smart");break}}else Be.electricInput&&Be.electricInput.test(In(ie.doc,ye.head.line).text.slice(0,ye.head.ch))&&(Xe=Xl(ie,ye.head.line,"smart"));Xe&&$i(ie,"electricInput",ie,ye.head.line)}}}function dg(ie){for(var ae=[],fe=[],pe=0;peBe&&(Xl(this,qe.head.line,pe,!0),Be=qe.head.line,Xe==this.doc.sel.primIndex&&Ea(this));else{var ot=qe.from(),Tt=qe.to(),mn=Math.max(Be,ot.line);Be=Math.min(this.lastLine(),Tt.line-(Tt.ch?0:1))+1;for(var Rt=mn;Rt0&&Ss(this.doc,Xe,new Or(ot,Qn[Xe].to()),It)}}}),getTokenAt:function(pe,ye){return hr(this,pe,ye)},getLineTokens:function(pe,ye){return hr(this,Gt(pe),ye,!0)},getTokenTypeAt:function(pe){pe=Bn(this.doc,pe);var ye=ir(this,In(this.doc,pe.line)),Be=0,Xe=(ye.length-1)/2,qe=pe.ch,ot;if(qe==0)ot=ye[2];else for(;;){var Tt=Be+Xe>>1;if((Tt?ye[Tt*2-1]:0)>=qe)Xe=Tt;else if(ye[Tt*2+1]ot&&(pe=ot,Xe=!0),qe=In(this.doc,pe)}else qe=pe;return Bo(this,qe,{top:0,left:0},ye||"page",Be||Xe).top+(Xe?this.doc.height-ua(qe):0)},defaultTextHeight:function(){return Os(this.display)},defaultCharWidth:function(){return nu(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(pe,ye,Be,Xe,qe){var ot=this.display;pe=ka(this,Bn(this.doc,pe));var Tt=pe.bottom,mn=pe.left;if(ye.style.position="absolute",ye.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ye),ot.sizer.appendChild(ye),Xe=="over")Tt=pe.top;else if(Xe=="above"||Xe=="near"){var Rt=Math.max(ot.wrapper.clientHeight,this.doc.height),Qn=Math.max(ot.sizer.clientWidth,ot.lineSpace.clientWidth);(Xe=="above"||pe.bottom+ye.offsetHeight>Rt)&&pe.top>ye.offsetHeight?Tt=pe.top-ye.offsetHeight:pe.bottom+ye.offsetHeight<=Rt&&(Tt=pe.bottom),mn+ye.offsetWidth>Qn&&(mn=Qn-ye.offsetWidth)}ye.style.top=Tt+"px",ye.style.left=ye.style.right="",qe=="right"?(mn=ot.sizer.clientWidth-ye.offsetWidth,ye.style.right="0px"):(qe=="left"?mn=0:qe=="middle"&&(mn=(ot.sizer.clientWidth-ye.offsetWidth)/2),ye.style.left=mn+"px"),Be&&jl(this,{left:mn,top:Tt,right:mn+ye.offsetWidth,bottom:Tt+ye.offsetHeight})},triggerOnKeyDown:ai(df),triggerOnKeyPress:ai(ad),triggerOnKeyUp:hf,triggerOnMouseDown:ai(sd),execCommand:function(pe){if(Zl.hasOwnProperty(pe))return Zl[pe].call(null,this)},triggerElectric:ai(function(pe){cg(this,pe)}),findPosH:function(pe,ye,Be,Xe){var qe=1;ye<0&&(qe=-1,ye=-ye);for(var ot=Bn(this.doc,pe),Tt=0;Tt0&&mn(Be.charAt(Xe-1));)--Xe;for(;qe.5||this.options.lineWrapping)&&Eo(this),wt(this,"refresh",this)}),swapDoc:ai(function(pe){var ye=this.doc;return ye.cm=null,this.state.selectingText&&this.state.selectingText(),_o(this,pe),ro(this),this.display.input.reset(),zs(this,pe.scrollLeft,pe.scrollTop),this.curOp.forceScroll=!0,$i(this,"swapDoc",this,ye),ye}),phrase:function(pe){var ye=this.options.phrases;return ye&&Object.prototype.hasOwnProperty.call(ye,pe)?ye[pe]:pe},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},li(ie),ie.registerHelper=function(pe,ye,Be){fe.hasOwnProperty(pe)||(fe[pe]=ie[pe]={_global:[]}),fe[pe][ye]=Be},ie.registerGlobalHelper=function(pe,ye,Be,Xe){ie.registerHelper(pe,ye,Xe),fe[pe]._global.push({pred:Be,val:Xe})}}function Me(ie,ae,fe,pe,ye){var Be=ae,Xe=fe,qe=In(ie,ae.line),ot=ye&&ie.direction=="rtl"?-fe:fe;function Tt(){var Nr=ae.line+ot;return Nr=ie.first+ie.size?!1:(ae=new Gt(Nr,ae.ch,ae.sticky),qe=In(ie,Nr))}function mn(Nr){var Er;if(pe=="codepoint"){var $r=qe.text.charCodeAt(ae.ch+(pe>0?0:-1));isNaN($r)?Er=null:Er=new Gt(ae.line,Math.max(0,Math.min(qe.text.length,ae.ch+fe*($r>=55296&&$r<56320?2:1))),-fe)}else ye?Er=Rs(ie.cm,qe,ae,fe):Er=El(qe,ae,fe);if(Er==null)if(!Nr&&Tt())ae=$a(ye,ie.cm,qe,ae.line,ot);else return!1;else ae=Er;return!0}if(pe=="char"||pe=="codepoint")mn();else if(pe=="column")mn(!0);else if(pe=="word"||pe=="group")for(var Rt=null,Qn=pe=="group",_n=ie.cm&&ie.cm.getHelper(ae,"wordChars"),pi=!0;!(fe<0&&!mn(!pi));pi=!1){var Ci=qe.text.charAt(ae.ch)||` `,ki=St(Ci,_n)?"w":Qn&&Ci==` `?"n":!Qn||/\s/.test(Ci)?null:"p";if(Qn&&!pi&&!ki&&(ki="s"),Rt&&Rt!=ki){fe<0&&(fe=1,mn(),ae.sticky="after");break}if(ki&&(Rt=ki),fe>0&&!mn(!pi))break}var ar=uc(ie,ae,Be,Xe,!0);return Qt(Be,ar)&&(ar.hitSide=!0),ar}function Re(ie,ae,fe,pe){var ye=ie.doc,Be=ae.left,Xe;if(pe=="page"){var qe=Math.min(ie.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ot=Math.max(qe-.5*Os(ie.display),3);Xe=(fe>0?ae.bottom:ae.top)+fe*ot}else pe=="line"&&(Xe=fe>0?ae.bottom+3:ae.top-3);for(var Tt;Tt=$s(ie,Be,Xe),!!Tt.outside;){if(fe<0?Xe<=0:Xe>=ye.height){Tt.hitSide=!0;break}Xe+=fe*5}return Tt}var He=function(ie){this.cm=ie,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ve,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};He.prototype.init=function(ie){var ae=this,fe=this,pe=fe.cm,ye=fe.div=ie.lineDiv;mf(ye,pe.options.spellcheck,pe.options.autocorrect,pe.options.autocapitalize);function Be(qe){for(var ot=qe.target;ot;ot=ot.parentNode){if(ot==ye)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ot.className))break}return!1}xt(ye,"paste",function(qe){!Be(qe)||nn(pe,qe)||Zg(qe,pe)||Ke<=11&&setTimeout(ri(pe,function(){return ae.updateFromDOM()}),20)}),xt(ye,"compositionstart",function(qe){ae.composing={data:qe.data,done:!1}}),xt(ye,"compositionupdate",function(qe){ae.composing||(ae.composing={data:qe.data,done:!1})}),xt(ye,"compositionend",function(qe){ae.composing&&(qe.data!=ae.composing.data&&ae.readFromDOMSoon(),ae.composing.done=!0)}),xt(ye,"touchstart",function(){return fe.forceCompositionEnd()}),xt(ye,"input",function(){ae.composing||ae.readFromDOMSoon()});function Xe(qe){if(!(!Be(qe)||nn(pe,qe))){if(pe.somethingSelected())mh({lineWise:!1,text:pe.getSelections()}),qe.type=="cut"&&pe.replaceSelection("",null,"cut");else if(pe.options.lineWiseCopyCut){var ot=dg(pe);mh({lineWise:!0,text:ot.text}),qe.type=="cut"&&pe.operation(function(){pe.setSelections(ot.ranges,0,It),pe.replaceSelection("",null,"cut")})}else return;if(qe.clipboardData){qe.clipboardData.clearData();var Tt=Ru.text.join(` `);if(qe.clipboardData.setData("Text",Tt),qe.clipboardData.getData("Text")==Tt){qe.preventDefault();return}}var mn=vf(),Rt=mn.firstChild;pe.display.lineSpace.insertBefore(mn,pe.display.lineSpace.firstChild),Rt.value=Ru.text.join(` -`);var Qn=document.activeElement;Xt(Rt),setTimeout(function(){pe.display.lineSpace.removeChild(mn),Qn.focus(),Qn==ye&&fe.showPrimarySelection()},50)}}xt(ye,"copy",Xe),xt(ye,"cut",Xe)},He.prototype.screenReaderLabelChanged=function(ie){ie?this.div.setAttribute("aria-label",ie):this.div.removeAttribute("aria-label")},He.prototype.prepareSelection=function(){var ie=_c(this.cm,!1);return ie.focus=document.activeElement==this.div,ie},He.prototype.showSelection=function(ie,ae){!ie||!this.cm.display.view.length||((ie.focus||ae)&&this.showPrimarySelection(),this.showMultipleSelections(ie))},He.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},He.prototype.showPrimarySelection=function(){var ie=this.getSelection(),ae=this.cm,fe=ae.doc.sel.primary(),pe=fe.from(),ye=fe.to();if(ae.display.viewTo==ae.display.viewFrom||pe.line>=ae.display.viewTo||ye.line=ae.display.viewFrom&&dt(ae,pe)||{node:qe[0].measure.map[2],offset:0},Tt=ye.lineie.firstLine()&&(pe=_t(pe.line-1,In(ie.doc,pe.line-1).length)),ye.ch==In(ie.doc,ye.line).text.length&&ye.lineae.viewTo-1)return!1;var Be,Xe,qe;pe.line==ae.viewFrom||(Be=Gr(ie,pe.line))==0?(Xe=bt(ae.view[0].line),qe=ae.view[0].node):(Xe=bt(ae.view[Be].line),qe=ae.view[Be-1].node.nextSibling);var ot=Gr(ie,ye.line),Tt,mn;if(ot==ae.view.length-1?(Tt=ae.viewTo-1,mn=ae.lineDiv.lastChild):(Tt=bt(ae.view[ot+1].line)-1,mn=ae.view[ot+1].node.previousSibling),!qe)return!1;for(var Rt=ie.doc.splitLines(Jt(ie,qe,mn,Xe,Tt)),Qn=zn(ie.doc,_t(Xe,0),_t(Tt,In(ie.doc,Tt).text.length));Rt.length>1&&Qn.length>1;)if(jt(Rt)==jt(Qn))Rt.pop(),Qn.pop(),Tt--;else if(Rt[0]==Qn[0])Rt.shift(),Qn.shift(),Xe++;else break;for(var _n=0,pi=0,Ci=Rt[0],ki=Qn[0],ar=Math.min(Ci.length,ki.length);_npe.ch&&Nr.charCodeAt(Nr.length-pi-1)==Er.charCodeAt(Er.length-pi-1);)_n--,pi++;Rt[Rt.length-1]=Nr.slice(0,Nr.length-pi).replace(/^\u200b+/,""),Rt[0]=Rt[0].slice(_n).replace(/\u200b+$/,"");var Hn=_t(Xe,_n),Cr=_t(Tt,Qn.length?jt(Qn).length-pi:0);if(Rt.length>1||Rt[0]||yn(Hn,Cr))return Mc(ie.doc,Rt,Hn,Cr,"+input"),!0},He.prototype.ensurePolled=function(){this.forceCompositionEnd()},He.prototype.reset=function(){this.forceCompositionEnd()},He.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},He.prototype.readFromDOMSoon=function(){var ie=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(ie.readDOMTimeout=null,ie.composing)if(ie.composing.done)ie.composing=null;else return;ie.updateFromDOM()},80))},He.prototype.updateFromDOM=function(){var ie=this;(this.cm.isReadOnly()||!this.pollContent())&&xn(this.cm,function(){return za(ie.cm)})},He.prototype.setUneditable=function(ie){ie.contentEditable="false"},He.prototype.onKeyPress=function(ie){ie.charCode==0||this.composing||(ie.preventDefault(),this.cm.isReadOnly()||ri(this.cm,ug)(this.cm,String.fromCharCode(ie.charCode==null?ie.keyCode:ie.charCode),0))},He.prototype.readOnlyChanged=function(ie){this.div.contentEditable=String(ie!="nocursor")},He.prototype.onContextMenu=function(){},He.prototype.resetPosition=function(){},He.prototype.needsContentAttribute=!0;function dt(ie,ae){var fe=Xn(ie,ae.line);if(!fe||fe.hidden)return null;var pe=In(ie.doc,ae.line),ye=Pc(fe,pe,ae.line),Be=Qe(pe,ie.doc.direction),Xe="left";if(Be){var qe=xe(Be,ae.ch);Xe=qe%2?"right":"left"}var ot=ta(ye.map,ae.ch,Xe);return ot.offset=ot.collapse=="right"?ot.end:ot.start,ot}function vt(ie){for(var ae=ie;ae;ae=ae.parentNode)if(/CodeMirror-gutter-wrapper/.test(ae.className))return!0;return!1}function At(ie,ae){return ae&&(ie.bad=!0),ie}function Jt(ie,ae,fe,pe,ye){var Be="",Xe=!1,qe=ie.doc.lineSeparator(),ot=!1;function Tt(_n){return function(pi){return pi.id==_n}}function mn(){Xe&&(Be+=qe,ot&&(Be+=qe),Xe=ot=!1)}function Rt(_n){_n&&(mn(),Be+=_n)}function Qn(_n){if(_n.nodeType==1){var pi=_n.getAttribute("cm-text");if(pi){Rt(pi);return}var Ci=_n.getAttribute("cm-marker"),ki;if(Ci){var ar=ie.findMarks(_t(pe,0),_t(ye+1,0),Tt(+Ci));ar.length&&(ki=ar[0].find(0))&&Rt(zn(ie.doc,ki.from,ki.to).join(qe));return}if(_n.getAttribute("contenteditable")=="false")return;var Nr=/^(pre|div|p|li|table|br)$/i.test(_n.nodeName);if(!/^br$/i.test(_n.nodeName)&&_n.textContent.length==0)return;Nr&&mn();for(var Er=0;Er<_n.childNodes.length;Er++)Qn(_n.childNodes[Er]);/^(pre|p)$/i.test(_n.nodeName)&&(ot=!0),Nr&&(Xe=!0)}else _n.nodeType==3&&Rt(_n.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Qn(ae),ae!=fe;)ae=ae.nextSibling,ot=!1;return Be}function Tn(ie,ae,fe){var pe;if(ae==ie.display.lineDiv){if(pe=ie.display.lineDiv.childNodes[fe],!pe)return At(ie.clipPos(_t(ie.display.viewTo-1)),!0);ae=null,fe=0}else for(pe=ae;;pe=pe.parentNode){if(!pe||pe==ie.display.lineDiv)return null;if(pe.parentNode&&pe.parentNode==ie.display.lineDiv)break}for(var ye=0;ye=9&&ae.hasSelection&&(ae.hasSelection=null),fe.poll()}),xt(ye,"paste",function(Xe){nn(pe,Xe)||Zg(Xe,pe)||(pe.state.pasteIncoming=+new Date,fe.fastPoll())});function Be(Xe){if(!nn(pe,Xe)){if(pe.somethingSelected())mh({lineWise:!1,text:pe.getSelections()});else if(pe.options.lineWiseCopyCut){var qe=dg(pe);mh({lineWise:!0,text:qe.text}),Xe.type=="cut"?pe.setSelections(qe.ranges,null,It):(fe.prevInput="",ye.value=qe.text.join(` +`);var Qn=document.activeElement;Xt(Rt),setTimeout(function(){pe.display.lineSpace.removeChild(mn),Qn.focus(),Qn==ye&&fe.showPrimarySelection()},50)}}xt(ye,"copy",Xe),xt(ye,"cut",Xe)},He.prototype.screenReaderLabelChanged=function(ie){ie?this.div.setAttribute("aria-label",ie):this.div.removeAttribute("aria-label")},He.prototype.prepareSelection=function(){var ie=_c(this.cm,!1);return ie.focus=document.activeElement==this.div,ie},He.prototype.showSelection=function(ie,ae){!ie||!this.cm.display.view.length||((ie.focus||ae)&&this.showPrimarySelection(),this.showMultipleSelections(ie))},He.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},He.prototype.showPrimarySelection=function(){var ie=this.getSelection(),ae=this.cm,fe=ae.doc.sel.primary(),pe=fe.from(),ye=fe.to();if(ae.display.viewTo==ae.display.viewFrom||pe.line>=ae.display.viewTo||ye.line=ae.display.viewFrom&&dt(ae,pe)||{node:qe[0].measure.map[2],offset:0},Tt=ye.lineie.firstLine()&&(pe=Gt(pe.line-1,In(ie.doc,pe.line-1).length)),ye.ch==In(ie.doc,ye.line).text.length&&ye.lineae.viewTo-1)return!1;var Be,Xe,qe;pe.line==ae.viewFrom||(Be=Fr(ie,pe.line))==0?(Xe=bt(ae.view[0].line),qe=ae.view[0].node):(Xe=bt(ae.view[Be].line),qe=ae.view[Be-1].node.nextSibling);var ot=Fr(ie,ye.line),Tt,mn;if(ot==ae.view.length-1?(Tt=ae.viewTo-1,mn=ae.lineDiv.lastChild):(Tt=bt(ae.view[ot+1].line)-1,mn=ae.view[ot+1].node.previousSibling),!qe)return!1;for(var Rt=ie.doc.splitLines(Jt(ie,qe,mn,Xe,Tt)),Qn=zn(ie.doc,Gt(Xe,0),Gt(Tt,In(ie.doc,Tt).text.length));Rt.length>1&&Qn.length>1;)if(jt(Rt)==jt(Qn))Rt.pop(),Qn.pop(),Tt--;else if(Rt[0]==Qn[0])Rt.shift(),Qn.shift(),Xe++;else break;for(var _n=0,pi=0,Ci=Rt[0],ki=Qn[0],ar=Math.min(Ci.length,ki.length);_npe.ch&&Nr.charCodeAt(Nr.length-pi-1)==Er.charCodeAt(Er.length-pi-1);)_n--,pi++;Rt[Rt.length-1]=Nr.slice(0,Nr.length-pi).replace(/^\u200b+/,""),Rt[0]=Rt[0].slice(_n).replace(/\u200b+$/,"");var Hn=Gt(Xe,_n),Cr=Gt(Tt,Qn.length?jt(Qn).length-pi:0);if(Rt.length>1||Rt[0]||yn(Hn,Cr))return Mc(ie.doc,Rt,Hn,Cr,"+input"),!0},He.prototype.ensurePolled=function(){this.forceCompositionEnd()},He.prototype.reset=function(){this.forceCompositionEnd()},He.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},He.prototype.readFromDOMSoon=function(){var ie=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(ie.readDOMTimeout=null,ie.composing)if(ie.composing.done)ie.composing=null;else return;ie.updateFromDOM()},80))},He.prototype.updateFromDOM=function(){var ie=this;(this.cm.isReadOnly()||!this.pollContent())&&xn(this.cm,function(){return za(ie.cm)})},He.prototype.setUneditable=function(ie){ie.contentEditable="false"},He.prototype.onKeyPress=function(ie){ie.charCode==0||this.composing||(ie.preventDefault(),this.cm.isReadOnly()||ri(this.cm,ug)(this.cm,String.fromCharCode(ie.charCode==null?ie.keyCode:ie.charCode),0))},He.prototype.readOnlyChanged=function(ie){this.div.contentEditable=String(ie!="nocursor")},He.prototype.onContextMenu=function(){},He.prototype.resetPosition=function(){},He.prototype.needsContentAttribute=!0;function dt(ie,ae){var fe=Xn(ie,ae.line);if(!fe||fe.hidden)return null;var pe=In(ie.doc,ae.line),ye=Pc(fe,pe,ae.line),Be=Qe(pe,ie.doc.direction),Xe="left";if(Be){var qe=xe(Be,ae.ch);Xe=qe%2?"right":"left"}var ot=ta(ye.map,ae.ch,Xe);return ot.offset=ot.collapse=="right"?ot.end:ot.start,ot}function vt(ie){for(var ae=ie;ae;ae=ae.parentNode)if(/CodeMirror-gutter-wrapper/.test(ae.className))return!0;return!1}function At(ie,ae){return ae&&(ie.bad=!0),ie}function Jt(ie,ae,fe,pe,ye){var Be="",Xe=!1,qe=ie.doc.lineSeparator(),ot=!1;function Tt(_n){return function(pi){return pi.id==_n}}function mn(){Xe&&(Be+=qe,ot&&(Be+=qe),Xe=ot=!1)}function Rt(_n){_n&&(mn(),Be+=_n)}function Qn(_n){if(_n.nodeType==1){var pi=_n.getAttribute("cm-text");if(pi){Rt(pi);return}var Ci=_n.getAttribute("cm-marker"),ki;if(Ci){var ar=ie.findMarks(Gt(pe,0),Gt(ye+1,0),Tt(+Ci));ar.length&&(ki=ar[0].find(0))&&Rt(zn(ie.doc,ki.from,ki.to).join(qe));return}if(_n.getAttribute("contenteditable")=="false")return;var Nr=/^(pre|div|p|li|table|br)$/i.test(_n.nodeName);if(!/^br$/i.test(_n.nodeName)&&_n.textContent.length==0)return;Nr&&mn();for(var Er=0;Er<_n.childNodes.length;Er++)Qn(_n.childNodes[Er]);/^(pre|p)$/i.test(_n.nodeName)&&(ot=!0),Nr&&(Xe=!0)}else _n.nodeType==3&&Rt(_n.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Qn(ae),ae!=fe;)ae=ae.nextSibling,ot=!1;return Be}function Tn(ie,ae,fe){var pe;if(ae==ie.display.lineDiv){if(pe=ie.display.lineDiv.childNodes[fe],!pe)return At(ie.clipPos(Gt(ie.display.viewTo-1)),!0);ae=null,fe=0}else for(pe=ae;;pe=pe.parentNode){if(!pe||pe==ie.display.lineDiv)return null;if(pe.parentNode&&pe.parentNode==ie.display.lineDiv)break}for(var ye=0;ye=9&&ae.hasSelection&&(ae.hasSelection=null),fe.poll()}),xt(ye,"paste",function(Xe){nn(pe,Xe)||Zg(Xe,pe)||(pe.state.pasteIncoming=+new Date,fe.fastPoll())});function Be(Xe){if(!nn(pe,Xe)){if(pe.somethingSelected())mh({lineWise:!1,text:pe.getSelections()});else if(pe.options.lineWiseCopyCut){var qe=dg(pe);mh({lineWise:!0,text:qe.text}),Xe.type=="cut"?pe.setSelections(qe.ranges,null,It):(fe.prevInput="",ye.value=qe.text.join(` `),Xt(ye))}else return;Xe.type=="cut"&&(pe.state.cutIncoming=+new Date)}}xt(ye,"cut",Be),xt(ye,"copy",Be),xt(ie.scroller,"paste",function(Xe){if(!($l(ie,Xe)||nn(pe,Xe))){if(!ye.dispatchEvent){pe.state.pasteIncoming=+new Date,fe.focus();return}var qe=new Event("paste");qe.clipboardData=Xe.clipboardData,ye.dispatchEvent(qe)}}),xt(ie.lineSpace,"selectstart",function(Xe){$l(ie,Xe)||xi(Xe)}),xt(ye,"compositionstart",function(){var Xe=pe.getCursor("from");fe.composing&&fe.composing.range.clear(),fe.composing={start:Xe,range:pe.markText(Xe,pe.getCursor("to"),{className:"CodeMirror-composing"})}}),xt(ye,"compositionend",function(){fe.composing&&(fe.poll(),fe.composing.range.clear(),fe.composing=null)})},Cn.prototype.createField=function(ie){this.wrapper=vf(),this.textarea=this.wrapper.firstChild},Cn.prototype.screenReaderLabelChanged=function(ie){ie?this.textarea.setAttribute("aria-label",ie):this.textarea.removeAttribute("aria-label")},Cn.prototype.prepareSelection=function(){var ie=this.cm,ae=ie.display,fe=ie.doc,pe=_c(ie);if(ie.options.moveInputWithCursor){var ye=ka(ie,fe.sel.primary().head,"div"),Be=ae.wrapper.getBoundingClientRect(),Xe=ae.lineDiv.getBoundingClientRect();pe.teTop=Math.max(0,Math.min(ae.wrapper.clientHeight-10,ye.top+Xe.top-Be.top)),pe.teLeft=Math.max(0,Math.min(ae.wrapper.clientWidth-10,ye.left+Xe.left-Be.left))}return pe},Cn.prototype.showSelection=function(ie){var ae=this.cm,fe=ae.display;st(fe.cursorDiv,ie.cursors),st(fe.selectionDiv,ie.selection),ie.teTop!=null&&(this.wrapper.style.top=ie.teTop+"px",this.wrapper.style.left=ie.teLeft+"px")},Cn.prototype.reset=function(ie){if(!(this.contextMenuPending||this.composing)){var ae=this.cm;if(ae.somethingSelected()){this.prevInput="";var fe=ae.getSelection();this.textarea.value=fe,ae.state.focused&&Xt(this.textarea),De&&Ke>=9&&(this.hasSelection=fe)}else ie||(this.prevInput=this.textarea.value="",De&&Ke>=9&&(this.hasSelection=null))}},Cn.prototype.getField=function(){return this.textarea},Cn.prototype.supportsTouch=function(){return!1},Cn.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ne||Pt()!=this.textarea))try{this.textarea.focus()}catch(ie){}},Cn.prototype.blur=function(){this.textarea.blur()},Cn.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Cn.prototype.receivedFocus=function(){this.slowPoll()},Cn.prototype.slowPoll=function(){var ie=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){ie.poll(),ie.cm.state.focused&&ie.slowPoll()})},Cn.prototype.fastPoll=function(){var ie=!1,ae=this;ae.pollingFast=!0;function fe(){var pe=ae.poll();!pe&&!ie?(ie=!0,ae.polling.set(60,fe)):(ae.pollingFast=!1,ae.slowPoll())}ae.polling.set(20,fe)},Cn.prototype.poll=function(){var ie=this,ae=this.cm,fe=this.textarea,pe=this.prevInput;if(this.contextMenuPending||!ae.state.focused||Ue(fe)&&!pe&&!this.composing||ae.isReadOnly()||ae.options.disableInput||ae.state.keySeq)return!1;var ye=fe.value;if(ye==pe&&!ae.somethingSelected())return!1;if(De&&Ke>=9&&this.hasSelection===ye||ge&&/[\uf700-\uf7ff]/.test(ye))return ae.display.input.reset(),!1;if(ae.doc.sel==ae.display.selForContextMenu){var Be=ye.charCodeAt(0);if(Be==8203&&!pe&&(pe="\u200B"),Be==8666)return this.reset(),this.cm.execCommand("undo")}for(var Xe=0,qe=Math.min(pe.length,ye.length);Xe1e3||ye.indexOf(` `)>-1?fe.value=ie.prevInput="":ie.prevInput=ye,ie.composing&&(ie.composing.range.clear(),ie.composing.range=ae.markText(ie.composing.start,ae.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Cn.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Cn.prototype.onKeyPress=function(){De&&Ke>=9&&(this.hasSelection=null),this.fastPoll()},Cn.prototype.onContextMenu=function(ie){var ae=this,fe=ae.cm,pe=fe.display,ye=ae.textarea;ae.contextMenuPending&&ae.contextMenuPending();var Be=Fa(fe,ie),Xe=pe.scroller.scrollTop;if(!Be||Ye)return;var qe=fe.options.resetSelectionOnContextMenu;qe&&fe.doc.sel.contains(Be)==-1&&ri(fe,ws)(fe.doc,Jo(Be),It);var ot=ye.style.cssText,Tt=ae.wrapper.style.cssText,mn=ae.wrapper.offsetParent.getBoundingClientRect();ae.wrapper.style.cssText="position: static",ye.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(ie.clientY-mn.top-5)+"px; left: "+(ie.clientX-mn.left-5)+`px; z-index: 1000; background: `+(De?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Rt;Ee&&(Rt=window.scrollY),pe.input.focus(),Ee&&window.scrollTo(null,Rt),pe.input.reset(),fe.somethingSelected()||(ye.value=ae.prevInput=" "),ae.contextMenuPending=_n,pe.selForContextMenu=fe.doc.sel,clearTimeout(pe.detectingSelectAll);function Qn(){if(ye.selectionStart!=null){var Ci=fe.somethingSelected(),ki="\u200B"+(Ci?ye.value:"");ye.value="\u21DA",ye.value=ki,ae.prevInput=Ci?"":"\u200B",ye.selectionStart=1,ye.selectionEnd=ki.length,pe.selForContextMenu=fe.doc.sel}}function _n(){if(ae.contextMenuPending==_n&&(ae.contextMenuPending=!1,ae.wrapper.style.cssText=Tt,ye.style.cssText=ot,De&&Ke<9&&pe.scrollbars.setScrollTop(pe.scroller.scrollTop=Xe),ye.selectionStart!=null)){(!De||De&&Ke<9)&&Qn();var Ci=0,ki=function(){pe.selForContextMenu==fe.doc.sel&&ye.selectionStart==0&&ye.selectionEnd>0&&ae.prevInput=="\u200B"?ri(fe,qa)(fe):Ci++<10?pe.detectingSelectAll=setTimeout(ki,500):(pe.selForContextMenu=null,pe.input.reset())};pe.detectingSelectAll=setTimeout(ki,200)}}if(De&&Ke>=9&&Qn(),ke){Ri(ie);var pi=function(){Pn(window,"mouseup",pi),setTimeout(_n,20)};xt(window,"mouseup",pi)}else setTimeout(_n,50)},Cn.prototype.readOnlyChanged=function(ie){ie||this.reset(),this.textarea.disabled=ie=="nocursor",this.textarea.readOnly=!!ie},Cn.prototype.setUneditable=function(){},Cn.prototype.needsContentAttribute=!1;function ci(ie,ae){if(ae=ae?an(ae):{},ae.value=ie.value,!ae.tabindex&&ie.tabIndex&&(ae.tabindex=ie.tabIndex),!ae.placeholder&&ie.placeholder&&(ae.placeholder=ie.placeholder),ae.autofocus==null){var fe=Pt();ae.autofocus=fe==ie||ie.getAttribute("autofocus")!=null&&fe==document.body}function pe(){ie.value=qe.getValue()}var ye;if(ie.form&&(xt(ie.form,"submit",pe),!ae.leaveSubmitMethodAlone)){var Be=ie.form;ye=Be.submit;try{var Xe=Be.submit=function(){pe(),Be.submit=ye,Be.submit(),Be.submit=Xe}}catch(ot){}}ae.finishInit=function(ot){ot.save=pe,ot.getTextArea=function(){return ie},ot.toTextArea=function(){ot.toTextArea=isNaN,pe(),ie.parentNode.removeChild(ot.getWrapperElement()),ie.style.display="",ie.form&&(Pn(ie.form,"submit",pe),!ae.leaveSubmitMethodAlone&&typeof ie.form.submit=="function"&&(ie.form.submit=ye))}},ie.style.display="none";var qe=ss(function(ot){return ie.parentNode.insertBefore(ot,ie.nextSibling)},ae);return qe}function si(ie){ie.off=Pn,ie.on=xt,ie.wheelEventPixels=Co,ie.Doc=Gl,ie.splitLines=Yi,ie.countColumn=it,ie.findColumn=ei,ie.isWordChar=Zt,ie.Pass=sn,ie.signal=wt,ie.Line=Ra,ie.changeEnd=Da,ie.scrollbarModel=nd,ie.Pos=_t,ie.cmpPos=yn,ie.modes=Fo,ie.mimeModes=Vo,ie.resolveMode=on,ie.getMode=ln,ie.modeExtensions=qt,ie.extendMode=Nt,ie.copyState=On,ie.startState=Vt,ie.innerMode=Un,ie.commands=Zl,ie.keyMap=vu,ie.keyName=ch,ie.isModifierKey=Vd,ie.lookupKey=Du,ie.normalizeKeyMap=kh,ie.StringStream=yt,ie.SharedTextMarker=Lc,ie.TextMarker=pn,ie.LineWidget=gl,ie.e_preventDefault=xi,ie.e_stopPropagation=Mi,ie.e_stop=Ri,ie.addClass=dn,ie.contains=$t,ie.rmClass=We,ie.keyNames=mu}Uf(ss),he(ss);var Yn="iter insert remove copy getEditor constructor".split(" ");for(var zr in Gl.prototype)Gl.prototype.hasOwnProperty(zr)&>(Yn,zr)<0&&(ss.prototype[zr]=function(ie){return function(){return ie.apply(this.doc,arguments)}}(Gl.prototype[zr]));return li(Gl),ss.inputStyles={textarea:Cn,contenteditable:He},ss.defineMode=function(ie){!ss.defaults.mode&&ie!="null"&&(ss.defaults.mode=ie),Io.apply(this,arguments)},ss.defineMIME=Oi,ss.defineMode("null",function(){return{token:function(ie){return ie.skipToEnd()}}}),ss.defineMIME("text/plain","null"),ss.defineExtension=function(ie,ae){ss.prototype[ie]=ae},ss.defineDocExtension=function(ie,ae){Gl.prototype[ie]=ae},ss.fromTextArea=ci,si(ss),ss.version="5.58.2",ss})},25419:function(_e,be,oe){(function(se){se(oe(89780),oe(15525),oe(98101))})(function(se){"use strict";se.defineMode("markdown",function(Ce,we){var Ie=se.getMode(Ce,"text/html"),De=Ie.name=="null";function Ke(it){if(se.findModeByName){var Ve=se.findModeByName(it);Ve&&(it=Ve.mime||Ve.mimes[0])}var gt=se.getMode(Ce,it);return gt.name=="null"?null:gt}we.highlightFormatting===void 0&&(we.highlightFormatting=!1),we.maxBlockquoteDepth===void 0&&(we.maxBlockquoteDepth=0),we.taskLists===void 0&&(we.taskLists=!1),we.strikethrough===void 0&&(we.strikethrough=!1),we.emoji===void 0&&(we.emoji=!1),we.fencedCodeBlockHighlighting===void 0&&(we.fencedCodeBlockHighlighting=!0),we.fencedCodeBlockDefaultMode===void 0&&(we.fencedCodeBlockDefaultMode="text/plain"),we.xml===void 0&&(we.xml=!0),we.tokenTypeOverrides===void 0&&(we.tokenTypeOverrides={});var Ee={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var et in Ee)Ee.hasOwnProperty(et)&&we.tokenTypeOverrides[et]&&(Ee[et]=we.tokenTypeOverrides[et]);var Je=/^([*\-_])(?:\s*\1){2,}\s*$/,Ye=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,tt=/^\[(x| )\](?=\s)/i,ht=we.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,kt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ze=/^[^#!\[\]*_\\<>` "'(~:]+/,ee=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ne=/^\s*\[[^\]]+?\]:.*$/,ge=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,ue=" ";function me(it,Ve,gt){return Ve.f=Ve.inline=gt,gt(it,Ve)}function Se(it,Ve,gt){return Ve.f=Ve.block=gt,gt(it,Ve)}function Ne(it){return!it||!/\S/.test(it.string)}function ke(it){if(it.linkTitle=!1,it.linkHref=!1,it.linkText=!1,it.em=!1,it.strong=!1,it.strikethrough=!1,it.quote=0,it.indentedCode=!1,it.f==We){var Ve=De;if(!Ve){var gt=se.innerMode(Ie,it.htmlState);Ve=gt.mode.name=="xml"&>.state.tagStart===null&&!gt.state.context&>.state.tokenize.isInText}Ve&&(it.f=Mt,it.block=Te,it.htmlState=null)}return it.trailingSpace=0,it.trailingSpaceNewLine=!1,it.prevLine=it.thisLine,it.thisLine={stream:null},null}function Te(it,Ve){var gt=it.column()===Ve.indentation,Bt=Ne(Ve.prevLine.stream),sn=Ve.indentedCode,It=Ve.prevLine.hr,en=Ve.list!==!1,En=(Ve.listStack[Ve.listStack.length-1]||0)+3;Ve.indentedCode=!1;var ei=Ve.indentation;if(Ve.indentationDiff===null&&(Ve.indentationDiff=Ve.indentation,en)){for(Ve.list=null;ei=4&&(sn||Ve.prevLine.fencedCodeEnd||Ve.prevLine.header||Bt))return it.skipToEnd(),Ve.indentedCode=!0,Ee.code;if(it.eatSpace())return null;if(gt&&Ve.indentation<=En&&(jt=it.match(ht))&&jt[1].length<=6)return Ve.quote=0,Ve.header=jt[1].length,Ve.thisLine.header=!0,we.highlightFormatting&&(Ve.formatting="header"),Ve.f=Ve.inline,st(Ve);if(Ve.indentation<=En&&it.eat(">"))return Ve.quote=gt?1:Ve.quote+1,we.highlightFormatting&&(Ve.formatting="quote"),it.eatSpace(),st(Ve);if(!Kn&&!Ve.setext&>&&Ve.indentation<=En&&(jt=it.match(Ye))){var Nn=jt[1]?"ol":"ul";return Ve.indentation=ei+it.current().length,Ve.list=!0,Ve.quote=0,Ve.listStack.push(Ve.indentation),Ve.em=!1,Ve.strong=!1,Ve.code=!1,Ve.strikethrough=!1,we.taskLists&&it.match(tt,!1)&&(Ve.taskList=!0),Ve.f=Ve.inline,we.highlightFormatting&&(Ve.formatting=["list","list-"+Nn]),st(Ve)}else{if(gt&&Ve.indentation<=En&&(jt=it.match(ee,!0)))return Ve.quote=0,Ve.fencedEndRE=new RegExp(jt[1]+"+ *$"),Ve.localMode=we.fencedCodeBlockHighlighting&&Ke(jt[2]||we.fencedCodeBlockDefaultMode),Ve.localMode&&(Ve.localState=se.startState(Ve.localMode)),Ve.f=Ve.block=$e,we.highlightFormatting&&(Ve.formatting="code-block"),Ve.code=-1,st(Ve);if(Ve.setext||(!An||!en)&&!Ve.quote&&Ve.list===!1&&!Ve.code&&!Kn&&!ne.test(it.string)&&(jt=it.lookAhead(1))&&(jt=jt.match(kt)))return Ve.setext?(Ve.header=Ve.setext,Ve.setext=0,it.skipToEnd(),we.highlightFormatting&&(Ve.formatting="header")):(Ve.header=jt[0].charAt(0)=="="?1:2,Ve.setext=Ve.header),Ve.thisLine.header=!0,Ve.f=Ve.inline,st(Ve);if(Kn)return it.skipToEnd(),Ve.hr=!0,Ve.thisLine.hr=!0,Ee.hr;if(it.peek()==="[")return me(it,Ve,zt)}return me(it,Ve,Ve.inline)}function We(it,Ve){var gt=Ie.token(it,Ve.htmlState);if(!De){var Bt=se.innerMode(Ie,Ve.htmlState);(Bt.mode.name=="xml"&&Bt.state.tagStart===null&&!Bt.state.context&&Bt.state.tokenize.isInText||Ve.md_inside&&it.current().indexOf(">")>-1)&&(Ve.f=Mt,Ve.block=Te,Ve.htmlState=null)}return gt}function $e(it,Ve){var gt=Ve.listStack[Ve.listStack.length-1]||0,Bt=Ve.indentation=it.quote?Ve.push(Ee.formatting+"-"+it.formatting[gt]+"-"+it.quote):Ve.push("error"))}if(it.taskOpen)return Ve.push("meta"),Ve.length?Ve.join(" "):null;if(it.taskClosed)return Ve.push("property"),Ve.length?Ve.join(" "):null;if(it.linkHref?Ve.push(Ee.linkHref,"url"):(it.strong&&Ve.push(Ee.strong),it.em&&Ve.push(Ee.em),it.strikethrough&&Ve.push(Ee.strikethrough),it.emoji&&Ve.push(Ee.emoji),it.linkText&&Ve.push(Ee.linkText),it.code&&Ve.push(Ee.code),it.image&&Ve.push(Ee.image),it.imageAltText&&Ve.push(Ee.imageAltText,"link"),it.imageMarker&&Ve.push(Ee.imageMarker)),it.header&&Ve.push(Ee.header,Ee.header+"-"+it.header),it.quote&&(Ve.push(Ee.quote),!we.maxBlockquoteDepth||we.maxBlockquoteDepth>=it.quote?Ve.push(Ee.quote+"-"+it.quote):Ve.push(Ee.quote+"-"+we.maxBlockquoteDepth)),it.list!==!1){var Bt=(it.listStack.length-1)%3;Bt?Bt===1?Ve.push(Ee.list2):Ve.push(Ee.list3):Ve.push(Ee.list1)}return it.trailingSpaceNewLine?Ve.push("trailing-space-new-line"):it.trailingSpace&&Ve.push("trailing-space-"+(it.trailingSpace%2?"a":"b")),Ve.length?Ve.join(" "):null}function ut(it,Ve){if(it.match(ze,!0))return st(Ve)}function Mt(it,Ve){var gt=Ve.text(it,Ve);if(typeof gt!="undefined")return gt;if(Ve.list)return Ve.list=null,st(Ve);if(Ve.taskList){var Bt=it.match(tt,!0)[1]===" ";return Bt?Ve.taskOpen=!0:Ve.taskClosed=!0,we.highlightFormatting&&(Ve.formatting="task"),Ve.taskList=!1,st(Ve)}if(Ve.taskOpen=!1,Ve.taskClosed=!1,Ve.header&&it.match(/^#+$/,!0))return we.highlightFormatting&&(Ve.formatting="header"),st(Ve);var sn=it.next();if(Ve.linkTitle){Ve.linkTitle=!1;var It=sn;sn==="("&&(It=")"),It=(It+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var en="^\\s*(?:[^"+It+"\\\\]+|\\\\\\\\|\\\\.)"+It;if(it.match(new RegExp(en),!0))return Ee.linkHref}if(sn==="`"){var En=Ve.formatting;we.highlightFormatting&&(Ve.formatting="code"),it.eatWhile("`");var ei=it.current().length;if(Ve.code==0&&(!Ve.quote||ei==1))return Ve.code=ei,st(Ve);if(ei==Ve.code){var An=st(Ve);return Ve.code=0,An}else return Ve.formatting=En,st(Ve)}else if(Ve.code)return st(Ve);if(sn==="\\"&&(it.next(),we.highlightFormatting)){var Kn=st(Ve),jt=Ee.formatting+"-escape";return Kn?Kn+" "+jt:jt}if(sn==="!"&&it.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ve.imageMarker=!0,Ve.image=!0,we.highlightFormatting&&(Ve.formatting="image"),st(Ve);if(sn==="["&&Ve.imageMarker&&it.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ve.imageMarker=!1,Ve.imageAltText=!0,we.highlightFormatting&&(Ve.formatting="image"),st(Ve);if(sn==="]"&&Ve.imageAltText){we.highlightFormatting&&(Ve.formatting="image");var Kn=st(Ve);return Ve.imageAltText=!1,Ve.image=!1,Ve.inline=Ve.f=$t,Kn}if(sn==="["&&!Ve.image)return Ve.linkText&&it.match(/^.*?\]/)||(Ve.linkText=!0,we.highlightFormatting&&(Ve.formatting="link")),st(Ve);if(sn==="]"&&Ve.linkText){we.highlightFormatting&&(Ve.formatting="link");var Kn=st(Ve);return Ve.linkText=!1,Ve.inline=Ve.f=it.match(/\(.*?\)| ?\[.*?\]/,!1)?$t:Mt,Kn}if(sn==="<"&&it.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ve.f=Ve.inline=nt,we.highlightFormatting&&(Ve.formatting="link");var Kn=st(Ve);return Kn?Kn+=" ":Kn="",Kn+Ee.linkInline}if(sn==="<"&&it.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ve.f=Ve.inline=nt,we.highlightFormatting&&(Ve.formatting="link");var Kn=st(Ve);return Kn?Kn+=" ":Kn="",Kn+Ee.linkEmail}if(we.xml&&sn==="<"&&it.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Nn=it.string.indexOf(">",it.pos);if(Nn!=-1){var Gn=it.string.substring(it.start,Nn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Gn)&&(Ve.md_inside=!0)}return it.backUp(1),Ve.htmlState=se.startState(Ie),Se(it,Ve,We)}if(we.xml&&sn==="<"&&it.match(/^\/\w*?>/))return Ve.md_inside=!1,"tag";if(sn==="*"||sn==="_"){for(var ii=1,Sn=it.pos==1?" ":it.string.charAt(it.pos-2);ii<3&&it.eat(sn);)ii++;var Yt=it.peek()||" ",Zt=!/\s/.test(Yt)&&(!ge.test(Yt)||/\s/.test(Sn)||ge.test(Sn)),St=!/\s/.test(Sn)&&(!ge.test(Sn)||/\s/.test(Yt)||ge.test(Yt)),rt=null,Ft=null;if(ii%2&&(!Ve.em&&Zt&&(sn==="*"||!St||ge.test(Sn))?rt=!0:Ve.em==sn&&St&&(sn==="*"||!Zt||ge.test(Yt))&&(rt=!1)),ii>1&&(!Ve.strong&&Zt&&(sn==="*"||!St||ge.test(Sn))?Ft=!0:Ve.strong==sn&&St&&(sn==="*"||!Zt||ge.test(Yt))&&(Ft=!1)),Ft!=null||rt!=null){we.highlightFormatting&&(Ve.formatting=rt==null?"strong":Ft==null?"em":"strong em"),rt===!0&&(Ve.em=sn),Ft===!0&&(Ve.strong=sn);var An=st(Ve);return rt===!1&&(Ve.em=!1),Ft===!1&&(Ve.strong=!1),An}}else if(sn===" "&&(it.eat("*")||it.eat("_"))){if(it.peek()===" ")return st(Ve);it.backUp(1)}if(we.strikethrough){if(sn==="~"&&it.eatWhile(sn)){if(Ve.strikethrough){we.highlightFormatting&&(Ve.formatting="strikethrough");var An=st(Ve);return Ve.strikethrough=!1,An}else if(it.match(/^[^\s]/,!1))return Ve.strikethrough=!0,we.highlightFormatting&&(Ve.formatting="strikethrough"),st(Ve)}else if(sn===" "&&it.match(/^~~/,!0)){if(it.peek()===" ")return st(Ve);it.backUp(2)}}if(we.emoji&&sn===":"&&it.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ve.emoji=!0,we.highlightFormatting&&(Ve.formatting="emoji");var Ot=st(Ve);return Ve.emoji=!1,Ot}return sn===" "&&(it.match(/^ +$/,!1)?Ve.trailingSpace++:Ve.trailingSpace&&(Ve.trailingSpaceNewLine=!0)),st(Ve)}function nt(it,Ve){var gt=it.next();if(gt===">"){Ve.f=Ve.inline=Mt,we.highlightFormatting&&(Ve.formatting="link");var Bt=st(Ve);return Bt?Bt+=" ":Bt="",Bt+Ee.linkInline}return it.match(/^[^>]+/,!0),Ee.linkInline}function $t(it,Ve){if(it.eatSpace())return null;var gt=it.next();return gt==="("||gt==="["?(Ve.f=Ve.inline=dn(gt==="("?")":"]"),we.highlightFormatting&&(Ve.formatting="link-string"),Ve.linkHref=!0,st(Ve)):"error"}var Pt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function dn(it){return function(Ve,gt){var Bt=Ve.next();if(Bt===it){gt.f=gt.inline=Mt,we.highlightFormatting&&(gt.formatting="link-string");var sn=st(gt);return gt.linkHref=!1,sn}return Ve.match(Pt[it]),gt.linkHref=!0,st(gt)}}function zt(it,Ve){return it.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ve.f=Xt,it.next(),we.highlightFormatting&&(Ve.formatting="link"),Ve.linkText=!0,st(Ve)):me(it,Ve,Mt)}function Xt(it,Ve){if(it.match(/^\]:/,!0)){Ve.f=Ve.inline=fn,we.highlightFormatting&&(Ve.formatting="link");var gt=st(Ve);return Ve.linkText=!1,gt}return it.match(/^([^\]\\]|\\.)+/,!0),Ee.linkText}function fn(it,Ve){return it.eatSpace()?null:(it.match(/^[^\s]+/,!0),it.peek()===void 0?Ve.linkTitle=!0:it.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ve.f=Ve.inline=Mt,Ee.linkHref+" url")}var an={startState:function(){return{f:Te,prevLine:{stream:null},thisLine:{stream:null},block:Te,htmlState:null,indentation:0,inline:Mt,text:ut,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(it){return{f:it.f,prevLine:it.prevLine,thisLine:it.thisLine,block:it.block,htmlState:it.htmlState&&se.copyState(Ie,it.htmlState),indentation:it.indentation,localMode:it.localMode,localState:it.localMode?se.copyState(it.localMode,it.localState):null,inline:it.inline,text:it.text,formatting:!1,linkText:it.linkText,linkTitle:it.linkTitle,linkHref:it.linkHref,code:it.code,em:it.em,strong:it.strong,strikethrough:it.strikethrough,emoji:it.emoji,header:it.header,setext:it.setext,hr:it.hr,taskList:it.taskList,list:it.list,listStack:it.listStack.slice(0),quote:it.quote,indentedCode:it.indentedCode,trailingSpace:it.trailingSpace,trailingSpaceNewLine:it.trailingSpaceNewLine,md_inside:it.md_inside,fencedEndRE:it.fencedEndRE}},token:function(it,Ve){if(Ve.formatting=!1,it!=Ve.thisLine.stream){if(Ve.header=0,Ve.hr=!1,it.match(/^\s*$/,!0))return ke(Ve),null;if(Ve.prevLine=Ve.thisLine,Ve.thisLine={stream:it},Ve.taskList=!1,Ve.trailingSpace=0,Ve.trailingSpaceNewLine=!1,!Ve.localState&&(Ve.f=Ve.block,Ve.f!=We)){var gt=it.match(/^\s*/,!0)[0].replace(/\t/g,ue).length;if(Ve.indentation=gt,Ve.indentationDiff=null,gt>0)return null}}return Ve.f(it,Ve)},innerMode:function(it){return it.block==We?{state:it.htmlState,mode:Ie}:it.localState?{state:it.localState,mode:it.localMode}:{state:it,mode:an}},indent:function(it,Ve,gt){return it.block==We&&Ie.indent?Ie.indent(it.htmlState,Ve,gt):it.localState&&it.localMode.indent?it.localMode.indent(it.localState,Ve,gt):se.Pass},blankLine:ke,getType:st,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return an},"xml"),se.defineMIME("text/markdown","markdown"),se.defineMIME("text/x-markdown","markdown")})},98101:function(_e,be,oe){(function(se){se(oe(89780))})(function(se){"use strict";se.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Ce=0;Ce-1&&Ie.substring(Ee+1,Ie.length);if(et)return se.findModeByExtension(et)},se.findModeByName=function(Ie){Ie=Ie.toLowerCase();for(var De=0;De0?ze.cmdState[ze.cmdState.length-1]:null}function Ke(ze){var ee=ze.cmdState.pop();ee&&ee.closeBracket()}function Ee(ze){for(var ee=ze.cmdState,ne=ee.length-1;ne>=0;ne--){var ge=ee[ne];if(ge.name!="DEFAULT")return ge}return{styleIdentifier:function(){return null}}}function et(ze,ee,ne){return function(){this.name=ze,this.bracketNo=0,this.style=ee,this.styles=ne,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Je={};Je.importmodule=et("importmodule","tag",["string","builtin"]),Je.documentclass=et("documentclass","tag",["","atom"]),Je.usepackage=et("usepackage","tag",["atom"]),Je.begin=et("begin","tag",["atom"]),Je.end=et("end","tag",["atom"]),Je.label=et("label","tag",["atom"]),Je.ref=et("ref","tag",["atom"]),Je.eqref=et("eqref","tag",["atom"]),Je.cite=et("cite","tag",["atom"]),Je.bibitem=et("bibitem","tag",["atom"]),Je.Bibitem=et("Bibitem","tag",["atom"]),Je.RBibitem=et("RBibitem","tag",["atom"]),Je.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Ye(ze,ee){ze.f=ee}function tt(ze,ee){var ne;if(ze.match(/^\\[a-zA-Z@]+/)){var ge=ze.current().slice(1);return ne=Je.hasOwnProperty(ge)?Je[ge]:Je.DEFAULT,ne=new ne,Ie(ee,ne),Ye(ee,kt),ne.style}if(ze.match(/^\\[$&%#{}_]/)||ze.match(/^\\[,;!\/\\]/))return"tag";if(ze.match("\\["))return Ye(ee,function(me,Se){return ht(me,Se,"\\]")}),"keyword";if(ze.match("\\("))return Ye(ee,function(me,Se){return ht(me,Se,"\\)")}),"keyword";if(ze.match("$$"))return Ye(ee,function(me,Se){return ht(me,Se,"$$")}),"keyword";if(ze.match("$"))return Ye(ee,function(me,Se){return ht(me,Se,"$")}),"keyword";var ue=ze.next();if(ue=="%")return ze.skipToEnd(),"comment";if(ue=="}"||ue=="]"){if(ne=De(ee),ne)ne.closeBracket(ue),Ye(ee,kt);else return"error";return"bracket"}else return ue=="{"||ue=="["?(ne=Je.DEFAULT,ne=new ne,Ie(ee,ne),"bracket"):/\d/.test(ue)?(ze.eatWhile(/[\w.%]/),"atom"):(ze.eatWhile(/[\w\-_]/),ne=Ee(ee),ne.name=="begin"&&(ne.argument=ze.current()),ne.styleIdentifier())}function ht(ze,ee,ne){if(ze.eatSpace())return null;if(ne&&ze.match(ne))return Ye(ee,tt),"keyword";if(ze.match(/^\\[a-zA-Z@]+/))return"tag";if(ze.match(/^[a-zA-Z]+/))return"variable-2";if(ze.match(/^\\[$&%#{}_]/)||ze.match(/^\\[,;!\/]/)||ze.match(/^[\^_&]/))return"tag";if(ze.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ze.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ge=ze.next();return ge=="{"||ge=="}"||ge=="["||ge=="]"||ge=="("||ge==")"?"bracket":ge=="%"?(ze.skipToEnd(),"comment"):"error"}function kt(ze,ee){var ne=ze.peek(),ge;return ne=="{"||ne=="["?(ge=De(ee),ge.openBracket(ne),ze.eat(ne),Ye(ee,tt),"bracket"):/[ \t\r]/.test(ne)?(ze.eat(ne),null):(Ye(ee,tt),Ke(ee),tt(ze,ee))}return{startState:function(){var ze=we.inMathMode?function(ee,ne){return ht(ee,ne)}:tt;return{cmdState:[],f:ze}},copyState:function(ze){return{cmdState:ze.cmdState.slice(),f:ze.f}},token:function(ze,ee){return ee.f(ze,ee)},blankLine:function(ze){ze.f=tt,ze.cmdState.length=0},lineComment:"%"}}),se.defineMIME("text/x-stex","stex"),se.defineMIME("text/x-latex","stex")})},15525:function(_e,be,oe){(function(se){se(oe(89780))})(function(se){"use strict";var Ce={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},we={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};se.defineMode("xml",function(Ie,De){var Ke=Ie.indentUnit,Ee={},et=De.htmlMode?Ce:we;for(var Je in et)Ee[Je]=et[Je];for(var Je in De)Ee[Je]=De[Je];var Ye,tt;function ht(nt,$t){function Pt(Xt){return $t.tokenize=Xt,Xt(nt,$t)}var dn=nt.next();if(dn=="<")return nt.eat("!")?nt.eat("[")?nt.match("CDATA[")?Pt(ee("atom","]]>")):null:nt.match("--")?Pt(ee("comment","-->")):nt.match("DOCTYPE",!0,!0)?(nt.eatWhile(/[\w\._\-]/),Pt(ne(1))):null:nt.eat("?")?(nt.eatWhile(/[\w\._\-]/),$t.tokenize=ee("meta","?>"),"meta"):(Ye=nt.eat("/")?"closeTag":"openTag",$t.tokenize=kt,"tag bracket");if(dn=="&"){var zt;return nt.eat("#")?nt.eat("x")?zt=nt.eatWhile(/[a-fA-F\d]/)&&nt.eat(";"):zt=nt.eatWhile(/[\d]/)&&nt.eat(";"):zt=nt.eatWhile(/[\w\.\-:]/)&&nt.eat(";"),zt?"atom":"error"}else return nt.eatWhile(/[^&<]/),null}ht.isInText=!0;function kt(nt,$t){var Pt=nt.next();if(Pt==">"||Pt=="/"&&nt.eat(">"))return $t.tokenize=ht,Ye=Pt==">"?"endTag":"selfcloseTag","tag bracket";if(Pt=="=")return Ye="equals",null;if(Pt=="<"){$t.tokenize=ht,$t.state=Se,$t.tagName=$t.tagStart=null;var dn=$t.tokenize(nt,$t);return dn?dn+" tag error":"tag error"}else return/[\'\"]/.test(Pt)?($t.tokenize=ze(Pt),$t.stringStartCol=nt.column(),$t.tokenize(nt,$t)):(nt.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ze(nt){var $t=function(Pt,dn){for(;!Pt.eol();)if(Pt.next()==nt){dn.tokenize=kt;break}return"string"};return $t.isInAttribute=!0,$t}function ee(nt,$t){return function(Pt,dn){for(;!Pt.eol();){if(Pt.match($t)){dn.tokenize=ht;break}Pt.next()}return nt}}function ne(nt){return function($t,Pt){for(var dn;(dn=$t.next())!=null;){if(dn=="<")return Pt.tokenize=ne(nt+1),Pt.tokenize($t,Pt);if(dn==">")if(nt==1){Pt.tokenize=ht;break}else return Pt.tokenize=ne(nt-1),Pt.tokenize($t,Pt)}return"meta"}}function ge(nt,$t,Pt){this.prev=nt.context,this.tagName=$t,this.indent=nt.indented,this.startOfLine=Pt,(Ee.doNotIndent.hasOwnProperty($t)||nt.context&&nt.context.noIndent)&&(this.noIndent=!0)}function ue(nt){nt.context&&(nt.context=nt.context.prev)}function me(nt,$t){for(var Pt;;){if(!nt.context||(Pt=nt.context.tagName,!Ee.contextGrabbers.hasOwnProperty(Pt)||!Ee.contextGrabbers[Pt].hasOwnProperty($t)))return;ue(nt)}}function Se(nt,$t,Pt){return nt=="openTag"?(Pt.tagStart=$t.column(),Ne):nt=="closeTag"?ke:Se}function Ne(nt,$t,Pt){return nt=="word"?(Pt.tagName=$t.current(),tt="tag",$e):Ee.allowMissingTagName&&nt=="endTag"?(tt="tag bracket",$e(nt,$t,Pt)):(tt="error",Ne)}function ke(nt,$t,Pt){if(nt=="word"){var dn=$t.current();return Pt.context&&Pt.context.tagName!=dn&&Ee.implicitlyClosed.hasOwnProperty(Pt.context.tagName)&&ue(Pt),Pt.context&&Pt.context.tagName==dn||Ee.matchClosing===!1?(tt="tag",Te):(tt="tag error",We)}else return Ee.allowMissingTagName&&nt=="endTag"?(tt="tag bracket",Te(nt,$t,Pt)):(tt="error",We)}function Te(nt,$t,Pt){return nt!="endTag"?(tt="error",Te):(ue(Pt),Se)}function We(nt,$t,Pt){return tt="error",Te(nt,$t,Pt)}function $e(nt,$t,Pt){if(nt=="word")return tt="attribute",st;if(nt=="endTag"||nt=="selfcloseTag"){var dn=Pt.tagName,zt=Pt.tagStart;return Pt.tagName=Pt.tagStart=null,nt=="selfcloseTag"||Ee.autoSelfClosers.hasOwnProperty(dn)?me(Pt,dn):(me(Pt,dn),Pt.context=new ge(Pt,dn,zt==Pt.indented)),Se}return tt="error",$e}function st(nt,$t,Pt){return nt=="equals"?ut:(Ee.allowMissing||(tt="error"),$e(nt,$t,Pt))}function ut(nt,$t,Pt){return nt=="string"?Mt:nt=="word"&&Ee.allowUnquoted?(tt="string",$e):(tt="error",$e(nt,$t,Pt))}function Mt(nt,$t,Pt){return nt=="string"?Mt:$e(nt,$t,Pt)}return{startState:function(nt){var $t={tokenize:ht,state:Se,indented:nt||0,tagName:null,tagStart:null,context:null};return nt!=null&&($t.baseIndent=nt),$t},token:function(nt,$t){if(!$t.tagName&&nt.sol()&&($t.indented=nt.indentation()),nt.eatSpace())return null;Ye=null;var Pt=$t.tokenize(nt,$t);return(Pt||Ye)&&Pt!="comment"&&(tt=null,$t.state=$t.state(Ye||Pt,nt,$t),tt&&(Pt=tt=="error"?Pt+" error":tt)),Pt},indent:function(nt,$t,Pt){var dn=nt.context;if(nt.tokenize.isInAttribute)return nt.tagStart==nt.indented?nt.stringStartCol+1:nt.indented+Ke;if(dn&&dn.noIndent)return se.Pass;if(nt.tokenize!=kt&&nt.tokenize!=ht)return Pt?Pt.match(/^(\s*)/)[0].length:0;if(nt.tagName)return Ee.multilineTagIndentPastTag!==!1?nt.tagStart+nt.tagName.length+2:nt.tagStart+Ke*(Ee.multilineTagIndentFactor||1);if(Ee.alignCDATA&&/$/,blockCommentStart:"",configuration:Ee.htmlMode?"html":"xml",helperType:Ee.htmlMode?"html":"xml",skipAttribute:function(nt){nt.state==ut&&(nt.state=$e)},xmlCurrentTag:function(nt){return nt.tagName?{name:nt.tagName,close:nt.type=="closeTag"}:null},xmlCurrentContext:function(nt){for(var $t=[],Pt=nt.context;Pt;Pt=Pt.prev)Pt.tagName&&$t.push(Pt.tagName);return $t.reverse()}}}),se.defineMIME("text/xml","xml"),se.defineMIME("application/xml","xml"),se.mimeModes.hasOwnProperty("text/html")||se.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(_e,be){"use strict";var oe;be.Q=Ie,oe=De;var se=",",Ce=" ",we="";function Ie(Ke){for(var Ee=[],et=String(Ke||we),Je=et.indexOf(se),Ye=0,tt=!1,ht;!tt;)Je===-1&&(Je=et.length,tt=!0),ht=et.slice(Ye,Je).trim(),(ht||!tt)&&Ee.push(ht),Ye=Je+1,Je=et.indexOf(se,Ye);return Ee}function De(Ke,Ee){var et=Ee||{},Je=et.padLeft===!1?we:Ce,Ye=et.padRight?Ce:we;return Ke[Ke.length-1]===we&&(Ke=Ke.concat(we)),Ke.join(Ye+se+Je).trim()}},58847:function(_e){"use strict";var be=Object.prototype.hasOwnProperty,oe=Object.prototype.toString,se=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,we=function(et){return typeof Array.isArray=="function"?Array.isArray(et):oe.call(et)==="[object Array]"},Ie=function(et){if(!et||oe.call(et)!=="[object Object]")return!1;var Je=be.call(et,"constructor"),Ye=et.constructor&&et.constructor.prototype&&be.call(et.constructor.prototype,"isPrototypeOf");if(et.constructor&&!Je&&!Ye)return!1;var tt;for(tt in et);return typeof tt=="undefined"||be.call(et,tt)},De=function(et,Je){se&&Je.name==="__proto__"?se(et,Je.name,{enumerable:!0,configurable:!0,value:Je.newValue,writable:!0}):et[Je.name]=Je.newValue},Ke=function(et,Je){if(Je==="__proto__")if(be.call(et,Je)){if(Ce)return Ce(et,Je).value}else return;return et[Je]};_e.exports=function Ee(){var et,Je,Ye,tt,ht,kt,ze=arguments[0],ee=1,ne=arguments.length,ge=!1;for(typeof ze=="boolean"&&(ge=ze,ze=arguments[1]||{},ee=2),(ze==null||typeof ze!="object"&&typeof ze!="function")&&(ze={});eex&&(x=Math.max(0,E+x)),(b==null||b>E)&&(b=E),b=Number(b),0>b&&(b=Math.max(0,E+b)),x=Number(x||0);x=a.length?a.push(x):a.splice(y,0,x):bt("Cannot insert an object into an HTMLCollection or NodeList: "+x+" at "+y)}function wn(a,y){Array.isArray(a)?y>=a.length?a.pop():a.splice(y,1):bt("Cannot remove an object from an HTMLCollection or NodeList at "+y)}function gn(){var a=zi.pop();return a===void 0?[]:a}function kn(a){a.length=0,zi.push(a)}function Bn(a){if(typeof a=="function"){if(a.className)return a.className;if(a.name)return a.name;var y=a.toString();if(y=y.substring(9,y.indexOf("(")).trim(),y!=="")return a._className=y}else if(_t(a)&&a.constructor)return Bn(a.constructor);return typeof a}function Vn(a){var y=a;return _t(a)&&(a.text?y=a.text:a.name?y=a.name:a.key!==void 0?y=a.key:a.id!==void 0?y=a.id:a.constructor===Object&&(a.Text?y=a.Text:a.Name?y=a.Name:a.Key!==void 0?y=a.Key:a.Id!==void 0?y=a.Id:a.ID!==void 0&&(y=a.ID))),y===void 0?"undefined":y===null?"null":y.toString()}function Jn(a,y){if(a.hasOwnProperty(y))return!0;for(a=Object.getPrototypeOf(a);a&&a!==Function;){if(a.hasOwnProperty(y))return!0;var x=a.CA;if(x&&x[y])return!0;a=Object.getPrototypeOf(a)}return!1}function Wn(a,y,x){Object.defineProperty(pa.prototype,a,{get:y,set:x})}function gi(a){for(var y=[],x=0;256>x;x++)y["0123456789abcdef".charAt(x>>4)+"0123456789abcdef".charAt(x&15)]=String.fromCharCode(x);a.length%2&&(a="0"+a),x=[];for(var b=0,E=0;Ex;x++)y[x]=x;for(x=b=0;256>x;x++)b=(b+y[x]+119)%256,E=y[x],y[x]=y[b],y[b]=E;b=x=0;for(var z="",te=0;te-1||z.indexOf("\xA9 1998-2021 Northwoods Software")>-1||z.indexOf("Not for distribution or production use")>-1||z.indexOf("gojs.net")>-1?"":z}var Fi=yt.navigator!==void 0&&0this.key)return!1;a=a.s;var y=a.length,x=++this.Za,b=this.qf;if(b!==null)for(;xthis.key)return!1;var y=--this.Za;return 0<=y?(this.key=y,this.value=a.s[y],!0):(this.de(),!1)},Ir.prototype.Ad=function(){return this.next()},Ir.prototype.first=function(){var a=this.Bb;this.qa=a.Ja;var y=a.s;return this.Za=a=y.length-1,0<=a?(y=y[a],this.key=a,this.value=y):null},Ir.prototype.any=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(a(y[x]))return!0;return!1},Ir.prototype.all=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(!a(y[x]))return!1;return!0},Ir.prototype.each=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)a(y[x]);return this},Ir.prototype.map=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--)x.push(a(y[b]));return a=new Gt,a.s=x,a.xb(),a.iterator},Ir.prototype.filter=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--){var E=y[b];a(E)&&x.push(E)}return a=new Gt,a.s=x,a.xb(),a.iterator},Ir.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},Ir.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},Nt.Object.defineProperties(Ir.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),Ir.prototype.first=Ir.prototype.first,Ir.prototype.hasNext=Ir.prototype.Ad,Ir.prototype.next=Ir.prototype.next,Ir.prototype.reset=Ir.prototype.reset,Ir.className="ListIteratorBackwards";function Gt(a){kr(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof a=="string"&&bt("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ue=Gt.prototype,Ue.xb=function(){var a=this.Ja;a++,999999999a||a>=y.length)&&Ln(a,"0 <= i < length",Gt,"elt:i"),y[a]},Ue.get=function(a){return this.M(a)},Ue.cd=function(a,y){var x=this.s;(0>a||a>=x.length)&&Ln(a,"0 <= i < length",Gt,"setElt:i"),this._isFrozen&&Ut(this,a),x[a]=y},Ue.set=function(a,y){this.cd(a,y)},Ue.first=function(){var a=this.s;return a.length===0?null:a[0]},Ue.jc=function(){var a=this.s,y=a.length;return 0a&&Ln(a,">= 0",Gt,"insertAt:i"),this._isFrozen&&Ut(this,a);var x=this.s;a>=x.length?x.push(y):x.splice(a,0,y),this.xb()},Ue.remove=function(a){if(a===null)return!1;this._isFrozen&&Ut(this,a);var y=this.s;return a=y.indexOf(a),a===-1?!1:(a===y.length-1?y.pop():y.splice(a,1),this.xb(),!0)},Ue.delete=function(a){return this.remove(a)},Ue.mb=function(a){var y=this.s;(0>a||a>=y.length)&&Ln(a,"0 <= i < length",Gt,"removeAt:i"),this._isFrozen&&Ut(this,a),a===y.length-1?y.pop():y.splice(a,1),this.xb()},Ue.removeRange=function(a,y){var x=this.s,b=x.length;if(0>a)a=0;else if(a>=b)return this;if(0>y)return this;if(y>=b&&(y=b-1),a>y)return this;this._isFrozen&&Ut(this);for(var E=a,z=y+1;z=z)return this;if((0>y||y>=E-1)&&Ln(y,"0 <= from < length",Gt,"sortRange:from"),z===2)return x=b[y],E=b[y+1],0=E)b.sort(a);else for(y=b.slice(0,x),y.sort(a),a=0;a=E)for(x=b.slice(y),x.sort(a),a=y;a=this.s.length)return br;var a=this.Sa;return a!==null?(a.reset(),a):new Hi(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return br;var a=this.Hg;return a!==null?(a.reset(),a):new Ir(this)}}}),Gt.prototype.reverse=Gt.prototype.reverse,Gt.prototype.sortRange=Gt.prototype.zi,Gt.prototype.sort=Gt.prototype.sort,Gt.prototype.toSet=Gt.prototype.Iv,Gt.prototype.toArray=Gt.prototype.Fa,Gt.prototype.removeRange=Gt.prototype.removeRange,Gt.prototype.removeAt=Gt.prototype.mb,Gt.prototype.delete=Gt.prototype.delete,Gt.prototype.remove=Gt.prototype.remove,Gt.prototype.insertAt=Gt.prototype.Gb,Gt.prototype.pop=Gt.prototype.pop,Gt.prototype.last=Gt.prototype.jc,Gt.prototype.first=Gt.prototype.first,Gt.prototype.set=Gt.prototype.set,Gt.prototype.setElt=Gt.prototype.cd,Gt.prototype.get=Gt.prototype.get,Gt.prototype.elt=Gt.prototype.M,Gt.prototype.indexOf=Gt.prototype.indexOf,Gt.prototype.has=Gt.prototype.has,Gt.prototype.contains=Gt.prototype.contains,Gt.prototype.clear=Gt.prototype.clear,Gt.prototype.addAll=Gt.prototype.addAll,Gt.prototype.push=Gt.prototype.push,Gt.prototype.add=Gt.prototype.add,Gt.prototype.thaw=Gt.prototype.ka,Gt.prototype.freeze=Gt.prototype.freeze,Gt.className="List";function Kr(a){this.eg=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Kr.prototype.reset=function(){var a=this.eg;a.Sa=null,this.qa=a.Ja,this.sa=null},Kr.prototype.next=function(){var a=this.eg;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},Kr.prototype.Ad=function(){return this.next()},Kr.prototype.first=function(){var a=this.eg;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},Kr.prototype.any=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},Kr.prototype.all=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},Kr.prototype.each=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},Kr.prototype.map=function(a){var y=this.eg;y.Sa=null;var x=new Gt;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},Kr.prototype.filter=function(a){var y=this.eg;y.Sa=null;var x=new Gt;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},Kr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},Kr.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},Nt.Object.defineProperties(Kr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),Kr.prototype.first=Kr.prototype.first,Kr.prototype.hasNext=Kr.prototype.Ad,Kr.prototype.next=Kr.prototype.next,Kr.prototype.reset=Kr.prototype.reset,Kr.className="SetIterator";function Fn(a){kr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&bt("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ue=Fn.prototype,Ue.xb=function(){var a=this.Ja;a++,999999999=this.Sb)return br;var a=this.Sa;return a!==null?(a.reset(),a):new Kr(this)}}}),Fn.prototype.toList=Fn.prototype.Hv,Fn.prototype.toArray=Fn.prototype.Fa,Fn.prototype.clear=Fn.prototype.clear,Fn.prototype.retainAll=Fn.prototype.pA,Fn.prototype.removeAll=Fn.prototype.hp,Fn.prototype.delete=Fn.prototype.delete,Fn.prototype.remove=Fn.prototype.remove,Fn.prototype.first=Fn.prototype.first,Fn.prototype.containsAny=Fn.prototype.Ty,Fn.prototype.containsAll=Fn.prototype.Sy,Fn.prototype.has=Fn.prototype.has,Fn.prototype.contains=Fn.prototype.contains,Fn.prototype.addAll=Fn.prototype.addAll,Fn.prototype.add=Fn.prototype.add,Fn.prototype.thaw=Fn.prototype.ka,Fn.prototype.freeze=Fn.prototype.freeze;var po=1;Fn.className="Set",Fn.uniqueHash=kr,Fn.hashIdUnique=Go,Fn.hashId=Dr;function Do(a){this.ma=a,this.qa=a.Ja,this.sa=null}Do.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},Do.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=this.key=a=y.key,!0):(this.de(),!1)},Do.prototype.Ad=function(){return this.next()},Do.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.value=this.key=a=a.key):null},Do.prototype.any=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Do.prototype.all=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Do.prototype.each=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;)a(y.key),y=y.va;return this},Do.prototype.map=function(a){var y=this.ma;this.sa=null;var x=new Gt;for(y=y.ea;y!==null;)x.add(a(y.key)),y=y.va;return x.iterator},Do.prototype.filter=function(a){var y=this.ma;this.sa=null;var x=new Gt;for(y=y.ea;y!==null;){var b=y.key;a(b)&&x.add(b),y=y.va}return x.iterator},Do.prototype.de=function(){this.value=this.key=null,this.qa=-1},Do.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},Nt.Object.defineProperties(Do.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Do.prototype.first=Do.prototype.first,Do.prototype.hasNext=Do.prototype.Ad,Do.prototype.next=Do.prototype.next,Do.prototype.reset=Do.prototype.reset,Do.className="MapKeySetIterator";function Ji(a){Fn.call(this),kr(this),this._isFrozen=!0,this.ma=a}qt(Ji,Fn),Ue=Ji.prototype,Ue.freeze=function(){return this},Ue.ka=function(){return this},Ue.toString=function(){return"MapKeySet("+this.ma.toString()+")"},Ue.add=function(){bt("This Set is read-only: "+this.toString())},Ue.contains=function(a){return this.ma.contains(a)},Ue.has=function(a){return this.contains(a)},Ue.remove=function(){bt("This Set is read-only: "+this.toString())},Ue.delete=function(a){return this.remove(a)},Ue.clear=function(){bt("This Set is read-only: "+this.toString())},Ue.first=function(){var a=this.ma.ea;return a!==null?a.key:null},Ji.prototype.any=function(a){for(var y=this.ma.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Ji.prototype.all=function(a){for(var y=this.ma.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Ji.prototype.each=function(a){for(var y=this.ma.ea;y!==null;)a(y.key),y=y.va;return this},Ji.prototype.map=function(a){for(var y=new Fn,x=this.ma.ea;x!==null;)y.add(a(x.key)),x=x.va;return y},Ji.prototype.filter=function(a){for(var y=new Fn,x=this.ma.ea;x!==null;){var b=x.key;a(b)&&y.add(b),x=x.va}return y},Ji.prototype.copy=function(){return new Ji(this.ma)},Ji.prototype.Iv=function(){var a=new Fn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Ji.prototype.Fa=function(){var a=this.ma.Tb,y=Array(this.ma.Sb),x=0,b;for(b in a)y[x]=a[b].key,x++;return y},Ji.prototype.Hv=function(){var a=new Gt,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Nt.Object.defineProperties(Ji.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?br:new Do(this.ma)}}}),Ji.prototype.toList=Ji.prototype.Hv,Ji.prototype.toArray=Ji.prototype.Fa,Ji.prototype.toSet=Ji.prototype.Iv,Ji.prototype.first=Ji.prototype.first,Ji.prototype.clear=Ji.prototype.clear,Ji.prototype.delete=Ji.prototype.delete,Ji.prototype.remove=Ji.prototype.remove,Ji.prototype.has=Ji.prototype.has,Ji.prototype.contains=Ji.prototype.contains,Ji.prototype.add=Ji.prototype.add,Ji.prototype.thaw=Ji.prototype.ka,Ji.prototype.freeze=Ji.prototype.freeze,Ji.className="MapKeySet";function or(a){this.ma=a,a.jf=null,this.qa=a.Ja,this.sa=null}or.prototype.reset=function(){var a=this.ma;a.jf=null,this.qa=a.Ja,this.sa=null},or.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},or.prototype.Ad=function(){return this.next()},or.prototype.first=function(){var a=this.ma;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},or.prototype.any=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},or.prototype.all=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},or.prototype.each=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},or.prototype.map=function(a){var y=this.ma;this.sa=y.jf=null;var x=new Gt;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},or.prototype.filter=function(a){var y=this.ma;this.sa=y.jf=null;var x=new Gt;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},or.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},or.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},Nt.Object.defineProperties(or.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),or.prototype.first=or.prototype.first,or.prototype.hasNext=or.prototype.Ad,or.prototype.next=or.prototype.next,or.prototype.reset=or.prototype.reset,or.className="MapValueSetIterator";function io(a,y){this.key=a,this.value=y,this.ll=this.va=null}io.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},io.className="KeyValuePair";function _r(a){this.ma=a,a.Sa=null,this.qa=a.Ja,this.sa=null}_r.prototype.reset=function(){var a=this.ma;a.Sa=null,this.qa=a.Ja,this.sa=null},_r.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.key=y.key,this.value=y.value,!0):(this.de(),!1)},_r.prototype.Ad=function(){return this.next()},_r.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.key=a.key,this.value=a.value,a):null},_r.prototype.any=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},_r.prototype.all=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},_r.prototype.each=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y),y=y.va;return this},_r.prototype.map=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new Gt;for(y=y.ea;y!==null;)x.add(a(y)),y=y.va;return x.iterator},_r.prototype.filter=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new Gt;for(y=y.ea;y!==null;)a(y)&&x.add(y),y=y.va;return x.iterator},_r.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},_r.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},Nt.Object.defineProperties(_r.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),_r.prototype.first=_r.prototype.first,_r.prototype.hasNext=_r.prototype.Ad,_r.prototype.next=_r.prototype.next,_r.prototype.reset=_r.prototype.reset,_r.className="MapIterator";function Ii(a){kr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&bt("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ue=Ii.prototype,Ue.xb=function(){var a=this.Ja;a++,999999999=this.count)return br;var a=this.Sa;return a!==null?(a.reset(),a):new _r(this)}},iteratorKeys:{get:function(){return 0>=this.count?br:new Do(this)}},iteratorValues:{get:function(){if(0>=this.count)return br;var a=this.jf;return a!==null?(a.reset(),a):new or(this)}}}),Ii.prototype.toKeySet=Ii.prototype.Lf,Ii.prototype.toArray=Ii.prototype.Fa,Ii.prototype.clear=Ii.prototype.clear,Ii.prototype.delete=Ii.prototype.delete,Ii.prototype.remove=Ii.prototype.remove,Ii.prototype.get=Ii.prototype.get,Ii.prototype.getValue=Ii.prototype.I,Ii.prototype.has=Ii.prototype.has,Ii.prototype.contains=Ii.prototype.contains,Ii.prototype.first=Ii.prototype.first,Ii.prototype.addAll=Ii.prototype.addAll,Ii.prototype.set=Ii.prototype.set,Ii.prototype.add=Ii.prototype.add,Ii.prototype.thaw=Ii.prototype.ka,Ii.prototype.freeze=Ii.prototype.freeze,Ii.className="Map";function lt(a,y){a===void 0?this.y=this.x=0:typeof a=="number"&&typeof y=="number"?(this.x=a,this.y=y):bt("Invalid arguments to Point constructor: "+a+", "+y),this._isFrozen=!1}var Rr,Ko,Yr,yo,Mr;lt.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this},lt.prototype.h=function(a,y){return this.x=a,this.y=y,this},lt.prototype.sg=function(a,y){return this.x=a,this.y=y,this},lt.prototype.set=function(a){return this.x=a.x,this.y=a.y,this},lt.prototype.copy=function(){var a=new lt;return a.x=this.x,a.y=this.y,a},Ue=lt.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function mr(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new lt(x,E)}return new lt}function co(a){return a.x.toString()+" "+a.y.toString()}Ue.toString=function(){return"Point("+this.x+","+this.y+")"},Ue.D=function(a){return a instanceof lt?this.x===a.x&&this.y===a.y:!1},Ue.hi=function(a,y){return this.x===a&&this.y===y},Ue.Xa=function(a){return Wt.B(this.x,a.x)&&Wt.B(this.y,a.y)},Ue.add=function(a){return this.x+=a.x,this.y+=a.y,this},Ue.re=function(a){return this.x-=a.x,this.y-=a.y,this},Ue.offset=function(a,y){return this.x+=a,this.y+=y,this},lt.prototype.rotate=function(a){if(a===0)return this;var y=this.x,x=this.y;if(y===0&&x===0)return this;if(360<=a?a-=360:0>a&&(a+=360),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));return this.x=a*y-b*x,this.y=b*y+a*x,this},Ue=lt.prototype,Ue.scale=function(a,y){return this.x*=a,this.y*=y,this},Ue.Bf=function(a){var y=a.x-this.x;return a=a.y-this.y,y*y+a*a},Ue.zd=function(a,y){return a-=this.x,y-=this.y,a*a+y*y},Ue.normalize=function(){var a=this.x,y=this.y,x=Math.sqrt(a*a+y*y);return 0y?270:0;if(y===0)return 0a?x=0>y?x+180:180-x:0>y&&(x=360-x),x}Ue.Ry=function(a,y){return Wt.Fl(a.x,a.y,y.x,y.y,this.x,this.y)},Ue.fA=function(a,y,x,b){return Wt.qh(a,y,x,b,this.x,this.y,this),this},Ue.gA=function(a,y){return Wt.qh(a.x,a.y,y.x,y.y,this.x,this.y,this),this},Ue.uA=function(a,y,x,b){return Wt.No(this.x,this.y,a,y,x,b,this),this},Ue.vA=function(a,y){return Wt.No(this.x,this.y,a.x,a.y,y.width,y.height,this),this},Ue.xi=function(a,y){return this.x=a.x+y.x*a.width+y.offsetX,this.y=a.y+y.y*a.height+y.offsetY,this},Ue.yi=function(a,y,x,b,E){return this.x=a+E.x*x+E.offsetX,this.y=y+E.y*b+E.offsetY,this},Ue.transform=function(a){return a.Ga(this),this};function ao(a,y){return y.Cd(a),a}function ra(a,y,x,b,E,z){var te=E-x,re=z-b,le=te*te+re*re;x-=a,b-=y;var ce=-x*te-b*re;return 0>=ce||ce>=le?(te=E-a,re=z-y,Math.min(x*x+b*b,te*te+re*re)):(a=te*b-re*x,a*a/le)}function gr(a,y,x,b){return a=x-a,y=b-y,a*a+y*y}function Qi(a,y,x,b){return a=x-a,y=b-y,a===0?0y?270:0:y===0?0a?b=0>y?b+180:180-b:0>y&&(b=360-b),b)}Ue.w=function(){return isFinite(this.x)&&isFinite(this.y)},lt.alloc=function(){var a=xr.pop();return a===void 0?new lt:a},lt.allocAt=function(a,y){var x=xr.pop();return x===void 0?new lt(a,y):(x.x=a,x.y=y,x)},lt.free=function(a){xr.push(a)},lt.prototype.isReal=lt.prototype.w,lt.prototype.setSpot=lt.prototype.yi,lt.prototype.setRectSpot=lt.prototype.xi,lt.prototype.snapToGridPoint=lt.prototype.vA,lt.prototype.snapToGrid=lt.prototype.uA,lt.prototype.projectOntoLineSegmentPoint=lt.prototype.gA,lt.prototype.projectOntoLineSegment=lt.prototype.fA,lt.intersectingLineSegments=function(a,y,x,b,E,z,te,re){return Wt.Rl(a,y,x,b,E,z,te,re)},lt.prototype.compareWithLineSegmentPoint=lt.prototype.Ry,lt.compareWithLineSegment=function(a,y,x,b,E,z){return Wt.Fl(a,y,x,b,E,z)},lt.prototype.direction=lt.prototype.direction,lt.prototype.directionPoint=lt.prototype.ab,lt.prototype.normalize=lt.prototype.normalize,lt.prototype.distanceSquared=lt.prototype.zd,lt.prototype.distanceSquaredPoint=lt.prototype.Bf,lt.prototype.scale=lt.prototype.scale,lt.prototype.rotate=lt.prototype.rotate,lt.prototype.offset=lt.prototype.offset,lt.prototype.subtract=lt.prototype.re,lt.prototype.add=lt.prototype.add,lt.prototype.equalsApprox=lt.prototype.Xa,lt.prototype.equalTo=lt.prototype.hi,lt.prototype.equals=lt.prototype.D,lt.prototype.set=lt.prototype.set,lt.prototype.setTo=lt.prototype.sg;var xr=[];lt.className="Point",lt.parse=mr,lt.stringify=co,lt.distanceLineSegmentSquared=ra,lt.distanceSquared=gr,lt.direction=Qi,lt.Origin=Rr=new lt(0,0).ja(),lt.InfiniteTopLeft=Ko=new lt(-1/0,-1/0).ja(),lt.InfiniteBottomRight=Yr=new lt(1/0,1/0).ja(),lt.SixPoint=yo=new lt(6,6).ja(),lt.NoPoint=Mr=new lt(NaN,NaN).ja(),lt.parse=mr,lt.stringify=co,lt.distanceLineSegmentSquared=ra,lt.distanceSquared=gr,lt.direction=Qi;function fi(a,y){a===void 0?this.height=this.width=0:typeof a=="number"&&(0<=a||isNaN(a))&&typeof y=="number"&&(0<=y||isNaN(y))?(this.width=a,this.height=y):bt("Invalid arguments to Size constructor: "+a+", "+y),this._isFrozen=!1}var bo,ua,ca,oa,Ra,ts,cs;fi.prototype.assign=function(a){return this.width=a.width,this.height=a.height,this},fi.prototype.h=function(a,y){return this.width=a,this.height=y,this},fi.prototype.sg=function(a,y){return this.width=a,this.height=y,this},fi.prototype.set=function(a){return this.width=a.width,this.height=a.height,this},fi.prototype.copy=function(){var a=new fi;return a.width=this.width,a.height=this.height,a},Ue=fi.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function Qa(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new fi(x,E)}return new fi}function ks(a){return a.width.toString()+" "+a.height.toString()}Ue.toString=function(){return"Size("+this.width+","+this.height+")"},Ue.D=function(a){return a instanceof fi?this.width===a.width&&this.height===a.height:!1},Ue.hi=function(a,y){return this.width===a&&this.height===y},Ue.Xa=function(a){return Wt.B(this.width,a.width)&&Wt.B(this.height,a.height)},Ue.Bc=function(a,y){return a=this.width+a,this.width=0<=a?a:0,y=this.height+y,this.height=0<=y?y:0,this},Ue.w=function(){return isFinite(this.width)&&isFinite(this.height)},fi.alloc=function(){var a=Ds.pop();return a===void 0?new fi:a},fi.free=function(a){Ds.push(a)},fi.prototype.isReal=fi.prototype.w,fi.prototype.inflate=fi.prototype.Bc,fi.prototype.equalsApprox=fi.prototype.Xa,fi.prototype.equalTo=fi.prototype.hi,fi.prototype.equals=fi.prototype.D,fi.prototype.set=fi.prototype.set,fi.prototype.setTo=fi.prototype.sg;var Ds=[];fi.className="Size",fi.parse=Qa,fi.stringify=ks,fi.ZeroSize=bo=new fi(0,0).ja(),fi.OneSize=ua=new fi(1,1).ja(),fi.SixSize=ca=new fi(6,6).ja(),fi.EightSize=oa=new fi(8,8).ja(),fi.TenSize=Ra=new fi(10,10).ja(),fi.InfiniteSize=ts=new fi(1/0,1/0).ja(),fi.NoSize=cs=new fi(NaN,NaN).ja(),fi.parse=Qa,fi.stringify=ks;function jn(a,y,x,b){a===void 0?this.height=this.width=this.y=this.x=0:typeof a=="number"&&typeof y=="number"&&typeof x=="number"&&(0<=x||isNaN(x))&&typeof b=="number"&&(0<=b||isNaN(b))?(this.x=a,this.y=y,this.width=x,this.height=b):a instanceof lt?(x=a.x,a=a.y,y instanceof lt?(b=y.x,y=y.y,this.x=Math.min(x,b),this.y=Math.min(a,y),this.width=Math.abs(x-b),this.height=Math.abs(a-y)):y instanceof fi?(this.x=x,this.y=a,this.width=y.width,this.height=y.height):bt("Incorrect second argument supplied to Rect constructor "+y)):bt("Invalid arguments to Rect constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}Ue=jn.prototype,Ue.assign=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ue.h=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this};function gs(a,y,x){a.width=y,a.height=x}Ue.sg=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this},Ue.set=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ue.dd=function(a){return this.x=a.x,this.y=a.y,this},Ue.tA=function(a){return this.width=a.width,this.height=a.height,this},jn.prototype.copy=function(){var a=new jn;return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},Ue=jn.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function Ql(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;(b=a[y++])&&(E=parseFloat(b));for(var z=0;a[y]==="";)y++;(b=a[y++])&&(z=parseFloat(b));for(var te=0;a[y]==="";)y++;return(b=a[y++])&&(te=parseFloat(b)),new jn(x,E,z,te)}return new jn}function Kl(a){return a.x.toString()+" "+a.y.toString()+" "+a.width.toString()+" "+a.height.toString()}Ue.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},Ue.D=function(a){return a instanceof jn?this.x===a.x&&this.y===a.y&&this.width===a.width&&this.height===a.height:!1},Ue.hi=function(a,y,x,b){return this.x===a&&this.y===y&&this.width===x&&this.height===b},Ue.Xa=function(a){return Wt.B(this.x,a.x)&&Wt.B(this.y,a.y)&&Wt.B(this.width,a.width)&&Wt.B(this.height,a.height)};function Oo(a,y){return Wt.$(a.x,y.x)&&Wt.$(a.y,y.y)&&Wt.$(a.width,y.width)&&Wt.$(a.height,y.height)}Ue.ca=function(a){return this.x<=a.x&&this.x+this.width>=a.x&&this.y<=a.y&&this.y+this.height>=a.y},Ue.Re=function(a){return this.x<=a.x&&a.x+a.width<=this.x+this.width&&this.y<=a.y&&a.y+a.height<=this.y+this.height},Ue.contains=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),this.x<=a&&a+x<=this.x+this.width&&this.y<=y&&y+b<=this.y+this.height},Ue.offset=function(a,y){return this.x+=a,this.y+=y,this},Ue.Bc=function(a,y){return ma(this,y,a,y,a)},Ue.Co=function(a){return ma(this,a.top,a.right,a.bottom,a.left)},Ue.Fv=function(a){return ma(this,-a.top,-a.right,-a.bottom,-a.left)},Ue.Hz=function(a,y,x,b){return ma(this,a,y,x,b)};function ma(a,y,x,b,E){var z=a.width;return x+E<=-z?(a.x+=z/2,a.width=0):(a.x-=E,a.width+=x+E),x=a.height,y+b<=-x?(a.y+=x/2,a.height=0):(a.y-=y,a.height+=y+b),a}Ue.Ex=function(a){return ds(this,a.x,a.y,a.width,a.height)},Ue.Uu=function(a,y,x,b){return ds(this,a,y,x,b)};function ds(a,y,x,b,E){var z=Math.max(a.x,y),te=Math.max(a.y,x);return y=Math.min(a.x+a.width,y+b),x=Math.min(a.y+a.height,x+E),a.x=z,a.y=te,a.width=Math.max(0,y-z),a.height=Math.max(0,x-te),a}Ue.Yc=function(a){return this.Vu(a.x,a.y,a.width,a.height)},Ue.Vu=function(a,y,x,b){var E=this.width,z=this.x;return E!==1/0&&x!==1/0&&(E+=z,x+=a,isNaN(x)||isNaN(E)||z>x||a>E)?!1:(a=this.height,x=this.y,!(a!==1/0&&b!==1/0&&(a+=x,b+=y,isNaN(b)||isNaN(a)||x>b||y>a)))};function aa(a,y){var x=a.width,b=a.x,E=y.x-10;return b>y.width+10+10+E||E>x+b?!1:(x=a.height,a=a.y,b=y.y-10,!(a>y.height+10+10+b||b>x+a))}Ue.Ye=function(a){return Xr(this,a.x,a.y,0,0)},Ue.ed=function(a){return Xr(this,a.x,a.y,a.width,a.height)},Ue.Kv=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),Xr(this,a,y,x,b)};function Xr(a,y,x,b,E){var z=Math.min(a.x,y),te=Math.min(a.y,x);return y=Math.max(a.x+a.width,y+b),x=Math.max(a.y+a.height,x+E),a.x=z,a.y=te,a.width=y-z,a.height=x-te,a}Ue.yi=function(a,y,x){return this.x=a-x.offsetX-x.x*this.width,this.y=y-x.offsetY-x.y*this.height,this};function Qr(a,y,x,b,E,z,te,re){return te===void 0&&(te=0),re===void 0&&(re=0),a<=E&&E+te<=a+x&&y<=z&&z+re<=y+b}function ns(a,y,x,b,E,z,te,re){return a>te+E||E>x+a?!1:!(y>re+z||z>b+y)}Ue.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},Ue.Mz=function(){return this.width===0&&this.height===0},jn.alloc=function(){var a=Mo.pop();return a===void 0?new jn:a},jn.allocAt=function(a,y,x,b){var E=Mo.pop();return E===void 0?new jn(a,y,x,b):E.h(a,y,x,b)},jn.free=function(a){Mo.push(a)},Nt.Object.defineProperties(jn.prototype,{left:{get:function(){return this.x},set:function(a){this.x=a}},top:{get:function(){return this.y},set:function(a){this.y=a}},right:{get:function(){return this.x+this.width},set:function(a){this.x+=a-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(a){this.y+=a-(this.y+this.height)}},position:{get:function(){return new lt(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}},size:{get:function(){return new fi(this.width,this.height)},set:function(a){this.width=a.width,this.height=a.height}},center:{get:function(){return new lt(this.x+this.width/2,this.y+this.height/2)},set:function(a){this.x=a.x-this.width/2,this.y=a.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(a){this.x=a-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(a){this.y=a-this.height/2}}}),jn.prototype.isEmpty=jn.prototype.Mz,jn.prototype.isReal=jn.prototype.w,jn.intersectsLineSegment=function(a,y,x,b,E,z,te,re){return Wt.Fx(a,y,x,b,E,z,te,re)},jn.prototype.setSpot=jn.prototype.yi,jn.prototype.union=jn.prototype.Kv,jn.prototype.unionRect=jn.prototype.ed,jn.prototype.unionPoint=jn.prototype.Ye,jn.prototype.intersects=jn.prototype.Vu,jn.prototype.intersectsRect=jn.prototype.Yc,jn.prototype.intersect=jn.prototype.Uu,jn.prototype.intersectRect=jn.prototype.Ex,jn.prototype.grow=jn.prototype.Hz,jn.prototype.subtractMargin=jn.prototype.Fv,jn.prototype.addMargin=jn.prototype.Co,jn.prototype.inflate=jn.prototype.Bc,jn.prototype.offset=jn.prototype.offset,jn.prototype.contains=jn.prototype.contains,jn.prototype.containsRect=jn.prototype.Re,jn.prototype.containsPoint=jn.prototype.ca,jn.prototype.equalsApprox=jn.prototype.Xa,jn.prototype.equalTo=jn.prototype.hi,jn.prototype.equals=jn.prototype.D,jn.prototype.setSize=jn.prototype.tA,jn.prototype.setPoint=jn.prototype.dd,jn.prototype.set=jn.prototype.set,jn.prototype.setTo=jn.prototype.sg;var so=null,Po=null,Mo=[];jn.className="Rect",jn.parse=Ql,jn.stringify=Kl,jn.contains=Qr,jn.intersects=ns,jn.ZeroRect=so=new jn(0,0,0,0).ja(),jn.NoRect=Po=new jn(NaN,NaN,NaN,NaN).ja(),jn.parse=Ql,jn.stringify=Kl,jn.contains=Qr,jn.intersects=ns;function $i(a,y,x,b){a===void 0?this.left=this.bottom=this.right=this.top=0:y===void 0?this.left=this.bottom=this.right=this.top=a:x===void 0?(this.top=a,this.right=y,this.bottom=a,this.left=y):b!==void 0?(this.top=a,this.right=y,this.bottom=x,this.left=b):bt("Invalid arguments to Margin constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}$i.prototype.assign=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},$i.prototype.sg=function(a,y,x,b){return this.top=a,this.right=y,this.bottom=x,this.left=b,this},$i.prototype.set=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},$i.prototype.copy=function(){var a=new $i;return a.top=this.top,a.right=this.right,a.bottom=this.bottom,a.left=this.left,a},Ue=$i.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function Ja(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=NaN;a[y]==="";)y++;var b=a[y++];if(b&&(x=parseFloat(b)),isNaN(x))return new $i;for(var E=NaN;a[y]==="";)y++;if((b=a[y++])&&(E=parseFloat(b)),isNaN(E))return new $i(x);for(var z=NaN;a[y]==="";)y++;if((b=a[y++])&&(z=parseFloat(b)),isNaN(z))return new $i(x,E);for(var te=NaN;a[y]==="";)y++;return(b=a[y++])&&(te=parseFloat(b)),isNaN(te)?new $i(x,E):new $i(x,E,z,te)}return new $i}function xs(a){return a.top.toString()+" "+a.right.toString()+" "+a.bottom.toString()+" "+a.left.toString()}Ue.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},Ue.D=function(a){return a instanceof $i?this.top===a.top&&this.right===a.right&&this.bottom===a.bottom&&this.left===a.left:!1},Ue.hi=function(a,y,x,b){return this.top===a&&this.right===y&&this.bottom===x&&this.left===b},Ue.Xa=function(a){return Wt.B(this.top,a.top)&&Wt.B(this.right,a.right)&&Wt.B(this.bottom,a.bottom)&&Wt.B(this.left,a.left)},Ue.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},$i.alloc=function(){var a=Jl.pop();return a===void 0?new $i:a},$i.free=function(a){Jl.push(a)},$i.prototype.isReal=$i.prototype.w,$i.prototype.equalsApprox=$i.prototype.Xa,$i.prototype.equalTo=$i.prototype.hi,$i.prototype.equals=$i.prototype.D,$i.prototype.set=$i.prototype.set,$i.prototype.setTo=$i.prototype.sg;var ul=null,Yl=null,Jl=[];$i.className="Margin",$i.parse=Ja,$i.stringify=xs,$i.ZeroMargin=ul=new $i(0,0,0,0).ja(),$i.TwoMargin=Yl=new $i(2,2,2,2).ja(),$i.parse=Ja,$i.stringify=xs;function _i(a,y,x,b){a===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(y===void 0&&(y=0),x===void 0&&(x=0),b===void 0&&(b=0),this.x=a,this.y=y,this.offsetX=x,this.offsetY=b),this._isFrozen=!1}var is,Hs,tu,ui,du,wo,Uc,Wl,$l,Fl,Zu,Ws,Zs,Al,Jc,qc,Pc,md,ed,Xn,bn,Ht,Ao,ta,sa,Vr,Jr,Br,rr,ro,Na,Ia,Ho,Bo,rl,Bs;_i.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},_i.prototype.sg=function(a,y,x,b){return this.x=a,this.y=y,this.offsetX=x,this.offsetY=b,this},_i.prototype.set=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},_i.prototype.copy=function(){var a=new _i;return a.x=this.x,a.y=this.y,a.offsetX=this.offsetX,a.offsetY=this.offsetY,a},Ue=_i.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function ka(a,y){return a.x=NaN,a.y=NaN,a.offsetX=y,a}function Nl(a){if(typeof a=="string"){if(a=a.trim(),a==="None")return is;if(a==="TopLeft")return Hs;if(a==="Top"||a==="TopCenter"||a==="MiddleTop")return tu;if(a==="TopRight")return ui;if(a==="Left"||a==="LeftCenter"||a==="MiddleLeft")return du;if(a==="Center")return wo;if(a==="Right"||a==="RightCenter"||a==="MiddleRight")return Uc;if(a==="BottomLeft")return Wl;if(a==="Bottom"||a==="BottomCenter"||a==="MiddleBottom")return $l;if(a==="BottomRight")return Fl;if(a==="TopSide")return Zu;if(a==="LeftSide")return Ws;if(a==="RightSide")return Zs;if(a==="BottomSide")return Al;if(a==="TopBottomSides")return Jc;if(a==="LeftRightSides")return qc;if(a==="TopLeftSides")return Pc;if(a==="TopRightSides")return md;if(a==="BottomLeftSides")return ed;if(a==="BottomRightSides")return Xn;if(a==="NotTopSide")return bn;if(a==="NotLeftSide")return Ht;if(a==="NotRightSide")return Ao;if(a==="NotBottomSide")return ta;if(a==="AllSides")return sa;if(a==="Default")return Vr;a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b!==void 0&&0a&&(a+=360),a===0)return this;if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.m12*a+this.m22*b,z=this.m11*-b+this.m21*a,te=this.m12*-b+this.m22*a;return this.m11=this.m11*a+this.m21*b,this.m12=E,this.m21=z,this.m22=te,this.translate(-y,-x),this},Ue=fr.prototype,Ue.translate=function(a,y){return this.dx+=this.m11*a+this.m21*y,this.dy+=this.m12*a+this.m22*y,this},Ue.scale=function(a,y){return y===void 0&&(y=a),this.m11*=a,this.m12*=a,this.m21*=y,this.m22*=y,this},Ue.Ga=function(a){var y=a.x,x=a.y;return a.h(y*this.m11+x*this.m21+this.dx,y*this.m12+x*this.m22+this.dy)},Ue.Cd=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=a.x,b=a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ue.Eu=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=1.25*a.x,b=1.2*a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ue.pp=function(a){var y=a.x,x=a.y,b=y+a.width,E=x+a.height,z=this.m11,te=this.m12,re=this.m21,le=this.m22,ce=this.dx,de=this.dy,ve=y*z+x*re+ce,Pe=y*te+x*le+de,Le=b*z+x*re+ce,Fe=b*te+x*le+de;return x=y*z+E*re+ce,y=y*te+E*le+de,z=b*z+E*re+ce,b=b*te+E*le+de,E=Math.min(ve,Le),ve=Math.max(ve,Le),Le=Math.min(Pe,Fe),Pe=Math.max(Pe,Fe),E=Math.min(E,x),ve=Math.max(ve,x),Le=Math.min(Le,y),Pe=Math.max(Pe,y),E=Math.min(E,z),ve=Math.max(ve,z),Le=Math.min(Le,b),Pe=Math.max(Pe,b),a.h(E,Le,ve-E,Pe-Le),a},fr.alloc=function(){var a=va.pop();return a===void 0?new fr:a},fr.free=function(a){va.push(a)},fr.prototype.transformRect=fr.prototype.pp,fr.prototype.transformPoint=fr.prototype.Ga,fr.prototype.scale=fr.prototype.scale,fr.prototype.translate=fr.prototype.translate,fr.prototype.rotate=fr.prototype.rotate,fr.prototype.invert=fr.prototype.Vj,fr.prototype.multiplyInverted=fr.prototype.bv,fr.prototype.multiply=fr.prototype.multiply,fr.prototype.reset=fr.prototype.reset,fr.prototype.isIdentity=fr.prototype.ws,fr.prototype.equals=fr.prototype.D,fr.prototype.setTransform=fr.prototype.setTransform,fr.prototype.set=fr.prototype.set;var va=[];fr.className="Transform",fr.xF="54a702f3e53909c447824c6706603faf4c";var Wt={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(a){if(0>=a)return 0;var y=Wt.Uv;if(y===null){y=[];for(var x=0;2e3>=x;x++)y[x]=Math.sqrt(x);Wt.Uv=y}return 1>a?(x=1/a,2e3>=x?1/y[x|0]:Math.sqrt(a)):2e3>=a?y[a|0]:Math.sqrt(a)},B:function(a,y){return a-=y,.5>a&&-.5a&&-5e-8=E&&(E=1e-6),ade-ce)if(a-x>E||x-a>E){if(z=(b-y)/(x-a)*(z-a)+y,z-E<=te&&te<=z+E)return!0}else return!0;else if(y-b>E||b-y>E){if(te=(x-a)/(b-y)*(te-y)+a,te-E<=z&&z<=te+E)return!0}else return!0;return!1},cs:function(a,y,x,b,E,z,te,re,le,ce,de,ve){if(Wt.Yb(a,y,te,re,ve,x,b)&&Wt.Yb(a,y,te,re,ve,E,z))return Wt.Yb(a,y,te,re,ve,ce,de);var Pe=(a+x)/2,Le=(y+b)/2,Fe=(x+E)/2,Ze=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(Pe+Fe)/2,x=(Le+Ze)/2,Fe=(Fe+E)/2,Ze=(Ze+z)/2;var pt=(b+Fe)/2,at=(x+Ze)/2;return Wt.cs(a,y,Pe,Le,b,x,pt,at,le,ce,de,ve)||Wt.cs(pt,at,Fe,Ze,E,z,te,re,le,ce,de,ve)},ax:function(a,y,x,b,E,z,te,re,le){var ce=(x+E)/2,de=(b+z)/2;return le.h((((a+x)/2+ce)/2+(ce+(E+te)/2)/2)/2,(((y+b)/2+de)/2+(de+(z+re)/2)/2)/2),le},My:function(a,y,x,b,E,z,te,re){var le=(x+E)/2,ce=(b+z)/2;return Qi(((a+x)/2+le)/2,((y+b)/2+ce)/2,(le+(E+te)/2)/2,(ce+(z+re)/2)/2)},Dl:function(a,y,x,b,E,z,te,re,le,ce){if(Wt.Yb(a,y,te,re,le,x,b)&&Wt.Yb(a,y,te,re,le,E,z))Xr(ce,a,y,0,0),Xr(ce,te,re,0,0);else{var de=(a+x)/2,ve=(y+b)/2,Pe=(x+E)/2,Le=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(de+Pe)/2,x=(ve+Le)/2,Pe=(Pe+E)/2,Le=(Le+z)/2;var Fe=(b+Pe)/2,Ze=(x+Le)/2;Wt.Dl(a,y,de,ve,b,x,Fe,Ze,le,ce),Wt.Dl(Fe,Ze,Pe,Le,E,z,te,re,le,ce)}return ce},Qe:function(a,y,x,b,E,z,te,re,le,ce){if(Wt.Yb(a,y,te,re,le,x,b)&&Wt.Yb(a,y,te,re,le,E,z))ce.length===0&&(ce.push(a),ce.push(y)),ce.push(te),ce.push(re);else{var de=(a+x)/2,ve=(y+b)/2,Pe=(x+E)/2,Le=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(de+Pe)/2,x=(ve+Le)/2,Pe=(Pe+E)/2,Le=(Le+z)/2;var Fe=(b+Pe)/2,Ze=(x+Le)/2;Wt.Qe(a,y,de,ve,b,x,Fe,Ze,le,ce),Wt.Qe(Fe,Ze,Pe,Le,E,z,te,re,le,ce)}return ce},jv:function(a,y,x,b,E,z,te,re,le,ce){if(Wt.Yb(a,y,E,z,ce,x,b))return Wt.Yb(a,y,E,z,ce,re,le);var de=(a+x)/2,ve=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var Pe=(de+x)/2,Le=(ve+b)/2;return Wt.jv(a,y,de,ve,Pe,Le,te,re,le,ce)||Wt.jv(Pe,Le,x,b,E,z,te,re,le,ce)},OA:function(a,y,x,b,E,z,te){return te.h(((a+x)/2+(x+E)/2)/2,((y+b)/2+(b+z)/2)/2),te},iv:function(a,y,x,b,E,z,te,re){if(Wt.Yb(a,y,E,z,te,x,b))Xr(re,a,y,0,0),Xr(re,E,z,0,0);else{var le=(a+x)/2,ce=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var de=(le+x)/2,ve=(ce+b)/2;Wt.iv(a,y,le,ce,de,ve,te,re),Wt.iv(de,ve,x,b,E,z,te,re)}return re},ep:function(a,y,x,b,E,z,te,re){if(Wt.Yb(a,y,E,z,te,x,b))re.length===0&&(re.push(a),re.push(y)),re.push(E),re.push(z);else{var le=(a+x)/2,ce=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var de=(le+x)/2,ve=(ce+b)/2;Wt.ep(a,y,le,ce,de,ve,te,re),Wt.ep(de,ve,x,b,E,z,te,re)}return re},Eo:function(a,y,x,b,E,z,te,re,le,ce,de,ve,Pe,Le){if(Wt.Yb(a,y,te,re,Pe,x,b)&&Wt.Yb(a,y,te,re,Pe,E,z))return!Wt.Rl(a,y,te,re,le,ce,de,ve)||(Pe=(a-te)*(ce-ve)-(y-re)*(le-de),Pe===0)?!1:(Le.h(((a*re-y*te)*(le-de)-(a-te)*(le*ve-ce*de))/Pe,((a*re-y*te)*(ce-ve)-(y-re)*(le*ve-ce*de))/Pe),!0);var Fe=(a+x)/2,Ze=(y+b)/2,pt=(x+E)/2,at=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(Fe+pt)/2,x=(Ze+at)/2,pt=(pt+E)/2,at=(at+z)/2;var Ct=(b+pt)/2,Lt=(x+at)/2,Dt=1/0,Kt=!1,vn=0,Pi=0;return Wt.Eo(a,y,Fe,Ze,b,x,Ct,Lt,le,ce,de,ve,Pe,Le)&&(a=(Le.x-le)*(Le.x-le)+(Le.y-ce)*(Le.y-ce),a=de)return Le;if((le>de?le-de:de-le)<(ce>ve?ce-ve:ve-ce)){if(ya)return Le}else if(aa)return Le;0Pe&&Le--}else{Fe=(a+x)/2,Ze=(y+b)/2;var pt=(x+E)/2,at=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(Fe+pt)/2,x=(Ze+at)/2,pt=(pt+E)/2,at=(at+z)/2;var Ct=(b+pt)/2,Lt=(x+at)/2;Le+=Wt.Fo(a,y,Fe,Ze,b,x,Ct,Lt,le,ce,de,ve,Pe),Le+=Wt.Fo(Ct,Lt,pt,at,E,z,te,re,le,ce,de,ve,Pe)}return Le},qh:function(a,y,x,b,E,z,te){return Wt.$(a,x)?(yy?(te.h(a,y),!1):(te.h(a,z),!0)):Wt.$(y,b)?(aa?(te.h(a,y),!1):(te.h(E,y),!0)):(E=((a-E)*(a-x)+(y-z)*(y-b))/((x-a)*(x-a)+(b-y)*(b-y)),-5e-6>E?(te.h(a,y),!1):1.000005y?(le.h(a,y),!1):(le.h(a,x),!0)):(te=(b-y)/(x-a),Wt.$(re,te)?(Wt.qh(a,y,x,b,E,z,le),!1):(E=(te*a-re*E+z-y)/(te-re),Wt.$(te,0)?(aa?(le.h(a,y),!1):(le.h(E,y),!0)):Wt.qh(a,y,x,b,E,te*(E-a)+y,le))))},MA:function(a,y,x,b,E){return Wt.Ve(x.x,x.y,b.x,b.y,a.x,a.y,y.x,y.y,E)},KA:function(a,y,x,b,E,z,te,re,le,ce){function de(pt,at){var Ct=(pt-a)*(pt-a)+(at-y)*(at-y);Ct(x>a?x-a:a-x)){if(Pe=1-(x-E)*(x-E)/(Pe*Pe),0>Pe)return le;Pe=Math.sqrt(Pe),b=-ce*Pe+z,de(x,ce*Pe+z),de(x,b)}else{if(x=(b-y)/(x-a),b=1/(Pe*Pe)+x*x/(ce*ce),re=2*x*(y-x*a)/(ce*ce)-2*x*z/(ce*ce)-2*E/(Pe*Pe),Pe=re*re-4*b*(2*x*a*z/(ce*ce)-2*y*z/(ce*ce)+z*z/(ce*ce)+E*E/(Pe*Pe)-1+(y-x*a)*(y-x*a)/(ce*ce)),0>Pe)return le;Pe=Math.sqrt(Pe),ce=(-re+Pe)/(2*b),de(ce,x*ce-x*a+y),Pe=(-re-Pe)/(2*b),de(Pe,x*Pe-x*a+y)}return le},Ff:function(a,y,x,b,E,z,te,re,le){var ce=1e21,de=a,ve=y;if(Wt.Ve(a,y,a,b,E,z,te,re,le)){var Pe=(le.x-E)*(le.x-E)+(le.y-z)*(le.y-z);Pece},us:function(a,y,x){return Wt.Fx(a.x,a.y,a.width,a.height,y.x,y.y,x.x,x.y)},Fx:function(a,y,x,b,E,z,te,re){var le=a+x,ce=y+b;return E===te?(z=y):z===re?(E=a):!!(Qr(a,y,x,b,E,z)||Qr(a,y,x,b,te,re)||Wt.Rl(a,y,le,y,E,z,te,re)||Wt.Rl(le,y,le,ce,E,z,te,re)||Wt.Rl(le,ce,a,ce,E,z,te,re)||Wt.Rl(a,ce,a,y,E,z,te,re))},Rl:function(a,y,x,b,E,z,te,re){return a===x&&y===b&&E===te&&z===re?a===E&&y===z:0>=Wt.Fl(a,y,x,b,E,z)*Wt.Fl(a,y,x,b,te,re)&&0>=Wt.Fl(E,z,te,re,a,y)*Wt.Fl(E,z,te,re,x,b)},Fl:function(a,y,x,b,E,z){return x-=a,b-=y,a=E-a,y=z-y,z=a*b-y*x,z===0&&(z=a*x+y*b,0z&&(z=0))),z},bp:function(a){return 0>a&&(a+=360),360<=a&&(a-=360),a},jx:function(a,y,x,b,E,z){var te=Math.PI;z||(b*=te/180,E*=te/180);var re=b>E?-1:1;z=[];var le=te/2,ce=b;if(b=Math.min(2*te,Math.abs(E-b)),1e-5>b)return le=ce+re*Math.min(b,le),re=a+x*Math.cos(ce),ce=y+x*Math.sin(ce),a+=x*Math.cos(le),y+=x*Math.sin(le),x=(re+a)/2,le=(ce+y)/2,z.push([re,ce,x,le,x,le,a,y]),z;for(;1e-5x,z=0>b;if(ace&&(y=.5*(re+le),!(y===re||y===le));++ce){var de=a/(y+E),ve=te/(y+z);if(de=de*de+ve*ve-1,0de)le=y;else break}x=E*x/(y+E)-x,b=z*b/(y+z)-b,x=Math.sqrt(x*x+b*b)}else x=Math.abs(b-y);else b=a*a-y*y,z=a*x,za?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a)+"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);case di.u:var y=new jn(this.startX,this.startY,0,0);return y.Kv(this.endX,this.endY,0,0),0>a?"M"+y.x.toString()+" "+y.y.toString()+"H"+y.right.toString()+"V"+y.bottom.toString()+"H"+y.left.toString()+"z":"M"+y.x.toFixed(a)+" "+y.y.toFixed(a)+"H"+y.right.toFixed(a)+"V"+y.bottom.toFixed(a)+"H"+y.left.toFixed(a)+"z";case di.F:if(y=new jn(this.startX,this.startY,0,0),y.Kv(this.endX,this.endY,0,0),0>a)return a=y.left.toString()+" "+(y.y+y.height/2).toString(),"M"+a+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+(y.right.toString()+" "+(y.y+y.height/2).toString())+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+a;var x=y.left.toFixed(a)+" "+(y.y+y.height/2).toFixed(a);return"M"+x+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+(y.right.toFixed(a)+" "+(y.y+y.height/2).toFixed(a))+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+x;case di.o:y="",x=this.figures.s;for(var b=x.length,E=0;E=Dt-1?!0:ce[Ze+1].match(Kt)!==null}function b(){return Ze++,ce[Ze]}function E(Fr){var Ar=parseFloat(b()),Wo=parseFloat(b());pt===pt.toLowerCase()&&(Ar=Lt.x+Ar,Wo=Lt.y+Wo),Fr.h(Ar,Wo)}function z(){return E(Lt),Lt}function te(){return E(Ct),Ct}function re(){var Fr=at.toLowerCase();return Fr!=="c"&&Fr!=="s"&&Fr!=="q"&&Fr!=="t"?Lt:new lt(2*Lt.x-Ct.x,2*Lt.y-Ct.y)}y===void 0&&(y=!1);var le=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;a=a.replace(/,/gm," "),a=a.replace(le,"$1 $2"),a=a.replace(le,"$1 $2"),a=a.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),a=a.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),a=a.replace(/([0-9])([+\-])/gm,"$1 $2"),a=a.replace(/[\s\r\t\n]+/gm," "),a=a.replace(/^\s+|\s+$/g,"");var ce=a.split(" ");for(a=0;a=Dt-1);)if(at=pt,pt=b(),pt!=="")switch(pt.toUpperCase()){case"X":Le=!0,ve=de=!1;break;case"M":for(Fe=z(),a.mc===null||Le===!0?(np(a,Fe.x,Fe.y,de,!ve,Pe),Le=!1):a.moveTo(Fe.x,Fe.y),le.assign(Lt);!x();)Fe=z(),a.lineTo(Fe.x,Fe.y);break;case"L":for(;!x();)Fe=z(),a.lineTo(Fe.x,Fe.y);break;case"H":for(;!x();)Lt=new lt((pt===pt.toLowerCase()?Lt.x:0)+parseFloat(b()),Lt.y),a.lineTo(Lt.x,Lt.y);break;case"V":for(;!x();)Lt=new lt(Lt.x,(pt===pt.toLowerCase()?Lt.y:0)+parseFloat(b())),a.lineTo(Lt.x,Lt.y);break;case"C":for(;!x();){Fe=new lt,E(Fe);var vn=te(),Pi=z();Uh(a,Fe.x,Fe.y,vn.x,vn.y,Pi.x,Pi.y)}break;case"S":for(;!x();)Fe=re(),vn=te(),Pi=z(),Uh(a,Fe.x,Fe.y,vn.x,vn.y,Pi.x,Pi.y);break;case"Q":for(;!x();)Fe=te(),vn=z(),n0(a,Fe.x,Fe.y,vn.x,vn.y);break;case"T":for(;!x();)Ct=Fe=re(),vn=z(),n0(a,Fe.x,Fe.y,vn.x,vn.y);break;case"B":for(;!x();){Fe=parseFloat(b()),vn=parseFloat(b()),Pi=parseFloat(b());var ji=parseFloat(b()),Di=parseFloat(b()),vi=Di,ti=!1;x()||(vi=parseFloat(b()),x()||(ti=parseFloat(b())!==0)),pt===pt.toLowerCase()&&(Pi+=Lt.x,ji+=Lt.y),a.arcTo(Fe,vn,Pi,ji,Di,vi,ti)}break;case"A":for(;!x();)Fe=Math.abs(parseFloat(b())),vn=Math.abs(parseFloat(b())),Pi=parseFloat(b()),Di=ji=!1,ti=vi=0,vi=b(),vi.length===1?(ji=!!parseFloat(vi),Di=!!parseFloat(b()),vi=parseFloat(b())):vi.length===2?(ji=!!parseFloat(vi[0]),Di=!!parseFloat(vi[1]),vi=parseFloat(b())):(ji=!!parseFloat(vi[0]),Di=!!parseFloat(vi[1]),vi=parseFloat(vi.slice(2))),ti=parseFloat(b()),pt===pt.toLowerCase()&&(vi=Lt.x+vi,ti=Lt.y+ti),Lt.h(vi,ti),I1(a,Fe,vn,Pi,ji,Di,vi,ti);break;case"Z":T1(a),Lt.assign(le);break;case"F":for(Fe="",vn=1;ce[Ze+vn];)if(ce[Ze+vn]==="0")Pe=!0,vn++;else if(ce[Ze+vn].match(/[Uu]/)!==null)vn++;else if(ce[Ze+vn].match(Kt)===null)vn++;else{Fe=ce[Ze+vn];break}Fe.match(/[Mm]/)?de=!0:0te&&(te+=360),Fe.startAngle+=te),0>a&&(Fe.startAngle=180-Fe.startAngle,Fe.sweepAngle=-Fe.sweepAngle),0>b&&(Fe.startAngle=-Fe.startAngle,Fe.sweepAngle=-Fe.sweepAngle),Fe.radiusX*=Math.sqrt(a*a+x*x),Fe.radiusY!==void 0&&(Fe.radiusY*=Math.sqrt(y*y+b*b));break;case iu:if(te=Fe.endX,re=Fe.endY,Fe.endX=te*a+re*x+E,Fe.endY=te*y+re*b+z,Fe.radiusX===0||Fe.radiusY===0)break;y!==0&&(te=180*Math.atan2(y,a)/Math.PI,0>te&&(te+=360),Fe.xAxisRotation+=te),0>a&&(Fe.xAxisRotation=180-Fe.xAxisRotation,Fe.isClockwiseArc=!Fe.isClockwiseArc),0>b&&(Fe.xAxisRotation=-Fe.xAxisRotation,Fe.isClockwiseArc=!Fe.isClockwiseArc),Fe.radiusX*=Math.sqrt(a*a+x*x),Fe.radiusY*=Math.sqrt(y*y+b*b);break;default:bt("Unknown Segment type: "+Fe.type)}}}}return this._isInvalidBounds=!0,this},Ue.ca=function(a,y){y===void 0&&(y=0);var x=this.od,b=this.pd,E=this.Dc,z=this.Ec;switch(this.type){case di.j:return Wt.Yb(x,b,E,z,y,a.x,a.y);case di.u:var te=jn.allocAt(Math.min(x,E)-y,Math.min(b,z)-y,Math.abs(E-x)+2*y,Math.abs(z-b)+2*y);return a=te.ca(a),jn.free(te),a;case di.F:te=Math.min(x,E)-y;var re=Math.min(b,z)-y;return x=(Math.abs(E-x)+2*y)/2,y=(Math.abs(z-b)+2*y)/2,0>=x||0>=y?!1:(te=a.x-(te+x),re=a.y-(re+y),1>=te*te/(x*x)+re*re/(y*y));case di.o:return cl(this,a,y,!0,!1);default:return!1}};function cl(a,y,x,b,E){var z=y.x;y=y.y;for(var te=a.bounds.x-20,re=0,le,ce,de,ve,Pe=a.figures.s,Le=Pe.length,Fe=0;Fe=a)return 0;if((E>te?E-te:te-E)<(z>re?z-re:re-z)){if(zre)return 0}else if(yz)return 0}else if(Ete)return 0}else if(ceE)return 0;return 0a?a=0:1=z)return b=z-te,b=de===0?0:b/de,x=x[re],re=x[2*a],E=x[2*a+1],y.h(re+(x[2*a+2]-re)*b,E+(x[2*a+3]-E)*b),y;te+=de}}return y},Ue.wx=function(a){if(0>a?a=0:1=E)return E=y[te],y=E[2*a],x=E[2*a+1],b=E[2*a+2],a=E[2*a+3],1>Math.abs(b-y)&&1>Math.abs(a-x)?0:1>Math.abs(b-y)?0<=a-x?90:270:1>Math.abs(a-x)?0<=b-y?0:180:180*Math.atan2(a-x,b-y)/Math.PI;z+=ce}}return NaN},Ue.Qu=function(a,y){if(0>a?a=0:1=z)return b=z-te,b=de===0?0:b/de,de=x[re],x=de[2*a],re=de[2*a+1],E=de[2*a+2],a=de[2*a+3],y[0]=x+(E-x)*b,y[1]=re+(a-re)*b,y[2]=1>Math.abs(E-x)&&1>Math.abs(a-re)?0:1>Math.abs(E-x)?0<=a-re?90:270:1>Math.abs(a-re)?0<=E-x?0:180:180*Math.atan2(a-re,E-x)/Math.PI,y;te+=de}}return y},Ue.xx=function(a){if(this.type===di.j){var y=this.startX,x=this.startY,b=this.endX,E=this.endY;if(y!==b||x!==E){var z=a.x;if(a=a.y,y===b){if(x=b?b===x?0:1:Math.abs(a-x)/(b-te)}if(x===E)return y=b?b===y?0:1:Math.abs(z-y)/(b-te);te=(b-y)*(b-y)+(E-x)*(E-x);var re=lt.alloc();return Wt.qh(y,x,b,E,z,a,re),a=re.x,z=re.y,lt.free(re),Math.sqrt(((a-y)*(a-y)+(z-x)*(z-x))/te)}}else if(this.type===di.u){te=this.startX,re=this.startY;var le=this.endX;if(E=this.endY,te!==le||re!==E){y=le-te,x=E-re,z=2*y+2*x,b=a.x,a=a.y,b=Math.min(Math.max(b,te),le),a=Math.min(Math.max(a,re),E),te=Math.abs(b-te),le=Math.abs(b-le),re=Math.abs(a-re),E=Math.abs(a-E);var ce=Math.min(te,le,re,E);if(ce===re)return b/z;if(ce===le)return(y+a)/z;if(ce===E)return(2*y+x-b)/z;if(ce===te)return(2*y+2*x-a)/z}}else{y=this.flattenedSegments,x=this.flattenedLengths,z=this.flattenedTotalLength,b=lt.alloc(),E=1/0,re=te=0,le=y.length;for(var de=ce=0,ve=0;vea?0:1a?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a),x=this.segments.s,b=x.length,E=0;Ea&&(a+=360),this.Ne=a,this.Vh=0,this.Wh=Math.max(b,0),this.Pg=Math.max(E,0),typeof te=="boolean"?te&&(this.isLargeArc=!0):typeof te=="number"&&te&&(this.isLargeArc=!0),re&&(this.isClockwiseArc=!0)):(this.Ne=b,this.Vh=E,a===oo&&(z=Math.max(z,0)),this.Wh=z,typeof te=="number"?(a===oo&&(te=Math.max(te,0)),this.Pg=te):this.Pg=0),this.ae=null}Eo.prototype.copy=function(){var a=new Eo;return a.na=this.na,a.l=this.l&-2,a.Dc=this.Dc,a.Ec=this.Ec,a.Ne=this.Ne,a.Vh=this.Vh,a.Wh=this.Wh,a.Pg=this.Pg,a},Ue=Eo.prototype,Ue.Xa=function(a){if(!(a instanceof Eo)||this.type!==a.type||this.isClosed!==a.isClosed)return!1;switch(this.type){case za:case qo:return Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY);case ol:return Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY)&&Wt.B(this.point1X,a.point1X)&&Wt.B(this.point1Y,a.point1Y)&&Wt.B(this.point2X,a.point2X)&&Wt.B(this.point2Y,a.point2Y);case Zi:return Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY)&&Wt.B(this.point1X,a.point1X)&&Wt.B(this.point1Y,a.point1Y);case oo:return Wt.B(this.startAngle,a.startAngle)&&Wt.B(this.sweepAngle,a.sweepAngle)&&Wt.B(this.centerX,a.centerX)&&Wt.B(this.centerY,a.centerY)&&Wt.B(this.radiusX,a.radiusX)&&Wt.B(this.radiusY,a.radiusY);case iu:return this.isClockwiseArc===a.isClockwiseArc&&this.isLargeArc===a.isLargeArc&&Wt.B(this.xAxisRotation,a.xAxisRotation)&&Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY)&&Wt.B(this.radiusX,a.radiusX)&&Wt.B(this.radiusY,a.radiusY);default:return!1}},Ue.qb=function(a){a.classType===Eo&&(this.type=a)},Ue.toString=function(a){switch(a===void 0&&(a=-1),this.type){case za:a=0>a?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case qo:a=0>a?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ol:a=0>a?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.point2X.toFixed(a)+" "+this.point2Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case Zi:a=0>a?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case oo:a=0>a?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(a)+" "+this.sweepAngle.toFixed(a)+" "+this.centerX.toFixed(a)+" "+this.centerY.toFixed(a)+" "+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a);break;case iu:a=0>a?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a)+" "+this.xAxisRotation.toFixed(a)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;default:a=this.type.toString()}return a+(this.isClosed?"z":"")},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return this._isFrozen=!1,this},Ue.close=function(){return this.isClosed=!0,this};function Fa(a,y){if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;var x=a.radiusX,b=a.radiusY;if(b===void 0&&(b=x),x===0||b===0)return a.ae=[],a.ae;y=a.Ne;var E=a.Vh,z=Wt.jx(0,0,x=Le?te=Math.PI:1<=Le&&(te=0),!le&&0te&&(te+=2*Math.PI),le=y>z?1:y/z,Le=y>z?z/y:1,y=Wt.jx(0,0,y>z?y:z,de,de+te,!0),z=fr.alloc(),z.reset(),z.translate(x,b),z.rotate(a.Ne,0,0),z.scale(le,Le),di.Ha(y,z),fr.free(z),a.ae=y,a.ae}Nt.Object.defineProperties(Eo.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(a){this.isClosed!==a&&(this.l=a?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(a){this._isFrozen&&Ut(this,a),this.na=a,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Ut(this,a),this.Dc=a,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Ut(this,a),this.Ec=a,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Ut(this,a),this.Ne=a,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Ut(this,a),this.Vh=a,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(a){this._isFrozen&&Ut(this,a),this.Wh=a,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(a){this._isFrozen&&Ut(this,a),this.Pg=a,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Ut(this,a),this.Ne=a,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Ut(this,a),this.Vh=a,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(a){0>a&&Ln(a,">= zero",Eo,"radiusX"),this._isFrozen&&Ut(this,a),this.Wh=a,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(a){0>a&&Ln(a,">= zero",Eo,"radiusY"),this._isFrozen&&Ut(this,a),this.Pg=a,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Ut(this,a),a%=360,0>a&&(a+=360),this.Dc=a,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Ut(this,a),360a&&(a=-360),this.Ec=a,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&Ut(this,a),this.l=a?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&Ut(this,a),this.l=a?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Ut(this,a),a%=360,0>a&&(a+=360),this.Ne=a,this._isInvalidBounds=!0}}}),Eo.prototype.equalsApprox=Eo.prototype.Xa;var za=new tn(Eo,"Move",0),qo=new tn(Eo,"Line",1),ol=new tn(Eo,"Bezier",2),Zi=new tn(Eo,"QuadraticBezier",3),oo=new tn(Eo,"Arc",4),iu=new tn(Eo,"SvgArc",4);Eo.className="PathSegment",Eo.Move=za,Eo.Line=qo,Eo.Bezier=ol,Eo.QuadraticBezier=Zi,Eo.Arc=oo,Eo.SvgArc=iu;function Sl(){this.H=null,this.xu=new lt(0,0).freeze(),this.mt=new lt(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}Sl.prototype.copy=function(){var a=new Sl;return this.clone(a)},Sl.prototype.clone=function(a){return a.H=this.H,a.xu.assign(this.viewPoint),a.mt.assign(this.documentPoint),a.Rq=this.Rq,a.Bp=this.Bp,a.Cp=this.Cp,a.xq=this.xq,a.Tp=this.Tp,a.Wr=this.Wr,a.Ep=this.Ep,a.Rp=this.Rp,a.tq=this.tq,a.nq=this.nq,a.xg=this.xg,a.Zp=this.Zp,a.Rr=this.Rr,a.Nr=this.Nr,a.xd=this.xd,a},Sl.prototype.toString=function(){var a="^";return this.modifiers!==0&&(a+="M:"+this.modifiers),this.button!==0&&(a+="B:"+this.button),this.key!==""&&(a+="K:"+this.key),this.clickCount!==0&&(a+="C:"+this.clickCount),this.delta!==0&&(a+="D:"+this.delta),this.handled&&(a+="h"),this.bubbles&&(a+="b"),this.documentPoint!==null&&(a+="@"+this.documentPoint.toString()),a},Sl.prototype.So=function(a,y){var x=this.diagram;return x===null||Dh(x,a,y),y},Sl.prototype.Bz=function(a,y){var x=this.diagram;return x===null||(Dh(x,a,y),y.assign(x.Ps(y))),y},Nt.Object.defineProperties(Sl.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},viewPoint:{get:function(){return this.xu},set:function(a){this.xu.assign(a)}},documentPoint:{get:function(){return this.mt},set:function(a){this.mt.assign(a)}},modifiers:{get:function(){return this.Rq},set:function(a){this.Rq=a}},button:{get:function(){return this.Bp},set:function(a){if(this.Bp=a,this.event===null)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(a){this.Cp=a}},key:{get:function(){return this.xq},set:function(a){this.xq=a}},down:{get:function(){return this.Tp},set:function(a){this.Tp=a}},up:{get:function(){return this.Wr},set:function(a){this.Wr=a}},clickCount:{get:function(){return this.Ep},set:function(a){this.Ep=a}},delta:{get:function(){return this.Rp},set:function(a){this.Rp=a}},isMultiTouch:{get:function(){return this.tq},set:function(a){this.tq=a}},handled:{get:function(){return this.nq},set:function(a){this.nq=a}},bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},event:{get:function(){return this.Zp},set:function(a){this.Zp=a}},isTouchEvent:{get:function(){var a=this.event;return a===null?!1:a.pointerType==="touch"||a.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(a){this.Rr=a}},targetDiagram:{get:function(){return this.Nr},set:function(a){this.Nr=a}},targetObject:{get:function(){return this.xd},set:function(a){this.xd=a}},control:{get:function(){return(this.modifiers&1)!==0},set:function(a){this.modifiers=a?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(a){this.modifiers=a?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(a){this.modifiers=a?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(a){this.modifiers=a?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(a){this.buttons=a?this.buttons|1:this.buttons&-2}},right:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(a){this.buttons=a?this.buttons|2:this.buttons&-3}},middle:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(a){this.buttons=a?this.buttons|4:this.buttons&-5}}}),Sl.prototype.getMultiTouchDocumentPoint=Sl.prototype.Bz,Sl.prototype.getMultiTouchViewPoint=Sl.prototype.So,Sl.className="InputEvent";function _c(){this.H=null,this.xa="",this.ar=this.Lr=null}_c.prototype.copy=function(){var a=new _c;return a.H=this.H,a.xa=this.xa,a.Lr=this.Lr,a.ar=this.ar,a},_c.prototype.toString=function(){var a="*"+this.name;return this.subject!==null&&(a+=":"+this.subject.toString()),this.parameter!==null&&(a+="("+this.parameter.toString()+")"),a},Nt.Object.defineProperties(_c.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},subject:{get:function(){return this.Lr},set:function(a){this.Lr=a}},parameter:{get:function(){return this.ar},set:function(a){this.ar=a}}}),_c.className="DiagramEvent";function Xo(){this.Fm=Ma,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}Xo.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},Xo.prototype.copy=function(){var a=new Xo;a.Fm=this.Fm,a.Qq=this.Qq,a.rf=this.rf,a.cc=this.cc,a.H=this.H,a.Qn=this.Qn;var y=this.Sn;return a.Sn=_t(y)&&typeof y.J=="function"?y.J():y,y=this.Rn,a.Rn=_t(y)&&typeof y.J=="function"?y.J():y,y=this.Mn,a.Mn=_t(y)&&typeof y.J=="function"?y.J():y,y=this.Ln,a.Ln=_t(y)&&typeof y.J=="function"?y.J():y,a},Xo.prototype.qb=function(a){a.classType===Xo&&(this.change=a)},Xo.prototype.toString=function(){var a="";return a=this.change===Bl?a+"* ":this.change===Ma?a+(this.model!==null?"!m":"!d"):a+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(a+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(a+=" "+this.modelChange),a+=": ",this.change===Bl?this.oldValue!==null&&(a+=" "+this.oldValue):(this.object!==null&&(a+=Vn(this.object)),this.oldValue!==null&&(a+=" old: "+Vn(this.oldValue)),this.oldParam!==null&&(a+=" "+this.oldParam),this.newValue!==null&&(a+=" new: "+Vn(this.newValue)),this.newParam!==null&&(a+=" "+this.newParam)),a},Xo.prototype.I=function(a){return a?this.oldValue:this.newValue},Xo.prototype.Dz=function(a){return a?this.oldParam:this.newParam},Xo.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},Xo.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},Xo.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},Xo.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},Nt.Object.defineProperties(Xo.prototype,{model:{get:function(){return this.cc},set:function(a){this.cc=a}},diagram:{get:function(){return this.H},set:function(a){this.H=a}},change:{get:function(){return this.Fm},set:function(a){this.Fm=a}},modelChange:{get:function(){return this.Qq},set:function(a){this.Qq=a}},propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},isTransactionFinished:{get:function(){return this.Fm===Bl&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(a){this.Qn=a}},oldValue:{get:function(){return this.Sn},set:function(a){this.Sn=a}},oldParam:{get:function(){return this.Rn},set:function(a){this.Rn=a}},newValue:{get:function(){return this.Mn},set:function(a){this.Mn=a}},newParam:{get:function(){return this.Ln},set:function(a){this.Ln=a}}}),Xo.prototype.redo=Xo.prototype.redo,Xo.prototype.canRedo=Xo.prototype.canRedo,Xo.prototype.undo=Xo.prototype.undo,Xo.prototype.canUndo=Xo.prototype.canUndo,Xo.prototype.getParam=Xo.prototype.Dz,Xo.prototype.getValue=Xo.prototype.I,Xo.prototype.clear=Xo.prototype.clear;var Bl=new tn(Xo,"Transaction",-1),Ma=new tn(Xo,"Property",0),Ka=new tn(Xo,"Insert",1),ms=new tn(Xo,"Remove",2);Xo.className="ChangedEvent",Xo.Transaction=Bl,Xo.Property=Ma,Xo.Insert=Ka,Xo.Remove=ms;function hs(){this.o=new Gt().freeze(),this.xa="",this.j=!1}hs.prototype.toString=function(a){var y="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(a!==void 0&&0y&&a.cd(y,b),y++);for(;a.length>y;)a.pop();a.freeze()}},Nt.Object.defineProperties(hs.prototype,{changes:{get:function(){return this.o}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isComplete:{get:function(){return this.j},set:function(a){this.j=a}}}),hs.prototype.optimize=hs.prototype.ak,hs.prototype.redo=hs.prototype.redo,hs.prototype.canRedo=hs.prototype.canRedo,hs.prototype.undo=hs.prototype.undo,hs.prototype.canUndo=hs.prototype.canUndo,hs.prototype.clear=hs.prototype.clear,hs.className="Transaction";function ya(){this.Pt=new Fn,this.Jd=!1,this.u=new Gt().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new Gt().freeze(),this.hl=new Gt,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}ya.prototype.toString=function(a){var y="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;y+="[";for(var x=this.nestedTransactionNames.count,b=0;ba.transactionLevel&&ni("Ending transaction without having started a transaction: "+x);var b=a.transactionLevel===1,E=a.currentTransaction;b&&y&&(a.isInternalTransaction||a.Ob("CommittingTransaction",x,E));var z=0;if(0=b&&(z=y.M(0),z!==null&&z.clear(),y.mb(0),a.Ce--)),b===0||y.count!==0&&y.get(y.count-1)===E||(y.add(E),a.Ce++),y.freeze()),a.isInternalTransaction||a.Ob("CommittedTransaction",x,E);else{a.Fe=!0;try{a.isEnabled&&E!==null&&(E.isComplete=!0,E.undo())}finally{a.isInternalTransaction||a.Ob("RolledBackTransaction",x,E),a.Fe=!1}E!==null&&E.clear()}return a.Np=null,a.isPendingClear&&a.clear(),a.isPendingClear=!1,a.isPendingUnmodified=!1,!0}if(a.isEnabled&&!y&&E!==null){for(a=z,x=E.changes,E=x.count-1;E>=a;E--)y=x.M(E),y!==null&&y.undo(),x.ka(),x.mb(E);x.freeze()}return!1}Ue.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var a=this.history;a.ka();for(var y=a.count-1;y>this.historyIndex;y--){var x=a.M(y);x!==null&&x.clear(),a.mb(y),this.rq=!0}a.freeze()}},ya.prototype.canUndo=function(){if(!this.isEnabled||0=this.transactionLevel&&!this.tt&&(a=a.diagram,a!==null&&a.pi===!1||ni("Change not within a transaction: "+x.toString()))}},ya.prototype.skipsEvent=function(a){if(a===null||0>a.change.value)return!0;if(a=a.object,a===null)return!1;if(a.layer!==void 0){if(a=a.layer,a!==null&&a.isTemporary)return!0}else if(a.isTemporary)return!0;return!1},Nt.Object.defineProperties(ya.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndexE||Math.abs(y.y-a.y)>b},Nt.Object.defineProperties(xo.prototype,{diagram:{get:function(){return this.H},set:function(a){a instanceof pn&&(this.H=a)}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},isActive:{get:function(){return this.nb},set:function(a){this.nb=a}},transactionResult:{get:function(){return this.wm},set:function(a){this.wm=a}}}),xo.prototype.startTransaction=xo.prototype.Ea,xo.className="Tool";function pa(){xo.call(this),this.name="ToolManager",this.hb=new Gt,this.ob=new Gt,this.Hb=new Gt,this.F=this.V=850,this.o=new fi(2,2).ja(),this.Ha=5e3,this.ia=ru,this.u=zl,this.Mp=this.j=null,this.zj=-1}qt(pa,xo),pa.prototype.initializeStandardTools=function(){},pa.prototype.updateAdornments=function(a){var y=this.currentToolTip;if(y instanceof zo&&this.Mp===a){var x=y.adornedObject;(a!==null?x.part===a:x===null)?this.showToolTip(y,x):this.hideToolTip()}},pa.prototype.doMouseDown=function(){var a=this.diagram,y=a.lastInput;if(y.isTouchEvent&&this.gestureBehavior===Ea&&(y.bubbles=!1),y.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===zs){y.bubbles=!0;return}if(this.gestureBehavior===Ea)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomStart();return}}for(var x=this.mouseDownTools.length,b=0;bE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom?x.y-(b.height+5/y.scale):x.y+20/y.scale,x.yx.pointsCount)){var b=a.diagram;if(!b.isReadOnly){var E=a.Oe;if(E!==null){var z=null,te=null;x.fromNode===null&&(z=Mh(a,x.i(0),!1),z!==null&&(te=z.part));var re=null,le=null;x.toNode===null&&(re=Mh(a,x.i(x.pointsCount-1),!0),re!==null&&(le=re.part)),E.isValidLink(te,z,le,re)?y?(x.defaultFromPoint=x.i(0),x.defaultToPoint=x.i(x.pointsCount-1),x.suspendsRouting=!1,x.fromNode=te,z!==null&&(x.fromPortId=z.portId),x.toNode=le,re!==null&&(x.toPortId=re.portId),x.fromPort!==b.Mx&&b.R("LinkRelinked",x,b.Mx),x.toPort!==b.Nx&&b.R("LinkRelinked",x,b.Nx)):Lr(E,te,z,le,re):Lr(E,null,null,null,null)}}}}da.prototype.doDragOver=function(){};function Tu(a,y){var x=a.diagram;a.dragsLink&&Ul(a,!0),Ac(a);var b=a.findDragOverObject(y),E=x.lastInput;if(E.targetObject=b,b!==null){E.handled=!1;for(var z=b;z!==null;){var te=z.mouseDrop;if(te!==null&&(te(E,z),E.handled))break;Ud(a,E,z),z=xc(z)}}else z=x.mouseDrop,z!==null&&z(E);if(a.isActive||cn!==null){for(E=(a.copiedParts||a.draggedParts).iterator;E.next();)z=E.key,z instanceof Li&&z.linksConnected.each(function(re){re.suspendsRouting=!1});if(a.doDropOnto(y,b),a.isActive||cn!==null){for(a=jn.alloc(),y=x.selection.iterator;y.next();)b=y.value,b instanceof Li&&mt(x,b,a);jn.free(a)}}}function Ud(a,y,x){a=a.diagram,x=x.part,!a.handlesDragDropForTopLevelParts||!x.isTopLevel||x instanceof Ur||(x=a.mouseDrop,x!==null&&x(y))}function mt(a,y,x){var b=!1;if(x=y.getAvoidableRect(x),a.viewportBounds.Re(x)&&(b=!0),a=a.Nu(x,function(E){return E.part},function(E){return E instanceof yi},!0,function(E){return E instanceof yi},b),a.count!==0)for(a=a.iterator;a.next();)x=a.value,!x.Td(y)&&x.isAvoiding&&x.bb()}da.prototype.doDropOnto=function(){},da.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;this.simulatedMouseMove(y.event,y.documentPoint,y.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?($u(this,!1),Bg(a,this.copiedParts),Xu(this,this.copiedParts,!1),gh(a,this.copiedParts)):this.mayMove()?(gu(this),Xu(this,this.draggedParts,!0)):this.mayDragOut()?($u(this,!1),Xu(this,this.copiedParts,!1)):gu(this),td(this,a.lastInput.documentPoint))}},da.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;if(!this.simulatedMouseUp(y.event,y.documentPoint,y.targetDiagram)){y=!1;var x=this.mayCopy();if(x&&this.copiedParts!==null?(gu(this),$u(this,!0),Bg(a,this.copiedParts),Xu(this,this.copiedParts,!1),gh(a,this.copiedParts),this.copiedParts!==null&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(E){E.isSelected=!0}))):(y=!0,gu(this),this.mayMove()&&(Xu(this,this.draggedParts,!0),td(this,a.lastInput.documentPoint))),this.Ym=!0,Tu(this,a.lastInput.documentPoint),this.isActive){var b=x?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,y&&Et(this),a.Ya(),gh(a,this.draggedParts),this.transactionResult=x?"Copy":"Move",a.R(x?"SelectionCopied":"SelectionMoved",b)}this.stopTool(),x&&a.R("ChangedSelection",a.selection)}}},da.prototype.simulatedMouseMove=function(a,y,x){if(cn===null)return!1;var b=cn.diagram;x instanceof pn||(x=null);var E=Dn;return x!==E&&(E!==null&&E!==b&&(E.ug(),cn.isDragOutStarted=!1,E=E.toolManager.findTool("Dragging"),E!==null&&E.doSimulatedDragLeave()),Dn=x,x!==null&&x!==b&&(Id(),E=x.toolManager.findTool("Dragging"),E!==null&&(kl.contains(E)||kl.add(E),E.doSimulatedDragEnter())),this.doUpdateCursor(null)),x===null||x===b||!x.allowDrop||x.isReadOnly||!x.allowInsert?!1:(b=x.toolManager.findTool("Dragging"),b!==null&&(a!==null&&(a.targetTouches!==void 0&&(0te&&(te=ce),de>re&&(re=de))}}for(b===1/0?z.h(0,0,0,0):z.h(b,E,te-b,re-E),b=z.x+z.width/2,E=z.y+z.height/2,jn.free(z),z=a.Fr,te=new Ii,re=lt.alloc(),le=y.iterator;le.next();)ce=le.value,ce instanceof yi&&ce.canCopy()&&(de=x.I(ce),de!==null&&(de.points=ce.points,Hh(de,z.x-b,z.y-E),de.suspendsRouting=!0,te.add(de,a.Pd())));for(y=y.iterator;y.next();)ce=y.value,ce.Zc()&&ce.canCopy()&&(le=x.I(ce),le!==null&&(ce=ce.location,re.h(z.x-(b-ce.x),z.y-(E-ce.y)),le.location=re,le.Va(),te.add(le,a.Pd(re))));lt.free(re),a.copiedParts=te,Yu(a,te.Lf()),a.draggedLink!==null&&(x=a.draggedLink,y=x.routeBounds,Hh(x,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}da.prototype.doSimulatedDragOut=function(){var a=this.diagram;a.Ns=!1,this.mayCopy()||this.mayMove()?a.currentCursor="":a.currentCursor=this.nodropCursor,this.Bn=null},da.prototype.computeMove=function(a,y,x,b){return x=this.diagram,x!==null?x.computeMove(a,y,this.dragOptions,b):new lt},Nt.Object.defineProperties(da.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(a){this.ob=a}},copiesEffectiveCollection:{get:function(){return this.u},set:function(a){this.u=a}},dragOptions:{get:function(){return this.ia},set:function(a){this.ia=a}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(a){this.dragOptions.isGridSnapEnabled=a}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(a){this.hb=a}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(a){this.dragOptions.isGridSnapRealtime=a}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(a){this.dragOptions.gridSnapCellSize.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSize=a)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(a){this.dragOptions.gridSnapCellSpot.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSpot=a)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(a){this.dragOptions.gridSnapOrigin.D(a)||(a=a.J(),this.dragOptions.gridSnapOrigin=a)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(a){this.dragOptions.dragsLink=a}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(a){this.dragOptions.dragsTree=a}},copyCursor:{get:function(){return this.F},set:function(a){this.F=a}},moveCursor:{get:function(){return this.Oc},set:function(a){this.Oc=a}},nodropCursor:{get:function(){return this.Pc},set:function(a){this.Pc=a}},currentPart:{get:function(){return this.V},set:function(a){this.V=a}},copiedParts:{get:function(){return this.o},set:function(a){this.o=a}},draggedParts:{get:function(){return this.Ha},set:function(a){this.Ha=a}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(a){this.diagram.draggedLink=a}},isDragOutStarted:{get:function(){return this.Hb},set:function(a){this.Hb=a}},startPoint:{get:function(){return this.Fr},set:function(a){this.Fr.D(a)||this.Fr.assign(a)}},delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}}}),da.prototype.getDraggingSource=da.prototype.Az;var cn=null,Dn=null;da.className="DraggingTool",kl=new Gt,Wn("draggingTool",function(){return this.findTool("Dragging")},function(a){this.gb("Dragging",a,this.mouseMoveTools)}),pa.prototype.doCancel=function(){cn!==null&&cn.doCancel(),xo.prototype.doCancel.call(this)};function xn(){xo.call(this),this.te=100,this.Ha=!1,this.u="pointer";var a=new yi,y=new eo;y.isPanelMain=!0,y.stroke="blue",a.add(y),y=new eo,y.toArrow="Standard",y.fill="blue",y.stroke="blue",a.add(y),a.layerName="Tool",this.Ci=a,a=new Li,y=new eo,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=ua,a.add(y),a.selectable=!1,a.layerName="Tool",this.Bi=a,this.j=y,a=new Li,y=new eo,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=ua,a.add(y),a.selectable=!1,a.layerName="Tool",this.Di=a,this.o=y,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new Ii,this.Of=this.gj=this.Pf=null}qt(xn,xo),xn.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},xn.prototype.copyPortProperties=function(a,y,x,b,E){if(a!==null&&y!==null&&x!==null&&b!==null){var z=y.Df(),te=fi.alloc();te.width=y.naturalBounds.width*z,te.height=y.naturalBounds.height*z,b.desiredSize=te,fi.free(te),E?(b.toSpot=y.toSpot,b.toEndSegmentLength=y.toEndSegmentLength):(b.fromSpot=y.fromSpot,b.fromEndSegmentLength=y.fromEndSegmentLength),x.locationSpot=wo,z=lt.alloc(),x.location=y.ga(wo,z),lt.free(z),b.angle=y.li(),this.portTargeted!==null&&this.portTargeted(a,y,x,b,E)}},xn.prototype.setNoTargetPortProperties=function(a,y,x){y!==null&&(y.desiredSize=ua,y.fromSpot=is,y.toSpot=is),a!==null&&(a.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,a,y,x)},xn.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},xn.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof Li){var y=this.targetPort.part;this.isForwards?this.copyPortProperties(y,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(y,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},xn.prototype.findValidLinkablePort=function(a,y){if(a===null)return null;var x=a.part;if(!(x instanceof Li))return null;for(;a!==null;){var b=y?a.toLinkable:a.fromLinkable;if(b===!0&&(a.portId!==null||a instanceof Li)&&(y?this.isValidTo(x,a):this.isValidFrom(x,a)))return a;if(b===!1)break;a=a.panel}return null},xn.prototype.findTargetPort=function(a){var y=this.diagram,x=y.lastInput.documentPoint,b=this.portGravity;0>=b&&(b=.1);var E=this,z=y.og(x,b,function(ve){return E.findValidLinkablePort(ve,a)},null,!0);for(b=1/0,y=null,z=z.iterator;z.next();){var te=z.value,re=te.part;if(re instanceof Li){var le=te.ga(wo,lt.alloc()),ce=x.x-le.x,de=x.y-le.y;lt.free(le),le=ce*ce+de*de,lex){if(this.originalLink!==null&&a===this.originalFromNode&&y===this.originalFromPort)return!0;if(y=y.portId,y===null&&(y=""),a.Mo(y).count>=x)return!1}return!0},xn.prototype.isValidTo=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.toLinkable!==!0))return!1;var x=y.toMaxLinks;if(1/0>x){if(this.originalLink!==null&&a===this.originalToNode&&y===this.originalToPort)return!0;if(y=y.portId,y===null&&(y=""),a.Sd(y).count>=x)return!1}return!0},xn.prototype.isInSameNode=function(a,y){return a===null||y===null?!1:a===y?!0:(a=a.part,y=y.part,a!==null&&a===y)},xn.prototype.isLinked=function(a,y){if(a===null||y===null)return!1;var x=a.part;if(!(x instanceof Li))return!1;a=a.portId,a===null&&(a="");var b=y.part;if(!(b instanceof Li))return!1;for(y=y.portId,y===null&&(y=""),y=b.Sd(y);y.next();)if(b=y.value,b.fromNode===x&&b.fromPortId===a)return!0;return!1},xn.prototype.isValidLink=function(a,y,x,b){if(!this.isValidFrom(a,y)||!this.isValidTo(x,b)||!(y===null||b===null||(y.fromLinkableSelfNode&&b.toLinkableSelfNode||!this.isInSameNode(y,b))&&(y.fromLinkableDuplicates&&b.toLinkableDuplicates||!this.isLinked(y,b)))||this.originalLink!==null&&(a!==null&&this.isLabelDependentOnLink(a,this.originalLink)||x!==null&&this.isLabelDependentOnLink(x,this.originalLink))||a!==null&&x!==null&&(a.data===null&&x.data!==null||a.data!==null&&x.data===null)||!this.isValidCycle(a,x,this.originalLink))return!1;if(a!==null){var E=a.linkValidation;if(E!==null&&!E(a,y,x,b,this.originalLink))return!1}return x!==null&&(E=x.linkValidation,E!==null&&!E(a,y,x,b,this.originalLink))?!1:(E=this.linkValidation,E!==null?E(a,y,x,b,this.originalLink):!0)},xn.prototype.isLabelDependentOnLink=function(a,y){if(a===null)return!1;var x=a.labeledLink;if(x===null)return!1;if(x===y)return!0;var b=new Fn;return b.add(a),ri(this,x,y,b)};function ri(a,y,x,b){if(y===x)return!0;var E=y.fromNode;return E!==null&&E.isLinkLabel&&(b.add(E),ri(a,E.labeledLink,x,b))?!0:(y=y.toNode,!!(y!==null&&y.isLinkLabel&&(b.add(y),ri(a,y.labeledLink,x,b))))}xn.prototype.isValidCycle=function(a,y,x){if(x===void 0&&(x=null),a===null||y===null)return this.isUnconnectedLinkValid;var b=this.diagram.validCycle;if(b!==ug){if(b===mf){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=y.linksConnected;b.next();){var E=b.value;if(E!==x&&E.isTreeLink&&E.toNode===y)return!1}return!ai(this,a,y,x,!0)}if(b===vf){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=a.linksConnected;b.next();)if(E=b.value,E!==x&&E.isTreeLink&&E.fromNode===a)return!1;return!ai(this,a,y,x,!0)}if(b===Zg)return a===y?a=!0:(b=new Fn,b.add(y),a=qn(this,b,a,y,x)),!a;if(b===cg)return!ai(this,a,y,x,!1);if(b===dg)return a===y?a=!0:(b=new Fn,b.add(y),a=bi(this,b,a,y,x)),!a}return!0};function ai(a,y,x,b,E){if(y===x)return!0;if(y===null||x===null)return!1;for(var z=y.linksConnected;z.next();){var te=z.value;if(te!==b&&(!E||te.isTreeLink)&&te.toNode===y&&(te=te.fromNode,te!==y&&ai(a,te,x,b,E)))return!0}return!1}function qn(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var te=z.value;if(te!==E&&te.toNode===x&&(te=te.fromNode,te!==x&&qn(a,y,te,b,E)))return!0}return!1}function bi(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var te=z.value;if(te!==E){var re=te.fromNode;if(te=te.toNode,re=re===x?te:re,re!==x&&bi(a,y,re,b,E))return!0}}return!1}Nt.Object.defineProperties(xn.prototype,{portGravity:{get:function(){return this.te},set:function(a){0<=a&&(this.te=a)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(a){this.Ha=a}},linkingCursor:{get:function(){return this.u},set:function(a){this.u=a}},temporaryLink:{get:function(){return this.Ci},set:function(a){this.Ci=a}},temporaryFromNode:{get:function(){return this.Bi},set:function(a){(this.Bi=a)&&(this.j=a.port)}},temporaryFromPort:{get:function(){return this.j},set:function(a){if(this.j!==null){var y=this.j.panel;if(y!==null){var x=y.O.indexOf(this.j);y.mb(x),y.Gb(x,a)}}this.j=a}},temporaryToNode:{get:function(){return this.Di},set:function(a){(this.Di=a)&&(this.o=a.port)}},temporaryToPort:{get:function(){return this.o},set:function(a){if(this.o!==null){var y=this.o.panel;if(y!==null){var x=y.O.indexOf(this.o);y.mb(x),y.Gb(x,a)}}this.o=a}},originalLink:{get:function(){return this.Hb},set:function(a){this.Hb=a}},originalFromNode:{get:function(){return this.hb},set:function(a){this.hb=a}},originalFromPort:{get:function(){return this.ob},set:function(a){this.ob=a}},originalToNode:{get:function(){return this.Oc},set:function(a){this.Oc=a}},originalToPort:{get:function(){return this.Pc},set:function(a){this.Pc=a}},isForwards:{get:function(){return this.ia},set:function(a){this.ia=a}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(a){this.Pf=a}},linkValidation:{get:function(){return this.gj},set:function(a){this.gj=a}},portTargeted:{get:function(){return this.Of},set:function(a){this.Of=a}}}),xn.className="LinkingBaseTool";function Ni(){xn.call(this),this.name="Linking",this.V={},this.F=null,this.K=Ei,this.Xd=null}qt(Ni,xn),Ni.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return a.isReadOnly||a.isModelReadOnly||!a.allowLink||!a.model.xs()||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},Ni.prototype.findLinkablePort=function(){var a=this.diagram,y=this.startObject;if(y===null&&(y=a.ic(a.firstInput.documentPoint,null,null)),y===null||(a=y.part,!(a instanceof Li)))return null;var x=this.direction;if(x===Ei||x===qi){var b=this.findValidLinkablePort(y,!1);if(b!==null||this.startObject===a&&(b=a.port,this.findValidLinkablePort(b,!1)))return this.isForwards=!0,b}return(x===Ei||x===Ki)&&(y=this.findValidLinkablePort(y,!0),y!==null||this.startObject===a&&(y=a.port,this.findValidLinkablePort(y,!0)))?(this.isForwards=!1,y):null},Ni.prototype.doActivate=function(){var a=this.diagram,y=this.findLinkablePort();y===null?this.stopTool():(this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=a.lastInput.documentPoint),this.originalFromPort=y,y=this.originalFromPort.part,y instanceof Li&&(this.originalFromNode=y),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=a.lastInput.documentPoint),this.originalToPort=y,y=this.originalToPort.part,y instanceof Li&&(this.originalToNode=y),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),a.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),a.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0)},Ni.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;a.remove(this.temporaryLink),a.remove(this.temporaryFromNode),a.remove(this.temporaryToNode),a.isMouseCaptured=!1,a.currentCursor="",this.stopTransaction()},Ni.prototype.doStop=function(){xn.prototype.doStop.call(this),this.startObject=null},Ni.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=this.transactionResult=null,x=null,b=null,E=null,z=null;try{var te=this.targetPort=this.findTargetPort(this.isForwards);if(te!==null){var re=te.part;re instanceof Li&&(this.isForwards?(this.originalFromNode!==null&&(y=this.originalFromNode,x=this.originalFromPort),b=re,E=te):(y=re,x=te,this.originalToNode!==null&&(b=this.originalToNode,E=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(y=this.originalFromNode,x=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(b=this.originalToNode,E=this.originalToPort);y!==null||b!==null?(z=this.insertLink(y,x,b,E),z!==null?(te===null&&(this.isForwards?z.defaultToPoint=a.lastInput.documentPoint:z.defaultFromPoint=a.lastInput.documentPoint),a.allowSelect&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),z.isSelected=!0),this.transactionResult=this.name,a.R("LinkDrawn",z)):this.doNoLink(y,x,b,E)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),z&&a.allowSelect&&a.R("ChangedSelection",a.selection)}}},Ni.prototype.isNewTreeLink=function(){var a=this.archetypeLinkData;if(a===null)return!0;if(a instanceof yi)return a.isTreeLink;var y=this.diagram;return y===null?!0:(a=y.partManager.getLinkCategoryForData(a),y=y.partManager.findLinkTemplateForCategory(a),y!==null?y.isTreeLink:!0)},Ni.prototype.insertLink=function(a,y,x,b){return this.diagram.partManager.insertLink(a,y,x,b)},Ni.prototype.doNoLink=function(){},Nt.Object.defineProperties(Ni.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(a){this.V=a}},archetypeLabelNodeData:{get:function(){return this.F},set:function(a){this.F=a}},direction:{get:function(){return this.K},set:function(a){this.K=a}},startObject:{get:function(){return this.Xd},set:function(a){this.Xd=a}}});var Ei=new tn(Ni,"Either",0),qi=new tn(Ni,"ForwardsOnly",0),Ki=new tn(Ni,"BackwardsOnly",0);Ni.className="LinkingTool",Ni.Either=Ei,Ni.ForwardsOnly=qi,Ni.BackwardsOnly=Ki;function Ui(){xn.call(this),this.name="Relinking";var a=new eo;a.figure="Diamond",a.desiredSize=oa,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=0,this.V=a,a=new eo,a.figure="Diamond",a.desiredSize=oa,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=-1,this.Xd=a,this.F=null,this.Ew=new jn}qt(Ui,xn),Ui.prototype.updateAdornments=function(a){if(a!==null&&a instanceof yi){var y="RelinkFrom",x=null;if(a.isSelected&&!this.diagram.isReadOnly){var b=a.selectionObject;b!==null&&a.canRelinkFrom()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null&&(x=this.makeAdornment(b,!1),a.bh(y,x)))}x===null&&a.Jf(y),y="RelinkTo",x=null,a.isSelected&&!this.diagram.isReadOnly&&(b=a.selectionObject,b!==null&&a.canRelinkTo()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null?(x=this.makeAdornment(b,!0),a.bh(y,x)):x.v())),x===null&&a.Jf(y)}},Ui.prototype.makeAdornment=function(a,y){var x=new zo;return x.type=hi.Link,y=y?this.toHandleArchetype:this.fromHandleArchetype,y!==null&&x.add(y.copy()),x.adornedObject=a,x},Ui.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowRelink||!a.model.xs()||!a.lastInput.left)return!1;var y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom");return y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo")),y!==null},Ui.prototype.doActivate=function(){var a=this.diagram;if(this.originalLink===null){var y=this.handle;if(y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom"),y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo"))),y===null)return;var x=y.part;if(!(x instanceof zo&&x.adornedPart instanceof yi))return;this.handle=y,this.isForwards=x===null||x.category==="RelinkTo",this.originalLink=x.adornedPart}this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0y.firstPickIndex+1&&x=x.x)y=0>=x.y?y+225:1<=x.y?y+135:y+180;else if(1<=x.x)0>=x.y?y+=315:1<=x.y&&(y+=45);else if(0>=x.y)y+=270;else if(1<=x.y)y+=90;else break e;0>y?y+=360:360<=y&&(y-=360),a.cursor=22.5>y?"e-resize":67.5>y?"se-resize":112.5>y?"s-resize":157.5>y?"sw-resize":202.5>y?"w-resize":247.5>y?"nw-resize":292.5>y?"n-resize":337.5>y?"ne-resize":"e-resize"}else if(a instanceof hi)for(a=a.elements;a.next();)this.updateResizeHandles(a.value,y)}},Tr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowResize&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},Tr.prototype.doActivate=function(){var a=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(a.isMouseCaptured=!0,a.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},Tr.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=a.isMouseCaptured=!1},Tr.prototype.stopTransaction=function(){var a=this.diagram,y=xo.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},Tr.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},Tr.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,lt.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),a.bd(),lt.free(E)}},Tr.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,lt.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),lt.free(E),a.Ya(),this.transactionResult=this.name,a.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},Tr.prototype.resize=function(a){var y=this.diagram,x=this.adornedObject;if(x!==null){if(x.desiredSize=a.size,a=x.part,a.Va(),x=x.ga(this.handle.alignment.gv()),a instanceof Ur){var b=new Gt;if(b.add(a),!this.dragsMembers&&a.placeholder===null){var E=new ae;E.dragsMembers=!1}y.moveParts(b,this.oppositePoint.copy().re(x),!0,E)}else a.location=a.location.copy().re(x).add(this.oppositePoint);y.bd()}},Tr.prototype.computeResize=function(a,y,x,b,E,z){y.Mc()&&(y=wo);var te=this.adornedObject.naturalBounds,re=te.x,le=te.y,ce=te.x+te.width,de=te.y+te.height,ve=1;if(!z){ve=te.width;var Pe=te.height;0>=ve&&(ve=1),0>=Pe&&(Pe=1),ve=Pe/ve}return Pe=lt.alloc(),Wt.No(a.x,a.y,re,le,E.width,E.height,Pe),a=te.copy(),0>=y.x?0>=y.y?(a.x=Math.max(Pe.x,ce-b.width),a.x=Math.min(a.x,ce-x.width),a.width=Math.max(ce-a.x,x.width),a.y=Math.max(Pe.y,de-b.height),a.y=Math.min(a.y,de-x.height),a.height=Math.max(de-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve):(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width),a.x=ce-a.width,a.y=de-a.height)):1<=y.y?(a.x=Math.max(Pe.x,ce-b.width),a.x=Math.min(a.x,ce-x.width),a.width=Math.max(ce-a.x,x.width),a.height=Math.max(Math.min(Pe.y-le,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve):(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width),a.x=ce-a.width)):(a.x=Math.max(Pe.x,ce-b.width),a.x=Math.min(a.x,ce-x.width),a.width=ce-a.x,z||(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve,a.y=le+.5*(de-le-a.height))):1<=y.x?0>=y.y?(a.width=Math.max(Math.min(Pe.x-re,b.width),x.width),a.y=Math.max(Pe.y,de-b.height),a.y=Math.min(a.y,de-x.height),a.height=Math.max(de-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve):(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width),a.y=de-a.height)):1<=y.y?(a.width=Math.max(Math.min(Pe.x-re,b.width),x.width),a.height=Math.max(Math.min(Pe.y-le,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve):(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width))):(a.width=Math.max(Math.min(Pe.x-re,b.width),x.width),z||(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve,a.y=le+.5*(de-le-a.height))):0>=y.y?(a.y=Math.max(Pe.y,de-b.height),a.y=Math.min(a.y,de-x.height),a.height=de-a.y,z||(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width,a.x=re+.5*(ce-re-a.width))):1<=y.y&&(a.height=Math.max(Math.min(Pe.y-le,b.height),x.height),z||(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width,a.x=re+.5*(ce-re-a.width))),lt.free(Pe),a},Tr.prototype.computeReshape=function(){var a=_n;return this.adornedObject instanceof eo&&(a=Rv(this.adornedObject)),!(a===pi||this.diagram.lastInput.shift)},Tr.prototype.computeMinSize=function(){var a=this.adornedObject.minSize.copy(),y=this.minSize;return!isNaN(y.width)&&y.width>a.width&&(a.width=y.width),!isNaN(y.height)&&y.height>a.height&&(a.height=y.height),a},Tr.prototype.computeMaxSize=function(){var a=this.adornedObject.maxSize.copy(),y=this.maxSize;return!isNaN(y.width)&&y.widthx?x+=360:360<=x&&(x-=360),x=Math.round(45*Math.round(x/45));var b=this.handleDistance;return x===0?y.x=a.naturalBounds.width+b:x===45?(y.x=a.naturalBounds.width+b,y.y=a.naturalBounds.height+b):x===90?y.y=a.naturalBounds.height+b:x===135?(y.x=-b,y.y=a.naturalBounds.height+b):x===180?y.x=-b:x===225?(y.x=-b,y.y=-b):x===270?y.y=-b:x===315&&(y.x=a.naturalBounds.width+b,y.y=-b),a.ga(y)},mo.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new lt(NaN,NaN),this.isActive=a.isMouseCaptured=!1},mo.prototype.stopTransaction=function(){var a=this.diagram,y=xo.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},mo.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},mo.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeRotate(a.lastInput.documentPoint),this.rotate(a))},mo.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){a.delaysLayout=!1;var y=this.computeRotate(a.lastInput.documentPoint);this.rotate(y),a.Ya(),this.transactionResult=this.name,a.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},mo.prototype.rotate=function(a){var y=this.adornedObject;if(y!==null){y.angle=a,y=y.part,y.Va();var x=y.locationObject,b=y.rotateObject;(x===b||x.rg(b))&&(x=this.Tn.copy(),y.location=x.re(this.rotationPoint).rotate(a-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},mo.prototype.computeRotate=function(a){a=this.rotationPoint.ab(a)-this.handleAngle;var y=this.adornedObject.panel;y!==null&&(a-=y.li()),360<=a?a-=360:0>a&&(a+=360),y=Math.min(Math.abs(this.snapAngleMultiple),180);var x=Math.min(Math.abs(this.snapAngleEpsilon),y/2);return!this.diagram.lastInput.shift&&0y-x&&(a=(Math.floor(a/y)+1)*y)),360<=a?a-=360:0>a&&(a+=360),a},Nt.Object.defineProperties(mo.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof zo))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof zo)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},snapAngleMultiple:{get:function(){return this.ia},set:function(a){this.ia=a}},snapAngleEpsilon:{get:function(){return this.V},set:function(a){this.V=a}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(a){this.kr=a.copy()}},handleAngle:{get:function(){return this.u},set:function(a){this.u=a}},handleDistance:{get:function(){return this.F},set:function(a){this.F=a}}}),mo.className="RotatingTool",Wn("rotatingTool",function(){return this.findTool("Rotating")},function(a){this.gb("Rotating",a,this.mouseDownTools)});function Zo(){xo.call(this),this.name="ClickSelecting"}qt(Zo,xo),Zo.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Zo.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Zo.className="ClickSelectingTool";function Hr(){xo.call(this),this.name="Action",this.pk=null}qt(Hr,xo),Hr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram,y=a.lastInput,x=a.ic(y.documentPoint,function(b){for(;b.panel!==null&&!b.isActionable;)b=b.panel;return b});return x!==null&&x.isActionable?(this.pk=x,a.Ck=a.ic(y.documentPoint,null,null),!0):!1},Hr.prototype.doMouseDown=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionDown!==null&&y.actionDown(a,y))}else this.canStart()&&this.doActivate()},Hr.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionMove!==null&&y.actionMove(a,y))}},Hr.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;if(y===null)return;a.targetObject=y,y.actionUp!==null&&y.actionUp(a,y),this.standardMouseClick(function(x){for(;x.panel!==null&&(!x.isActionable||x!==y);)x=x.panel;return x},function(x){return x===y})}this.stopTool()},Hr.prototype.doCancel=function(){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionCancel!==null&&y.actionCancel(a,y),this.stopTool())},Hr.prototype.doStop=function(){this.pk=null},Hr.className="ActionTool";function uo(){xo.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new lt(0,0)}qt(uo,xo),uo.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(a.lastInput.clickCount===1&&(this.mw=a.lastInput.viewPoint.copy()),a.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(a.lastInput.clickCount!==1)return!1;return!(a.currentTool!==this&&a.Ol(a.lastInput.documentPoint,!0)!==null)},uo.prototype.doMouseUp=function(){var a=this.diagram;this.isActive&&this.insertPart(a.lastInput.documentPoint),this.stopTool()},uo.prototype.insertPart=function(a){var y=this.diagram,x=this.archetypeNodeData;if(x===null)return null;var b=null;try{if(y.R("ChangingSelection",y.selection),this.Ea(this.name),x instanceof nr)x.Zc()&&(Vc(x),b=x.copy(),b!==null&&y.add(b));else if(x!==null){var E=y.model.copyNodeData(x);_t(E)&&(y.model.xf(E),b=y.Lc(E))}if(b!==null){var z=lt.allocAt(a.x,a.y);this.isGridSnapEnabled&&Fg(this.diagram,b,a,z),b.location=z,y.allowSelect&&(y.clearSelection(!0),b.isSelected=!0),lt.free(z)}y.Ya(),this.transactionResult=this.name,y.R("PartCreated",b)}finally{this.stopTransaction(),y.R("ChangedSelection",y.selection)}return b},Nt.Object.defineProperties(uo.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){this.Ri=a}},isDoubleClick:{get:function(){return this.o},set:function(a){this.o=a}},isGridSnapEnabled:{get:function(){return this.j},set:function(a){this.j=a}}}),uo.className="ClickCreatingTool";function vr(){xo.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var a=new nr;a.layerName="Tool",a.selectable=!1;var y=new eo;y.name="SHAPE",y.figure="Rectangle",y.fill=null,y.stroke="magenta",a.add(y),this.j=a}qt(vr,xo),vr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(!a.allowSelect)return!1;var y=a.lastInput;return!(!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.timestamp-a.firstInput.timestampE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom&&(x.y-=b.height+5/y.scale),x.ya.lastInput.clickCount)):!1},No.prototype.doStart=function(){ql=this,this.textBlock!==null&&this.doActivate()},No.prototype.doActivate=function(){if(!this.isActive){var a=this.diagram;if(a!==null){var y=this.textBlock;if(y===null&&(y=a.ic(a.lastInput.documentPoint)),y!==null&&y instanceof Pa&&(this.textBlock=y,y.part!==null)){a.animationManager.Cc(),this.isActive=!0,this.qa=Yo;var x=this.defaultTextEditor;y.textEditor!==null&&(x=y.textEditor),this.Zh=this.textBlock.copy();var b=new jn(this.textBlock.ga(Hs),this.textBlock.ga(Fl));a.tv(b),x.show(y,a,this),this.currentTextEditor=x}}}},No.prototype.doCancel=function(){this.stopTool()},No.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},No.prototype.doMouseDown=function(){this.isActive&&this.acceptText(qs)},No.prototype.acceptText=function(a){switch(a){case qs:this.qa===al?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===Yo||this.qa===xl||this.qa===Sa)&&(this.qa=ja,bs(this));break;case ys:case wi:case _o:(wi!==a||this.textBlock.isMultiline!==!0)&&(this.qa===Yo||this.qa===xl||this.qa===Sa)&&(this.qa=ja,bs(this))}};function bs(a){var y=a.textBlock,x=a.diagram,b=a.currentTextEditor;if(y!==null&&b!==null){var E=y.text,z="";b.valueFunction!==null&&(z=b.valueFunction()),a.isValidText(y,E,z)?(a.Ea(a.name),a.qa=al,a.transactionResult=a.name,y.text=z,a.doSuccess(E,z),x!==null&&x.R("TextEdited",y,E),a.stopTransaction(),a.stopTool(),x!==null&&x.doFocus()):(a.qa=xl,a.doError(E,z))}}No.prototype.doError=function(a,y){var x=this.textBlock;x.errorFunction!==null&&x.errorFunction(this,a,y),(a=this.currentTextEditor)&&a.show(x,this.diagram,this)},No.prototype.doSuccess=function(a,y){var x=this.textBlock;x.textEdited!==null&&x.textEdited(x,a,y)},No.prototype.doDeactivate=function(){var a=this.diagram;a!==null&&(this.qa=ho,this.currentTextEditor!==null&&this.currentTextEditor.hide(a,this),this.textBlock=null,this.isActive=!1)},No.prototype.doStop=function(){ql=null},No.prototype.isValidText=function(a,y,x){var b=this.textValidation;return b!==null&&!b(a,y,x)?!1:(b=a.textValidation,!!(b===null||b(a,y,x)))},No.prototype.Lx=function(a){var y=this.Zh;return y.text=a,y.measure(this.textBlock.Ih,1/0),y},Nt.Object.defineProperties(No.prototype,{textBlock:{get:function(){return this.ia},set:function(a){this.ia=a}},currentTextEditor:{get:function(){return this.o},set:function(a){this.o=a}},defaultTextEditor:{get:function(){return this.j},set:function(a){this.j=a}},starting:{get:function(){return this.V},set:function(a){this.V=a}},textValidation:{get:function(){return this.vj},set:function(a){this.vj=a}},minimumEditorScale:{get:function(){return this.u},set:function(a){this.u=a}},selectsTextOnActivate:{get:function(){return this.F},set:function(a){this.F=a}},state:{get:function(){return this.qa},set:function(a){this.qa!==a&&(this.qa=a)}}}),No.prototype.measureTemporaryTextBlock=No.prototype.Lx;var ys=new tn(No,"LostFocus",0),qs=new tn(No,"MouseDown",1),_o=new tn(No,"Tab",2),wi=new tn(No,"Enter",3),er=new tn(No,"SingleClick",0),qr=new tn(No,"SingleClickSelected",1),La=new tn(No,"DoubleClick",2),ho=new tn(No,"StateNone",0),Yo=new tn(No,"StateActive",1),Sa=new tn(No,"StateEditing",2),ja=new tn(No,"StateValidating",3),xl=new tn(No,"StateInvalid",4),al=new tn(No,"StateValidated",5),ql=null;No.className="TextEditingTool",No.LostFocus=ys,No.MouseDown=qs,No.Tab=_o,No.Enter=wi,No.SingleClick=er,No.SingleClickSelected=qr,No.DoubleClick=La,No.StateNone=ho,No.StateActive=Yo,No.StateEditing=Sa,No.StateValidating=ja,No.StateInvalid=xl,No.StateValidated=al,Wn("textEditingTool",function(){return this.findTool("TextEditing")},function(a){this.gb("TextEditing",a,this.mouseUpTools)});function Ya(a){Iu||(hl(),Iu=!0),this.H=Lc,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=lc,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Fn,this.ce=new qa,this.ce.Yd=this,this.Ei=new Fn,this.pu=new Fn,this.Sr=new Fn,this.pr=new Fn,a&&Object.assign(this,a)}Ya.prototype.Xe=function(a){this.H=a},Ya.prototype.canStart=function(){return!0};function _l(a,y){a.Jd&&a.canStart(y)&&(a.Zd.add(y),a.defaultAnimation.isAnimating&&a.Cc(),El(a.H),a.zb=!0)}function sl(a){if(a.Jd&&a.zb){var y=a.ce,x=a.H,b=a.Zd.contains("Model");b&&(a.Ok=!0,a.Pk===lc?(y.isViewportUnconstrained=!0,y.vc.clear(),y.add(x,"position",x.position.copy().offset(0,-200),x.position),y.add(x,"opacity",0,1)):a.Pk===Ju&&y.vc.clear(),a.Qw=!!(a.Pk===uc&&x.du.D(x.pa)),x.R("InitialAnimationStarting",a)),b&&!a.Gh||y.vc.count===0?(a.Zd.clear(),a.zb=!1,y.vc.clear(),bl(y,x),a.Ok=!1,x.N()):(a.Zd.clear(),x.kg=!1,b=y.vc.get(x),x.autoScale!==Xl&&b!==null&&(delete b.start.scale,delete b.end.scale),yt.requestAnimationFrame(function(){a.zb===!1||y.bc||(x.Gf("temporaryPixelRatio")&&Gl(x),Th(x),a.zb=!1,y.start(),y.bc&&(Ss(a),x.Ya(),id(y,0),au(x,!0),Vs(a),x.R("AnimationStarting",a)))}))}}function Ml(a){return a.Zd.contains("Trigger")&&a.Zd.count===1}function Hc(a,y,x,b){a.isTicking||Ml(a)||y instanceof yi&&(y.fromNode!==null||y.toNode!==null)||a.ce.add(y,"position",x,b,!1)}Ue=Ya.prototype,Ue.fv=function(a){return this.ce.fv(a)},Ue.Xu=function(a){return this.ce.Xu(a)};function Za(a,y){function x(){if(0z?z+=360:le+=360),z=E(x,z,le-z,b)%360,te=E(x,te,ce-te,b),re=E(x,re,de-re,b),x=E(x,a,y-a,b),"hsla("+z+", "+te+"%, "+re+"%, "+x+")"}function hl(){function a(x,b,E,z,te,re){x.position=new lt(z(te,b.x,E.x-b.x,re),z(te,b.y,E.y-b.y,re))}var y=new Ii;y.add("position:diagram",a),y.add("position",a),y.add("position:part",function(x,b,E,z,te,re){tea&&Ln(a,">= 1",Ya,"duration"),this.Dg=a}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(a){this.Pk=a}}}),Ya.prototype.stopAnimation=Ya.prototype.Cc;var Qu=null,Iu=!1,lc=new tn(Ya,"Default",1),uc=new tn(Ya,"AnimateLocations",2),Ju=new tn(Ya,"None",3);Ya.className="AnimationManager",Ya.defineAnimationEffect=function(a,y){Iu||(hl(),Iu=!0),Qu.add(a,y)},Ya.Default=lc,Ya.AnimateLocations=uc,Ya.None=Ju;function qa(a){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=cc,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=Rr,this.vc=new Ii,this.Tt=new Ii,this.yl=new Fn,this.Ut=new Fn,this.dw=he,a&&Object.assign(this,a)}qa.prototype.suspend=function(){this.Xk=!0},qa.prototype.advanceTo=function(a,y){y&&(this.Xk=!1),this.ho&&a>=this.Gd&&(this.Wk=!0,a-=this.Gd),this.gw=a,fu(this,!0),Ss(this.Yd),au(this.H),Vs(this.Yd),this.H.redraw()};function bl(a,y){if(a.Tt.clear(),a.Wk=!1,a.au=0,a.Gd=NaN,0a.cn?a.Gd:b-a.Qd;y&&(E=a.gw,Ea.cn&&(a.ho&&!a.Wk?(a.Qd=+new Date,a.cn=a.Qd+a.Gd,a.Wk=!0):a.Ml(!1))}}}function id(a,y){for(var x=a.Gd,b=a.vc.iterator,E=a.Wk;b.next();){var z=b.key;if(!(z instanceof Rt&&z.diagram===null)){var te=b.value,re=E?te.end:te.start;te=E?te.start:te.end;var le=Qu,ce;for(ce in te)ce==="position"&&(te["position:placeholder"]||te["position:nodeCollapse"])||le.get(ce)===null||le.get(ce)(z,re[ce],te[ce],a.Lp,y,x,a)}}}Ue.stop=function(){return this.bc?(this.Ml(!0),this):this},Ue.Ml=function(a){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var y=this.H,x=this.Yd;this.Xk=this.bc=x.Ok=!1,Ss(x);for(var b=this.vc,E=this.yl.iterator;E.next();)y.remove(E.value);for(E=this.Ut.iterator;E.next();)E.value.v();E=this.ho,b=b.iterator;for(var z=Qu;b.next();){var te=b.key,re=b.value,le=E?re.end:re.start,ce=E?re.start:re.end,de=re.Ku,ve;for(ve in ce)if(z.get(ve)!==null){var Pe=ve;!re.Hu||Pe!=="position:nodeCollapse"&&Pe!=="position:placeholder"||(Pe="position"),z.get(Pe)(te,le[ve],de[ve]!==void 0?de[ve]:re.Hu?le[ve]:ce[ve],this.Lp,this.Gd,this.Gd,this)}re.Hu&&de.location!==void 0&&te instanceof nr&&(te.location=de.location),re.nv&&te instanceof nr&&te.Zb(!1)}if(y.As.clear(),Hd(y,!1),y.Ya(),y.N(),au(y,!0),x.defaultAnimation===this){for(ve=x.pr.iterator;ve.next();)E=ve.value,E.Tg!==null&&(E.points=E.Tg,E.Tg=null);x.pr.clear()}au(y,!0),this.isViewportUnconstrained&&(y.scrollMode=this.dw),Vs(x),this.au++,!a&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),bl(this,null),x.Ml(this),y.$b())}},Ue.Cj=function(a,y){var x=y.actualBounds,b=null;if(y instanceof Ur&&(b=y.placeholder),b!==null?(x=b.ga(Hs),b=b.padding,x.x+=b.left,x.y+=b.top,this.add(a,"position",x,a.position,!1)):this.add(a,"position",new lt(x.x+x.width/2,x.y+x.height/2),a.position,!1),this.add(a,"scale",.01,a.scale,!1),a instanceof Ur)for(a=a.memberParts;a.next();)b=a.value,b instanceof Li&&this.Cj(b,y)},Ue.Aj=function(a,y){if(a.isVisible()){var x=null;if(y instanceof Ur&&(x=y.placeholder),x!==null){var b=x.ga(Hs);x=x.padding,b.x+=x.left,b.y+=x.top,this.add(a,"position:placeholder",a.position,b,!0)}else this.add(a,"position:nodeCollapse",a.position,y,!0);if(this.add(a,"scale",a.scale,.01,!0),b=this.vc,b.contains(a)&&(b.I(a).nv=!0),a instanceof Ur)for(a=a.memberParts;a.next();)b=a.value,b instanceof Li&&this.Aj(b,y)}},Ue.Ez=function(a){var y=this.Tt.get(a);return y===null&&(y={},this.Tt.add(a,y)),y},Nt.Object.defineProperties(qa.prototype,{duration:{get:function(){return this.Dg},set:function(a){1>a&&Ln(a,">= 1",qa,"duration"),this.Dg=a}},reversible:{get:function(){return this.ho},set:function(a){this.ho=a}},runCount:{get:function(){return this.cu},set:function(a){0a?x/2*a*a+y:-x/2*(--a*(a-2)-1)+y}function dc(a,y,x,b){return a===b?y+x:x*(-Math.pow(2,-10*a/b)+1)+y}qa.className="Animation",qa.EaseLinear=function(a,y,x,b){return x*a/b+y},qa.EaseInOutQuad=cc,qa.EaseInQuad=function(a,y,x,b){return x*(a/=b)*a+y},qa.EaseOutQuad=function(a,y,x,b){return-x*(a/=b)*(a-2)+y},qa.EaseInExpo=function(a,y,x,b){return a===0?y:x*Math.pow(2,10*(a/b-1))+y},qa.EaseOutExpo=dc;function Mc(a,y,x){this.start=a,this.end=y,this.Ku={},this.Hu=x,this.nv=!1}Mc.className="AnimationState";function ou(a,y,x){this.xd=null,this.rf=a,this.so=x||Cs,this.uk=null,y!==void 0&&(this.uk=y,x===void 0&&(this.so=wl))}ou.prototype.copy=function(){var a=new ou(this.rf);a.so=this.so;var y=this.uk;if(y!==null){var x={};y.duration!==void 0&&(x.duration=y.duration),y.finished!==void 0&&(x.finished=y.finished),y.easing!==void 0&&(x.easing=y.easing),a.uk=x}return a};function Ua(a,y){a=a.uk,a!==null&&(a.duration&&(y.duration=a.duration),a.finished&&(y.finished=a.finished),a.easing&&(y.easing=a.easing))}Nt.Object.defineProperties(ou.prototype,{propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},animationSettings:{get:function(){return this.uk},set:function(a){this.uk=a}},startCondition:{get:function(){return this.so},set:function(a){this.so=a}}});var Cs=new tn(ou,"Default",1),wl=new tn(ou,"Immediate",2),Ls=new tn(ou,"Bundled",3);ou.className="AnimationTrigger",ou.Default=Cs,ou.Immediate=wl,ou.Bundled=Ls;function _a(a){kr(this),this.H=null,this.Pa=new Gt,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],a&&Object.assign(this,a)}Ue=_a.prototype,Ue.clear=function(){for(var a=this.Pa,y=0;y=a)return y;for(var x=0,b=0,E=0,z=0,te=0,re=this.Pa.iterator;re.next();){var le=re.value;le instanceof Ur?E++:le instanceof Li?b++:le instanceof yi?z++:le instanceof zo?te++:x++}if(re="",0x.Oq||re.height*E>x.Oq?y.gc(a,x):(E=y.actualBounds,z=y.naturalBounds,E.width===0||E.height===0||isNaN(E.x)||isNaN(E.y)||!y.isVisible()||(x=y.transform,y.areaBackground!==null&&(Ca(y,a,y.areaBackground,!0,!0,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.areaBackground===null&&y.background===null&&(Ca(y,a,"rgba(0,0,0,0.3)",!0,!1,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.background!==null&&(a.transform(x.m11,x.m12,x.m21,x.m22,x.dx,x.dy),Ca(y,a,y.background,!0,!1,z,E),a.fillRect(0,0,z.width/2,z.height/2),x.ws()||(y=1/(x.m11*x.m22-x.m12*x.m21),a.transform(x.m22*y,-x.m12*y,-x.m21*y,x.m11*y,y*(x.m21*x.dy-x.m22*x.dx),y*(x.m12*x.dx-x.m11*x.dy)))))),b&&(a.restore(),a.Vc(!0))}},Ue.g=function(a,y,x,b,E){var z=this.diagram;z!==null&&z.cb(Ma,a,this,y,x,b,E)},Ue.oi=function(a,y,x){var b=this.Pa;if(y.Ig=this,this===null&&ha(y),a>=b.count)a=b.count;else if(b.M(a)===y)return-1;return b.Gb(a,y),y.Vo(x),b=this.diagram,b!==null&&(x?b.N():b.oi(y)),qu(this,a,y),a},Ue.pc=function(a,y,x){if(!x&&y.layer!==this&&y.layer!==null)return y.layer.pc(a,y,x);var b=this.Pa;if(0>a||a>=b.length){if(a=b.indexOf(y),0>a)return-1}else if(b.M(a)!==y&&(a=b.indexOf(y),0>a))return-1;return y.Wo(x),b.mb(a),b=this.diagram,b!==null&&(x?b.N():b.pc(y)),y.Ig=null,ha(y),a};function qu(a,y,x){if(y=sh(a,y,x),x instanceof Ur&&x!==null&&isNaN(x.zOrder)){if(x.memberParts.count!==0){for(var b=-1,E=a.Pa.s,z=E.length,te=0;teb&&re.containingGroup===x&&(b=te,0<=y))break}!(0>b)&&b=E)return y;if(0>y&&(y=a.indexOf(x)),0>y)return-1;for(var z=y-1,te=NaN;0<=z&&(te=a.M(z).zOrder,!!isNaN(te));)z--;for(var re=y+1,le=NaN;reb)for(;;){if(z===-1||te<=b){if(z++,z===y)break;return a.mb(y),a.Gb(z,x),z}for(te=NaN;0<=--z&&(te=a.M(z).zOrder,isNaN(te)););}else if(!isNaN(le)&&le=b){if(re--,re===y)break;return a.mb(y),a.Gb(re,x),re}for(le=NaN;++rea||1=a)return y;for(var x=this.Wa.iterator;x.next();)y+=` - `+x.value.toString(a-1);return y};function Lh(a,y){if(ss){if(y!=null||bt("Diagram setup requires an argument DIV."),a.Ka!==null&&bt("Diagram has already completed setup."),typeof y=="string"?a.Ka=yt.document.getElementById(y):y instanceof HTMLDivElement?a.Ka=y:bt("No DIV or DIV id supplied: "+y),a.Ka===null&&bt("Invalid DIV id; could not get element with id: "+y),a.Ka.H!==void 0&&bt("Invalid div id; div already has a Diagram associated with it."),!a.ol&&yt.ResizeObserver){var x=zn(function(){a.$b()},250);a.ol=new yt.ResizeObserver(function(){x()}),a.ol.observe(a.Ka)}yt.getComputedStyle(a.Ka,null).position==="static"&&(a.Ka.style.position="relative"),y=5;var b="rgba(2"+y+"5, 255, 255, 0)";y--,a.Ka.style["-webkit-tap-highlight-color"]=b,a.Ka.innerHTML="",a.Ka.H=a,a.Ka.goDiagram=a,a.Ka.go=yt.go;var E=new Oa(a);if(E.style!==void 0&&(E.style.position="absolute",E.style.top="0px",E.style.left="0px",yt.getComputedStyle(a.Ka,null).getPropertyValue("direction")==="rtl"&&(a.tn=!0),E.style.zIndex="2",E.style.userSelect="none",E.style.MozUserSelect="none",E.style.touchAction="none",E.style.letterSpacing="normal !important",E.style.wordSpacing="normal !important"),a.ta=E,a.ib=E.context,b=a.ib,a.Mb=a.computePixelRatio(),a.viewSize.w()||(a.Aa=a.Ka.clientWidth||1,a.ya=a.Ka.clientHeight||1),dh(a,a.Aa,a.ya),a.Ka.insertBefore(E.Oa,a.Ka.firstChild),E=new Oa(null),E.width=1,E.height=1,a.jw=E,a.oy=E.context,ss){E=Rn("div");var z=Rn("div");E.style.position="absolute",E.style.overflow="auto",E.style.width=a.Aa+"px",E.style.height=a.ya+"px",E.style.zIndex="1",z.style.position="absolute",z.style.width="1px",z.style.height="1px",a.Ka.appendChild(E),E.appendChild(z),E.onscroll=Og,E.addEventListener("pointerdown",og),E.H=a,E.uy=!0,E.vy=!0,a.ku=E,a.hu=z}a.hk=zn(function(){a.Yh=null,a.N()},300),a.Ov=zn(function(){Th(a)},250),a.preventDefault=function(te){return te.preventDefault(),!1},a.$j=function(te){if(a.isEnabled){var re=vu(a,te,!0);re.bubbles=!0;var le=0,ce=0;re.delta=0,te.deltaX!==void 0?(te.deltaX!==0&&(le=0Math.abs(te.deltaY)?-le:-ce):te.wheelDeltaX!==void 0?(te.wheelDeltaX!==0&&(le=0Math.abs(te.wheelDeltaY)?-le:-ce):te.wheelDelta!==void 0&&te.wheelDelta!==0&&(re.delta=0re||Math.abs(ce.y-te.screenY)>re)?a.yq++:a.yq=1,le.clickCount=a.yq,a.tw=te.timeStamp,a.uw.sg(te.screenX,te.screenY),a.doMouseDown(),te.button===1?te.preventDefault():Du(le,te)}},a.dk=function(te){if(a.isEnabled){a.Vk=!0;var re=a.oj;if(re[0]===null||re[0].pointerId!==te.pointerId&&re[0].pointerType===te.pointerType){if(re[1]!==null&&re[1].pointerId===te.pointerId){re[1]=te;return}if(re[0]===null)re[0]=te;else return}else re[0]=te;if(re[0].pointerId===te.pointerId){re=kh(a,te,!1,!1,!1,re[1]!==null);var le=yt.document.elementFromPoint(te.clientX,te.clientY)||null;le!==null&&le.shadowRoot!==void 0&&le.shadowRoot!==null&&(le=le.shadowRoot.elementFromPoint(te.clientX,te.clientY));var ce=a,de=te;le&&le.H&&(de=te,ce=le.H),re.targetDiagram=ce,Vd(a,de,re),re.targetObject=null,a.doMouseMove(),Du(re,te)}}},a.fk=function(te){if(a.isEnabled){a.Vk=!0;var re=te.pointerType==="touch"||te.pointerType==="pen",le=a.Yt;if(re&&a.qu)delete le[te.pointerId],te.preventDefault();else if(le=a.oj,le[0]===null||le[0].pointerId!==te.pointerId&&le[0].pointerType===te.pointerType)le[1]!==null&&le[1].pointerId===te.pointerId&&(le[1]=null);else{le[0]=null,le=kh(a,te,!1,!0,!0,!1);var ce=yt.document.elementFromPoint(te.clientX,te.clientY)||null;ce!==null&&ce.shadowRoot!==void 0&&ce.shadowRoot!==null&&(ce=ce.shadowRoot.elementFromPoint(te.clientX,te.clientY)),ce!==null&&ce.H instanceof pn&&ce.H!==a&&Vd(ce.H,te,le),ce===null&&(ce=te.target),Vd(a,te,le),le.clickCount=a.yq,le.targetDiagram=uh(te,ce),le.targetObject=null,a.doMouseUp(),Du(le,te),re&&(a.wq=!1)}}},a.ek=function(te){if(a.isEnabled){a.Vk=!1;var re=a.Yt;re[te.pointerId]&&delete re[te.pointerId],re=a.oj,re[0]!==null&&re[0].pointerId===te.pointerId&&(re[0]=null),re[1]!==null&&re[1].pointerId===te.pointerId&&(re[1]=null),te.pointerType!=="touch"&&te.pointerType!=="pen"&&(te=a.currentTool,te.cancelWaitAfter(),te.standardMouseOver())}},a.ck=function(te){var re=a.oj;re[0]!==null&&re[0].pointerId===te.pointerId?(re[0]=null,a.wq=!1):re[1]!==null&&re[1].pointerId===te.pointerId&&(re[1]=null)},a.Vp=b.Z["d"+zr[1]+zr[2]+"wI"+Jt.slice(1,5)]["b"+_1.slice(1,y)](b.Z,Tn,y,y),b.Vc(!0),cf(a),a.nl==="svg"&&(y=a.pj.get("svg"),a.Ka.appendChild(y.Oa),a.ib=y.context)}}pn.prototype.addEventListener=function(a,y,x,b){a.addEventListener(y,x,{capture:b,passive:!1})},pn.prototype.removeEventListener=function(a,y,x,b){a.removeEventListener(y,x,{capture:b})};function cf(a){var y=a.ta.Oa;y instanceof HTMLCanvasElement||(y=a.div),a.addEventListener(y,"pointerdown",a.ui,!1),a.addEventListener(y,"pointermove",a.dk,!1),a.addEventListener(y,"pointerup",a.fk,!1),a.addEventListener(y,"pointerout",a.ek,!1),a.addEventListener(y,"pointercancel",a.ck,!1),a.addEventListener(y,"pointerenter",a.bz,!1),a.addEventListener(y,"pointerleave",a.cz,!1),a.addEventListener(y,"wheel",a.$j,!1),a.addEventListener(y,"keydown",a.Qz,!1),a.addEventListener(y,"keyup",a.Rz,!1),a.addEventListener(y,"blur",a.Ny,!1),a.addEventListener(y,"focus",a.Oy,!1),a.addEventListener(y,"selectstart",function(x){return x.preventDefault(),!1},!1),a.addEventListener(y,"contextmenu",function(x){return x.preventDefault(),!1},!1),a.addEventListener(yt,"resize",a.Ov,!1)}function Gl(a){30Fe&&(this.position=pt.h(-(y.scrollWidth-this.Aa)+at-this.Aa/E+de,this.position.y))),a.vy&&this.allowVerticalScroll&&(reZe&&(this.position=pt.h(this.position.x,-(y.scrollHeight-this.ya)+a.scrollTop-this.ya/E+z))),lt.free(pt),this.vd=!0,this.Ee=this.qr=!1,b=this.documentBounds,E=this.viewportBounds,de=b.right,Fe=E.right,z=b.bottom,Ze=E.bottom,te=b.x,ve=E.x,re=b.y,b=E.y,Pe>=le&&te>=ve&&de<=Fe&&(x.style.width="1px"),Le>=ce&&re>=b&&z<=Ze&&(x.style.height="1px"))}},pn.prototype.computeBounds=function(a){return a===void 0&&(a=new jn),El(this),Wd(this,a)};function Wd(a,y){if(a.fixedBounds.w())return y.assign(a.fixedBounds),y.Co(a.yb),y;for(var x=!0,b=a.Wa.s,E=b.length,z=0;zx&&(y=x),ya.maxScale&&(y=a.maxScale),y):y===mh?(y=le>re?(te-a.Db)/b:(z-a.Db)/E,y>x&&(y=x),ya.maxScale&&(y=a.maxScale),y):a.scale}pn.prototype.zoomToFit=function(){var a=this.sj;this.sj=he,this.scale=Zd(this,Ru),a!==he&&(ku(this,!1),Ih(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=a},Ue=pn.prototype,Ue.BA=function(a,y){y===void 0&&(y=Ru);var x=a.width,b=a.height;if(!(x===0||b===0||isNaN(x)&&isNaN(b))){var E=1;if(y===Ru||y===mh)if(isNaN(x))E=this.viewportBounds.height*this.scale/b;else if(isNaN(b))E=this.viewportBounds.width*this.scale/x;else{E=this.Aa;var z=this.ya;E=y===mh?z/b>E/x?(z-(this.Be?this.Db:0))/b:(E-(this.gf?this.Db:0))/x:Math.min(z/b,E/x)}this.scale=E,this.position=new lt(a.x,a.y)}},Ue.Jy=function(a,y){this.Va();var x=this.documentBounds,b=this.viewportBounds;this.position=new lt(x.x+(a.x*x.width+a.offsetX)-(y.x*b.width-y.offsetX),x.y+(a.y*x.height+a.offsetY)-(y.y*b.height-y.offsetY))},Ue.zz=function(a){if(a instanceof Rt){this.eq=a;var y=lt.alloc();this.fq=this.op(a.ga(Hs,y)),lt.free(y)}else this.eq=null,this.fq=Mr};function Ih(a,y,x,b,E,z){var te=lt.allocAt(a.pa.x,a.pa.y),re=te.x,le=te.y;if(a.eq!==null){var ce=lt.alloc();ce=a.eq.ga(Hs,ce),re=ce.x-a.fq.x/a.scale,le=ce.y-a.fq.y/a.scale,E=is,lt.free(ce)}(z||a.scrollMode===he)&&(E.sb()&&(x>y.width&&(re=y.x+(E.x*y.width+E.offsetX)-(E.x*x-E.offsetX)),b>y.height&&(le=y.y+(E.y*y.height+E.offsetY)-(E.y*b-E.offsetY))),E=a.rj,z=x-y.width,xy.left?re=y.left:rey.top?le=y.top:ley;y++){var x=a.De.iterator;if(x===null||a.De.count===0)break;a.De=new Fn,a.Nv(x,a.De)}a.nodes.each(function(b){b instanceof Ur&&b.U&65536&&(b.U=b.U^65536)})}}Ue.Nv=function(a,y){for(a.reset();a.next();){var x=a.value;!x.Zc()||x instanceof Ur||(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))}for(a.reset();a.next();)x=a.value,x instanceof Ur&&x.isVisible()&&$a(this,x);for(a.reset();a.next();)x=a.value,x instanceof yi&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x));for(a.reset();a.next();)x=a.value,x instanceof zo&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))};function $a(a,y){for(var x=gn(),b=gn(),E=y.memberParts;E.next();){var z=E.value;z.isVisible()&&(z instanceof Ur?(xu(z)||Il(z)||gg(z))&&$a(a,z):z instanceof yi?z.fromNode===y||z.toNode===y?b.push(z):x.push(z):(z.measure(1/0,1/0),z.arrange()))}for(a=x.length,E=0;EKt&&(at=Pi.left,Ct=Pi.right),pt.height>vn&&(Lt=Pi.top,Dt=Pi.bottom)):(at=Pi.left,Ct=Pi.right,Lt=Pi.top,Dt=Pi.bottom);var ji=pt.width+at+Ct,Di=pt.height+Lt+Dt;Pi=a.scale;var vi=ji>le/Pi,ti=Di>ce/Pi;if(!(z||a.gf||a.Be||vi||ti))return!0;at=pt.x-at,le=de.x,Ct=pt.right+Ct,ce=de.right+te,Lt=pt.y-Lt;var Fr=de.y;pt=pt.bottom+Dt,de=de.bottom+re;var Ar="1px";if(Dt="1px",a.scrollMode===he&&(vi||ti)&&(vi&&a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(vi=1,at+1ce+1&&(vi=Math.max((Ct-ce)*Pi+a.Aa,vi)),Kt+te+1de+1&&(vi=Math.max((pt-de)*Pi+a.ya,vi)),vn+re+1ce+1&&(te=Math.max((Ct-ce)*Pi+a.Aa,te)),Kt+1de+1&&(re=Math.max((pt-de)*Pi+te,re)),vn+1ce+1&&(y=a.position.x*Pi)),a.tn)switch(a.bu){case"negative":y=-(Fe.scrollWidth-y-Fe.clientWidth);break;case"reverse":y=Fe.scrollWidth-y-Fe.clientWidth}return Fe.scrollLeft=y,a.hasVerticalScrollbar&&a.allowVerticalScroll&&(vn+1de+1&&(Fe.scrollTop=a.position.y*Pi)),le=a.Aa,ce=a.ya,Fe.style.width=le+(a.gf?a.Db:0)+"px",Fe.style.height=ce+(a.Be?a.Db:0)+"px",x!==le||b!==ce||a.animationManager.zb?(x=jn.allocAt(E,ve,Pe,Le),a.onViewportBoundsChanged(x,a.viewportBounds,Pi,z),jn.free(x),!1):!0}Ue=pn.prototype,Ue.add=function(a){var y=a.diagram;if(y!==this&&(y!==null&&bt("Cannot add part "+a.toString()+" to "+this.toString()+". It is already a part of "+y.toString()),y=this.Qj(a.layerName),y===null&&(y=this.Qj("")),y===null&&bt('Cannot add a Part when unable find a Layer named "'+a.layerName+'" and there is no default Layer'),a.layer!==y)){var x=y.oi(99999999,a,a.diagram===this);0<=x&&this.cb(Ka,"parts",y,null,a,null,x),y.isTemporary||this.Ya(),a.C(1),x=a.layerChanged,x!==null&&x(a,null,y)}},Ue.oi=function(a){this.partManager.oi(a);var y=this;Yg(a,function(x){fh(y,x)}),(a instanceof zo||a instanceof Ur&&a.placeholder!==null)&&a.v(),a.data!==null&&Yg(a,function(x){yy(y.partManager,x)}),Il(a)!==!0&&gg(a)!==!0||this.De.add(a),_S(a,!0,this),HS(a)?(a.actualBounds.w()&&this.N(Qg(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Qg(a,a.actualBounds)),this.$b()},Ue.pc=function(a){a.Ej(),this.partManager.pc(a);var y=this;a.data!==null&&Yg(a,function(x){Sy(y.partManager,x,y)}),this.De.remove(a),HS(a)?(a.actualBounds.w()&&this.N(Qg(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Qg(a,a.actualBounds)),this.$b()},Ue.remove=function(a){hh(this,a,!0)};function hh(a,y,x){var b=y.layer;b!==null&&b.diagram===a&&(y.isSelected=!1,y.isHighlighted=!1,y.C(2),x&&y.Lj(),x=b.pc(-1,y,!1),0<=x&&a.cb(ms,"parts",b,y,null,x,null),a=y.layerChanged,a!==null&&a(y,b,null))}Ue.Is=function(a,y){if(y===void 0&&(y=!1),yn(a))for(var x=a.length,b=0;bb&&this.Ya(),this},Ue.Cy=function(a,y){jg(this,a,y),a.Xe(this);var x=this.Wa,b=x.indexOf(a);0<=b&&(x.remove(a),this.cc!==null&&this.cb(ms,"layers",this,a,null,b,null));var E=x.count,z;for(z=0;zb&&this.Ya(),this},Ue.kA=function(a){if(a.diagram!==this&&bt("Cannot remove a Layer from another Diagram: "+a+" of "+a.diagram),a.name!==""){var y=this.Wa,x=y.indexOf(a);if(y.remove(a)){for(y=a.Pa.copy().iterator;y.next();){var b=y.value,E=b.layerName;E!==a.name?b.layerName=E:b.layerName=""}this.cc!==null&&this.cb(ms,"layers",this,a,null,x,null),this.N(),this.Ya()}}},Ue.Qj=function(a){for(var y=this.layers;y.next();){var x=y.value;if(x.name===a)return x}return null},Ue.Yw=function(a){return this.pf===null&&(this.pf=new Gt),this.pf.add(a),this.model.Pe(a),this},Ue.mA=function(a){this.pf!==null&&(this.pf.remove(a),this.pf.count===0&&(this.pf=null)),this.model.ik(a)},Ue.Pe=function(a){return this.zg===null&&(this.zg=new Gt),this.zg.add(a),this},Ue.ik=function(a){this.zg!==null&&(this.zg.remove(a),this.zg.count===0&&(this.zg=null))},Ue.ds=function(a){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(a),a.change!==Bl&&(this.isModified=!0),this.zg!==null)for(var y=this.zg,x=y.length,b=0;bve.Pa.indexOf(Le)&&ve.oi(Pe,Le,Fe):(Le.isSelected=!1,Le.isHighlighted=!1,Le.Wb(),ve.pc(Fe?Pe:-1,Le,Fe)))}else ve instanceof pn?typeof Pe=="number"&&Le instanceof _a&&(y?(Le.Xe(this),this.Wa.Gb(Pe,Le)):this.Wa.mb(Pe)):bt("unknown ChangedEvent.Remove object: "+a.toString());this.isModified=!0}else b!==Bl&&bt("unknown ChangedEvent: "+a.toString())}finally{this.skipsModelSourceBindings=x}}},pn.prototype.Ea=function(a){return this.undoManager.Ea(a)},pn.prototype.eb=function(a){return this.undoManager.eb(a)},pn.prototype.Kf=function(){return this.undoManager.Kf()},pn.prototype.commit=function(a,y){y===void 0&&(y="");var x=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var b=!1;try{a(this),b=!0}finally{b?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=x}},pn.prototype.updateAllTargetBindings=function(a){this.partManager.updateAllTargetBindings(a)},pn.prototype.rp=function(){this.partManager.rp()};function hf(a,y,x){var b=a.animationManager;if(a.vb||a.ld)a.Ca=x,sd(a),a.N(),a.Ee=!0,b.zb&&(Ml(b)||b.ce.add(b.H,"scale",y,a.Ca));else if(a.ta===null)a.Ca=x,sd(a);else{a.vb=!0;var E=a.viewportBounds.copy(),z=a.Aa,te=a.ya,re=a.zoomPoint.x,le=a.zoomPoint.y,ce=a.contentAlignment;isNaN(re)&&(ce.$c()?ce.Hf(Ws)?re=0:ce.Hf(Zs)&&(re=z-1):re=ce.sb()?ce.x*(z-1):z/2),isNaN(le)&&(ce.$c()?ce.Hf(Zu)?le=0:ce.Hf(Al)&&(le=te-1):le=ce.sb()?ce.y*(te-1):te/2),a.scaleComputation===null||a.animationManager.defaultAnimation.isAnimating||(x=a.scaleComputation(a,x)),xa.maxScale&&(x=a.maxScale),z=lt.allocAt(a.pa.x+re/y-re/x,a.pa.y+le/y-le/x),a.position=z,lt.free(z),a.Ca=x,sd(a),a.vb=!1,a.onViewportBoundsChanged(E,a.viewportBounds,y,!1),ku(a,!1),b.zb&&(Ml(b)||b.ce.add(b.H,"scale",y,a.Ca))}}pn.prototype.onViewportBoundsChanged=function(a,y,x,b){if(!a.D(y)){b===void 0&&(b=!1),b||(this.Ee=!0),this.vd=!0;var E=this.layout;E===null||!E.isViewportSized||this.autoScale!==Xl||a.width===y.width&&a.height===y.height||E.C(),E=this.currentTool,this.Vk===!0&&E instanceof pa&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),ah(E,this)),this.vb||this.invalidateViewport(a,y),ad(this),this.fc.scale=x,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.canvasSize.width=Math.round(a.width*x),this.fc.canvasSize.height=Math.round(a.height*x),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=b,this.R("ViewportBoundsChanged",this.fc,a),this.isVirtualized&&this.links.each(function(z){z.isAvoiding&&z.actualBounds.Yc(y)&&z.bb()})}};function ad(a,y){var x=a.fe;if(x!==null&&x.visible){for(var b=fi.alloc(),E=1,z=1,te=x.O.s,re=te.length,le=0;lede||(Av(ce.figure)?z=z*de/Wt.vx(z,de):E=E*de/Wt.vx(E,de))}if(te=x.gridCellSize,b.h(z*te.width,E*te.height),y!==void 0)E=y.width,z=y.height,a=y.x,te=y.y;else{if(y=jn.alloc(),a=a.viewportBounds,y.h(a.x,a.y,a.width,a.height),!y.w()){jn.free(y);return}E=y.width,z=y.height,a=y.x,te=y.y,jn.free(y)}x.width=E+2*b.width,x.height=z+2*b.height,y=lt.alloc(),Wt.No(a,te,0,0,b.width,b.height,y),y.offset(-b.width,-b.height),fi.free(b),x.part.location=y,lt.free(y)}}pn.prototype.clearSelection=function(a){a===void 0&&(a=!1);var y=this.selection;if(y.count!==0){a||this.R("ChangingSelection",y);for(var x=y.Fa(),b=x.length,E=0;E=b&&!z.defaultAnimation.isAnimating&&!z.zb&&(y||_l(z,"Layout")),a.xh=!1;for(var te=a.ai.iterator;te.next();)_g(a,te.value,y,b);E.isValidLayout||(!y||E.isRealtime||E.isRealtime===null||b===0?(E.doLayout(a),El(a),E.isValidLayout=!0):a.xh=!0)}finally{y=a.undoManager.isInternalTransaction,b===0&&(a.eb("Layout"),a.undoManager.isInternalTransaction=!1),!y||b!==0&&b!==1||sl(z),a.aa=x}}}function _g(a,y,x,b){if(y!==null){for(var E=y.gl.iterator;E.next();)_g(a,E.value,x,b);E=y.layout,E===null||E.isValidLayout||(!x||E.isRealtime||b===0?(y.rh=!y.location.w(),E.doLayout(y),y.C(32),$a(a,y),E.isValidLayout=!0):a.xh=!0)}}Ue.yz=function(){for(var a=new Gt,y=this.nodes;y.next();){var x=y.value;x.isTopLevel&&x.kh()===null&&a.add(x)}return a.iterator};function Lp(a){function y(E){var z=E.toLowerCase(),te=new Gt;x.add(E,te),x.add(z,te),b.add(E,E),b.add(z,E)}var x=new Ii,b=new Ii;y("InitialAnimationStarting"),y("AnimationStarting"),y("AnimationFinished"),y("BackgroundSingleClicked"),y("BackgroundDoubleClicked"),y("BackgroundContextClicked"),y("ClipboardChanged"),y("ClipboardPasted"),y("DocumentBoundsChanged"),y("ExternalObjectsDropped"),y("GainedFocus"),y("InitialLayoutCompleted"),y("LayoutCompleted"),y("LinkDrawn"),y("LinkRelinked"),y("LinkReshaped"),y("LostFocus"),y("Modified"),y("ObjectSingleClicked"),y("ObjectDoubleClicked"),y("ObjectContextClicked"),y("PartCreated"),y("PartResized"),y("PartRotated"),y("SelectionMoved"),y("SelectionCopied"),y("SelectionDeleting"),y("SelectionDeleted"),y("SelectionGrouped"),y("SelectionUngrouped"),y("ChangingSelection"),y("ChangedSelection"),y("SubGraphCollapsed"),y("SubGraphExpanded"),y("TextEdited"),y("TreeCollapsed"),y("TreeExpanded"),y("ViewportBoundsChanged"),y("InvalidateDraw"),a.iw=x,a.hw=b}function zf(a,y){var x=a.hw.I(y);return x!==null?x:a.hw.I(y.toLowerCase())}function ff(a,y){var x=a.iw.I(y);if(x!==null||(x=a.iw.I(y.toLowerCase()),x!==null))return x;bt("Unknown DiagramEvent name: "+y)}Ue.Bj=function(a,y){return a=ff(this,a),a!==null&&a.add(y),this},Ue.am=function(a,y){a=ff(this,a),a!==null&&a.remove(y)},Ue.R=function(a,y,x){var b=ff(this,a),E=new _c;if(E.diagram=this,a=zf(this,a),a!==null&&(E.name=a),y!==void 0&&(E.subject=y),x!==void 0&&(E.parameter=x),y=b.length,y===1)b.M(0)(E);else if(y!==0)for(b=b.Fa(),x=0;x=x.top&&0>=x.left&&0>=x.right&&0>=x.bottom)return y;var b=this.viewportBounds,E=this.scale;b=jn.allocAt(0,0,b.width*E,b.height*E);var z=lt.allocAt(0,0);if(a.x>=b.x&&a.xb.x+b.width-x.right&&this.allowHorizontalScroll&&(te=Math.max(this.scrollHorizontalLineChange,1),te|=0,z.x+=te,a.x>b.x+b.width-x.right/2&&(z.x+=te),a.x>b.x+b.width-x.right/4&&(z.x+=4*te));return a.y>=b.y&&a.yb.y+b.height-x.bottom&&this.allowVerticalScroll&&(te=Math.max(this.scrollVerticalLineChange,1),te|=0,z.y+=te,a.y>b.y+b.height-x.bottom/2&&(z.y+=te),a.y>b.y+b.height-x.bottom/4&&(z.y+=4*te)),z.Xa(Rr)||(y=new lt(y.x+z.x/E,y.y+z.y/E)),jn.free(b),lt.free(z),y},Ue=pn.prototype,Ue.Cs=function(){return null},Ue.av=function(){return null},Ue.bs=function(a,y){this.pj.add(a,y)},Ue.Fu=function(a){(this.Pw=a)||this.nodes.each(function(y){y instanceof Ur&&(y.$p=null)})};function lg(a,y,x){function b(){var de=+new Date;for(z=!0,te.reset();te.next();)if(!te.value[0].al){z=!1;break}z||de-ce>le?y(x,E,re):yt.requestAnimationFrame(b)}for(var E=x.callback,z=!0,te=a.Og.iterator;te.next();)if(!te.value[0].al){z=!1;break}if(typeof E!="function"||z)return y(x,E,a);var re=a,le=x.callbackTimeout||300,ce=+new Date;return yt.requestAnimationFrame(function(){b()}),null}Ue.Wz=function(a){return ss?(a===void 0&&(a={}),a.returnType="Image",this.Jx(a)):null},Ue.Jx=function(a){return a===void 0&&(a={}),lg(this,this.Xz,a)},Ue.Xz=function(a,y,x){var b=Uf(x,a,"canvas",null);if(b===null)return null;x=b.Z.canvas;var E=null;if(x!==null)switch(E=a.returnType,E===void 0?E="string":E=E.toLowerCase(),E){case Jt+"data":E=b.getImageData(0,0,x.width,x.height);break;case Jt:b=(a.document||document).createElement("img"),b.src=x.toDataURL(a.type,a.details),E=b;break;case"blob":return typeof y!="function"&&bt('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof x.toBlob=="function"?(x.toBlob(y,a.type,a.details),"toBlob"):(y(null),null);default:E=x.toDataURL(a.type,a.details)}return typeof y=="function"?(y(E),null):E};function Uf(a,y,x,b){if(a.animationManager.Cc(),a.bd(),a.ta===null)return null;typeof y!="object"&&bt("properties argument must be an Object.");var E=y.size||null,z=y.scale||null;y.scale!==void 0&&isNaN(y.scale)&&(z="NaN");var te=y.maxSize;y.maxSize===void 0&&(te=x==="SVG"?new fi(1/0,1/0):new fi(2e3,2e3));var re=y.position||null,le=y.parts||null,ce=y.padding===void 0?1:y.padding,de=y.background||null,ve=y.omitTemporary;ve===void 0&&(ve=!0);var Pe=y.document||document,Le=y.elementFinished||null,Fe=y.showTemporary;Fe===void 0&&(Fe=!ve),y=y.showGrid,y===void 0&&(y=Fe),E!==null&&isNaN(E.width)&&isNaN(E.height)&&(E=null),typeof ce=="number"?ce=new $i(ce):ce instanceof $i||bt("MakeImage padding must be a Margin or a number."),ce.left=Math.max(ce.left,0),ce.right=Math.max(ce.right,0),ce.top=Math.max(ce.top,0),ce.bottom=Math.max(ce.bottom,0),a.ib.Vc(!0),ve=new Oa(null,Pe,void 0,!0);var Ze=ve.context;if(!(E||z||le||re))return ve.width=a.Aa+Math.ceil(ce.left+ce.right),ve.height=a.ya+Math.ceil(ce.top+ce.bottom),x==="SVG"?b===null?null:(b.resize(ve.width,ve.height,ve.width,ve.height),b.ownerDocument=Pe,b.hs=Le,Rs(a,b.context,ce,new fi(ve.width,ve.height),a.Ca,a.pa,le,de,Fe,y),b.context):(a.Xm=!1,Rs(a,Ze,ce,new fi(ve.width,ve.height),a.Ca,a.pa,le,de,Fe,y),a.Xm=!0,ve.context);var pt=a.Pp,at=a.documentBounds.copy();if(at.Fv(a.yb),Fe)for(var Ct=a.Wa.s,Lt=Ct.length,Dt=0;Dtpt?(z=pt,E=at.width,at=at.height):(E=te.width,at=te.height)):(E=at.width*z,at=at.height*z):(z=pt,E=at.width,at=at.height),ce!==null?(E+=re,at+=Lt):ce=new $i(0),te!==null&&(pt=te.width,te=te.height,isNaN(pt)&&(pt=2e3),isNaN(te)&&(te=2e3),isFinite(pt)&&(E=Math.min(E,pt)),isFinite(te)&&(at=Math.min(at,te))),ve.width=Math.ceil(E),ve.height=Math.ceil(at),x==="SVG"?b===null?null:(b.resize(ve.width,ve.height,ve.width,ve.height),b.ownerDocument=Pe,b.hs=Le,Rs(a,b.context,ce,new fi(Math.ceil(E),Math.ceil(at)),z,Ct,le,de,Fe,y),b.context):(a.Xm=!1,Rs(a,Ze,ce,new fi(Math.ceil(E),Math.ceil(at)),z,Ct,le,de,Fe,y),a.Xm=!0,ve.context)}Nt.Object.defineProperties(pn.prototype,{renderer:{get:function(){return this.nl},set:function(a){this instanceof ye||(a===""&&(a="default"),a=a.toLowerCase(),a!==this.nl&&(this.nl=a,a==="default"||a==="canvas"?(a=this.pj.get("svg"),a!==null&&a.Oa.remove(),this.ta&&(this.ib=this.ta.context)):a==="svg"?(this.pj.contains("svg")?a=this.pj.get("svg"):(a=new Wc(this,yt.document),this.bs("svg",a)),this.div!==null&&this.div.appendChild(a.Oa),this.ib=a.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):a!=="debug"||this.pj.contains("SVG")||(a=new Wc(this,yt.document),this.bs("SVG",a),a.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(a.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(a){if(this.Ka!==a){var y=this.Ka;y!==null?(y.H=void 0,y.goDiagram=void 0,y.go=void 0,y.innerHTML="",this.ta!==null&&(y=this.ta.Oa,this.removeEventListener(y,"pointermove",this.dk,!1),this.removeEventListener(y,"pointerdown",this.ui,!1),this.removeEventListener(y,"pointerup",this.fk,!1),this.removeEventListener(y,"pointerout",this.ek,!1),this.removeEventListener(y,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),y=this.toolManager,y!==null&&(y.mouseDownTools.each(function(x){x.cancelWaitAfter()}),y.mouseMoveTools.each(function(x){x.cancelWaitAfter()}),y.mouseUpTools.each(function(x){x.cancelWaitAfter()})),y.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(yt,"resize",this.Ov,!1),this.removeEventListener(yt,"wheel",this.$j,!0),Lc===this&&(Lc=null)):this.ui===null&&(this.hf=!1),this.Ka=null,a!==null&&((y=a.H)&&(y.div=null),Lh(this,a),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(a){this.nt!==a&&(this.nt=a,a!==null&&(this.Vt=a.fromPort,this.Wt=a.toPort))}},Mx:{get:function(){return this.Vt},set:function(a){this.Vt=a}},Nx:{get:function(){return this.Wt},set:function(a){this.Wt=a}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a,this.cc.skipsUndoManager=a}},delaysLayout:{get:function(){return this.lt},set:function(a){this.lt=a}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1a&&Ln(a,">= 0",pn,"scrollHorizontalLineChange"),this.iu=a,this.g("scrollHorizontalLineChange",y,a))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(a){var y=this.mu;y!==a&&(0>a&&Ln(a,">= 0",pn,"scrollVerticalLineChange"),this.mu=a,this.g("scrollVerticalLineChange",y,a))}},lastInput:{get:function(){return this.cj},set:function(a){this.cj=a}},previousInput:{get:function(){return this.Qg},set:function(a){this.Qg=a}},firstInput:{get:function(){return this.bq},set:function(a){this.bq=a}},currentCursor:{get:function(){return this.it},set:function(a){if(a===""&&(a=this.Op),this.it!==a){var y=this.ta,x=this.Ka;if(y!==null&&x!==null){this.it=a;var b=y.style.cursor;y.style.cursor=a,x.style.cursor=a,y.style.cursor===b&&(y.style.cursor="-webkit-"+a,x.style.cursor="-webkit-"+a,y.style.cursor===b&&(y.style.cursor="-moz-"+a,x.style.cursor="-moz-"+a,y.style.cursor===b&&(y.style.cursor=a,x.style.cursor=a)))}}}},defaultCursor:{get:function(){return this.Op},set:function(a){a===""&&(a="auto");var y=this.Op;y!==a&&(this.Op=a,this.g("defaultCursor",y,a))}},click:{get:function(){return this.zh},set:function(a){var y=this.zh;y!==a&&(this.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.Fh},set:function(a){var y=this.Fh;y!==a&&(this.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.Bh},set:function(a){var y=this.Bh;y!==a&&(this.Bh=a,this.g("contextClick",y,a))}},mouseOver:{get:function(){return this.Qh},set:function(a){var y=this.Qh;y!==a&&(this.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.Oh},set:function(a){var y=this.Oh;y!==a&&(this.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.Nh},set:function(a){var y=this.Nh;y!==a&&(this.Nh=a,this.g("mouseHold",y,a))}},mouseDragOver:{get:function(){return this.Qt},set:function(a){var y=this.Qt;y!==a&&(this.Qt=a,this.g("mouseDragOver",y,a))}},mouseDrop:{get:function(){return this.Lh},set:function(a){var y=this.Lh;y!==a&&(this.Lh=a,this.g("mouseDrop",y,a))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(a){var y=this.xt;y!==a&&(this.xt=a,this.g("handlesDragDropForTopLevelParts",y,a))}},mouseEnter:{get:function(){return this.Mh},set:function(a){var y=this.Mh;y!==a&&(this.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.Ph},set:function(a){var y=this.Ph;y!==a&&(this.Ph=a,this.g("mouseLeave",y,a))}},toolTip:{get:function(){return this.$h},set:function(a){var y=this.$h;y!==a&&(this.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.Ch},set:function(a){var y=this.Ch;y!==a&&(this.Ch=a,this.g("contextMenu",y,a))}},commandHandler:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a,a.Xe(this))}},toolManager:{get:function(){return this.te},set:function(a){this.te!==a&&(this.te=a,a.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(a){var y=this.ob;y!==a&&(this.ob=a,a.diagram=this,this.currentTool===y&&(this.currentTool=a))}},currentTool:{get:function(){return this.hb},set:function(a){var y=this.hb;y&&(y.isActive&&y.doDeactivate(),y.cancelWaitAfter(),y.doStop()),a===null&&(a=this.defaultTool),a!==null&&(this.hb=a,a.diagram=this,a.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(a){var y=this.Nt;if(y!==a)if(0<=a&&!isNaN(a)){if(this.Nt=a,this.g("maxSelectionCount",y,a),!this.undoManager.isUndoingRedoing&&(a=this.selection.count-a,0= 0",pn,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(a){var y=this.St;y!==a&&(this.St=a,this.g("nodeSelectionAdornmentTemplate",y,a))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(a){var y=this.wt;y!==a&&(this.wt=a,this.g("groupSelectionAdornmentTemplate",y,a))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(a){var y=this.Kt;y!==a&&(this.Kt=a,this.g("linkSelectionAdornmentTemplate",y,a))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var a=this.undoManager;return a.isEnabled?a.currentTransaction!==null?!0:this.rn&&this.Ce!==a.historyIndex:this.rn},set:function(a){if(this.rn!==a){this.rn=a;var y=this.undoManager;!a&&y.isEnabled&&(this.Ce=y.historyIndex),a||zg(this)}}},model:{get:function(){return this.cc},set:function(a){var y=this.cc;if(y!==a){this.currentTool.doCancel(),y&&y.undoManager!==a.undoManager&&y.undoManager.isInTransaction&&bt("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var x=Gd(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var b=this.vb;this.vb=!0,_l(this.animationManager,"Model"),y&&(this.pf!==null&&this.pf.each(function(z){return y.ik(z)}),y.ik(this.Oc)),this.cc=a,this.partManager=ag(this.cc.type);for(var E=0;Ethis.scale&&(this.scale=a)):Ln(a,"> 0",pn,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(a){var y=this.Mt;y!==a&&(0 0",pn,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(a){this.zu.D(a)||(this.zu=a=a.J())}},contentAlignment:{get:function(){return this.zk},set:function(a){var y=this.zk;y.D(a)||(this.zk=a=a.J(),this.g("contentAlignment",y,a),ku(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(a){var y=this.pq;y.D(a)||(this.pq=a=a.J(),this.g("initialContentAlignment",y,a))}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.Ya(),this.g("padding",y,a))}},partManager:{get:function(){return this.Pc},set:function(a){var y=this.Pc;y!==a&&(a.diagram!==null&&bt("Cannot share PartManagers between Diagrams: "+a.toString()),y&&y.Xe(null),this.Pc=a,a.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;y!==a&&(this.Sc=a,a.diagram=this,a.group=null,this.xh=!0,this.g("layout",y,a),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(a){var y=this.Ht;if(y!==a&&(this.Ht=a,this.g("isTreePathToChildren",y,a),!this.undoManager.isUndoingRedoing))for(a=this.nodes;a.next();)Hp(a.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(a){var y=this.uu;y!==a&&(a!==Re&&a!==He&&a!==dt&&bt("Unknown Diagram.treeCollapsePolicy: "+a),this.uu=a,this.g("treeCollapsePolicy",y,a))}},Ue:{get:function(){return this.pw},set:function(a){this.pw=a}},avoidanceCellSize:{get:function(){return this.aw},set:function(a){this.Xh=null,this.aw=new fi(Math.max(1,a.width),Math.max(1,a.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(a){this.bw=Math.max(1,a)}},autoScrollInterval:{get:function(){return this.vp},set:function(a){var y=this.vp;y!==a&&(this.vp=a,this.g("autoScrollInterval",y,a))}},autoScrollRegion:{get:function(){return this.xp},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.xp;y.D(a)||(this.xp=a=a.J(),this.Ya(),this.g("autoScrollRegion",y,a))}}}),Nt.Object.defineProperties(pn,{licenseKey:{get:function(){return vt.jc()},set:function(a){vt.add(a.replace(/\s/g,""))}},version:{get:function(){return At}}}),pn.prototype.makeImageData=pn.prototype.Jx,pn.prototype.makeImage=pn.prototype.Wz,pn.prototype.cacheGroupExternalLinks=pn.prototype.Fu,pn.prototype.addRenderer=pn.prototype.bs,pn.prototype.makeSVG=pn.prototype.av,pn.prototype.makeSvg=pn.prototype.Cs,pn.prototype.stopAutoScroll=pn.prototype.ug,pn.prototype.doAutoScroll=pn.prototype.gs,pn.prototype.isUnoccupied=pn.prototype.Yj,pn.prototype.raiseDiagramEvent=pn.prototype.R,pn.prototype.removeDiagramListener=pn.prototype.am,pn.prototype.addDiagramListener=pn.prototype.Bj,pn.prototype.findTreeRoots=pn.prototype.yz,pn.prototype.layoutDiagram=pn.prototype.Uz,pn.prototype.findTopLevelGroups=pn.prototype.qz,pn.prototype.findTopLevelNodesAndLinks=pn.prototype.rz,pn.prototype.ensureBounds=pn.prototype.Va,pn.prototype.findLinksByExample=pn.prototype.ls,pn.prototype.findNodesByExample=pn.prototype.ms,pn.prototype.findLinkForData=pn.prototype.Kc,pn.prototype.findNodeForData=pn.prototype.ii,pn.prototype.findPartForData=pn.prototype.Lc,pn.prototype.findLinkForKey=pn.prototype.findLinkForKey,pn.prototype.findNodeForKey=pn.prototype.Vb,pn.prototype.findPartForKey=pn.prototype.findPartForKey,pn.prototype.rebuildParts=pn.prototype.Wd,pn.prototype.transformViewToDoc=pn.prototype.Ps,pn.prototype.transformRectDocToView=pn.prototype.zA,pn.prototype.transformDocToView=pn.prototype.op,pn.prototype.centerRect=pn.prototype.es,pn.prototype.scrollToRect=pn.prototype.tv,pn.prototype.scroll=pn.prototype.scroll,pn.prototype.highlightCollection=pn.prototype.Jz,pn.prototype.highlight=pn.prototype.Iz,pn.prototype.selectCollection=pn.prototype.rA,pn.prototype.select=pn.prototype.select,pn.prototype.updateAllRelationshipsFromData=pn.prototype.rp,pn.prototype.updateAllTargetBindings=pn.prototype.updateAllTargetBindings,pn.prototype.commit=pn.prototype.commit,pn.prototype.rollbackTransaction=pn.prototype.Kf,pn.prototype.commitTransaction=pn.prototype.eb,pn.prototype.startTransaction=pn.prototype.Ea,pn.prototype.raiseChanged=pn.prototype.g,pn.prototype.raiseChangedEvent=pn.prototype.cb,pn.prototype.removeChangedListener=pn.prototype.ik,pn.prototype.addChangedListener=pn.prototype.Pe,pn.prototype.removeModelChangedListener=pn.prototype.mA,pn.prototype.addModelChangedListener=pn.prototype.Yw,pn.prototype.findLayer=pn.prototype.Qj,pn.prototype.removeLayer=pn.prototype.kA,pn.prototype.addLayerAfter=pn.prototype.Cy,pn.prototype.addLayerBefore=pn.prototype.Ww,pn.prototype.addLayer=pn.prototype.Al,pn.prototype.moveParts=pn.prototype.moveParts,pn.prototype.copyParts=pn.prototype.Kj,pn.prototype.removeParts=pn.prototype.Is,pn.prototype.remove=pn.prototype.remove,pn.prototype.add=pn.prototype.add,pn.prototype.clearDelayedGeometries=pn.prototype.bx,pn.prototype.setProperties=pn.prototype.nm,pn.prototype.attach=pn.prototype.Du,pn.prototype.set=pn.prototype.set,pn.prototype.resetInputOptions=pn.prototype.Sx,pn.prototype.setInputOption=pn.prototype.sA,pn.prototype.getInputOption=pn.prototype.Ql,pn.prototype.resetRenderingHints=pn.prototype.Tx,pn.prototype.setRenderingHint=pn.prototype.Xx,pn.prototype.getRenderingHint=pn.prototype.Gf,pn.prototype.maybeUpdate=pn.prototype.bd,pn.prototype.requestUpdate=pn.prototype.$b,pn.prototype.delayInitialization=pn.prototype.Xy,pn.prototype.isUpdateRequested=pn.prototype.Pz,pn.prototype.invalidateDocumentBounds=pn.prototype.Ya,pn.prototype.findObjectsNear=pn.prototype.og,pn.prototype.findPartsNear=pn.prototype.mz,pn.prototype.findObjectsIn=pn.prototype.Cf,pn.prototype.findPartsIn=pn.prototype.ux,pn.prototype.findObjectsAt=pn.prototype.ji,pn.prototype.findPartsAt=pn.prototype.lz,pn.prototype.findObjectAt=pn.prototype.ic,pn.prototype.findPartAt=pn.prototype.Ol,pn.prototype.focusObject=pn.prototype.zz,pn.prototype.alignDocument=pn.prototype.Jy,pn.prototype.zoomToRect=pn.prototype.BA,pn.prototype.zoomToFit=pn.prototype.zoomToFit,pn.prototype.diagramScroll=pn.prototype.kx,pn.prototype.focus=pn.prototype.focus;var Wg=new Ii,_f=null,ss=yt.document!==void 0,Bh=null,Kd="",Xl=new tn(pn,"None",0),Ru=new tn(pn,"Uniform",1),mh=new tn(pn,"UniformToFill",2),ug=new tn(pn,"CycleAll",10),Zg=new tn(pn,"CycleNotDirected",11),cg=new tn(pn,"CycleNotDirectedFast",12),dg=new tn(pn,"CycleNotUndirected",13),mf=new tn(pn,"CycleDestinationTree",14),vf=new tn(pn,"CycleSourceTree",15),he=new tn(pn,"DocumentScroll",1),Me=new tn(pn,"InfiniteScroll",2),Re=new tn(pn,"TreeParentCollapsed",21),He=new tn(pn,"AllParentsCollapsed",22),dt=new tn(pn,"AnyParentsCollapsed",23),vt=new Gt,At="2.3.10",Jt="image",Tn=null,$n=!1;function Cn(){if(ss){var a=yt.document.createElement("canvas"),y=a.getContext("2d"),x=gi("7ca11abfd022028846");y[x]=gi("398c3597c01238");for(var b=["5da73c80a36455d7038e4972187c3cae51fd22",In.Dx+"4ae6247590da4bb21c324ba3a84e385776",fr.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",Wt.za],E=1;5>E;E++)y[gi("7ca11abfd7330390")](gi(b[E-1]),10,15*E);for(y[x]=gi("39f046ebb36e4b"),x=1;5>x;x++)y[gi("7ca11abfd7330390")](gi(b[x-1]),10,15*x);(b.length!==4||b[0][0]!=="5"||b[3][0]!=="7")&&(fr.prototype.Cd=fr.prototype.Eu),Tn=a}}pn.className="Diagram",pn.fromDiv=function(a){var y=a;return typeof a=="string"&&(y=yt.document.getElementById(a)),y instanceof HTMLDivElement&&y.H instanceof pn?y.H:null},pn.inherit=function(a,y){function x(){}if(Object.getPrototypeOf(a).prototype)throw Error(`Used go.Diagram.inherit defining already defined class -`+a);x.prototype=y.prototype,a.prototype=new x,a.prototype.constructor=a},pn.useDOM=function(a){ss=a?yt.document!==void 0:!1},pn.isUsingDOM=function(){return ss},pn.None=Xl,pn.Uniform=Ru,pn.UniformToFill=mh,pn.CycleAll=ug,pn.CycleNotDirected=Zg,pn.CycleNotDirectedFast=cg,pn.CycleNotUndirected=dg,pn.CycleDestinationTree=mf,pn.CycleSourceTree=vf,pn.DocumentScroll=he,pn.InfiniteScroll=Me,pn.TreeParentCollapsed=Re,pn.AllParentsCollapsed=He,pn.AnyParentsCollapsed=dt;function ci(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function si(a,y){if(y.ib.setTransform(y.Mb,0,0,y.Mb,0,0),y.ib.yc(),a.Rc===null)e:{y="f";var x=yt[gi("76a715b2f73f148a")][gi("72ba13b5")]||"";if(a.Rc=!0,ss){var b=pn[gi("76a115b6ed251eaf4692")];if(b)for(var E=vt.iterator;E.next()&&(b=E.value,b=gi(b).split(gi("39e9")),!(6>b.length));){var z=gi(b[1]).split(".");if(b[4]!=="7da71ca0")break;var te=gi(In[gi("6cae19")]).split(".");if(z[0]>te[0]||z[0]===te[0]&&z[1]>=te[1]){var re=yt[gi("74a900bae4370f8b51")][gi("6fbb13a1c2311e8a57")].toLowerCase();if(te=re[gi("73a612b6fb191d")](gi("3aad1ab6e022098b4dc4")),z=gi(b[2]),-1te&&z!==gi("7da71ca0ad381e90")&&(te=y[gi("73a612b6fb191d")](gi("76a715b2ef3e149757"))),0>te&&(te=y[gi("73a612b6fb191d")](gi("76a715b2ef3e149757"))),0>te&&(te=y[gi("73a612b6fb191d")](gi("2bfa41fdb3784bca12"))),0>te&&(te=x[gi("73a612b6fb191d")](gi("7baa19a6f76c1988428554"))),a.Rc=!(0<=te&&tere),!a.Rc)))break;if(z[0]==="#"){te=yt.document.createElement("div");for(var le=b[0].replace(/[A-Za-z]/g,"");4>le.length;)le+="9";if(re=le,le=le.substr(le.length-4),b="",b+=["gsh","gsf"][parseInt(le.substr(0,1),10)%2],b+=["Header","Background","Display","Feedback"][parseInt(le.substr(0,1),10)%4],te[gi("79a417a0f0181a8946")]=b,yt.document[gi("78a712aa")]){yt.document[gi("78a712aa")][gi("7bb806b6ed32388c4a875b")](te),le=yt.getComputedStyle(te).getPropertyValue(gi("78a704b7e62456904c9b12701b6532a8"));var ce=yt.getComputedStyle(te).getPropertyValue(gi("75b817b0ea2202"));if(yt.document[gi("78a712aa")][gi("68ad1bbcf533388c4a875b")](te),le){if(te=yt[gi("77a902b0eb1b1e804a8a")],ce==="0."+parseInt(re,10)%100||le.indexOf(parseInt(z[1]+z[2],16))!==-1&&le.indexOf(parseInt(z[3]+z[4],16))!==-1){a.Rc=!1;break}else if(te&&te(gi("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(b="."+b,z=0;zb.updateDelay?b.N():b.o||(b.o=!0,setTimeout(function(){return b.redraw()},b.updateDelay))},x.Of=function(){b.observed!==null&&Xe(b)},x.autoScale=Ru,x.vb=!1,y&&Object.assign(x,y),x}qt(ye,pn),ye.prototype.computePixelRatio=function(){return 1},ye.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var a=this.ta,y=this.ib;if(a!==null&&y!==null){if(yu(this),this.ql===null){var x=new Oa(null);x.width=a.width,x.height=a.height,this.ql=x}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),Be(this)}finally{this.ta=a,this.ib=y}}}pn.prototype.redraw.call(this)},ye.prototype.gc=function(){if(this.Ka===null&&bt("No div specified"),this.ta===null&&bt("No canvas specified"),!(this.ta instanceof Wc)&&(Vv(this.box),this.Fc)){var a=this.observed;if(a!==null&&!a.animationManager.defaultAnimation.isAnimating&&a.pi){yu(this);var y=this.ta;a=this.ib,a.Vc(!0),a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,y.width,y.height),1>this.updateDelay?Be(this):this.ql!==null&&(a.drawImage(this.ql.Oa,0,0),y=this.Ab,y.reset(),this.scale!==1&&y.scale(this.scale),this.position.x===0&&this.position.y===0||y.translate(-this.position.x,-this.position.y),a.scale(this.Mb,this.Mb),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.yc()),y=this.Wa.s;for(var x=y.length,b=0;ba&&(a=0),this.ia!==a&&(this.ia=a)}}}),ye.className="Overview";function qe(){da.call(this),this.j=null}qt(qe,da),qe.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||!a.allowMove||!a.allowSelect)return!1;var y=a.observed;if(y===null)return!1;var x=a.lastInput;return!x.left||a.currentTool!==this&&(!this.isBeyondDragSize()||x.isTouchEvent&&x.timestamp-a.firstInput.timestampy.maxScale||(y.scale=a))},ot.prototype.canDecreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;return y.autoScale!==Xl?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},ot.prototype.increaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;y.autoScale===Xl&&(a=y.scale*a,ay.maxScale||(y.scale=a))},ot.prototype.canIncreaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;return y.autoScale!==Xl?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},ot.prototype.resetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;ay.maxScale||(y.scale=a)},ot.prototype.canResetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;return ay.maxScale?!1:y.allowZoom},ot.prototype.zoomToFit=function(){var a=this.diagram,y=a.animationManager;y.Cc(),a.redraw();var x=a.position,b=a.scale;_l(y,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&b===this.Au&&!isNaN(this.Jt)&&a.documentBounds.D(this.yu)?(a.scale=this.Jt,a.position=this.sw,this.Au=NaN,this.yu=so):(this.Jt=b,this.sw=x.copy(),a.zoomToFit(),this.Au=a.scale,this.yu=a.documentBounds.copy()),sl(y)},ot.prototype.canZoomToFit=function(){return this.diagram.allowZoom},ot.prototype.scrollToPart=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.Va(),a===null){try{this.cg!==null&&(this.cg.next()?a=this.cg.value:this.cg=null)}catch(le){this.cg=null}a===null&&(0a&&(a+=360)),a},Ue.Df=function(){if(!(this.l&4096))return this.Kk;var a=this.Ca;return this.panel!==null?a*this.panel.Df():a},Ue.qs=function(a,y){return y===void 0&&(y=new lt),y.assign(a),this.oe.Cd(y),y},Ue.rs=function(a,y,x){return this.Sj(a.x,a.y,y.x,y.y,x)},Ue.Sj=function(a,y,x,b,E){var z=this.transform,te=1/(z.m11*z.m22-z.m12*z.m21),re=z.m22*te,le=-z.m12*te,ce=-z.m21*te,de=z.m11*te,ve=te*(z.m21*z.dy-z.m22*z.dx),Pe=te*(z.m12*z.dx-z.m11*z.dy);return this.areaBackground!==null?(z=this.actualBounds,Wt.Ff(z.left,z.top,z.right,z.bottom,a,y,x,b,E)):(te=a*re+y*ce+ve,a=a*le+y*de+Pe,y=x*re+b*ce+ve,x=x*le+b*de+Pe,E.h(0,0),b=this.naturalBounds,x=Wt.Ff(0,0,b.width,b.height,te,a,y,x,E),E.transform(z),x)},Rt.prototype.measure=function(a,y,x,b){if(xu(this)!==!1){var E=this.Kg,z=E.right+E.left;E=E.top+E.bottom,a=Math.max(a-z,0),y=Math.max(y-E,0),x=Math.max((x||0)-z,0),b=Math.max((b||0)-E,0),z=this.angle,E=this.desiredSize;var te=this.kq();z===90||z===270?(a=isFinite(E.height)?E.height+te:a,y=isFinite(E.width)?E.width+te:y):(a=isFinite(E.width)?E.width+te:a,y=isFinite(E.height)?E.height+te:y),E=x||0,te=b||0;var re=this instanceof hi;switch(Ps(this,!0)){case _n:te=E=0,re&&(y=a=1/0);break;case Qn:isFinite(a)&&a>x&&(E=a),isFinite(y)&&y>b&&(te=y);break;case Ci:isFinite(a)&&a>x&&(E=a),te=0,re&&(y=1/0);break;case ki:isFinite(y)&&y>b&&(te=y),E=0,re&&(a=1/0)}re=this.maxSize;var le=this.minSize;E>re.width&&le.widthre.height&&le.heighta.height||this.Cb>a.width))&&(x=!0)),this.l=x?this.l|256:this.l&-257,this.Ib.w()||bt("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(z,this.Ib),sr(this,!1),jn.free(z)},Ue=Rt.prototype,Ue.eh=function(){};function ls(a,y,x,b,E){if(a.Ib.h(y,x,b,E),!a.desiredSize.w()){var z=a.uc;x=a.Kg,y=x.right+x.left;var te=x.top+x.bottom;switch(x=z.width+y,z=z.height+te,b+=y,E+=te,y=Ps(a,!0),x===b&&z===E&&(y=_n),y){case _n:(x>b||z>E)&&(us(a,!0),a.measure(x>b?b:x,z>E?E:z,0,0));break;case Qn:us(a,!0),a.measure(b,E,0,0);break;case Ci:us(a,!0),a.measure(b,z,0,0);break;case ki:us(a,!0),a.measure(x,E,0,0)}}}Ue.Xl=function(a,y){var x=this.part;x!==null&&x.diagram!==null&&(x.selectionObject!==this&&x.resizeObject!==this&&x.rotateObject!==this||$v(x,!0),this.N(),Oo(a,y)||(x.oh(),this.Pn(x)))},Ue.Pn=function(a){this.portId!==null&&($v(a,!0),a instanceof Li&&KS(a,this))},Ue.gc=function(a,y){if(!ll(this,a,y)&&this.visible){var x=this.opacity;if(x!==0){var b=1;x!==1&&(b=a.globalAlpha,a.globalAlpha=b*x);var E="";this.filter!==""&&(E=a.filter,a.filter=this.filter);var z=this instanceof hi&&zh(this),te=this.Ib;if(z){var re=this.Ib,le=this.dc,ce=this.areaBackground,de=this.Ma;ce===null&&de===null||a.yc(),ce!==null&&(Ca(this,a,ce,!0,!0,le,re),ce instanceof ko&&ce.type===Oc?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(ce)):a.fillRect(re.x,re.y,re.width,re.height)),de!==null&&(Ca(this,a,de,!0,!1,le,re),de instanceof ko&&de.type===Oc?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(de)):a.fillRect(re.x,re.y,re.width,re.height)),this.hh(a,y)}if(!z&&(z||te.width!==0&&te.height!==0&&!isNaN(te.x)&&!isNaN(te.y))){z=this.transform,re=this.panel,this.l&4096&&Ts(this),ce=this.part,le=!1;var ve=0;ce&&y.Gf("drawShadows")&&(le=ce.isShadowed)&&(de=ce.shadowOffset,ve=Math.max(de.y,de.x)*y.scale*y.Mb),de=this.Dd();var Pe;if(!(Pe=y.$i||!de)){var Le=this.naturalBounds;Pe=this.wh;var Fe=Pe.m11,Ze=Pe.m21,pt=Pe.dx,at=Pe.m12,Ct=Pe.m22,Lt=Pe.dy,Dt,Kt=Dt=0;Pe=Dt*Fe+Kt*Ze+pt;var vn=Dt*at+Kt*Ct+Lt;Dt=Le.width+ve,Kt=0;var Pi=Dt*Fe+Kt*Ze+pt;Dt=Dt*at+Kt*Ct+Lt,Kt=Math.min(Pe,Pi);var ji=Math.min(vn,Dt),Di=Math.max(Pe+0,Pi)-Kt,vi=Math.max(vn+0,Dt)-ji;Pe=Kt,vn=ji,Dt=Le.width+ve,Kt=Le.height+ve,Pi=Dt*Fe+Kt*Ze+pt,Dt=Dt*at+Kt*Ct+Lt,Kt=Math.min(Pe,Pi),ji=Math.min(vn,Dt),Di=Math.max(Pe+Di,Pi)-Kt,vi=Math.max(vn+vi,Dt)-ji,Pe=Kt,vn=ji,Dt=0,Kt=Le.height+ve,Pi=Dt*Fe+Kt*Ze+pt,Dt=Dt*at+Kt*Ct+Lt,Kt=Math.min(Pe,Pi),ji=Math.min(vn,Dt),Di=Math.max(Pe+Di,Pi)-Kt,vi=Math.max(vn+vi,Dt)-ji,Pe=Kt,vn=ji,ve=y.viewportBounds,Le=ve.x,Fe=ve.y,Pe=!(Pe>ve.width+Le||Le>Di+Pe||vn>ve.height+Fe||Fe>vi+vn)}if(Pe){if(Pe=(this.l&256)!==0,a.clipInsteadOfFill&&(Pe=!1),this instanceof Pa&&(a.font=this.font),Pe){if(vn=re.se()?re.naturalBounds:re.actualBounds,Di=Math.max(te.x,vn.x),vi=Math.max(te.y,vn.y),ve=Math.min(te.right,vn.right)-Di,Le=Math.min(te.bottom,vn.bottom)-vi,Fe=this.tb,Fe!==null&&(Di=Fe.x,vi=Fe.y,ve=Fe.width,Le=Fe.height),Di>te.width+te.x||te.x>vn.width+vn.x){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}a.save(),a.beginPath(),a.rect(Di,vi,ve,Le),a.clip()}if(de){if(!ce.isVisible()){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}le&&(vn=ce.shadowOffset,a.Ev(vn.x*y.scale*this.scale*y.Mb,vn.y*y.scale*this.scale*y.Mb,ce.shadowBlur),fa(a),a.shadowColor=ce.shadowColor)}le&&this.shadowVisible===!0?fa(a):le&&this.shadowVisible===!1&&wr(a),ce=this.naturalBounds,this.areaBackground!==null&&(a.yc(),pl(this,a,ce,te)),a.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),le&&Xa(this,re)&&this.shadowVisible===null&&wr(a),this.Ma!==null&&(a.yc(),ml(this,a,ce,te)),le&&(this.Ma!==null||this.areaBackground!==null||Xa(this,re))?(Fu(this,!0),this.shadowVisible===null&&wr(a)):Fu(this,!1),this.hh(a,y),le&&this.l&512&&fa(a),de&&le&&wr(a),Pe&&(a.restore(),a.Vc(this instanceof hi)),z.ws()||(y=1/(z.m11*z.m22-z.m12*z.m21),a.transform(z.m22*y,-z.m12*y,-z.m21*y,z.m11*y,y*(z.m21*z.dy-z.m22*z.dx),y*(z.m12*z.dx-z.m11*z.dy)))}}x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E)}}};function Xa(a,y){return y===null?!1:(zh(y)&&(y=y.panel),(y.l&512)!==0||(y.type===hi.Auto||y.type===hi.Spot)&&y.Pb()!==a)}Ue.Dv=function(){};function pl(a,y,x,b){Ca(a,y,a.areaBackground,!0,!0,x,b),a.areaBackground instanceof ko&&a.areaBackground.type===Oc?(y.beginPath(),y.rect(b.x,b.y,b.width,b.height),y.ng(a.areaBackground)):y.fillRect(b.x,b.y,b.width,b.height)}function ml(a,y,x,b){var E=a.kq(),z=x.x,te=x.y,re=x.width+E,le=x.height+E;Ca(a,y,a.Ma,!0,!1,x,b),a.Ma instanceof ko&&a.Ma.type===Oc?(y.beginPath(),y.rect(z-E/2,te-E/2,re,le),y.ng(a.Ma)):y.fillRect(z-E/2,te-E/2,re,le)}function Va(a,y,x){for(var b=y.O.s,E=b.length,z=-1,te=0;teE)&&bt("Must specify non-negative integer row for RowColumnDefinition "+y+", not: "+E),a.isRow=!0,a.index=E):y.column!==void 0&&(E=y.column,(E==null||E===1/0||isNaN(E)||0>E)&&bt("Must specify non-negative integer column for RowColumnDefinition "+y+", not: "+E),a.isRow=!1,a.index=E),E=new Ti;for(x in y)x!=="row"&&x!=="column"&&(E[x]=y[x]);ec(a,E)}else ec(a,y);else bt('Unknown initializer "'+y+'" for object being constructed by GraphObject.make: '+a)}function Dl(a,y){ju.add(a,y)}function tc(a,y,x){x===void 0&&(x=null);var b=a[1];if(typeof x=="function"?x(b):typeof b=="string")return a.splice(1,1),b;if(y===void 0)throw Error("no "+(typeof x=="function"?"satisfactory":"string")+" argument for GraphObject builder "+a[0]);return y}Nt.Object.defineProperties(Rt.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(a){this.bindingId!==a&&(this.A===null&&(this.A=new Tc),this.A.zp=a)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Tc),this.A.te=a)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(a){this.srcBindings!==a&&(this.A===null&&(this.A=new Tc),this.A.wm=a)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(a){var y=this.shadowVisible;y!==a&&(Cr(this),this.A.Ci=a,this.Uc=!0,this.N(),this.g("shadowVisible",y,a))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(a){var y=this.enabledChanged;y!==a&&(Cr(this),this.A.Hb=a,this.g("enabledChanged",y,a))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:Eu},set:function(a){var y=this.segmentOrientation;y!==a&&(this.Ua===null&&(this.Ua=new Ic),this.Ua.rr=a,this.v(),this.g("segmentOrientation",y,a),a===Eu&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(a){a=Math.round(a);var y=this.segmentIndex;y!==a&&(this.Ua===null&&(this.Ua=new Ic),this.Ua.u=a,this.v(),this.g("segmentIndex",y,a))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(a){isNaN(a)||0>a?a=0:1a||1=a&&bt("GraphObject.scale for "+this+" must be greater than zero, not: "+a),this.Ca=a,this.v(),this.g("scale",y,a))}},angle:{get:function(){return this.Kb},set:function(a){var y=this.Kb;y!==a&&(a%=360,0>a&&(a+=360),y!==a&&(this.Kb=a,Ha(this),this.v(),this.g("angle",y,a)))}},desiredSize:{get:function(){return this.jd},set:function(a){var y=a.width,x=a.height,b=this.jd,E=b.width,z=b.height;(E===y||isNaN(E)&&isNaN(y))&&(z===x||isNaN(z)&&isNaN(x))||(this.jd=a=a.J(),this.v(),this instanceof eo&&this.qc(),this.g("desiredSize",b,a),fs(this)&&(a=this.part,a!==null&&($o(this,a,"width"),$o(this,a,"height"))))}},width:{get:function(){return this.jd.width},set:function(a){var y=this.jd.width;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new fi(a,this.jd.height).freeze(),this.v(),this instanceof eo&&this.qc(),this.g("desiredSize",y,a),fs(this)&&(a=this.part,a!==null&&$o(this,a,"width")))}},height:{get:function(){return this.jd.height},set:function(a){var y=this.jd.height;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new fi(this.jd.width,a).freeze(),this.v(),this instanceof eo&&this.qc(),this.g("desiredSize",y,a),fs(this)&&(a=this.part,a!==null&&$o(this,a,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:bo},set:function(a){var y=this.minSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=0),isNaN(a.height)&&(a.height=0),a.freeze(),Cr(this),this.A.u=a,this.v(),this.g("minSize",y,a))}},maxSize:{get:function(){return this.A!==null?this.A.o:ts},set:function(a){var y=this.maxSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=1/0),isNaN(a.height)&&(a.height=1/0),a.freeze(),Cr(this),this.A.o=a,this.v(),this.g("maxSize",y,a))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.Kg;y.D(a)||(this.Kg=a=a.J(),this.v(),this.g("margin",y,a))}},transform:{get:function(){return this.l&2048&&Ts(this),this.Ab}},oe:{get:function(){return this.l&4096&&Ts(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(a){this.animationTriggers!==a&&(Cr(this),this.A.hb=a)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:_n},set:function(a){this.reshapingBehavior!==a&&(Cr(this),this.A.Pf=a)}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(a.Mc()&&!a.Xb()&&bt("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.Jb=a=a.J(),el(this),this.g("alignment",y,a))}},column:{get:function(){return this.Ag},set:function(a){a=Math.round(a);var y=this.Ag;y!==a&&(0>a&&Ln(a,">= 0",Rt,"column"),this.Ag=a,this.v(),this.g("column",y,a),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(a){a=Math.round(a);var y=this.columnSpan;y!==a&&(1>a&&Ln(a,">= 1",Rt,"columnSpan"),Cr(this),this.A.ob=a,this.v(),this.g("columnSpan",y,a))}},row:{get:function(){return this.io},set:function(a){a=Math.round(a);var y=this.io;y!==a&&(0>a&&Ln(a,">= 0",Rt,"row"),this.io=a,this.v(),this.g("row",y,a),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(a){a=Math.round(a);var y=this.rowSpan;y!==a&&(1>a&&Ln(a,">= 1",Rt,"rowSpan"),Cr(this),this.A.Bi=a,this.v(),this.g("rowSpan",y,a))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(a){var y=this.spanAllocation;y!==a&&(Cr(this),this.A.Di=a,this.v(),this.g("spanAllocation",y,a))}},alignmentFocus:{get:function(){return this.sk},set:function(a){var y=this.sk;y.D(a)||(this.sk=a=a.J(),this.v(),this.g("alignmentFocus",y,a))}},portId:{get:function(){return this.Yn},set:function(a){var y=this.Yn;if(y!==a){var x=this.part;x===null||x instanceof Li||bt("Cannot set portID on a Link: "+a),y!==null&&x!==null&&qv(x,this),this.Yn=a,a!==null&&x!==null&&(x.Te=!0,XS(x,this)),this.g("portId",y,a)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:is},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),lo(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Ln(a,">= 0",Rt,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),lo(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.g("toShortLength",y,a),lo(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(a){var y=this.toLinkable;y!==a&&(this.Xc(),this.ba.Tr=a,this.g("toLinkable",y,a))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(a){var y=this.toMaxLinks;y!==a&&(0>a&&Ln(a,">= 0",Rt,"toMaxLinks"),this.Xc(),this.ba.Ur=a,this.g("toMaxLinks",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:is},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),lo(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&Ln(a,">= 0",Rt,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),lo(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.g("fromShortLength",y,a),lo(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(a){var y=this.fromLinkable;y!==a&&(this.Xc(),this.ba.hq=a,this.g("fromLinkable",y,a))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(a){var y=this.fromMaxLinks;y!==a&&(0>a&&Ln(a,">= 0",Rt,"fromMaxLinks"),this.Xc(),this.ba.iq=a,this.g("fromMaxLinks",y,a))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(a){var y=this.cursor;y!==a&&(Cr(this),this.A.j=a,this.g("cursor",y,a))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(a){var y=this.click;y!==a&&(Cr(this),this.A.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(a){var y=this.doubleClick;y!==a&&(Cr(this),this.A.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(a){var y=this.contextClick;y!==a&&(Cr(this),this.A.Bh=a,this.g("contextClick",y,a))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(a){var y=this.mouseEnter;y!==a&&(Cr(this),this.A.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(a){var y=this.mouseLeave;y!==a&&(Cr(this),this.A.Ph=a,this.g("mouseLeave",y,a))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(a){var y=this.mouseOver;y!==a&&(Cr(this),this.A.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(a){var y=this.mouseHover;y!==a&&(Cr(this),this.A.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(a){var y=this.mouseHold;y!==a&&(Cr(this),this.A.Nh=a,this.g("mouseHold",y,a))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(a){var y=this.mouseDragEnter;y!==a&&(Cr(this),this.A.Of=a,this.g("mouseDragEnter",y,a))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(a){var y=this.mouseDragLeave;y!==a&&(Cr(this),this.A.Xd=a,this.g("mouseDragLeave",y,a))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(a){var y=this.mouseDrop;y!==a&&(Cr(this),this.A.Lh=a,this.g("mouseDrop",y,a))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(a){var y=this.actionDown;y!==a&&(Cr(this),this.A.V=a,this.g("actionDown",y,a))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(a){var y=this.actionMove;y!==a&&(Cr(this),this.A.ia=a,this.g("actionMove",y,a))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(a){var y=this.actionUp;y!==a&&(Cr(this),this.A.Ha=a,this.g("actionUp",y,a))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(a){var y=this.actionCancel;y!==a&&(Cr(this),this.A.F=a,this.g("actionCancel",y,a))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(a){var y=this.toolTip;y!==a&&(Cr(this),this.A.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(a){var y=this.contextMenu;y!==a&&(Cr(this),this.A.Ch=a,this.g("contextMenu",y,a))}}}),Rt.prototype.trigger=Rt.prototype.Jv,Rt.prototype.findBindingPanel=Rt.prototype.ih,Rt.prototype.findTemplateBinder=Rt.prototype.pz,Rt.prototype.setProperties=Rt.prototype.nm,Rt.prototype.apply=Rt.prototype.apply,Rt.prototype.attach=Rt.prototype.Du,Rt.prototype.set=Rt.prototype.set,Rt.prototype.isEnabledObject=Rt.prototype.If,Rt.prototype.isVisibleObject=Rt.prototype.Ed,Rt.prototype.isContainedBy=Rt.prototype.rg,Rt.prototype.getNearestIntersectionPoint=Rt.prototype.rs,Rt.prototype.getLocalPoint=Rt.prototype.qs,Rt.prototype.getDocumentScale=Rt.prototype.Df,Rt.prototype.getDocumentAngle=Rt.prototype.li,Rt.prototype.getDocumentBounds=Rt.prototype.mi,Rt.prototype.getDocumentPoint=Rt.prototype.ga,Rt.prototype.intersectsRect=Rt.prototype.Yc,Rt.prototype.containedInRect=Rt.prototype.fh,Rt.prototype.containsRect=Rt.prototype.Re,Rt.prototype.containsPoint=Rt.prototype.ca,Rt.prototype.raiseChanged=Rt.prototype.g,Rt.prototype.raiseChangedEvent=Rt.prototype.cb,Rt.prototype.addCopyProperty=Rt.prototype.Vw;var ju=null;Rt.className="GraphObject",ju=new Ii,Dl("Button",function(){function a(x,b){return x.diagram.ic(x.documentPoint,function(E){for(;E.panel!==null&&!E.isActionable;)E=E.panel;return E},function(E){return E===b})!==null}var y=ga(hi,hi.Auto,{isActionable:!0,enabledChanged:function(x,b){if(x instanceof hi){var E=x.fb("ButtonBorder");E!==null&&(E.fill=b?x._buttonFillNormal:x._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},ga(eo,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new _i(0,0,2.76142374915397,2.761423749153969),spot2:new _i(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return y.mouseEnter=function(x,b){if(b.If()&&b instanceof hi&&(x=b.fb("ButtonBorder"),x instanceof eo)){var E=b._buttonFillOver;b._buttonFillNormal=x.fill,x.fill=E,E=b._buttonStrokeOver,b._buttonStrokeNormal=x.stroke,x.stroke=E}},y.mouseLeave=function(x,b){b.If()&&b instanceof hi&&(x=b.fb("ButtonBorder"),x instanceof eo&&(x.fill=b._buttonFillNormal,x.stroke=b._buttonStrokeNormal))},y.actionDown=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof eo){x=x.diagram;var z=x.skipsUndoManager;x.skipsUndoManager=!0;var te=b._buttonFillPressed;b._buttonFillOver=E.fill,E.fill=te,te=b._buttonStrokePressed,b._buttonStrokeOver=E.stroke,E.stroke=te,x.skipsUndoManager=z}}},y.actionUp=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof eo){var z=x.diagram,te=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=te}}},y.actionCancel=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null){var E=b.fb("ButtonBorder");if(E instanceof eo){var z=x.diagram,te=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=te}}},y.actionMove=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null){var E=x.diagram;if(E.firstInput.button===0&&(E.currentTool.standardMouseOver(),a(x,b)&&(x=b.fb("ButtonBorder"),x instanceof eo))){var z=E.skipsUndoManager;E.skipsUndoManager=!0;var te=b._buttonFillPressed;x.fill!==te&&(x.fill=te),te=b._buttonStrokePressed,x.stroke!==te&&(x.stroke=te),E.skipsUndoManager=z}}},y}),Dl("TreeExpanderButton",function(){var a=ga("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},ga(eo,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:oa},new Us("figure","isTreeExpanded",function(y,x){return x=x.panel,y?x._treeExpandedFigure:x._treeCollapsedFigure}).cp()),{visible:!1},new Us("visible","isTreeLeaf",function(y){return!y}).cp());return a.click=function(y,x){if(x=x.part,x instanceof zo&&(x=x.adornedPart),x instanceof Li){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isTreeExpanded){if(!b.canCollapseTree(x))return}else if(!b.canExpandTree(x))return;y.handled=!0,x.isTreeExpanded?b.collapseTree(x):b.expandTree(x)}}},a}),Dl("SubGraphExpanderButton",function(){var a=ga("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},ga(eo,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:oa},new Us("figure","isSubGraphExpanded",function(y,x){return x=x.panel,y?x._subGraphExpandedFigure:x._subGraphCollapsedFigure}).cp()));return a.click=function(y,x){if(x=x.part,x instanceof zo&&(x=x.adornedPart),x instanceof Ur){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isSubGraphExpanded){if(!b.canCollapseSubGraph(x))return}else if(!b.canExpandSubGraph(x))return;y.handled=!0,x.isSubGraphExpanded?b.collapseSubGraph(x):b.expandSubGraph(x)}}},a}),Dl("ToolTip",function(){return ga(zo,hi.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new lt(0,3),shadowBlur:5},ga(eo,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new _i(0,0,4,6),spot2:new _i(1,1,-4,-4)}))}),Dl("ContextMenu",function(){return ga(zo,hi.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new lt(0,3),shadowBlur:5},new Us("background","",function(a){return a.adornedPart!==null&&a.placeholder!==null?null:"#F5F5F5"}))}),Dl("ContextMenuButton",function(){var a=ga("Button");a.stretch=Ci;var y=a.fb("ButtonBorder");return y instanceof eo&&(y.figure="Rectangle",y.strokeWidth=0,y.spot1=new _i(0,0,2,3),y.spot2=new _i(1,1,-2,-2)),a}),Dl("PanelExpanderButton",function(a){var y=tc(a,"COLLAPSIBLE"),x=ga("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},ga(eo,{name:"ButtonIcon",strokeWidth:2},new Us("geometryString","visible",function(b){return b?x._buttonExpandedFigure:x._buttonCollapsedFigure}).cp(y)));return a=x.fb("ButtonBorder"),a instanceof eo&&(a.stroke=null,a.fill="rgba(0, 0, 0, 0)"),x.click=function(b,E){var z=E.diagram;if(z!==null&&!z.isReadOnly){var te=E.ih();te===null&&(te=E.part),te!==null&&(E=te.fb(y),E!==null&&(b.handled=!0,z.Ea("Collapse/Expand Panel"),E.visible=!E.visible,z.eb("Collapse/Expand Panel")))}},x}),Dl("CheckBoxButton",function(a){var y=tc(a);return a=ga("Button",{desiredSize:new fi(14,14)},ga(eo,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:Qn,geometryStretch:pi,visible:!1},y!==""?new Us("visible",y).Kx():[])),a.click=function(x,b){if(b instanceof hi){var E=x.diagram;if(!(E===null||E.isReadOnly||y!==""&&E.model.isReadOnly)){x.handled=!0;var z=b.fb("ButtonIcon");E.Ea("checkbox"),z.visible=!z.visible,typeof b._doClick=="function"&&b._doClick(x,b),E.eb("checkbox")}}},a}),Dl("CheckBox",function(a){a=tc(a),a=ga("CheckBoxButton",a,{name:"Button",isActionable:!1,margin:new $i(0,1,0,0)});var y=ga(hi,"Horizontal",a,{isActionable:!0,cursor:a.cursor,margin:new $i(1),_buttonFillNormal:a._buttonFillNormal,_buttonStrokeNormal:a._buttonStrokeNormal,_buttonFillOver:a._buttonFillOver,_buttonStrokeOver:a._buttonStrokeOver,_buttonFillPressed:a._buttonFillPressed,_buttonStrokePressed:a._buttonStrokePressed,_buttonFillDisabled:a._buttonFillDisabled,mouseEnter:a.mouseEnter,mouseLeave:a.mouseLeave,actionDown:a.actionDown,actionUp:a.actionUp,actionCancel:a.actionCancel,actionMove:a.actionMove,click:a.click,_buttonClick:a.click});return a.mouseEnter=null,a.mouseLeave=null,a.actionDown=null,a.actionUp=null,a.actionCancel=null,a.actionMove=null,a.click=null,y}),Rt.None=_n=new tn(Rt,"None",0),Rt.Default=ar=new tn(Rt,"Default",0),Rt.Vertical=ki=new tn(Rt,"Vertical",4),Rt.Horizontal=Ci=new tn(Rt,"Horizontal",5),Rt.Fill=Qn=new tn(Rt,"Fill",3),Rt.Uniform=pi=new tn(Rt,"Uniform",1),Rt.UniformToFill=Nr=new tn(Rt,"UniformToFill",2),Rt.FlipVertical=Er=new tn(Rt,"FlipVertical",1),Rt.FlipHorizontal=$r=new tn(Rt,"FlipHorizontal",2),Rt.FlipBoth=Hn=new tn(Rt,"FlipBoth",3),Rt.make=ga,Rt.getBuilders=function(){var a=new Ii,y;for(y in ju)if(y!==y.toLowerCase()){var x=ju.I(y);typeof x=="function"&&a.add(y,x)}return a.freeze(),a},Rt.defineBuilder=Dl,Rt.build=function(a,y,x){for(var b=[],E=2;Ea&&(a+=360),a!==0){if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.ha[1]*a+this.ha[3]*b,z=this.ha[0]*-b+this.ha[2]*a,te=this.ha[1]*-b+this.ha[3]*a;this.ha[0]=this.ha[0]*a+this.ha[2]*b,this.ha[1]=E,this.ha[2]=z,this.ha[3]=te,this.translate(-y,-x)}},kc.className="STransform";function nc(a){this.type=a,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}nc.prototype.addColorStop=function(a,y){this.gx.push({offset:a,color:y})},nc.className="SGradient";function Wc(a,y,x){this.ownerDocument=a=y===void 0?yt.document:y,this.cA="http://www.w3.org/2000/svg",a!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new Uu(this,x)}Wc.prototype.resize=function(a,y,x,b){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=x+"px",this.style.height=b+"px",this.Oa.setAttributeNS(null,"width",x+"px"),this.Oa.setAttributeNS(null,"height",b+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+x+" "+b),this.context.ww.firstElementChild.setAttributeNS(null,"width",x+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",b+"px"),!0):!1},Wc.prototype.Ud=function(a,y,x){if(a=this.ownerDocument.createElementNS(this.cA,a),_t(y))for(var b in y)a.setAttributeNS(b==="href"?"http://www.w3.org/1999/xlink":"",b,y[b]);return x!==void 0&&(a.textContent=x),a},Wc.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},Wc.prototype.focus=function(){this.Oa.focus()},Wc.prototype.mx=function(){this.ownerDocument=null},Nt.Object.defineProperties(Wc.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(a){this.Oa.setAttribute("width",a+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(a){this.Oa.setAttribute("height",a+"px")}},style:{get:function(){return this.Oa.style}}}),Wc.className="SVGSurface";function Uu(a,y){this.Gv=a,this.svg=a.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new kc,this.j=Hf(this),this.Nj=Hf(this,"gojs-diagram"),this.Hl=this.ti=null;var x=po++,b=this.Ud("clipPath",{id:"mainClip"+x});b.appendChild(this.Ud("rect",{x:0,y:0,width:a.width,height:a.height})),this.ww=b,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(b),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+x+")"),this.eA={},this.isTemporary=!!y,this.filter="",this.bk=null}function Gf(a,y,x,b,E,z,te){a.Nj===void 0?yf(a,y,x,b,E,z,te):a.Nj.setAttribute("transform","matrix("+y+", "+x+", "+b+", "+E+", "+z+", "+te+")")}Ue=Uu.prototype,Ue.arc=function(a,y,x,b,E,z,te,re){var le=2*Math.PI,ce=le-1e-6,de=x*Math.cos(b),ve=x*Math.sin(b),Pe=a+de,Le=y+ve,Fe=z?0:1;b=z?b-E:E-b,(1e-6b&&(b=b%le+le),b>ce?(this.path.push(["A",x,x,0,1,Fe,a-de,y-ve]),this.path.push(["A",x,x,0,1,Fe,Pe,Le])):1e-6=Math.PI),Fe,a+x*Math.cos(E),y+x*Math.sin(E)])},Ue.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},Ue.Se=function(a){this.addPath(this.path,this.rb,a||0)},Ue.bezierCurveTo=function(a,y,x,b,E,z){this.path.push(["C",a,y,x,b,E,z])},Ue.clearRect=function(){},Ue.clip=function(){this.Yl.clipPath=!0},Ue.closePath=function(){this.path.push(["z"])},Ue.createLinearGradient=function(a,y,x,b){var E=new nc("linear");return E.x1=a,E.y1=y,E.x2=x,E.y2=b,E},Ue.createPattern=function(a){var y="";a instanceof HTMLCanvasElement&&(y=a.toDataURL()),a instanceof HTMLImageElement&&(y=a.getAttribute("src"));var x=this.eA;if(x[y])return"url(#"+x[y]+")";var b="PATTERN"+po++,E={x:0,y:0,width:a.width,height:a.height,href:y};return a=this.Ud("pattern",{width:a.width,height:a.height,id:b,patternUnits:"userSpaceOnUse"}),a.appendChild(this.Ud(Jt,E)),this.svg.appendChild(a),x[y]=b,"url(#"+b+")"},Ue.createRadialGradient=function(a,y,x,b,E,z){var te=new nc("radial");return te.x1=a,te.y1=y,te.r1=x,te.x2=b,te.y2=E,te.r2=z,te};function Lm(a,y,x,b,E,z,te,re,le){b=re/b,E=le/E,z===0&&te===0||a.rb.translate(z,te),b===1&&E===1||a.rb.scale(b,E),y===0&&x===0||a.rb.translate(-y,-x)}Ue.drawImage=function(a,y,x,b,E,z,te,re,le){var ce="";a instanceof HTMLCanvasElement&&(ce=a.toDataURL()),a instanceof HTMLImageElement&&(ce=a.getAttribute("src"));var de=a instanceof HTMLImageElement?a.naturalWidth:a.width;a=a instanceof HTMLImageElement?a.naturalHeight:a.height,b===void 0&&(z=y,te=x,re=b=de,le=E=a),b=b||0,E=E||0,re=re||0,le=le||0,Lm(this,y,x,b,E,z||0,te||0,re,le),z={x:0,y:0,width:de||b,height:a||E,href:ce},Wt.$(b,re)&&Wt.$(E,le)?ce.toLowerCase().indexOf(".svg")===-1&&ce.toLowerCase().indexOf("data:image/svg")===-1&&(z.preserveAspectRatio="xMidYMid slice"):z.preserveAspectRatio="none",(y!==0||x!==0||b!==de||E!==a)&&(b+=y,E+=x,z["clip-path"]="path('M "+y+","+x+" L "+b+" "+x+" L "+b+" "+E+" L "+y+" "+E+" z')"),Kg(this,Jt,z,this.rb),this.addElement(Jt,z)},Ue.fill=function(a){a&&(this.Yl["fill-rule"]="evenodd"),Tp(this,this.Yl)},Ue.ng=function(a,y){this.clipInsteadOfFill?this.clip():this.fill(y)},Ue.fillRect=function(a,y,x,b){a=[a,y,x,b],a={x:a[0],y:a[1],width:a[2],height:a[3]},Kg(this,"fill",a,this.rb),this.addElement("rect",a)},Ue.ox=function(a,y,x,b){a={x:a,y,width:x,height:b},Kg(this,"fill",a,this.rb),Tp(this,a),this.svg.prepend(this.Ud("rect",a))},Ue.fillText=function(a,y,x){a=[a,y,x],y=this.textAlign,y==="left"?y="start":y==="right"?y="end":y==="center"&&(y="middle"),y={x:a[1],y:a[2],style:"font: "+this.font,"text-anchor":y},Kg(this,"fill",y,this.rb),this.addElement("text",y,a[0])},Ue.lineTo=function(a,y){this.path.push(["L",a,y])},Ue.moveTo=function(a,y){this.path.push(["M",a,y])},Ue.quadraticCurveTo=function(a,y,x,b){this.path.push(["Q",a,y,x,b])},Ue.rect=function(a,y,x,b){this.path.push(["M",a,y],["L",a+x,y],["L",a+x,y+b],["L",a,y+b],["z"])},Ue.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var a=this.stack.pop();this.fillStyle=a.fillStyle,this.font=a.font,this.globalAlpha=a.globalAlpha,this.lineCap=a.lineCap,this.lineDashOffset=a.lineDashOffset,this.lineJoin=a.lineJoin,this.lineWidth=a.lineWidth,this.miterLimit=a.miterLimit,this.shadowBlur=a.shadowBlur,this.shadowColor=a.shadowColor,this.shadowOffsetX=a.shadowOffsetX,this.shadowOffsetY=a.shadowOffsetY,this.strokeStyle=a.strokeStyle,this.textAlign=a.textAlign,this.bk=a.bk},Ue.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var a=[],y=0;yde.offset?1:-1}),E=0;Ex?(this.scale(x/a,1),this.translate((a-x)/2,0)):x>a&&(this.scale(1,a/x),this.translate(0,(x-a)/2)),this.Hm?this.clip():this.fill(y),a>x?(this.translate(-(a-x)/2,0),this.scale(1/(x/a),1)):x>a&&(this.translate(0,-(x-a)/2),this.scale(1,1/(a/x)))}else this.Hm?this.clip():this.fill(y)},Ue.jk=function(){this.Hm||this.stroke()},Ue.Ev=function(a,y,x){this.Ar=a,this.Br=y,this.Vg=x},Ue.js=function(a,y){var x=this.Z;x.setLineDash!==void 0&&(x.setLineDash(a),x.lineDashOffset=y)},Ue.fs=function(){var a=this.Z;a.setLineDash!==void 0&&(a.setLineDash(Zc),a.lineDashOffset=0)},Ue.Vc=function(a){a&&(this.dt=""),this.ct=this.et=""},Ue.Hs=function(){},Nt.Object.defineProperties(Hl.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(a){this.ct!==a&&(this.ct=this.Z.fillStyle=a)}},font:{get:function(){return this.Z.font},set:function(a){this.dt!==a&&(this.dt=this.Z.font=a)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(a){this.Z.globalAlpha=a}},lineCap:{get:function(){return this.Z.lineCap},set:function(a){this.Z.lineCap=a}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(a){this.Z.lineDashOffset=a}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(a){this.Z.lineJoin=a}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(a){this.Z.lineWidth=a}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(a){this.Z.miterLimit=a}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(a){this.Z.shadowBlur=a}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(a){this.Z.shadowColor=a}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(a){this.Z.shadowOffsetX=a}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(a){this.Z.shadowOffsetY=a}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(a){this.et!==a&&(this.et=this.Z.strokeStyle=a)}},textAlign:{get:function(){return this.Z.textAlign},set:function(a){this.Z.textAlign=a}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(a){this.Z.imageSmoothingEnabled=a}},filter:{get:function(){return this.Z.filter},set:function(a){this.Z.filter=a===""?"none":a}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(a){this.Hm=a}}});var Zc=Object.freeze([]);Hl.className="CanvasSurfaceContext";function Dc(){this.F=this.o=this.u=this.j=0}Dc.className="ColorNumbers";function ko(a,y){Yf||(bv(),Yf=!0),kr(this),this._isFrozen=!1,a===void 0?(this.na=jh,this.xk="black"):typeof a=="string"?(this.na=jh,this.xk=a):(this.na=a,this.xk="black"),a=this.na,a===yh?(this.Qd=tu,this.Lk=$l):this.Lk=a===Oc?this.Qd=wo:this.Qd=is,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,y&&Object.assign(this,y)}ko.prototype.copy=function(){var a=new ko;return a.na=this.na,a.xk=this.xk,a.Qd=this.Qd.J(),a.Lk=this.Lk.J(),a.Gr=this.Gr,a.Xp=this.Xp,this.we!==null&&(a.we=this.we.copy()),a.cr=this.cr,a},Ue=ko.prototype,Ue.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},Ue.qb=function(a){a.classType===ko&&(this.type=a)},Ue.toString=function(){var a="Brush(";if(this.type===jh)a+=this.color;else if(a=this.type===yh?a+"Linear ":this.type===Oc?a+"Radial ":this.type===$f?a+"Pattern ":a+"(unknown) ",a+=this.start+" "+this.end,this.colorStops!==null)for(var y=this.colorStops.iterator;y.next();)a+=" "+y.key+":"+y.value;return a+")"},Ue.addColorStop=function(a,y){return this._isFrozen&&Ut(this),(typeof a!="number"||!isFinite(a)||1a)&&Ln(a,"0 <= loc <= 1",ko,"addColorStop:loc"),this.we===null&&(this.we=new Ii),this.we.add(a,y),this.na===jh&&(this.type=yh),this.xe=null,this},Ue.Vz=function(a,y){if(this._isFrozen&&Ut(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?Xf:y,this.type===jh)vh(this.color),this.color=Vf(a,y);else if((this.type===yh||this.type===Oc)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)vh(x.value),this.addColorStop(x.key,Vf(a,y));return this};function hg(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?Xf:x,vh(a),Vf(y,x)}Ue.Wy=function(a,y){if(this._isFrozen&&Ut(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?Xf:y,this.type===jh)vh(this.color),this.color=Vf(-a,y);else if((this.type===yh||this.type===Oc)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)vh(x.value),this.addColorStop(x.key,Vf(-a,y));return this};function Op(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?Xf:x,vh(a),Vf(-y,x)}function Wf(a,y,x){vh(a),a=Ta.j;var b=Ta.u,E=Ta.o,z=Ta.F;return vh(y),x===void 0&&(x=.5),"rgba("+Math.round((Ta.j-a)*x+a)+", "+Math.round((Ta.u-b)*x+b)+", "+Math.round((Ta.o-E)*x+E)+", "+Math.round((Ta.F-z)*x+z)+")"}Ue.Gx=function(){if(this.type===jh)return Zf(this.color);if((this.type===yh||this.type===Oc)&&this.colorStops!==null){var a=this.colorStops;if(this.type===Oc)return Zf(a.first().value);if(a.get(.5)!==null)return Zf(a.get(.5));if(a.count===2)return a=a.Fa(),Zf(Wf(a[0].value,a[1].value));for(var y=a.iterator,x=-1,b=-1,E=1,z=1;y.next();){var te=y.key,re=Math.abs(.5-y.key);E>z&&re=E&&reb&&(z=x,x=b,b=z,z=E),E=b-x,Zf(Wf(a.get(x),a.get(b),1-z/E))}return!1};function Zf(a){return a?a instanceof ko?a.Gx():(vh(a),128>(299*Ta.j+587*Ta.u+114*Ta.o)/1e3):!1}function Vf(a,y){switch(y){case Xf:y=100*yv(Ta.j);var x=100*yv(Ta.u),b=100*yv(Ta.o);return bu.j=.4124564*y+.3575761*x+.1804375*b,bu.u=.2126729*y+.7151522*x+.072175*b,bu.o=.0193339*y+.119192*x+.9503041*b,bu.F=Ta.F,y=xv(bu.j/Kf[0]),x=xv(bu.u/Kf[1]),b=xv(bu.o/Kf[2]),Yd.j=116*x-16,Yd.u=500*(y-x),Yd.o=200*(x-b),Yd.F=bu.F,Yd.j=Math.min(100,Math.max(0,Yd.j+100*a)),a=(Yd.j+16)/116,y=a-Yd.o/200,bu.j=Kf[0]*oS(Yd.u/500+a),bu.u=Kf[1]*(Yd.j>Tm*wv?Math.pow(a,3):Yd.j/Tm),bu.o=Kf[2]*oS(y),bu.F=Yd.F,a=-.969266*bu.j+1.8760108*bu.u+.041556*bu.o,y=.0556434*bu.j+-.2040259*bu.u+1.0572252*bu.o,Ta.j=255*Sv((3.2404542*bu.j+-1.5371385*bu.u+-.4985314*bu.o)/100),Ta.u=255*Sv(a/100),Ta.o=255*Sv(y/100),Ta.F=bu.F,Ta.j=Math.round(Ta.j),255Ta.j&&(Ta.j=0),Ta.u=Math.round(Ta.u),255Ta.u&&(Ta.u=0),Ta.o=Math.round(Ta.o),255Ta.o&&(Ta.o=0),"rgba("+Ta.j+", "+Ta.u+", "+Ta.o+", "+Ta.F+")";case aS:return vv(),bc.o=Math.min(100,Math.max(0,bc.o+100*a)),"hsla("+bc.j+", "+bc.u+"%, "+bc.o+"%, "+bc.F+")";default:bt("Unknown color space: "+y)}}function vh(a){Yf||(bv(),Yf=!0);var y=Ev;if(y!==null){y.clearRect(0,0,1,1),y.fillStyle="#000000";var x=y.fillStyle;y.fillStyle=a,y.fillStyle!==x?(y.fillRect(0,0,1,1),a=y.getImageData(0,0,1,1).data,Ta.j=a[0],Ta.u=a[1],Ta.o=a[2],Ta.F=a[3]/255):(y.fillStyle="#FFFFFF",y.fillStyle=a,Ta.j=0,Ta.u=0,Ta.o=0,Ta.F=1)}}function vv(){var a=Ta.j/255,y=Ta.u/255,x=Ta.o/255,b=Math.max(a,y,x),E=Math.min(a,y,x),z=b-E;if(E=(b+E)/2,z===0)var te=a=0;else{switch(b){case a:te=(y-x)/z%6;break;case y:te=(x-a)/z+2;break;case x:te=(a-y)/z+4}te*=60,0>te&&(te+=360),a=z/(1-Math.abs(2*E-1))}bc.j=Math.round(te),bc.u=Math.round(100*a),bc.o=Math.round(100*E),bc.F=Ta.F}function yv(a){return a/=255,.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)}function Sv(a){return .0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}function xv(a){return a>wv?Math.pow(a,1/3):(Tm*a+16)/116}function oS(a){var y=a*a*a;return y>wv?y:(116*a-16)/Tm}function Sf(a,y){typeof a!="string"&&(a instanceof ko||bt("Value for "+y+" must be a color string or a Brush, not "+a))}function bv(){Ev=ss?new Oa(null,void 0,{willReadFrequently:!0}).context:null}Nt.Object.defineProperties(ko.prototype,{type:{get:function(){return this.na},set:function(a){this._isFrozen&&Ut(this,a),this.na=a,this.start.Mc()&&(a===yh?this.start=tu:a===Oc&&(this.start=wo)),this.end.Mc()&&(a===yh?this.end=$l:a===Oc&&(this.end=wo)),this.xe=null}},color:{get:function(){return this.xk},set:function(a){this._isFrozen&&Ut(this,a),this.xk=a,this.xe=null}},start:{get:function(){return this.Qd},set:function(a){this._isFrozen&&Ut(this,a),this.Qd=a.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(a){this._isFrozen&&Ut(this,a),this.Lk=a.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(a){this._isFrozen&&Ut(this,a),0>a&&Ln(a,">= zero",ko,"startRadius"),this.Gr=a,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(a){this._isFrozen&&Ut(this,a),0>a&&Ln(a,">= zero",ko,"endRadius"),this.Xp=a,this.xe=null}},colorStops:{get:function(){return this.we},set:function(a){this._isFrozen&&Ut(this,a),this.we=a,this.xe=null}},pattern:{get:function(){return this.cr},set:function(a){this._isFrozen&&Ut(this,a),this.cr=a,this.xe=null}}}),ko.prototype.isDark=ko.prototype.Gx,ko.prototype.darkenBy=ko.prototype.Wy,ko.prototype.lightenBy=ko.prototype.Vz,ko.prototype.addColorStop=ko.prototype.addColorStop;var wv=216/24389,Tm=24389/27,Kf=[95.047,100,108.883],Ev=null,Ta=new Dc,bc=new Dc,bu=new Dc,Yd=new Dc,Yf=!1;ko.className="Brush";var jh;ko.Solid=jh=new tn(ko,"Solid",0);var yh;ko.Linear=yh=new tn(ko,"Linear",1);var Oc;ko.Radial=Oc=new tn(ko,"Radial",2);var $f;ko.Pattern=$f=new tn(ko,"Pattern",4);var Xf;ko.Lab=Xf=new tn(ko,"Lab",5);var aS;ko.HSL=aS=new tn(ko,"HSL",6),ko.randomColor=function(a,y){a===void 0&&(a=128),y===void 0&&(y=Math.max(a,255));var x=Math.abs(y-a);y=Math.floor(a+Math.random()*x).toString(16);var b=Math.floor(a+Math.random()*x).toString(16);return a=Math.floor(a+Math.random()*x).toString(16),2>y.length&&(y="0"+y),2>b.length&&(b="0"+b),2>a.length&&(a="0"+a),"#"+y+b+a},ko.isValidColor=function(a){if(a==="black")return!0;if(a==="")return!1;Yf||(bv(),Yf=!0);var y=Ev;if(y===null)return!0;y.fillStyle="#000000";var x=y.fillStyle;return y.fillStyle=a,y.fillStyle!==x?!0:(y.fillStyle="#FFFFFF",x=y.fillStyle,y.fillStyle=a,y.fillStyle!==x)},ko.lighten=function(a){return hg(a)},ko.lightenBy=hg,ko.darken=function(a){return Op(a)},ko.darkenBy=Op,ko.mix=Wf,ko.isDark=Zf;function nl(){this.xa="Base"}nl.prototype.measure=function(){},nl.prototype.Yz=function(a,y,x,b,E){a.measure(y,x,b,E)},nl.prototype.arrange=function(){},nl.prototype.Ly=function(a,y,x,b,E,z){a.arrange(y,x,b,E,z)},nl.prototype.iA=function(a){a.Uj()},nl.prototype.gc=function(){},Nt.Object.defineProperties(nl.prototype,{name:{get:function(){return this.xa},set:function(a){this.xa=a}},classType:{get:function(){return hi}}}),nl.prototype.remeasureObject=nl.prototype.iA,nl.prototype.arrangeElement=nl.prototype.Ly,nl.prototype.measureElement=nl.prototype.Yz,nl.className="PanelLayout";function Im(){this.xa="Base"}qt(Im,nl),Im.prototype.measure=function(a,y,x,b,E,z,te){var re=b.length;a=Sh(a);for(var le=0;leji&&(yl=Math.max(ji-Ng,0));var ov=ti.oa===0;ti.oc=ti.oc+yl,ti.actual=ti.oa+yl,ji=Math.max(ji-(yl+(ov?Ng:0)),0)}if(rc.columnSpan===1&&(cu===_n||cu===ki)){ti=a.Eb(uu);var wm=ti.Wc();yl=Math.max(nf-ti.actual,0),yl+wm>Pi&&(yl=Math.max(Pi-wm,0));var Qy=ti.oa===0;ti.oc=ti.oc+yl,ti.actual=ti.oa+yl,Pi=Math.max(Pi-(yl+(Qy?wm:0)),0)}Ag&&rc.Uj()}}}}}kn(Ct);var ih=0,wh=0;z=a.columnCount;for(var kf=0;kf=a.rowCount);qh++)ti=a.Fb(As.row+qh),yl=0,yl=cu===Qn||cu===ki?Math.max(ti.minimum,Md[As.row+qh]===0?ti.maximum:Math.min(Md[As.row+qh],ti.maximum)):Math.max(ti.minimum,isNaN(ti.Hc)?ti.maximum:Math.min(ti.Hc,ti.maximum)),Ph.height+=yl,yc+=ti.minimum;for(var Qc=1;Qc=a.columnCount);Qc++)ti=a.Eb(As.column+Qc),yl=0,yl=cu===Qn||cu===Ci?Math.max(ti.minimum,zc[As.column+Qc]===0?ti.maximum:Math.min(zc[As.column+Qc],ti.maximum)):Math.max(ti.minimum,isNaN(ti.Hc)?ti.maximum:Math.min(ti.Hc,ti.maximum)),Ph.width+=yl,uv+=ti.minimum;Rl.width+=Ph.width,Rl.height+=Ph.height;var Ap=As.margin,kg=Ap.right+Ap.left,Cm=Ap.top+Ap.bottom;As.measure(Rl.width,Rl.height,uv,yc);for(var Np=As.measuredBounds,zd=Math.max(Np.width+kg,0),sf=Math.max(Np.height+Cm,0),Dg=0,Mp=0;Mp=a.rowCount);Mp++)ti=a.Fb(As.row+Mp),Dg+=ti.total||0;if(Dg=eg)&&!(As.row+Ah>=a.rowCount);Ah++){ti=a.Fb(As.row+Ah);var ng=ti.oa||0,lf=tg(As,ti,oh);ti.actual=Math.min(ti.maximum,ng+lf),ti.oa!==ng&&(eg-=ti.oa-ng)}for(;0Ld&&(ti.actual=Math.min(ti.maximum,Ld+eg),ti.oa!==Ld&&(eg-=ti.oa-Ld)),ti.index===0)break;ti=a.Fb(ti.index-1)}}for(var Rf=0,ig=0;ig=a.columnCount);ig++)ti=a.Eb(As.column+ig),Rf+=ti.total||0;if(Rf=Ff)&&!(As.column+uf>=a.columnCount);uf++){ti=a.Eb(As.column+uf);var Pm=ti.oa||0,eS=Nh(As,ti,qy);ti.actual=Math.min(ti.maximum,Pm+eS),ti.oa!==Pm&&(Ff-=ti.oa-Pm)}for(;0cv&&(ti.actual=Math.min(ti.maximum,cv+Ff),ti.oa!==cv&&(Ff-=ti.oa-cv)),ti.index===0)break;ti=a.Eb(ti.index-1)}}}}kn(Lt),fi.free(Ph),fi.free(Rl),Md!==void 0&&kn(Md),zc!==void 0&&kn(zc);var Bf=0,jf=0,dv=a.desiredSize,y1=a.maxSize;cu=Ps(a,!0);var Am=wh=ih=0,Nm=0;z=a.columnCount;for(var hv=0;hv=a.rowCount);ti++){var Fr=a.Fb(Ct+ti);Fr.oa!==0&&(at.height+=Fr.total)}for(ti=1;ti=a.columnCount);ti++)Fr=a.Eb(Dt+ti),Fr.oa!==0&&(at.width+=Fr.total);var Ar=Kt.oa+at.width,Wo=Lt.oa+at.height;ti=re,Fr=le;var wa=Ar,vl=Wo,Pl=re,lu=le,yl=Ar,$h=Wo;re+Ar>x.width&&(yl=Math.max(x.width-re,0)),le+Wo>x.height&&($h=Math.max(x.height-le,0));var _s=Di.alignment;if(_s.Xb()){_s=a.defaultAlignment,_s.sb()||(_s=wo);var Pd=_s.x,uu=_s.y,Xh=_s.offsetX;_s=_s.offsetY;var Cc=Kt.alignment,$c=Lt.alignment;Cc.sb()&&(Pd=Cc.x,Xh=Cc.offsetX),$c.sb()&&(uu=$c.y,_s=$c.offsetY)}else Pd=_s.x,uu=_s.y,Xh=_s.offsetX,_s=_s.offsetY;(isNaN(Pd)||isNaN(uu))&&(uu=Pd=.5,_s=Xh=0),Cc=vi.width,$c=vi.height;var pc=Di.margin,rc=pc.left+pc.right,Ag=pc.top+pc.bottom,Ad=Tl(Di,Lt,Kt,!1);!isNaN(Di.desiredSize.width)||Ad!==Qn&&Ad!==Ci||(Cc=Math.max(Ar-rc,0)),!isNaN(Di.desiredSize.height)||Ad!==Qn&&Ad!==ki||($c=Math.max(Wo-Ag,0)),Ar=Di.maxSize,Wo=Di.minSize,Cc=Math.min(Ar.width,Cc),$c=Math.min(Ar.height,$c),Cc=Math.max(Wo.width,Cc),$c=Math.max(Wo.height,$c),Ar=$c+Ag,ti+=wa*Pd-(Cc+rc)*Pd+Xh+pc.left,Fr+=vl*uu-Ar*uu+_s+pc.top,Di.visible&&(Qr(Pl,lu,yl,$h,ti,Fr,vi.width,vi.height)?Di.arrange(ti,Fr,Cc,$c):Di.arrange(ti,Fr,Cc,$c,new jn(Pl,lu,yl,$h)))}}}for(fi.free(at),a=0;a=x&&(x=1);var b=a.gridCellSize,E=b.width;b=b.height;var z=a.naturalBounds,te=a.actualBounds,re=z.width,le=z.height,ce=Math.ceil(re/E),de=Math.ceil(le/b),ve=a.gridOrigin,Pe=ve.x;ve=ve.y,y.save(),y.beginPath(),y.rect(0,0,re,le),y.clip(),y.Se();for(var Le=[],Fe=a.O.s,Ze=Fe.length,pt=0;ptLt)){at=Av(at.figure);for(var Dt=0;DtLt&&Ct.push(Kt))}}}}for(Fe=a.O.s,Ze=Fe.length,pt=0;ptE*at*x))){if(Lt=vn.segmentIndex,(!isFinite(Lt)||isNaN(Lt))&&(Lt=0),0>Lt&&(Lt=at-Math.min(-Lt,at)),Lt=Math.round(Lt%at),at=vn.opacity,Dt=1,at!==1){if(at===0)continue;Dt=y.globalAlpha,y.globalAlpha=Dt*at}Kt=Le[pt];var Pi=!1,ji=vn.strokeDashArray;if(ji!==null&&(Pi=!0,y.js(ji,vn.strokeDashOffset)),vn.figure==="LineV"&&vn.stroke!==null&&0y)return a%y===x;if(a%y!==x)return!1;y=b.length;for(var E=0;Eve)Ct.measure(1/0,1/0,0,0),Lt=Ct.measuredBounds,x.ed(Lt),Le.push(Lt);else{var Dt=Ct.segmentIndex,Kt=Ct.segmentFraction,vn=Ct.alignmentFocus;vn.Mc()&&(vn=wo);var Pi=Ct.segmentOrientation,ji=Ct.segmentOffset;if(isNaN(Dt)){var Di=le.ua;Lt=gn(),Di.Qu(Kt,Lt);var vi=lt.allocAt(Lt[0],Lt[1]);if(vi.add(le.i(0)),Di.type===di.j?vi.offset(-Di.startX,-Di.startY):(Di=Di.figures.first(),Di!==null&&vi.offset(-Di.startX,-Di.startY)),Di=Lt[2],Pi!==Eu){var ti=le.computeAngle(Ct,Pi,Di);Ct.Kb=ti}ti=vi.x-y.x;var Fr=vi.y-y.y;lt.free(vi),kn(Lt)}else if(Dt<-ve||Dt>=ve)Lt=lt.alloc(),le.vg(),le.computeMidPoint(Lt),Di=le.midAngle,Pi!==Eu&&(ti=le.computeAngle(Ct,Pi,Di),Ct.Kb=ti),ti=Lt.x-y.x,Fr=Lt.y-y.y,lt.free(Lt);else{if(ti=0,0<=Dt?(Fr=de.M(Dt),Lt=DtAr+10?0<=Dt?Di.ab(Fr):Fr.ab(Di):Ar>vi+10?0<=Dt?Lt.ab(ti):ti.ab(Lt):0<=Dt?Di.ab(ti):ti.ab(Di)}else Di=0<=Dt?Fr.ab(Lt):Lt.ab(Fr);Pi!==Eu&&(ti=le.computeAngle(Ct,Pi,Di),Ct.Kb=ti),ti=Fr.x+(Lt.x-Fr.x)*Kt-y.x,Fr=Fr.y+(Lt.y-Fr.y)*Kt-y.y}Ct.measure(1/0,1/0,0,0),Lt=Ct.measuredBounds,vi=Ct.naturalBounds;var Wo=0;Ct instanceof eo&&(Wo=Ct.strokeWidth),Ar=vi.width+Wo;var wa=vi.height+Wo;Fe.reset(),Fe.translate(-Lt.x,-Lt.y),Fe.scale(Ct.scale,Ct.scale),Fe.rotate(Pi===Eu?Ct.angle:Di,Ar/2,wa/2),Pi!==Yp&&Pi!==Xp||Fe.rotate(90,Ar/2,wa/2),Pi!==$p&&Pi!==Qp||Fe.rotate(-90,Ar/2,wa/2),Pi===v0&&(45Di||225Di)&&Fe.rotate(-Di,Ar/2,wa/2),vi=new jn(0,0,Ar,wa),Ze.xi(vi,vn),Fe.Ga(Ze),vn=-Ze.x+Wo/2*Ct.scale,Ct=-Ze.y+Wo/2*Ct.scale,pt.assign(ji),Wo=isNaN(ji.x);var vl=isNaN(ji.y);if(Wo||vl){Ar=Ar/2+3,wa=wa/2+3;var Pl=45<=Di&&135>=Di,lu=225<=Di&&315>=Di;Pi===Eu&&(Pl||lu)?(pt.x=vl?Ar:ji.y,pt.y=Wo?wa:ji.x,Pl?0<=Dt||isNaN(Dt)&&.5>Kt||!Wo||(pt.y=-wa):lu&&((0<=Dt||isNaN(Dt)&&.5>Kt)&&Wo&&(pt.y=-wa),vl&&(pt.x=-Ar))):(Wo&&(pt.x=0<=Dt||isNaN(Dt)&&.5>Kt?Ar:-Ar),vl&&(pt.y=-wa),pt.rotate(Di))}else pt.rotate(Di);ti+=pt.x,Fr+=pt.y,vi.set(Lt),vi.h(ti+vn,Fr+Ct,Lt.width,Lt.height),Le.push(vi),x.ed(vi)}}if(te!==null)for(b=te.labelNodes;b.next();)b.value.measure(1/0,1/0);a.jg=x,a.position.h(y.x+x.x,y.y+x.y),gs(E,x.width||0,x.height||0),fr.free(Fe),lt.free(Ze),lt.free(pt)}}}},_m.prototype.arrange=function(a,y){var x=y.length;if(a instanceof zo||a instanceof yi){var b=a,E=null;a instanceof zo&&(E=a,b=E.adornedPart);var z=a instanceof zo?null:b.path,te=a.j;if(te.length!==0){var re=0;if(z!==null&&re=x)Fe=lt.alloc(),Le=ve,pt=Fe,Le.vg(),Le.computeMidPoint(pt),Le=ve.midAngle,ce!==Eu&&(ve=ve.computeAngle(te,ce,Le),te.angle=ve),ve=Fe.x,pt=Fe.y,lt.free(Fe);else{if(Ze=0,0<=re?(Fe=y.s[re],pt=reCt+10?0<=re?Le.ab(Fe):Fe.ab(Le):Ct>at+10?0<=re?pt.ab(Ze):Ze.ab(pt):0<=re?Le.ab(Ze):Ze.ab(Le)}else Le=0<=re?Fe.ab(pt):pt.ab(Fe);ce!==Eu&&(ve=ve.computeAngle(te,ce,Le),te.angle=ve),ve=Fe.x+(pt.x-Fe.x)*le,pt=Fe.y+(pt.y-Fe.y)*le}if(Pe.ys())te.location=new lt(ve,pt);else{Pe.Mc()&&(Pe=wo),Fe=fr.alloc(),Fe.reset(),Fe.scale(te.scale,te.scale),Fe.rotate(te.angle,0,0);var Lt=te.naturalBounds;Ze=jn.allocAt(0,0,Lt.width,Lt.height),at=lt.alloc(),at.xi(Ze,Pe),Fe.Ga(at),Pe=-at.x,Ct=-at.y;var Dt=Lt.width,Kt=Lt.height;Lt=lt.alloc(),Lt.assign(de);var vn=isNaN(de.x),Pi=isNaN(de.y);if(vn||Pi){Dt=Dt/2+3,Kt=Kt/2+3;var ji=45<=Le&&135>=Le,Di=225<=Le&&315>=Le;ce===Eu&&(ji||Di)?(Lt.x=Pi?Dt:de.y,Lt.y=vn?Kt:de.x,ji?0<=re||isNaN(re)&&.5>le||!vn||(Lt.y=-Kt):Di&&((0<=re||isNaN(re)&&.5>le)&&vn&&(Lt.y=-Kt),Pi&&(Lt.x=-Dt))):(vn&&(Lt.x=0<=re||isNaN(re)&&.5>le?Dt:-Dt),Pi&&(Lt.y=-Kt),Lt.rotate(Le))}else Lt.rotate(Le);ve+=Lt.x,pt+=Lt.y,Fe.pp(Ze),Pe+=Ze.x,Ct+=Ze.y,re=lt.allocAt(ve+Pe,pt+Ct),te.move(re),lt.free(re),lt.free(Lt),lt.free(at),jn.free(Ze),fr.free(Fe)}}E!==null?E.Ul(!1):b.Ul(!1),b=FS(a),a.location.h(a.position.x+b.x,a.position.y+b.y),lt.free(b)}};function sS(a,y,x,b){if(xu(b)!==!1){var E=b.strokeWidth;E===0&&a instanceof zo&&a.type===hi.Link&&a.adornedObject instanceof eo&&(E=a.adornedObject.strokeWidth),E*=b.Ca,a instanceof yi&&a.ua!==null?(a=a.geometry.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):a instanceof zo&&a.adornedPart.ua!==null?(a=a.adornedPart.ua.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):b.Ge(-(E/2),-(E/2),y+E,x+E),E=b.desiredSize,E.w()||b.ua===null?b.dc.h(0,0,E.width,E.height):b.dc.assign(b.ua.bounds),us(b,!1)}}function Fp(){this.xa="Base"}qt(Fp,nl),Fp.prototype.measure=function(a,y,x,b,E,z,te){var re=a.Pb();a.graduatedBounds=[];var le=re.margin,ce=le.right+le.left,de=le.top+le.bottom;re.measure(y,x,z,te);var ve=re.measuredBounds,Pe=new jn(-le.left,-le.top,Math.max(ve.width+ce,0),Math.max(ve.height+de,0));a.graduatedBounds.push(Pe),E.assign(Pe);for(var Le=re.geometry,Fe=re.strokeWidth,Ze=Le.flattenedSegments,pt=Le.flattenedLengths,at=Le.flattenedTotalLength,Ct=Ze.length,Lt=0,Dt=0,Kt=gn(),vn=0;vnAr&&(Ar+=360),ji.push(Ar)}Lt=ti,Dt=Fr}Kt.push(ji)}if(a.graduatedIntervals===null){for(var Wo=[],wa=a.O.s,vl=wa.length,Pl=0;Pl$h)){for(var _s=0;_s$h&&yl.push(uu)}}}}}a.graduatedIntervals=Wo}var Xh=a.graduatedIntervals,Cc=a.O.s,$c=Cc.length,pc=0,rc=0,Ag=at;a.graduatedMarks=[];for(var Ad,Sp=0;Sp<$c;Sp++){var mc=Cc[Sp];if(Ad=[],mc.visible&&mc!==re){var cu=Math.abs(mc.interval),bm=a.graduatedTickUnit;if(!(2>bm*cu*at/a.graduatedRange&&mc.graduatedSkip===null)){var If=pt[0][0],Fd=0,oc=0;rc=at*mc.graduatedStart-1e-4,Ag=at*mc.graduatedEnd+1e-4;var nf=bm*cu,vc=a.graduatedTickBase;if(vca.graduatedMin+nf&&(vc-=Math.floor((vc-a.graduatedMin)/nf)*nf);for(var ov=Xh[Sp],wm=vc,Qy=1e-6*a.graduatedMax,ih=1;vc<=a.graduatedMax+Qy;ih++){e:{for(var wh=ov.length,kf=0;kf-xp){var Lg=!1;break e}}Lg=!0}if(Lg&&(vc>a.graduatedMax&&(vc=a.graduatedMax),mc.graduatedSkip===null||mc instanceof Pa&&!mc.graduatedSkip(vc,mc)||mc instanceof eo&&!mc.graduatedSkip(vc,mc))&&(pc=(vc-a.graduatedMin)*at/a.graduatedRange,pc>at&&(pc=at),rc<=pc&&pc<=Ag)){for(var rh=Kt[Fd][oc],Qh=pt[Fd][oc];FdIf&&ocEh&&.4995Eh?0Eh||.9995Df){var wp=1-Math.abs(.5-Eh);rh=(Nd*wp+jd*(1-wp))%360;break e}}}rh=Nd}if(mc instanceof Pa){var fd="";mc.graduatedFunction!==null?(fd=mc.graduatedFunction(vc,mc),fd=fd!=null?fd.toString():""):fd=(+vc.toFixed(2)).toString(),fd!==""&&Ad.push({$l:bp,angle:rh,text:fd})}else Ad.push({$l:bp,angle:rh})}vc=wm+ih*nf}}}a.graduatedMarks.push(Ad)}kn(Kt);var Rl=a.graduatedMarks;if(Rl!==null)for(var Em=b.length,Mu=0;Mupd;pd++){switch(pd){case 0:sc.h(Ph,Md);break;case 1:sc.h(Ph+Ep,Md);break;case 2:sc.h(Ph,Md+af);break;case 3:sc.h(Ph+Ep,Md+af)}sc.rotate(As+Gs.angle),sc.offset(lv,Pp),Cp===0&&pd===0?zc.h(sc.x,sc.y,0,0):zc.Ye(sc),sc.offset(-lv,-Pp),sc.rotate(-As-Gs.angle)}lt.free(sc),Ch.graduatedBounds!==null&&Ch.graduatedBounds.push(zc),Xr(Jh,zc.x,zc.y,zc.width,zc.height)}else if(Gs instanceof Pa){var Xc=a,uv=E;Xc.temporaryTextBlock===null&&(Xc.temporaryTextBlock=new Pa);var yc=Xc.temporaryTextBlock;wS(yc,Gs);var qh=Gs.alignmentFocus;qh.Mc()&&(qh=tu);for(var Qc=Gs.segmentOrientation,Ap=Gs.segmentOffset,kg=new jn,Cm=0,Np=0,zd=0,sf=0,Dg=0,Mp=Lu.length,eg=0;egzd||225zd)&&Ld.rotate(-zd,ng/2,lf/2);var Rf=jn.allocAt(0,0,ng,lf),ig=lt.alloc();ig.xi(Rf,qh),Ld.Ga(ig);var Ff=-ig.x,qy=-ig.y,Nh=lt.alloc();Nh.assign(Ap),isNaN(Nh.x)&&(Nh.x=ng/2+3),isNaN(Nh.y)&&(Nh.y=-(lf/2+3)),Nh.rotate(zd),Cm+=Nh.x+Ff,Np+=Nh.y+qy;var uf=new jn(Cm,Np,tg.width,tg.height),Pm=new jn(tg.x,tg.y,tg.width,tg.height),eS=new jn(Ah.x,Ah.y,Ah.width,Ah.height);oh.Sz=sf,oh.lineCount=yc.lineCount,oh.lines=[yc.Cb,yc.Ih,yc.df,yc.Le,yc.Qc,yc.Qb,yc.ze],oh.actualBounds=uf,oh.measuredBounds=Pm,oh.naturalBounds=eS,eg===0?kg.assign(uf):kg.ed(uf),lt.free(Nh),lt.free(ig),jn.free(Rf),fr.free(Ld)}Xc.graduatedBounds!==null&&Xc.graduatedBounds.push(kg),Xr(uv,kg.x,kg.y,kg.width,kg.height)}us(Gs,!1)}}},Fp.prototype.arrange=function(a,y,x){if(a.graduatedBounds!==null){var b=a.Pb(),E=a.graduatedMarks;if(E!==null){var z=a.graduatedBounds,te=0,re=z[te];te++,b!==null&&b.arrange(re.x-x.x,re.y-x.y,re.width,re.height);for(var le=y.length,ce=0;ce=te&&(te=1);for(var re=z.actualBounds,le=a.O.s,ce=a.graduatedMarks,de=le.length,ve=0;vea.graduatedTickUnit*Pe.interval*z.geometry.flattenedTotalLength/a.graduatedRange*te&&Pe.graduatedSkip===null)){var Ze=Pe.measuredBounds,pt=Pe.strokeWidth*Pe.scale,at=Pe.alignmentFocus;at.Mc()&&(at=tu);for(var Ct=0;Ctte.height)continue}else if(ce.position>te.width)continue;var de=ce.separatorStrokeWidth;isNaN(de)&&(de=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var ve=ce.separatorStroke;if(ve===null&&(ve=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),de!==0&&ve!==null){Ca(a,y,ve,!1,!1,te,z),ve=!1;var Pe=ce.separatorDashArray;Pe===null&&(Pe=x?a.defaultRowSeparatorDashArray:a.defaultColumnSeparatorDashArray),Pe!==null&&(ve=!0,y.js(Pe,0)),y.beginPath(),Pe=ce.position+de,x?Pe>te.height&&(de-=Pe-te.height):Pe>te.width&&(de-=Pe-te.width),ce=ce.position+de/2,y.lineWidth=de,de=a.yb,x?(ce+=de.top,Pe=te.width-de.right,y.moveTo(de.left,ce),y.lineTo(Pe,ce)):(ce+=de.left,Pe=te.height-de.bottom,y.moveTo(ce,de.top),y.lineTo(ce,Pe)),y.stroke(),y.Se(),ve&&y.fs()}}}}function Gm(a,y,x,b,E){for(var z=b.length,te=a.actualBounds,re=a.naturalBounds,le=uS(a,!0),ce=uS(a,!1),de=0;dePe)){var Le=ve.Wc(),Fe=ve.separatorStrokeWidth;isNaN(Fe)&&(Fe=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var Ze=ve.separatorStroke;Ze===null&&(Ze=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),(Ze===null||ve.index===(x?le:ce))&&(Fe=0),Le-=Fe,Fe=ve.position+Fe,Le+=ve.actual,Fe+Le>Pe&&(Le=Pe-Fe),0>=Le||(Pe=a.yb,Ca(a,y,ve.background,!0,!1,re,te),x?y.fillRect(Pe.left,Fe+Pe.top,te.width-(Pe.left+Pe.right),Le):y.fillRect(Fe+Pe.left,Pe.top,Le,te.height-(Pe.top+Pe.bottom)))}}}}function uS(a,y){for(var x=y?a.rowCount:a.columnCount,b=0;bb&&E.set(Fe),lt.free(Fe)),lt.free(de),z&&E.transform(te),ce},Ue.Gj=function(){for(var a=this.O.s,y=a.length,x=0;xx||z>b)&&(this.v(),this.measure(y>x?x:y,z>b?b:z,0,0));break;case Qn:this.v(!0),this.measure(x+re,b+te,0,0);break;case Ci:this.v(!0),this.measure(x+re,z+te,0,0);break;case ki:this.v(!0),this.measure(y+re,b+te,0,0)}}this.na.arrange(this,E,this.jg)}},Ue.gh=function(a){var y=this.naturalBounds,x=Sh(this);if(Qr(0,0,y.width,y.height,a.x,a.y)){y=this.O.s;for(var b=y.length,E=lt.allocAt(0,0);b--;){var z=y[b];if((z.visible||z===x)&&(ao(E.set(a),z.transform),z.ca(E)))return lt.free(E),!0}return lt.free(E),!(this.Ma===null&&this.areaBackground===null)}return!1},Ue.ks=function(a){if(this.bindingId===a)return this;for(var y=this.O.s,x=y.length,b=0;bPe.width||ve.y>Pe.height||0>ve.x+ve.width||0>ve.y+ve.height||(ve=de,de=de instanceof hi?de:null,Pe=fr.alloc(),Pe.set(te),(de!==null?de.Cf(a,y,x,b,E,Pe):oi(ve,a,b,Pe))&&(y!==null&&(ve=y(ve)),ve===null||x!==null&&!x(ve)||E.add(ve)),fr.free(Pe))}}return z===void 0&&fr.free(te),b}return z===void 0&&fr.free(te),!1};function Nv(a,y,x,b){for(var E=a.O.s,z=E.length;z--;){var te=E[z];if(te.visible){var re=te.actualBounds,le=a.naturalBounds;re.x>le.width||re.y>le.height||0>re.x+re.width||0>re.y+re.height||(te instanceof hi&&Nv(te,y,x,b),y!==null&&(te=y(te)),te===null||x!==null&&!x(te)||b.add(te))}}}Ue.og=function(a,y,x,b,E,z){if(this.pickable===!1)return!1;x===void 0&&(x=null),b===void 0&&(b=null);var te=this.naturalBounds,re=this.se(),le=re?a:ao(lt.allocAt(a.x,a.y),this.transform),ce=re?y:ao(lt.allocAt(y.x,y.y),this.transform),de=le.Bf(ce),ve=0pt.width||Ze.y>pt.height||0>Ze.x+Ze.width||0>Ze.y+Ze.height))&&(Fe.se()?(Ze=Fe.transform,ao(le.set(a),Ze),ao(ce.set(y),Ze)):(le.set(a),ce.set(y)),Ze=Fe,Fe=Fe instanceof hi?Fe:null,(Fe!==null?Fe.og(le,ce,x,b,E,z):Ze.tx(le,ce,E))&&(x!==null&&(Ze=x(Ze)),Ze===null||b!==null&&!b(Ze)||z.add(Ze)))}}lt.free(le),lt.free(ce)}return E?ve:te}return!1};function Mv(a){var y=null;return a instanceof eo&&(y=a.spot1,y===Vr&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot1)),y===null&&(y=Hs),y}function Lv(a){var y=null;return a instanceof eo&&(y=a.spot2,y===Vr&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot2)),y===null&&(y=Fl),y}Ue.add=function(a){for(var y=[],x=0;x=E.count&&a>=E.count)return;E.mb(z),b=z}else bt("element "+y.toString()+" has panel "+x.toString()+" but is not contained by it.")}(0>a||a>E.count)&&(a=E.count),E.Gb(a,y),(a===0||y.isPanelMain)&&(this.$g=null),xu(this)||this.v(),y.v(!1),y.portId!==null?this.Te=!0:y instanceof hi&&y.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||Wm(this,y,!1),x=this.part,x!==null&&(x.Rh=null,x.ag=NaN,this.Te&&x instanceof Li&&(x.Te=!0),x.Te&&x instanceof Li&&(x.wc=null),E=this.diagram,E!==null&&E.undoManager.isUndoingRedoing||(b!==-1&&x.cb(ms,"elements",this,y,null,b,null),x.cb(Ka,"elements",this,null,y,null,a)))};function Tv(a,y){a.l=y?a.l|16777216:a.l&-16777217}Ue.remove=function(a){for(var y=this.O.s,x=y.length,b=-1,E=0;Ea&&Ln(a,">= 0",hi,"getRowDefinition:idx"),a=Math.round(a);var y=this.rowDefs;if(y[a]===void 0){var x=new Qs;x.wi(this),x.isRow=!0,x.index=a,y[a]=x,this.cb(Ka,"rowdefs",this,null,x,null,a)}return y[a]},Ue.oA=function(a){if(0>a&&Ln(a,">= 0",hi,"removeRowDefinition:idx"),this.rowCount!==0){a=Math.round(a);var y=this.rowDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(ms,"rowdefs",this,x,null,a,null),this.v()}}};function fS(a,y,x){var b=a.rowDefs;if(!(0>y)){if(b[y]=x instanceof Qs?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ue.Eb=function(a){0>a&&Ln(a,">= 0",hi,"getColumnDefinition:idx"),a=Math.round(a);var y=this.colDefs;if(y[a]===void 0){var x=new Qs;x.wi(this),x.isRow=!1,x.index=a,y[a]=x,this.cb(Ka,"coldefs",this,null,x,null,a)}return y[a]},Ue.jA=function(a){if(0>a&&Ln(a,">= 0",hi,"removeColumnDefinition:idx"),this.columnCount!==0){a=Math.round(a);var y=this.colDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(ms,"coldefs",this,x,null,a,null),this.v()}}};function pS(a,y,x){var b=a.colDefs;if(!(0>y)){if(b[y]=x instanceof Qs?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ue.Gy=function(a){var y=null;return a.isRow?y=this.Fb(a.index):a.isRow||(y=this.Eb(a.index)),y&&Zm(y,a),this},Ue.Hy=function(a,y){return(a=this.Fb(a))&&Zm(a,new Qs(y)),this},Ue.By=function(a,y){return(a=this.Eb(a))&&Zm(a,new Qs(y)),this},Ue.nz=function(a){if(0>a||this.type!==hi.Table||this.rowCount===0)return-1;for(var y=0,x=this.rowDefs,b=x.length,E=this.topIndex;Ea||this.type!==hi.Table||this.columnCount===0)return-1;for(var y=0,x=this.colDefs,b=x.length,E=this.leftIndex;Ea;)this.pc(this.O.length-1,!1);vS(this,this.itemArray)};function vS(a,y){var x=Bp(a);if(y===null||y.length===0)for(;a.O.length>x;)a.pc(a.O.length-1,!1);else if(a.O.length<=x){x=y.length;for(var b=0;bx)){var E=kv(a,y);if(E=Dv(a,E),E!==null){if(Vc(E),E=E.copy(),E.l&16777216){var z=a.ih();z!==null&&Tv(z,!0)}typeof y=="object"&&(a.ge===null&&(a.ge=new Ii),a.ge.add(y,E)),z=x+Bp(a),a.Gb(z,E),b&&(E.ub=y,Iv(a,z,x),E.ub=null),E.data=y}}}function Iv(a,y,x){for(a=a.O;ya&&Ln(a,">= 0",hi,"padding"),a=new $i(a)):(0>a.left&&Ln(a.left,">= 0",hi,"padding:value.left"),0>a.right&&Ln(a.right,">= 0",hi,"padding:value.right"),0>a.top&&Ln(a.top,">= 0",hi,"padding:value.top"),0>a.bottom&&Ln(a.bottom,">= 0",hi,"padding:value.bottom"));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.v(),this.g("padding",y,a))}},defaultAlignment:{get:function(){return this.Tm},set:function(a){var y=this.Tm;y.D(a)||(this.Tm=a=a.J(),this.v(),this.g("defaultAlignment",y,a))}},defaultStretch:{get:function(){return this.Uf},set:function(a){var y=this.Uf;y!==a&&(this.Uf=a,this.v(),this.g("defaultStretch",y,a))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:ul},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.defaultSeparatorPadding;y.D(a)||(a=a.J(),this.T===null&&(this.T=new Rc),this.T.Qp=a,this.v(),this.g("defaultSeparatorPadding",y,a))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(a){var y=this.defaultRowSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof ko)&&(a instanceof ko&&a.freeze(),this.T===null&&(this.T=new Rc),this.T.ia=a,this.N(),this.g("defaultRowSeparatorStroke",y,a))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(a){var y=this.defaultRowSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new Rc),this.T.Ha=a,this.v(),this.g("defaultRowSeparatorStrokeWidth",y,a))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(a){var y=this.defaultRowSeparatorDashArray;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea)&&bt("Panel.topIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Rc),this.T.Hb=a,this.v(),this.g("topIndex",y,a))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(a){var y=this.leftIndex;y!==a&&((!isFinite(a)||0>a)&&bt("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Rc),this.T.hb=a,this.v(),this.g("leftIndex",y,a))}},data:{get:function(){return this.ub},set:function(a){var y=this.ub;if(y!==a){var x=this instanceof nr&&!(this instanceof zo);Vc(this),this.ub=a;var b=this.diagram;b!==null&&(x?(x=b.partManager,this instanceof yi?(y!==null&&x.bf.remove(y),a!==null&&x.bf.add(a,this)):this instanceof nr&&(y!==null&&x.cf.remove(y),a!==null&&x.cf.add(a,this))):(x=this.panel,x!==null&&x.ge!==null&&(y!==null&&x.ge.remove(y),a!==null&&x.ge.add(a,this)))),this.g("data",y,a),b!==null&&b.undoManager.isUndoingRedoing||a!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(a){var y=this.zn;y!==a&&(this.zn=a,this.g("itemIndex",y,a))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Tc),this.A.nb=a)}},itemArray:{get:function(){return this.Hh},set:function(a){var y=this.Hh;if(y!==a||a!==null&&N1(this,a)){var x=this.diagram;y!==a&&(x!==null&&y!==null&&Sy(x.partManager,this,x),this.Hh=a,x!==null&&a!==null&&yy(x.partManager,this)),this.g("itemArray",y,a),x!==null&&x.undoManager.isUndoingRedoing||vS(this,a)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(a){if(this.itemTemplateMap===null){if(a===null)return;this.itemTemplateMap=new Ii}var y=this.itemTemplateMap.I("");y!==a&&((a instanceof nr||a.isPanelMain)&&bt("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+a),this.itemTemplateMap.add("",a),this.g("itemTemplate",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(a){var y=this.itemTemplateMap;if(y!==a){for(var x=a.iterator;x.next(););Cr(this),this.A.Pc=a,this.g("itemTemplateMap",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(a){var y=this.itemCategoryProperty;y!==a&&(Cr(this),this.A.Oc=a,this.g("itemCategoryProperty",y,a))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("isAtomic",y,a))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this instanceof Ur&&(this.tb=null),this.v(),this.g("isClipping",y,a))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(a){var y=(this.l&33554432)!==0;y!==a&&(this.l^=33554432,this.v(),this.g("isOpposite",y,a))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;if(y!==a){var x=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",y,a),y=this.diagram,y!==null&&y.undoManager.isUndoingRedoing||x&&Wm(this,this,a)}}},alignmentFocusName:{get:function(){return this.$e},set:function(a){var y=this.$e;y!==a&&(this.$e=a,this.v(),this.g("alignmentFocusName",y,a))}}}),Nt.Object.defineProperties(hi,{Position:{get:function(){return ld.I("Position")}},Horizontal:{get:function(){return ld.I("Horizontal")}},Vertical:{get:function(){return ld.I("Vertical")}},Spot:{get:function(){return ld.I("Spot")}},Auto:{get:function(){return ld.I("Auto")}},Table:{get:function(){return ld.I("Table")}},Viewbox:{get:function(){return ld.I("Viewbox")}},TableRow:{get:function(){return ld.I("TableRow")}},TableColumn:{get:function(){return ld.I("TableColumn")}},Link:{get:function(){return ld.I("Link")}},Grid:{get:function(){return ld.I("Grid")}},Graduated:{get:function(){return ld.I("Graduated")}}}),hi.prototype.rebuildItemElements=hi.prototype.mv,hi.prototype.findItemPanelForData=hi.prototype.sx,hi.prototype.updateTargetBindings=hi.prototype.La,hi.prototype.copyTemplate=hi.prototype.Uy,hi.prototype.graduatedValueForPoint=hi.prototype.Gz,hi.prototype.graduatedPointForValue=hi.prototype.Fz,hi.prototype.findColumnForLocalX=hi.prototype.fz,hi.prototype.findRowForLocalY=hi.prototype.nz,hi.prototype.addColumnDefinition=hi.prototype.By,hi.prototype.addRowDefinition=hi.prototype.Hy,hi.prototype.addRowColumnDefinition=hi.prototype.Gy,hi.prototype.removeColumnDefinition=hi.prototype.jA,hi.prototype.getColumnDefinition=hi.prototype.Eb,hi.prototype.removeRowDefinition=hi.prototype.oA,hi.prototype.getRowDefinition=hi.prototype.Fb,hi.prototype.removeAt=hi.prototype.mb,hi.prototype.remove=hi.prototype.remove,hi.prototype.insertAt=hi.prototype.Gb,hi.prototype.elt=hi.prototype.M,hi.prototype.add=hi.prototype.add,hi.prototype.findObject=hi.prototype.fb,hi.prototype.findInVisualTree=hi.prototype.Nl,hi.prototype.walkVisualTreeFrom=hi.prototype.qm,hi.prototype.findMainElement=hi.prototype.Pb;var yS=!1,SS=null,ld=new Ii;hi.className="Panel",hi.definePanelLayout=Od,Od("Position",new Im),Od("Vertical",new Dm),Od("Auto",new Rm),Od("Link",new _m);function xh(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}xh.prototype.copy=function(){var a=new xh;return a.lq=this.lq,a.F=this.F,a.ia=this.ia,a.V=this.V,a.u=this.u,a.j=this.j,a.o=this.o,a.Zh=this.Zh,a},xh.className="GradPanelSettings";function Rc(){this.Pc=[],this.Oc=[],this.j=this.ob=Km,this.hb=this.Hb=0,this.Qp=ul,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}Rc.prototype.copy=function(a){for(var y=new Rc,x=this.Pc,b=x.length,E=y.Pc,z=0;za&&Ln(a,">= 0",Qs,"height"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",y,a))}},width:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&Ln(a,">= 0",Qs,"width"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",y,a))}},minimum:{get:function(){return this.jj},set:function(a){var y=this.jj;y!==a&&((0>a||!isFinite(a))&&Ln(a,">= 0",Qs,"minimum"),this.jj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",y,a))}},maximum:{get:function(){return this.hj},set:function(a){var y=this.hj;y!==a&&(0>a&&Ln(a,">= 0",Qs,"maximum"),this.hj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",y,a))}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(this.Jb=a.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",y,a))}},stretch:{get:function(){return this.hg},set:function(a){var y=this.hg;y!==a&&(this.hg=a,this.panel!==null&&this.panel.v(),this.Ob("stretch",y,a))}},separatorPadding:{get:function(){return this.dg},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.dg;a!==null&&y!==null&&y.D(a)||(a!==null&&(a=a.J()),this.dg=a,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",y,a))}},separatorStroke:{get:function(){return this.lo},set:function(a){var y=this.lo;y!==a&&(a!==null&&Sf(a,"RowColumnDefinition.separatorStroke"),a instanceof ko&&a.freeze(),this.lo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",y,a))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(a){var y=this.mo;y!==a&&(this.mo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",y,a))}},separatorDashArray:{get:function(){return this.tj},set:function(a){var y=this.tj;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;EE)){var z=b.measuredBounds,te=Math.max(1,z.width);z=z.height;for(var re=x[0],le=x[1],ce,de,ve,Pe,Le,Fe,Ze=0,pt=gn(),at=2;atve&&(ve=1),E=x=ve,ce=te/2,de=ce!==0,at=0,Fe=pt[at],ve=Fe[0],Le=Fe[1],Pe=Fe[2],Fe=Fe[3];for(var Ct=0;.1<=Ze;){if(Ct===0&&(de?(E=x,E-=ce,Ze-=ce,de=!1):E=x,E===0&&(E=1)),E>Ze){kn(pt);return}E>Fe?(Ct=E-Fe,E=Fe):Ct=0;var Lt=Math.sqrt(E*E/(1+Pe*Pe));if(0>ve&&(Lt=-Lt),re+=Lt,le+=Pe*Lt,a.translate(re,le),a.rotate(Le),a.translate(-(te/2),-(z/2)),Ct===0&&b.hh(a,y),a.translate(te/2,z/2),a.rotate(-Le),a.translate(-re,-le),Ze-=E,Fe-=E,Ct!==0){if(at++,at===pt.length){kn(pt);return}Fe=pt[at],ve=Fe[0],Le=Fe[1],Pe=Fe[2],Fe=Fe[3],E=Ct}}kn(pt)}}Ue.hh=function(a,y){var x=this.xc,b=this.Ui;if(x!==null||b!==null){var E=this.ua;if(E!==null){a.yc();var z=this.actualBounds,te=this.naturalBounds;b!==null&&Ca(this,a,b,!0,!1,te,z);var re=this.part,le=this.ig;if(x===null||le!==0||re===null||!this.isPanelMain&&re.Pb()!==this||(le=re.type===hi.Link&&re instanceof zo&&re.category==="Selection"&&re.adornedObject instanceof eo&&re.adornedPart.Pb()===re.adornedObject?re.adornedObject.strokeWidth:0),le===0&&(x=null),x!==null&&le!==0&&(Ca(this,a,x,!1,!1,te,z),a.lineWidth=le,a.lineJoin=this.strokeJoin,a.lineCap=this.strokeCap,a.miterLimit=this.strokeMiterLimit),z=!1,re&&y.Gf("drawShadows")&&(z=re.isShadowed),a.Il===!1&&(z=!1),re=!0,x===null||b!==null&&b!=="transparent"||(re=!1),te=!1,le=this.strokeDashArray,le!==null&&(te=!0,a.js(le,this.strokeDashOffset)),E.type===di.j)a.beginPath(),a.moveTo(E.startX,E.startY),a.lineTo(E.endX,E.endY),x!==null&&a.jk(),a.Se();else if(E.type===di.u){var ce=E.startX;le=E.startY;var de=E.endX,ve=E.endY;E=Math.min(ce,de);var Pe=Math.min(le,ve);ce=Math.abs(de-ce),le=Math.abs(ve-le),a.beginPath(),a.rect(E,Pe,ce,le),b!==null&&a.ng(b),x!==null&&(re&&z&&wr(a),a.jk(),re&&z&&fa(a)),a.Se()}else if(E.type===di.F)ce=E.startX,le=E.startY,de=E.endX,ve=E.endY,E=Math.abs(de-ce)/2,Pe=Math.abs(ve-le)/2,ce=Math.min(ce,de)+E,le=Math.min(le,ve)+Pe,a.beginPath(),a.moveTo(ce,le-Pe),a.bezierCurveTo(ce+Wt.wg*E,le-Pe,ce+E,le-Wt.wg*Pe,ce+E,le),a.bezierCurveTo(ce+E,le+Wt.wg*Pe,ce+Wt.wg*E,le+Pe,ce,le+Pe),a.bezierCurveTo(ce-Wt.wg*E,le+Pe,ce-E,le+Wt.wg*Pe,ce-E,le),a.bezierCurveTo(ce-E,le-Wt.wg*Pe,ce-Wt.wg*E,le-Pe,ce,le-Pe),a.closePath(),b!==null&&a.ng(b),x!==null&&(re&&z&&wr(a),a.jk(),re&&z&&fa(a)),a.Se();else if(E.type===di.o)for(E=E.figures,le=E.length,Pe=0;PeZe.sweepAngle,Le!==null?Le.endX:ce.startX,Le!==null?Le.endY:ce.startY)}else if(Le=Fa(Ze,ce),pt=Le.length,pt===0)a.lineTo(Ze.centerX,Ze.centerY);else for(var at=0;at(x.startX-x.endX)*(a.x-x.endX)+(x.startY-x.endY)*(a.y-x.endY)||0>b)?!1:(jn.free(z),Wt.Yb(x.startX,x.startY,x.endX,x.endY,E,a.x,a.y));if(x.type===di.u){y=x.startX;var te=x.startY,re=x.endX;if(x=x.endY,z.x=Math.min(y,re),z.y=Math.min(te,x),z.width=Math.abs(re-y),z.height=Math.abs(x-te),this.fill===null){if(z.Bc(-b,-b),z.ca(a))return jn.free(z),!1;z.Bc(b,b)}return this.stroke!==null&&z.Bc(E,E),a=z.ca(a),jn.free(z),a}if(x.type===di.F){te=x.startX,E=x.startY,re=x.endX;var le=x.endY;if(x=Math.min(te,re),y=Math.min(E,le),te=Math.abs(re-te)/2,E=Math.abs(le-E)/2,x=a.x-(x+te),y=a.y-(y+E),this.fill===null){if(te-=b,E-=b,0>=te||0>=E||1>=x*x/(te*te)+y*y/(E*E))return jn.free(z),!1;te+=b,E+=b}return this.stroke!==null&&(te+=b,E+=b),jn.free(z),0>=te||0>=E?!1:1>=x*x/(te*te)+y*y/(E*E)}if(x.type===di.o)return jn.free(z),this.fill===null?nu(x,a.x,a.y,E):cl(x,a,E,1=this.strokeWidth)de=Wt.Ve(ce.startX,ce.startY,ce.endX,ce.endY,z,te,re,le,E);else{if(ce.startX===ce.endX?(b=ve,de=0):(y=(ce.endY-ce.startY)/(ce.endX-ce.startX),de=ve/Math.sqrt(1+y*y),b=de*y),y=gn(),a=new lt,Wt.Ve(ce.startX+b,ce.startY+de,ce.endX+b,ce.endY+de,z,te,re,le,a)&&y.push(a),a=new lt,Wt.Ve(ce.startX-b,ce.startY-de,ce.endX-b,ce.endY-de,z,te,re,le,a)&&y.push(a),a=new lt,Wt.Ve(ce.startX+b,ce.startY+de,ce.startX-b,ce.startY-de,z,te,re,le,a)&&y.push(a),a=new lt,Wt.Ve(ce.endX+b,ce.endY+de,ce.endX-b,ce.endY-de,z,te,re,le,a)&&y.push(a),re=y.length,re===0)return kn(y),!1;for(de=!0,le=1/0,b=0;bMath.abs(x)){if(le=te-de-x*(z-b),0>a*a*x*x+ce*ce-le*le){E.x=NaN,E.y=NaN,de=!1;break e}ve=Math.sqrt(a*a*x*x+ce*ce-le*le),re=(-(a*a*x*le)+a*ce*ve)/(ce*ce+a*a*x*x)+b,a=(-(a*a*x*le)-a*ce*ve)/(ce*ce+a*a*x*x)+b,ce=x*(re-b)+le+de,le=x*(a-b)+le+de,Math.abs((z-re)*(z-re))+Math.abs((te-ce)*(te-ce))re){E.x=NaN,E.y=NaN,de=!1;break e}le=Math.sqrt(re),re=de+le,le=de-le,Math.abs(re-te)Math.abs(Fe)?(Ze*=.5/Fe,Fe=.5):Ze!==0&&.5>Math.abs(Ze)&&(Fe*=.5/Ze,Ze=.5),at-=Fe,Ct-=Ze;Le.contains(at,Ct);)at-=Fe,Ct-=Ze;for(E.x=re,E.y=le,Ze=0;Zex?a-x:x-a)<(y>b?y-b:b-y)?(a=ya||Wt.$(le.y,a))&&(le.yy||Wt.$(le.x,y))&&(le.x=a&&b<=y):(a=b&&x<=a)}Ue.tx=function(a,y,x){function b(pt,at){for(var Ct=pt.length,Lt=0;LtE)return!0;return!1}if(x&&this.fill!==null&&this.gh(a,!0))return!0;var E=a.Bf(y),z=E;if(1.5=E||gr(y,z,0,-ve)>=E||gr(y,z,0,ve)>=E||gr(y,z,de,0)>=E)}else if(y.type===di.o){if(ce=y.bounds,z=ce.x,re=ce.y,le=ce.x+ce.width,ce=ce.y+ce.height,a.x>le&&a.xce&&a.yE&&ra(a.x,a.y,z,re,le,re)>E&&ra(a.x,a.y,le,ce,z,ce)>E&&ra(a.x,a.y,le,ce,le,re)>E)return!1;if(z=Math.sqrt(E),x){if(this.fill===null?nu(y,a.x,a.y,z):cl(y,a,z,!0,!1))return!0}else{for(x=y.figures,y=0;yE)return!1;for(re=z.segments.s,le=re.length,ce=0;ceE)return!1;break;case ol:var Pe=gn();if(Wt.Qe(te,de,ve.point1X,ve.point1Y,ve.point2X,ve.point2Y,ve.endX,ve.endY,.8,Pe),te=b(Pe,a),kn(Pe),te||(te=ve.endX,de=ve.endY,a.zd(te,de)>E))return!1;break;case Zi:if(Pe=gn(),Wt.ep(te,de,ve.point1X,ve.point1Y,ve.endX,ve.endY,.8,Pe),te=b(Pe,a),kn(Pe),te||(te=ve.endX,de=ve.endY,a.zd(te,de)>E))return!1;break;case oo:case iu:Pe=ve.type===oo?Fa(ve,z):Gr(ve,z,te,de);var Le=Pe.length;if(Le===0){if(te=ve.type===oo?ve.centerX:ve.endX,de=ve.type===oo?ve.centerY:ve.endY,a.zd(te,de)>E)return!1;break}ve=null;for(var Fe=gn(),Ze=0;Ze= 0",eo,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(a){var y=this.strokeCap;y!==a&&(typeof a!="string"||a!=="butt"&&a!=="round"&&a!=="square"?Ln(a,'"butt", "round", or "square"',eo,"strokeCap"):($g(this),this.Na.Hr=a,this.N(),this.g("strokeCap",y,a)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(a){var y=this.strokeJoin;y!==a&&(typeof a!="string"||a!=="miter"&&a!=="bevel"&&a!=="round"?Ln(a,'"miter", "bevel", or "round"',eo,"strokeJoin"):($g(this),this.Na.Ir=a,this.N(),this.g("strokeJoin",y,a)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(a){var y=this.strokeMiterLimit;if(y!==a&&1<=a){$g(this),this.Na.Jr=a,this.N();var x=this.part;x!==null&&(x.ag=NaN),this.g("strokeMiterLimit",y,a)}}},strokeDashArray:{get:function(){return this.Yg},set:function(a){var y=this.Yg;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea?a=0:1a?a=0:1(ve*ve+de*de)*Pe*Pe&&(x=!0),y.ib!==a&&(x=!1),y.ib instanceof Uu&&(x=!1),y.Gf("textGreeking")===!1&&(x=!1),y=this.spacingAbove,ve=this.spacingBelow,this.flip){case $r:a.translate(E,0),a.scale(-1,1);break;case Er:a.translate(0,z),a.scale(1,-1);break;case Hn:a.translate(E,z),a.scale(-1,-1)}if(a.yc(),de=this.Gc,Pe=(y+te+ve)*de,z>Pe&&(b=this.verticalAlignment,b=b.y*z-b.y*Pe+b.offsetY),de===1&&this.ze!==null)ve=this.Cb,ve>E&&(ve=E),this.Oj(this.ze,a,0,b+y,E,te,ve,x,re,le,ce);else if(this.Qc!==null&&this.Qb!==null)for(Pe=0;PeE&&(Le=E),b+=y,this.Oj(this.Qb[Pe],a,0,b,E,te,Le,x,re,le,ce),b+=te+ve}switch(this.flip){case $r:a.scale(-1,1),a.translate(-E,0);break;case Er:a.scale(1,-1),a.translate(0,-z);break;case Hn:a.scale(-1,-1),a.translate(-E,-z)}}},Ue.Oj=function(a,y,x,b,E,z,te,re,le,ce,de){var ve=0;if(re)le==="left"?ve=0:le==="right"?ve=E-te:le==="center"&&(ve=(E-te)/2),y.fillRect(x+ve,b+.25*z,te,1);else{if(le==="left"?ve=0:le==="right"?ve=E:le==="center"&&(ve=E/2),E=Xm!==null?Xm(this,z):.75*z,y.fillText(a,x+ve,b+E),a=z/20|0,a===0&&(a=1),le==="right"?ve-=te:le==="center"&&(ve-=te/2),ce){re=Qm!==null?Qm(this,z):.8*z,le=x+ve,ce=b+re,E=x+ve+te,re=b+re;var Pe=a;y.beginPath(),y.lineWidth=Pe,y.moveTo(le,ce),y.lineTo(E,re),y.stroke(),y.Se(),y instanceof Uu&&y.ad.classList.add("gojs-td")}de&&(de=b+z-z/2.2|0,a%2!==0&&(de+=.5),b=x+ve,z=de,x=x+ve+te,te=de,ve=a,y.beginPath(),y.lineWidth=ve,y.moveTo(b,z),y.lineTo(x,te),y.stroke(),y.Se(),y instanceof Uu&&y.ad.classList.add("gojs-td"))}},Ue.kk=function(a,y,x){if(!Rt.prototype.kk.call(this,a,y,x))return!1;if(Ca(this,a,this.xc,!0,!1,this.naturalBounds,this.actualBounds),x){if(this.svg.getElementsByTagName("text").length===0)return!0;for(y=this.svg.getElementsByClassName("gojs-td"),x=0;x0&&ae.prevInput=="\u200B"?ri(fe,qa)(fe):Ci++<10?pe.detectingSelectAll=setTimeout(ki,500):(pe.selForContextMenu=null,pe.input.reset())};pe.detectingSelectAll=setTimeout(ki,200)}}if(De&&Ke>=9&&Qn(),ke){Ri(ie);var pi=function(){Pn(window,"mouseup",pi),setTimeout(_n,20)};xt(window,"mouseup",pi)}else setTimeout(_n,50)},Cn.prototype.readOnlyChanged=function(ie){ie||this.reset(),this.textarea.disabled=ie=="nocursor",this.textarea.readOnly=!!ie},Cn.prototype.setUneditable=function(){},Cn.prototype.needsContentAttribute=!1;function ci(ie,ae){if(ae=ae?an(ae):{},ae.value=ie.value,!ae.tabindex&&ie.tabIndex&&(ae.tabindex=ie.tabIndex),!ae.placeholder&&ie.placeholder&&(ae.placeholder=ie.placeholder),ae.autofocus==null){var fe=Pt();ae.autofocus=fe==ie||ie.getAttribute("autofocus")!=null&&fe==document.body}function pe(){ie.value=qe.getValue()}var ye;if(ie.form&&(xt(ie.form,"submit",pe),!ae.leaveSubmitMethodAlone)){var Be=ie.form;ye=Be.submit;try{var Xe=Be.submit=function(){pe(),Be.submit=ye,Be.submit(),Be.submit=Xe}}catch(ot){}}ae.finishInit=function(ot){ot.save=pe,ot.getTextArea=function(){return ie},ot.toTextArea=function(){ot.toTextArea=isNaN,pe(),ie.parentNode.removeChild(ot.getWrapperElement()),ie.style.display="",ie.form&&(Pn(ie.form,"submit",pe),!ae.leaveSubmitMethodAlone&&typeof ie.form.submit=="function"&&(ie.form.submit=ye))}},ie.style.display="none";var qe=ls(function(ot){return ie.parentNode.insertBefore(ot,ie.nextSibling)},ae);return qe}function si(ie){ie.off=Pn,ie.on=xt,ie.wheelEventPixels=Co,ie.Doc=Gl,ie.splitLines=Yi,ie.countColumn=it,ie.findColumn=ei,ie.isWordChar=Zt,ie.Pass=sn,ie.signal=wt,ie.Line=Ra,ie.changeEnd=Da,ie.scrollbarModel=nd,ie.Pos=Gt,ie.cmpPos=yn,ie.modes=Fo,ie.mimeModes=Vo,ie.resolveMode=on,ie.getMode=ln,ie.modeExtensions=qt,ie.extendMode=Nt,ie.copyState=On,ie.startState=Vt,ie.innerMode=Un,ie.commands=Zl,ie.keyMap=vu,ie.keyName=ch,ie.isModifierKey=Vd,ie.lookupKey=Du,ie.normalizeKeyMap=kh,ie.StringStream=yt,ie.SharedTextMarker=Lc,ie.TextMarker=pn,ie.LineWidget=gl,ie.e_preventDefault=xi,ie.e_stopPropagation=Mi,ie.e_stop=Ri,ie.addClass=dn,ie.contains=$t,ie.rmClass=We,ie.keyNames=mu}Uf(ls),he(ls);var Yn="iter insert remove copy getEditor constructor".split(" ");for(var Ur in Gl.prototype)Gl.prototype.hasOwnProperty(Ur)&>(Yn,Ur)<0&&(ls.prototype[Ur]=function(ie){return function(){return ie.apply(this.doc,arguments)}}(Gl.prototype[Ur]));return li(Gl),ls.inputStyles={textarea:Cn,contenteditable:He},ls.defineMode=function(ie){!ls.defaults.mode&&ie!="null"&&(ls.defaults.mode=ie),Io.apply(this,arguments)},ls.defineMIME=Oi,ls.defineMode("null",function(){return{token:function(ie){return ie.skipToEnd()}}}),ls.defineMIME("text/plain","null"),ls.defineExtension=function(ie,ae){ls.prototype[ie]=ae},ls.defineDocExtension=function(ie,ae){Gl.prototype[ie]=ae},ls.fromTextArea=ci,si(ls),ls.version="5.58.2",ls})},25419:function(_e,be,oe){(function(se){se(oe(89780),oe(15525),oe(98101))})(function(se){"use strict";se.defineMode("markdown",function(Ce,we){var Ie=se.getMode(Ce,"text/html"),De=Ie.name=="null";function Ke(it){if(se.findModeByName){var Ve=se.findModeByName(it);Ve&&(it=Ve.mime||Ve.mimes[0])}var gt=se.getMode(Ce,it);return gt.name=="null"?null:gt}we.highlightFormatting===void 0&&(we.highlightFormatting=!1),we.maxBlockquoteDepth===void 0&&(we.maxBlockquoteDepth=0),we.taskLists===void 0&&(we.taskLists=!1),we.strikethrough===void 0&&(we.strikethrough=!1),we.emoji===void 0&&(we.emoji=!1),we.fencedCodeBlockHighlighting===void 0&&(we.fencedCodeBlockHighlighting=!0),we.fencedCodeBlockDefaultMode===void 0&&(we.fencedCodeBlockDefaultMode="text/plain"),we.xml===void 0&&(we.xml=!0),we.tokenTypeOverrides===void 0&&(we.tokenTypeOverrides={});var Ee={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var et in Ee)Ee.hasOwnProperty(et)&&we.tokenTypeOverrides[et]&&(Ee[et]=we.tokenTypeOverrides[et]);var Je=/^([*\-_])(?:\s*\1){2,}\s*$/,Ye=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,tt=/^\[(x| )\](?=\s)/i,ht=we.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,kt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ze=/^[^#!\[\]*_\\<>` "'(~:]+/,ee=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ne=/^\s*\[[^\]]+?\]:.*$/,ge=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,ue=" ";function me(it,Ve,gt){return Ve.f=Ve.inline=gt,gt(it,Ve)}function Se(it,Ve,gt){return Ve.f=Ve.block=gt,gt(it,Ve)}function Ne(it){return!it||!/\S/.test(it.string)}function ke(it){if(it.linkTitle=!1,it.linkHref=!1,it.linkText=!1,it.em=!1,it.strong=!1,it.strikethrough=!1,it.quote=0,it.indentedCode=!1,it.f==We){var Ve=De;if(!Ve){var gt=se.innerMode(Ie,it.htmlState);Ve=gt.mode.name=="xml"&>.state.tagStart===null&&!gt.state.context&>.state.tokenize.isInText}Ve&&(it.f=Mt,it.block=Te,it.htmlState=null)}return it.trailingSpace=0,it.trailingSpaceNewLine=!1,it.prevLine=it.thisLine,it.thisLine={stream:null},null}function Te(it,Ve){var gt=it.column()===Ve.indentation,Bt=Ne(Ve.prevLine.stream),sn=Ve.indentedCode,It=Ve.prevLine.hr,en=Ve.list!==!1,En=(Ve.listStack[Ve.listStack.length-1]||0)+3;Ve.indentedCode=!1;var ei=Ve.indentation;if(Ve.indentationDiff===null&&(Ve.indentationDiff=Ve.indentation,en)){for(Ve.list=null;ei=4&&(sn||Ve.prevLine.fencedCodeEnd||Ve.prevLine.header||Bt))return it.skipToEnd(),Ve.indentedCode=!0,Ee.code;if(it.eatSpace())return null;if(gt&&Ve.indentation<=En&&(jt=it.match(ht))&&jt[1].length<=6)return Ve.quote=0,Ve.header=jt[1].length,Ve.thisLine.header=!0,we.highlightFormatting&&(Ve.formatting="header"),Ve.f=Ve.inline,st(Ve);if(Ve.indentation<=En&&it.eat(">"))return Ve.quote=gt?1:Ve.quote+1,we.highlightFormatting&&(Ve.formatting="quote"),it.eatSpace(),st(Ve);if(!Kn&&!Ve.setext&>&&Ve.indentation<=En&&(jt=it.match(Ye))){var Nn=jt[1]?"ol":"ul";return Ve.indentation=ei+it.current().length,Ve.list=!0,Ve.quote=0,Ve.listStack.push(Ve.indentation),Ve.em=!1,Ve.strong=!1,Ve.code=!1,Ve.strikethrough=!1,we.taskLists&&it.match(tt,!1)&&(Ve.taskList=!0),Ve.f=Ve.inline,we.highlightFormatting&&(Ve.formatting=["list","list-"+Nn]),st(Ve)}else{if(gt&&Ve.indentation<=En&&(jt=it.match(ee,!0)))return Ve.quote=0,Ve.fencedEndRE=new RegExp(jt[1]+"+ *$"),Ve.localMode=we.fencedCodeBlockHighlighting&&Ke(jt[2]||we.fencedCodeBlockDefaultMode),Ve.localMode&&(Ve.localState=se.startState(Ve.localMode)),Ve.f=Ve.block=$e,we.highlightFormatting&&(Ve.formatting="code-block"),Ve.code=-1,st(Ve);if(Ve.setext||(!An||!en)&&!Ve.quote&&Ve.list===!1&&!Ve.code&&!Kn&&!ne.test(it.string)&&(jt=it.lookAhead(1))&&(jt=jt.match(kt)))return Ve.setext?(Ve.header=Ve.setext,Ve.setext=0,it.skipToEnd(),we.highlightFormatting&&(Ve.formatting="header")):(Ve.header=jt[0].charAt(0)=="="?1:2,Ve.setext=Ve.header),Ve.thisLine.header=!0,Ve.f=Ve.inline,st(Ve);if(Kn)return it.skipToEnd(),Ve.hr=!0,Ve.thisLine.hr=!0,Ee.hr;if(it.peek()==="[")return me(it,Ve,zt)}return me(it,Ve,Ve.inline)}function We(it,Ve){var gt=Ie.token(it,Ve.htmlState);if(!De){var Bt=se.innerMode(Ie,Ve.htmlState);(Bt.mode.name=="xml"&&Bt.state.tagStart===null&&!Bt.state.context&&Bt.state.tokenize.isInText||Ve.md_inside&&it.current().indexOf(">")>-1)&&(Ve.f=Mt,Ve.block=Te,Ve.htmlState=null)}return gt}function $e(it,Ve){var gt=Ve.listStack[Ve.listStack.length-1]||0,Bt=Ve.indentation=it.quote?Ve.push(Ee.formatting+"-"+it.formatting[gt]+"-"+it.quote):Ve.push("error"))}if(it.taskOpen)return Ve.push("meta"),Ve.length?Ve.join(" "):null;if(it.taskClosed)return Ve.push("property"),Ve.length?Ve.join(" "):null;if(it.linkHref?Ve.push(Ee.linkHref,"url"):(it.strong&&Ve.push(Ee.strong),it.em&&Ve.push(Ee.em),it.strikethrough&&Ve.push(Ee.strikethrough),it.emoji&&Ve.push(Ee.emoji),it.linkText&&Ve.push(Ee.linkText),it.code&&Ve.push(Ee.code),it.image&&Ve.push(Ee.image),it.imageAltText&&Ve.push(Ee.imageAltText,"link"),it.imageMarker&&Ve.push(Ee.imageMarker)),it.header&&Ve.push(Ee.header,Ee.header+"-"+it.header),it.quote&&(Ve.push(Ee.quote),!we.maxBlockquoteDepth||we.maxBlockquoteDepth>=it.quote?Ve.push(Ee.quote+"-"+it.quote):Ve.push(Ee.quote+"-"+we.maxBlockquoteDepth)),it.list!==!1){var Bt=(it.listStack.length-1)%3;Bt?Bt===1?Ve.push(Ee.list2):Ve.push(Ee.list3):Ve.push(Ee.list1)}return it.trailingSpaceNewLine?Ve.push("trailing-space-new-line"):it.trailingSpace&&Ve.push("trailing-space-"+(it.trailingSpace%2?"a":"b")),Ve.length?Ve.join(" "):null}function ut(it,Ve){if(it.match(ze,!0))return st(Ve)}function Mt(it,Ve){var gt=Ve.text(it,Ve);if(typeof gt!="undefined")return gt;if(Ve.list)return Ve.list=null,st(Ve);if(Ve.taskList){var Bt=it.match(tt,!0)[1]===" ";return Bt?Ve.taskOpen=!0:Ve.taskClosed=!0,we.highlightFormatting&&(Ve.formatting="task"),Ve.taskList=!1,st(Ve)}if(Ve.taskOpen=!1,Ve.taskClosed=!1,Ve.header&&it.match(/^#+$/,!0))return we.highlightFormatting&&(Ve.formatting="header"),st(Ve);var sn=it.next();if(Ve.linkTitle){Ve.linkTitle=!1;var It=sn;sn==="("&&(It=")"),It=(It+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var en="^\\s*(?:[^"+It+"\\\\]+|\\\\\\\\|\\\\.)"+It;if(it.match(new RegExp(en),!0))return Ee.linkHref}if(sn==="`"){var En=Ve.formatting;we.highlightFormatting&&(Ve.formatting="code"),it.eatWhile("`");var ei=it.current().length;if(Ve.code==0&&(!Ve.quote||ei==1))return Ve.code=ei,st(Ve);if(ei==Ve.code){var An=st(Ve);return Ve.code=0,An}else return Ve.formatting=En,st(Ve)}else if(Ve.code)return st(Ve);if(sn==="\\"&&(it.next(),we.highlightFormatting)){var Kn=st(Ve),jt=Ee.formatting+"-escape";return Kn?Kn+" "+jt:jt}if(sn==="!"&&it.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ve.imageMarker=!0,Ve.image=!0,we.highlightFormatting&&(Ve.formatting="image"),st(Ve);if(sn==="["&&Ve.imageMarker&&it.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ve.imageMarker=!1,Ve.imageAltText=!0,we.highlightFormatting&&(Ve.formatting="image"),st(Ve);if(sn==="]"&&Ve.imageAltText){we.highlightFormatting&&(Ve.formatting="image");var Kn=st(Ve);return Ve.imageAltText=!1,Ve.image=!1,Ve.inline=Ve.f=$t,Kn}if(sn==="["&&!Ve.image)return Ve.linkText&&it.match(/^.*?\]/)||(Ve.linkText=!0,we.highlightFormatting&&(Ve.formatting="link")),st(Ve);if(sn==="]"&&Ve.linkText){we.highlightFormatting&&(Ve.formatting="link");var Kn=st(Ve);return Ve.linkText=!1,Ve.inline=Ve.f=it.match(/\(.*?\)| ?\[.*?\]/,!1)?$t:Mt,Kn}if(sn==="<"&&it.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ve.f=Ve.inline=nt,we.highlightFormatting&&(Ve.formatting="link");var Kn=st(Ve);return Kn?Kn+=" ":Kn="",Kn+Ee.linkInline}if(sn==="<"&&it.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ve.f=Ve.inline=nt,we.highlightFormatting&&(Ve.formatting="link");var Kn=st(Ve);return Kn?Kn+=" ":Kn="",Kn+Ee.linkEmail}if(we.xml&&sn==="<"&&it.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Nn=it.string.indexOf(">",it.pos);if(Nn!=-1){var Gn=it.string.substring(it.start,Nn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Gn)&&(Ve.md_inside=!0)}return it.backUp(1),Ve.htmlState=se.startState(Ie),Se(it,Ve,We)}if(we.xml&&sn==="<"&&it.match(/^\/\w*?>/))return Ve.md_inside=!1,"tag";if(sn==="*"||sn==="_"){for(var ii=1,Sn=it.pos==1?" ":it.string.charAt(it.pos-2);ii<3&&it.eat(sn);)ii++;var Yt=it.peek()||" ",Zt=!/\s/.test(Yt)&&(!ge.test(Yt)||/\s/.test(Sn)||ge.test(Sn)),St=!/\s/.test(Sn)&&(!ge.test(Sn)||/\s/.test(Yt)||ge.test(Yt)),rt=null,Ft=null;if(ii%2&&(!Ve.em&&Zt&&(sn==="*"||!St||ge.test(Sn))?rt=!0:Ve.em==sn&&St&&(sn==="*"||!Zt||ge.test(Yt))&&(rt=!1)),ii>1&&(!Ve.strong&&Zt&&(sn==="*"||!St||ge.test(Sn))?Ft=!0:Ve.strong==sn&&St&&(sn==="*"||!Zt||ge.test(Yt))&&(Ft=!1)),Ft!=null||rt!=null){we.highlightFormatting&&(Ve.formatting=rt==null?"strong":Ft==null?"em":"strong em"),rt===!0&&(Ve.em=sn),Ft===!0&&(Ve.strong=sn);var An=st(Ve);return rt===!1&&(Ve.em=!1),Ft===!1&&(Ve.strong=!1),An}}else if(sn===" "&&(it.eat("*")||it.eat("_"))){if(it.peek()===" ")return st(Ve);it.backUp(1)}if(we.strikethrough){if(sn==="~"&&it.eatWhile(sn)){if(Ve.strikethrough){we.highlightFormatting&&(Ve.formatting="strikethrough");var An=st(Ve);return Ve.strikethrough=!1,An}else if(it.match(/^[^\s]/,!1))return Ve.strikethrough=!0,we.highlightFormatting&&(Ve.formatting="strikethrough"),st(Ve)}else if(sn===" "&&it.match(/^~~/,!0)){if(it.peek()===" ")return st(Ve);it.backUp(2)}}if(we.emoji&&sn===":"&&it.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ve.emoji=!0,we.highlightFormatting&&(Ve.formatting="emoji");var Ot=st(Ve);return Ve.emoji=!1,Ot}return sn===" "&&(it.match(/^ +$/,!1)?Ve.trailingSpace++:Ve.trailingSpace&&(Ve.trailingSpaceNewLine=!0)),st(Ve)}function nt(it,Ve){var gt=it.next();if(gt===">"){Ve.f=Ve.inline=Mt,we.highlightFormatting&&(Ve.formatting="link");var Bt=st(Ve);return Bt?Bt+=" ":Bt="",Bt+Ee.linkInline}return it.match(/^[^>]+/,!0),Ee.linkInline}function $t(it,Ve){if(it.eatSpace())return null;var gt=it.next();return gt==="("||gt==="["?(Ve.f=Ve.inline=dn(gt==="("?")":"]"),we.highlightFormatting&&(Ve.formatting="link-string"),Ve.linkHref=!0,st(Ve)):"error"}var Pt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function dn(it){return function(Ve,gt){var Bt=Ve.next();if(Bt===it){gt.f=gt.inline=Mt,we.highlightFormatting&&(gt.formatting="link-string");var sn=st(gt);return gt.linkHref=!1,sn}return Ve.match(Pt[it]),gt.linkHref=!0,st(gt)}}function zt(it,Ve){return it.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ve.f=Xt,it.next(),we.highlightFormatting&&(Ve.formatting="link"),Ve.linkText=!0,st(Ve)):me(it,Ve,Mt)}function Xt(it,Ve){if(it.match(/^\]:/,!0)){Ve.f=Ve.inline=fn,we.highlightFormatting&&(Ve.formatting="link");var gt=st(Ve);return Ve.linkText=!1,gt}return it.match(/^([^\]\\]|\\.)+/,!0),Ee.linkText}function fn(it,Ve){return it.eatSpace()?null:(it.match(/^[^\s]+/,!0),it.peek()===void 0?Ve.linkTitle=!0:it.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ve.f=Ve.inline=Mt,Ee.linkHref+" url")}var an={startState:function(){return{f:Te,prevLine:{stream:null},thisLine:{stream:null},block:Te,htmlState:null,indentation:0,inline:Mt,text:ut,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(it){return{f:it.f,prevLine:it.prevLine,thisLine:it.thisLine,block:it.block,htmlState:it.htmlState&&se.copyState(Ie,it.htmlState),indentation:it.indentation,localMode:it.localMode,localState:it.localMode?se.copyState(it.localMode,it.localState):null,inline:it.inline,text:it.text,formatting:!1,linkText:it.linkText,linkTitle:it.linkTitle,linkHref:it.linkHref,code:it.code,em:it.em,strong:it.strong,strikethrough:it.strikethrough,emoji:it.emoji,header:it.header,setext:it.setext,hr:it.hr,taskList:it.taskList,list:it.list,listStack:it.listStack.slice(0),quote:it.quote,indentedCode:it.indentedCode,trailingSpace:it.trailingSpace,trailingSpaceNewLine:it.trailingSpaceNewLine,md_inside:it.md_inside,fencedEndRE:it.fencedEndRE}},token:function(it,Ve){if(Ve.formatting=!1,it!=Ve.thisLine.stream){if(Ve.header=0,Ve.hr=!1,it.match(/^\s*$/,!0))return ke(Ve),null;if(Ve.prevLine=Ve.thisLine,Ve.thisLine={stream:it},Ve.taskList=!1,Ve.trailingSpace=0,Ve.trailingSpaceNewLine=!1,!Ve.localState&&(Ve.f=Ve.block,Ve.f!=We)){var gt=it.match(/^\s*/,!0)[0].replace(/\t/g,ue).length;if(Ve.indentation=gt,Ve.indentationDiff=null,gt>0)return null}}return Ve.f(it,Ve)},innerMode:function(it){return it.block==We?{state:it.htmlState,mode:Ie}:it.localState?{state:it.localState,mode:it.localMode}:{state:it,mode:an}},indent:function(it,Ve,gt){return it.block==We&&Ie.indent?Ie.indent(it.htmlState,Ve,gt):it.localState&&it.localMode.indent?it.localMode.indent(it.localState,Ve,gt):se.Pass},blankLine:ke,getType:st,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return an},"xml"),se.defineMIME("text/markdown","markdown"),se.defineMIME("text/x-markdown","markdown")})},98101:function(_e,be,oe){(function(se){se(oe(89780))})(function(se){"use strict";se.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Ce=0;Ce-1&&Ie.substring(Ee+1,Ie.length);if(et)return se.findModeByExtension(et)},se.findModeByName=function(Ie){Ie=Ie.toLowerCase();for(var De=0;De0?ze.cmdState[ze.cmdState.length-1]:null}function Ke(ze){var ee=ze.cmdState.pop();ee&&ee.closeBracket()}function Ee(ze){for(var ee=ze.cmdState,ne=ee.length-1;ne>=0;ne--){var ge=ee[ne];if(ge.name!="DEFAULT")return ge}return{styleIdentifier:function(){return null}}}function et(ze,ee,ne){return function(){this.name=ze,this.bracketNo=0,this.style=ee,this.styles=ne,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Je={};Je.importmodule=et("importmodule","tag",["string","builtin"]),Je.documentclass=et("documentclass","tag",["","atom"]),Je.usepackage=et("usepackage","tag",["atom"]),Je.begin=et("begin","tag",["atom"]),Je.end=et("end","tag",["atom"]),Je.label=et("label","tag",["atom"]),Je.ref=et("ref","tag",["atom"]),Je.eqref=et("eqref","tag",["atom"]),Je.cite=et("cite","tag",["atom"]),Je.bibitem=et("bibitem","tag",["atom"]),Je.Bibitem=et("Bibitem","tag",["atom"]),Je.RBibitem=et("RBibitem","tag",["atom"]),Je.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Ye(ze,ee){ze.f=ee}function tt(ze,ee){var ne;if(ze.match(/^\\[a-zA-Z@]+/)){var ge=ze.current().slice(1);return ne=Je.hasOwnProperty(ge)?Je[ge]:Je.DEFAULT,ne=new ne,Ie(ee,ne),Ye(ee,kt),ne.style}if(ze.match(/^\\[$&%#{}_]/)||ze.match(/^\\[,;!\/\\]/))return"tag";if(ze.match("\\["))return Ye(ee,function(me,Se){return ht(me,Se,"\\]")}),"keyword";if(ze.match("\\("))return Ye(ee,function(me,Se){return ht(me,Se,"\\)")}),"keyword";if(ze.match("$$"))return Ye(ee,function(me,Se){return ht(me,Se,"$$")}),"keyword";if(ze.match("$"))return Ye(ee,function(me,Se){return ht(me,Se,"$")}),"keyword";var ue=ze.next();if(ue=="%")return ze.skipToEnd(),"comment";if(ue=="}"||ue=="]"){if(ne=De(ee),ne)ne.closeBracket(ue),Ye(ee,kt);else return"error";return"bracket"}else return ue=="{"||ue=="["?(ne=Je.DEFAULT,ne=new ne,Ie(ee,ne),"bracket"):/\d/.test(ue)?(ze.eatWhile(/[\w.%]/),"atom"):(ze.eatWhile(/[\w\-_]/),ne=Ee(ee),ne.name=="begin"&&(ne.argument=ze.current()),ne.styleIdentifier())}function ht(ze,ee,ne){if(ze.eatSpace())return null;if(ne&&ze.match(ne))return Ye(ee,tt),"keyword";if(ze.match(/^\\[a-zA-Z@]+/))return"tag";if(ze.match(/^[a-zA-Z]+/))return"variable-2";if(ze.match(/^\\[$&%#{}_]/)||ze.match(/^\\[,;!\/]/)||ze.match(/^[\^_&]/))return"tag";if(ze.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ze.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var ge=ze.next();return ge=="{"||ge=="}"||ge=="["||ge=="]"||ge=="("||ge==")"?"bracket":ge=="%"?(ze.skipToEnd(),"comment"):"error"}function kt(ze,ee){var ne=ze.peek(),ge;return ne=="{"||ne=="["?(ge=De(ee),ge.openBracket(ne),ze.eat(ne),Ye(ee,tt),"bracket"):/[ \t\r]/.test(ne)?(ze.eat(ne),null):(Ye(ee,tt),Ke(ee),tt(ze,ee))}return{startState:function(){var ze=we.inMathMode?function(ee,ne){return ht(ee,ne)}:tt;return{cmdState:[],f:ze}},copyState:function(ze){return{cmdState:ze.cmdState.slice(),f:ze.f}},token:function(ze,ee){return ee.f(ze,ee)},blankLine:function(ze){ze.f=tt,ze.cmdState.length=0},lineComment:"%"}}),se.defineMIME("text/x-stex","stex"),se.defineMIME("text/x-latex","stex")})},15525:function(_e,be,oe){(function(se){se(oe(89780))})(function(se){"use strict";var Ce={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},we={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};se.defineMode("xml",function(Ie,De){var Ke=Ie.indentUnit,Ee={},et=De.htmlMode?Ce:we;for(var Je in et)Ee[Je]=et[Je];for(var Je in De)Ee[Je]=De[Je];var Ye,tt;function ht(nt,$t){function Pt(Xt){return $t.tokenize=Xt,Xt(nt,$t)}var dn=nt.next();if(dn=="<")return nt.eat("!")?nt.eat("[")?nt.match("CDATA[")?Pt(ee("atom","]]>")):null:nt.match("--")?Pt(ee("comment","-->")):nt.match("DOCTYPE",!0,!0)?(nt.eatWhile(/[\w\._\-]/),Pt(ne(1))):null:nt.eat("?")?(nt.eatWhile(/[\w\._\-]/),$t.tokenize=ee("meta","?>"),"meta"):(Ye=nt.eat("/")?"closeTag":"openTag",$t.tokenize=kt,"tag bracket");if(dn=="&"){var zt;return nt.eat("#")?nt.eat("x")?zt=nt.eatWhile(/[a-fA-F\d]/)&&nt.eat(";"):zt=nt.eatWhile(/[\d]/)&&nt.eat(";"):zt=nt.eatWhile(/[\w\.\-:]/)&&nt.eat(";"),zt?"atom":"error"}else return nt.eatWhile(/[^&<]/),null}ht.isInText=!0;function kt(nt,$t){var Pt=nt.next();if(Pt==">"||Pt=="/"&&nt.eat(">"))return $t.tokenize=ht,Ye=Pt==">"?"endTag":"selfcloseTag","tag bracket";if(Pt=="=")return Ye="equals",null;if(Pt=="<"){$t.tokenize=ht,$t.state=Se,$t.tagName=$t.tagStart=null;var dn=$t.tokenize(nt,$t);return dn?dn+" tag error":"tag error"}else return/[\'\"]/.test(Pt)?($t.tokenize=ze(Pt),$t.stringStartCol=nt.column(),$t.tokenize(nt,$t)):(nt.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ze(nt){var $t=function(Pt,dn){for(;!Pt.eol();)if(Pt.next()==nt){dn.tokenize=kt;break}return"string"};return $t.isInAttribute=!0,$t}function ee(nt,$t){return function(Pt,dn){for(;!Pt.eol();){if(Pt.match($t)){dn.tokenize=ht;break}Pt.next()}return nt}}function ne(nt){return function($t,Pt){for(var dn;(dn=$t.next())!=null;){if(dn=="<")return Pt.tokenize=ne(nt+1),Pt.tokenize($t,Pt);if(dn==">")if(nt==1){Pt.tokenize=ht;break}else return Pt.tokenize=ne(nt-1),Pt.tokenize($t,Pt)}return"meta"}}function ge(nt,$t,Pt){this.prev=nt.context,this.tagName=$t,this.indent=nt.indented,this.startOfLine=Pt,(Ee.doNotIndent.hasOwnProperty($t)||nt.context&&nt.context.noIndent)&&(this.noIndent=!0)}function ue(nt){nt.context&&(nt.context=nt.context.prev)}function me(nt,$t){for(var Pt;;){if(!nt.context||(Pt=nt.context.tagName,!Ee.contextGrabbers.hasOwnProperty(Pt)||!Ee.contextGrabbers[Pt].hasOwnProperty($t)))return;ue(nt)}}function Se(nt,$t,Pt){return nt=="openTag"?(Pt.tagStart=$t.column(),Ne):nt=="closeTag"?ke:Se}function Ne(nt,$t,Pt){return nt=="word"?(Pt.tagName=$t.current(),tt="tag",$e):Ee.allowMissingTagName&&nt=="endTag"?(tt="tag bracket",$e(nt,$t,Pt)):(tt="error",Ne)}function ke(nt,$t,Pt){if(nt=="word"){var dn=$t.current();return Pt.context&&Pt.context.tagName!=dn&&Ee.implicitlyClosed.hasOwnProperty(Pt.context.tagName)&&ue(Pt),Pt.context&&Pt.context.tagName==dn||Ee.matchClosing===!1?(tt="tag",Te):(tt="tag error",We)}else return Ee.allowMissingTagName&&nt=="endTag"?(tt="tag bracket",Te(nt,$t,Pt)):(tt="error",We)}function Te(nt,$t,Pt){return nt!="endTag"?(tt="error",Te):(ue(Pt),Se)}function We(nt,$t,Pt){return tt="error",Te(nt,$t,Pt)}function $e(nt,$t,Pt){if(nt=="word")return tt="attribute",st;if(nt=="endTag"||nt=="selfcloseTag"){var dn=Pt.tagName,zt=Pt.tagStart;return Pt.tagName=Pt.tagStart=null,nt=="selfcloseTag"||Ee.autoSelfClosers.hasOwnProperty(dn)?me(Pt,dn):(me(Pt,dn),Pt.context=new ge(Pt,dn,zt==Pt.indented)),Se}return tt="error",$e}function st(nt,$t,Pt){return nt=="equals"?ut:(Ee.allowMissing||(tt="error"),$e(nt,$t,Pt))}function ut(nt,$t,Pt){return nt=="string"?Mt:nt=="word"&&Ee.allowUnquoted?(tt="string",$e):(tt="error",$e(nt,$t,Pt))}function Mt(nt,$t,Pt){return nt=="string"?Mt:$e(nt,$t,Pt)}return{startState:function(nt){var $t={tokenize:ht,state:Se,indented:nt||0,tagName:null,tagStart:null,context:null};return nt!=null&&($t.baseIndent=nt),$t},token:function(nt,$t){if(!$t.tagName&&nt.sol()&&($t.indented=nt.indentation()),nt.eatSpace())return null;Ye=null;var Pt=$t.tokenize(nt,$t);return(Pt||Ye)&&Pt!="comment"&&(tt=null,$t.state=$t.state(Ye||Pt,nt,$t),tt&&(Pt=tt=="error"?Pt+" error":tt)),Pt},indent:function(nt,$t,Pt){var dn=nt.context;if(nt.tokenize.isInAttribute)return nt.tagStart==nt.indented?nt.stringStartCol+1:nt.indented+Ke;if(dn&&dn.noIndent)return se.Pass;if(nt.tokenize!=kt&&nt.tokenize!=ht)return Pt?Pt.match(/^(\s*)/)[0].length:0;if(nt.tagName)return Ee.multilineTagIndentPastTag!==!1?nt.tagStart+nt.tagName.length+2:nt.tagStart+Ke*(Ee.multilineTagIndentFactor||1);if(Ee.alignCDATA&&/$/,blockCommentStart:"",configuration:Ee.htmlMode?"html":"xml",helperType:Ee.htmlMode?"html":"xml",skipAttribute:function(nt){nt.state==ut&&(nt.state=$e)},xmlCurrentTag:function(nt){return nt.tagName?{name:nt.tagName,close:nt.type=="closeTag"}:null},xmlCurrentContext:function(nt){for(var $t=[],Pt=nt.context;Pt;Pt=Pt.prev)Pt.tagName&&$t.push(Pt.tagName);return $t.reverse()}}}),se.defineMIME("text/xml","xml"),se.defineMIME("application/xml","xml"),se.mimeModes.hasOwnProperty("text/html")||se.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(_e,be){"use strict";var oe;be.Q=Ie,oe=De;var se=",",Ce=" ",we="";function Ie(Ke){for(var Ee=[],et=String(Ke||we),Je=et.indexOf(se),Ye=0,tt=!1,ht;!tt;)Je===-1&&(Je=et.length,tt=!0),ht=et.slice(Ye,Je).trim(),(ht||!tt)&&Ee.push(ht),Ye=Je+1,Je=et.indexOf(se,Ye);return Ee}function De(Ke,Ee){var et=Ee||{},Je=et.padLeft===!1?we:Ce,Ye=et.padRight?Ce:we;return Ke[Ke.length-1]===we&&(Ke=Ke.concat(we)),Ke.join(Ye+se+Je).trim()}},58847:function(_e){"use strict";var be=Object.prototype.hasOwnProperty,oe=Object.prototype.toString,se=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,we=function(et){return typeof Array.isArray=="function"?Array.isArray(et):oe.call(et)==="[object Array]"},Ie=function(et){if(!et||oe.call(et)!=="[object Object]")return!1;var Je=be.call(et,"constructor"),Ye=et.constructor&&et.constructor.prototype&&be.call(et.constructor.prototype,"isPrototypeOf");if(et.constructor&&!Je&&!Ye)return!1;var tt;for(tt in et);return typeof tt=="undefined"||be.call(et,tt)},De=function(et,Je){se&&Je.name==="__proto__"?se(et,Je.name,{enumerable:!0,configurable:!0,value:Je.newValue,writable:!0}):et[Je.name]=Je.newValue},Ke=function(et,Je){if(Je==="__proto__")if(be.call(et,Je)){if(Ce)return Ce(et,Je).value}else return;return et[Je]};_e.exports=function Ee(){var et,Je,Ye,tt,ht,kt,ze=arguments[0],ee=1,ne=arguments.length,ge=!1;for(typeof ze=="boolean"&&(ge=ze,ze=arguments[1]||{},ee=2),(ze==null||typeof ze!="object"&&typeof ze!="function")&&(ze={});eex&&(x=Math.max(0,E+x)),(b==null||b>E)&&(b=E),b=Number(b),0>b&&(b=Math.max(0,E+b)),x=Number(x||0);x=a.length?a.push(x):a.splice(y,0,x):bt("Cannot insert an object into an HTMLCollection or NodeList: "+x+" at "+y)}function wn(a,y){Array.isArray(a)?y>=a.length?a.pop():a.splice(y,1):bt("Cannot remove an object from an HTMLCollection or NodeList at "+y)}function gn(){var a=zi.pop();return a===void 0?[]:a}function kn(a){a.length=0,zi.push(a)}function Bn(a){if(typeof a=="function"){if(a.className)return a.className;if(a.name)return a.name;var y=a.toString();if(y=y.substring(9,y.indexOf("(")).trim(),y!=="")return a._className=y}else if(Gt(a)&&a.constructor)return Bn(a.constructor);return typeof a}function Vn(a){var y=a;return Gt(a)&&(a.text?y=a.text:a.name?y=a.name:a.key!==void 0?y=a.key:a.id!==void 0?y=a.id:a.constructor===Object&&(a.Text?y=a.Text:a.Name?y=a.Name:a.Key!==void 0?y=a.Key:a.Id!==void 0?y=a.Id:a.ID!==void 0&&(y=a.ID))),y===void 0?"undefined":y===null?"null":y.toString()}function Jn(a,y){if(a.hasOwnProperty(y))return!0;for(a=Object.getPrototypeOf(a);a&&a!==Function;){if(a.hasOwnProperty(y))return!0;var x=a.CA;if(x&&x[y])return!0;a=Object.getPrototypeOf(a)}return!1}function Wn(a,y,x){Object.defineProperty(pa.prototype,a,{get:y,set:x})}function gi(a){for(var y=[],x=0;256>x;x++)y["0123456789abcdef".charAt(x>>4)+"0123456789abcdef".charAt(x&15)]=String.fromCharCode(x);a.length%2&&(a="0"+a),x=[];for(var b=0,E=0;Ex;x++)y[x]=x;for(x=b=0;256>x;x++)b=(b+y[x]+119)%256,E=y[x],y[x]=y[b],y[b]=E;b=x=0;for(var z="",te=0;te-1||z.indexOf("\xA9 1998-2021 Northwoods Software")>-1||z.indexOf("Not for distribution or production use")>-1||z.indexOf("gojs.net")>-1?"":z}var Fi=yt.navigator!==void 0&&0this.key)return!1;a=a.s;var y=a.length,x=++this.Za,b=this.qf;if(b!==null)for(;xthis.key)return!1;var y=--this.Za;return 0<=y?(this.key=y,this.value=a.s[y],!0):(this.de(),!1)},Ir.prototype.Ad=function(){return this.next()},Ir.prototype.first=function(){var a=this.Bb;this.qa=a.Ja;var y=a.s;return this.Za=a=y.length-1,0<=a?(y=y[a],this.key=a,this.value=y):null},Ir.prototype.any=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(a(y[x]))return!0;return!1},Ir.prototype.all=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)if(!a(y[x]))return!1;return!0},Ir.prototype.each=function(a){var y=this.Bb;y.Hg=null,y=y.s;var x=y.length;for(this.Za=x,--x;0<=x;x--)a(y[x]);return this},Ir.prototype.map=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--)x.push(a(y[b]));return a=new Ht,a.s=x,a.xb(),a.iterator},Ir.prototype.filter=function(a){var y=this.Bb;y.Hg=null;var x=[];y=y.s;var b=y.length;for(this.Za=b,--b;0<=b;b--){var E=y[b];a(E)&&x.push(E)}return a=new Ht,a.s=x,a.xb(),a.iterator},Ir.prototype.de=function(){this.key=-1,this.value=null,this.qa=-1,this.Bb.Hg=this},Ir.prototype.toString=function(){return"ListIteratorBackwards("+this.Za+"/"+this.Bb.count+")"},Nt.Object.defineProperties(Ir.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.Bb.s.length}}}),Ir.prototype.first=Ir.prototype.first,Ir.prototype.hasNext=Ir.prototype.Ad,Ir.prototype.next=Ir.prototype.next,Ir.prototype.reset=Ir.prototype.reset,Ir.className="ListIteratorBackwards";function Ht(a){kr(this),this._isFrozen=!1,this.s=[],this.Ja=0,this.Hg=this.Sa=null,typeof a=="string"&&bt("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ue=Ht.prototype,Ue.xb=function(){var a=this.Ja;a++,999999999a||a>=y.length)&&Ln(a,"0 <= i < length",Ht,"elt:i"),y[a]},Ue.get=function(a){return this.M(a)},Ue.cd=function(a,y){var x=this.s;(0>a||a>=x.length)&&Ln(a,"0 <= i < length",Ht,"setElt:i"),this._isFrozen&&Ut(this,a),x[a]=y},Ue.set=function(a,y){this.cd(a,y)},Ue.first=function(){var a=this.s;return a.length===0?null:a[0]},Ue.jc=function(){var a=this.s,y=a.length;return 0a&&Ln(a,">= 0",Ht,"insertAt:i"),this._isFrozen&&Ut(this,a);var x=this.s;a>=x.length?x.push(y):x.splice(a,0,y),this.xb()},Ue.remove=function(a){if(a===null)return!1;this._isFrozen&&Ut(this,a);var y=this.s;return a=y.indexOf(a),a===-1?!1:(a===y.length-1?y.pop():y.splice(a,1),this.xb(),!0)},Ue.delete=function(a){return this.remove(a)},Ue.mb=function(a){var y=this.s;(0>a||a>=y.length)&&Ln(a,"0 <= i < length",Ht,"removeAt:i"),this._isFrozen&&Ut(this,a),a===y.length-1?y.pop():y.splice(a,1),this.xb()},Ue.removeRange=function(a,y){var x=this.s,b=x.length;if(0>a)a=0;else if(a>=b)return this;if(0>y)return this;if(y>=b&&(y=b-1),a>y)return this;this._isFrozen&&Ut(this);for(var E=a,z=y+1;z=z)return this;if((0>y||y>=E-1)&&Ln(y,"0 <= from < length",Ht,"sortRange:from"),z===2)return x=b[y],E=b[y+1],0=E)b.sort(a);else for(y=b.slice(0,x),y.sort(a),a=0;a=E)for(x=b.slice(y),x.sort(a),a=y;a=this.s.length)return br;var a=this.Sa;return a!==null?(a.reset(),a):new Hi(this)}},iteratorBackwards:{get:function(){if(0>=this.s.length)return br;var a=this.Hg;return a!==null?(a.reset(),a):new Ir(this)}}}),Ht.prototype.reverse=Ht.prototype.reverse,Ht.prototype.sortRange=Ht.prototype.zi,Ht.prototype.sort=Ht.prototype.sort,Ht.prototype.toSet=Ht.prototype.Iv,Ht.prototype.toArray=Ht.prototype.Fa,Ht.prototype.removeRange=Ht.prototype.removeRange,Ht.prototype.removeAt=Ht.prototype.mb,Ht.prototype.delete=Ht.prototype.delete,Ht.prototype.remove=Ht.prototype.remove,Ht.prototype.insertAt=Ht.prototype.Gb,Ht.prototype.pop=Ht.prototype.pop,Ht.prototype.last=Ht.prototype.jc,Ht.prototype.first=Ht.prototype.first,Ht.prototype.set=Ht.prototype.set,Ht.prototype.setElt=Ht.prototype.cd,Ht.prototype.get=Ht.prototype.get,Ht.prototype.elt=Ht.prototype.M,Ht.prototype.indexOf=Ht.prototype.indexOf,Ht.prototype.has=Ht.prototype.has,Ht.prototype.contains=Ht.prototype.contains,Ht.prototype.clear=Ht.prototype.clear,Ht.prototype.addAll=Ht.prototype.addAll,Ht.prototype.push=Ht.prototype.push,Ht.prototype.add=Ht.prototype.add,Ht.prototype.thaw=Ht.prototype.ka,Ht.prototype.freeze=Ht.prototype.freeze,Ht.className="List";function Kr(a){this.eg=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Kr.prototype.reset=function(){var a=this.eg;a.Sa=null,this.qa=a.Ja,this.sa=null},Kr.prototype.next=function(){var a=this.eg;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},Kr.prototype.Ad=function(){return this.next()},Kr.prototype.first=function(){var a=this.eg;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},Kr.prototype.any=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},Kr.prototype.all=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},Kr.prototype.each=function(a){var y=this.eg;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},Kr.prototype.map=function(a){var y=this.eg;y.Sa=null;var x=new Ht;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},Kr.prototype.filter=function(a){var y=this.eg;y.Sa=null;var x=new Ht;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},Kr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.eg.Sa=this},Kr.prototype.toString=function(){return this.sa!==null?"SetIterator@"+this.sa.value:"SetIterator"},Nt.Object.defineProperties(Kr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Sb}}}),Kr.prototype.first=Kr.prototype.first,Kr.prototype.hasNext=Kr.prototype.Ad,Kr.prototype.next=Kr.prototype.next,Kr.prototype.reset=Kr.prototype.reset,Kr.className="SetIterator";function Fn(a){kr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&bt("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ue=Fn.prototype,Ue.xb=function(){var a=this.Ja;a++,999999999=this.Sb)return br;var a=this.Sa;return a!==null?(a.reset(),a):new Kr(this)}}}),Fn.prototype.toList=Fn.prototype.Hv,Fn.prototype.toArray=Fn.prototype.Fa,Fn.prototype.clear=Fn.prototype.clear,Fn.prototype.retainAll=Fn.prototype.pA,Fn.prototype.removeAll=Fn.prototype.hp,Fn.prototype.delete=Fn.prototype.delete,Fn.prototype.remove=Fn.prototype.remove,Fn.prototype.first=Fn.prototype.first,Fn.prototype.containsAny=Fn.prototype.Ty,Fn.prototype.containsAll=Fn.prototype.Sy,Fn.prototype.has=Fn.prototype.has,Fn.prototype.contains=Fn.prototype.contains,Fn.prototype.addAll=Fn.prototype.addAll,Fn.prototype.add=Fn.prototype.add,Fn.prototype.thaw=Fn.prototype.ka,Fn.prototype.freeze=Fn.prototype.freeze;var po=1;Fn.className="Set",Fn.uniqueHash=kr,Fn.hashIdUnique=Go,Fn.hashId=Dr;function Do(a){this.ma=a,this.qa=a.Ja,this.sa=null}Do.prototype.reset=function(){this.qa=this.ma.Ja,this.sa=null},Do.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=this.key=a=y.key,!0):(this.de(),!1)},Do.prototype.Ad=function(){return this.next()},Do.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.value=this.key=a=a.key):null},Do.prototype.any=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Do.prototype.all=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Do.prototype.each=function(a){var y=this.ma;for(this.sa=null,y=y.ea;y!==null;)a(y.key),y=y.va;return this},Do.prototype.map=function(a){var y=this.ma;this.sa=null;var x=new Ht;for(y=y.ea;y!==null;)x.add(a(y.key)),y=y.va;return x.iterator},Do.prototype.filter=function(a){var y=this.ma;this.sa=null;var x=new Ht;for(y=y.ea;y!==null;){var b=y.key;a(b)&&x.add(b),y=y.va}return x.iterator},Do.prototype.de=function(){this.value=this.key=null,this.qa=-1},Do.prototype.toString=function(){return this.sa!==null?"MapKeySetIterator@"+this.sa.value:"MapKeySetIterator"},Nt.Object.defineProperties(Do.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Do.prototype.first=Do.prototype.first,Do.prototype.hasNext=Do.prototype.Ad,Do.prototype.next=Do.prototype.next,Do.prototype.reset=Do.prototype.reset,Do.className="MapKeySetIterator";function Ji(a){Fn.call(this),kr(this),this._isFrozen=!0,this.ma=a}qt(Ji,Fn),Ue=Ji.prototype,Ue.freeze=function(){return this},Ue.ka=function(){return this},Ue.toString=function(){return"MapKeySet("+this.ma.toString()+")"},Ue.add=function(){bt("This Set is read-only: "+this.toString())},Ue.contains=function(a){return this.ma.contains(a)},Ue.has=function(a){return this.contains(a)},Ue.remove=function(){bt("This Set is read-only: "+this.toString())},Ue.delete=function(a){return this.remove(a)},Ue.clear=function(){bt("This Set is read-only: "+this.toString())},Ue.first=function(){var a=this.ma.ea;return a!==null?a.key:null},Ji.prototype.any=function(a){for(var y=this.ma.ea;y!==null;){if(a(y.key))return!0;y=y.va}return!1},Ji.prototype.all=function(a){for(var y=this.ma.ea;y!==null;){if(!a(y.key))return!1;y=y.va}return!0},Ji.prototype.each=function(a){for(var y=this.ma.ea;y!==null;)a(y.key),y=y.va;return this},Ji.prototype.map=function(a){for(var y=new Fn,x=this.ma.ea;x!==null;)y.add(a(x.key)),x=x.va;return y},Ji.prototype.filter=function(a){for(var y=new Fn,x=this.ma.ea;x!==null;){var b=x.key;a(b)&&y.add(b),x=x.va}return y},Ji.prototype.copy=function(){return new Ji(this.ma)},Ji.prototype.Iv=function(){var a=new Fn,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Ji.prototype.Fa=function(){var a=this.ma.Tb,y=Array(this.ma.Sb),x=0,b;for(b in a)y[x]=a[b].key,x++;return y},Ji.prototype.Hv=function(){var a=new Ht,y=this.ma.Tb,x;for(x in y)a.add(y[x].key);return a},Nt.Object.defineProperties(Ji.prototype,{count:{get:function(){return this.ma.Sb}},size:{get:function(){return this.ma.Sb}},iterator:{get:function(){return 0>=this.ma.Sb?br:new Do(this.ma)}}}),Ji.prototype.toList=Ji.prototype.Hv,Ji.prototype.toArray=Ji.prototype.Fa,Ji.prototype.toSet=Ji.prototype.Iv,Ji.prototype.first=Ji.prototype.first,Ji.prototype.clear=Ji.prototype.clear,Ji.prototype.delete=Ji.prototype.delete,Ji.prototype.remove=Ji.prototype.remove,Ji.prototype.has=Ji.prototype.has,Ji.prototype.contains=Ji.prototype.contains,Ji.prototype.add=Ji.prototype.add,Ji.prototype.thaw=Ji.prototype.ka,Ji.prototype.freeze=Ji.prototype.freeze,Ji.className="MapKeySet";function or(a){this.ma=a,a.jf=null,this.qa=a.Ja,this.sa=null}or.prototype.reset=function(){var a=this.ma;a.jf=null,this.qa=a.Ja,this.sa=null},or.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.value=y.value,this.key=y.key,!0):(this.de(),!1)},or.prototype.Ad=function(){return this.next()},or.prototype.first=function(){var a=this.ma;if(this.qa=a.Ja,a=a.ea,a!==null){this.sa=a;var y=a.value;return this.key=a.key,this.value=y}return null},or.prototype.any=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(a(y.value))return!0;y=y.va}return!1},or.prototype.all=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;){if(!a(y.value))return!1;y=y.va}return!0},or.prototype.each=function(a){var y=this.ma;for(this.sa=y.jf=null,y=y.ea;y!==null;)a(y.value),y=y.va;return this},or.prototype.map=function(a){var y=this.ma;this.sa=y.jf=null;var x=new Ht;for(y=y.ea;y!==null;)x.add(a(y.value)),y=y.va;return x.iterator},or.prototype.filter=function(a){var y=this.ma;this.sa=y.jf=null;var x=new Ht;for(y=y.ea;y!==null;){var b=y.value;a(b)&&x.add(b),y=y.va}return x.iterator},or.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.jf=this},or.prototype.toString=function(){return this.sa!==null?"MapValueSetIterator@"+this.sa.value:"MapValueSetIterator"},Nt.Object.defineProperties(or.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),or.prototype.first=or.prototype.first,or.prototype.hasNext=or.prototype.Ad,or.prototype.next=or.prototype.next,or.prototype.reset=or.prototype.reset,or.className="MapValueSetIterator";function io(a,y){this.key=a,this.value=y,this.ll=this.va=null}io.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},io.className="KeyValuePair";function Gr(a){this.ma=a,a.Sa=null,this.qa=a.Ja,this.sa=null}Gr.prototype.reset=function(){var a=this.ma;a.Sa=null,this.qa=a.Ja,this.sa=null},Gr.prototype.next=function(){var a=this.ma;if(a.Ja!==this.qa&&this.key===null)return!1;var y=this.sa;return y=y===null?a.ea:y.va,y!==null?(this.sa=y,this.key=y.key,this.value=y.value,!0):(this.de(),!1)},Gr.prototype.Ad=function(){return this.next()},Gr.prototype.first=function(){var a=this.ma;return this.qa=a.Ja,a=a.ea,a!==null?(this.sa=a,this.key=a.key,this.value=a.value,a):null},Gr.prototype.any=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(a(y))return!0;y=y.va}return!1},Gr.prototype.all=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;){if(!a(y))return!1;y=y.va}return!0},Gr.prototype.each=function(a){var y=this.ma;for(this.sa=y.Sa=null,y=y.ea;y!==null;)a(y),y=y.va;return this},Gr.prototype.map=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new Ht;for(y=y.ea;y!==null;)x.add(a(y)),y=y.va;return x.iterator},Gr.prototype.filter=function(a){var y=this.ma;this.sa=y.Sa=null;var x=new Ht;for(y=y.ea;y!==null;)a(y)&&x.add(y),y=y.va;return x.iterator},Gr.prototype.de=function(){this.value=this.key=null,this.qa=-1,this.ma.Sa=this},Gr.prototype.toString=function(){return this.sa!==null?"MapIterator@"+this.sa:"MapIterator"},Nt.Object.defineProperties(Gr.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ma.Sb}}}),Gr.prototype.first=Gr.prototype.first,Gr.prototype.hasNext=Gr.prototype.Ad,Gr.prototype.next=Gr.prototype.next,Gr.prototype.reset=Gr.prototype.reset,Gr.className="MapIterator";function Ii(a){kr(this),this._isFrozen=!1,this.Tb={},this.Sb=0,this.jf=this.Sa=null,this.Ja=0,this.kf=this.ea=null,typeof a=="string"&&bt("Error: Since 2.0 List/Map/Set constructors no longer take an argument that enforces type."),a!==void 0&&this.addAll(a)}Ue=Ii.prototype,Ue.xb=function(){var a=this.Ja;a++,999999999=this.count)return br;var a=this.Sa;return a!==null?(a.reset(),a):new Gr(this)}},iteratorKeys:{get:function(){return 0>=this.count?br:new Do(this)}},iteratorValues:{get:function(){if(0>=this.count)return br;var a=this.jf;return a!==null?(a.reset(),a):new or(this)}}}),Ii.prototype.toKeySet=Ii.prototype.Lf,Ii.prototype.toArray=Ii.prototype.Fa,Ii.prototype.clear=Ii.prototype.clear,Ii.prototype.delete=Ii.prototype.delete,Ii.prototype.remove=Ii.prototype.remove,Ii.prototype.get=Ii.prototype.get,Ii.prototype.getValue=Ii.prototype.I,Ii.prototype.has=Ii.prototype.has,Ii.prototype.contains=Ii.prototype.contains,Ii.prototype.first=Ii.prototype.first,Ii.prototype.addAll=Ii.prototype.addAll,Ii.prototype.set=Ii.prototype.set,Ii.prototype.add=Ii.prototype.add,Ii.prototype.thaw=Ii.prototype.ka,Ii.prototype.freeze=Ii.prototype.freeze,Ii.className="Map";function lt(a,y){a===void 0?this.y=this.x=0:typeof a=="number"&&typeof y=="number"?(this.x=a,this.y=y):bt("Invalid arguments to Point constructor: "+a+", "+y),this._isFrozen=!1}var Rr,Ko,Yr,yo,Mr;lt.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this},lt.prototype.h=function(a,y){return this.x=a,this.y=y,this},lt.prototype.sg=function(a,y){return this.x=a,this.y=y,this},lt.prototype.set=function(a){return this.x=a.x,this.y=a.y,this},lt.prototype.copy=function(){var a=new lt;return a.x=this.x,a.y=this.y,a},Ue=lt.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function mr(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new lt(x,E)}return new lt}function co(a){return a.x.toString()+" "+a.y.toString()}Ue.toString=function(){return"Point("+this.x+","+this.y+")"},Ue.D=function(a){return a instanceof lt?this.x===a.x&&this.y===a.y:!1},Ue.hi=function(a,y){return this.x===a&&this.y===y},Ue.Xa=function(a){return Wt.B(this.x,a.x)&&Wt.B(this.y,a.y)},Ue.add=function(a){return this.x+=a.x,this.y+=a.y,this},Ue.re=function(a){return this.x-=a.x,this.y-=a.y,this},Ue.offset=function(a,y){return this.x+=a,this.y+=y,this},lt.prototype.rotate=function(a){if(a===0)return this;var y=this.x,x=this.y;if(y===0&&x===0)return this;if(360<=a?a-=360:0>a&&(a+=360),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));return this.x=a*y-b*x,this.y=b*y+a*x,this},Ue=lt.prototype,Ue.scale=function(a,y){return this.x*=a,this.y*=y,this},Ue.Bf=function(a){var y=a.x-this.x;return a=a.y-this.y,y*y+a*a},Ue.zd=function(a,y){return a-=this.x,y-=this.y,a*a+y*y},Ue.normalize=function(){var a=this.x,y=this.y,x=Math.sqrt(a*a+y*y);return 0y?270:0;if(y===0)return 0a?x=0>y?x+180:180-x:0>y&&(x=360-x),x}Ue.Ry=function(a,y){return Wt.Fl(a.x,a.y,y.x,y.y,this.x,this.y)},Ue.fA=function(a,y,x,b){return Wt.qh(a,y,x,b,this.x,this.y,this),this},Ue.gA=function(a,y){return Wt.qh(a.x,a.y,y.x,y.y,this.x,this.y,this),this},Ue.uA=function(a,y,x,b){return Wt.No(this.x,this.y,a,y,x,b,this),this},Ue.vA=function(a,y){return Wt.No(this.x,this.y,a.x,a.y,y.width,y.height,this),this},Ue.xi=function(a,y){return this.x=a.x+y.x*a.width+y.offsetX,this.y=a.y+y.y*a.height+y.offsetY,this},Ue.yi=function(a,y,x,b,E){return this.x=a+E.x*x+E.offsetX,this.y=y+E.y*b+E.offsetY,this},Ue.transform=function(a){return a.Ga(this),this};function ao(a,y){return y.Cd(a),a}function ra(a,y,x,b,E,z){var te=E-x,re=z-b,le=te*te+re*re;x-=a,b-=y;var ce=-x*te-b*re;return 0>=ce||ce>=le?(te=E-a,re=z-y,Math.min(x*x+b*b,te*te+re*re)):(a=te*b-re*x,a*a/le)}function gr(a,y,x,b){return a=x-a,y=b-y,a*a+y*y}function Qi(a,y,x,b){return a=x-a,y=b-y,a===0?0y?270:0:y===0?0a?b=0>y?b+180:180-b:0>y&&(b=360-b),b)}Ue.w=function(){return isFinite(this.x)&&isFinite(this.y)},lt.alloc=function(){var a=xr.pop();return a===void 0?new lt:a},lt.allocAt=function(a,y){var x=xr.pop();return x===void 0?new lt(a,y):(x.x=a,x.y=y,x)},lt.free=function(a){xr.push(a)},lt.prototype.isReal=lt.prototype.w,lt.prototype.setSpot=lt.prototype.yi,lt.prototype.setRectSpot=lt.prototype.xi,lt.prototype.snapToGridPoint=lt.prototype.vA,lt.prototype.snapToGrid=lt.prototype.uA,lt.prototype.projectOntoLineSegmentPoint=lt.prototype.gA,lt.prototype.projectOntoLineSegment=lt.prototype.fA,lt.intersectingLineSegments=function(a,y,x,b,E,z,te,re){return Wt.Rl(a,y,x,b,E,z,te,re)},lt.prototype.compareWithLineSegmentPoint=lt.prototype.Ry,lt.compareWithLineSegment=function(a,y,x,b,E,z){return Wt.Fl(a,y,x,b,E,z)},lt.prototype.direction=lt.prototype.direction,lt.prototype.directionPoint=lt.prototype.ab,lt.prototype.normalize=lt.prototype.normalize,lt.prototype.distanceSquared=lt.prototype.zd,lt.prototype.distanceSquaredPoint=lt.prototype.Bf,lt.prototype.scale=lt.prototype.scale,lt.prototype.rotate=lt.prototype.rotate,lt.prototype.offset=lt.prototype.offset,lt.prototype.subtract=lt.prototype.re,lt.prototype.add=lt.prototype.add,lt.prototype.equalsApprox=lt.prototype.Xa,lt.prototype.equalTo=lt.prototype.hi,lt.prototype.equals=lt.prototype.D,lt.prototype.set=lt.prototype.set,lt.prototype.setTo=lt.prototype.sg;var xr=[];lt.className="Point",lt.parse=mr,lt.stringify=co,lt.distanceLineSegmentSquared=ra,lt.distanceSquared=gr,lt.direction=Qi,lt.Origin=Rr=new lt(0,0).ja(),lt.InfiniteTopLeft=Ko=new lt(-1/0,-1/0).ja(),lt.InfiniteBottomRight=Yr=new lt(1/0,1/0).ja(),lt.SixPoint=yo=new lt(6,6).ja(),lt.NoPoint=Mr=new lt(NaN,NaN).ja(),lt.parse=mr,lt.stringify=co,lt.distanceLineSegmentSquared=ra,lt.distanceSquared=gr,lt.direction=Qi;function fi(a,y){a===void 0?this.height=this.width=0:typeof a=="number"&&(0<=a||isNaN(a))&&typeof y=="number"&&(0<=y||isNaN(y))?(this.width=a,this.height=y):bt("Invalid arguments to Size constructor: "+a+", "+y),this._isFrozen=!1}var bo,ua,ca,oa,Ra,ts,ds;fi.prototype.assign=function(a){return this.width=a.width,this.height=a.height,this},fi.prototype.h=function(a,y){return this.width=a,this.height=y,this},fi.prototype.sg=function(a,y){return this.width=a,this.height=y,this},fi.prototype.set=function(a){return this.width=a.width,this.height=a.height,this},fi.prototype.copy=function(){var a=new fi;return a.width=this.width,a.height=this.height,a},Ue=fi.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function Qa(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;return(b=a[y++])&&(E=parseFloat(b)),new fi(x,E)}return new fi}function ks(a){return a.width.toString()+" "+a.height.toString()}Ue.toString=function(){return"Size("+this.width+","+this.height+")"},Ue.D=function(a){return a instanceof fi?this.width===a.width&&this.height===a.height:!1},Ue.hi=function(a,y){return this.width===a&&this.height===y},Ue.Xa=function(a){return Wt.B(this.width,a.width)&&Wt.B(this.height,a.height)},Ue.Bc=function(a,y){return a=this.width+a,this.width=0<=a?a:0,y=this.height+y,this.height=0<=y?y:0,this},Ue.w=function(){return isFinite(this.width)&&isFinite(this.height)},fi.alloc=function(){var a=Ds.pop();return a===void 0?new fi:a},fi.free=function(a){Ds.push(a)},fi.prototype.isReal=fi.prototype.w,fi.prototype.inflate=fi.prototype.Bc,fi.prototype.equalsApprox=fi.prototype.Xa,fi.prototype.equalTo=fi.prototype.hi,fi.prototype.equals=fi.prototype.D,fi.prototype.set=fi.prototype.set,fi.prototype.setTo=fi.prototype.sg;var Ds=[];fi.className="Size",fi.parse=Qa,fi.stringify=ks,fi.ZeroSize=bo=new fi(0,0).ja(),fi.OneSize=ua=new fi(1,1).ja(),fi.SixSize=ca=new fi(6,6).ja(),fi.EightSize=oa=new fi(8,8).ja(),fi.TenSize=Ra=new fi(10,10).ja(),fi.InfiniteSize=ts=new fi(1/0,1/0).ja(),fi.NoSize=ds=new fi(NaN,NaN).ja(),fi.parse=Qa,fi.stringify=ks;function jn(a,y,x,b){a===void 0?this.height=this.width=this.y=this.x=0:typeof a=="number"&&typeof y=="number"&&typeof x=="number"&&(0<=x||isNaN(x))&&typeof b=="number"&&(0<=b||isNaN(b))?(this.x=a,this.y=y,this.width=x,this.height=b):a instanceof lt?(x=a.x,a=a.y,y instanceof lt?(b=y.x,y=y.y,this.x=Math.min(x,b),this.y=Math.min(a,y),this.width=Math.abs(x-b),this.height=Math.abs(a-y)):y instanceof fi?(this.x=x,this.y=a,this.width=y.width,this.height=y.height):bt("Incorrect second argument supplied to Rect constructor "+y)):bt("Invalid arguments to Rect constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}Ue=jn.prototype,Ue.assign=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ue.h=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this};function gs(a,y,x){a.width=y,a.height=x}Ue.sg=function(a,y,x,b){return this.x=a,this.y=y,this.width=x,this.height=b,this},Ue.set=function(a){return this.x=a.x,this.y=a.y,this.width=a.width,this.height=a.height,this},Ue.dd=function(a){return this.x=a.x,this.y=a.y,this},Ue.tA=function(a){return this.width=a.width,this.height=a.height,this},jn.prototype.copy=function(){var a=new jn;return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},Ue=jn.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function Ql(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b&&(x=parseFloat(b));for(var E=0;a[y]==="";)y++;(b=a[y++])&&(E=parseFloat(b));for(var z=0;a[y]==="";)y++;(b=a[y++])&&(z=parseFloat(b));for(var te=0;a[y]==="";)y++;return(b=a[y++])&&(te=parseFloat(b)),new jn(x,E,z,te)}return new jn}function Kl(a){return a.x.toString()+" "+a.y.toString()+" "+a.width.toString()+" "+a.height.toString()}Ue.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},Ue.D=function(a){return a instanceof jn?this.x===a.x&&this.y===a.y&&this.width===a.width&&this.height===a.height:!1},Ue.hi=function(a,y,x,b){return this.x===a&&this.y===y&&this.width===x&&this.height===b},Ue.Xa=function(a){return Wt.B(this.x,a.x)&&Wt.B(this.y,a.y)&&Wt.B(this.width,a.width)&&Wt.B(this.height,a.height)};function Oo(a,y){return Wt.$(a.x,y.x)&&Wt.$(a.y,y.y)&&Wt.$(a.width,y.width)&&Wt.$(a.height,y.height)}Ue.ca=function(a){return this.x<=a.x&&this.x+this.width>=a.x&&this.y<=a.y&&this.y+this.height>=a.y},Ue.Re=function(a){return this.x<=a.x&&a.x+a.width<=this.x+this.width&&this.y<=a.y&&a.y+a.height<=this.y+this.height},Ue.contains=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),this.x<=a&&a+x<=this.x+this.width&&this.y<=y&&y+b<=this.y+this.height},Ue.offset=function(a,y){return this.x+=a,this.y+=y,this},Ue.Bc=function(a,y){return ma(this,y,a,y,a)},Ue.Co=function(a){return ma(this,a.top,a.right,a.bottom,a.left)},Ue.Fv=function(a){return ma(this,-a.top,-a.right,-a.bottom,-a.left)},Ue.Hz=function(a,y,x,b){return ma(this,a,y,x,b)};function ma(a,y,x,b,E){var z=a.width;return x+E<=-z?(a.x+=z/2,a.width=0):(a.x-=E,a.width+=x+E),x=a.height,y+b<=-x?(a.y+=x/2,a.height=0):(a.y-=y,a.height+=y+b),a}Ue.Ex=function(a){return hs(this,a.x,a.y,a.width,a.height)},Ue.Uu=function(a,y,x,b){return hs(this,a,y,x,b)};function hs(a,y,x,b,E){var z=Math.max(a.x,y),te=Math.max(a.y,x);return y=Math.min(a.x+a.width,y+b),x=Math.min(a.y+a.height,x+E),a.x=z,a.y=te,a.width=Math.max(0,y-z),a.height=Math.max(0,x-te),a}Ue.Yc=function(a){return this.Vu(a.x,a.y,a.width,a.height)},Ue.Vu=function(a,y,x,b){var E=this.width,z=this.x;return E!==1/0&&x!==1/0&&(E+=z,x+=a,isNaN(x)||isNaN(E)||z>x||a>E)?!1:(a=this.height,x=this.y,!(a!==1/0&&b!==1/0&&(a+=x,b+=y,isNaN(b)||isNaN(a)||x>b||y>a)))};function aa(a,y){var x=a.width,b=a.x,E=y.x-10;return b>y.width+10+10+E||E>x+b?!1:(x=a.height,a=a.y,b=y.y-10,!(a>y.height+10+10+b||b>x+a))}Ue.Ye=function(a){return Xr(this,a.x,a.y,0,0)},Ue.ed=function(a){return Xr(this,a.x,a.y,a.width,a.height)},Ue.Kv=function(a,y,x,b){return x===void 0&&(x=0),b===void 0&&(b=0),Xr(this,a,y,x,b)};function Xr(a,y,x,b,E){var z=Math.min(a.x,y),te=Math.min(a.y,x);return y=Math.max(a.x+a.width,y+b),x=Math.max(a.y+a.height,x+E),a.x=z,a.y=te,a.width=y-z,a.height=x-te,a}Ue.yi=function(a,y,x){return this.x=a-x.offsetX-x.x*this.width,this.y=y-x.offsetY-x.y*this.height,this};function Qr(a,y,x,b,E,z,te,re){return te===void 0&&(te=0),re===void 0&&(re=0),a<=E&&E+te<=a+x&&y<=z&&z+re<=y+b}function ns(a,y,x,b,E,z,te,re){return a>te+E||E>x+a?!1:!(y>re+z||z>b+y)}Ue.w=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},Ue.Mz=function(){return this.width===0&&this.height===0},jn.alloc=function(){var a=Mo.pop();return a===void 0?new jn:a},jn.allocAt=function(a,y,x,b){var E=Mo.pop();return E===void 0?new jn(a,y,x,b):E.h(a,y,x,b)},jn.free=function(a){Mo.push(a)},Nt.Object.defineProperties(jn.prototype,{left:{get:function(){return this.x},set:function(a){this.x=a}},top:{get:function(){return this.y},set:function(a){this.y=a}},right:{get:function(){return this.x+this.width},set:function(a){this.x+=a-(this.x+this.width)}},bottom:{get:function(){return this.y+this.height},set:function(a){this.y+=a-(this.y+this.height)}},position:{get:function(){return new lt(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}},size:{get:function(){return new fi(this.width,this.height)},set:function(a){this.width=a.width,this.height=a.height}},center:{get:function(){return new lt(this.x+this.width/2,this.y+this.height/2)},set:function(a){this.x=a.x-this.width/2,this.y=a.y-this.height/2}},centerX:{get:function(){return this.x+this.width/2},set:function(a){this.x=a-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(a){this.y=a-this.height/2}}}),jn.prototype.isEmpty=jn.prototype.Mz,jn.prototype.isReal=jn.prototype.w,jn.intersectsLineSegment=function(a,y,x,b,E,z,te,re){return Wt.Fx(a,y,x,b,E,z,te,re)},jn.prototype.setSpot=jn.prototype.yi,jn.prototype.union=jn.prototype.Kv,jn.prototype.unionRect=jn.prototype.ed,jn.prototype.unionPoint=jn.prototype.Ye,jn.prototype.intersects=jn.prototype.Vu,jn.prototype.intersectsRect=jn.prototype.Yc,jn.prototype.intersect=jn.prototype.Uu,jn.prototype.intersectRect=jn.prototype.Ex,jn.prototype.grow=jn.prototype.Hz,jn.prototype.subtractMargin=jn.prototype.Fv,jn.prototype.addMargin=jn.prototype.Co,jn.prototype.inflate=jn.prototype.Bc,jn.prototype.offset=jn.prototype.offset,jn.prototype.contains=jn.prototype.contains,jn.prototype.containsRect=jn.prototype.Re,jn.prototype.containsPoint=jn.prototype.ca,jn.prototype.equalsApprox=jn.prototype.Xa,jn.prototype.equalTo=jn.prototype.hi,jn.prototype.equals=jn.prototype.D,jn.prototype.setSize=jn.prototype.tA,jn.prototype.setPoint=jn.prototype.dd,jn.prototype.set=jn.prototype.set,jn.prototype.setTo=jn.prototype.sg;var so=null,Po=null,Mo=[];jn.className="Rect",jn.parse=Ql,jn.stringify=Kl,jn.contains=Qr,jn.intersects=ns,jn.ZeroRect=so=new jn(0,0,0,0).ja(),jn.NoRect=Po=new jn(NaN,NaN,NaN,NaN).ja(),jn.parse=Ql,jn.stringify=Kl,jn.contains=Qr,jn.intersects=ns;function $i(a,y,x,b){a===void 0?this.left=this.bottom=this.right=this.top=0:y===void 0?this.left=this.bottom=this.right=this.top=a:x===void 0?(this.top=a,this.right=y,this.bottom=a,this.left=y):b!==void 0?(this.top=a,this.right=y,this.bottom=x,this.left=b):bt("Invalid arguments to Margin constructor: "+a+", "+y+", "+x+", "+b),this._isFrozen=!1}$i.prototype.assign=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},$i.prototype.sg=function(a,y,x,b){return this.top=a,this.right=y,this.bottom=x,this.left=b,this},$i.prototype.set=function(a){return this.top=a.top,this.right=a.right,this.bottom=a.bottom,this.left=a.left,this},$i.prototype.copy=function(){var a=new $i;return a.top=this.top,a.right=this.right,a.bottom=this.bottom,a.left=this.left,a},Ue=$i.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function Ja(a){if(typeof a=="string"){a=a.split(" ");for(var y=0,x=NaN;a[y]==="";)y++;var b=a[y++];if(b&&(x=parseFloat(b)),isNaN(x))return new $i;for(var E=NaN;a[y]==="";)y++;if((b=a[y++])&&(E=parseFloat(b)),isNaN(E))return new $i(x);for(var z=NaN;a[y]==="";)y++;if((b=a[y++])&&(z=parseFloat(b)),isNaN(z))return new $i(x,E);for(var te=NaN;a[y]==="";)y++;return(b=a[y++])&&(te=parseFloat(b)),isNaN(te)?new $i(x,E):new $i(x,E,z,te)}return new $i}function xs(a){return a.top.toString()+" "+a.right.toString()+" "+a.bottom.toString()+" "+a.left.toString()}Ue.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},Ue.D=function(a){return a instanceof $i?this.top===a.top&&this.right===a.right&&this.bottom===a.bottom&&this.left===a.left:!1},Ue.hi=function(a,y,x,b){return this.top===a&&this.right===y&&this.bottom===x&&this.left===b},Ue.Xa=function(a){return Wt.B(this.top,a.top)&&Wt.B(this.right,a.right)&&Wt.B(this.bottom,a.bottom)&&Wt.B(this.left,a.left)},Ue.w=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},$i.alloc=function(){var a=Jl.pop();return a===void 0?new $i:a},$i.free=function(a){Jl.push(a)},$i.prototype.isReal=$i.prototype.w,$i.prototype.equalsApprox=$i.prototype.Xa,$i.prototype.equalTo=$i.prototype.hi,$i.prototype.equals=$i.prototype.D,$i.prototype.set=$i.prototype.set,$i.prototype.setTo=$i.prototype.sg;var ul=null,Yl=null,Jl=[];$i.className="Margin",$i.parse=Ja,$i.stringify=xs,$i.ZeroMargin=ul=new $i(0,0,0,0).ja(),$i.TwoMargin=Yl=new $i(2,2,2,2).ja(),$i.parse=Ja,$i.stringify=xs;function _i(a,y,x,b){a===void 0?this.offsetY=this.offsetX=this.y=this.x=0:(y===void 0&&(y=0),x===void 0&&(x=0),b===void 0&&(b=0),this.x=a,this.y=y,this.offsetX=x,this.offsetY=b),this._isFrozen=!1}var is,Hs,tu,ui,du,wo,Uc,Wl,$l,Fl,Zu,Ws,Zs,Al,Jc,qc,Pc,md,ed,Xn,bn,_t,Ao,ta,sa,Vr,Jr,jr,rr,ro,Na,Ia,Ho,Bo,rl,Bs;_i.prototype.assign=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},_i.prototype.sg=function(a,y,x,b){return this.x=a,this.y=y,this.offsetX=x,this.offsetY=b,this},_i.prototype.set=function(a){return this.x=a.x,this.y=a.y,this.offsetX=a.offsetX,this.offsetY=a.offsetY,this},_i.prototype.copy=function(){var a=new _i;return a.x=this.x,a.y=this.y,a.offsetX=this.offsetX,a.offsetY=this.offsetY,a},Ue=_i.prototype,Ue.ja=function(){return this._isFrozen=!0,Object.freeze(this),this},Ue.J=function(){return this._isFrozen||Object.isFrozen(this)?this:this.copy().freeze()},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this};function ka(a,y){return a.x=NaN,a.y=NaN,a.offsetX=y,a}function Nl(a){if(typeof a=="string"){if(a=a.trim(),a==="None")return is;if(a==="TopLeft")return Hs;if(a==="Top"||a==="TopCenter"||a==="MiddleTop")return tu;if(a==="TopRight")return ui;if(a==="Left"||a==="LeftCenter"||a==="MiddleLeft")return du;if(a==="Center")return wo;if(a==="Right"||a==="RightCenter"||a==="MiddleRight")return Uc;if(a==="BottomLeft")return Wl;if(a==="Bottom"||a==="BottomCenter"||a==="MiddleBottom")return $l;if(a==="BottomRight")return Fl;if(a==="TopSide")return Zu;if(a==="LeftSide")return Ws;if(a==="RightSide")return Zs;if(a==="BottomSide")return Al;if(a==="TopBottomSides")return Jc;if(a==="LeftRightSides")return qc;if(a==="TopLeftSides")return Pc;if(a==="TopRightSides")return md;if(a==="BottomLeftSides")return ed;if(a==="BottomRightSides")return Xn;if(a==="NotTopSide")return bn;if(a==="NotLeftSide")return _t;if(a==="NotRightSide")return Ao;if(a==="NotBottomSide")return ta;if(a==="AllSides")return sa;if(a==="Default")return Vr;a=a.split(" ");for(var y=0,x=0;a[y]==="";)y++;var b=a[y++];b!==void 0&&0a&&(a+=360),a===0)return this;if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.m12*a+this.m22*b,z=this.m11*-b+this.m21*a,te=this.m12*-b+this.m22*a;return this.m11=this.m11*a+this.m21*b,this.m12=E,this.m21=z,this.m22=te,this.translate(-y,-x),this},Ue=fr.prototype,Ue.translate=function(a,y){return this.dx+=this.m11*a+this.m21*y,this.dy+=this.m12*a+this.m22*y,this},Ue.scale=function(a,y){return y===void 0&&(y=a),this.m11*=a,this.m12*=a,this.m21*=y,this.m22*=y,this},Ue.Ga=function(a){var y=a.x,x=a.y;return a.h(y*this.m11+x*this.m21+this.dx,y*this.m12+x*this.m22+this.dy)},Ue.Cd=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=a.x,b=a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ue.Eu=function(a){var y=1/(this.m11*this.m22-this.m12*this.m21),x=1.25*a.x,b=1.2*a.y;return a.h(x*this.m22*y+b*-this.m21*y+y*(this.m21*this.dy-this.m22*this.dx),x*-this.m12*y+b*this.m11*y+y*(this.m12*this.dx-this.m11*this.dy))},Ue.pp=function(a){var y=a.x,x=a.y,b=y+a.width,E=x+a.height,z=this.m11,te=this.m12,re=this.m21,le=this.m22,ce=this.dx,de=this.dy,ve=y*z+x*re+ce,Pe=y*te+x*le+de,Le=b*z+x*re+ce,Fe=b*te+x*le+de;return x=y*z+E*re+ce,y=y*te+E*le+de,z=b*z+E*re+ce,b=b*te+E*le+de,E=Math.min(ve,Le),ve=Math.max(ve,Le),Le=Math.min(Pe,Fe),Pe=Math.max(Pe,Fe),E=Math.min(E,x),ve=Math.max(ve,x),Le=Math.min(Le,y),Pe=Math.max(Pe,y),E=Math.min(E,z),ve=Math.max(ve,z),Le=Math.min(Le,b),Pe=Math.max(Pe,b),a.h(E,Le,ve-E,Pe-Le),a},fr.alloc=function(){var a=va.pop();return a===void 0?new fr:a},fr.free=function(a){va.push(a)},fr.prototype.transformRect=fr.prototype.pp,fr.prototype.transformPoint=fr.prototype.Ga,fr.prototype.scale=fr.prototype.scale,fr.prototype.translate=fr.prototype.translate,fr.prototype.rotate=fr.prototype.rotate,fr.prototype.invert=fr.prototype.Vj,fr.prototype.multiplyInverted=fr.prototype.bv,fr.prototype.multiply=fr.prototype.multiply,fr.prototype.reset=fr.prototype.reset,fr.prototype.isIdentity=fr.prototype.ws,fr.prototype.equals=fr.prototype.D,fr.prototype.setTransform=fr.prototype.setTransform,fr.prototype.set=fr.prototype.set;var va=[];fr.className="Transform",fr.xF="54a702f3e53909c447824c6706603faf4c";var Wt={AA:"7da71ca0ad381e90",wg:(Math.sqrt(2)-1)/3*4,Uv:null,sqrt:function(a){if(0>=a)return 0;var y=Wt.Uv;if(y===null){y=[];for(var x=0;2e3>=x;x++)y[x]=Math.sqrt(x);Wt.Uv=y}return 1>a?(x=1/a,2e3>=x?1/y[x|0]:Math.sqrt(a)):2e3>=a?y[a|0]:Math.sqrt(a)},B:function(a,y){return a-=y,.5>a&&-.5a&&-5e-8=E&&(E=1e-6),ade-ce)if(a-x>E||x-a>E){if(z=(b-y)/(x-a)*(z-a)+y,z-E<=te&&te<=z+E)return!0}else return!0;else if(y-b>E||b-y>E){if(te=(x-a)/(b-y)*(te-y)+a,te-E<=z&&z<=te+E)return!0}else return!0;return!1},cs:function(a,y,x,b,E,z,te,re,le,ce,de,ve){if(Wt.Yb(a,y,te,re,ve,x,b)&&Wt.Yb(a,y,te,re,ve,E,z))return Wt.Yb(a,y,te,re,ve,ce,de);var Pe=(a+x)/2,Le=(y+b)/2,Fe=(x+E)/2,Ze=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(Pe+Fe)/2,x=(Le+Ze)/2,Fe=(Fe+E)/2,Ze=(Ze+z)/2;var pt=(b+Fe)/2,at=(x+Ze)/2;return Wt.cs(a,y,Pe,Le,b,x,pt,at,le,ce,de,ve)||Wt.cs(pt,at,Fe,Ze,E,z,te,re,le,ce,de,ve)},ax:function(a,y,x,b,E,z,te,re,le){var ce=(x+E)/2,de=(b+z)/2;return le.h((((a+x)/2+ce)/2+(ce+(E+te)/2)/2)/2,(((y+b)/2+de)/2+(de+(z+re)/2)/2)/2),le},My:function(a,y,x,b,E,z,te,re){var le=(x+E)/2,ce=(b+z)/2;return Qi(((a+x)/2+le)/2,((y+b)/2+ce)/2,(le+(E+te)/2)/2,(ce+(z+re)/2)/2)},Dl:function(a,y,x,b,E,z,te,re,le,ce){if(Wt.Yb(a,y,te,re,le,x,b)&&Wt.Yb(a,y,te,re,le,E,z))Xr(ce,a,y,0,0),Xr(ce,te,re,0,0);else{var de=(a+x)/2,ve=(y+b)/2,Pe=(x+E)/2,Le=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(de+Pe)/2,x=(ve+Le)/2,Pe=(Pe+E)/2,Le=(Le+z)/2;var Fe=(b+Pe)/2,Ze=(x+Le)/2;Wt.Dl(a,y,de,ve,b,x,Fe,Ze,le,ce),Wt.Dl(Fe,Ze,Pe,Le,E,z,te,re,le,ce)}return ce},Qe:function(a,y,x,b,E,z,te,re,le,ce){if(Wt.Yb(a,y,te,re,le,x,b)&&Wt.Yb(a,y,te,re,le,E,z))ce.length===0&&(ce.push(a),ce.push(y)),ce.push(te),ce.push(re);else{var de=(a+x)/2,ve=(y+b)/2,Pe=(x+E)/2,Le=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(de+Pe)/2,x=(ve+Le)/2,Pe=(Pe+E)/2,Le=(Le+z)/2;var Fe=(b+Pe)/2,Ze=(x+Le)/2;Wt.Qe(a,y,de,ve,b,x,Fe,Ze,le,ce),Wt.Qe(Fe,Ze,Pe,Le,E,z,te,re,le,ce)}return ce},jv:function(a,y,x,b,E,z,te,re,le,ce){if(Wt.Yb(a,y,E,z,ce,x,b))return Wt.Yb(a,y,E,z,ce,re,le);var de=(a+x)/2,ve=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var Pe=(de+x)/2,Le=(ve+b)/2;return Wt.jv(a,y,de,ve,Pe,Le,te,re,le,ce)||Wt.jv(Pe,Le,x,b,E,z,te,re,le,ce)},OA:function(a,y,x,b,E,z,te){return te.h(((a+x)/2+(x+E)/2)/2,((y+b)/2+(b+z)/2)/2),te},iv:function(a,y,x,b,E,z,te,re){if(Wt.Yb(a,y,E,z,te,x,b))Xr(re,a,y,0,0),Xr(re,E,z,0,0);else{var le=(a+x)/2,ce=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var de=(le+x)/2,ve=(ce+b)/2;Wt.iv(a,y,le,ce,de,ve,te,re),Wt.iv(de,ve,x,b,E,z,te,re)}return re},ep:function(a,y,x,b,E,z,te,re){if(Wt.Yb(a,y,E,z,te,x,b))re.length===0&&(re.push(a),re.push(y)),re.push(E),re.push(z);else{var le=(a+x)/2,ce=(y+b)/2;x=(x+E)/2,b=(b+z)/2;var de=(le+x)/2,ve=(ce+b)/2;Wt.ep(a,y,le,ce,de,ve,te,re),Wt.ep(de,ve,x,b,E,z,te,re)}return re},Eo:function(a,y,x,b,E,z,te,re,le,ce,de,ve,Pe,Le){if(Wt.Yb(a,y,te,re,Pe,x,b)&&Wt.Yb(a,y,te,re,Pe,E,z))return!Wt.Rl(a,y,te,re,le,ce,de,ve)||(Pe=(a-te)*(ce-ve)-(y-re)*(le-de),Pe===0)?!1:(Le.h(((a*re-y*te)*(le-de)-(a-te)*(le*ve-ce*de))/Pe,((a*re-y*te)*(ce-ve)-(y-re)*(le*ve-ce*de))/Pe),!0);var Fe=(a+x)/2,Ze=(y+b)/2,pt=(x+E)/2,at=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(Fe+pt)/2,x=(Ze+at)/2,pt=(pt+E)/2,at=(at+z)/2;var Ct=(b+pt)/2,Lt=(x+at)/2,Dt=1/0,Kt=!1,vn=0,Pi=0;return Wt.Eo(a,y,Fe,Ze,b,x,Ct,Lt,le,ce,de,ve,Pe,Le)&&(a=(Le.x-le)*(Le.x-le)+(Le.y-ce)*(Le.y-ce),a=de)return Le;if((le>de?le-de:de-le)<(ce>ve?ce-ve:ve-ce)){if(ya)return Le}else if(aa)return Le;0Pe&&Le--}else{Fe=(a+x)/2,Ze=(y+b)/2;var pt=(x+E)/2,at=(b+z)/2;E=(E+te)/2,z=(z+re)/2,b=(Fe+pt)/2,x=(Ze+at)/2,pt=(pt+E)/2,at=(at+z)/2;var Ct=(b+pt)/2,Lt=(x+at)/2;Le+=Wt.Fo(a,y,Fe,Ze,b,x,Ct,Lt,le,ce,de,ve,Pe),Le+=Wt.Fo(Ct,Lt,pt,at,E,z,te,re,le,ce,de,ve,Pe)}return Le},qh:function(a,y,x,b,E,z,te){return Wt.$(a,x)?(yy?(te.h(a,y),!1):(te.h(a,z),!0)):Wt.$(y,b)?(aa?(te.h(a,y),!1):(te.h(E,y),!0)):(E=((a-E)*(a-x)+(y-z)*(y-b))/((x-a)*(x-a)+(b-y)*(b-y)),-5e-6>E?(te.h(a,y),!1):1.000005y?(le.h(a,y),!1):(le.h(a,x),!0)):(te=(b-y)/(x-a),Wt.$(re,te)?(Wt.qh(a,y,x,b,E,z,le),!1):(E=(te*a-re*E+z-y)/(te-re),Wt.$(te,0)?(aa?(le.h(a,y),!1):(le.h(E,y),!0)):Wt.qh(a,y,x,b,E,te*(E-a)+y,le))))},MA:function(a,y,x,b,E){return Wt.Ve(x.x,x.y,b.x,b.y,a.x,a.y,y.x,y.y,E)},KA:function(a,y,x,b,E,z,te,re,le,ce){function de(pt,at){var Ct=(pt-a)*(pt-a)+(at-y)*(at-y);Ct(x>a?x-a:a-x)){if(Pe=1-(x-E)*(x-E)/(Pe*Pe),0>Pe)return le;Pe=Math.sqrt(Pe),b=-ce*Pe+z,de(x,ce*Pe+z),de(x,b)}else{if(x=(b-y)/(x-a),b=1/(Pe*Pe)+x*x/(ce*ce),re=2*x*(y-x*a)/(ce*ce)-2*x*z/(ce*ce)-2*E/(Pe*Pe),Pe=re*re-4*b*(2*x*a*z/(ce*ce)-2*y*z/(ce*ce)+z*z/(ce*ce)+E*E/(Pe*Pe)-1+(y-x*a)*(y-x*a)/(ce*ce)),0>Pe)return le;Pe=Math.sqrt(Pe),ce=(-re+Pe)/(2*b),de(ce,x*ce-x*a+y),Pe=(-re-Pe)/(2*b),de(Pe,x*Pe-x*a+y)}return le},Ff:function(a,y,x,b,E,z,te,re,le){var ce=1e21,de=a,ve=y;if(Wt.Ve(a,y,a,b,E,z,te,re,le)){var Pe=(le.x-E)*(le.x-E)+(le.y-z)*(le.y-z);Pece},us:function(a,y,x){return Wt.Fx(a.x,a.y,a.width,a.height,y.x,y.y,x.x,x.y)},Fx:function(a,y,x,b,E,z,te,re){var le=a+x,ce=y+b;return E===te?(z=y):z===re?(E=a):!!(Qr(a,y,x,b,E,z)||Qr(a,y,x,b,te,re)||Wt.Rl(a,y,le,y,E,z,te,re)||Wt.Rl(le,y,le,ce,E,z,te,re)||Wt.Rl(le,ce,a,ce,E,z,te,re)||Wt.Rl(a,ce,a,y,E,z,te,re))},Rl:function(a,y,x,b,E,z,te,re){return a===x&&y===b&&E===te&&z===re?a===E&&y===z:0>=Wt.Fl(a,y,x,b,E,z)*Wt.Fl(a,y,x,b,te,re)&&0>=Wt.Fl(E,z,te,re,a,y)*Wt.Fl(E,z,te,re,x,b)},Fl:function(a,y,x,b,E,z){return x-=a,b-=y,a=E-a,y=z-y,z=a*b-y*x,z===0&&(z=a*x+y*b,0z&&(z=0))),z},bp:function(a){return 0>a&&(a+=360),360<=a&&(a-=360),a},jx:function(a,y,x,b,E,z){var te=Math.PI;z||(b*=te/180,E*=te/180);var re=b>E?-1:1;z=[];var le=te/2,ce=b;if(b=Math.min(2*te,Math.abs(E-b)),1e-5>b)return le=ce+re*Math.min(b,le),re=a+x*Math.cos(ce),ce=y+x*Math.sin(ce),a+=x*Math.cos(le),y+=x*Math.sin(le),x=(re+a)/2,le=(ce+y)/2,z.push([re,ce,x,le,x,le,a,y]),z;for(;1e-5x,z=0>b;if(ace&&(y=.5*(re+le),!(y===re||y===le));++ce){var de=a/(y+E),ve=te/(y+z);if(de=de*de+ve*ve-1,0de)le=y;else break}x=E*x/(y+E)-x,b=z*b/(y+z)-b,x=Math.sqrt(x*x+b*b)}else x=Math.abs(b-y);else b=a*a-y*y,z=a*x,za?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a)+"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);case di.u:var y=new jn(this.startX,this.startY,0,0);return y.Kv(this.endX,this.endY,0,0),0>a?"M"+y.x.toString()+" "+y.y.toString()+"H"+y.right.toString()+"V"+y.bottom.toString()+"H"+y.left.toString()+"z":"M"+y.x.toFixed(a)+" "+y.y.toFixed(a)+"H"+y.right.toFixed(a)+"V"+y.bottom.toFixed(a)+"H"+y.left.toFixed(a)+"z";case di.F:if(y=new jn(this.startX,this.startY,0,0),y.Kv(this.endX,this.endY,0,0),0>a)return a=y.left.toString()+" "+(y.y+y.height/2).toString(),"M"+a+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+(y.right.toString()+" "+(y.y+y.height/2).toString())+"A"+(y.width/2).toString()+" "+(y.height/2).toString()+" 0 0 1 "+a;var x=y.left.toFixed(a)+" "+(y.y+y.height/2).toFixed(a);return"M"+x+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+(y.right.toFixed(a)+" "+(y.y+y.height/2).toFixed(a))+"A"+(y.width/2).toFixed(a)+" "+(y.height/2).toFixed(a)+" 0 0 1 "+x;case di.o:y="",x=this.figures.s;for(var b=x.length,E=0;E=Dt-1?!0:ce[Ze+1].match(Kt)!==null}function b(){return Ze++,ce[Ze]}function E(Br){var Ar=parseFloat(b()),Wo=parseFloat(b());pt===pt.toLowerCase()&&(Ar=Lt.x+Ar,Wo=Lt.y+Wo),Br.h(Ar,Wo)}function z(){return E(Lt),Lt}function te(){return E(Ct),Ct}function re(){var Br=at.toLowerCase();return Br!=="c"&&Br!=="s"&&Br!=="q"&&Br!=="t"?Lt:new lt(2*Lt.x-Ct.x,2*Lt.y-Ct.y)}y===void 0&&(y=!1);var le=/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm;a=a.replace(/,/gm," "),a=a.replace(le,"$1 $2"),a=a.replace(le,"$1 $2"),a=a.replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^s])/gm,"$1 $2"),a=a.replace(/([^s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2"),a=a.replace(/([0-9])([+\-])/gm,"$1 $2"),a=a.replace(/[\s\r\t\n]+/gm," "),a=a.replace(/^\s+|\s+$/g,"");var ce=a.split(" ");for(a=0;a=Dt-1);)if(at=pt,pt=b(),pt!=="")switch(pt.toUpperCase()){case"X":Le=!0,ve=de=!1;break;case"M":for(Fe=z(),a.mc===null||Le===!0?(np(a,Fe.x,Fe.y,de,!ve,Pe),Le=!1):a.moveTo(Fe.x,Fe.y),le.assign(Lt);!x();)Fe=z(),a.lineTo(Fe.x,Fe.y);break;case"L":for(;!x();)Fe=z(),a.lineTo(Fe.x,Fe.y);break;case"H":for(;!x();)Lt=new lt((pt===pt.toLowerCase()?Lt.x:0)+parseFloat(b()),Lt.y),a.lineTo(Lt.x,Lt.y);break;case"V":for(;!x();)Lt=new lt(Lt.x,(pt===pt.toLowerCase()?Lt.y:0)+parseFloat(b())),a.lineTo(Lt.x,Lt.y);break;case"C":for(;!x();){Fe=new lt,E(Fe);var vn=te(),Pi=z();Uh(a,Fe.x,Fe.y,vn.x,vn.y,Pi.x,Pi.y)}break;case"S":for(;!x();)Fe=re(),vn=te(),Pi=z(),Uh(a,Fe.x,Fe.y,vn.x,vn.y,Pi.x,Pi.y);break;case"Q":for(;!x();)Fe=te(),vn=z(),n0(a,Fe.x,Fe.y,vn.x,vn.y);break;case"T":for(;!x();)Ct=Fe=re(),vn=z(),n0(a,Fe.x,Fe.y,vn.x,vn.y);break;case"B":for(;!x();){Fe=parseFloat(b()),vn=parseFloat(b()),Pi=parseFloat(b());var ji=parseFloat(b()),Di=parseFloat(b()),vi=Di,ti=!1;x()||(vi=parseFloat(b()),x()||(ti=parseFloat(b())!==0)),pt===pt.toLowerCase()&&(Pi+=Lt.x,ji+=Lt.y),a.arcTo(Fe,vn,Pi,ji,Di,vi,ti)}break;case"A":for(;!x();)Fe=Math.abs(parseFloat(b())),vn=Math.abs(parseFloat(b())),Pi=parseFloat(b()),Di=ji=!1,ti=vi=0,vi=b(),vi.length===1?(ji=!!parseFloat(vi),Di=!!parseFloat(b()),vi=parseFloat(b())):vi.length===2?(ji=!!parseFloat(vi[0]),Di=!!parseFloat(vi[1]),vi=parseFloat(b())):(ji=!!parseFloat(vi[0]),Di=!!parseFloat(vi[1]),vi=parseFloat(vi.slice(2))),ti=parseFloat(b()),pt===pt.toLowerCase()&&(vi=Lt.x+vi,ti=Lt.y+ti),Lt.h(vi,ti),I1(a,Fe,vn,Pi,ji,Di,vi,ti);break;case"Z":T1(a),Lt.assign(le);break;case"F":for(Fe="",vn=1;ce[Ze+vn];)if(ce[Ze+vn]==="0")Pe=!0,vn++;else if(ce[Ze+vn].match(/[Uu]/)!==null)vn++;else if(ce[Ze+vn].match(Kt)===null)vn++;else{Fe=ce[Ze+vn];break}Fe.match(/[Mm]/)?de=!0:0te&&(te+=360),Fe.startAngle+=te),0>a&&(Fe.startAngle=180-Fe.startAngle,Fe.sweepAngle=-Fe.sweepAngle),0>b&&(Fe.startAngle=-Fe.startAngle,Fe.sweepAngle=-Fe.sweepAngle),Fe.radiusX*=Math.sqrt(a*a+x*x),Fe.radiusY!==void 0&&(Fe.radiusY*=Math.sqrt(y*y+b*b));break;case iu:if(te=Fe.endX,re=Fe.endY,Fe.endX=te*a+re*x+E,Fe.endY=te*y+re*b+z,Fe.radiusX===0||Fe.radiusY===0)break;y!==0&&(te=180*Math.atan2(y,a)/Math.PI,0>te&&(te+=360),Fe.xAxisRotation+=te),0>a&&(Fe.xAxisRotation=180-Fe.xAxisRotation,Fe.isClockwiseArc=!Fe.isClockwiseArc),0>b&&(Fe.xAxisRotation=-Fe.xAxisRotation,Fe.isClockwiseArc=!Fe.isClockwiseArc),Fe.radiusX*=Math.sqrt(a*a+x*x),Fe.radiusY*=Math.sqrt(y*y+b*b);break;default:bt("Unknown Segment type: "+Fe.type)}}}}return this._isInvalidBounds=!0,this},Ue.ca=function(a,y){y===void 0&&(y=0);var x=this.od,b=this.pd,E=this.Dc,z=this.Ec;switch(this.type){case di.j:return Wt.Yb(x,b,E,z,y,a.x,a.y);case di.u:var te=jn.allocAt(Math.min(x,E)-y,Math.min(b,z)-y,Math.abs(E-x)+2*y,Math.abs(z-b)+2*y);return a=te.ca(a),jn.free(te),a;case di.F:te=Math.min(x,E)-y;var re=Math.min(b,z)-y;return x=(Math.abs(E-x)+2*y)/2,y=(Math.abs(z-b)+2*y)/2,0>=x||0>=y?!1:(te=a.x-(te+x),re=a.y-(re+y),1>=te*te/(x*x)+re*re/(y*y));case di.o:return cl(this,a,y,!0,!1);default:return!1}};function cl(a,y,x,b,E){var z=y.x;y=y.y;for(var te=a.bounds.x-20,re=0,le,ce,de,ve,Pe=a.figures.s,Le=Pe.length,Fe=0;Fe=a)return 0;if((E>te?E-te:te-E)<(z>re?z-re:re-z)){if(zre)return 0}else if(yz)return 0}else if(Ete)return 0}else if(ceE)return 0;return 0a?a=0:1=z)return b=z-te,b=de===0?0:b/de,x=x[re],re=x[2*a],E=x[2*a+1],y.h(re+(x[2*a+2]-re)*b,E+(x[2*a+3]-E)*b),y;te+=de}}return y},Ue.wx=function(a){if(0>a?a=0:1=E)return E=y[te],y=E[2*a],x=E[2*a+1],b=E[2*a+2],a=E[2*a+3],1>Math.abs(b-y)&&1>Math.abs(a-x)?0:1>Math.abs(b-y)?0<=a-x?90:270:1>Math.abs(a-x)?0<=b-y?0:180:180*Math.atan2(a-x,b-y)/Math.PI;z+=ce}}return NaN},Ue.Qu=function(a,y){if(0>a?a=0:1=z)return b=z-te,b=de===0?0:b/de,de=x[re],x=de[2*a],re=de[2*a+1],E=de[2*a+2],a=de[2*a+3],y[0]=x+(E-x)*b,y[1]=re+(a-re)*b,y[2]=1>Math.abs(E-x)&&1>Math.abs(a-re)?0:1>Math.abs(E-x)?0<=a-re?90:270:1>Math.abs(a-re)?0<=E-x?0:180:180*Math.atan2(a-re,E-x)/Math.PI,y;te+=de}}return y},Ue.xx=function(a){if(this.type===di.j){var y=this.startX,x=this.startY,b=this.endX,E=this.endY;if(y!==b||x!==E){var z=a.x;if(a=a.y,y===b){if(x=b?b===x?0:1:Math.abs(a-x)/(b-te)}if(x===E)return y=b?b===y?0:1:Math.abs(z-y)/(b-te);te=(b-y)*(b-y)+(E-x)*(E-x);var re=lt.alloc();return Wt.qh(y,x,b,E,z,a,re),a=re.x,z=re.y,lt.free(re),Math.sqrt(((a-y)*(a-y)+(z-x)*(z-x))/te)}}else if(this.type===di.u){te=this.startX,re=this.startY;var le=this.endX;if(E=this.endY,te!==le||re!==E){y=le-te,x=E-re,z=2*y+2*x,b=a.x,a=a.y,b=Math.min(Math.max(b,te),le),a=Math.min(Math.max(a,re),E),te=Math.abs(b-te),le=Math.abs(b-le),re=Math.abs(a-re),E=Math.abs(a-E);var ce=Math.min(te,le,re,E);if(ce===re)return b/z;if(ce===le)return(y+a)/z;if(ce===E)return(2*y+x-b)/z;if(ce===te)return(2*y+2*x-a)/z}}else{y=this.flattenedSegments,x=this.flattenedLengths,z=this.flattenedTotalLength,b=lt.alloc(),E=1/0,re=te=0,le=y.length;for(var de=ce=0,ve=0;vea?0:1a?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(a)+" "+this.startY.toFixed(a),x=this.segments.s,b=x.length,E=0;Ea&&(a+=360),this.Ne=a,this.Vh=0,this.Wh=Math.max(b,0),this.Pg=Math.max(E,0),typeof te=="boolean"?te&&(this.isLargeArc=!0):typeof te=="number"&&te&&(this.isLargeArc=!0),re&&(this.isClockwiseArc=!0)):(this.Ne=b,this.Vh=E,a===oo&&(z=Math.max(z,0)),this.Wh=z,typeof te=="number"?(a===oo&&(te=Math.max(te,0)),this.Pg=te):this.Pg=0),this.ae=null}Eo.prototype.copy=function(){var a=new Eo;return a.na=this.na,a.l=this.l&-2,a.Dc=this.Dc,a.Ec=this.Ec,a.Ne=this.Ne,a.Vh=this.Vh,a.Wh=this.Wh,a.Pg=this.Pg,a},Ue=Eo.prototype,Ue.Xa=function(a){if(!(a instanceof Eo)||this.type!==a.type||this.isClosed!==a.isClosed)return!1;switch(this.type){case za:case qo:return Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY);case ol:return Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY)&&Wt.B(this.point1X,a.point1X)&&Wt.B(this.point1Y,a.point1Y)&&Wt.B(this.point2X,a.point2X)&&Wt.B(this.point2Y,a.point2Y);case Zi:return Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY)&&Wt.B(this.point1X,a.point1X)&&Wt.B(this.point1Y,a.point1Y);case oo:return Wt.B(this.startAngle,a.startAngle)&&Wt.B(this.sweepAngle,a.sweepAngle)&&Wt.B(this.centerX,a.centerX)&&Wt.B(this.centerY,a.centerY)&&Wt.B(this.radiusX,a.radiusX)&&Wt.B(this.radiusY,a.radiusY);case iu:return this.isClockwiseArc===a.isClockwiseArc&&this.isLargeArc===a.isLargeArc&&Wt.B(this.xAxisRotation,a.xAxisRotation)&&Wt.B(this.endX,a.endX)&&Wt.B(this.endY,a.endY)&&Wt.B(this.radiusX,a.radiusX)&&Wt.B(this.radiusY,a.radiusY);default:return!1}},Ue.qb=function(a){a.classType===Eo&&(this.type=a)},Ue.toString=function(a){switch(a===void 0&&(a=-1),this.type){case za:a=0>a?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case qo:a=0>a?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case ol:a=0>a?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.point2X.toFixed(a)+" "+this.point2Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case Zi:a=0>a?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(a)+" "+this.point1Y.toFixed(a)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;case oo:a=0>a?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(a)+" "+this.sweepAngle.toFixed(a)+" "+this.centerX.toFixed(a)+" "+this.centerY.toFixed(a)+" "+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a);break;case iu:a=0>a?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(a)+" "+this.radiusY.toFixed(a)+" "+this.xAxisRotation.toFixed(a)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(a)+" "+this.endY.toFixed(a);break;default:a=this.type.toString()}return a+(this.isClosed?"z":"")},Ue.freeze=function(){return this._isFrozen=!0,this},Ue.ka=function(){return this._isFrozen=!1,this},Ue.close=function(){return this.isClosed=!0,this};function Fa(a,y){if(a.ae!==null&&y._isInvalidBounds===!1)return a.ae;var x=a.radiusX,b=a.radiusY;if(b===void 0&&(b=x),x===0||b===0)return a.ae=[],a.ae;y=a.Ne;var E=a.Vh,z=Wt.jx(0,0,x=Le?te=Math.PI:1<=Le&&(te=0),!le&&0te&&(te+=2*Math.PI),le=y>z?1:y/z,Le=y>z?z/y:1,y=Wt.jx(0,0,y>z?y:z,de,de+te,!0),z=fr.alloc(),z.reset(),z.translate(x,b),z.rotate(a.Ne,0,0),z.scale(le,Le),di.Ha(y,z),fr.free(z),a.ae=y,a.ae}Nt.Object.defineProperties(Eo.prototype,{_isFrozen:{get:function(){return(this.l&1)!==0},set:function(a){this.l=a?this.l|1:this.l&-2}},_isInvalidBounds:{get:function(){return(this.l&2)!==0},set:function(a){this.l=a?this.l|2:this.l&-3}},isClosed:{get:function(){return(this.l&8)!==0},set:function(a){this.isClosed!==a&&(this.l=a?this.l|8:this.l&-9,this._isInvalidBounds=!0)}},type:{get:function(){return this.na},set:function(a){this._isFrozen&&Ut(this,a),this.na=a,this._isInvalidBounds=!0}},endX:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Ut(this,a),this.Dc=a,this._isInvalidBounds=!0}},endY:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Ut(this,a),this.Ec=a,this._isInvalidBounds=!0}},point1X:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Ut(this,a),this.Ne=a,this._isInvalidBounds=!0}},point1Y:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Ut(this,a),this.Vh=a,this._isInvalidBounds=!0}},point2X:{get:function(){return this.Wh},set:function(a){this._isFrozen&&Ut(this,a),this.Wh=a,this._isInvalidBounds=!0}},point2Y:{get:function(){return this.Pg},set:function(a){this._isFrozen&&Ut(this,a),this.Pg=a,this._isInvalidBounds=!0}},centerX:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Ut(this,a),this.Ne=a,this._isInvalidBounds=!0}},centerY:{get:function(){return this.Vh},set:function(a){this._isFrozen&&Ut(this,a),this.Vh=a,this._isInvalidBounds=!0}},radiusX:{get:function(){return this.Wh},set:function(a){0>a&&Ln(a,">= zero",Eo,"radiusX"),this._isFrozen&&Ut(this,a),this.Wh=a,this._isInvalidBounds=!0}},radiusY:{get:function(){return this.Pg},set:function(a){0>a&&Ln(a,">= zero",Eo,"radiusY"),this._isFrozen&&Ut(this,a),this.Pg=a,this._isInvalidBounds=!0}},startAngle:{get:function(){return this.Dc},set:function(a){this._isFrozen&&Ut(this,a),a%=360,0>a&&(a+=360),this.Dc=a,this._isInvalidBounds=!0}},sweepAngle:{get:function(){return this.Ec},set:function(a){this._isFrozen&&Ut(this,a),360a&&(a=-360),this.Ec=a,this._isInvalidBounds=!0}},isClockwiseArc:{get:function(){return(this.l&4)!==0},set:function(a){this._isFrozen&&Ut(this,a),this.l=a?this.l|4:this.l&-5,this._isInvalidBounds=!0}},isLargeArc:{get:function(){return(this.l&16)!==0},set:function(a){this._isFrozen&&Ut(this,a),this.l=a?this.l|16:this.l&-17,this._isInvalidBounds=!0}},xAxisRotation:{get:function(){return this.Ne},set:function(a){this._isFrozen&&Ut(this,a),a%=360,0>a&&(a+=360),this.Ne=a,this._isInvalidBounds=!0}}}),Eo.prototype.equalsApprox=Eo.prototype.Xa;var za=new tn(Eo,"Move",0),qo=new tn(Eo,"Line",1),ol=new tn(Eo,"Bezier",2),Zi=new tn(Eo,"QuadraticBezier",3),oo=new tn(Eo,"Arc",4),iu=new tn(Eo,"SvgArc",4);Eo.className="PathSegment",Eo.Move=za,Eo.Line=qo,Eo.Bezier=ol,Eo.QuadraticBezier=Zi,Eo.Arc=oo,Eo.SvgArc=iu;function Sl(){this.H=null,this.xu=new lt(0,0).freeze(),this.mt=new lt(0,0).freeze(),this.Bp=this.Rq=0,this.Cp=1,this.xq="",this.Wr=this.Tp=!1,this.Rp=this.Ep=0,this.xg=this.nq=this.tq=!1,this.Zp=null,this.Rr=0,this.xd=this.Nr=null}Sl.prototype.copy=function(){var a=new Sl;return this.clone(a)},Sl.prototype.clone=function(a){return a.H=this.H,a.xu.assign(this.viewPoint),a.mt.assign(this.documentPoint),a.Rq=this.Rq,a.Bp=this.Bp,a.Cp=this.Cp,a.xq=this.xq,a.Tp=this.Tp,a.Wr=this.Wr,a.Ep=this.Ep,a.Rp=this.Rp,a.tq=this.tq,a.nq=this.nq,a.xg=this.xg,a.Zp=this.Zp,a.Rr=this.Rr,a.Nr=this.Nr,a.xd=this.xd,a},Sl.prototype.toString=function(){var a="^";return this.modifiers!==0&&(a+="M:"+this.modifiers),this.button!==0&&(a+="B:"+this.button),this.key!==""&&(a+="K:"+this.key),this.clickCount!==0&&(a+="C:"+this.clickCount),this.delta!==0&&(a+="D:"+this.delta),this.handled&&(a+="h"),this.bubbles&&(a+="b"),this.documentPoint!==null&&(a+="@"+this.documentPoint.toString()),a},Sl.prototype.So=function(a,y){var x=this.diagram;return x===null||Dh(x,a,y),y},Sl.prototype.Bz=function(a,y){var x=this.diagram;return x===null||(Dh(x,a,y),y.assign(x.Ps(y))),y},Nt.Object.defineProperties(Sl.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},viewPoint:{get:function(){return this.xu},set:function(a){this.xu.assign(a)}},documentPoint:{get:function(){return this.mt},set:function(a){this.mt.assign(a)}},modifiers:{get:function(){return this.Rq},set:function(a){this.Rq=a}},button:{get:function(){return this.Bp},set:function(a){if(this.Bp=a,this.event===null)switch(a){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Cp},set:function(a){this.Cp=a}},key:{get:function(){return this.xq},set:function(a){this.xq=a}},down:{get:function(){return this.Tp},set:function(a){this.Tp=a}},up:{get:function(){return this.Wr},set:function(a){this.Wr=a}},clickCount:{get:function(){return this.Ep},set:function(a){this.Ep=a}},delta:{get:function(){return this.Rp},set:function(a){this.Rp=a}},isMultiTouch:{get:function(){return this.tq},set:function(a){this.tq=a}},handled:{get:function(){return this.nq},set:function(a){this.nq=a}},bubbles:{get:function(){return this.xg},set:function(a){this.xg=a}},event:{get:function(){return this.Zp},set:function(a){this.Zp=a}},isTouchEvent:{get:function(){var a=this.event;return a===null?!1:a.pointerType==="touch"||a.pointerType==="pen"}},timestamp:{get:function(){return this.Rr},set:function(a){this.Rr=a}},targetDiagram:{get:function(){return this.Nr},set:function(a){this.Nr=a}},targetObject:{get:function(){return this.xd},set:function(a){this.xd=a}},control:{get:function(){return(this.modifiers&1)!==0},set:function(a){this.modifiers=a?this.modifiers|1:this.modifiers&-2}},shift:{get:function(){return(this.modifiers&4)!==0},set:function(a){this.modifiers=a?this.modifiers|4:this.modifiers&-5}},alt:{get:function(){return(this.modifiers&2)!==0},set:function(a){this.modifiers=a?this.modifiers|2:this.modifiers&-3}},meta:{get:function(){return(this.modifiers&8)!==0},set:function(a){this.modifiers=a?this.modifiers|8:this.modifiers&-9}},left:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&1)!==0:this.button===0},set:function(a){this.buttons=a?this.buttons|1:this.buttons&-2}},right:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&2)!==0:this.button===2},set:function(a){this.buttons=a?this.buttons|2:this.buttons&-3}},middle:{get:function(){var a=this.event;return a===null||a.type!=="mousedown"&&a.type!=="mouseup"&&a.type!=="pointerdown"&&a.type!=="pointerup"?(this.buttons&4)!==0:this.button===1},set:function(a){this.buttons=a?this.buttons|4:this.buttons&-5}}}),Sl.prototype.getMultiTouchDocumentPoint=Sl.prototype.Bz,Sl.prototype.getMultiTouchViewPoint=Sl.prototype.So,Sl.className="InputEvent";function _c(){this.H=null,this.xa="",this.ar=this.Lr=null}_c.prototype.copy=function(){var a=new _c;return a.H=this.H,a.xa=this.xa,a.Lr=this.Lr,a.ar=this.ar,a},_c.prototype.toString=function(){var a="*"+this.name;return this.subject!==null&&(a+=":"+this.subject.toString()),this.parameter!==null&&(a+="("+this.parameter.toString()+")"),a},Nt.Object.defineProperties(_c.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},subject:{get:function(){return this.Lr},set:function(a){this.Lr=a}},parameter:{get:function(){return this.ar},set:function(a){this.ar=a}}}),_c.className="DiagramEvent";function Xo(){this.Fm=Ma,this.rf=this.Qq="",this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null}Xo.prototype.clear=function(){this.Ln=this.Mn=this.Rn=this.Sn=this.Qn=this.H=this.cc=null},Xo.prototype.copy=function(){var a=new Xo;a.Fm=this.Fm,a.Qq=this.Qq,a.rf=this.rf,a.cc=this.cc,a.H=this.H,a.Qn=this.Qn;var y=this.Sn;return a.Sn=Gt(y)&&typeof y.J=="function"?y.J():y,y=this.Rn,a.Rn=Gt(y)&&typeof y.J=="function"?y.J():y,y=this.Mn,a.Mn=Gt(y)&&typeof y.J=="function"?y.J():y,y=this.Ln,a.Ln=Gt(y)&&typeof y.J=="function"?y.J():y,a},Xo.prototype.qb=function(a){a.classType===Xo&&(this.change=a)},Xo.prototype.toString=function(){var a="";return a=this.change===Bl?a+"* ":this.change===Ma?a+(this.model!==null?"!m":"!d"):a+((this.model!==null?"!m":"!d")+this.change),this.propertyName&&typeof this.propertyName=="string"&&(a+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(a+=" "+this.modelChange),a+=": ",this.change===Bl?this.oldValue!==null&&(a+=" "+this.oldValue):(this.object!==null&&(a+=Vn(this.object)),this.oldValue!==null&&(a+=" old: "+Vn(this.oldValue)),this.oldParam!==null&&(a+=" "+this.oldParam),this.newValue!==null&&(a+=" new: "+Vn(this.newValue)),this.newParam!==null&&(a+=" "+this.newParam)),a},Xo.prototype.I=function(a){return a?this.oldValue:this.newValue},Xo.prototype.Dz=function(a){return a?this.oldParam:this.newParam},Xo.prototype.canUndo=function(){return this.model!==null||this.diagram!==null},Xo.prototype.undo=function(){this.canUndo()&&(this.model!==null?this.model.changeState(this,!0):this.diagram!==null&&this.diagram.changeState(this,!0))},Xo.prototype.canRedo=function(){return this.model!==null||this.diagram!==null},Xo.prototype.redo=function(){this.canRedo()&&(this.model!==null?this.model.changeState(this,!1):this.diagram!==null&&this.diagram.changeState(this,!1))},Nt.Object.defineProperties(Xo.prototype,{model:{get:function(){return this.cc},set:function(a){this.cc=a}},diagram:{get:function(){return this.H},set:function(a){this.H=a}},change:{get:function(){return this.Fm},set:function(a){this.Fm=a}},modelChange:{get:function(){return this.Qq},set:function(a){this.Qq=a}},propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},isTransactionFinished:{get:function(){return this.Fm===Bl&&(this.rf==="CommittedTransaction"||this.rf==="FinishedUndo"||this.rf==="FinishedRedo")}},object:{get:function(){return this.Qn},set:function(a){this.Qn=a}},oldValue:{get:function(){return this.Sn},set:function(a){this.Sn=a}},oldParam:{get:function(){return this.Rn},set:function(a){this.Rn=a}},newValue:{get:function(){return this.Mn},set:function(a){this.Mn=a}},newParam:{get:function(){return this.Ln},set:function(a){this.Ln=a}}}),Xo.prototype.redo=Xo.prototype.redo,Xo.prototype.canRedo=Xo.prototype.canRedo,Xo.prototype.undo=Xo.prototype.undo,Xo.prototype.canUndo=Xo.prototype.canUndo,Xo.prototype.getParam=Xo.prototype.Dz,Xo.prototype.getValue=Xo.prototype.I,Xo.prototype.clear=Xo.prototype.clear;var Bl=new tn(Xo,"Transaction",-1),Ma=new tn(Xo,"Property",0),Ka=new tn(Xo,"Insert",1),ms=new tn(Xo,"Remove",2);Xo.className="ChangedEvent",Xo.Transaction=Bl,Xo.Property=Ma,Xo.Insert=Ka,Xo.Remove=ms;function os(){this.o=new Ht().freeze(),this.xa="",this.j=!1}os.prototype.toString=function(a){var y="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(a!==void 0&&0y&&a.cd(y,b),y++);for(;a.length>y;)a.pop();a.freeze()}},Nt.Object.defineProperties(os.prototype,{changes:{get:function(){return this.o}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isComplete:{get:function(){return this.j},set:function(a){this.j=a}}}),os.prototype.optimize=os.prototype.ak,os.prototype.redo=os.prototype.redo,os.prototype.canRedo=os.prototype.canRedo,os.prototype.undo=os.prototype.undo,os.prototype.canUndo=os.prototype.canUndo,os.prototype.clear=os.prototype.clear,os.className="Transaction";function ya(){this.Pt=new Fn,this.Jd=!1,this.u=new Ht().freeze(),this.Ce=-1,this.o=999,this.Fe=!1,this.Np=null,this.bi=0,this.j=!1,this.Ie=new Ht().freeze(),this.hl=new Ht,this.tt=!0,this.Dt=this.rq=this.Gt=this.Ft=!1}ya.prototype.toString=function(a){var y="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;y+="[";for(var x=this.nestedTransactionNames.count,b=0;ba.transactionLevel&&ni("Ending transaction without having started a transaction: "+x);var b=a.transactionLevel===1,E=a.currentTransaction;b&&y&&(a.isInternalTransaction||a.Ob("CommittingTransaction",x,E));var z=0;if(0=b&&(z=y.M(0),z!==null&&z.clear(),y.mb(0),a.Ce--)),b===0||y.count!==0&&y.get(y.count-1)===E||(y.add(E),a.Ce++),y.freeze()),a.isInternalTransaction||a.Ob("CommittedTransaction",x,E);else{a.Fe=!0;try{a.isEnabled&&E!==null&&(E.isComplete=!0,E.undo())}finally{a.isInternalTransaction||a.Ob("RolledBackTransaction",x,E),a.Fe=!1}E!==null&&E.clear()}return a.Np=null,a.isPendingClear&&a.clear(),a.isPendingClear=!1,a.isPendingUnmodified=!1,!0}if(a.isEnabled&&!y&&E!==null){for(a=z,x=E.changes,E=x.count-1;E>=a;E--)y=x.M(E),y!==null&&y.undo(),x.ka(),x.mb(E);x.freeze()}return!1}Ue.lx=function(){if(!this.isUndoingRedoing&&this.canRedo()){var a=this.history;a.ka();for(var y=a.count-1;y>this.historyIndex;y--){var x=a.M(y);x!==null&&x.clear(),a.mb(y),this.rq=!0}a.freeze()}},ya.prototype.canUndo=function(){if(!this.isEnabled||0=this.transactionLevel&&!this.tt&&(a=a.diagram,a!==null&&a.pi===!1||ni("Change not within a transaction: "+x.toString()))}},ya.prototype.skipsEvent=function(a){if(a===null||0>a.change.value)return!0;if(a=a.object,a===null)return!1;if(a.layer!==void 0){if(a=a.layer,a!==null&&a.isTemporary)return!0}else if(a.isTemporary)return!0;return!1},Nt.Object.defineProperties(ya.prototype,{models:{get:function(){return this.Pt.iterator}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.M(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndexE||Math.abs(y.y-a.y)>b},Nt.Object.defineProperties(xo.prototype,{diagram:{get:function(){return this.H},set:function(a){a instanceof pn&&(this.H=a)}},name:{get:function(){return this.xa},set:function(a){this.xa=a}},isEnabled:{get:function(){return this.Jd},set:function(a){this.Jd=a}},isActive:{get:function(){return this.nb},set:function(a){this.nb=a}},transactionResult:{get:function(){return this.wm},set:function(a){this.wm=a}}}),xo.prototype.startTransaction=xo.prototype.Ea,xo.className="Tool";function pa(){xo.call(this),this.name="ToolManager",this.hb=new Ht,this.ob=new Ht,this.Hb=new Ht,this.F=this.V=850,this.o=new fi(2,2).ja(),this.Ha=5e3,this.ia=ru,this.u=zl,this.Mp=this.j=null,this.zj=-1}qt(pa,xo),pa.prototype.initializeStandardTools=function(){},pa.prototype.updateAdornments=function(a){var y=this.currentToolTip;if(y instanceof zo&&this.Mp===a){var x=y.adornedObject;(a!==null?x.part===a:x===null)?this.showToolTip(y,x):this.hideToolTip()}},pa.prototype.doMouseDown=function(){var a=this.diagram,y=a.lastInput;if(y.isTouchEvent&&this.gestureBehavior===Ea&&(y.bubbles=!1),y.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===zs){y.bubbles=!0;return}if(this.gestureBehavior===Ea)return;if(a.currentTool.canStartMultiTouch()){a.currentTool.standardPinchZoomStart();return}}for(var x=this.mouseDownTools.length,b=0;bE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom?x.y-(b.height+5/y.scale):x.y+20/y.scale,x.yx.pointsCount)){var b=a.diagram;if(!b.isReadOnly){var E=a.Oe;if(E!==null){var z=null,te=null;x.fromNode===null&&(z=Mh(a,x.i(0),!1),z!==null&&(te=z.part));var re=null,le=null;x.toNode===null&&(re=Mh(a,x.i(x.pointsCount-1),!0),re!==null&&(le=re.part)),E.isValidLink(te,z,le,re)?y?(x.defaultFromPoint=x.i(0),x.defaultToPoint=x.i(x.pointsCount-1),x.suspendsRouting=!1,x.fromNode=te,z!==null&&(x.fromPortId=z.portId),x.toNode=le,re!==null&&(x.toPortId=re.portId),x.fromPort!==b.Mx&&b.R("LinkRelinked",x,b.Mx),x.toPort!==b.Nx&&b.R("LinkRelinked",x,b.Nx)):Lr(E,te,z,le,re):Lr(E,null,null,null,null)}}}}da.prototype.doDragOver=function(){};function Tu(a,y){var x=a.diagram;a.dragsLink&&Ul(a,!0),Ac(a);var b=a.findDragOverObject(y),E=x.lastInput;if(E.targetObject=b,b!==null){E.handled=!1;for(var z=b;z!==null;){var te=z.mouseDrop;if(te!==null&&(te(E,z),E.handled))break;Ud(a,E,z),z=xc(z)}}else z=x.mouseDrop,z!==null&&z(E);if(a.isActive||cn!==null){for(E=(a.copiedParts||a.draggedParts).iterator;E.next();)z=E.key,z instanceof Li&&z.linksConnected.each(function(re){re.suspendsRouting=!1});if(a.doDropOnto(y,b),a.isActive||cn!==null){for(a=jn.alloc(),y=x.selection.iterator;y.next();)b=y.value,b instanceof Li&&mt(x,b,a);jn.free(a)}}}function Ud(a,y,x){a=a.diagram,x=x.part,!a.handlesDragDropForTopLevelParts||!x.isTopLevel||x instanceof _r||(x=a.mouseDrop,x!==null&&x(y))}function mt(a,y,x){var b=!1;if(x=y.getAvoidableRect(x),a.viewportBounds.Re(x)&&(b=!0),a=a.Nu(x,function(E){return E.part},function(E){return E instanceof yi},!0,function(E){return E instanceof yi},b),a.count!==0)for(a=a.iterator;a.next();)x=a.value,!x.Td(y)&&x.isAvoiding&&x.bb()}da.prototype.doDropOnto=function(){},da.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;this.simulatedMouseMove(y.event,y.documentPoint,y.targetDiagram)||this.currentPart===null||this.draggedParts===null||(this.mayCopy()?($u(this,!1),Bg(a,this.copiedParts),Xu(this,this.copiedParts,!1),gh(a,this.copiedParts)):this.mayMove()?(gu(this),Xu(this,this.draggedParts,!0)):this.mayDragOut()?($u(this,!1),Xu(this,this.copiedParts,!1)):gu(this),td(this,a.lastInput.documentPoint))}},da.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=a.lastInput;if(!this.simulatedMouseUp(y.event,y.documentPoint,y.targetDiagram)){y=!1;var x=this.mayCopy();if(x&&this.copiedParts!==null?(gu(this),$u(this,!0),Bg(a,this.copiedParts),Xu(this,this.copiedParts,!1),gh(a,this.copiedParts),this.copiedParts!==null&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),this.copiedParts.iteratorKeys.each(function(E){E.isSelected=!0}))):(y=!0,gu(this),this.mayMove()&&(Xu(this,this.draggedParts,!0),td(this,a.lastInput.documentPoint))),this.Ym=!0,Tu(this,a.lastInput.documentPoint),this.isActive){var b=x?this.copiedParts.Lf():this.draggedParts.Lf();this.copiedParts=null,y&&Et(this),a.Ya(),gh(a,this.draggedParts),this.transactionResult=x?"Copy":"Move",a.R(x?"SelectionCopied":"SelectionMoved",b)}this.stopTool(),x&&a.R("ChangedSelection",a.selection)}}},da.prototype.simulatedMouseMove=function(a,y,x){if(cn===null)return!1;var b=cn.diagram;x instanceof pn||(x=null);var E=Dn;return x!==E&&(E!==null&&E!==b&&(E.ug(),cn.isDragOutStarted=!1,E=E.toolManager.findTool("Dragging"),E!==null&&E.doSimulatedDragLeave()),Dn=x,x!==null&&x!==b&&(Id(),E=x.toolManager.findTool("Dragging"),E!==null&&(kl.contains(E)||kl.add(E),E.doSimulatedDragEnter())),this.doUpdateCursor(null)),x===null||x===b||!x.allowDrop||x.isReadOnly||!x.allowInsert?!1:(b=x.toolManager.findTool("Dragging"),b!==null&&(a!==null&&(a.targetTouches!==void 0&&(0te&&(te=ce),de>re&&(re=de))}}for(b===1/0?z.h(0,0,0,0):z.h(b,E,te-b,re-E),b=z.x+z.width/2,E=z.y+z.height/2,jn.free(z),z=a.Fr,te=new Ii,re=lt.alloc(),le=y.iterator;le.next();)ce=le.value,ce instanceof yi&&ce.canCopy()&&(de=x.I(ce),de!==null&&(de.points=ce.points,Hh(de,z.x-b,z.y-E),de.suspendsRouting=!0,te.add(de,a.Pd())));for(y=y.iterator;y.next();)ce=y.value,ce.Zc()&&ce.canCopy()&&(le=x.I(ce),le!==null&&(ce=ce.location,re.h(z.x-(b-ce.x),z.y-(E-ce.y)),le.location=re,le.Va(),te.add(le,a.Pd(re))));lt.free(re),a.copiedParts=te,Yu(a,te.Lf()),a.draggedLink!==null&&(x=a.draggedLink,y=x.routeBounds,Hh(x,a.startPoint.x-(y.x+y.width/2),a.startPoint.y-(y.y+y.height/2))),a.doUpdateCursor(null)}}}da.prototype.doSimulatedDragOut=function(){var a=this.diagram;a.Ns=!1,this.mayCopy()||this.mayMove()?a.currentCursor="":a.currentCursor=this.nodropCursor,this.Bn=null},da.prototype.computeMove=function(a,y,x,b){return x=this.diagram,x!==null?x.computeMove(a,y,this.dragOptions,b):new lt},Nt.Object.defineProperties(da.prototype,{isCopyEnabled:{get:function(){return this.ob},set:function(a){this.ob=a}},copiesEffectiveCollection:{get:function(){return this.u},set:function(a){this.u=a}},dragOptions:{get:function(){return this.ia},set:function(a){this.ia=a}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(a){this.dragOptions.isGridSnapEnabled=a}},isComplexRoutingRealtime:{get:function(){return this.hb},set:function(a){this.hb=a}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(a){this.dragOptions.isGridSnapRealtime=a}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(a){this.dragOptions.gridSnapCellSize.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSize=a)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(a){this.dragOptions.gridSnapCellSpot.D(a)||(a=a.J(),this.dragOptions.gridSnapCellSpot=a)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(a){this.dragOptions.gridSnapOrigin.D(a)||(a=a.J(),this.dragOptions.gridSnapOrigin=a)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(a){this.dragOptions.dragsLink=a}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(a){this.dragOptions.dragsTree=a}},copyCursor:{get:function(){return this.F},set:function(a){this.F=a}},moveCursor:{get:function(){return this.Oc},set:function(a){this.Oc=a}},nodropCursor:{get:function(){return this.Pc},set:function(a){this.Pc=a}},currentPart:{get:function(){return this.V},set:function(a){this.V=a}},copiedParts:{get:function(){return this.o},set:function(a){this.o=a}},draggedParts:{get:function(){return this.Ha},set:function(a){this.Ha=a}},draggingParts:{get:function(){return this.copiedParts!==null?this.copiedParts.Lf():this.draggedParts!==null?this.draggedParts.Lf():this.te}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(a){this.diagram.draggedLink=a}},isDragOutStarted:{get:function(){return this.Hb},set:function(a){this.Hb=a}},startPoint:{get:function(){return this.Fr},set:function(a){this.Fr.D(a)||this.Fr.assign(a)}},delay:{get:function(){return this.Ik},set:function(a){this.Ik=a}}}),da.prototype.getDraggingSource=da.prototype.Az;var cn=null,Dn=null;da.className="DraggingTool",kl=new Ht,Wn("draggingTool",function(){return this.findTool("Dragging")},function(a){this.gb("Dragging",a,this.mouseMoveTools)}),pa.prototype.doCancel=function(){cn!==null&&cn.doCancel(),xo.prototype.doCancel.call(this)};function xn(){xo.call(this),this.te=100,this.Ha=!1,this.u="pointer";var a=new yi,y=new eo;y.isPanelMain=!0,y.stroke="blue",a.add(y),y=new eo,y.toArrow="Standard",y.fill="blue",y.stroke="blue",a.add(y),a.layerName="Tool",this.Ci=a,a=new Li,y=new eo,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=ua,a.add(y),a.selectable=!1,a.layerName="Tool",this.Bi=a,this.j=y,a=new Li,y=new eo,y.portId="",y.figure="Rectangle",y.fill=null,y.stroke="magenta",y.strokeWidth=2,y.desiredSize=ua,a.add(y),a.selectable=!1,a.layerName="Tool",this.Di=a,this.o=y,this.Pc=this.Oc=this.ob=this.hb=this.Hb=null,this.ia=!0,this.hy=new Ii,this.Of=this.gj=this.Pf=null}qt(xn,xo),xn.prototype.doStop=function(){this.diagram.ug(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},xn.prototype.copyPortProperties=function(a,y,x,b,E){if(a!==null&&y!==null&&x!==null&&b!==null){var z=y.Df(),te=fi.alloc();te.width=y.naturalBounds.width*z,te.height=y.naturalBounds.height*z,b.desiredSize=te,fi.free(te),E?(b.toSpot=y.toSpot,b.toEndSegmentLength=y.toEndSegmentLength):(b.fromSpot=y.fromSpot,b.fromEndSegmentLength=y.fromEndSegmentLength),x.locationSpot=wo,z=lt.alloc(),x.location=y.ga(wo,z),lt.free(z),b.angle=y.li(),this.portTargeted!==null&&this.portTargeted(a,y,x,b,E)}},xn.prototype.setNoTargetPortProperties=function(a,y,x){y!==null&&(y.desiredSize=ua,y.fromSpot=is,y.toSpot=is),a!==null&&(a.location=this.diagram.lastInput.documentPoint),this.portTargeted!==null&&this.portTargeted(null,null,a,y,x)},xn.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},xn.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),this.targetPort!==null&&this.targetPort.part instanceof Li){var y=this.targetPort.part;this.isForwards?this.copyPortProperties(y,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(y,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(a.allowHorizontalScroll||a.allowVerticalScroll)&&a.gs(a.lastInput.viewPoint)}},xn.prototype.findValidLinkablePort=function(a,y){if(a===null)return null;var x=a.part;if(!(x instanceof Li))return null;for(;a!==null;){var b=y?a.toLinkable:a.fromLinkable;if(b===!0&&(a.portId!==null||a instanceof Li)&&(y?this.isValidTo(x,a):this.isValidFrom(x,a)))return a;if(b===!1)break;a=a.panel}return null},xn.prototype.findTargetPort=function(a){var y=this.diagram,x=y.lastInput.documentPoint,b=this.portGravity;0>=b&&(b=.1);var E=this,z=y.og(x,b,function(ve){return E.findValidLinkablePort(ve,a)},null,!0);for(b=1/0,y=null,z=z.iterator;z.next();){var te=z.value,re=te.part;if(re instanceof Li){var le=te.ga(wo,lt.alloc()),ce=x.x-le.x,de=x.y-le.y;lt.free(le),le=ce*ce+de*de,lex){if(this.originalLink!==null&&a===this.originalFromNode&&y===this.originalFromPort)return!0;if(y=y.portId,y===null&&(y=""),a.Mo(y).count>=x)return!1}return!0},xn.prototype.isValidTo=function(a,y){if(a===null||y===null)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(a.layer!==null&&!a.layer.allowLink||y.toLinkable!==!0))return!1;var x=y.toMaxLinks;if(1/0>x){if(this.originalLink!==null&&a===this.originalToNode&&y===this.originalToPort)return!0;if(y=y.portId,y===null&&(y=""),a.Sd(y).count>=x)return!1}return!0},xn.prototype.isInSameNode=function(a,y){return a===null||y===null?!1:a===y?!0:(a=a.part,y=y.part,a!==null&&a===y)},xn.prototype.isLinked=function(a,y){if(a===null||y===null)return!1;var x=a.part;if(!(x instanceof Li))return!1;a=a.portId,a===null&&(a="");var b=y.part;if(!(b instanceof Li))return!1;for(y=y.portId,y===null&&(y=""),y=b.Sd(y);y.next();)if(b=y.value,b.fromNode===x&&b.fromPortId===a)return!0;return!1},xn.prototype.isValidLink=function(a,y,x,b){if(!this.isValidFrom(a,y)||!this.isValidTo(x,b)||!(y===null||b===null||(y.fromLinkableSelfNode&&b.toLinkableSelfNode||!this.isInSameNode(y,b))&&(y.fromLinkableDuplicates&&b.toLinkableDuplicates||!this.isLinked(y,b)))||this.originalLink!==null&&(a!==null&&this.isLabelDependentOnLink(a,this.originalLink)||x!==null&&this.isLabelDependentOnLink(x,this.originalLink))||a!==null&&x!==null&&(a.data===null&&x.data!==null||a.data!==null&&x.data===null)||!this.isValidCycle(a,x,this.originalLink))return!1;if(a!==null){var E=a.linkValidation;if(E!==null&&!E(a,y,x,b,this.originalLink))return!1}return x!==null&&(E=x.linkValidation,E!==null&&!E(a,y,x,b,this.originalLink))?!1:(E=this.linkValidation,E!==null?E(a,y,x,b,this.originalLink):!0)},xn.prototype.isLabelDependentOnLink=function(a,y){if(a===null)return!1;var x=a.labeledLink;if(x===null)return!1;if(x===y)return!0;var b=new Fn;return b.add(a),ri(this,x,y,b)};function ri(a,y,x,b){if(y===x)return!0;var E=y.fromNode;return E!==null&&E.isLinkLabel&&(b.add(E),ri(a,E.labeledLink,x,b))?!0:(y=y.toNode,!!(y!==null&&y.isLinkLabel&&(b.add(y),ri(a,y.labeledLink,x,b))))}xn.prototype.isValidCycle=function(a,y,x){if(x===void 0&&(x=null),a===null||y===null)return this.isUnconnectedLinkValid;var b=this.diagram.validCycle;if(b!==ug){if(b===mf){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=y.linksConnected;b.next();){var E=b.value;if(E!==x&&E.isTreeLink&&E.toNode===y)return!1}return!ai(this,a,y,x,!0)}if(b===vf){if(b=x||this.temporaryLink,b!==null&&!b.isTreeLink)return!0;for(b=a.linksConnected;b.next();)if(E=b.value,E!==x&&E.isTreeLink&&E.fromNode===a)return!1;return!ai(this,a,y,x,!0)}if(b===Zg)return a===y?a=!0:(b=new Fn,b.add(y),a=qn(this,b,a,y,x)),!a;if(b===cg)return!ai(this,a,y,x,!1);if(b===dg)return a===y?a=!0:(b=new Fn,b.add(y),a=bi(this,b,a,y,x)),!a}return!0};function ai(a,y,x,b,E){if(y===x)return!0;if(y===null||x===null)return!1;for(var z=y.linksConnected;z.next();){var te=z.value;if(te!==b&&(!E||te.isTreeLink)&&te.toNode===y&&(te=te.fromNode,te!==y&&ai(a,te,x,b,E)))return!0}return!1}function qn(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var te=z.value;if(te!==E&&te.toNode===x&&(te=te.fromNode,te!==x&&qn(a,y,te,b,E)))return!0}return!1}function bi(a,y,x,b,E){if(x===b)return!0;if(x===null||b===null||y.contains(x))return!1;y.add(x);for(var z=x.linksConnected;z.next();){var te=z.value;if(te!==E){var re=te.fromNode;if(te=te.toNode,re=re===x?te:re,re!==x&&bi(a,y,re,b,E))return!0}}return!1}Nt.Object.defineProperties(xn.prototype,{portGravity:{get:function(){return this.te},set:function(a){0<=a&&(this.te=a)}},isUnconnectedLinkValid:{get:function(){return this.Ha},set:function(a){this.Ha=a}},linkingCursor:{get:function(){return this.u},set:function(a){this.u=a}},temporaryLink:{get:function(){return this.Ci},set:function(a){this.Ci=a}},temporaryFromNode:{get:function(){return this.Bi},set:function(a){(this.Bi=a)&&(this.j=a.port)}},temporaryFromPort:{get:function(){return this.j},set:function(a){if(this.j!==null){var y=this.j.panel;if(y!==null){var x=y.O.indexOf(this.j);y.mb(x),y.Gb(x,a)}}this.j=a}},temporaryToNode:{get:function(){return this.Di},set:function(a){(this.Di=a)&&(this.o=a.port)}},temporaryToPort:{get:function(){return this.o},set:function(a){if(this.o!==null){var y=this.o.panel;if(y!==null){var x=y.O.indexOf(this.o);y.mb(x),y.Gb(x,a)}}this.o=a}},originalLink:{get:function(){return this.Hb},set:function(a){this.Hb=a}},originalFromNode:{get:function(){return this.hb},set:function(a){this.hb=a}},originalFromPort:{get:function(){return this.ob},set:function(a){this.ob=a}},originalToNode:{get:function(){return this.Oc},set:function(a){this.Oc=a}},originalToPort:{get:function(){return this.Pc},set:function(a){this.Pc=a}},isForwards:{get:function(){return this.ia},set:function(a){this.ia=a}},validPortsCache:{get:function(){return this.hy}},targetPort:{get:function(){return this.Pf},set:function(a){this.Pf=a}},linkValidation:{get:function(){return this.gj},set:function(a){this.gj=a}},portTargeted:{get:function(){return this.Of},set:function(a){this.Of=a}}}),xn.className="LinkingBaseTool";function Ni(){xn.call(this),this.name="Linking",this.V={},this.F=null,this.K=Ei,this.Xd=null}qt(Ni,xn),Ni.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return a.isReadOnly||a.isModelReadOnly||!a.allowLink||!a.model.xs()||!a.lastInput.left||a.currentTool!==this&&!this.isBeyondDragSize()?!1:this.findLinkablePort()!==null},Ni.prototype.findLinkablePort=function(){var a=this.diagram,y=this.startObject;if(y===null&&(y=a.ic(a.firstInput.documentPoint,null,null)),y===null||(a=y.part,!(a instanceof Li)))return null;var x=this.direction;if(x===Ei||x===qi){var b=this.findValidLinkablePort(y,!1);if(b!==null||this.startObject===a&&(b=a.port,this.findValidLinkablePort(b,!1)))return this.isForwards=!0,b}return(x===Ei||x===Ki)&&(y=this.findValidLinkablePort(y,!0),y!==null||this.startObject===a&&(y=a.port,this.findValidLinkablePort(y,!0)))?(this.isForwards=!1,y):null},Ni.prototype.doActivate=function(){var a=this.diagram,y=this.findLinkablePort();y===null?this.stopTool():(this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.isForwards?(this.temporaryToNode!==null&&(this.temporaryToNode.location=a.lastInput.documentPoint),this.originalFromPort=y,y=this.originalFromPort.part,y instanceof Li&&(this.originalFromNode=y),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(this.temporaryFromNode!==null&&(this.temporaryFromNode.location=a.lastInput.documentPoint),this.originalToPort=y,y=this.originalToPort.part,y instanceof Li&&(this.originalToNode=y),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),a.add(this.temporaryFromNode),this.temporaryFromNode&&this.temporaryFromNode.Va(),a.add(this.temporaryToNode),this.temporaryToNode&&this.temporaryToNode.Va(),this.temporaryLink!==null&&(this.temporaryFromNode!==null&&(this.temporaryLink.fromNode=this.temporaryFromNode),this.temporaryToNode!==null&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.bb(),a.add(this.temporaryLink)),this.isActive=!0)},Ni.prototype.doDeactivate=function(){this.isActive=!1;var a=this.diagram;a.remove(this.temporaryLink),a.remove(this.temporaryFromNode),a.remove(this.temporaryToNode),a.isMouseCaptured=!1,a.currentCursor="",this.stopTransaction()},Ni.prototype.doStop=function(){xn.prototype.doStop.call(this),this.startObject=null},Ni.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram,y=this.transactionResult=null,x=null,b=null,E=null,z=null;try{var te=this.targetPort=this.findTargetPort(this.isForwards);if(te!==null){var re=te.part;re instanceof Li&&(this.isForwards?(this.originalFromNode!==null&&(y=this.originalFromNode,x=this.originalFromPort),b=re,E=te):(y=re,x=te,this.originalToNode!==null&&(b=this.originalToNode,E=this.originalToPort)))}else this.isForwards?this.originalFromNode!==null&&this.isUnconnectedLinkValid&&(y=this.originalFromNode,x=this.originalFromPort):this.originalToNode!==null&&this.isUnconnectedLinkValid&&(b=this.originalToNode,E=this.originalToPort);y!==null||b!==null?(z=this.insertLink(y,x,b,E),z!==null?(te===null&&(this.isForwards?z.defaultToPoint=a.lastInput.documentPoint:z.defaultFromPoint=a.lastInput.documentPoint),a.allowSelect&&(a.R("ChangingSelection",a.selection),a.clearSelection(!0),z.isSelected=!0),this.transactionResult=this.name,a.R("LinkDrawn",z)):this.doNoLink(y,x,b,E)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}finally{this.stopTool(),z&&a.allowSelect&&a.R("ChangedSelection",a.selection)}}},Ni.prototype.isNewTreeLink=function(){var a=this.archetypeLinkData;if(a===null)return!0;if(a instanceof yi)return a.isTreeLink;var y=this.diagram;return y===null?!0:(a=y.partManager.getLinkCategoryForData(a),y=y.partManager.findLinkTemplateForCategory(a),y!==null?y.isTreeLink:!0)},Ni.prototype.insertLink=function(a,y,x,b){return this.diagram.partManager.insertLink(a,y,x,b)},Ni.prototype.doNoLink=function(){},Nt.Object.defineProperties(Ni.prototype,{archetypeLinkData:{get:function(){return this.V},set:function(a){this.V=a}},archetypeLabelNodeData:{get:function(){return this.F},set:function(a){this.F=a}},direction:{get:function(){return this.K},set:function(a){this.K=a}},startObject:{get:function(){return this.Xd},set:function(a){this.Xd=a}}});var Ei=new tn(Ni,"Either",0),qi=new tn(Ni,"ForwardsOnly",0),Ki=new tn(Ni,"BackwardsOnly",0);Ni.className="LinkingTool",Ni.Either=Ei,Ni.ForwardsOnly=qi,Ni.BackwardsOnly=Ki;function Ui(){xn.call(this),this.name="Relinking";var a=new eo;a.figure="Diamond",a.desiredSize=oa,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=0,this.V=a,a=new eo,a.figure="Diamond",a.desiredSize=oa,a.fill="lightblue",a.stroke="dodgerblue",a.cursor=this.linkingCursor,a.segmentIndex=-1,this.Xd=a,this.F=null,this.Ew=new jn}qt(Ui,xn),Ui.prototype.updateAdornments=function(a){if(a!==null&&a instanceof yi){var y="RelinkFrom",x=null;if(a.isSelected&&!this.diagram.isReadOnly){var b=a.selectionObject;b!==null&&a.canRelinkFrom()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null&&(x=this.makeAdornment(b,!1),a.bh(y,x)))}x===null&&a.Jf(y),y="RelinkTo",x=null,a.isSelected&&!this.diagram.isReadOnly&&(b=a.selectionObject,b!==null&&a.canRelinkTo()&&a.actualBounds.w()&&a.isVisible()&&b.actualBounds.w()&&b.Ed()&&(x=a.Pj(y),x===null?(x=this.makeAdornment(b,!0),a.bh(y,x)):x.v())),x===null&&a.Jf(y)}},Ui.prototype.makeAdornment=function(a,y){var x=new zo;return x.type=hi.Link,y=y?this.toHandleArchetype:this.fromHandleArchetype,y!==null&&x.add(y.copy()),x.adornedObject=a,x},Ui.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowRelink||!a.model.xs()||!a.lastInput.left)return!1;var y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom");return y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo")),y!==null},Ui.prototype.doActivate=function(){var a=this.diagram;if(this.originalLink===null){var y=this.handle;if(y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkFrom"),y===null&&(y=this.findToolHandleAt(a.firstInput.documentPoint,"RelinkTo"))),y===null)return;var x=y.part;if(!(x instanceof zo&&x.adornedPart instanceof yi))return;this.handle=y,this.isForwards=x===null||x.category==="RelinkTo",this.originalLink=x.adornedPart}this.Ea(this.name),a.isMouseCaptured=!0,a.currentCursor=this.linkingCursor,this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Ew.set(this.originalLink.actualBounds),this.originalLink!==null&&0y.firstPickIndex+1&&x=x.x)y=0>=x.y?y+225:1<=x.y?y+135:y+180;else if(1<=x.x)0>=x.y?y+=315:1<=x.y&&(y+=45);else if(0>=x.y)y+=270;else if(1<=x.y)y+=90;else break e;0>y?y+=360:360<=y&&(y-=360),a.cursor=22.5>y?"e-resize":67.5>y?"se-resize":112.5>y?"s-resize":157.5>y?"sw-resize":202.5>y?"w-resize":247.5>y?"nw-resize":292.5>y?"n-resize":337.5>y?"ne-resize":"e-resize"}else if(a instanceof hi)for(a=a.elements;a.next();)this.updateResizeHandles(a.value,y)}},Tr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;return!a.isReadOnly&&a.allowResize&&a.lastInput.left?this.findToolHandleAt(a.firstInput.documentPoint,this.name)!==null:!1},Tr.prototype.doActivate=function(){var a=this.diagram;this.handle===null&&(this.handle=this.findToolHandleAt(a.firstInput.documentPoint,this.name)),this.handle!==null&&(this.adornedObject=this.handle.part.adornedObject,this.adornedObject!==null&&(a.isMouseCaptured=!0,a.animationManager.Cc(),this.Ea(this.name),this.Xq.set(this.adornedObject.ga(this.handle.alignment.gv())),this.Tn.set(this.adornedObject.part.location),this.Dw.set(this.adornedObject.desiredSize),this.pt=this.computeCellSize(),this.rt=this.computeMinSize(),this.qt=this.computeMaxSize(),this.isActive=!0))},Tr.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.isActive=a.isMouseCaptured=!1},Tr.prototype.stopTransaction=function(){var a=this.diagram,y=xo.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},Tr.prototype.doCancel=function(){this.adornedObject!==null&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},Tr.prototype.doMouseMove=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,lt.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),a.bd(),lt.free(E)}},Tr.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){var y=this.rt,x=this.qt,b=this.pt,E=this.adornedObject.qs(a.lastInput.documentPoint,lt.alloc()),z=this.computeReshape();y=this.computeResize(E,this.handle.alignment,y,x,b,z),this.resize(y),lt.free(E),a.Ya(),this.transactionResult=this.name,a.R("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},Tr.prototype.resize=function(a){var y=this.diagram,x=this.adornedObject;if(x!==null){if(x.desiredSize=a.size,a=x.part,a.Va(),x=x.ga(this.handle.alignment.gv()),a instanceof _r){var b=new Ht;if(b.add(a),!this.dragsMembers&&a.placeholder===null){var E=new ae;E.dragsMembers=!1}y.moveParts(b,this.oppositePoint.copy().re(x),!0,E)}else a.location=a.location.copy().re(x).add(this.oppositePoint);y.bd()}},Tr.prototype.computeResize=function(a,y,x,b,E,z){y.Mc()&&(y=wo);var te=this.adornedObject.naturalBounds,re=te.x,le=te.y,ce=te.x+te.width,de=te.y+te.height,ve=1;if(!z){ve=te.width;var Pe=te.height;0>=ve&&(ve=1),0>=Pe&&(Pe=1),ve=Pe/ve}return Pe=lt.alloc(),Wt.No(a.x,a.y,re,le,E.width,E.height,Pe),a=te.copy(),0>=y.x?0>=y.y?(a.x=Math.max(Pe.x,ce-b.width),a.x=Math.min(a.x,ce-x.width),a.width=Math.max(ce-a.x,x.width),a.y=Math.max(Pe.y,de-b.height),a.y=Math.min(a.y,de-x.height),a.height=Math.max(de-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve):(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width),a.x=ce-a.width,a.y=de-a.height)):1<=y.y?(a.x=Math.max(Pe.x,ce-b.width),a.x=Math.min(a.x,ce-x.width),a.width=Math.max(ce-a.x,x.width),a.height=Math.max(Math.min(Pe.y-le,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve):(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width),a.x=ce-a.width)):(a.x=Math.max(Pe.x,ce-b.width),a.x=Math.min(a.x,ce-x.width),a.width=ce-a.x,z||(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve,a.y=le+.5*(de-le-a.height))):1<=y.x?0>=y.y?(a.width=Math.max(Math.min(Pe.x-re,b.width),x.width),a.y=Math.max(Pe.y,de-b.height),a.y=Math.min(a.y,de-x.height),a.height=Math.max(de-a.y,x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve):(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width),a.y=de-a.height)):1<=y.y?(a.width=Math.max(Math.min(Pe.x-re,b.width),x.width),a.height=Math.max(Math.min(Pe.y-le,b.height),x.height),z||(1<=a.height/a.width?(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve):(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width))):(a.width=Math.max(Math.min(Pe.x-re,b.width),x.width),z||(a.height=Math.max(Math.min(ve*a.width,b.height),x.height),a.width=a.height/ve,a.y=le+.5*(de-le-a.height))):0>=y.y?(a.y=Math.max(Pe.y,de-b.height),a.y=Math.min(a.y,de-x.height),a.height=de-a.y,z||(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width,a.x=re+.5*(ce-re-a.width))):1<=y.y&&(a.height=Math.max(Math.min(Pe.y-le,b.height),x.height),z||(a.width=Math.max(Math.min(a.height/ve,b.width),x.width),a.height=ve*a.width,a.x=re+.5*(ce-re-a.width))),lt.free(Pe),a},Tr.prototype.computeReshape=function(){var a=_n;return this.adornedObject instanceof eo&&(a=Rv(this.adornedObject)),!(a===pi||this.diagram.lastInput.shift)},Tr.prototype.computeMinSize=function(){var a=this.adornedObject.minSize.copy(),y=this.minSize;return!isNaN(y.width)&&y.width>a.width&&(a.width=y.width),!isNaN(y.height)&&y.height>a.height&&(a.height=y.height),a},Tr.prototype.computeMaxSize=function(){var a=this.adornedObject.maxSize.copy(),y=this.maxSize;return!isNaN(y.width)&&y.widthx?x+=360:360<=x&&(x-=360),x=Math.round(45*Math.round(x/45));var b=this.handleDistance;return x===0?y.x=a.naturalBounds.width+b:x===45?(y.x=a.naturalBounds.width+b,y.y=a.naturalBounds.height+b):x===90?y.y=a.naturalBounds.height+b:x===135?(y.x=-b,y.y=a.naturalBounds.height+b):x===180?y.x=-b:x===225?(y.x=-b,y.y=-b):x===270?y.y=-b:x===315&&(y.x=a.naturalBounds.width+b,y.y=-b),a.ga(y)},mo.prototype.doDeactivate=function(){var a=this.diagram;this.stopTransaction(),this.ue=this.handle=null,this.kr=new lt(NaN,NaN),this.isActive=a.isMouseCaptured=!1},mo.prototype.stopTransaction=function(){var a=this.diagram,y=xo.prototype.stopTransaction.call(this);return y&&a.undoManager.transactionToUndo!==null&&a.undoManager.transactionToUndo.ak(),y},mo.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},mo.prototype.doMouseMove=function(){var a=this.diagram;this.isActive&&(a=this.computeRotate(a.lastInput.documentPoint),this.rotate(a))},mo.prototype.doMouseUp=function(){var a=this.diagram;if(this.isActive){a.delaysLayout=!1;var y=this.computeRotate(a.lastInput.documentPoint);this.rotate(y),a.Ya(),this.transactionResult=this.name,a.R("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},mo.prototype.rotate=function(a){var y=this.adornedObject;if(y!==null){y.angle=a,y=y.part,y.Va();var x=y.locationObject,b=y.rotateObject;(x===b||x.rg(b))&&(x=this.Tn.copy(),y.location=x.re(this.rotationPoint).rotate(a-this.originalAngle).add(this.rotationPoint)),this.diagram.bd()}},mo.prototype.computeRotate=function(a){a=this.rotationPoint.ab(a)-this.handleAngle;var y=this.adornedObject.panel;y!==null&&(a-=y.li()),360<=a?a-=360:0>a&&(a+=360),y=Math.min(Math.abs(this.snapAngleMultiple),180);var x=Math.min(Math.abs(this.snapAngleEpsilon),y/2);return!this.diagram.lastInput.shift&&0y-x&&(a=(Math.floor(a/y)+1)*y)),360<=a?a-=360:0>a&&(a+=360),a},Nt.Object.defineProperties(mo.prototype,{handleArchetype:{get:function(){return this.o},set:function(a){this.o=a}},handle:{get:function(){return this.j},set:function(a){if(a!==null&&!(a.part instanceof zo))throw Error("new handle is not in an Adornment: "+a);this.j=a}},adornedObject:{get:function(){return this.ue},set:function(a){if(a!==null&&a.part instanceof zo)throw Error("new handle must not be in an Adornment: "+a);this.ue=a}},snapAngleMultiple:{get:function(){return this.ia},set:function(a){this.ia=a}},snapAngleEpsilon:{get:function(){return this.V},set:function(a){this.V=a}},originalAngle:{get:function(){return this.Cw}},rotationPoint:{get:function(){return this.kr},set:function(a){this.kr=a.copy()}},handleAngle:{get:function(){return this.u},set:function(a){this.u=a}},handleDistance:{get:function(){return this.F},set:function(a){this.F=a}}}),mo.className="RotatingTool",Wn("rotatingTool",function(){return this.findTool("Rotating")},function(a){this.gb("Rotating",a,this.mouseDownTools)});function Zo(){xo.call(this),this.name="ClickSelecting"}qt(Zo,xo),Zo.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Zo.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Zo.className="ClickSelectingTool";function Hr(){xo.call(this),this.name="Action",this.pk=null}qt(Hr,xo),Hr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram,y=a.lastInput,x=a.ic(y.documentPoint,function(b){for(;b.panel!==null&&!b.isActionable;)b=b.panel;return b});return x!==null&&x.isActionable?(this.pk=x,a.Ck=a.ic(y.documentPoint,null,null),!0):!1},Hr.prototype.doMouseDown=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionDown!==null&&y.actionDown(a,y))}else this.canStart()&&this.doActivate()},Hr.prototype.doMouseMove=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionMove!==null&&y.actionMove(a,y))}},Hr.prototype.doMouseUp=function(){if(this.isActive){var a=this.diagram.lastInput,y=this.pk;if(y===null)return;a.targetObject=y,y.actionUp!==null&&y.actionUp(a,y),this.standardMouseClick(function(x){for(;x.panel!==null&&(!x.isActionable||x!==y);)x=x.panel;return x},function(x){return x===y})}this.stopTool()},Hr.prototype.doCancel=function(){var a=this.diagram.lastInput,y=this.pk;y!==null&&(a.targetObject=y,y.actionCancel!==null&&y.actionCancel(a,y),this.stopTool())},Hr.prototype.doStop=function(){this.pk=null},Hr.className="ActionTool";function uo(){xo.call(this),this.name="ClickCreating",this.Ri=null,this.o=!0,this.j=!1,this.mw=new lt(0,0)}qt(uo,xo),uo.prototype.canStart=function(){if(!this.isEnabled||this.archetypeNodeData===null)return!1;var a=this.diagram;if(a.isReadOnly||a.isModelReadOnly||!a.allowInsert||!a.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(a.lastInput.clickCount===1&&(this.mw=a.lastInput.viewPoint.copy()),a.lastInput.clickCount!==2||this.isBeyondDragSize(this.mw))return!1}else if(a.lastInput.clickCount!==1)return!1;return!(a.currentTool!==this&&a.Ol(a.lastInput.documentPoint,!0)!==null)},uo.prototype.doMouseUp=function(){var a=this.diagram;this.isActive&&this.insertPart(a.lastInput.documentPoint),this.stopTool()},uo.prototype.insertPart=function(a){var y=this.diagram,x=this.archetypeNodeData;if(x===null)return null;var b=null;try{if(y.R("ChangingSelection",y.selection),this.Ea(this.name),x instanceof nr)x.Zc()&&(Vc(x),b=x.copy(),b!==null&&y.add(b));else if(x!==null){var E=y.model.copyNodeData(x);Gt(E)&&(y.model.xf(E),b=y.Lc(E))}if(b!==null){var z=lt.allocAt(a.x,a.y);this.isGridSnapEnabled&&Fg(this.diagram,b,a,z),b.location=z,y.allowSelect&&(y.clearSelection(!0),b.isSelected=!0),lt.free(z)}y.Ya(),this.transactionResult=this.name,y.R("PartCreated",b)}finally{this.stopTransaction(),y.R("ChangedSelection",y.selection)}return b},Nt.Object.defineProperties(uo.prototype,{archetypeNodeData:{get:function(){return this.Ri},set:function(a){this.Ri=a}},isDoubleClick:{get:function(){return this.o},set:function(a){this.o=a}},isGridSnapEnabled:{get:function(){return this.j},set:function(a){this.j=a}}}),uo.className="ClickCreatingTool";function vr(){xo.call(this),this.name="DragSelecting",this.Ik=175,this.o=!1;var a=new nr;a.layerName="Tool",a.selectable=!1;var y=new eo;y.name="SHAPE",y.figure="Rectangle",y.fill=null,y.stroke="magenta",a.add(y),this.j=a}qt(vr,xo),vr.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(!a.allowSelect)return!1;var y=a.lastInput;return!(!y.left||a.currentTool!==this&&(!this.isBeyondDragSize()||y.timestamp-a.firstInput.timestampE.right&&(x.x-=b.width+5/y.scale),x.xE.bottom&&(x.y-=b.height+5/y.scale),x.ya.lastInput.clickCount)):!1},No.prototype.doStart=function(){ql=this,this.textBlock!==null&&this.doActivate()},No.prototype.doActivate=function(){if(!this.isActive){var a=this.diagram;if(a!==null){var y=this.textBlock;if(y===null&&(y=a.ic(a.lastInput.documentPoint)),y!==null&&y instanceof Pa&&(this.textBlock=y,y.part!==null)){a.animationManager.Cc(),this.isActive=!0,this.qa=Yo;var x=this.defaultTextEditor;y.textEditor!==null&&(x=y.textEditor),this.Zh=this.textBlock.copy();var b=new jn(this.textBlock.ga(Hs),this.textBlock.ga(Fl));a.tv(b),x.show(y,a,this),this.currentTextEditor=x}}}},No.prototype.doCancel=function(){this.stopTool()},No.prototype.doMouseUp=function(){this.canStart()&&this.doActivate()},No.prototype.doMouseDown=function(){this.isActive&&this.acceptText(qs)},No.prototype.acceptText=function(a){switch(a){case qs:this.qa===al?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.qa===Yo||this.qa===xl||this.qa===Sa)&&(this.qa=ja,bs(this));break;case ys:case wi:case _o:(wi!==a||this.textBlock.isMultiline!==!0)&&(this.qa===Yo||this.qa===xl||this.qa===Sa)&&(this.qa=ja,bs(this))}};function bs(a){var y=a.textBlock,x=a.diagram,b=a.currentTextEditor;if(y!==null&&b!==null){var E=y.text,z="";b.valueFunction!==null&&(z=b.valueFunction()),a.isValidText(y,E,z)?(a.Ea(a.name),a.qa=al,a.transactionResult=a.name,y.text=z,a.doSuccess(E,z),x!==null&&x.R("TextEdited",y,E),a.stopTransaction(),a.stopTool(),x!==null&&x.doFocus()):(a.qa=xl,a.doError(E,z))}}No.prototype.doError=function(a,y){var x=this.textBlock;x.errorFunction!==null&&x.errorFunction(this,a,y),(a=this.currentTextEditor)&&a.show(x,this.diagram,this)},No.prototype.doSuccess=function(a,y){var x=this.textBlock;x.textEdited!==null&&x.textEdited(x,a,y)},No.prototype.doDeactivate=function(){var a=this.diagram;a!==null&&(this.qa=ho,this.currentTextEditor!==null&&this.currentTextEditor.hide(a,this),this.textBlock=null,this.isActive=!1)},No.prototype.doStop=function(){ql=null},No.prototype.isValidText=function(a,y,x){var b=this.textValidation;return b!==null&&!b(a,y,x)?!1:(b=a.textValidation,!!(b===null||b(a,y,x)))},No.prototype.Lx=function(a){var y=this.Zh;return y.text=a,y.measure(this.textBlock.Ih,1/0),y},Nt.Object.defineProperties(No.prototype,{textBlock:{get:function(){return this.ia},set:function(a){this.ia=a}},currentTextEditor:{get:function(){return this.o},set:function(a){this.o=a}},defaultTextEditor:{get:function(){return this.j},set:function(a){this.j=a}},starting:{get:function(){return this.V},set:function(a){this.V=a}},textValidation:{get:function(){return this.vj},set:function(a){this.vj=a}},minimumEditorScale:{get:function(){return this.u},set:function(a){this.u=a}},selectsTextOnActivate:{get:function(){return this.F},set:function(a){this.F=a}},state:{get:function(){return this.qa},set:function(a){this.qa!==a&&(this.qa=a)}}}),No.prototype.measureTemporaryTextBlock=No.prototype.Lx;var ys=new tn(No,"LostFocus",0),qs=new tn(No,"MouseDown",1),_o=new tn(No,"Tab",2),wi=new tn(No,"Enter",3),er=new tn(No,"SingleClick",0),qr=new tn(No,"SingleClickSelected",1),La=new tn(No,"DoubleClick",2),ho=new tn(No,"StateNone",0),Yo=new tn(No,"StateActive",1),Sa=new tn(No,"StateEditing",2),ja=new tn(No,"StateValidating",3),xl=new tn(No,"StateInvalid",4),al=new tn(No,"StateValidated",5),ql=null;No.className="TextEditingTool",No.LostFocus=ys,No.MouseDown=qs,No.Tab=_o,No.Enter=wi,No.SingleClick=er,No.SingleClickSelected=qr,No.DoubleClick=La,No.StateNone=ho,No.StateActive=Yo,No.StateEditing=Sa,No.StateValidating=ja,No.StateInvalid=xl,No.StateValidated=al,Wn("textEditingTool",function(){return this.findTool("TextEditing")},function(a){this.gb("TextEditing",a,this.mouseUpTools)});function Ya(a){Iu||(hl(),Iu=!0),this.H=Lc,this.Ok=this.zb=this.vq=this.bc=!1,this.Qw=!0,this.Pk=lc,this.Dm=!1,this.Gh=this.Jd=!0,this.Dg=600,this.cw=this.Ow=!1,this.Zd=new Fn,this.ce=new qa,this.ce.Yd=this,this.Ei=new Fn,this.pu=new Fn,this.Sr=new Fn,this.pr=new Fn,a&&Object.assign(this,a)}Ya.prototype.Xe=function(a){this.H=a},Ya.prototype.canStart=function(){return!0};function _l(a,y){a.Jd&&a.canStart(y)&&(a.Zd.add(y),a.defaultAnimation.isAnimating&&a.Cc(),El(a.H),a.zb=!0)}function sl(a){if(a.Jd&&a.zb){var y=a.ce,x=a.H,b=a.Zd.contains("Model");b&&(a.Ok=!0,a.Pk===lc?(y.isViewportUnconstrained=!0,y.vc.clear(),y.add(x,"position",x.position.copy().offset(0,-200),x.position),y.add(x,"opacity",0,1)):a.Pk===Ju&&y.vc.clear(),a.Qw=!!(a.Pk===uc&&x.du.D(x.pa)),x.R("InitialAnimationStarting",a)),b&&!a.Gh||y.vc.count===0?(a.Zd.clear(),a.zb=!1,y.vc.clear(),bl(y,x),a.Ok=!1,x.N()):(a.Zd.clear(),x.kg=!1,b=y.vc.get(x),x.autoScale!==Xl&&b!==null&&(delete b.start.scale,delete b.end.scale),yt.requestAnimationFrame(function(){a.zb===!1||y.bc||(x.Gf("temporaryPixelRatio")&&Gl(x),Th(x),a.zb=!1,y.start(),y.bc&&(Ss(a),x.Ya(),id(y,0),au(x,!0),Vs(a),x.R("AnimationStarting",a)))}))}}function Ml(a){return a.Zd.contains("Trigger")&&a.Zd.count===1}function Hc(a,y,x,b){a.isTicking||Ml(a)||y instanceof yi&&(y.fromNode!==null||y.toNode!==null)||a.ce.add(y,"position",x,b,!1)}Ue=Ya.prototype,Ue.fv=function(a){return this.ce.fv(a)},Ue.Xu=function(a){return this.ce.Xu(a)};function Za(a,y){function x(){if(0z?z+=360:le+=360),z=E(x,z,le-z,b)%360,te=E(x,te,ce-te,b),re=E(x,re,de-re,b),x=E(x,a,y-a,b),"hsla("+z+", "+te+"%, "+re+"%, "+x+")"}function hl(){function a(x,b,E,z,te,re){x.position=new lt(z(te,b.x,E.x-b.x,re),z(te,b.y,E.y-b.y,re))}var y=new Ii;y.add("position:diagram",a),y.add("position",a),y.add("position:part",function(x,b,E,z,te,re){tea&&Ln(a,">= 1",Ya,"duration"),this.Dg=a}},isAnimating:{get:function(){return this.bc}},isTicking:{get:function(){return this.vq}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a}},defaultAnimation:{get:function(){return this.ce}},activeAnimations:{get:function(){return this.Ei}},initialAnimationStyle:{get:function(){return this.Pk},set:function(a){this.Pk=a}}}),Ya.prototype.stopAnimation=Ya.prototype.Cc;var Qu=null,Iu=!1,lc=new tn(Ya,"Default",1),uc=new tn(Ya,"AnimateLocations",2),Ju=new tn(Ya,"None",3);Ya.className="AnimationManager",Ya.defineAnimationEffect=function(a,y){Iu||(hl(),Iu=!0),Qu.add(a,y)},Ya.Default=lc,Ya.AnimateLocations=uc,Ya.None=Ju;function qa(a){this.vu=this.Nw=this.Yd=this.H=null,this.Xk=this.bc=this.j=!1,this.cn=this.Qd=0,this.Lp=this.ot=cc,this.Wk=this.ho=!1,this.cu=1,this.au=0,this.Gd=this.Dg=NaN,this.gw=0,this.dn=null,this.o=Rr,this.vc=new Ii,this.Tt=new Ii,this.yl=new Fn,this.Ut=new Fn,this.dw=he,a&&Object.assign(this,a)}qa.prototype.suspend=function(){this.Xk=!0},qa.prototype.advanceTo=function(a,y){y&&(this.Xk=!1),this.ho&&a>=this.Gd&&(this.Wk=!0,a-=this.Gd),this.gw=a,fu(this,!0),Ss(this.Yd),au(this.H),Vs(this.Yd),this.H.redraw()};function bl(a,y){if(a.Tt.clear(),a.Wk=!1,a.au=0,a.Gd=NaN,0a.cn?a.Gd:b-a.Qd;y&&(E=a.gw,Ea.cn&&(a.ho&&!a.Wk?(a.Qd=+new Date,a.cn=a.Qd+a.Gd,a.Wk=!0):a.Ml(!1))}}}function id(a,y){for(var x=a.Gd,b=a.vc.iterator,E=a.Wk;b.next();){var z=b.key;if(!(z instanceof Rt&&z.diagram===null)){var te=b.value,re=E?te.end:te.start;te=E?te.start:te.end;var le=Qu,ce;for(ce in te)ce==="position"&&(te["position:placeholder"]||te["position:nodeCollapse"])||le.get(ce)===null||le.get(ce)(z,re[ce],te[ce],a.Lp,y,x,a)}}}Ue.stop=function(){return this.bc?(this.Ml(!0),this):this},Ue.Ml=function(a){if(this.vu!==null&&this.vu.jo.remove(this.Nw),this.bc){var y=this.H,x=this.Yd;this.Xk=this.bc=x.Ok=!1,Ss(x);for(var b=this.vc,E=this.yl.iterator;E.next();)y.remove(E.value);for(E=this.Ut.iterator;E.next();)E.value.v();E=this.ho,b=b.iterator;for(var z=Qu;b.next();){var te=b.key,re=b.value,le=E?re.end:re.start,ce=E?re.start:re.end,de=re.Ku,ve;for(ve in ce)if(z.get(ve)!==null){var Pe=ve;!re.Hu||Pe!=="position:nodeCollapse"&&Pe!=="position:placeholder"||(Pe="position"),z.get(Pe)(te,le[ve],de[ve]!==void 0?de[ve]:re.Hu?le[ve]:ce[ve],this.Lp,this.Gd,this.Gd,this)}re.Hu&&de.location!==void 0&&te instanceof nr&&(te.location=de.location),re.nv&&te instanceof nr&&te.Zb(!1)}if(y.As.clear(),Hd(y,!1),y.Ya(),y.N(),au(y,!0),x.defaultAnimation===this){for(ve=x.pr.iterator;ve.next();)E=ve.value,E.Tg!==null&&(E.points=E.Tg,E.Tg=null);x.pr.clear()}au(y,!0),this.isViewportUnconstrained&&(y.scrollMode=this.dw),Vs(x),this.au++,!a&&this.cu>this.au?(this.Wk=!1,this.start()):(this.dn&&this.dn(this),bl(this,null),x.Ml(this),y.$b())}},Ue.Cj=function(a,y){var x=y.actualBounds,b=null;if(y instanceof _r&&(b=y.placeholder),b!==null?(x=b.ga(Hs),b=b.padding,x.x+=b.left,x.y+=b.top,this.add(a,"position",x,a.position,!1)):this.add(a,"position",new lt(x.x+x.width/2,x.y+x.height/2),a.position,!1),this.add(a,"scale",.01,a.scale,!1),a instanceof _r)for(a=a.memberParts;a.next();)b=a.value,b instanceof Li&&this.Cj(b,y)},Ue.Aj=function(a,y){if(a.isVisible()){var x=null;if(y instanceof _r&&(x=y.placeholder),x!==null){var b=x.ga(Hs);x=x.padding,b.x+=x.left,b.y+=x.top,this.add(a,"position:placeholder",a.position,b,!0)}else this.add(a,"position:nodeCollapse",a.position,y,!0);if(this.add(a,"scale",a.scale,.01,!0),b=this.vc,b.contains(a)&&(b.I(a).nv=!0),a instanceof _r)for(a=a.memberParts;a.next();)b=a.value,b instanceof Li&&this.Aj(b,y)}},Ue.Ez=function(a){var y=this.Tt.get(a);return y===null&&(y={},this.Tt.add(a,y)),y},Nt.Object.defineProperties(qa.prototype,{duration:{get:function(){return this.Dg},set:function(a){1>a&&Ln(a,">= 1",qa,"duration"),this.Dg=a}},reversible:{get:function(){return this.ho},set:function(a){this.ho=a}},runCount:{get:function(){return this.cu},set:function(a){0a?x/2*a*a+y:-x/2*(--a*(a-2)-1)+y}function dc(a,y,x,b){return a===b?y+x:x*(-Math.pow(2,-10*a/b)+1)+y}qa.className="Animation",qa.EaseLinear=function(a,y,x,b){return x*a/b+y},qa.EaseInOutQuad=cc,qa.EaseInQuad=function(a,y,x,b){return x*(a/=b)*a+y},qa.EaseOutQuad=function(a,y,x,b){return-x*(a/=b)*(a-2)+y},qa.EaseInExpo=function(a,y,x,b){return a===0?y:x*Math.pow(2,10*(a/b-1))+y},qa.EaseOutExpo=dc;function Mc(a,y,x){this.start=a,this.end=y,this.Ku={},this.Hu=x,this.nv=!1}Mc.className="AnimationState";function ou(a,y,x){this.xd=null,this.rf=a,this.so=x||Cs,this.uk=null,y!==void 0&&(this.uk=y,x===void 0&&(this.so=wl))}ou.prototype.copy=function(){var a=new ou(this.rf);a.so=this.so;var y=this.uk;if(y!==null){var x={};y.duration!==void 0&&(x.duration=y.duration),y.finished!==void 0&&(x.finished=y.finished),y.easing!==void 0&&(x.easing=y.easing),a.uk=x}return a};function Ua(a,y){a=a.uk,a!==null&&(a.duration&&(y.duration=a.duration),a.finished&&(y.finished=a.finished),a.easing&&(y.easing=a.easing))}Nt.Object.defineProperties(ou.prototype,{propertyName:{get:function(){return this.rf},set:function(a){this.rf=a}},animationSettings:{get:function(){return this.uk},set:function(a){this.uk=a}},startCondition:{get:function(){return this.so},set:function(a){this.so=a}}});var Cs=new tn(ou,"Default",1),wl=new tn(ou,"Immediate",2),Ls=new tn(ou,"Bundled",3);ou.className="AnimationTrigger",ou.Default=Cs,ou.Immediate=wl,ou.Bundled=Ls;function _a(a){kr(this),this.H=null,this.Pa=new Ht,this.xa="",this.pb=1,this.o=!1,this.j=this.Uh=this.u=this.Oi=this.Ni=this.Mi=this.Li=this.Ji=this.Ki=this.Ii=this.Qi=this.Hi=this.Pi=this.Gi=this.Fi=!0,this.Zq=[],a&&Object.assign(this,a)}Ue=_a.prototype,Ue.clear=function(){for(var a=this.Pa,y=0;y=a)return y;for(var x=0,b=0,E=0,z=0,te=0,re=this.Pa.iterator;re.next();){var le=re.value;le instanceof _r?E++:le instanceof Li?b++:le instanceof yi?z++:le instanceof zo?te++:x++}if(re="",0x.Oq||re.height*E>x.Oq?y.gc(a,x):(E=y.actualBounds,z=y.naturalBounds,E.width===0||E.height===0||isNaN(E.x)||isNaN(E.y)||!y.isVisible()||(x=y.transform,y.areaBackground!==null&&(Ca(y,a,y.areaBackground,!0,!0,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.areaBackground===null&&y.background===null&&(Ca(y,a,"rgba(0,0,0,0.3)",!0,!1,z,E),a.fillRect(E.x,E.y,E.width,E.height)),y.background!==null&&(a.transform(x.m11,x.m12,x.m21,x.m22,x.dx,x.dy),Ca(y,a,y.background,!0,!1,z,E),a.fillRect(0,0,z.width/2,z.height/2),x.ws()||(y=1/(x.m11*x.m22-x.m12*x.m21),a.transform(x.m22*y,-x.m12*y,-x.m21*y,x.m11*y,y*(x.m21*x.dy-x.m22*x.dx),y*(x.m12*x.dx-x.m11*x.dy)))))),b&&(a.restore(),a.Vc(!0))}},Ue.g=function(a,y,x,b,E){var z=this.diagram;z!==null&&z.cb(Ma,a,this,y,x,b,E)},Ue.oi=function(a,y,x){var b=this.Pa;if(y.Ig=this,this===null&&ha(y),a>=b.count)a=b.count;else if(b.M(a)===y)return-1;return b.Gb(a,y),y.Vo(x),b=this.diagram,b!==null&&(x?b.N():b.oi(y)),qu(this,a,y),a},Ue.pc=function(a,y,x){if(!x&&y.layer!==this&&y.layer!==null)return y.layer.pc(a,y,x);var b=this.Pa;if(0>a||a>=b.length){if(a=b.indexOf(y),0>a)return-1}else if(b.M(a)!==y&&(a=b.indexOf(y),0>a))return-1;return y.Wo(x),b.mb(a),b=this.diagram,b!==null&&(x?b.N():b.pc(y)),y.Ig=null,ha(y),a};function qu(a,y,x){if(y=sh(a,y,x),x instanceof _r&&x!==null&&isNaN(x.zOrder)){if(x.memberParts.count!==0){for(var b=-1,E=a.Pa.s,z=E.length,te=0;teb&&re.containingGroup===x&&(b=te,0<=y))break}!(0>b)&&b=E)return y;if(0>y&&(y=a.indexOf(x)),0>y)return-1;for(var z=y-1,te=NaN;0<=z&&(te=a.M(z).zOrder,!!isNaN(te));)z--;for(var re=y+1,le=NaN;reb)for(;;){if(z===-1||te<=b){if(z++,z===y)break;return a.mb(y),a.Gb(z,x),z}for(te=NaN;0<=--z&&(te=a.M(z).zOrder,isNaN(te)););}else if(!isNaN(le)&&le=b){if(re--,re===y)break;return a.mb(y),a.Gb(re,x),re}for(le=NaN;++rea||1=a)return y;for(var x=this.Wa.iterator;x.next();)y+=` + `+x.value.toString(a-1);return y};function Lh(a,y){if(ls){if(y!=null||bt("Diagram setup requires an argument DIV."),a.Ka!==null&&bt("Diagram has already completed setup."),typeof y=="string"?a.Ka=yt.document.getElementById(y):y instanceof HTMLDivElement?a.Ka=y:bt("No DIV or DIV id supplied: "+y),a.Ka===null&&bt("Invalid DIV id; could not get element with id: "+y),a.Ka.H!==void 0&&bt("Invalid div id; div already has a Diagram associated with it."),!a.ol&&yt.ResizeObserver){var x=zn(function(){a.$b()},250);a.ol=new yt.ResizeObserver(function(){x()}),a.ol.observe(a.Ka)}yt.getComputedStyle(a.Ka,null).position==="static"&&(a.Ka.style.position="relative"),y=5;var b="rgba(2"+y+"5, 255, 255, 0)";y--,a.Ka.style["-webkit-tap-highlight-color"]=b,a.Ka.innerHTML="",a.Ka.H=a,a.Ka.goDiagram=a,a.Ka.go=yt.go;var E=new Oa(a);if(E.style!==void 0&&(E.style.position="absolute",E.style.top="0px",E.style.left="0px",yt.getComputedStyle(a.Ka,null).getPropertyValue("direction")==="rtl"&&(a.tn=!0),E.style.zIndex="2",E.style.userSelect="none",E.style.MozUserSelect="none",E.style.touchAction="none",E.style.letterSpacing="normal !important",E.style.wordSpacing="normal !important"),a.ta=E,a.ib=E.context,b=a.ib,a.Mb=a.computePixelRatio(),a.viewSize.w()||(a.Aa=a.Ka.clientWidth||1,a.ya=a.Ka.clientHeight||1),dh(a,a.Aa,a.ya),a.Ka.insertBefore(E.Oa,a.Ka.firstChild),E=new Oa(null),E.width=1,E.height=1,a.jw=E,a.oy=E.context,ls){E=Rn("div");var z=Rn("div");E.style.position="absolute",E.style.overflow="auto",E.style.width=a.Aa+"px",E.style.height=a.ya+"px",E.style.zIndex="1",z.style.position="absolute",z.style.width="1px",z.style.height="1px",a.Ka.appendChild(E),E.appendChild(z),E.onscroll=Og,E.addEventListener("pointerdown",og),E.H=a,E.uy=!0,E.vy=!0,a.ku=E,a.hu=z}a.hk=zn(function(){a.Yh=null,a.N()},300),a.Ov=zn(function(){Th(a)},250),a.preventDefault=function(te){return te.preventDefault(),!1},a.$j=function(te){if(a.isEnabled){var re=vu(a,te,!0);re.bubbles=!0;var le=0,ce=0;re.delta=0,te.deltaX!==void 0?(te.deltaX!==0&&(le=0Math.abs(te.deltaY)?-le:-ce):te.wheelDeltaX!==void 0?(te.wheelDeltaX!==0&&(le=0Math.abs(te.wheelDeltaY)?-le:-ce):te.wheelDelta!==void 0&&te.wheelDelta!==0&&(re.delta=0re||Math.abs(ce.y-te.screenY)>re)?a.yq++:a.yq=1,le.clickCount=a.yq,a.tw=te.timeStamp,a.uw.sg(te.screenX,te.screenY),a.doMouseDown(),te.button===1?te.preventDefault():Du(le,te)}},a.dk=function(te){if(a.isEnabled){a.Vk=!0;var re=a.oj;if(re[0]===null||re[0].pointerId!==te.pointerId&&re[0].pointerType===te.pointerType){if(re[1]!==null&&re[1].pointerId===te.pointerId){re[1]=te;return}if(re[0]===null)re[0]=te;else return}else re[0]=te;if(re[0].pointerId===te.pointerId){re=kh(a,te,!1,!1,!1,re[1]!==null);var le=yt.document.elementFromPoint(te.clientX,te.clientY)||null;le!==null&&le.shadowRoot!==void 0&&le.shadowRoot!==null&&(le=le.shadowRoot.elementFromPoint(te.clientX,te.clientY));var ce=a,de=te;le&&le.H&&(de=te,ce=le.H),re.targetDiagram=ce,Vd(a,de,re),re.targetObject=null,a.doMouseMove(),Du(re,te)}}},a.fk=function(te){if(a.isEnabled){a.Vk=!0;var re=te.pointerType==="touch"||te.pointerType==="pen",le=a.Yt;if(re&&a.qu)delete le[te.pointerId],te.preventDefault();else if(le=a.oj,le[0]===null||le[0].pointerId!==te.pointerId&&le[0].pointerType===te.pointerType)le[1]!==null&&le[1].pointerId===te.pointerId&&(le[1]=null);else{le[0]=null,le=kh(a,te,!1,!0,!0,!1);var ce=yt.document.elementFromPoint(te.clientX,te.clientY)||null;ce!==null&&ce.shadowRoot!==void 0&&ce.shadowRoot!==null&&(ce=ce.shadowRoot.elementFromPoint(te.clientX,te.clientY)),ce!==null&&ce.H instanceof pn&&ce.H!==a&&Vd(ce.H,te,le),ce===null&&(ce=te.target),Vd(a,te,le),le.clickCount=a.yq,le.targetDiagram=uh(te,ce),le.targetObject=null,a.doMouseUp(),Du(le,te),re&&(a.wq=!1)}}},a.ek=function(te){if(a.isEnabled){a.Vk=!1;var re=a.Yt;re[te.pointerId]&&delete re[te.pointerId],re=a.oj,re[0]!==null&&re[0].pointerId===te.pointerId&&(re[0]=null),re[1]!==null&&re[1].pointerId===te.pointerId&&(re[1]=null),te.pointerType!=="touch"&&te.pointerType!=="pen"&&(te=a.currentTool,te.cancelWaitAfter(),te.standardMouseOver())}},a.ck=function(te){var re=a.oj;re[0]!==null&&re[0].pointerId===te.pointerId?(re[0]=null,a.wq=!1):re[1]!==null&&re[1].pointerId===te.pointerId&&(re[1]=null)},a.Vp=b.Z["d"+Ur[1]+Ur[2]+"wI"+Jt.slice(1,5)]["b"+_1.slice(1,y)](b.Z,Tn,y,y),b.Vc(!0),cf(a),a.nl==="svg"&&(y=a.pj.get("svg"),a.Ka.appendChild(y.Oa),a.ib=y.context)}}pn.prototype.addEventListener=function(a,y,x,b){a.addEventListener(y,x,{capture:b,passive:!1})},pn.prototype.removeEventListener=function(a,y,x,b){a.removeEventListener(y,x,{capture:b})};function cf(a){var y=a.ta.Oa;y instanceof HTMLCanvasElement||(y=a.div),a.addEventListener(y,"pointerdown",a.ui,!1),a.addEventListener(y,"pointermove",a.dk,!1),a.addEventListener(y,"pointerup",a.fk,!1),a.addEventListener(y,"pointerout",a.ek,!1),a.addEventListener(y,"pointercancel",a.ck,!1),a.addEventListener(y,"pointerenter",a.bz,!1),a.addEventListener(y,"pointerleave",a.cz,!1),a.addEventListener(y,"wheel",a.$j,!1),a.addEventListener(y,"keydown",a.Qz,!1),a.addEventListener(y,"keyup",a.Rz,!1),a.addEventListener(y,"blur",a.Ny,!1),a.addEventListener(y,"focus",a.Oy,!1),a.addEventListener(y,"selectstart",function(x){return x.preventDefault(),!1},!1),a.addEventListener(y,"contextmenu",function(x){return x.preventDefault(),!1},!1),a.addEventListener(yt,"resize",a.Ov,!1)}function Gl(a){30Fe&&(this.position=pt.h(-(y.scrollWidth-this.Aa)+at-this.Aa/E+de,this.position.y))),a.vy&&this.allowVerticalScroll&&(reZe&&(this.position=pt.h(this.position.x,-(y.scrollHeight-this.ya)+a.scrollTop-this.ya/E+z))),lt.free(pt),this.vd=!0,this.Ee=this.qr=!1,b=this.documentBounds,E=this.viewportBounds,de=b.right,Fe=E.right,z=b.bottom,Ze=E.bottom,te=b.x,ve=E.x,re=b.y,b=E.y,Pe>=le&&te>=ve&&de<=Fe&&(x.style.width="1px"),Le>=ce&&re>=b&&z<=Ze&&(x.style.height="1px"))}},pn.prototype.computeBounds=function(a){return a===void 0&&(a=new jn),El(this),Wd(this,a)};function Wd(a,y){if(a.fixedBounds.w())return y.assign(a.fixedBounds),y.Co(a.yb),y;for(var x=!0,b=a.Wa.s,E=b.length,z=0;zx&&(y=x),ya.maxScale&&(y=a.maxScale),y):y===mh?(y=le>re?(te-a.Db)/b:(z-a.Db)/E,y>x&&(y=x),ya.maxScale&&(y=a.maxScale),y):a.scale}pn.prototype.zoomToFit=function(){var a=this.sj;this.sj=he,this.scale=Zd(this,Ru),a!==he&&(ku(this,!1),Ih(this,this.documentBounds,this.Aa/this.Ca,this.ya/this.Ca,this.zk,!1)),this.sj=a},Ue=pn.prototype,Ue.BA=function(a,y){y===void 0&&(y=Ru);var x=a.width,b=a.height;if(!(x===0||b===0||isNaN(x)&&isNaN(b))){var E=1;if(y===Ru||y===mh)if(isNaN(x))E=this.viewportBounds.height*this.scale/b;else if(isNaN(b))E=this.viewportBounds.width*this.scale/x;else{E=this.Aa;var z=this.ya;E=y===mh?z/b>E/x?(z-(this.Be?this.Db:0))/b:(E-(this.gf?this.Db:0))/x:Math.min(z/b,E/x)}this.scale=E,this.position=new lt(a.x,a.y)}},Ue.Jy=function(a,y){this.Va();var x=this.documentBounds,b=this.viewportBounds;this.position=new lt(x.x+(a.x*x.width+a.offsetX)-(y.x*b.width-y.offsetX),x.y+(a.y*x.height+a.offsetY)-(y.y*b.height-y.offsetY))},Ue.zz=function(a){if(a instanceof Rt){this.eq=a;var y=lt.alloc();this.fq=this.op(a.ga(Hs,y)),lt.free(y)}else this.eq=null,this.fq=Mr};function Ih(a,y,x,b,E,z){var te=lt.allocAt(a.pa.x,a.pa.y),re=te.x,le=te.y;if(a.eq!==null){var ce=lt.alloc();ce=a.eq.ga(Hs,ce),re=ce.x-a.fq.x/a.scale,le=ce.y-a.fq.y/a.scale,E=is,lt.free(ce)}(z||a.scrollMode===he)&&(E.sb()&&(x>y.width&&(re=y.x+(E.x*y.width+E.offsetX)-(E.x*x-E.offsetX)),b>y.height&&(le=y.y+(E.y*y.height+E.offsetY)-(E.y*b-E.offsetY))),E=a.rj,z=x-y.width,xy.left?re=y.left:rey.top?le=y.top:ley;y++){var x=a.De.iterator;if(x===null||a.De.count===0)break;a.De=new Fn,a.Nv(x,a.De)}a.nodes.each(function(b){b instanceof _r&&b.U&65536&&(b.U=b.U^65536)})}}Ue.Nv=function(a,y){for(a.reset();a.next();){var x=a.value;!x.Zc()||x instanceof _r||(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))}for(a.reset();a.next();)x=a.value,x instanceof _r&&x.isVisible()&&$a(this,x);for(a.reset();a.next();)x=a.value,x instanceof yi&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x));for(a.reset();a.next();)x=a.value,x instanceof zo&&x.isVisible()&&(x.si()?(x.measure(1/0,1/0),x.arrange()):y.add(x))};function $a(a,y){for(var x=gn(),b=gn(),E=y.memberParts;E.next();){var z=E.value;z.isVisible()&&(z instanceof _r?(xu(z)||Il(z)||gg(z))&&$a(a,z):z instanceof yi?z.fromNode===y||z.toNode===y?b.push(z):x.push(z):(z.measure(1/0,1/0),z.arrange()))}for(a=x.length,E=0;EKt&&(at=Pi.left,Ct=Pi.right),pt.height>vn&&(Lt=Pi.top,Dt=Pi.bottom)):(at=Pi.left,Ct=Pi.right,Lt=Pi.top,Dt=Pi.bottom);var ji=pt.width+at+Ct,Di=pt.height+Lt+Dt;Pi=a.scale;var vi=ji>le/Pi,ti=Di>ce/Pi;if(!(z||a.gf||a.Be||vi||ti))return!0;at=pt.x-at,le=de.x,Ct=pt.right+Ct,ce=de.right+te,Lt=pt.y-Lt;var Br=de.y;pt=pt.bottom+Dt,de=de.bottom+re;var Ar="1px";if(Dt="1px",a.scrollMode===he&&(vi||ti)&&(vi&&a.hasHorizontalScrollbar&&a.allowHorizontalScroll&&(vi=1,at+1ce+1&&(vi=Math.max((Ct-ce)*Pi+a.Aa,vi)),Kt+te+1de+1&&(vi=Math.max((pt-de)*Pi+a.ya,vi)),vn+re+1ce+1&&(te=Math.max((Ct-ce)*Pi+a.Aa,te)),Kt+1de+1&&(re=Math.max((pt-de)*Pi+te,re)),vn+1ce+1&&(y=a.position.x*Pi)),a.tn)switch(a.bu){case"negative":y=-(Fe.scrollWidth-y-Fe.clientWidth);break;case"reverse":y=Fe.scrollWidth-y-Fe.clientWidth}return Fe.scrollLeft=y,a.hasVerticalScrollbar&&a.allowVerticalScroll&&(vn+1de+1&&(Fe.scrollTop=a.position.y*Pi)),le=a.Aa,ce=a.ya,Fe.style.width=le+(a.gf?a.Db:0)+"px",Fe.style.height=ce+(a.Be?a.Db:0)+"px",x!==le||b!==ce||a.animationManager.zb?(x=jn.allocAt(E,ve,Pe,Le),a.onViewportBoundsChanged(x,a.viewportBounds,Pi,z),jn.free(x),!1):!0}Ue=pn.prototype,Ue.add=function(a){var y=a.diagram;if(y!==this&&(y!==null&&bt("Cannot add part "+a.toString()+" to "+this.toString()+". It is already a part of "+y.toString()),y=this.Qj(a.layerName),y===null&&(y=this.Qj("")),y===null&&bt('Cannot add a Part when unable find a Layer named "'+a.layerName+'" and there is no default Layer'),a.layer!==y)){var x=y.oi(99999999,a,a.diagram===this);0<=x&&this.cb(Ka,"parts",y,null,a,null,x),y.isTemporary||this.Ya(),a.C(1),x=a.layerChanged,x!==null&&x(a,null,y)}},Ue.oi=function(a){this.partManager.oi(a);var y=this;Yg(a,function(x){fh(y,x)}),(a instanceof zo||a instanceof _r&&a.placeholder!==null)&&a.v(),a.data!==null&&Yg(a,function(x){yy(y.partManager,x)}),Il(a)!==!0&&gg(a)!==!0||this.De.add(a),_S(a,!0,this),HS(a)?(a.actualBounds.w()&&this.N(Qg(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Qg(a,a.actualBounds)),this.$b()},Ue.pc=function(a){a.Ej(),this.partManager.pc(a);var y=this;a.data!==null&&Yg(a,function(x){Sy(y.partManager,x,y)}),this.De.remove(a),HS(a)?(a.actualBounds.w()&&this.N(Qg(a,a.actualBounds)),this.Ya()):a.isVisible()&&a.actualBounds.w()&&this.N(Qg(a,a.actualBounds)),this.$b()},Ue.remove=function(a){hh(this,a,!0)};function hh(a,y,x){var b=y.layer;b!==null&&b.diagram===a&&(y.isSelected=!1,y.isHighlighted=!1,y.C(2),x&&y.Lj(),x=b.pc(-1,y,!1),0<=x&&a.cb(ms,"parts",b,y,null,x,null),a=y.layerChanged,a!==null&&a(y,b,null))}Ue.Is=function(a,y){if(y===void 0&&(y=!1),yn(a))for(var x=a.length,b=0;bb&&this.Ya(),this},Ue.Cy=function(a,y){jg(this,a,y),a.Xe(this);var x=this.Wa,b=x.indexOf(a);0<=b&&(x.remove(a),this.cc!==null&&this.cb(ms,"layers",this,a,null,b,null));var E=x.count,z;for(z=0;zb&&this.Ya(),this},Ue.kA=function(a){if(a.diagram!==this&&bt("Cannot remove a Layer from another Diagram: "+a+" of "+a.diagram),a.name!==""){var y=this.Wa,x=y.indexOf(a);if(y.remove(a)){for(y=a.Pa.copy().iterator;y.next();){var b=y.value,E=b.layerName;E!==a.name?b.layerName=E:b.layerName=""}this.cc!==null&&this.cb(ms,"layers",this,a,null,x,null),this.N(),this.Ya()}}},Ue.Qj=function(a){for(var y=this.layers;y.next();){var x=y.value;if(x.name===a)return x}return null},Ue.Yw=function(a){return this.pf===null&&(this.pf=new Ht),this.pf.add(a),this.model.Pe(a),this},Ue.mA=function(a){this.pf!==null&&(this.pf.remove(a),this.pf.count===0&&(this.pf=null)),this.model.ik(a)},Ue.Pe=function(a){return this.zg===null&&(this.zg=new Ht),this.zg.add(a),this},Ue.ik=function(a){this.zg!==null&&(this.zg.remove(a),this.zg.count===0&&(this.zg=null))},Ue.ds=function(a){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.Tu(a),a.change!==Bl&&(this.isModified=!0),this.zg!==null)for(var y=this.zg,x=y.length,b=0;bve.Pa.indexOf(Le)&&ve.oi(Pe,Le,Fe):(Le.isSelected=!1,Le.isHighlighted=!1,Le.Wb(),ve.pc(Fe?Pe:-1,Le,Fe)))}else ve instanceof pn?typeof Pe=="number"&&Le instanceof _a&&(y?(Le.Xe(this),this.Wa.Gb(Pe,Le)):this.Wa.mb(Pe)):bt("unknown ChangedEvent.Remove object: "+a.toString());this.isModified=!0}else b!==Bl&&bt("unknown ChangedEvent: "+a.toString())}finally{this.skipsModelSourceBindings=x}}},pn.prototype.Ea=function(a){return this.undoManager.Ea(a)},pn.prototype.eb=function(a){return this.undoManager.eb(a)},pn.prototype.Kf=function(){return this.undoManager.Kf()},pn.prototype.commit=function(a,y){y===void 0&&(y="");var x=this.skipsUndoManager;y===null&&(this.skipsUndoManager=!0,y=""),this.undoManager.Ea(y);var b=!1;try{a(this),b=!0}finally{b?this.undoManager.eb(y):this.undoManager.Kf(),this.skipsUndoManager=x}},pn.prototype.updateAllTargetBindings=function(a){this.partManager.updateAllTargetBindings(a)},pn.prototype.rp=function(){this.partManager.rp()};function hf(a,y,x){var b=a.animationManager;if(a.vb||a.ld)a.Ca=x,sd(a),a.N(),a.Ee=!0,b.zb&&(Ml(b)||b.ce.add(b.H,"scale",y,a.Ca));else if(a.ta===null)a.Ca=x,sd(a);else{a.vb=!0;var E=a.viewportBounds.copy(),z=a.Aa,te=a.ya,re=a.zoomPoint.x,le=a.zoomPoint.y,ce=a.contentAlignment;isNaN(re)&&(ce.$c()?ce.Hf(Ws)?re=0:ce.Hf(Zs)&&(re=z-1):re=ce.sb()?ce.x*(z-1):z/2),isNaN(le)&&(ce.$c()?ce.Hf(Zu)?le=0:ce.Hf(Al)&&(le=te-1):le=ce.sb()?ce.y*(te-1):te/2),a.scaleComputation===null||a.animationManager.defaultAnimation.isAnimating||(x=a.scaleComputation(a,x)),xa.maxScale&&(x=a.maxScale),z=lt.allocAt(a.pa.x+re/y-re/x,a.pa.y+le/y-le/x),a.position=z,lt.free(z),a.Ca=x,sd(a),a.vb=!1,a.onViewportBoundsChanged(E,a.viewportBounds,y,!1),ku(a,!1),b.zb&&(Ml(b)||b.ce.add(b.H,"scale",y,a.Ca))}}pn.prototype.onViewportBoundsChanged=function(a,y,x,b){if(!a.D(y)){b===void 0&&(b=!1),b||(this.Ee=!0),this.vd=!0;var E=this.layout;E===null||!E.isViewportSized||this.autoScale!==Xl||a.width===y.width&&a.height===y.height||E.C(),E=this.currentTool,this.Vk===!0&&E instanceof pa&&(this.lastInput.documentPoint=this.Ps(this.lastInput.viewPoint),ah(E,this)),this.vb||this.invalidateViewport(a,y),ad(this),this.fc.scale=x,this.fc.position.x=a.x,this.fc.position.y=a.y,this.fc.bounds.assign(a),this.fc.canvasSize.width=Math.round(a.width*x),this.fc.canvasSize.height=Math.round(a.height*x),this.fc.newCanvasSize.width=this.Aa,this.fc.newCanvasSize.height=this.ya,this.fc.isScroll=b,this.R("ViewportBoundsChanged",this.fc,a),this.isVirtualized&&this.links.each(function(z){z.isAvoiding&&z.actualBounds.Yc(y)&&z.bb()})}};function ad(a,y){var x=a.fe;if(x!==null&&x.visible){for(var b=fi.alloc(),E=1,z=1,te=x.O.s,re=te.length,le=0;lede||(Av(ce.figure)?z=z*de/Wt.vx(z,de):E=E*de/Wt.vx(E,de))}if(te=x.gridCellSize,b.h(z*te.width,E*te.height),y!==void 0)E=y.width,z=y.height,a=y.x,te=y.y;else{if(y=jn.alloc(),a=a.viewportBounds,y.h(a.x,a.y,a.width,a.height),!y.w()){jn.free(y);return}E=y.width,z=y.height,a=y.x,te=y.y,jn.free(y)}x.width=E+2*b.width,x.height=z+2*b.height,y=lt.alloc(),Wt.No(a,te,0,0,b.width,b.height,y),y.offset(-b.width,-b.height),fi.free(b),x.part.location=y,lt.free(y)}}pn.prototype.clearSelection=function(a){a===void 0&&(a=!1);var y=this.selection;if(y.count!==0){a||this.R("ChangingSelection",y);for(var x=y.Fa(),b=x.length,E=0;E=b&&!z.defaultAnimation.isAnimating&&!z.zb&&(y||_l(z,"Layout")),a.xh=!1;for(var te=a.ai.iterator;te.next();)_g(a,te.value,y,b);E.isValidLayout||(!y||E.isRealtime||E.isRealtime===null||b===0?(E.doLayout(a),El(a),E.isValidLayout=!0):a.xh=!0)}finally{y=a.undoManager.isInternalTransaction,b===0&&(a.eb("Layout"),a.undoManager.isInternalTransaction=!1),!y||b!==0&&b!==1||sl(z),a.aa=x}}}function _g(a,y,x,b){if(y!==null){for(var E=y.gl.iterator;E.next();)_g(a,E.value,x,b);E=y.layout,E===null||E.isValidLayout||(!x||E.isRealtime||b===0?(y.rh=!y.location.w(),E.doLayout(y),y.C(32),$a(a,y),E.isValidLayout=!0):a.xh=!0)}}Ue.yz=function(){for(var a=new Ht,y=this.nodes;y.next();){var x=y.value;x.isTopLevel&&x.kh()===null&&a.add(x)}return a.iterator};function Lp(a){function y(E){var z=E.toLowerCase(),te=new Ht;x.add(E,te),x.add(z,te),b.add(E,E),b.add(z,E)}var x=new Ii,b=new Ii;y("InitialAnimationStarting"),y("AnimationStarting"),y("AnimationFinished"),y("BackgroundSingleClicked"),y("BackgroundDoubleClicked"),y("BackgroundContextClicked"),y("ClipboardChanged"),y("ClipboardPasted"),y("DocumentBoundsChanged"),y("ExternalObjectsDropped"),y("GainedFocus"),y("InitialLayoutCompleted"),y("LayoutCompleted"),y("LinkDrawn"),y("LinkRelinked"),y("LinkReshaped"),y("LostFocus"),y("Modified"),y("ObjectSingleClicked"),y("ObjectDoubleClicked"),y("ObjectContextClicked"),y("PartCreated"),y("PartResized"),y("PartRotated"),y("SelectionMoved"),y("SelectionCopied"),y("SelectionDeleting"),y("SelectionDeleted"),y("SelectionGrouped"),y("SelectionUngrouped"),y("ChangingSelection"),y("ChangedSelection"),y("SubGraphCollapsed"),y("SubGraphExpanded"),y("TextEdited"),y("TreeCollapsed"),y("TreeExpanded"),y("ViewportBoundsChanged"),y("InvalidateDraw"),a.iw=x,a.hw=b}function zf(a,y){var x=a.hw.I(y);return x!==null?x:a.hw.I(y.toLowerCase())}function ff(a,y){var x=a.iw.I(y);if(x!==null||(x=a.iw.I(y.toLowerCase()),x!==null))return x;bt("Unknown DiagramEvent name: "+y)}Ue.Bj=function(a,y){return a=ff(this,a),a!==null&&a.add(y),this},Ue.am=function(a,y){a=ff(this,a),a!==null&&a.remove(y)},Ue.R=function(a,y,x){var b=ff(this,a),E=new _c;if(E.diagram=this,a=zf(this,a),a!==null&&(E.name=a),y!==void 0&&(E.subject=y),x!==void 0&&(E.parameter=x),y=b.length,y===1)b.M(0)(E);else if(y!==0)for(b=b.Fa(),x=0;x=x.top&&0>=x.left&&0>=x.right&&0>=x.bottom)return y;var b=this.viewportBounds,E=this.scale;b=jn.allocAt(0,0,b.width*E,b.height*E);var z=lt.allocAt(0,0);if(a.x>=b.x&&a.xb.x+b.width-x.right&&this.allowHorizontalScroll&&(te=Math.max(this.scrollHorizontalLineChange,1),te|=0,z.x+=te,a.x>b.x+b.width-x.right/2&&(z.x+=te),a.x>b.x+b.width-x.right/4&&(z.x+=4*te));return a.y>=b.y&&a.yb.y+b.height-x.bottom&&this.allowVerticalScroll&&(te=Math.max(this.scrollVerticalLineChange,1),te|=0,z.y+=te,a.y>b.y+b.height-x.bottom/2&&(z.y+=te),a.y>b.y+b.height-x.bottom/4&&(z.y+=4*te)),z.Xa(Rr)||(y=new lt(y.x+z.x/E,y.y+z.y/E)),jn.free(b),lt.free(z),y},Ue=pn.prototype,Ue.Cs=function(){return null},Ue.av=function(){return null},Ue.bs=function(a,y){this.pj.add(a,y)},Ue.Fu=function(a){(this.Pw=a)||this.nodes.each(function(y){y instanceof _r&&(y.$p=null)})};function lg(a,y,x){function b(){var de=+new Date;for(z=!0,te.reset();te.next();)if(!te.value[0].al){z=!1;break}z||de-ce>le?y(x,E,re):yt.requestAnimationFrame(b)}for(var E=x.callback,z=!0,te=a.Og.iterator;te.next();)if(!te.value[0].al){z=!1;break}if(typeof E!="function"||z)return y(x,E,a);var re=a,le=x.callbackTimeout||300,ce=+new Date;return yt.requestAnimationFrame(function(){b()}),null}Ue.Wz=function(a){return ls?(a===void 0&&(a={}),a.returnType="Image",this.Jx(a)):null},Ue.Jx=function(a){return a===void 0&&(a={}),lg(this,this.Xz,a)},Ue.Xz=function(a,y,x){var b=Uf(x,a,"canvas",null);if(b===null)return null;x=b.Z.canvas;var E=null;if(x!==null)switch(E=a.returnType,E===void 0?E="string":E=E.toLowerCase(),E){case Jt+"data":E=b.getImageData(0,0,x.width,x.height);break;case Jt:b=(a.document||document).createElement("img"),b.src=x.toDataURL(a.type,a.details),E=b;break;case"blob":return typeof y!="function"&&bt('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),typeof x.toBlob=="function"?(x.toBlob(y,a.type,a.details),"toBlob"):(y(null),null);default:E=x.toDataURL(a.type,a.details)}return typeof y=="function"?(y(E),null):E};function Uf(a,y,x,b){if(a.animationManager.Cc(),a.bd(),a.ta===null)return null;typeof y!="object"&&bt("properties argument must be an Object.");var E=y.size||null,z=y.scale||null;y.scale!==void 0&&isNaN(y.scale)&&(z="NaN");var te=y.maxSize;y.maxSize===void 0&&(te=x==="SVG"?new fi(1/0,1/0):new fi(2e3,2e3));var re=y.position||null,le=y.parts||null,ce=y.padding===void 0?1:y.padding,de=y.background||null,ve=y.omitTemporary;ve===void 0&&(ve=!0);var Pe=y.document||document,Le=y.elementFinished||null,Fe=y.showTemporary;Fe===void 0&&(Fe=!ve),y=y.showGrid,y===void 0&&(y=Fe),E!==null&&isNaN(E.width)&&isNaN(E.height)&&(E=null),typeof ce=="number"?ce=new $i(ce):ce instanceof $i||bt("MakeImage padding must be a Margin or a number."),ce.left=Math.max(ce.left,0),ce.right=Math.max(ce.right,0),ce.top=Math.max(ce.top,0),ce.bottom=Math.max(ce.bottom,0),a.ib.Vc(!0),ve=new Oa(null,Pe,void 0,!0);var Ze=ve.context;if(!(E||z||le||re))return ve.width=a.Aa+Math.ceil(ce.left+ce.right),ve.height=a.ya+Math.ceil(ce.top+ce.bottom),x==="SVG"?b===null?null:(b.resize(ve.width,ve.height,ve.width,ve.height),b.ownerDocument=Pe,b.hs=Le,Rs(a,b.context,ce,new fi(ve.width,ve.height),a.Ca,a.pa,le,de,Fe,y),b.context):(a.Xm=!1,Rs(a,Ze,ce,new fi(ve.width,ve.height),a.Ca,a.pa,le,de,Fe,y),a.Xm=!0,ve.context);var pt=a.Pp,at=a.documentBounds.copy();if(at.Fv(a.yb),Fe)for(var Ct=a.Wa.s,Lt=Ct.length,Dt=0;Dtpt?(z=pt,E=at.width,at=at.height):(E=te.width,at=te.height)):(E=at.width*z,at=at.height*z):(z=pt,E=at.width,at=at.height),ce!==null?(E+=re,at+=Lt):ce=new $i(0),te!==null&&(pt=te.width,te=te.height,isNaN(pt)&&(pt=2e3),isNaN(te)&&(te=2e3),isFinite(pt)&&(E=Math.min(E,pt)),isFinite(te)&&(at=Math.min(at,te))),ve.width=Math.ceil(E),ve.height=Math.ceil(at),x==="SVG"?b===null?null:(b.resize(ve.width,ve.height,ve.width,ve.height),b.ownerDocument=Pe,b.hs=Le,Rs(a,b.context,ce,new fi(Math.ceil(E),Math.ceil(at)),z,Ct,le,de,Fe,y),b.context):(a.Xm=!1,Rs(a,Ze,ce,new fi(Math.ceil(E),Math.ceil(at)),z,Ct,le,de,Fe,y),a.Xm=!0,ve.context)}Nt.Object.defineProperties(pn.prototype,{renderer:{get:function(){return this.nl},set:function(a){this instanceof ye||(a===""&&(a="default"),a=a.toLowerCase(),a!==this.nl&&(this.nl=a,a==="default"||a==="canvas"?(a=this.pj.get("svg"),a!==null&&a.Oa.remove(),this.ta&&(this.ib=this.ta.context)):a==="svg"?(this.pj.contains("svg")?a=this.pj.get("svg"):(a=new Wc(this,yt.document),this.bs("svg",a)),this.div!==null&&this.div.appendChild(a.Oa),this.ib=a.context,this.ta&&(this.ta.context.setTransform(this.Mb,0,0,this.Mb,0,0),this.ta.context.clearRect(0,0,this.Aa,this.ya))):a!=="debug"||this.pj.contains("SVG")||(a=new Wc(this,yt.document),this.bs("SVG",a),a.Oa.style.backgroundColor="whitesmoke",this.div!==null&&this.div.after(a.Oa)),this.hk()))}},div:{get:function(){return this.Ka},set:function(a){if(this.Ka!==a){var y=this.Ka;y!==null?(y.H=void 0,y.goDiagram=void 0,y.go=void 0,y.innerHTML="",this.ta!==null&&(y=this.ta.Oa,this.removeEventListener(y,"pointermove",this.dk,!1),this.removeEventListener(y,"pointerdown",this.ui,!1),this.removeEventListener(y,"pointerup",this.fk,!1),this.removeEventListener(y,"pointerout",this.ek,!1),this.removeEventListener(y,"pointercancel",this.ck,!1),this.ta.mx()),this.ol&&(this.ol.disconnect(),this.ol=null),y=this.toolManager,y!==null&&(y.mouseDownTools.each(function(x){x.cancelWaitAfter()}),y.mouseMoveTools.each(function(x){x.cancelWaitAfter()}),y.mouseUpTools.each(function(x){x.cancelWaitAfter()})),y.cancelWaitAfter(),this.currentTool.doCancel(),this.ta=null,this.removeEventListener(yt,"resize",this.Ov,!1),this.removeEventListener(yt,"wheel",this.$j,!0),Lc===this&&(Lc=null)):this.ui===null&&(this.hf=!1),this.Ka=null,a!==null&&((y=a.H)&&(y.div=null),Lh(this,a),this.hk())}}},$w:{get:function(){return this.Sq}},pi:{get:function(){return this.hf}},draggedLink:{get:function(){return this.nt},set:function(a){this.nt!==a&&(this.nt=a,a!==null&&(this.Vt=a.fromPort,this.Wt=a.toPort))}},Mx:{get:function(){return this.Vt},set:function(a){this.Vt=a}},Nx:{get:function(){return this.Wt},set:function(a){this.Wt=a}},animationManager:{get:function(){return this.Yd}},undoManager:{get:function(){return this.cc.undoManager}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a,this.cc.skipsUndoManager=a}},delaysLayout:{get:function(){return this.lt},set:function(a){this.lt=a}},opacity:{get:function(){return this.pb},set:function(a){var y=this.pb;y!==a&&((0>a||1a&&Ln(a,">= 0",pn,"scrollHorizontalLineChange"),this.iu=a,this.g("scrollHorizontalLineChange",y,a))}},scrollVerticalLineChange:{get:function(){return this.mu},set:function(a){var y=this.mu;y!==a&&(0>a&&Ln(a,">= 0",pn,"scrollVerticalLineChange"),this.mu=a,this.g("scrollVerticalLineChange",y,a))}},lastInput:{get:function(){return this.cj},set:function(a){this.cj=a}},previousInput:{get:function(){return this.Qg},set:function(a){this.Qg=a}},firstInput:{get:function(){return this.bq},set:function(a){this.bq=a}},currentCursor:{get:function(){return this.it},set:function(a){if(a===""&&(a=this.Op),this.it!==a){var y=this.ta,x=this.Ka;if(y!==null&&x!==null){this.it=a;var b=y.style.cursor;y.style.cursor=a,x.style.cursor=a,y.style.cursor===b&&(y.style.cursor="-webkit-"+a,x.style.cursor="-webkit-"+a,y.style.cursor===b&&(y.style.cursor="-moz-"+a,x.style.cursor="-moz-"+a,y.style.cursor===b&&(y.style.cursor=a,x.style.cursor=a)))}}}},defaultCursor:{get:function(){return this.Op},set:function(a){a===""&&(a="auto");var y=this.Op;y!==a&&(this.Op=a,this.g("defaultCursor",y,a))}},click:{get:function(){return this.zh},set:function(a){var y=this.zh;y!==a&&(this.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.Fh},set:function(a){var y=this.Fh;y!==a&&(this.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.Bh},set:function(a){var y=this.Bh;y!==a&&(this.Bh=a,this.g("contextClick",y,a))}},mouseOver:{get:function(){return this.Qh},set:function(a){var y=this.Qh;y!==a&&(this.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.Oh},set:function(a){var y=this.Oh;y!==a&&(this.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.Nh},set:function(a){var y=this.Nh;y!==a&&(this.Nh=a,this.g("mouseHold",y,a))}},mouseDragOver:{get:function(){return this.Qt},set:function(a){var y=this.Qt;y!==a&&(this.Qt=a,this.g("mouseDragOver",y,a))}},mouseDrop:{get:function(){return this.Lh},set:function(a){var y=this.Lh;y!==a&&(this.Lh=a,this.g("mouseDrop",y,a))}},handlesDragDropForTopLevelParts:{get:function(){return this.xt},set:function(a){var y=this.xt;y!==a&&(this.xt=a,this.g("handlesDragDropForTopLevelParts",y,a))}},mouseEnter:{get:function(){return this.Mh},set:function(a){var y=this.Mh;y!==a&&(this.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.Ph},set:function(a){var y=this.Ph;y!==a&&(this.Ph=a,this.g("mouseLeave",y,a))}},toolTip:{get:function(){return this.$h},set:function(a){var y=this.$h;y!==a&&(this.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.Ch},set:function(a){var y=this.Ch;y!==a&&(this.Ch=a,this.g("contextMenu",y,a))}},commandHandler:{get:function(){return this.nb},set:function(a){this.nb!==a&&(this.nb=a,a.Xe(this))}},toolManager:{get:function(){return this.te},set:function(a){this.te!==a&&(this.te=a,a.diagram=this)}},defaultTool:{get:function(){return this.ob},set:function(a){var y=this.ob;y!==a&&(this.ob=a,a.diagram=this,this.currentTool===y&&(this.currentTool=a))}},currentTool:{get:function(){return this.hb},set:function(a){var y=this.hb;y&&(y.isActive&&y.doDeactivate(),y.cancelWaitAfter(),y.doStop()),a===null&&(a=this.defaultTool),a!==null&&(this.hb=a,a.diagram=this,a.doStart())}},selection:{get:function(){return this.Hw}},maxSelectionCount:{get:function(){return this.Nt},set:function(a){var y=this.Nt;if(y!==a)if(0<=a&&!isNaN(a)){if(this.Nt=a,this.g("maxSelectionCount",y,a),!this.undoManager.isUndoingRedoing&&(a=this.selection.count-a,0= 0",pn,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.St},set:function(a){var y=this.St;y!==a&&(this.St=a,this.g("nodeSelectionAdornmentTemplate",y,a))}},groupSelectionAdornmentTemplate:{get:function(){return this.wt},set:function(a){var y=this.wt;y!==a&&(this.wt=a,this.g("groupSelectionAdornmentTemplate",y,a))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kt},set:function(a){var y=this.Kt;y!==a&&(this.Kt=a,this.g("linkSelectionAdornmentTemplate",y,a))}},highlighteds:{get:function(){return this.nw}},isModified:{get:function(){var a=this.undoManager;return a.isEnabled?a.currentTransaction!==null?!0:this.rn&&this.Ce!==a.historyIndex:this.rn},set:function(a){if(this.rn!==a){this.rn=a;var y=this.undoManager;!a&&y.isEnabled&&(this.Ce=y.historyIndex),a||zg(this)}}},model:{get:function(){return this.cc},set:function(a){var y=this.cc;if(y!==a){this.currentTool.doCancel(),y&&y.undoManager!==a.undoManager&&y.undoManager.isInTransaction&&bt("Do not replace a Diagram.model while a transaction is in progress."),this.animationManager.Cc(!0);var x=Gd(this,!0);this.hf=!1,this.fn=!0,this.Ce=-2,this.kg=!1;var b=this.vb;this.vb=!0,_l(this.animationManager,"Model"),y&&(this.pf!==null&&this.pf.each(function(z){return y.ik(z)}),y.ik(this.Oc)),this.cc=a,this.partManager=ag(this.cc.type);for(var E=0;Ethis.scale&&(this.scale=a)):Ln(a,"> 0",pn,"minScale"))}},maxScale:{get:function(){return this.Mt},set:function(a){var y=this.Mt;y!==a&&(0 0",pn,"maxScale"))}},zoomPoint:{get:function(){return this.zu},set:function(a){this.zu.D(a)||(this.zu=a=a.J())}},contentAlignment:{get:function(){return this.zk},set:function(a){var y=this.zk;y.D(a)||(this.zk=a=a.J(),this.g("contentAlignment",y,a),ku(this,!1))}},initialContentAlignment:{get:function(){return this.pq},set:function(a){var y=this.pq;y.D(a)||(this.pq=a=a.J(),this.g("initialContentAlignment",y,a))}},padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.Ya(),this.g("padding",y,a))}},partManager:{get:function(){return this.Pc},set:function(a){var y=this.Pc;y!==a&&(a.diagram!==null&&bt("Cannot share PartManagers between Diagrams: "+a.toString()),y&&y.Xe(null),this.Pc=a,a.Xe(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.Sc},set:function(a){var y=this.Sc;y!==a&&(this.Sc=a,a.diagram=this,a.group=null,this.xh=!0,this.g("layout",y,a),this.$b())}},isTreePathToChildren:{get:function(){return this.Ht},set:function(a){var y=this.Ht;if(y!==a&&(this.Ht=a,this.g("isTreePathToChildren",y,a),!this.undoManager.isUndoingRedoing))for(a=this.nodes;a.next();)Hp(a.value)}},treeCollapsePolicy:{get:function(){return this.uu},set:function(a){var y=this.uu;y!==a&&(a!==Re&&a!==He&&a!==dt&&bt("Unknown Diagram.treeCollapsePolicy: "+a),this.uu=a,this.g("treeCollapsePolicy",y,a))}},Ue:{get:function(){return this.pw},set:function(a){this.pw=a}},avoidanceCellSize:{get:function(){return this.aw},set:function(a){this.Xh=null,this.aw=new fi(Math.max(1,a.width),Math.max(1,a.height))}},avoidanceLimit:{get:function(){return this.bw},set:function(a){this.bw=Math.max(1,a)}},autoScrollInterval:{get:function(){return this.vp},set:function(a){var y=this.vp;y!==a&&(this.vp=a,this.g("autoScrollInterval",y,a))}},autoScrollRegion:{get:function(){return this.xp},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.xp;y.D(a)||(this.xp=a=a.J(),this.Ya(),this.g("autoScrollRegion",y,a))}}}),Nt.Object.defineProperties(pn,{licenseKey:{get:function(){return vt.jc()},set:function(a){vt.add(a.replace(/\s/g,""))}},version:{get:function(){return At}}}),pn.prototype.makeImageData=pn.prototype.Jx,pn.prototype.makeImage=pn.prototype.Wz,pn.prototype.cacheGroupExternalLinks=pn.prototype.Fu,pn.prototype.addRenderer=pn.prototype.bs,pn.prototype.makeSVG=pn.prototype.av,pn.prototype.makeSvg=pn.prototype.Cs,pn.prototype.stopAutoScroll=pn.prototype.ug,pn.prototype.doAutoScroll=pn.prototype.gs,pn.prototype.isUnoccupied=pn.prototype.Yj,pn.prototype.raiseDiagramEvent=pn.prototype.R,pn.prototype.removeDiagramListener=pn.prototype.am,pn.prototype.addDiagramListener=pn.prototype.Bj,pn.prototype.findTreeRoots=pn.prototype.yz,pn.prototype.layoutDiagram=pn.prototype.Uz,pn.prototype.findTopLevelGroups=pn.prototype.qz,pn.prototype.findTopLevelNodesAndLinks=pn.prototype.rz,pn.prototype.ensureBounds=pn.prototype.Va,pn.prototype.findLinksByExample=pn.prototype.ls,pn.prototype.findNodesByExample=pn.prototype.ms,pn.prototype.findLinkForData=pn.prototype.Kc,pn.prototype.findNodeForData=pn.prototype.ii,pn.prototype.findPartForData=pn.prototype.Lc,pn.prototype.findLinkForKey=pn.prototype.findLinkForKey,pn.prototype.findNodeForKey=pn.prototype.Vb,pn.prototype.findPartForKey=pn.prototype.findPartForKey,pn.prototype.rebuildParts=pn.prototype.Wd,pn.prototype.transformViewToDoc=pn.prototype.Ps,pn.prototype.transformRectDocToView=pn.prototype.zA,pn.prototype.transformDocToView=pn.prototype.op,pn.prototype.centerRect=pn.prototype.es,pn.prototype.scrollToRect=pn.prototype.tv,pn.prototype.scroll=pn.prototype.scroll,pn.prototype.highlightCollection=pn.prototype.Jz,pn.prototype.highlight=pn.prototype.Iz,pn.prototype.selectCollection=pn.prototype.rA,pn.prototype.select=pn.prototype.select,pn.prototype.updateAllRelationshipsFromData=pn.prototype.rp,pn.prototype.updateAllTargetBindings=pn.prototype.updateAllTargetBindings,pn.prototype.commit=pn.prototype.commit,pn.prototype.rollbackTransaction=pn.prototype.Kf,pn.prototype.commitTransaction=pn.prototype.eb,pn.prototype.startTransaction=pn.prototype.Ea,pn.prototype.raiseChanged=pn.prototype.g,pn.prototype.raiseChangedEvent=pn.prototype.cb,pn.prototype.removeChangedListener=pn.prototype.ik,pn.prototype.addChangedListener=pn.prototype.Pe,pn.prototype.removeModelChangedListener=pn.prototype.mA,pn.prototype.addModelChangedListener=pn.prototype.Yw,pn.prototype.findLayer=pn.prototype.Qj,pn.prototype.removeLayer=pn.prototype.kA,pn.prototype.addLayerAfter=pn.prototype.Cy,pn.prototype.addLayerBefore=pn.prototype.Ww,pn.prototype.addLayer=pn.prototype.Al,pn.prototype.moveParts=pn.prototype.moveParts,pn.prototype.copyParts=pn.prototype.Kj,pn.prototype.removeParts=pn.prototype.Is,pn.prototype.remove=pn.prototype.remove,pn.prototype.add=pn.prototype.add,pn.prototype.clearDelayedGeometries=pn.prototype.bx,pn.prototype.setProperties=pn.prototype.nm,pn.prototype.attach=pn.prototype.Du,pn.prototype.set=pn.prototype.set,pn.prototype.resetInputOptions=pn.prototype.Sx,pn.prototype.setInputOption=pn.prototype.sA,pn.prototype.getInputOption=pn.prototype.Ql,pn.prototype.resetRenderingHints=pn.prototype.Tx,pn.prototype.setRenderingHint=pn.prototype.Xx,pn.prototype.getRenderingHint=pn.prototype.Gf,pn.prototype.maybeUpdate=pn.prototype.bd,pn.prototype.requestUpdate=pn.prototype.$b,pn.prototype.delayInitialization=pn.prototype.Xy,pn.prototype.isUpdateRequested=pn.prototype.Pz,pn.prototype.invalidateDocumentBounds=pn.prototype.Ya,pn.prototype.findObjectsNear=pn.prototype.og,pn.prototype.findPartsNear=pn.prototype.mz,pn.prototype.findObjectsIn=pn.prototype.Cf,pn.prototype.findPartsIn=pn.prototype.ux,pn.prototype.findObjectsAt=pn.prototype.ji,pn.prototype.findPartsAt=pn.prototype.lz,pn.prototype.findObjectAt=pn.prototype.ic,pn.prototype.findPartAt=pn.prototype.Ol,pn.prototype.focusObject=pn.prototype.zz,pn.prototype.alignDocument=pn.prototype.Jy,pn.prototype.zoomToRect=pn.prototype.BA,pn.prototype.zoomToFit=pn.prototype.zoomToFit,pn.prototype.diagramScroll=pn.prototype.kx,pn.prototype.focus=pn.prototype.focus;var Wg=new Ii,_f=null,ls=yt.document!==void 0,Bh=null,Kd="",Xl=new tn(pn,"None",0),Ru=new tn(pn,"Uniform",1),mh=new tn(pn,"UniformToFill",2),ug=new tn(pn,"CycleAll",10),Zg=new tn(pn,"CycleNotDirected",11),cg=new tn(pn,"CycleNotDirectedFast",12),dg=new tn(pn,"CycleNotUndirected",13),mf=new tn(pn,"CycleDestinationTree",14),vf=new tn(pn,"CycleSourceTree",15),he=new tn(pn,"DocumentScroll",1),Me=new tn(pn,"InfiniteScroll",2),Re=new tn(pn,"TreeParentCollapsed",21),He=new tn(pn,"AllParentsCollapsed",22),dt=new tn(pn,"AnyParentsCollapsed",23),vt=new Ht,At="2.3.10",Jt="image",Tn=null,$n=!1;function Cn(){if(ls){var a=yt.document.createElement("canvas"),y=a.getContext("2d"),x=gi("7ca11abfd022028846");y[x]=gi("398c3597c01238");for(var b=["5da73c80a36455d7038e4972187c3cae51fd22",In.Dx+"4ae6247590da4bb21c324ba3a84e385776",fr.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",Wt.za],E=1;5>E;E++)y[gi("7ca11abfd7330390")](gi(b[E-1]),10,15*E);for(y[x]=gi("39f046ebb36e4b"),x=1;5>x;x++)y[gi("7ca11abfd7330390")](gi(b[x-1]),10,15*x);(b.length!==4||b[0][0]!=="5"||b[3][0]!=="7")&&(fr.prototype.Cd=fr.prototype.Eu),Tn=a}}pn.className="Diagram",pn.fromDiv=function(a){var y=a;return typeof a=="string"&&(y=yt.document.getElementById(a)),y instanceof HTMLDivElement&&y.H instanceof pn?y.H:null},pn.inherit=function(a,y){function x(){}if(Object.getPrototypeOf(a).prototype)throw Error(`Used go.Diagram.inherit defining already defined class +`+a);x.prototype=y.prototype,a.prototype=new x,a.prototype.constructor=a},pn.useDOM=function(a){ls=a?yt.document!==void 0:!1},pn.isUsingDOM=function(){return ls},pn.None=Xl,pn.Uniform=Ru,pn.UniformToFill=mh,pn.CycleAll=ug,pn.CycleNotDirected=Zg,pn.CycleNotDirectedFast=cg,pn.CycleNotUndirected=dg,pn.CycleDestinationTree=mf,pn.CycleSourceTree=vf,pn.DocumentScroll=he,pn.InfiniteScroll=Me,pn.TreeParentCollapsed=Re,pn.AllParentsCollapsed=He,pn.AnyParentsCollapsed=dt;function ci(){this.wy=null,this.j="zz@orderNum",this._tk==="63ad05bbe23a1786468a4c741b6d2"?this.Rc=this.j=!0:this.Rc=null}function si(a,y){if(y.ib.setTransform(y.Mb,0,0,y.Mb,0,0),y.ib.yc(),a.Rc===null)e:{y="f";var x=yt[gi("76a715b2f73f148a")][gi("72ba13b5")]||"";if(a.Rc=!0,ls){var b=pn[gi("76a115b6ed251eaf4692")];if(b)for(var E=vt.iterator;E.next()&&(b=E.value,b=gi(b).split(gi("39e9")),!(6>b.length));){var z=gi(b[1]).split(".");if(b[4]!=="7da71ca0")break;var te=gi(In[gi("6cae19")]).split(".");if(z[0]>te[0]||z[0]===te[0]&&z[1]>=te[1]){var re=yt[gi("74a900bae4370f8b51")][gi("6fbb13a1c2311e8a57")].toLowerCase();if(te=re[gi("73a612b6fb191d")](gi("3aad1ab6e022098b4dc4")),z=gi(b[2]),-1te&&z!==gi("7da71ca0ad381e90")&&(te=y[gi("73a612b6fb191d")](gi("76a715b2ef3e149757"))),0>te&&(te=y[gi("73a612b6fb191d")](gi("76a715b2ef3e149757"))),0>te&&(te=y[gi("73a612b6fb191d")](gi("2bfa41fdb3784bca12"))),0>te&&(te=x[gi("73a612b6fb191d")](gi("7baa19a6f76c1988428554"))),a.Rc=!(0<=te&&tere),!a.Rc)))break;if(z[0]==="#"){te=yt.document.createElement("div");for(var le=b[0].replace(/[A-Za-z]/g,"");4>le.length;)le+="9";if(re=le,le=le.substr(le.length-4),b="",b+=["gsh","gsf"][parseInt(le.substr(0,1),10)%2],b+=["Header","Background","Display","Feedback"][parseInt(le.substr(0,1),10)%4],te[gi("79a417a0f0181a8946")]=b,yt.document[gi("78a712aa")]){yt.document[gi("78a712aa")][gi("7bb806b6ed32388c4a875b")](te),le=yt.getComputedStyle(te).getPropertyValue(gi("78a704b7e62456904c9b12701b6532a8"));var ce=yt.getComputedStyle(te).getPropertyValue(gi("75b817b0ea2202"));if(yt.document[gi("78a712aa")][gi("68ad1bbcf533388c4a875b")](te),le){if(te=yt[gi("77a902b0eb1b1e804a8a")],ce==="0."+parseInt(re,10)%100||le.indexOf(parseInt(z[1]+z[2],16))!==-1&&le.indexOf(parseInt(z[3]+z[4],16))!==-1){a.Rc=!1;break}else if(te&&te(gi("32ae19a1e0331fc94084537c067a67fa59f1386b89d006")).matches)for(b="."+b,z=0;zb.updateDelay?b.N():b.o||(b.o=!0,setTimeout(function(){return b.redraw()},b.updateDelay))},x.Of=function(){b.observed!==null&&Xe(b)},x.autoScale=Ru,x.vb=!1,y&&Object.assign(x,y),x}qt(ye,pn),ye.prototype.computePixelRatio=function(){return 1},ye.prototype.redraw=function(){if(this.o&&1<=this.updateDelay){this.o=!1;var a=this.ta,y=this.ib;if(a!==null&&y!==null){if(yu(this),this.ql===null){var x=new Oa(null);x.width=a.width,x.height=a.height,this.ql=x}try{this.ta=this.ql,this.ib=this.ta.context,this.ib.Vc(!0),this.ib.setTransform(1,0,0,1,0,0),this.ib.clearRect(0,0,this.ta.width,this.ta.height),Be(this)}finally{this.ta=a,this.ib=y}}}pn.prototype.redraw.call(this)},ye.prototype.gc=function(){if(this.Ka===null&&bt("No div specified"),this.ta===null&&bt("No canvas specified"),!(this.ta instanceof Wc)&&(Vv(this.box),this.Fc)){var a=this.observed;if(a!==null&&!a.animationManager.defaultAnimation.isAnimating&&a.pi){yu(this);var y=this.ta;a=this.ib,a.Vc(!0),a.setTransform(1,0,0,1,0,0),a.clearRect(0,0,y.width,y.height),1>this.updateDelay?Be(this):this.ql!==null&&(a.drawImage(this.ql.Oa,0,0),y=this.Ab,y.reset(),this.scale!==1&&y.scale(this.scale),this.position.x===0&&this.position.y===0||y.translate(-this.position.x,-this.position.y),a.scale(this.Mb,this.Mb),a.transform(y.m11,y.m12,y.m21,y.m22,y.dx,y.dy),a.yc()),y=this.Wa.s;for(var x=y.length,b=0;ba&&(a=0),this.ia!==a&&(this.ia=a)}}}),ye.className="Overview";function qe(){da.call(this),this.j=null}qt(qe,da),qe.prototype.canStart=function(){if(!this.isEnabled)return!1;var a=this.diagram;if(a===null||!a.allowMove||!a.allowSelect)return!1;var y=a.observed;if(y===null)return!1;var x=a.lastInput;return!x.left||a.currentTool!==this&&(!this.isBeyondDragSize()||x.isTouchEvent&&x.timestamp-a.firstInput.timestampy.maxScale||(y.scale=a))},ot.prototype.canDecreaseZoom=function(a){a===void 0&&(a=1/this.zoomFactor);var y=this.diagram;return y.autoScale!==Xl?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},ot.prototype.increaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;y.autoScale===Xl&&(a=y.scale*a,ay.maxScale||(y.scale=a))},ot.prototype.canIncreaseZoom=function(a){a===void 0&&(a=this.zoomFactor);var y=this.diagram;return y.autoScale!==Xl?!1:(a=y.scale*a,ay.maxScale?!1:y.allowZoom)},ot.prototype.resetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;ay.maxScale||(y.scale=a)},ot.prototype.canResetZoom=function(a){a===void 0&&(a=this.defaultScale);var y=this.diagram;return ay.maxScale?!1:y.allowZoom},ot.prototype.zoomToFit=function(){var a=this.diagram,y=a.animationManager;y.Cc(),a.redraw();var x=a.position,b=a.scale;_l(y,"Zoom To Fit"),this.isZoomToFitRestoreEnabled&&b===this.Au&&!isNaN(this.Jt)&&a.documentBounds.D(this.yu)?(a.scale=this.Jt,a.position=this.sw,this.Au=NaN,this.yu=so):(this.Jt=b,this.sw=x.copy(),a.zoomToFit(),this.Au=a.scale,this.yu=a.documentBounds.copy()),sl(y)},ot.prototype.canZoomToFit=function(){return this.diagram.allowZoom},ot.prototype.scrollToPart=function(a){a===void 0&&(a=null);var y=this.diagram;if(y.Va(),a===null){try{this.cg!==null&&(this.cg.next()?a=this.cg.value:this.cg=null)}catch(le){this.cg=null}a===null&&(0a&&(a+=360)),a},Ue.Df=function(){if(!(this.l&4096))return this.Kk;var a=this.Ca;return this.panel!==null?a*this.panel.Df():a},Ue.qs=function(a,y){return y===void 0&&(y=new lt),y.assign(a),this.oe.Cd(y),y},Ue.rs=function(a,y,x){return this.Sj(a.x,a.y,y.x,y.y,x)},Ue.Sj=function(a,y,x,b,E){var z=this.transform,te=1/(z.m11*z.m22-z.m12*z.m21),re=z.m22*te,le=-z.m12*te,ce=-z.m21*te,de=z.m11*te,ve=te*(z.m21*z.dy-z.m22*z.dx),Pe=te*(z.m12*z.dx-z.m11*z.dy);return this.areaBackground!==null?(z=this.actualBounds,Wt.Ff(z.left,z.top,z.right,z.bottom,a,y,x,b,E)):(te=a*re+y*ce+ve,a=a*le+y*de+Pe,y=x*re+b*ce+ve,x=x*le+b*de+Pe,E.h(0,0),b=this.naturalBounds,x=Wt.Ff(0,0,b.width,b.height,te,a,y,x,E),E.transform(z),x)},Rt.prototype.measure=function(a,y,x,b){if(xu(this)!==!1){var E=this.Kg,z=E.right+E.left;E=E.top+E.bottom,a=Math.max(a-z,0),y=Math.max(y-E,0),x=Math.max((x||0)-z,0),b=Math.max((b||0)-E,0),z=this.angle,E=this.desiredSize;var te=this.kq();z===90||z===270?(a=isFinite(E.height)?E.height+te:a,y=isFinite(E.width)?E.width+te:y):(a=isFinite(E.width)?E.width+te:a,y=isFinite(E.height)?E.height+te:y),E=x||0,te=b||0;var re=this instanceof hi;switch(Ps(this,!0)){case _n:te=E=0,re&&(y=a=1/0);break;case Qn:isFinite(a)&&a>x&&(E=a),isFinite(y)&&y>b&&(te=y);break;case Ci:isFinite(a)&&a>x&&(E=a),te=0,re&&(y=1/0);break;case ki:isFinite(y)&&y>b&&(te=y),E=0,re&&(a=1/0)}re=this.maxSize;var le=this.minSize;E>re.width&&le.widthre.height&&le.heighta.height||this.Cb>a.width))&&(x=!0)),this.l=x?this.l|256:this.l&-257,this.Ib.w()||bt("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.Ib.toString()),this.Xl(z,this.Ib),sr(this,!1),jn.free(z)},Ue=Rt.prototype,Ue.eh=function(){};function us(a,y,x,b,E){if(a.Ib.h(y,x,b,E),!a.desiredSize.w()){var z=a.uc;x=a.Kg,y=x.right+x.left;var te=x.top+x.bottom;switch(x=z.width+y,z=z.height+te,b+=y,E+=te,y=Ps(a,!0),x===b&&z===E&&(y=_n),y){case _n:(x>b||z>E)&&(cs(a,!0),a.measure(x>b?b:x,z>E?E:z,0,0));break;case Qn:cs(a,!0),a.measure(b,E,0,0);break;case Ci:cs(a,!0),a.measure(b,z,0,0);break;case ki:cs(a,!0),a.measure(x,E,0,0)}}}Ue.Xl=function(a,y){var x=this.part;x!==null&&x.diagram!==null&&(x.selectionObject!==this&&x.resizeObject!==this&&x.rotateObject!==this||$v(x,!0),this.N(),Oo(a,y)||(x.oh(),this.Pn(x)))},Ue.Pn=function(a){this.portId!==null&&($v(a,!0),a instanceof Li&&KS(a,this))},Ue.gc=function(a,y){if(!ll(this,a,y)&&this.visible){var x=this.opacity;if(x!==0){var b=1;x!==1&&(b=a.globalAlpha,a.globalAlpha=b*x);var E="";this.filter!==""&&(E=a.filter,a.filter=this.filter);var z=this instanceof hi&&zh(this),te=this.Ib;if(z){var re=this.Ib,le=this.dc,ce=this.areaBackground,de=this.Ma;ce===null&&de===null||a.yc(),ce!==null&&(Ca(this,a,ce,!0,!0,le,re),ce instanceof ko&&ce.type===Oc?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(ce)):a.fillRect(re.x,re.y,re.width,re.height)),de!==null&&(Ca(this,a,de,!0,!1,le,re),de instanceof ko&&de.type===Oc?(a.beginPath(),a.rect(re.x,re.y,re.width,re.height),a.ng(de)):a.fillRect(re.x,re.y,re.width,re.height)),this.hh(a,y)}if(!z&&(z||te.width!==0&&te.height!==0&&!isNaN(te.x)&&!isNaN(te.y))){z=this.transform,re=this.panel,this.l&4096&&Ts(this),ce=this.part,le=!1;var ve=0;ce&&y.Gf("drawShadows")&&(le=ce.isShadowed)&&(de=ce.shadowOffset,ve=Math.max(de.y,de.x)*y.scale*y.Mb),de=this.Dd();var Pe;if(!(Pe=y.$i||!de)){var Le=this.naturalBounds;Pe=this.wh;var Fe=Pe.m11,Ze=Pe.m21,pt=Pe.dx,at=Pe.m12,Ct=Pe.m22,Lt=Pe.dy,Dt,Kt=Dt=0;Pe=Dt*Fe+Kt*Ze+pt;var vn=Dt*at+Kt*Ct+Lt;Dt=Le.width+ve,Kt=0;var Pi=Dt*Fe+Kt*Ze+pt;Dt=Dt*at+Kt*Ct+Lt,Kt=Math.min(Pe,Pi);var ji=Math.min(vn,Dt),Di=Math.max(Pe+0,Pi)-Kt,vi=Math.max(vn+0,Dt)-ji;Pe=Kt,vn=ji,Dt=Le.width+ve,Kt=Le.height+ve,Pi=Dt*Fe+Kt*Ze+pt,Dt=Dt*at+Kt*Ct+Lt,Kt=Math.min(Pe,Pi),ji=Math.min(vn,Dt),Di=Math.max(Pe+Di,Pi)-Kt,vi=Math.max(vn+vi,Dt)-ji,Pe=Kt,vn=ji,Dt=0,Kt=Le.height+ve,Pi=Dt*Fe+Kt*Ze+pt,Dt=Dt*at+Kt*Ct+Lt,Kt=Math.min(Pe,Pi),ji=Math.min(vn,Dt),Di=Math.max(Pe+Di,Pi)-Kt,vi=Math.max(vn+vi,Dt)-ji,Pe=Kt,vn=ji,ve=y.viewportBounds,Le=ve.x,Fe=ve.y,Pe=!(Pe>ve.width+Le||Le>Di+Pe||vn>ve.height+Fe||Fe>vi+vn)}if(Pe){if(Pe=(this.l&256)!==0,a.clipInsteadOfFill&&(Pe=!1),this instanceof Pa&&(a.font=this.font),Pe){if(vn=re.se()?re.naturalBounds:re.actualBounds,Di=Math.max(te.x,vn.x),vi=Math.max(te.y,vn.y),ve=Math.min(te.right,vn.right)-Di,Le=Math.min(te.bottom,vn.bottom)-vi,Fe=this.tb,Fe!==null&&(Di=Fe.x,vi=Fe.y,ve=Fe.width,Le=Fe.height),Di>te.width+te.x||te.x>vn.width+vn.x){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}a.save(),a.beginPath(),a.rect(Di,vi,ve,Le),a.clip()}if(de){if(!ce.isVisible()){x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E);return}le&&(vn=ce.shadowOffset,a.Ev(vn.x*y.scale*this.scale*y.Mb,vn.y*y.scale*this.scale*y.Mb,ce.shadowBlur),fa(a),a.shadowColor=ce.shadowColor)}le&&this.shadowVisible===!0?fa(a):le&&this.shadowVisible===!1&&wr(a),ce=this.naturalBounds,this.areaBackground!==null&&(a.yc(),pl(this,a,ce,te)),a.transform(z.m11,z.m12,z.m21,z.m22,z.dx,z.dy),le&&Xa(this,re)&&this.shadowVisible===null&&wr(a),this.Ma!==null&&(a.yc(),ml(this,a,ce,te)),le&&(this.Ma!==null||this.areaBackground!==null||Xa(this,re))?(Fu(this,!0),this.shadowVisible===null&&wr(a)):Fu(this,!1),this.hh(a,y),le&&this.l&512&&fa(a),de&&le&&wr(a),Pe&&(a.restore(),a.Vc(this instanceof hi)),z.ws()||(y=1/(z.m11*z.m22-z.m12*z.m21),a.transform(z.m22*y,-z.m12*y,-z.m21*y,z.m11*y,y*(z.m21*z.dy-z.m22*z.dx),y*(z.m12*z.dx-z.m11*z.dy)))}}x!==1&&(a.globalAlpha=b),this.filter!==""&&(a.filter=E)}}};function Xa(a,y){return y===null?!1:(zh(y)&&(y=y.panel),(y.l&512)!==0||(y.type===hi.Auto||y.type===hi.Spot)&&y.Pb()!==a)}Ue.Dv=function(){};function pl(a,y,x,b){Ca(a,y,a.areaBackground,!0,!0,x,b),a.areaBackground instanceof ko&&a.areaBackground.type===Oc?(y.beginPath(),y.rect(b.x,b.y,b.width,b.height),y.ng(a.areaBackground)):y.fillRect(b.x,b.y,b.width,b.height)}function ml(a,y,x,b){var E=a.kq(),z=x.x,te=x.y,re=x.width+E,le=x.height+E;Ca(a,y,a.Ma,!0,!1,x,b),a.Ma instanceof ko&&a.Ma.type===Oc?(y.beginPath(),y.rect(z-E/2,te-E/2,re,le),y.ng(a.Ma)):y.fillRect(z-E/2,te-E/2,re,le)}function Va(a,y,x){for(var b=y.O.s,E=b.length,z=-1,te=0;teE)&&bt("Must specify non-negative integer row for RowColumnDefinition "+y+", not: "+E),a.isRow=!0,a.index=E):y.column!==void 0&&(E=y.column,(E==null||E===1/0||isNaN(E)||0>E)&&bt("Must specify non-negative integer column for RowColumnDefinition "+y+", not: "+E),a.isRow=!1,a.index=E),E=new Ti;for(x in y)x!=="row"&&x!=="column"&&(E[x]=y[x]);ec(a,E)}else ec(a,y);else bt('Unknown initializer "'+y+'" for object being constructed by GraphObject.make: '+a)}function Dl(a,y){ju.add(a,y)}function tc(a,y,x){x===void 0&&(x=null);var b=a[1];if(typeof x=="function"?x(b):typeof b=="string")return a.splice(1,1),b;if(y===void 0)throw Error("no "+(typeof x=="function"?"satisfactory":"string")+" argument for GraphObject builder "+a[0]);return y}Nt.Object.defineProperties(Rt.prototype,{bindingId:{get:function(){return this.A!==null?this.A.zp:-1},set:function(a){this.bindingId!==a&&(this.A===null&&(this.A=new Tc),this.A.zp=a)}},localBindings:{get:function(){return this.A!==null?this.A.te:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Tc),this.A.te=a)}},srcBindings:{get:function(){return this.A!==null?this.A.wm:null},set:function(a){this.srcBindings!==a&&(this.A===null&&(this.A=new Tc),this.A.wm=a)}},shadowVisible:{get:function(){return this.A!==null?this.A.Ci:null},set:function(a){var y=this.shadowVisible;y!==a&&(Cr(this),this.A.Ci=a,this.Uc=!0,this.N(),this.g("shadowVisible",y,a))}},enabledChanged:{get:function(){return this.A!==null?this.A.Hb:null},set:function(a){var y=this.enabledChanged;y!==a&&(Cr(this),this.A.Hb=a,this.g("enabledChanged",y,a))}},segmentOrientation:{get:function(){return this.Ua!==null?this.Ua.rr:Eu},set:function(a){var y=this.segmentOrientation;y!==a&&(this.Ua===null&&(this.Ua=new Ic),this.Ua.rr=a,this.v(),this.g("segmentOrientation",y,a),a===Eu&&(this.angle=0))}},segmentIndex:{get:function(){return this.Ua!==null?this.Ua.u:-1/0},set:function(a){a=Math.round(a);var y=this.segmentIndex;y!==a&&(this.Ua===null&&(this.Ua=new Ic),this.Ua.u=a,this.v(),this.g("segmentIndex",y,a))}},segmentFraction:{get:function(){return this.Ua!==null?this.Ua.o:0},set:function(a){isNaN(a)||0>a?a=0:1a||1=a&&bt("GraphObject.scale for "+this+" must be greater than zero, not: "+a),this.Ca=a,this.v(),this.g("scale",y,a))}},angle:{get:function(){return this.Kb},set:function(a){var y=this.Kb;y!==a&&(a%=360,0>a&&(a+=360),y!==a&&(this.Kb=a,Ha(this),this.v(),this.g("angle",y,a)))}},desiredSize:{get:function(){return this.jd},set:function(a){var y=a.width,x=a.height,b=this.jd,E=b.width,z=b.height;(E===y||isNaN(E)&&isNaN(y))&&(z===x||isNaN(z)&&isNaN(x))||(this.jd=a=a.J(),this.v(),this instanceof eo&&this.qc(),this.g("desiredSize",b,a),fs(this)&&(a=this.part,a!==null&&($o(this,a,"width"),$o(this,a,"height"))))}},width:{get:function(){return this.jd.width},set:function(a){var y=this.jd.width;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new fi(a,this.jd.height).freeze(),this.v(),this instanceof eo&&this.qc(),this.g("desiredSize",y,a),fs(this)&&(a=this.part,a!==null&&$o(this,a,"width")))}},height:{get:function(){return this.jd.height},set:function(a){var y=this.jd.height;y===a||isNaN(y)&&isNaN(a)||(y=this.jd,this.jd=a=new fi(this.jd.width,a).freeze(),this.v(),this instanceof eo&&this.qc(),this.g("desiredSize",y,a),fs(this)&&(a=this.part,a!==null&&$o(this,a,"height")))}},minSize:{get:function(){return this.A!==null?this.A.u:bo},set:function(a){var y=this.minSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=0),isNaN(a.height)&&(a.height=0),a.freeze(),Cr(this),this.A.u=a,this.v(),this.g("minSize",y,a))}},maxSize:{get:function(){return this.A!==null?this.A.o:ts},set:function(a){var y=this.maxSize;y.D(a)||(a=a.copy(),isNaN(a.width)&&(a.width=1/0),isNaN(a.height)&&(a.height=1/0),a.freeze(),Cr(this),this.A.o=a,this.v(),this.g("maxSize",y,a))}},measuredBounds:{get:function(){return this.uc}},naturalBounds:{get:function(){return this.dc}},margin:{get:function(){return this.Kg},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.Kg;y.D(a)||(this.Kg=a=a.J(),this.v(),this.g("margin",y,a))}},transform:{get:function(){return this.l&2048&&Ts(this),this.Ab}},oe:{get:function(){return this.l&4096&&Ts(this),this.wh}},animationTriggers:{get:function(){return this.A!==null?this.A.hb:null},set:function(a){this.animationTriggers!==a&&(Cr(this),this.A.hb=a)}},reshapingBehavior:{get:function(){return this.A!==null?this.A.Pf:_n},set:function(a){this.reshapingBehavior!==a&&(Cr(this),this.A.Pf=a)}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(a.Mc()&&!a.Xb()&&bt("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+a),this.Jb=a=a.J(),el(this),this.g("alignment",y,a))}},column:{get:function(){return this.Ag},set:function(a){a=Math.round(a);var y=this.Ag;y!==a&&(0>a&&Ln(a,">= 0",Rt,"column"),this.Ag=a,this.v(),this.g("column",y,a),this.svg!==null&&this.svg.remove())}},columnSpan:{get:function(){return this.A!==null?this.A.ob:1},set:function(a){a=Math.round(a);var y=this.columnSpan;y!==a&&(1>a&&Ln(a,">= 1",Rt,"columnSpan"),Cr(this),this.A.ob=a,this.v(),this.g("columnSpan",y,a))}},row:{get:function(){return this.io},set:function(a){a=Math.round(a);var y=this.io;y!==a&&(0>a&&Ln(a,">= 0",Rt,"row"),this.io=a,this.v(),this.g("row",y,a),this.svg!==null&&this.svg.remove())}},rowSpan:{get:function(){return this.A!==null?this.A.Bi:1},set:function(a){a=Math.round(a);var y=this.rowSpan;y!==a&&(1>a&&Ln(a,">= 1",Rt,"rowSpan"),Cr(this),this.A.Bi=a,this.v(),this.g("rowSpan",y,a))}},spanAllocation:{get:function(){return this.A!==null?this.A.Di:null},set:function(a){var y=this.spanAllocation;y!==a&&(Cr(this),this.A.Di=a,this.v(),this.g("spanAllocation",y,a))}},alignmentFocus:{get:function(){return this.sk},set:function(a){var y=this.sk;y.D(a)||(this.sk=a=a.J(),this.v(),this.g("alignmentFocus",y,a))}},portId:{get:function(){return this.Yn},set:function(a){var y=this.Yn;if(y!==a){var x=this.part;x===null||x instanceof Li||bt("Cannot set portID on a Link: "+a),y!==null&&x!==null&&qv(x,this),this.Yn=a,a!==null&&x!==null&&(x.Te=!0,XS(x,this)),this.g("portId",y,a)}}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:is},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),lo(this))}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:10},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Ln(a,">= 0",Rt,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),lo(this))}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:0},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.g("toShortLength",y,a),lo(this))}},toLinkable:{get:function(){return this.ba!==null?this.ba.Tr:null},set:function(a){var y=this.toLinkable;y!==a&&(this.Xc(),this.ba.Tr=a,this.g("toLinkable",y,a))}},toMaxLinks:{get:function(){return this.ba!==null?this.ba.Ur:1/0},set:function(a){var y=this.toMaxLinks;y!==a&&(0>a&&Ln(a,">= 0",Rt,"toMaxLinks"),this.Xc(),this.ba.Ur=a,this.g("toMaxLinks",y,a))}},fromSpot:{get:function(){return this.ba!==null?this.ba.Xi:is},set:function(a){var y=this.fromSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.Xi=a,this.g("fromSpot",y,a),lo(this))}},fromEndSegmentLength:{get:function(){return this.ba!==null?this.ba.Vi:10},set:function(a){var y=this.fromEndSegmentLength;y!==a&&(0>a&&Ln(a,">= 0",Rt,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),lo(this))}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:0},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.g("fromShortLength",y,a),lo(this))}},fromLinkable:{get:function(){return this.ba!==null?this.ba.hq:null},set:function(a){var y=this.fromLinkable;y!==a&&(this.Xc(),this.ba.hq=a,this.g("fromLinkable",y,a))}},fromMaxLinks:{get:function(){return this.ba!==null?this.ba.iq:1/0},set:function(a){var y=this.fromMaxLinks;y!==a&&(0>a&&Ln(a,">= 0",Rt,"fromMaxLinks"),this.Xc(),this.ba.iq=a,this.g("fromMaxLinks",y,a))}},cursor:{get:function(){return this.A!==null?this.A.j:""},set:function(a){var y=this.cursor;y!==a&&(Cr(this),this.A.j=a,this.g("cursor",y,a))}},click:{get:function(){return this.A!==null?this.A.zh:null},set:function(a){var y=this.click;y!==a&&(Cr(this),this.A.zh=a,this.g("click",y,a))}},doubleClick:{get:function(){return this.A!==null?this.A.Fh:null},set:function(a){var y=this.doubleClick;y!==a&&(Cr(this),this.A.Fh=a,this.g("doubleClick",y,a))}},contextClick:{get:function(){return this.A!==null?this.A.Bh:null},set:function(a){var y=this.contextClick;y!==a&&(Cr(this),this.A.Bh=a,this.g("contextClick",y,a))}},mouseEnter:{get:function(){return this.A!==null?this.A.Mh:null},set:function(a){var y=this.mouseEnter;y!==a&&(Cr(this),this.A.Mh=a,this.g("mouseEnter",y,a))}},mouseLeave:{get:function(){return this.A!==null?this.A.Ph:null},set:function(a){var y=this.mouseLeave;y!==a&&(Cr(this),this.A.Ph=a,this.g("mouseLeave",y,a))}},mouseOver:{get:function(){return this.A!==null?this.A.Qh:null},set:function(a){var y=this.mouseOver;y!==a&&(Cr(this),this.A.Qh=a,this.g("mouseOver",y,a))}},mouseHover:{get:function(){return this.A!==null?this.A.Oh:null},set:function(a){var y=this.mouseHover;y!==a&&(Cr(this),this.A.Oh=a,this.g("mouseHover",y,a))}},mouseHold:{get:function(){return this.A!==null?this.A.Nh:null},set:function(a){var y=this.mouseHold;y!==a&&(Cr(this),this.A.Nh=a,this.g("mouseHold",y,a))}},mouseDragEnter:{get:function(){return this.A!==null?this.A.Of:null},set:function(a){var y=this.mouseDragEnter;y!==a&&(Cr(this),this.A.Of=a,this.g("mouseDragEnter",y,a))}},mouseDragLeave:{get:function(){return this.A!==null?this.A.Xd:null},set:function(a){var y=this.mouseDragLeave;y!==a&&(Cr(this),this.A.Xd=a,this.g("mouseDragLeave",y,a))}},mouseDrop:{get:function(){return this.A!==null?this.A.Lh:null},set:function(a){var y=this.mouseDrop;y!==a&&(Cr(this),this.A.Lh=a,this.g("mouseDrop",y,a))}},actionDown:{get:function(){return this.A!==null?this.A.V:null},set:function(a){var y=this.actionDown;y!==a&&(Cr(this),this.A.V=a,this.g("actionDown",y,a))}},actionMove:{get:function(){return this.A!==null?this.A.ia:null},set:function(a){var y=this.actionMove;y!==a&&(Cr(this),this.A.ia=a,this.g("actionMove",y,a))}},actionUp:{get:function(){return this.A!==null?this.A.Ha:null},set:function(a){var y=this.actionUp;y!==a&&(Cr(this),this.A.Ha=a,this.g("actionUp",y,a))}},actionCancel:{get:function(){return this.A!==null?this.A.F:null},set:function(a){var y=this.actionCancel;y!==a&&(Cr(this),this.A.F=a,this.g("actionCancel",y,a))}},toolTip:{get:function(){return this.A!==null?this.A.$h:null},set:function(a){var y=this.toolTip;y!==a&&(Cr(this),this.A.$h=a,this.g("toolTip",y,a))}},contextMenu:{get:function(){return this.A!==null?this.A.Ch:null},set:function(a){var y=this.contextMenu;y!==a&&(Cr(this),this.A.Ch=a,this.g("contextMenu",y,a))}}}),Rt.prototype.trigger=Rt.prototype.Jv,Rt.prototype.findBindingPanel=Rt.prototype.ih,Rt.prototype.findTemplateBinder=Rt.prototype.pz,Rt.prototype.setProperties=Rt.prototype.nm,Rt.prototype.apply=Rt.prototype.apply,Rt.prototype.attach=Rt.prototype.Du,Rt.prototype.set=Rt.prototype.set,Rt.prototype.isEnabledObject=Rt.prototype.If,Rt.prototype.isVisibleObject=Rt.prototype.Ed,Rt.prototype.isContainedBy=Rt.prototype.rg,Rt.prototype.getNearestIntersectionPoint=Rt.prototype.rs,Rt.prototype.getLocalPoint=Rt.prototype.qs,Rt.prototype.getDocumentScale=Rt.prototype.Df,Rt.prototype.getDocumentAngle=Rt.prototype.li,Rt.prototype.getDocumentBounds=Rt.prototype.mi,Rt.prototype.getDocumentPoint=Rt.prototype.ga,Rt.prototype.intersectsRect=Rt.prototype.Yc,Rt.prototype.containedInRect=Rt.prototype.fh,Rt.prototype.containsRect=Rt.prototype.Re,Rt.prototype.containsPoint=Rt.prototype.ca,Rt.prototype.raiseChanged=Rt.prototype.g,Rt.prototype.raiseChangedEvent=Rt.prototype.cb,Rt.prototype.addCopyProperty=Rt.prototype.Vw;var ju=null;Rt.className="GraphObject",ju=new Ii,Dl("Button",function(){function a(x,b){return x.diagram.ic(x.documentPoint,function(E){for(;E.panel!==null&&!E.isActionable;)E=E.panel;return E},function(E){return E===b})!==null}var y=ga(hi,hi.Auto,{isActionable:!0,enabledChanged:function(x,b){if(x instanceof hi){var E=x.fb("ButtonBorder");E!==null&&(E.fill=b?x._buttonFillNormal:x._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},ga(eo,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new _i(0,0,2.76142374915397,2.761423749153969),spot2:new _i(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return y.mouseEnter=function(x,b){if(b.If()&&b instanceof hi&&(x=b.fb("ButtonBorder"),x instanceof eo)){var E=b._buttonFillOver;b._buttonFillNormal=x.fill,x.fill=E,E=b._buttonStrokeOver,b._buttonStrokeNormal=x.stroke,x.stroke=E}},y.mouseLeave=function(x,b){b.If()&&b instanceof hi&&(x=b.fb("ButtonBorder"),x instanceof eo&&(x.fill=b._buttonFillNormal,x.stroke=b._buttonStrokeNormal))},y.actionDown=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof eo){x=x.diagram;var z=x.skipsUndoManager;x.skipsUndoManager=!0;var te=b._buttonFillPressed;b._buttonFillOver=E.fill,E.fill=te,te=b._buttonStrokePressed,b._buttonStrokeOver=E.stroke,E.stroke=te,x.skipsUndoManager=z}}},y.actionUp=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null&&x.button===0){var E=b.fb("ButtonBorder");if(E instanceof eo){var z=x.diagram,te=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=te}}},y.actionCancel=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null){var E=b.fb("ButtonBorder");if(E instanceof eo){var z=x.diagram,te=z.skipsUndoManager;z.skipsUndoManager=!0,a(x,b)?(E.fill=b._buttonFillOver,E.stroke=b._buttonStrokeOver):(E.fill=b._buttonFillNormal,E.stroke=b._buttonStrokeNormal),z.skipsUndoManager=te}}},y.actionMove=function(x,b){if(b.If()&&b instanceof hi&&b._buttonFillPressed!==null){var E=x.diagram;if(E.firstInput.button===0&&(E.currentTool.standardMouseOver(),a(x,b)&&(x=b.fb("ButtonBorder"),x instanceof eo))){var z=E.skipsUndoManager;E.skipsUndoManager=!0;var te=b._buttonFillPressed;x.fill!==te&&(x.fill=te),te=b._buttonStrokePressed,x.stroke!==te&&(x.stroke=te),E.skipsUndoManager=z}}},y}),Dl("TreeExpanderButton",function(){var a=ga("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},ga(eo,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:oa},new Us("figure","isTreeExpanded",function(y,x){return x=x.panel,y?x._treeExpandedFigure:x._treeCollapsedFigure}).cp()),{visible:!1},new Us("visible","isTreeLeaf",function(y){return!y}).cp());return a.click=function(y,x){if(x=x.part,x instanceof zo&&(x=x.adornedPart),x instanceof Li){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isTreeExpanded){if(!b.canCollapseTree(x))return}else if(!b.canExpandTree(x))return;y.handled=!0,x.isTreeExpanded?b.collapseTree(x):b.expandTree(x)}}},a}),Dl("SubGraphExpanderButton",function(){var a=ga("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},ga(eo,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:oa},new Us("figure","isSubGraphExpanded",function(y,x){return x=x.panel,y?x._subGraphExpandedFigure:x._subGraphCollapsedFigure}).cp()));return a.click=function(y,x){if(x=x.part,x instanceof zo&&(x=x.adornedPart),x instanceof _r){var b=x.diagram;if(b!==null){if(b=b.commandHandler,x.isSubGraphExpanded){if(!b.canCollapseSubGraph(x))return}else if(!b.canExpandSubGraph(x))return;y.handled=!0,x.isSubGraphExpanded?b.collapseSubGraph(x):b.expandSubGraph(x)}}},a}),Dl("ToolTip",function(){return ga(zo,hi.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new lt(0,3),shadowBlur:5},ga(eo,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new _i(0,0,4,6),spot2:new _i(1,1,-4,-4)}))}),Dl("ContextMenu",function(){return ga(zo,hi.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new lt(0,3),shadowBlur:5},new Us("background","",function(a){return a.adornedPart!==null&&a.placeholder!==null?null:"#F5F5F5"}))}),Dl("ContextMenuButton",function(){var a=ga("Button");a.stretch=Ci;var y=a.fb("ButtonBorder");return y instanceof eo&&(y.figure="Rectangle",y.strokeWidth=0,y.spot1=new _i(0,0,2,3),y.spot2=new _i(1,1,-2,-2)),a}),Dl("PanelExpanderButton",function(a){var y=tc(a,"COLLAPSIBLE"),x=ga("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},ga(eo,{name:"ButtonIcon",strokeWidth:2},new Us("geometryString","visible",function(b){return b?x._buttonExpandedFigure:x._buttonCollapsedFigure}).cp(y)));return a=x.fb("ButtonBorder"),a instanceof eo&&(a.stroke=null,a.fill="rgba(0, 0, 0, 0)"),x.click=function(b,E){var z=E.diagram;if(z!==null&&!z.isReadOnly){var te=E.ih();te===null&&(te=E.part),te!==null&&(E=te.fb(y),E!==null&&(b.handled=!0,z.Ea("Collapse/Expand Panel"),E.visible=!E.visible,z.eb("Collapse/Expand Panel")))}},x}),Dl("CheckBoxButton",function(a){var y=tc(a);return a=ga("Button",{desiredSize:new fi(14,14)},ga(eo,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:Qn,geometryStretch:pi,visible:!1},y!==""?new Us("visible",y).Kx():[])),a.click=function(x,b){if(b instanceof hi){var E=x.diagram;if(!(E===null||E.isReadOnly||y!==""&&E.model.isReadOnly)){x.handled=!0;var z=b.fb("ButtonIcon");E.Ea("checkbox"),z.visible=!z.visible,typeof b._doClick=="function"&&b._doClick(x,b),E.eb("checkbox")}}},a}),Dl("CheckBox",function(a){a=tc(a),a=ga("CheckBoxButton",a,{name:"Button",isActionable:!1,margin:new $i(0,1,0,0)});var y=ga(hi,"Horizontal",a,{isActionable:!0,cursor:a.cursor,margin:new $i(1),_buttonFillNormal:a._buttonFillNormal,_buttonStrokeNormal:a._buttonStrokeNormal,_buttonFillOver:a._buttonFillOver,_buttonStrokeOver:a._buttonStrokeOver,_buttonFillPressed:a._buttonFillPressed,_buttonStrokePressed:a._buttonStrokePressed,_buttonFillDisabled:a._buttonFillDisabled,mouseEnter:a.mouseEnter,mouseLeave:a.mouseLeave,actionDown:a.actionDown,actionUp:a.actionUp,actionCancel:a.actionCancel,actionMove:a.actionMove,click:a.click,_buttonClick:a.click});return a.mouseEnter=null,a.mouseLeave=null,a.actionDown=null,a.actionUp=null,a.actionCancel=null,a.actionMove=null,a.click=null,y}),Rt.None=_n=new tn(Rt,"None",0),Rt.Default=ar=new tn(Rt,"Default",0),Rt.Vertical=ki=new tn(Rt,"Vertical",4),Rt.Horizontal=Ci=new tn(Rt,"Horizontal",5),Rt.Fill=Qn=new tn(Rt,"Fill",3),Rt.Uniform=pi=new tn(Rt,"Uniform",1),Rt.UniformToFill=Nr=new tn(Rt,"UniformToFill",2),Rt.FlipVertical=Er=new tn(Rt,"FlipVertical",1),Rt.FlipHorizontal=$r=new tn(Rt,"FlipHorizontal",2),Rt.FlipBoth=Hn=new tn(Rt,"FlipBoth",3),Rt.make=ga,Rt.getBuilders=function(){var a=new Ii,y;for(y in ju)if(y!==y.toLowerCase()){var x=ju.I(y);typeof x=="function"&&a.add(y,x)}return a.freeze(),a},Rt.defineBuilder=Dl,Rt.build=function(a,y,x){for(var b=[],E=2;Ea&&(a+=360),a!==0){if(this.translate(y,x),a===90){a=0;var b=1}else a===180?(a=-1,b=0):a===270?(a=0,b=-1):(b=a*Math.PI/180,a=Math.cos(b),b=Math.sin(b));var E=this.ha[1]*a+this.ha[3]*b,z=this.ha[0]*-b+this.ha[2]*a,te=this.ha[1]*-b+this.ha[3]*a;this.ha[0]=this.ha[0]*a+this.ha[2]*b,this.ha[1]=E,this.ha[2]=z,this.ha[3]=te,this.translate(-y,-x)}},kc.className="STransform";function nc(a){this.type=a,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.gx=[],this.pattern=null}nc.prototype.addColorStop=function(a,y){this.gx.push({offset:a,color:y})},nc.className="SGradient";function Wc(a,y,x){this.ownerDocument=a=y===void 0?yt.document:y,this.cA="http://www.w3.org/2000/svg",a!==void 0&&(this.Oa=this.Ud("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.style.display="block",this.style.letterSpacing="normal",this.style.wordSpacing="normal",this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Oa.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.hs=null,this.context=new Uu(this,x)}Wc.prototype.resize=function(a,y,x,b){return this.width!==a||this.height!==y?(this.width=a,this.height=y,this.style.width=x+"px",this.style.height=b+"px",this.Oa.setAttributeNS(null,"width",x+"px"),this.Oa.setAttributeNS(null,"height",b+"px"),this.Oa.setAttributeNS(null,"viewBox","0 0 "+x+" "+b),this.context.ww.firstElementChild.setAttributeNS(null,"width",x+"px"),this.context.ww.firstElementChild.setAttributeNS(null,"height",b+"px"),!0):!1},Wc.prototype.Ud=function(a,y,x){if(a=this.ownerDocument.createElementNS(this.cA,a),Gt(y))for(var b in y)a.setAttributeNS(b==="href"?"http://www.w3.org/1999/xlink":"",b,y[b]);return x!==void 0&&(a.textContent=x),a},Wc.prototype.getBoundingClientRect=function(){return this.Oa.getBoundingClientRect()},Wc.prototype.focus=function(){this.Oa.focus()},Wc.prototype.mx=function(){this.ownerDocument=null},Nt.Object.defineProperties(Wc.prototype,{width:{get:function(){return this.Oa.width.baseVal.value},set:function(a){this.Oa.setAttribute("width",a+"px")}},height:{get:function(){return this.Oa.height.baseVal.value},set:function(a){this.Oa.setAttribute("height",a+"px")}},style:{get:function(){return this.Oa.style}}}),Wc.className="SVGSurface";function Uu(a,y){this.Gv=a,this.svg=a.Oa,this.stack=[],this.nh=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.Il=!1,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Vg=this.Br=this.Ar=0,this.yd=this.ad=null,this.path=[],this.Yl={},this.Ct=!1,this.Yg=null,this.uj=0,this.rb=new kc,this.j=Hf(this),this.Nj=Hf(this,"gojs-diagram"),this.Hl=this.ti=null;var x=po++,b=this.Ud("clipPath",{id:"mainClip"+x});b.appendChild(this.Ud("rect",{x:0,y:0,width:a.width,height:a.height})),this.ww=b,this.svg.appendChild(this.j),this.j.appendChild(this.Nj),this.svg.appendChild(b),this.j.setAttributeNS(null,"clip-path","url(#mainClip"+x+")"),this.eA={},this.isTemporary=!!y,this.filter="",this.bk=null}function Gf(a,y,x,b,E,z,te){a.Nj===void 0?yf(a,y,x,b,E,z,te):a.Nj.setAttribute("transform","matrix("+y+", "+x+", "+b+", "+E+", "+z+", "+te+")")}Ue=Uu.prototype,Ue.arc=function(a,y,x,b,E,z,te,re){var le=2*Math.PI,ce=le-1e-6,de=x*Math.cos(b),ve=x*Math.sin(b),Pe=a+de,Le=y+ve,Fe=z?0:1;b=z?b-E:E-b,(1e-6b&&(b=b%le+le),b>ce?(this.path.push(["A",x,x,0,1,Fe,a-de,y-ve]),this.path.push(["A",x,x,0,1,Fe,Pe,Le])):1e-6=Math.PI),Fe,a+x*Math.cos(E),y+x*Math.sin(E)])},Ue.beginPath=function(){this.path=[],this.Yl={stroke:"none",fill:"none"}},Ue.Se=function(a){this.addPath(this.path,this.rb,a||0)},Ue.bezierCurveTo=function(a,y,x,b,E,z){this.path.push(["C",a,y,x,b,E,z])},Ue.clearRect=function(){},Ue.clip=function(){this.Yl.clipPath=!0},Ue.closePath=function(){this.path.push(["z"])},Ue.createLinearGradient=function(a,y,x,b){var E=new nc("linear");return E.x1=a,E.y1=y,E.x2=x,E.y2=b,E},Ue.createPattern=function(a){var y="";a instanceof HTMLCanvasElement&&(y=a.toDataURL()),a instanceof HTMLImageElement&&(y=a.getAttribute("src"));var x=this.eA;if(x[y])return"url(#"+x[y]+")";var b="PATTERN"+po++,E={x:0,y:0,width:a.width,height:a.height,href:y};return a=this.Ud("pattern",{width:a.width,height:a.height,id:b,patternUnits:"userSpaceOnUse"}),a.appendChild(this.Ud(Jt,E)),this.svg.appendChild(a),x[y]=b,"url(#"+b+")"},Ue.createRadialGradient=function(a,y,x,b,E,z){var te=new nc("radial");return te.x1=a,te.y1=y,te.r1=x,te.x2=b,te.y2=E,te.r2=z,te};function Lm(a,y,x,b,E,z,te,re,le){b=re/b,E=le/E,z===0&&te===0||a.rb.translate(z,te),b===1&&E===1||a.rb.scale(b,E),y===0&&x===0||a.rb.translate(-y,-x)}Ue.drawImage=function(a,y,x,b,E,z,te,re,le){var ce="";a instanceof HTMLCanvasElement&&(ce=a.toDataURL()),a instanceof HTMLImageElement&&(ce=a.getAttribute("src"));var de=a instanceof HTMLImageElement?a.naturalWidth:a.width;a=a instanceof HTMLImageElement?a.naturalHeight:a.height,b===void 0&&(z=y,te=x,re=b=de,le=E=a),b=b||0,E=E||0,re=re||0,le=le||0,Lm(this,y,x,b,E,z||0,te||0,re,le),z={x:0,y:0,width:de||b,height:a||E,href:ce},Wt.$(b,re)&&Wt.$(E,le)?ce.toLowerCase().indexOf(".svg")===-1&&ce.toLowerCase().indexOf("data:image/svg")===-1&&(z.preserveAspectRatio="xMidYMid slice"):z.preserveAspectRatio="none",(y!==0||x!==0||b!==de||E!==a)&&(b+=y,E+=x,z["clip-path"]="path('M "+y+","+x+" L "+b+" "+x+" L "+b+" "+E+" L "+y+" "+E+" z')"),Kg(this,Jt,z,this.rb),this.addElement(Jt,z)},Ue.fill=function(a){a&&(this.Yl["fill-rule"]="evenodd"),Tp(this,this.Yl)},Ue.ng=function(a,y){this.clipInsteadOfFill?this.clip():this.fill(y)},Ue.fillRect=function(a,y,x,b){a=[a,y,x,b],a={x:a[0],y:a[1],width:a[2],height:a[3]},Kg(this,"fill",a,this.rb),this.addElement("rect",a)},Ue.ox=function(a,y,x,b){a={x:a,y,width:x,height:b},Kg(this,"fill",a,this.rb),Tp(this,a),this.svg.prepend(this.Ud("rect",a))},Ue.fillText=function(a,y,x){a=[a,y,x],y=this.textAlign,y==="left"?y="start":y==="right"?y="end":y==="center"&&(y="middle"),y={x:a[1],y:a[2],style:"font: "+this.font,"text-anchor":y},Kg(this,"fill",y,this.rb),this.addElement("text",y,a[0])},Ue.lineTo=function(a,y){this.path.push(["L",a,y])},Ue.moveTo=function(a,y){this.path.push(["M",a,y])},Ue.quadraticCurveTo=function(a,y,x,b){this.path.push(["Q",a,y,x,b])},Ue.rect=function(a,y,x,b){this.path.push(["M",a,y],["L",a+x,y],["L",a+x,y+b],["L",a,y+b],["z"])},Ue.restore=function(){this.rb=this.stack.pop(),this.path=this.stack.pop();var a=this.stack.pop();this.fillStyle=a.fillStyle,this.font=a.font,this.globalAlpha=a.globalAlpha,this.lineCap=a.lineCap,this.lineDashOffset=a.lineDashOffset,this.lineJoin=a.lineJoin,this.lineWidth=a.lineWidth,this.miterLimit=a.miterLimit,this.shadowBlur=a.shadowBlur,this.shadowColor=a.shadowColor,this.shadowOffsetX=a.shadowOffsetX,this.shadowOffsetY=a.shadowOffsetY,this.strokeStyle=a.strokeStyle,this.textAlign=a.textAlign,this.bk=a.bk},Ue.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign,bk:this.bk});for(var a=[],y=0;yde.offset?1:-1}),E=0;Ex?(this.scale(x/a,1),this.translate((a-x)/2,0)):x>a&&(this.scale(1,a/x),this.translate(0,(x-a)/2)),this.Hm?this.clip():this.fill(y),a>x?(this.translate(-(a-x)/2,0),this.scale(1/(x/a),1)):x>a&&(this.translate(0,-(x-a)/2),this.scale(1,1/(a/x)))}else this.Hm?this.clip():this.fill(y)},Ue.jk=function(){this.Hm||this.stroke()},Ue.Ev=function(a,y,x){this.Ar=a,this.Br=y,this.Vg=x},Ue.js=function(a,y){var x=this.Z;x.setLineDash!==void 0&&(x.setLineDash(a),x.lineDashOffset=y)},Ue.fs=function(){var a=this.Z;a.setLineDash!==void 0&&(a.setLineDash(Zc),a.lineDashOffset=0)},Ue.Vc=function(a){a&&(this.dt=""),this.ct=this.et=""},Ue.Hs=function(){},Nt.Object.defineProperties(Hl.prototype,{fillStyle:{get:function(){return this.Z.fillStyle},set:function(a){this.ct!==a&&(this.ct=this.Z.fillStyle=a)}},font:{get:function(){return this.Z.font},set:function(a){this.dt!==a&&(this.dt=this.Z.font=a)}},globalAlpha:{get:function(){return this.Z.globalAlpha},set:function(a){this.Z.globalAlpha=a}},lineCap:{get:function(){return this.Z.lineCap},set:function(a){this.Z.lineCap=a}},lineDashOffset:{get:function(){return this.Z.lineDashOffset},set:function(a){this.Z.lineDashOffset=a}},lineJoin:{get:function(){return this.Z.lineJoin},set:function(a){this.Z.lineJoin=a}},lineWidth:{get:function(){return this.Z.lineWidth},set:function(a){this.Z.lineWidth=a}},miterLimit:{get:function(){return this.Z.miterLimit},set:function(a){this.Z.miterLimit=a}},shadowBlur:{get:function(){return this.Z.shadowBlur},set:function(a){this.Z.shadowBlur=a}},shadowColor:{get:function(){return this.Z.shadowColor},set:function(a){this.Z.shadowColor=a}},shadowOffsetX:{get:function(){return this.Z.shadowOffsetX},set:function(a){this.Z.shadowOffsetX=a}},shadowOffsetY:{get:function(){return this.Z.shadowOffsetY},set:function(a){this.Z.shadowOffsetY=a}},strokeStyle:{get:function(){return this.Z.strokeStyle},set:function(a){this.et!==a&&(this.et=this.Z.strokeStyle=a)}},textAlign:{get:function(){return this.Z.textAlign},set:function(a){this.Z.textAlign=a}},imageSmoothingEnabled:{get:function(){return this.Z.imageSmoothingEnabled},set:function(a){this.Z.imageSmoothingEnabled=a}},filter:{get:function(){return this.Z.filter},set:function(a){this.Z.filter=a===""?"none":a}},clipInsteadOfFill:{get:function(){return this.Hm},set:function(a){this.Hm=a}}});var Zc=Object.freeze([]);Hl.className="CanvasSurfaceContext";function Dc(){this.F=this.o=this.u=this.j=0}Dc.className="ColorNumbers";function ko(a,y){Yf||(bv(),Yf=!0),kr(this),this._isFrozen=!1,a===void 0?(this.na=jh,this.xk="black"):typeof a=="string"?(this.na=jh,this.xk=a):(this.na=a,this.xk="black"),a=this.na,a===yh?(this.Qd=tu,this.Lk=$l):this.Lk=a===Oc?this.Qd=wo:this.Qd=is,this.Gr=0,this.Xp=NaN,this.xe=this.cr=this.we=null,this.ft=this.yk=0,y&&Object.assign(this,y)}ko.prototype.copy=function(){var a=new ko;return a.na=this.na,a.xk=this.xk,a.Qd=this.Qd.J(),a.Lk=this.Lk.J(),a.Gr=this.Gr,a.Xp=this.Xp,this.we!==null&&(a.we=this.we.copy()),a.cr=this.cr,a},Ue=ko.prototype,Ue.freeze=function(){return this._isFrozen=!0,this.we!==null&&this.we.freeze(),this},Ue.ka=function(){return Object.isFrozen(this)&&bt("cannot thaw constant: "+this),this._isFrozen=!1,this.we!==null&&this.we.ka(),this},Ue.qb=function(a){a.classType===ko&&(this.type=a)},Ue.toString=function(){var a="Brush(";if(this.type===jh)a+=this.color;else if(a=this.type===yh?a+"Linear ":this.type===Oc?a+"Radial ":this.type===$f?a+"Pattern ":a+"(unknown) ",a+=this.start+" "+this.end,this.colorStops!==null)for(var y=this.colorStops.iterator;y.next();)a+=" "+y.key+":"+y.value;return a+")"},Ue.addColorStop=function(a,y){return this._isFrozen&&Ut(this),(typeof a!="number"||!isFinite(a)||1a)&&Ln(a,"0 <= loc <= 1",ko,"addColorStop:loc"),this.we===null&&(this.we=new Ii),this.we.add(a,y),this.na===jh&&(this.type=yh),this.xe=null,this},Ue.Vz=function(a,y){if(this._isFrozen&&Ut(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?Xf:y,this.type===jh)vh(this.color),this.color=Vf(a,y);else if((this.type===yh||this.type===Oc)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)vh(x.value),this.addColorStop(x.key,Vf(a,y));return this};function hg(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?Xf:x,vh(a),Vf(y,x)}Ue.Wy=function(a,y){if(this._isFrozen&&Ut(this),a=a===void 0||typeof a!="number"?.2:a,y=y===void 0?Xf:y,this.type===jh)vh(this.color),this.color=Vf(-a,y);else if((this.type===yh||this.type===Oc)&&this.colorStops!==null)for(var x=this.colorStops.iterator;x.next();)vh(x.value),this.addColorStop(x.key,Vf(-a,y));return this};function Op(a,y,x){return y=y===void 0||typeof y!="number"?.2:y,x=x===void 0?Xf:x,vh(a),Vf(-y,x)}function Wf(a,y,x){vh(a),a=Ta.j;var b=Ta.u,E=Ta.o,z=Ta.F;return vh(y),x===void 0&&(x=.5),"rgba("+Math.round((Ta.j-a)*x+a)+", "+Math.round((Ta.u-b)*x+b)+", "+Math.round((Ta.o-E)*x+E)+", "+Math.round((Ta.F-z)*x+z)+")"}Ue.Gx=function(){if(this.type===jh)return Zf(this.color);if((this.type===yh||this.type===Oc)&&this.colorStops!==null){var a=this.colorStops;if(this.type===Oc)return Zf(a.first().value);if(a.get(.5)!==null)return Zf(a.get(.5));if(a.count===2)return a=a.Fa(),Zf(Wf(a[0].value,a[1].value));for(var y=a.iterator,x=-1,b=-1,E=1,z=1;y.next();){var te=y.key,re=Math.abs(.5-y.key);E>z&&re=E&&reb&&(z=x,x=b,b=z,z=E),E=b-x,Zf(Wf(a.get(x),a.get(b),1-z/E))}return!1};function Zf(a){return a?a instanceof ko?a.Gx():(vh(a),128>(299*Ta.j+587*Ta.u+114*Ta.o)/1e3):!1}function Vf(a,y){switch(y){case Xf:y=100*yv(Ta.j);var x=100*yv(Ta.u),b=100*yv(Ta.o);return bu.j=.4124564*y+.3575761*x+.1804375*b,bu.u=.2126729*y+.7151522*x+.072175*b,bu.o=.0193339*y+.119192*x+.9503041*b,bu.F=Ta.F,y=xv(bu.j/Kf[0]),x=xv(bu.u/Kf[1]),b=xv(bu.o/Kf[2]),Yd.j=116*x-16,Yd.u=500*(y-x),Yd.o=200*(x-b),Yd.F=bu.F,Yd.j=Math.min(100,Math.max(0,Yd.j+100*a)),a=(Yd.j+16)/116,y=a-Yd.o/200,bu.j=Kf[0]*oS(Yd.u/500+a),bu.u=Kf[1]*(Yd.j>Tm*wv?Math.pow(a,3):Yd.j/Tm),bu.o=Kf[2]*oS(y),bu.F=Yd.F,a=-.969266*bu.j+1.8760108*bu.u+.041556*bu.o,y=.0556434*bu.j+-.2040259*bu.u+1.0572252*bu.o,Ta.j=255*Sv((3.2404542*bu.j+-1.5371385*bu.u+-.4985314*bu.o)/100),Ta.u=255*Sv(a/100),Ta.o=255*Sv(y/100),Ta.F=bu.F,Ta.j=Math.round(Ta.j),255Ta.j&&(Ta.j=0),Ta.u=Math.round(Ta.u),255Ta.u&&(Ta.u=0),Ta.o=Math.round(Ta.o),255Ta.o&&(Ta.o=0),"rgba("+Ta.j+", "+Ta.u+", "+Ta.o+", "+Ta.F+")";case aS:return vv(),bc.o=Math.min(100,Math.max(0,bc.o+100*a)),"hsla("+bc.j+", "+bc.u+"%, "+bc.o+"%, "+bc.F+")";default:bt("Unknown color space: "+y)}}function vh(a){Yf||(bv(),Yf=!0);var y=Ev;if(y!==null){y.clearRect(0,0,1,1),y.fillStyle="#000000";var x=y.fillStyle;y.fillStyle=a,y.fillStyle!==x?(y.fillRect(0,0,1,1),a=y.getImageData(0,0,1,1).data,Ta.j=a[0],Ta.u=a[1],Ta.o=a[2],Ta.F=a[3]/255):(y.fillStyle="#FFFFFF",y.fillStyle=a,Ta.j=0,Ta.u=0,Ta.o=0,Ta.F=1)}}function vv(){var a=Ta.j/255,y=Ta.u/255,x=Ta.o/255,b=Math.max(a,y,x),E=Math.min(a,y,x),z=b-E;if(E=(b+E)/2,z===0)var te=a=0;else{switch(b){case a:te=(y-x)/z%6;break;case y:te=(x-a)/z+2;break;case x:te=(a-y)/z+4}te*=60,0>te&&(te+=360),a=z/(1-Math.abs(2*E-1))}bc.j=Math.round(te),bc.u=Math.round(100*a),bc.o=Math.round(100*E),bc.F=Ta.F}function yv(a){return a/=255,.04045>=a?a/12.92:Math.pow((a+.055)/1.055,2.4)}function Sv(a){return .0031308>=a?12.92*a:1.055*Math.pow(a,1/2.4)-.055}function xv(a){return a>wv?Math.pow(a,1/3):(Tm*a+16)/116}function oS(a){var y=a*a*a;return y>wv?y:(116*a-16)/Tm}function Sf(a,y){typeof a!="string"&&(a instanceof ko||bt("Value for "+y+" must be a color string or a Brush, not "+a))}function bv(){Ev=ls?new Oa(null,void 0,{willReadFrequently:!0}).context:null}Nt.Object.defineProperties(ko.prototype,{type:{get:function(){return this.na},set:function(a){this._isFrozen&&Ut(this,a),this.na=a,this.start.Mc()&&(a===yh?this.start=tu:a===Oc&&(this.start=wo)),this.end.Mc()&&(a===yh?this.end=$l:a===Oc&&(this.end=wo)),this.xe=null}},color:{get:function(){return this.xk},set:function(a){this._isFrozen&&Ut(this,a),this.xk=a,this.xe=null}},start:{get:function(){return this.Qd},set:function(a){this._isFrozen&&Ut(this,a),this.Qd=a.J(),this.xe=null}},end:{get:function(){return this.Lk},set:function(a){this._isFrozen&&Ut(this,a),this.Lk=a.J(),this.xe=null}},startRadius:{get:function(){return this.Gr},set:function(a){this._isFrozen&&Ut(this,a),0>a&&Ln(a,">= zero",ko,"startRadius"),this.Gr=a,this.xe=null}},endRadius:{get:function(){return this.Xp},set:function(a){this._isFrozen&&Ut(this,a),0>a&&Ln(a,">= zero",ko,"endRadius"),this.Xp=a,this.xe=null}},colorStops:{get:function(){return this.we},set:function(a){this._isFrozen&&Ut(this,a),this.we=a,this.xe=null}},pattern:{get:function(){return this.cr},set:function(a){this._isFrozen&&Ut(this,a),this.cr=a,this.xe=null}}}),ko.prototype.isDark=ko.prototype.Gx,ko.prototype.darkenBy=ko.prototype.Wy,ko.prototype.lightenBy=ko.prototype.Vz,ko.prototype.addColorStop=ko.prototype.addColorStop;var wv=216/24389,Tm=24389/27,Kf=[95.047,100,108.883],Ev=null,Ta=new Dc,bc=new Dc,bu=new Dc,Yd=new Dc,Yf=!1;ko.className="Brush";var jh;ko.Solid=jh=new tn(ko,"Solid",0);var yh;ko.Linear=yh=new tn(ko,"Linear",1);var Oc;ko.Radial=Oc=new tn(ko,"Radial",2);var $f;ko.Pattern=$f=new tn(ko,"Pattern",4);var Xf;ko.Lab=Xf=new tn(ko,"Lab",5);var aS;ko.HSL=aS=new tn(ko,"HSL",6),ko.randomColor=function(a,y){a===void 0&&(a=128),y===void 0&&(y=Math.max(a,255));var x=Math.abs(y-a);y=Math.floor(a+Math.random()*x).toString(16);var b=Math.floor(a+Math.random()*x).toString(16);return a=Math.floor(a+Math.random()*x).toString(16),2>y.length&&(y="0"+y),2>b.length&&(b="0"+b),2>a.length&&(a="0"+a),"#"+y+b+a},ko.isValidColor=function(a){if(a==="black")return!0;if(a==="")return!1;Yf||(bv(),Yf=!0);var y=Ev;if(y===null)return!0;y.fillStyle="#000000";var x=y.fillStyle;return y.fillStyle=a,y.fillStyle!==x?!0:(y.fillStyle="#FFFFFF",x=y.fillStyle,y.fillStyle=a,y.fillStyle!==x)},ko.lighten=function(a){return hg(a)},ko.lightenBy=hg,ko.darken=function(a){return Op(a)},ko.darkenBy=Op,ko.mix=Wf,ko.isDark=Zf;function nl(){this.xa="Base"}nl.prototype.measure=function(){},nl.prototype.Yz=function(a,y,x,b,E){a.measure(y,x,b,E)},nl.prototype.arrange=function(){},nl.prototype.Ly=function(a,y,x,b,E,z){a.arrange(y,x,b,E,z)},nl.prototype.iA=function(a){a.Uj()},nl.prototype.gc=function(){},Nt.Object.defineProperties(nl.prototype,{name:{get:function(){return this.xa},set:function(a){this.xa=a}},classType:{get:function(){return hi}}}),nl.prototype.remeasureObject=nl.prototype.iA,nl.prototype.arrangeElement=nl.prototype.Ly,nl.prototype.measureElement=nl.prototype.Yz,nl.className="PanelLayout";function Im(){this.xa="Base"}qt(Im,nl),Im.prototype.measure=function(a,y,x,b,E,z,te){var re=b.length;a=Sh(a);for(var le=0;leji&&(yl=Math.max(ji-Ng,0));var ov=ti.oa===0;ti.oc=ti.oc+yl,ti.actual=ti.oa+yl,ji=Math.max(ji-(yl+(ov?Ng:0)),0)}if(rc.columnSpan===1&&(cu===_n||cu===ki)){ti=a.Eb(uu);var wm=ti.Wc();yl=Math.max(nf-ti.actual,0),yl+wm>Pi&&(yl=Math.max(Pi-wm,0));var Qy=ti.oa===0;ti.oc=ti.oc+yl,ti.actual=ti.oa+yl,Pi=Math.max(Pi-(yl+(Qy?wm:0)),0)}Ag&&rc.Uj()}}}}}kn(Ct);var ih=0,wh=0;z=a.columnCount;for(var kf=0;kf=a.rowCount);qh++)ti=a.Fb(As.row+qh),yl=0,yl=cu===Qn||cu===ki?Math.max(ti.minimum,Md[As.row+qh]===0?ti.maximum:Math.min(Md[As.row+qh],ti.maximum)):Math.max(ti.minimum,isNaN(ti.Hc)?ti.maximum:Math.min(ti.Hc,ti.maximum)),Ph.height+=yl,yc+=ti.minimum;for(var Qc=1;Qc=a.columnCount);Qc++)ti=a.Eb(As.column+Qc),yl=0,yl=cu===Qn||cu===Ci?Math.max(ti.minimum,zc[As.column+Qc]===0?ti.maximum:Math.min(zc[As.column+Qc],ti.maximum)):Math.max(ti.minimum,isNaN(ti.Hc)?ti.maximum:Math.min(ti.Hc,ti.maximum)),Ph.width+=yl,uv+=ti.minimum;Rl.width+=Ph.width,Rl.height+=Ph.height;var Ap=As.margin,kg=Ap.right+Ap.left,Cm=Ap.top+Ap.bottom;As.measure(Rl.width,Rl.height,uv,yc);for(var Np=As.measuredBounds,zd=Math.max(Np.width+kg,0),sf=Math.max(Np.height+Cm,0),Dg=0,Mp=0;Mp=a.rowCount);Mp++)ti=a.Fb(As.row+Mp),Dg+=ti.total||0;if(Dg=eg)&&!(As.row+Ah>=a.rowCount);Ah++){ti=a.Fb(As.row+Ah);var ng=ti.oa||0,lf=tg(As,ti,oh);ti.actual=Math.min(ti.maximum,ng+lf),ti.oa!==ng&&(eg-=ti.oa-ng)}for(;0Ld&&(ti.actual=Math.min(ti.maximum,Ld+eg),ti.oa!==Ld&&(eg-=ti.oa-Ld)),ti.index===0)break;ti=a.Fb(ti.index-1)}}for(var Rf=0,ig=0;ig=a.columnCount);ig++)ti=a.Eb(As.column+ig),Rf+=ti.total||0;if(Rf=Ff)&&!(As.column+uf>=a.columnCount);uf++){ti=a.Eb(As.column+uf);var Pm=ti.oa||0,eS=Nh(As,ti,qy);ti.actual=Math.min(ti.maximum,Pm+eS),ti.oa!==Pm&&(Ff-=ti.oa-Pm)}for(;0cv&&(ti.actual=Math.min(ti.maximum,cv+Ff),ti.oa!==cv&&(Ff-=ti.oa-cv)),ti.index===0)break;ti=a.Eb(ti.index-1)}}}}kn(Lt),fi.free(Ph),fi.free(Rl),Md!==void 0&&kn(Md),zc!==void 0&&kn(zc);var Bf=0,jf=0,dv=a.desiredSize,y1=a.maxSize;cu=Ps(a,!0);var Am=wh=ih=0,Nm=0;z=a.columnCount;for(var hv=0;hv=a.rowCount);ti++){var Br=a.Fb(Ct+ti);Br.oa!==0&&(at.height+=Br.total)}for(ti=1;ti=a.columnCount);ti++)Br=a.Eb(Dt+ti),Br.oa!==0&&(at.width+=Br.total);var Ar=Kt.oa+at.width,Wo=Lt.oa+at.height;ti=re,Br=le;var wa=Ar,vl=Wo,Pl=re,lu=le,yl=Ar,$h=Wo;re+Ar>x.width&&(yl=Math.max(x.width-re,0)),le+Wo>x.height&&($h=Math.max(x.height-le,0));var _s=Di.alignment;if(_s.Xb()){_s=a.defaultAlignment,_s.sb()||(_s=wo);var Pd=_s.x,uu=_s.y,Xh=_s.offsetX;_s=_s.offsetY;var Cc=Kt.alignment,$c=Lt.alignment;Cc.sb()&&(Pd=Cc.x,Xh=Cc.offsetX),$c.sb()&&(uu=$c.y,_s=$c.offsetY)}else Pd=_s.x,uu=_s.y,Xh=_s.offsetX,_s=_s.offsetY;(isNaN(Pd)||isNaN(uu))&&(uu=Pd=.5,_s=Xh=0),Cc=vi.width,$c=vi.height;var pc=Di.margin,rc=pc.left+pc.right,Ag=pc.top+pc.bottom,Ad=Tl(Di,Lt,Kt,!1);!isNaN(Di.desiredSize.width)||Ad!==Qn&&Ad!==Ci||(Cc=Math.max(Ar-rc,0)),!isNaN(Di.desiredSize.height)||Ad!==Qn&&Ad!==ki||($c=Math.max(Wo-Ag,0)),Ar=Di.maxSize,Wo=Di.minSize,Cc=Math.min(Ar.width,Cc),$c=Math.min(Ar.height,$c),Cc=Math.max(Wo.width,Cc),$c=Math.max(Wo.height,$c),Ar=$c+Ag,ti+=wa*Pd-(Cc+rc)*Pd+Xh+pc.left,Br+=vl*uu-Ar*uu+_s+pc.top,Di.visible&&(Qr(Pl,lu,yl,$h,ti,Br,vi.width,vi.height)?Di.arrange(ti,Br,Cc,$c):Di.arrange(ti,Br,Cc,$c,new jn(Pl,lu,yl,$h)))}}}for(fi.free(at),a=0;a=x&&(x=1);var b=a.gridCellSize,E=b.width;b=b.height;var z=a.naturalBounds,te=a.actualBounds,re=z.width,le=z.height,ce=Math.ceil(re/E),de=Math.ceil(le/b),ve=a.gridOrigin,Pe=ve.x;ve=ve.y,y.save(),y.beginPath(),y.rect(0,0,re,le),y.clip(),y.Se();for(var Le=[],Fe=a.O.s,Ze=Fe.length,pt=0;ptLt)){at=Av(at.figure);for(var Dt=0;DtLt&&Ct.push(Kt))}}}}for(Fe=a.O.s,Ze=Fe.length,pt=0;ptE*at*x))){if(Lt=vn.segmentIndex,(!isFinite(Lt)||isNaN(Lt))&&(Lt=0),0>Lt&&(Lt=at-Math.min(-Lt,at)),Lt=Math.round(Lt%at),at=vn.opacity,Dt=1,at!==1){if(at===0)continue;Dt=y.globalAlpha,y.globalAlpha=Dt*at}Kt=Le[pt];var Pi=!1,ji=vn.strokeDashArray;if(ji!==null&&(Pi=!0,y.js(ji,vn.strokeDashOffset)),vn.figure==="LineV"&&vn.stroke!==null&&0y)return a%y===x;if(a%y!==x)return!1;y=b.length;for(var E=0;Eve)Ct.measure(1/0,1/0,0,0),Lt=Ct.measuredBounds,x.ed(Lt),Le.push(Lt);else{var Dt=Ct.segmentIndex,Kt=Ct.segmentFraction,vn=Ct.alignmentFocus;vn.Mc()&&(vn=wo);var Pi=Ct.segmentOrientation,ji=Ct.segmentOffset;if(isNaN(Dt)){var Di=le.ua;Lt=gn(),Di.Qu(Kt,Lt);var vi=lt.allocAt(Lt[0],Lt[1]);if(vi.add(le.i(0)),Di.type===di.j?vi.offset(-Di.startX,-Di.startY):(Di=Di.figures.first(),Di!==null&&vi.offset(-Di.startX,-Di.startY)),Di=Lt[2],Pi!==Eu){var ti=le.computeAngle(Ct,Pi,Di);Ct.Kb=ti}ti=vi.x-y.x;var Br=vi.y-y.y;lt.free(vi),kn(Lt)}else if(Dt<-ve||Dt>=ve)Lt=lt.alloc(),le.vg(),le.computeMidPoint(Lt),Di=le.midAngle,Pi!==Eu&&(ti=le.computeAngle(Ct,Pi,Di),Ct.Kb=ti),ti=Lt.x-y.x,Br=Lt.y-y.y,lt.free(Lt);else{if(ti=0,0<=Dt?(Br=de.M(Dt),Lt=DtAr+10?0<=Dt?Di.ab(Br):Br.ab(Di):Ar>vi+10?0<=Dt?Lt.ab(ti):ti.ab(Lt):0<=Dt?Di.ab(ti):ti.ab(Di)}else Di=0<=Dt?Br.ab(Lt):Lt.ab(Br);Pi!==Eu&&(ti=le.computeAngle(Ct,Pi,Di),Ct.Kb=ti),ti=Br.x+(Lt.x-Br.x)*Kt-y.x,Br=Br.y+(Lt.y-Br.y)*Kt-y.y}Ct.measure(1/0,1/0,0,0),Lt=Ct.measuredBounds,vi=Ct.naturalBounds;var Wo=0;Ct instanceof eo&&(Wo=Ct.strokeWidth),Ar=vi.width+Wo;var wa=vi.height+Wo;Fe.reset(),Fe.translate(-Lt.x,-Lt.y),Fe.scale(Ct.scale,Ct.scale),Fe.rotate(Pi===Eu?Ct.angle:Di,Ar/2,wa/2),Pi!==Yp&&Pi!==Xp||Fe.rotate(90,Ar/2,wa/2),Pi!==$p&&Pi!==Qp||Fe.rotate(-90,Ar/2,wa/2),Pi===v0&&(45Di||225Di)&&Fe.rotate(-Di,Ar/2,wa/2),vi=new jn(0,0,Ar,wa),Ze.xi(vi,vn),Fe.Ga(Ze),vn=-Ze.x+Wo/2*Ct.scale,Ct=-Ze.y+Wo/2*Ct.scale,pt.assign(ji),Wo=isNaN(ji.x);var vl=isNaN(ji.y);if(Wo||vl){Ar=Ar/2+3,wa=wa/2+3;var Pl=45<=Di&&135>=Di,lu=225<=Di&&315>=Di;Pi===Eu&&(Pl||lu)?(pt.x=vl?Ar:ji.y,pt.y=Wo?wa:ji.x,Pl?0<=Dt||isNaN(Dt)&&.5>Kt||!Wo||(pt.y=-wa):lu&&((0<=Dt||isNaN(Dt)&&.5>Kt)&&Wo&&(pt.y=-wa),vl&&(pt.x=-Ar))):(Wo&&(pt.x=0<=Dt||isNaN(Dt)&&.5>Kt?Ar:-Ar),vl&&(pt.y=-wa),pt.rotate(Di))}else pt.rotate(Di);ti+=pt.x,Br+=pt.y,vi.set(Lt),vi.h(ti+vn,Br+Ct,Lt.width,Lt.height),Le.push(vi),x.ed(vi)}}if(te!==null)for(b=te.labelNodes;b.next();)b.value.measure(1/0,1/0);a.jg=x,a.position.h(y.x+x.x,y.y+x.y),gs(E,x.width||0,x.height||0),fr.free(Fe),lt.free(Ze),lt.free(pt)}}}},_m.prototype.arrange=function(a,y){var x=y.length;if(a instanceof zo||a instanceof yi){var b=a,E=null;a instanceof zo&&(E=a,b=E.adornedPart);var z=a instanceof zo?null:b.path,te=a.j;if(te.length!==0){var re=0;if(z!==null&&re=x)Fe=lt.alloc(),Le=ve,pt=Fe,Le.vg(),Le.computeMidPoint(pt),Le=ve.midAngle,ce!==Eu&&(ve=ve.computeAngle(te,ce,Le),te.angle=ve),ve=Fe.x,pt=Fe.y,lt.free(Fe);else{if(Ze=0,0<=re?(Fe=y.s[re],pt=reCt+10?0<=re?Le.ab(Fe):Fe.ab(Le):Ct>at+10?0<=re?pt.ab(Ze):Ze.ab(pt):0<=re?Le.ab(Ze):Ze.ab(Le)}else Le=0<=re?Fe.ab(pt):pt.ab(Fe);ce!==Eu&&(ve=ve.computeAngle(te,ce,Le),te.angle=ve),ve=Fe.x+(pt.x-Fe.x)*le,pt=Fe.y+(pt.y-Fe.y)*le}if(Pe.ys())te.location=new lt(ve,pt);else{Pe.Mc()&&(Pe=wo),Fe=fr.alloc(),Fe.reset(),Fe.scale(te.scale,te.scale),Fe.rotate(te.angle,0,0);var Lt=te.naturalBounds;Ze=jn.allocAt(0,0,Lt.width,Lt.height),at=lt.alloc(),at.xi(Ze,Pe),Fe.Ga(at),Pe=-at.x,Ct=-at.y;var Dt=Lt.width,Kt=Lt.height;Lt=lt.alloc(),Lt.assign(de);var vn=isNaN(de.x),Pi=isNaN(de.y);if(vn||Pi){Dt=Dt/2+3,Kt=Kt/2+3;var ji=45<=Le&&135>=Le,Di=225<=Le&&315>=Le;ce===Eu&&(ji||Di)?(Lt.x=Pi?Dt:de.y,Lt.y=vn?Kt:de.x,ji?0<=re||isNaN(re)&&.5>le||!vn||(Lt.y=-Kt):Di&&((0<=re||isNaN(re)&&.5>le)&&vn&&(Lt.y=-Kt),Pi&&(Lt.x=-Dt))):(vn&&(Lt.x=0<=re||isNaN(re)&&.5>le?Dt:-Dt),Pi&&(Lt.y=-Kt),Lt.rotate(Le))}else Lt.rotate(Le);ve+=Lt.x,pt+=Lt.y,Fe.pp(Ze),Pe+=Ze.x,Ct+=Ze.y,re=lt.allocAt(ve+Pe,pt+Ct),te.move(re),lt.free(re),lt.free(Lt),lt.free(at),jn.free(Ze),fr.free(Fe)}}E!==null?E.Ul(!1):b.Ul(!1),b=FS(a),a.location.h(a.position.x+b.x,a.position.y+b.y),lt.free(b)}};function sS(a,y,x,b){if(xu(b)!==!1){var E=b.strokeWidth;E===0&&a instanceof zo&&a.type===hi.Link&&a.adornedObject instanceof eo&&(E=a.adornedObject.strokeWidth),E*=b.Ca,a instanceof yi&&a.ua!==null?(a=a.geometry.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):a instanceof zo&&a.adornedPart.ua!==null?(a=a.adornedPart.ua.bounds,b.Ge(a.x-E/2,a.y-E/2,a.width+E,a.height+E)):b.Ge(-(E/2),-(E/2),y+E,x+E),E=b.desiredSize,E.w()||b.ua===null?b.dc.h(0,0,E.width,E.height):b.dc.assign(b.ua.bounds),cs(b,!1)}}function Fp(){this.xa="Base"}qt(Fp,nl),Fp.prototype.measure=function(a,y,x,b,E,z,te){var re=a.Pb();a.graduatedBounds=[];var le=re.margin,ce=le.right+le.left,de=le.top+le.bottom;re.measure(y,x,z,te);var ve=re.measuredBounds,Pe=new jn(-le.left,-le.top,Math.max(ve.width+ce,0),Math.max(ve.height+de,0));a.graduatedBounds.push(Pe),E.assign(Pe);for(var Le=re.geometry,Fe=re.strokeWidth,Ze=Le.flattenedSegments,pt=Le.flattenedLengths,at=Le.flattenedTotalLength,Ct=Ze.length,Lt=0,Dt=0,Kt=gn(),vn=0;vnAr&&(Ar+=360),ji.push(Ar)}Lt=ti,Dt=Br}Kt.push(ji)}if(a.graduatedIntervals===null){for(var Wo=[],wa=a.O.s,vl=wa.length,Pl=0;Pl$h)){for(var _s=0;_s$h&&yl.push(uu)}}}}}a.graduatedIntervals=Wo}var Xh=a.graduatedIntervals,Cc=a.O.s,$c=Cc.length,pc=0,rc=0,Ag=at;a.graduatedMarks=[];for(var Ad,Sp=0;Sp<$c;Sp++){var mc=Cc[Sp];if(Ad=[],mc.visible&&mc!==re){var cu=Math.abs(mc.interval),bm=a.graduatedTickUnit;if(!(2>bm*cu*at/a.graduatedRange&&mc.graduatedSkip===null)){var If=pt[0][0],Fd=0,oc=0;rc=at*mc.graduatedStart-1e-4,Ag=at*mc.graduatedEnd+1e-4;var nf=bm*cu,vc=a.graduatedTickBase;if(vca.graduatedMin+nf&&(vc-=Math.floor((vc-a.graduatedMin)/nf)*nf);for(var ov=Xh[Sp],wm=vc,Qy=1e-6*a.graduatedMax,ih=1;vc<=a.graduatedMax+Qy;ih++){e:{for(var wh=ov.length,kf=0;kf-xp){var Lg=!1;break e}}Lg=!0}if(Lg&&(vc>a.graduatedMax&&(vc=a.graduatedMax),mc.graduatedSkip===null||mc instanceof Pa&&!mc.graduatedSkip(vc,mc)||mc instanceof eo&&!mc.graduatedSkip(vc,mc))&&(pc=(vc-a.graduatedMin)*at/a.graduatedRange,pc>at&&(pc=at),rc<=pc&&pc<=Ag)){for(var rh=Kt[Fd][oc],Qh=pt[Fd][oc];FdIf&&ocEh&&.4995Eh?0Eh||.9995Df){var wp=1-Math.abs(.5-Eh);rh=(Nd*wp+jd*(1-wp))%360;break e}}}rh=Nd}if(mc instanceof Pa){var fd="";mc.graduatedFunction!==null?(fd=mc.graduatedFunction(vc,mc),fd=fd!=null?fd.toString():""):fd=(+vc.toFixed(2)).toString(),fd!==""&&Ad.push({$l:bp,angle:rh,text:fd})}else Ad.push({$l:bp,angle:rh})}vc=wm+ih*nf}}}a.graduatedMarks.push(Ad)}kn(Kt);var Rl=a.graduatedMarks;if(Rl!==null)for(var Em=b.length,Mu=0;Mupd;pd++){switch(pd){case 0:sc.h(Ph,Md);break;case 1:sc.h(Ph+Ep,Md);break;case 2:sc.h(Ph,Md+af);break;case 3:sc.h(Ph+Ep,Md+af)}sc.rotate(As+Gs.angle),sc.offset(lv,Pp),Cp===0&&pd===0?zc.h(sc.x,sc.y,0,0):zc.Ye(sc),sc.offset(-lv,-Pp),sc.rotate(-As-Gs.angle)}lt.free(sc),Ch.graduatedBounds!==null&&Ch.graduatedBounds.push(zc),Xr(Jh,zc.x,zc.y,zc.width,zc.height)}else if(Gs instanceof Pa){var Xc=a,uv=E;Xc.temporaryTextBlock===null&&(Xc.temporaryTextBlock=new Pa);var yc=Xc.temporaryTextBlock;wS(yc,Gs);var qh=Gs.alignmentFocus;qh.Mc()&&(qh=tu);for(var Qc=Gs.segmentOrientation,Ap=Gs.segmentOffset,kg=new jn,Cm=0,Np=0,zd=0,sf=0,Dg=0,Mp=Lu.length,eg=0;egzd||225zd)&&Ld.rotate(-zd,ng/2,lf/2);var Rf=jn.allocAt(0,0,ng,lf),ig=lt.alloc();ig.xi(Rf,qh),Ld.Ga(ig);var Ff=-ig.x,qy=-ig.y,Nh=lt.alloc();Nh.assign(Ap),isNaN(Nh.x)&&(Nh.x=ng/2+3),isNaN(Nh.y)&&(Nh.y=-(lf/2+3)),Nh.rotate(zd),Cm+=Nh.x+Ff,Np+=Nh.y+qy;var uf=new jn(Cm,Np,tg.width,tg.height),Pm=new jn(tg.x,tg.y,tg.width,tg.height),eS=new jn(Ah.x,Ah.y,Ah.width,Ah.height);oh.Sz=sf,oh.lineCount=yc.lineCount,oh.lines=[yc.Cb,yc.Ih,yc.df,yc.Le,yc.Qc,yc.Qb,yc.ze],oh.actualBounds=uf,oh.measuredBounds=Pm,oh.naturalBounds=eS,eg===0?kg.assign(uf):kg.ed(uf),lt.free(Nh),lt.free(ig),jn.free(Rf),fr.free(Ld)}Xc.graduatedBounds!==null&&Xc.graduatedBounds.push(kg),Xr(uv,kg.x,kg.y,kg.width,kg.height)}cs(Gs,!1)}}},Fp.prototype.arrange=function(a,y,x){if(a.graduatedBounds!==null){var b=a.Pb(),E=a.graduatedMarks;if(E!==null){var z=a.graduatedBounds,te=0,re=z[te];te++,b!==null&&b.arrange(re.x-x.x,re.y-x.y,re.width,re.height);for(var le=y.length,ce=0;ce=te&&(te=1);for(var re=z.actualBounds,le=a.O.s,ce=a.graduatedMarks,de=le.length,ve=0;vea.graduatedTickUnit*Pe.interval*z.geometry.flattenedTotalLength/a.graduatedRange*te&&Pe.graduatedSkip===null)){var Ze=Pe.measuredBounds,pt=Pe.strokeWidth*Pe.scale,at=Pe.alignmentFocus;at.Mc()&&(at=tu);for(var Ct=0;Ctte.height)continue}else if(ce.position>te.width)continue;var de=ce.separatorStrokeWidth;isNaN(de)&&(de=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var ve=ce.separatorStroke;if(ve===null&&(ve=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),de!==0&&ve!==null){Ca(a,y,ve,!1,!1,te,z),ve=!1;var Pe=ce.separatorDashArray;Pe===null&&(Pe=x?a.defaultRowSeparatorDashArray:a.defaultColumnSeparatorDashArray),Pe!==null&&(ve=!0,y.js(Pe,0)),y.beginPath(),Pe=ce.position+de,x?Pe>te.height&&(de-=Pe-te.height):Pe>te.width&&(de-=Pe-te.width),ce=ce.position+de/2,y.lineWidth=de,de=a.yb,x?(ce+=de.top,Pe=te.width-de.right,y.moveTo(de.left,ce),y.lineTo(Pe,ce)):(ce+=de.left,Pe=te.height-de.bottom,y.moveTo(ce,de.top),y.lineTo(ce,Pe)),y.stroke(),y.Se(),ve&&y.fs()}}}}function Gm(a,y,x,b,E){for(var z=b.length,te=a.actualBounds,re=a.naturalBounds,le=uS(a,!0),ce=uS(a,!1),de=0;dePe)){var Le=ve.Wc(),Fe=ve.separatorStrokeWidth;isNaN(Fe)&&(Fe=x?a.defaultRowSeparatorStrokeWidth:a.defaultColumnSeparatorStrokeWidth);var Ze=ve.separatorStroke;Ze===null&&(Ze=x?a.defaultRowSeparatorStroke:a.defaultColumnSeparatorStroke),(Ze===null||ve.index===(x?le:ce))&&(Fe=0),Le-=Fe,Fe=ve.position+Fe,Le+=ve.actual,Fe+Le>Pe&&(Le=Pe-Fe),0>=Le||(Pe=a.yb,Ca(a,y,ve.background,!0,!1,re,te),x?y.fillRect(Pe.left,Fe+Pe.top,te.width-(Pe.left+Pe.right),Le):y.fillRect(Fe+Pe.left,Pe.top,Le,te.height-(Pe.top+Pe.bottom)))}}}}function uS(a,y){for(var x=y?a.rowCount:a.columnCount,b=0;bb&&E.set(Fe),lt.free(Fe)),lt.free(de),z&&E.transform(te),ce},Ue.Gj=function(){for(var a=this.O.s,y=a.length,x=0;xx||z>b)&&(this.v(),this.measure(y>x?x:y,z>b?b:z,0,0));break;case Qn:this.v(!0),this.measure(x+re,b+te,0,0);break;case Ci:this.v(!0),this.measure(x+re,z+te,0,0);break;case ki:this.v(!0),this.measure(y+re,b+te,0,0)}}this.na.arrange(this,E,this.jg)}},Ue.gh=function(a){var y=this.naturalBounds,x=Sh(this);if(Qr(0,0,y.width,y.height,a.x,a.y)){y=this.O.s;for(var b=y.length,E=lt.allocAt(0,0);b--;){var z=y[b];if((z.visible||z===x)&&(ao(E.set(a),z.transform),z.ca(E)))return lt.free(E),!0}return lt.free(E),!(this.Ma===null&&this.areaBackground===null)}return!1},Ue.ks=function(a){if(this.bindingId===a)return this;for(var y=this.O.s,x=y.length,b=0;bPe.width||ve.y>Pe.height||0>ve.x+ve.width||0>ve.y+ve.height||(ve=de,de=de instanceof hi?de:null,Pe=fr.alloc(),Pe.set(te),(de!==null?de.Cf(a,y,x,b,E,Pe):oi(ve,a,b,Pe))&&(y!==null&&(ve=y(ve)),ve===null||x!==null&&!x(ve)||E.add(ve)),fr.free(Pe))}}return z===void 0&&fr.free(te),b}return z===void 0&&fr.free(te),!1};function Nv(a,y,x,b){for(var E=a.O.s,z=E.length;z--;){var te=E[z];if(te.visible){var re=te.actualBounds,le=a.naturalBounds;re.x>le.width||re.y>le.height||0>re.x+re.width||0>re.y+re.height||(te instanceof hi&&Nv(te,y,x,b),y!==null&&(te=y(te)),te===null||x!==null&&!x(te)||b.add(te))}}}Ue.og=function(a,y,x,b,E,z){if(this.pickable===!1)return!1;x===void 0&&(x=null),b===void 0&&(b=null);var te=this.naturalBounds,re=this.se(),le=re?a:ao(lt.allocAt(a.x,a.y),this.transform),ce=re?y:ao(lt.allocAt(y.x,y.y),this.transform),de=le.Bf(ce),ve=0pt.width||Ze.y>pt.height||0>Ze.x+Ze.width||0>Ze.y+Ze.height))&&(Fe.se()?(Ze=Fe.transform,ao(le.set(a),Ze),ao(ce.set(y),Ze)):(le.set(a),ce.set(y)),Ze=Fe,Fe=Fe instanceof hi?Fe:null,(Fe!==null?Fe.og(le,ce,x,b,E,z):Ze.tx(le,ce,E))&&(x!==null&&(Ze=x(Ze)),Ze===null||b!==null&&!b(Ze)||z.add(Ze)))}}lt.free(le),lt.free(ce)}return E?ve:te}return!1};function Mv(a){var y=null;return a instanceof eo&&(y=a.spot1,y===Vr&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot1)),y===null&&(y=Hs),y}function Lv(a){var y=null;return a instanceof eo&&(y=a.spot2,y===Vr&&(y=null),a=a.geometry,a!==null&&y===null&&(y=a.spot2)),y===null&&(y=Fl),y}Ue.add=function(a){for(var y=[],x=0;x=E.count&&a>=E.count)return;E.mb(z),b=z}else bt("element "+y.toString()+" has panel "+x.toString()+" but is not contained by it.")}(0>a||a>E.count)&&(a=E.count),E.Gb(a,y),(a===0||y.isPanelMain)&&(this.$g=null),xu(this)||this.v(),y.v(!1),y.portId!==null?this.Te=!0:y instanceof hi&&y.Te===!0&&(this.Te=!0),this.graduatedIntervals=null,this.If()||Wm(this,y,!1),x=this.part,x!==null&&(x.Rh=null,x.ag=NaN,this.Te&&x instanceof Li&&(x.Te=!0),x.Te&&x instanceof Li&&(x.wc=null),E=this.diagram,E!==null&&E.undoManager.isUndoingRedoing||(b!==-1&&x.cb(ms,"elements",this,y,null,b,null),x.cb(Ka,"elements",this,null,y,null,a)))};function Tv(a,y){a.l=y?a.l|16777216:a.l&-16777217}Ue.remove=function(a){for(var y=this.O.s,x=y.length,b=-1,E=0;Ea&&Ln(a,">= 0",hi,"getRowDefinition:idx"),a=Math.round(a);var y=this.rowDefs;if(y[a]===void 0){var x=new Qs;x.wi(this),x.isRow=!0,x.index=a,y[a]=x,this.cb(Ka,"rowdefs",this,null,x,null,a)}return y[a]},Ue.oA=function(a){if(0>a&&Ln(a,">= 0",hi,"removeRowDefinition:idx"),this.rowCount!==0){a=Math.round(a);var y=this.rowDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(ms,"rowdefs",this,x,null,a,null),this.v()}}};function fS(a,y,x){var b=a.rowDefs;if(!(0>y)){if(b[y]=x instanceof Qs?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ue.Eb=function(a){0>a&&Ln(a,">= 0",hi,"getColumnDefinition:idx"),a=Math.round(a);var y=this.colDefs;if(y[a]===void 0){var x=new Qs;x.wi(this),x.isRow=!1,x.index=a,y[a]=x,this.cb(Ka,"coldefs",this,null,x,null,a)}return y[a]},Ue.jA=function(a){if(0>a&&Ln(a,">= 0",hi,"removeColumnDefinition:idx"),this.columnCount!==0){a=Math.round(a);var y=this.colDefs,x=y[a];if(x){y[a]=void 0;for(var b=y.length-1;0<=b&&y[b--]===void 0;)y.length--;this.cb(ms,"coldefs",this,x,null,a,null),this.v()}}};function pS(a,y,x){var b=a.colDefs;if(!(0>y)){if(b[y]=x instanceof Qs?x:void 0,!x)for(y=b.length-1;0<=y&&b[y--]===void 0;)b.length--;a.v()}}Ue.Gy=function(a){var y=null;return a.isRow?y=this.Fb(a.index):a.isRow||(y=this.Eb(a.index)),y&&Zm(y,a),this},Ue.Hy=function(a,y){return(a=this.Fb(a))&&Zm(a,new Qs(y)),this},Ue.By=function(a,y){return(a=this.Eb(a))&&Zm(a,new Qs(y)),this},Ue.nz=function(a){if(0>a||this.type!==hi.Table||this.rowCount===0)return-1;for(var y=0,x=this.rowDefs,b=x.length,E=this.topIndex;Ea||this.type!==hi.Table||this.columnCount===0)return-1;for(var y=0,x=this.colDefs,b=x.length,E=this.leftIndex;Ea;)this.pc(this.O.length-1,!1);vS(this,this.itemArray)};function vS(a,y){var x=Bp(a);if(y===null||y.length===0)for(;a.O.length>x;)a.pc(a.O.length-1,!1);else if(a.O.length<=x){x=y.length;for(var b=0;bx)){var E=kv(a,y);if(E=Dv(a,E),E!==null){if(Vc(E),E=E.copy(),E.l&16777216){var z=a.ih();z!==null&&Tv(z,!0)}typeof y=="object"&&(a.ge===null&&(a.ge=new Ii),a.ge.add(y,E)),z=x+Bp(a),a.Gb(z,E),b&&(E.ub=y,Iv(a,z,x),E.ub=null),E.data=y}}}function Iv(a,y,x){for(a=a.O;ya&&Ln(a,">= 0",hi,"padding"),a=new $i(a)):(0>a.left&&Ln(a.left,">= 0",hi,"padding:value.left"),0>a.right&&Ln(a.right,">= 0",hi,"padding:value.right"),0>a.top&&Ln(a.top,">= 0",hi,"padding:value.top"),0>a.bottom&&Ln(a.bottom,">= 0",hi,"padding:value.bottom"));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.v(),this.g("padding",y,a))}},defaultAlignment:{get:function(){return this.Tm},set:function(a){var y=this.Tm;y.D(a)||(this.Tm=a=a.J(),this.v(),this.g("defaultAlignment",y,a))}},defaultStretch:{get:function(){return this.Uf},set:function(a){var y=this.Uf;y!==a&&(this.Uf=a,this.v(),this.g("defaultStretch",y,a))}},defaultSeparatorPadding:{get:function(){return this.T!==null?this.T.Qp:ul},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.defaultSeparatorPadding;y.D(a)||(a=a.J(),this.T===null&&(this.T=new Rc),this.T.Qp=a,this.v(),this.g("defaultSeparatorPadding",y,a))}},defaultRowSeparatorStroke:{get:function(){return this.T!==null?this.T.ia:null},set:function(a){var y=this.defaultRowSeparatorStroke;y!==a&&(a===null||typeof a=="string"||a instanceof ko)&&(a instanceof ko&&a.freeze(),this.T===null&&(this.T=new Rc),this.T.ia=a,this.N(),this.g("defaultRowSeparatorStroke",y,a))}},defaultRowSeparatorStrokeWidth:{get:function(){return this.T!==null?this.T.Ha:1},set:function(a){var y=this.defaultRowSeparatorStrokeWidth;y!==a&&isFinite(a)&&0<=a&&(this.T===null&&(this.T=new Rc),this.T.Ha=a,this.v(),this.g("defaultRowSeparatorStrokeWidth",y,a))}},defaultRowSeparatorDashArray:{get:function(){return this.T!==null?this.T.V:null},set:function(a){var y=this.defaultRowSeparatorDashArray;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea)&&bt("Panel.topIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Rc),this.T.Hb=a,this.v(),this.g("topIndex",y,a))}},leftIndex:{get:function(){return this.T!==null?this.T.hb:0},set:function(a){var y=this.leftIndex;y!==a&&((!isFinite(a)||0>a)&&bt("Panel.leftIndex must be greater than zero and a real number, not: "+a),this.T===null&&(this.T=new Rc),this.T.hb=a,this.v(),this.g("leftIndex",y,a))}},data:{get:function(){return this.ub},set:function(a){var y=this.ub;if(y!==a){var x=this instanceof nr&&!(this instanceof zo);Vc(this),this.ub=a;var b=this.diagram;b!==null&&(x?(x=b.partManager,this instanceof yi?(y!==null&&x.bf.remove(y),a!==null&&x.bf.add(a,this)):this instanceof nr&&(y!==null&&x.cf.remove(y),a!==null&&x.cf.add(a,this))):(x=this.panel,x!==null&&x.ge!==null&&(y!==null&&x.ge.remove(y),a!==null&&x.ge.add(a,this)))),this.g("data",y,a),b!==null&&b.undoManager.isUndoingRedoing||a!==null&&this.La()}}},itemIndex:{get:function(){return this.zn},set:function(a){var y=this.zn;y!==a&&(this.zn=a,this.g("itemIndex",y,a))}},allBindings:{get:function(){return this.A!==null?this.A.nb:null},set:function(a){this.localBindings!==a&&(this.A===null&&(this.A=new Tc),this.A.nb=a)}},itemArray:{get:function(){return this.Hh},set:function(a){var y=this.Hh;if(y!==a||a!==null&&N1(this,a)){var x=this.diagram;y!==a&&(x!==null&&y!==null&&Sy(x.partManager,this,x),this.Hh=a,x!==null&&a!==null&&yy(x.partManager,this)),this.g("itemArray",y,a),x!==null&&x.undoManager.isUndoingRedoing||vS(this,a)}}},itemTemplate:{get:function(){return this.itemTemplateMap===null?null:this.itemTemplateMap.I("")},set:function(a){if(this.itemTemplateMap===null){if(a===null)return;this.itemTemplateMap=new Ii}var y=this.itemTemplateMap.I("");y!==a&&((a instanceof nr||a.isPanelMain)&&bt("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+a),this.itemTemplateMap.add("",a),this.g("itemTemplate",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv())}},itemTemplateMap:{get:function(){return this.A!==null?this.A.Pc:null},set:function(a){var y=this.itemTemplateMap;if(y!==a){for(var x=a.iterator;x.next(););Cr(this),this.A.Pc=a,this.g("itemTemplateMap",y,a),a=this.diagram,a!==null&&a.undoManager.isUndoingRedoing||this.mv()}}},itemCategoryProperty:{get:function(){return this.A!==null?this.A.Oc:"category"},set:function(a){var y=this.itemCategoryProperty;y!==a&&(Cr(this),this.A.Oc=a,this.g("itemCategoryProperty",y,a))}},isAtomic:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("isAtomic",y,a))}},isClipping:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this instanceof _r&&(this.tb=null),this.v(),this.g("isClipping",y,a))}},isOpposite:{get:function(){return(this.l&33554432)!==0},set:function(a){var y=(this.l&33554432)!==0;y!==a&&(this.l^=33554432,this.v(),this.g("isOpposite",y,a))}},isEnabled:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;if(y!==a){var x=this.panel===null||this.panel.If();this.l^=4194304,this.g("isEnabled",y,a),y=this.diagram,y!==null&&y.undoManager.isUndoingRedoing||x&&Wm(this,this,a)}}},alignmentFocusName:{get:function(){return this.$e},set:function(a){var y=this.$e;y!==a&&(this.$e=a,this.v(),this.g("alignmentFocusName",y,a))}}}),Nt.Object.defineProperties(hi,{Position:{get:function(){return ld.I("Position")}},Horizontal:{get:function(){return ld.I("Horizontal")}},Vertical:{get:function(){return ld.I("Vertical")}},Spot:{get:function(){return ld.I("Spot")}},Auto:{get:function(){return ld.I("Auto")}},Table:{get:function(){return ld.I("Table")}},Viewbox:{get:function(){return ld.I("Viewbox")}},TableRow:{get:function(){return ld.I("TableRow")}},TableColumn:{get:function(){return ld.I("TableColumn")}},Link:{get:function(){return ld.I("Link")}},Grid:{get:function(){return ld.I("Grid")}},Graduated:{get:function(){return ld.I("Graduated")}}}),hi.prototype.rebuildItemElements=hi.prototype.mv,hi.prototype.findItemPanelForData=hi.prototype.sx,hi.prototype.updateTargetBindings=hi.prototype.La,hi.prototype.copyTemplate=hi.prototype.Uy,hi.prototype.graduatedValueForPoint=hi.prototype.Gz,hi.prototype.graduatedPointForValue=hi.prototype.Fz,hi.prototype.findColumnForLocalX=hi.prototype.fz,hi.prototype.findRowForLocalY=hi.prototype.nz,hi.prototype.addColumnDefinition=hi.prototype.By,hi.prototype.addRowDefinition=hi.prototype.Hy,hi.prototype.addRowColumnDefinition=hi.prototype.Gy,hi.prototype.removeColumnDefinition=hi.prototype.jA,hi.prototype.getColumnDefinition=hi.prototype.Eb,hi.prototype.removeRowDefinition=hi.prototype.oA,hi.prototype.getRowDefinition=hi.prototype.Fb,hi.prototype.removeAt=hi.prototype.mb,hi.prototype.remove=hi.prototype.remove,hi.prototype.insertAt=hi.prototype.Gb,hi.prototype.elt=hi.prototype.M,hi.prototype.add=hi.prototype.add,hi.prototype.findObject=hi.prototype.fb,hi.prototype.findInVisualTree=hi.prototype.Nl,hi.prototype.walkVisualTreeFrom=hi.prototype.qm,hi.prototype.findMainElement=hi.prototype.Pb;var yS=!1,SS=null,ld=new Ii;hi.className="Panel",hi.definePanelLayout=Od,Od("Position",new Im),Od("Vertical",new Dm),Od("Auto",new Rm),Od("Link",new _m);function xh(){this.lq=0,this.F=100,this.ia=10,this.V=0,this.Zh=this.o=this.j=this.u=null}xh.prototype.copy=function(){var a=new xh;return a.lq=this.lq,a.F=this.F,a.ia=this.ia,a.V=this.V,a.u=this.u,a.j=this.j,a.o=this.o,a.Zh=this.Zh,a},xh.className="GradPanelSettings";function Rc(){this.Pc=[],this.Oc=[],this.j=this.ob=Km,this.hb=this.Hb=0,this.Qp=ul,this.Ha=1,this.V=this.ia=null,this.F=1,this.nb=this.o=this.u=null}Rc.prototype.copy=function(a){for(var y=new Rc,x=this.Pc,b=x.length,E=y.Pc,z=0;za&&Ln(a,">= 0",Qs,"height"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("height",y,a))}},width:{get:function(){return this.Hc},set:function(a){var y=this.Hc;y!==a&&(0>a&&Ln(a,">= 0",Qs,"width"),this.Hc=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("width",y,a))}},minimum:{get:function(){return this.jj},set:function(a){var y=this.jj;y!==a&&((0>a||!isFinite(a))&&Ln(a,">= 0",Qs,"minimum"),this.jj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("minimum",y,a))}},maximum:{get:function(){return this.hj},set:function(a){var y=this.hj;y!==a&&(0>a&&Ln(a,">= 0",Qs,"maximum"),this.hj=a,this.actual=this.oa,this.panel!==null&&this.panel.v(),this.Ob("maximum",y,a))}},alignment:{get:function(){return this.Jb},set:function(a){var y=this.Jb;y.D(a)||(this.Jb=a.J(),this.panel!==null&&this.panel.v(),this.Ob("alignment",y,a))}},stretch:{get:function(){return this.hg},set:function(a){var y=this.hg;y!==a&&(this.hg=a,this.panel!==null&&this.panel.v(),this.Ob("stretch",y,a))}},separatorPadding:{get:function(){return this.dg},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.dg;a!==null&&y!==null&&y.D(a)||(a!==null&&(a=a.J()),this.dg=a,this.panel!==null&&this.panel.v(),this.Ob("separatorPadding",y,a))}},separatorStroke:{get:function(){return this.lo},set:function(a){var y=this.lo;y!==a&&(a!==null&&Sf(a,"RowColumnDefinition.separatorStroke"),a instanceof ko&&a.freeze(),this.lo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStroke",y,a))}},separatorStrokeWidth:{get:function(){return this.mo},set:function(a){var y=this.mo;y!==a&&(this.mo=a,this.panel!==null&&this.panel.v(),this.Ob("separatorStrokeWidth",y,a))}},separatorDashArray:{get:function(){return this.tj},set:function(a){var y=this.tj;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;EE)){var z=b.measuredBounds,te=Math.max(1,z.width);z=z.height;for(var re=x[0],le=x[1],ce,de,ve,Pe,Le,Fe,Ze=0,pt=gn(),at=2;atve&&(ve=1),E=x=ve,ce=te/2,de=ce!==0,at=0,Fe=pt[at],ve=Fe[0],Le=Fe[1],Pe=Fe[2],Fe=Fe[3];for(var Ct=0;.1<=Ze;){if(Ct===0&&(de?(E=x,E-=ce,Ze-=ce,de=!1):E=x,E===0&&(E=1)),E>Ze){kn(pt);return}E>Fe?(Ct=E-Fe,E=Fe):Ct=0;var Lt=Math.sqrt(E*E/(1+Pe*Pe));if(0>ve&&(Lt=-Lt),re+=Lt,le+=Pe*Lt,a.translate(re,le),a.rotate(Le),a.translate(-(te/2),-(z/2)),Ct===0&&b.hh(a,y),a.translate(te/2,z/2),a.rotate(-Le),a.translate(-re,-le),Ze-=E,Fe-=E,Ct!==0){if(at++,at===pt.length){kn(pt);return}Fe=pt[at],ve=Fe[0],Le=Fe[1],Pe=Fe[2],Fe=Fe[3],E=Ct}}kn(pt)}}Ue.hh=function(a,y){var x=this.xc,b=this.Ui;if(x!==null||b!==null){var E=this.ua;if(E!==null){a.yc();var z=this.actualBounds,te=this.naturalBounds;b!==null&&Ca(this,a,b,!0,!1,te,z);var re=this.part,le=this.ig;if(x===null||le!==0||re===null||!this.isPanelMain&&re.Pb()!==this||(le=re.type===hi.Link&&re instanceof zo&&re.category==="Selection"&&re.adornedObject instanceof eo&&re.adornedPart.Pb()===re.adornedObject?re.adornedObject.strokeWidth:0),le===0&&(x=null),x!==null&&le!==0&&(Ca(this,a,x,!1,!1,te,z),a.lineWidth=le,a.lineJoin=this.strokeJoin,a.lineCap=this.strokeCap,a.miterLimit=this.strokeMiterLimit),z=!1,re&&y.Gf("drawShadows")&&(z=re.isShadowed),a.Il===!1&&(z=!1),re=!0,x===null||b!==null&&b!=="transparent"||(re=!1),te=!1,le=this.strokeDashArray,le!==null&&(te=!0,a.js(le,this.strokeDashOffset)),E.type===di.j)a.beginPath(),a.moveTo(E.startX,E.startY),a.lineTo(E.endX,E.endY),x!==null&&a.jk(),a.Se();else if(E.type===di.u){var ce=E.startX;le=E.startY;var de=E.endX,ve=E.endY;E=Math.min(ce,de);var Pe=Math.min(le,ve);ce=Math.abs(de-ce),le=Math.abs(ve-le),a.beginPath(),a.rect(E,Pe,ce,le),b!==null&&a.ng(b),x!==null&&(re&&z&&wr(a),a.jk(),re&&z&&fa(a)),a.Se()}else if(E.type===di.F)ce=E.startX,le=E.startY,de=E.endX,ve=E.endY,E=Math.abs(de-ce)/2,Pe=Math.abs(ve-le)/2,ce=Math.min(ce,de)+E,le=Math.min(le,ve)+Pe,a.beginPath(),a.moveTo(ce,le-Pe),a.bezierCurveTo(ce+Wt.wg*E,le-Pe,ce+E,le-Wt.wg*Pe,ce+E,le),a.bezierCurveTo(ce+E,le+Wt.wg*Pe,ce+Wt.wg*E,le+Pe,ce,le+Pe),a.bezierCurveTo(ce-Wt.wg*E,le+Pe,ce-E,le+Wt.wg*Pe,ce-E,le),a.bezierCurveTo(ce-E,le-Wt.wg*Pe,ce-Wt.wg*E,le-Pe,ce,le-Pe),a.closePath(),b!==null&&a.ng(b),x!==null&&(re&&z&&wr(a),a.jk(),re&&z&&fa(a)),a.Se();else if(E.type===di.o)for(E=E.figures,le=E.length,Pe=0;PeZe.sweepAngle,Le!==null?Le.endX:ce.startX,Le!==null?Le.endY:ce.startY)}else if(Le=Fa(Ze,ce),pt=Le.length,pt===0)a.lineTo(Ze.centerX,Ze.centerY);else for(var at=0;at(x.startX-x.endX)*(a.x-x.endX)+(x.startY-x.endY)*(a.y-x.endY)||0>b)?!1:(jn.free(z),Wt.Yb(x.startX,x.startY,x.endX,x.endY,E,a.x,a.y));if(x.type===di.u){y=x.startX;var te=x.startY,re=x.endX;if(x=x.endY,z.x=Math.min(y,re),z.y=Math.min(te,x),z.width=Math.abs(re-y),z.height=Math.abs(x-te),this.fill===null){if(z.Bc(-b,-b),z.ca(a))return jn.free(z),!1;z.Bc(b,b)}return this.stroke!==null&&z.Bc(E,E),a=z.ca(a),jn.free(z),a}if(x.type===di.F){te=x.startX,E=x.startY,re=x.endX;var le=x.endY;if(x=Math.min(te,re),y=Math.min(E,le),te=Math.abs(re-te)/2,E=Math.abs(le-E)/2,x=a.x-(x+te),y=a.y-(y+E),this.fill===null){if(te-=b,E-=b,0>=te||0>=E||1>=x*x/(te*te)+y*y/(E*E))return jn.free(z),!1;te+=b,E+=b}return this.stroke!==null&&(te+=b,E+=b),jn.free(z),0>=te||0>=E?!1:1>=x*x/(te*te)+y*y/(E*E)}if(x.type===di.o)return jn.free(z),this.fill===null?nu(x,a.x,a.y,E):cl(x,a,E,1=this.strokeWidth)de=Wt.Ve(ce.startX,ce.startY,ce.endX,ce.endY,z,te,re,le,E);else{if(ce.startX===ce.endX?(b=ve,de=0):(y=(ce.endY-ce.startY)/(ce.endX-ce.startX),de=ve/Math.sqrt(1+y*y),b=de*y),y=gn(),a=new lt,Wt.Ve(ce.startX+b,ce.startY+de,ce.endX+b,ce.endY+de,z,te,re,le,a)&&y.push(a),a=new lt,Wt.Ve(ce.startX-b,ce.startY-de,ce.endX-b,ce.endY-de,z,te,re,le,a)&&y.push(a),a=new lt,Wt.Ve(ce.startX+b,ce.startY+de,ce.startX-b,ce.startY-de,z,te,re,le,a)&&y.push(a),a=new lt,Wt.Ve(ce.endX+b,ce.endY+de,ce.endX-b,ce.endY-de,z,te,re,le,a)&&y.push(a),re=y.length,re===0)return kn(y),!1;for(de=!0,le=1/0,b=0;bMath.abs(x)){if(le=te-de-x*(z-b),0>a*a*x*x+ce*ce-le*le){E.x=NaN,E.y=NaN,de=!1;break e}ve=Math.sqrt(a*a*x*x+ce*ce-le*le),re=(-(a*a*x*le)+a*ce*ve)/(ce*ce+a*a*x*x)+b,a=(-(a*a*x*le)-a*ce*ve)/(ce*ce+a*a*x*x)+b,ce=x*(re-b)+le+de,le=x*(a-b)+le+de,Math.abs((z-re)*(z-re))+Math.abs((te-ce)*(te-ce))re){E.x=NaN,E.y=NaN,de=!1;break e}le=Math.sqrt(re),re=de+le,le=de-le,Math.abs(re-te)Math.abs(Fe)?(Ze*=.5/Fe,Fe=.5):Ze!==0&&.5>Math.abs(Ze)&&(Fe*=.5/Ze,Ze=.5),at-=Fe,Ct-=Ze;Le.contains(at,Ct);)at-=Fe,Ct-=Ze;for(E.x=re,E.y=le,Ze=0;Zex?a-x:x-a)<(y>b?y-b:b-y)?(a=ya||Wt.$(le.y,a))&&(le.yy||Wt.$(le.x,y))&&(le.x=a&&b<=y):(a=b&&x<=a)}Ue.tx=function(a,y,x){function b(pt,at){for(var Ct=pt.length,Lt=0;LtE)return!0;return!1}if(x&&this.fill!==null&&this.gh(a,!0))return!0;var E=a.Bf(y),z=E;if(1.5=E||gr(y,z,0,-ve)>=E||gr(y,z,0,ve)>=E||gr(y,z,de,0)>=E)}else if(y.type===di.o){if(ce=y.bounds,z=ce.x,re=ce.y,le=ce.x+ce.width,ce=ce.y+ce.height,a.x>le&&a.xce&&a.yE&&ra(a.x,a.y,z,re,le,re)>E&&ra(a.x,a.y,le,ce,z,ce)>E&&ra(a.x,a.y,le,ce,le,re)>E)return!1;if(z=Math.sqrt(E),x){if(this.fill===null?nu(y,a.x,a.y,z):cl(y,a,z,!0,!1))return!0}else{for(x=y.figures,y=0;yE)return!1;for(re=z.segments.s,le=re.length,ce=0;ceE)return!1;break;case ol:var Pe=gn();if(Wt.Qe(te,de,ve.point1X,ve.point1Y,ve.point2X,ve.point2Y,ve.endX,ve.endY,.8,Pe),te=b(Pe,a),kn(Pe),te||(te=ve.endX,de=ve.endY,a.zd(te,de)>E))return!1;break;case Zi:if(Pe=gn(),Wt.ep(te,de,ve.point1X,ve.point1Y,ve.endX,ve.endY,.8,Pe),te=b(Pe,a),kn(Pe),te||(te=ve.endX,de=ve.endY,a.zd(te,de)>E))return!1;break;case oo:case iu:Pe=ve.type===oo?Fa(ve,z):Fr(ve,z,te,de);var Le=Pe.length;if(Le===0){if(te=ve.type===oo?ve.centerX:ve.endX,de=ve.type===oo?ve.centerY:ve.endY,a.zd(te,de)>E)return!1;break}ve=null;for(var Fe=gn(),Ze=0;Ze= 0",eo,"strokeWidth:value")}},strokeCap:{get:function(){return this.Na!==null?this.Na.Hr:"butt"},set:function(a){var y=this.strokeCap;y!==a&&(typeof a!="string"||a!=="butt"&&a!=="round"&&a!=="square"?Ln(a,'"butt", "round", or "square"',eo,"strokeCap"):($g(this),this.Na.Hr=a,this.N(),this.g("strokeCap",y,a)))}},strokeJoin:{get:function(){return this.Na!==null?this.Na.Ir:"miter"},set:function(a){var y=this.strokeJoin;y!==a&&(typeof a!="string"||a!=="miter"&&a!=="bevel"&&a!=="round"?Ln(a,'"miter", "bevel", or "round"',eo,"strokeJoin"):($g(this),this.Na.Ir=a,this.N(),this.g("strokeJoin",y,a)))}},strokeMiterLimit:{get:function(){return this.Na!==null?this.Na.Jr:10},set:function(a){var y=this.strokeMiterLimit;if(y!==a&&1<=a){$g(this),this.Na.Jr=a,this.N();var x=this.part;x!==null&&(x.ag=NaN),this.g("strokeMiterLimit",y,a)}}},strokeDashArray:{get:function(){return this.Yg},set:function(a){var y=this.Yg;if(y!==a){if(a!==null){for(var x=a.length,b=0,E=0;Ea?a=0:1a?a=0:1(ve*ve+de*de)*Pe*Pe&&(x=!0),y.ib!==a&&(x=!1),y.ib instanceof Uu&&(x=!1),y.Gf("textGreeking")===!1&&(x=!1),y=this.spacingAbove,ve=this.spacingBelow,this.flip){case $r:a.translate(E,0),a.scale(-1,1);break;case Er:a.translate(0,z),a.scale(1,-1);break;case Hn:a.translate(E,z),a.scale(-1,-1)}if(a.yc(),de=this.Gc,Pe=(y+te+ve)*de,z>Pe&&(b=this.verticalAlignment,b=b.y*z-b.y*Pe+b.offsetY),de===1&&this.ze!==null)ve=this.Cb,ve>E&&(ve=E),this.Oj(this.ze,a,0,b+y,E,te,ve,x,re,le,ce);else if(this.Qc!==null&&this.Qb!==null)for(Pe=0;PeE&&(Le=E),b+=y,this.Oj(this.Qb[Pe],a,0,b,E,te,Le,x,re,le,ce),b+=te+ve}switch(this.flip){case $r:a.scale(-1,1),a.translate(-E,0);break;case Er:a.scale(1,-1),a.translate(0,-z);break;case Hn:a.scale(-1,-1),a.translate(-E,-z)}}},Ue.Oj=function(a,y,x,b,E,z,te,re,le,ce,de){var ve=0;if(re)le==="left"?ve=0:le==="right"?ve=E-te:le==="center"&&(ve=(E-te)/2),y.fillRect(x+ve,b+.25*z,te,1);else{if(le==="left"?ve=0:le==="right"?ve=E:le==="center"&&(ve=E/2),E=Xm!==null?Xm(this,z):.75*z,y.fillText(a,x+ve,b+E),a=z/20|0,a===0&&(a=1),le==="right"?ve-=te:le==="center"&&(ve-=te/2),ce){re=Qm!==null?Qm(this,z):.8*z,le=x+ve,ce=b+re,E=x+ve+te,re=b+re;var Pe=a;y.beginPath(),y.lineWidth=Pe,y.moveTo(le,ce),y.lineTo(E,re),y.stroke(),y.Se(),y instanceof Uu&&y.ad.classList.add("gojs-td")}de&&(de=b+z-z/2.2|0,a%2!==0&&(de+=.5),b=x+ve,z=de,x=x+ve+te,te=de,ve=a,y.beginPath(),y.lineWidth=ve,y.moveTo(b,z),y.lineTo(x,te),y.stroke(),y.Se(),y instanceof Uu&&y.ad.classList.add("gojs-td"))}},Ue.kk=function(a,y,x){if(!Rt.prototype.kk.call(this,a,y,x))return!1;if(Ca(this,a,this.xc,!0,!1,this.naturalBounds,this.actualBounds),x){if(this.svg.getElementsByTagName("text").length===0)return!0;for(y=this.svg.getElementsByClassName("gojs-td"),x=0;x=this.Qb.length))){for(this.l|=16777216,ce=this.Qb[le],y=Math.max(1,a-y);ud(ce)>y&&1a.maxLines&&(a.l|=16777216))}function jv(a,y,x,b){var E=a.formatting===_p;E&&(y=y.trim());var z=0,te=a.Ae,re=a.spacingAbove+a.spacingBelow;re=Math.max(0,Up(a)+re);var le=a.overflow===Jm?ES(te):0;if(a.Gc>=a.maxLines)b!==null&&b.h(0,re);else if(te=y,a.wrap===zv){a.Le=1;var ce=ud(y);if(le===0||ce<=x)a.Cb=Math.max(a.Cb,ce),zp(a,y,a.Cb),b!==null&&b.h(ce,re);else{for(z=Jf(a,te),te=te.substr(z.length),y=Jf(a,te),ce=ud(z+y);0x&&1x;){var ve=1;for(ce=ud(y.substr(0,ve)),de=0;ce<=x;)ve++,de=ce,ce=ud(y.substr(0,ve));if(ve===1){var Pe=ce;z=Math.max(z,ce)}else Pe=de,z=Math.max(z,de);if(ve--,1>ve&&(ve=1),zp(a,y.substr(0,ve),Pe),le++,y=y.substr(ve),a.Gc+le>a.maxLines)break}for(de=Jf(a,te),ce=ud(y+de);0a.maxLines))break}a.Le=Math.min(a.maxLines,le),a.Cb=Math.max(a.Cb,z),b!==null&&b.h(a.Cb,re*a.Le)}}function Jf(a,y){if(a.wrap===AS)return y.substr(0,1);for(var x=y.length,b=0,E=M1;b=y.length?y:y.substr(0,b)}function ud(a){return _u===null?8*a.length:_u.measureText(a).width}function Up(a){if(a.df!==null)return a.df;var y=a.Ae;if(_u===null){var x=16;return a.df=x}return Gv[y]!==void 0&&5e3>MS?x=Gv[y]:(x=1.3*_u.measureText("M").width,Gv[y]=x,MS++),a.df=x}function ES(a){if(_u===null)return 6;if(qm[a]!==void 0&&5e3>Hv)var y=qm[a];else y=_u.measureText(Gp).width,qm[a]=y,Hv++;return y}function CS(a,y){var x=a.ec.replace(/\r\n/g,` +`,0),0<=te&&(z=z.substr(0,te)),z=ud(z);z=Math.min(z,a/this.scale)}else z=this.desiredSize.width;if(this.panel!==null&&(z=Math.min(z,this.panel.maxSize.width)),te=CS(this,z),isNaN(this.desiredSize.height)?te=Math.min(te,y/this.scale):te=this.desiredSize.height,le=te,this.Cb!==0&&this.Qc!==null&&this.Qb!==null&&this.overflow===Jm&&(y=this.Ae,y=this.overflow===Jm?ES(y):0,ce=this.spacingAbove+this.spacingBelow,ce=Math.max(0,Up(this)+ce),le=Math.min(this.maxLines-1,Math.max(Math.floor(le/ce+.01)-1,0)),!(le+1>=this.Qb.length))){for(this.l|=16777216,ce=this.Qb[le],y=Math.max(1,a-y);ud(ce)>y&&1a.maxLines&&(a.l|=16777216))}function jv(a,y,x,b){var E=a.formatting===_p;E&&(y=y.trim());var z=0,te=a.Ae,re=a.spacingAbove+a.spacingBelow;re=Math.max(0,Up(a)+re);var le=a.overflow===Jm?ES(te):0;if(a.Gc>=a.maxLines)b!==null&&b.h(0,re);else if(te=y,a.wrap===zv){a.Le=1;var ce=ud(y);if(le===0||ce<=x)a.Cb=Math.max(a.Cb,ce),zp(a,y,a.Cb),b!==null&&b.h(ce,re);else{for(z=Jf(a,te),te=te.substr(z.length),y=Jf(a,te),ce=ud(z+y);0x&&1x;){var ve=1;for(ce=ud(y.substr(0,ve)),de=0;ce<=x;)ve++,de=ce,ce=ud(y.substr(0,ve));if(ve===1){var Pe=ce;z=Math.max(z,ce)}else Pe=de,z=Math.max(z,de);if(ve--,1>ve&&(ve=1),zp(a,y.substr(0,ve),Pe),le++,y=y.substr(ve),a.Gc+le>a.maxLines)break}for(de=Jf(a,te),ce=ud(y+de);0a.maxLines))break}a.Le=Math.min(a.maxLines,le),a.Cb=Math.max(a.Cb,z),b!==null&&b.h(a.Cb,re*a.Le)}}function Jf(a,y){if(a.wrap===AS)return y.substr(0,1);for(var x=y.length,b=0,E=M1;b=y.length?y:y.substr(0,b)}function ud(a){return _u===null?8*a.length:_u.measureText(a).width}function Up(a){if(a.df!==null)return a.df;var y=a.Ae;if(_u===null){var x=16;return a.df=x}return Gv[y]!==void 0&&5e3>MS?x=Gv[y]:(x=1.3*_u.measureText("M").width,Gv[y]=x,MS++),a.df=x}function ES(a){if(_u===null)return 6;if(qm[a]!==void 0&&5e3>Hv)var y=qm[a];else y=_u.measureText(Gp).width,qm[a]=y,Hv++;return y}function CS(a,y){var x=a.ec.replace(/\r\n/g,` `).replace(/\r/g,` `),b=a.spacingAbove+a.spacingBelow;if(b=Math.max(0,Up(a)+b),x.length===0)return a.Cb=0,a.Gc=1,b;if(!a.isMultiline){var E=x.indexOf(` `,0);0<=E&&(x=x.substr(0,E))}E=0;for(var z=a.Gc=0,te,re=!1;!re;){if(te=x.indexOf(` -`,z),te===-1&&(te=x.length,re=!0),z<=te){if(z=x.substr(z,te-z),a.wrap!==zv){a.Le=0;var le=fi.alloc();jv(a,z,y,le),E+=le.height,fi.free(le),a.Gc+=a.Le}else jv(a,z,y,null),E+=b,a.Gc++;a.Gc===a.maxLines&&(re=!0)}z=te+1}return a.Lq=E}Nt.Object.defineProperties(Pa.prototype,{font:{get:function(){return this.Ae},set:function(a){var y=this.Ae;y!==a&&(this.Ae=a,this.df=null,this.v(),this.g("font",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;a!=null?a=a.toString():a="",y!==a&&(this.ec=a,this.v(),this.g("text",y,a),this.Uc=!0)}},textAlign:{get:function(){return this.da!==null?this.da.Or:"start"},set:function(a){var y=this.textAlign;y===a||a!=="start"&&a!=="end"&&a!=="left"&&a!=="right"&&a!=="center"||(Rd(this),this.da.Or=a,this.N(),this.g("textAlign",y,a))}},flip:{get:function(){return this.da!==null?this.da.Xf:_n},set:function(a){var y=this.flip;y!==a&&(Rd(this),this.da.Xf=a,this.N(),this.g("flip",y,a))}},verticalAlignment:{get:function(){return this.da!==null?this.da.Yr:rr},set:function(a){var y=this.verticalAlignment;y.D(a)||(a=a.J(),Rd(this),this.da.Yr=a,el(this),this.g("verticalAlignment",y,a))}},naturalBounds:{get:function(){if(!this.dc.w()){var a=fi.alloc();jv(this,this.ec,999999,a);var y=a.width;fi.free(a),a=CS(this,y);var x=this.desiredSize;isNaN(x.width)||(y=x.width),isNaN(x.height)||(a=x.height),gs(this.dc,y,a)}return this.dc}},isMultiline:{get:function(){return(this.l&2097152)!==0},set:function(a){var y=(this.l&2097152)!==0;y!==a&&(this.l^=2097152,this.v(),this.g("isMultiline",y,a))}},isUnderline:{get:function(){return(this.l&4194304)!==0},set:function(a){var y=(this.l&4194304)!==0;y!==a&&(this.l^=4194304,this.Uc=!0,this.N(),this.g("isUnderline",y,a))}},isStrikethrough:{get:function(){return(this.l&8388608)!==0},set:function(a){var y=(this.l&8388608)!==0;y!==a&&(this.l^=8388608,this.Uc=!0,this.N(),this.g("isStrikethrough",y,a))}},wrap:{get:function(){return this.da!==null?this.da.$r:Uv},set:function(a){var y=this.wrap;y!==a&&(Rd(this),this.da.$r=a,this.v(),this.g("wrap",y,a))}},overflow:{get:function(){return this.da!==null?this.da.$q:_v},set:function(a){var y=this.overflow;y!==a&&(Rd(this),this.da.$q=a,this.v(),this.g("overflow",y,a))}},isOverflowed:{get:function(){return(this.l&16777216)!==0}},stroke:{get:function(){return this.xc},set:function(a){var y=this.xc;y!==a&&(a!==null&&Sf(a,"TextBlock.stroke"),a instanceof ko&&a.freeze(),this.xc=a,this.N(),this.g("stroke",y,a))}},lineCount:{get:function(){return this.Gc}},lineHeight:{get:function(){return Up(this)}},editable:{get:function(){return(this.l&1048576)!==0},set:function(a){var y=(this.l&1048576)!==0;y!==a&&(this.l^=1048576,this.g("editable",y,a))}},textEditor:{get:function(){return this.da!==null?this.da.Qr:null},set:function(a){var y=this.textEditor;y!==a&&(Rd(this),this.da.Qr=a,this.g("textEditor",y,a))}},errorFunction:{get:function(){return this.da!==null?this.da.Hd:null},set:function(a){var y=this.errorFunction;y!==a&&(Rd(this),this.da.Hd=a,this.g("errorFunction",y,a))}},interval:{get:function(){return this.fa!==null?this.fa.Tk:1},set:function(a){var y=this.interval;if(a=Math.round(a),y!==a&&a!==0&&isFinite(a)){this.fa===null&&(this.fa=new Xd),this.fa.Tk=a,this.v();var x=this.panel;x!==null&&(x.graduatedIntervals=null),this.g("interval",y,a)}}},graduatedStart:{get:function(){return this.fa!==null?this.fa.u:0},set:function(a){var y=this.graduatedStart;y!==a&&(0>a?a=0:1a?a=0:1=a&&Ln(a,"> 0",Pa,"maxLines"),Rd(this),this.da.Jq=a,this.v(),this.g("maxLines",y,a))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(a){var y=this.Gm;y!==a&&(this.Gm=a,this.g("choices",y,a))}}});var Xm=null,Qm=null,zv=new tn(Pa,"None",0),PS=new tn(Pa,"WrapFit",1),Uv=new tn(Pa,"WrapDesiredSize",2),AS=new tn(Pa,"WrapBreakAll",3),_v=new tn(Pa,"OverflowClip",0),Jm=new tn(Pa,"OverflowEllipsis",1),_p=new tn(Pa,"FormatTrim",0),NS=new tn(Pa,"FormatNone",0),M1=/[ \u200b\u00ad]/,Gv=new Ti,MS=0,qm=new Ti,Hv=0,Gp="...",LS="",_u=null,e0=!1;Pa.className="TextBlock";function Wv(){this.nc=!1,this.Hd=null,this.Xf=_n,this.gq=_p,this.Jq=1/0,this.$q=_v,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=rr,this.$r=Uv}Wv.prototype.copy=function(){var a=new Wv;return a.Hd=this.Hd,a.Xf=this.Xf,a.gq=this.gq,a.Jq=this.Jq,a.$q=this.$q,a.Dr=this.Dr,a.Er=this.Er,a.Or=this.Or,a.Pr=this.Pr,a.Qr=this.Qr,a.vj=this.vj,a.Yr=this.Yr,a.$r=this.$r,a},Pa.getEllipsis=function(){return Gp},Pa.setEllipsis=function(a){Gp=a,qm=new Ti,Hv=0},Pa.getBaseline=function(){return Xm},Pa.setBaseline=function(a){Xm=a},Pa.getUnderline=function(){return Qm},Pa.setUnderline=function(a){Qm=a},Pa.isValidFont=function(a){if(e0||(_u=ss?new Oa(null).context:null,e0=!0),_u===null)return!0;var y=_u.font;if(a===y||a==="10px sans-serif")return!0;_u.font="10px sans-serif",_u.font=a;var x=_u.font;if(x!=="10px sans-serif")return _u.font=y,!0;_u.font="19px serif";var b=_u.font;return _u.font=a,x=_u.font,_u.font=y,x!==b},Pa.FormatNone=NS,Pa.FormatTrim=_p,Pa.None=zv,Pa.OverflowClip=_v,Pa.OverflowEllipsis=Jm,Pa.WrapBreakAll=AS,Pa.WrapDesiredSize=Uv,Pa.WrapFit=PS;function Xd(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}Xd.prototype.copy=function(){var a=new Xd;return a.Tk=this.Tk,a.u=this.u,a.j=this.j,a.F=this.F,a.o=this.o,a},Xd.className="GradElementSettings";function Gu(a,y){Rt.call(this),this.Eg=null,this.qo="",this.Xg=Po,this.Nk=Qn,this.Zg=this.Hd=null,this.Mk=wo,this.Xf=_n,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof a=="string"?this.source=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}var qf;qt(Gu,Rt),Gu.prototype.cloneProtected=function(a){Rt.prototype.cloneProtected.call(this,a),a.qo=this.qo,a.element=this.Eg,a.Xg=this.Xg.J(),a.Nk=this.Nk,a.Xf=this.Xf,a.Hd=this.Hd,a.Zg=this.Zg,a.Mk=this.Mk.J(),a.en=this.en,a.rl=this.rl},Gu.prototype.qb=function(a){a===_n||a===pi||a===Nr?this.imageStretch=a:Rt.prototype.qb.call(this,a)},Gu.prototype.toString=function(){return"Picture("+this.source+")#"+Dr(this)};function ep(a){a===void 0&&(a=""),a!==""?qf[a]&&(delete qf[a],t0--):(qf=new Ti,t0=0)}function TS(a,y){y.qy||(y.Fq=function(x){y.sq=!0,y.ln=!1;var b=y.Bg.copy();if(b!=null){for(b=b.iterator;b.next();){var E=b.value;E.N();var z=y.getAttribute("src")||"",te=E.Og.I(z);if(te!==null)for(var re=te.length,le=0;le=b.width&&(z=z+Fe.offsetX+(ve*Fe.x-b.width*Fe.x)),Pe>=b.height&&(te=te+Fe.offsetY+(Pe*Fe.y-b.height*Fe.y)),le=Math.min(b.width,ve),re=Math.min(b.height,Pe);break;case Qn:ve=b.width,Pe=b.height;break;case pi:case Nr:Le===pi?(Le=Math.min(b.height/Pe,b.width/ve),ve*=Le,Pe*=Le):Le===Nr&&(Le=Math.max(b.height/Pe,b.width/ve),ve*=Le,Pe*=Le,ve>=b.width&&(z=(z+Fe.offsetX+(ve*Fe.x-b.width*Fe.x)/ve)*le),Pe>=b.height&&(te=(te+Fe.offsetY+(Pe*Fe.y-b.height*Fe.y)/Pe)*re),le*=1/(ve/b.width),re*=1/(Pe/b.height),ve=b.width,Pe=b.height)}Le=this.Df()*y.scale;var Ze=ve*Le*Pe*Le,pt=le*re/Ze,at=x.__goCache;Le=null;var Ct=L1;if(!E){if(x.sq&&at!==void 0&&4Ct*Ct)for(at.gi===null&&(kS(at,4,ce,de,x),kS(at,16,ce,de,x)),E=at.gi,ce=E.length,de=0;dea)&&(a=5),a=Math.min(a,y/3),a=Math.min(a,x/3);var b="rr"+y+","+x+","+a,E=Wt.Mf[b];if(E!==void 0)return E;var z=a*Wt.wg;return E=new di().add(new rs(a,0,!0).add(new Eo(qo,y-a,0)).add(new Eo(ol,y,a,y-z,0,y,z)).add(new Eo(qo,y,x-a)).add(new Eo(ol,y-a,x,y,x-z,y-z,x)).add(new Eo(qo,a,x)).add(new Eo(ol,0,x-a,z,x,0,x-z)).add(new Eo(qo,0,a)).add(new Eo(ol,a,0,0,z,z,0).close())),1E.x&&a.y>E.y&&a.rightE.x&&y.y>E.y&&y.right=x.maxSelectionCount)){this.G^=4096;var b=!1;if(x!==null){b=x.skipsUndoManager,x.skipsUndoManager=!0;var E=x.selection;E.ka(),a?E.add(this):E.remove(this),E.freeze()}this.g("isSelected",y,a),this.Wb(),a=this.selectionChanged,a!==null&&a(this),x!==null&&(x.$b(),x.skipsUndoManager=b)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(a){var y=(this.G&524288)!==0;if(y!==a){this.G^=524288;var x=this.diagram;x!==null&&(x=x.highlighteds,x.ka(),a?x.add(this):x.remove(this),x.freeze()),this.g("isHighlighted",y,a),this.N(),a=this.highlightedChanged,a!==null&&a(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(a){var y=(this.G&8192)!==0;y!==a&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",y,a),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(a){var y=(this.G&262144)!==0;y!==a&&(this.G^=262144,this.g("isAnimated",y,a))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(a){var y=this.highlightedChanged;y!==a&&(Hu(this),this.P.oq=a,this.g("highlightedChanged",y,a))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(a){var y=this.selectionObjectName;y!==a&&(Hu(this),this.P.vr=a,this.Ug=null,this.g("selectionObjectName",y,a))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(a){var y=this.selectionAdornmentTemplate;y!==a&&(Hu(this),this.P.tr=a,this.g("selectionAdornmentTemplate",y,a))}},selectionObject:{get:function(){if(this.Ug===null){var a=this.selectionObjectName;a!==null&&a!==""?(a=this.fb(a),a!==null?this.Ug=a:this.Ug=this):this instanceof yi?(a=this.path,a!==null?this.Ug=a:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(a){var y=this.selectionChanged;y!==a&&(Hu(this),this.P.ur=a,this.g("selectionChanged",y,a))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(a){var y=this.resizeAdornmentTemplate;y!==a&&(Hu(this),this.P.fr=a,this.g("resizeAdornmentTemplate",y,a))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(a){var y=this.resizeObjectName;y!==a&&(Hu(this),this.P.hr=a,this.g("resizeObjectName",y,a))}},resizeObject:{get:function(){var a=this.resizeObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:cs},set:function(a){var y=this.resizeCellSize;y.D(a)||(a=a.J(),Hu(this),this.P.gr=a,this.g("resizeCellSize",y,a))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(a){var y=this.rotateAdornmentTemplate;y!==a&&(Hu(this),this.P.ir=a,this.g("rotateAdornmentTemplate",y,a))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(a){var y=this.rotateObjectName;y!==a&&(Hu(this),this.P.jr=a,this.g("rotateObjectName",y,a))}},rotateObject:{get:function(){var a=this.rotateObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:Vr},set:function(a){var y=this.rotationSpot;y.D(a)||(a=a.J(),Hu(this),this.P.lr=a,this.g("rotationSpot",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;y!==a&&(this.ec=a,this.g("text",y,a))}},containingGroup:{get:function(){return this.Ah},set:function(a){if(this.Zc()){var y=this.Ah;if(y!==a){a===null||this!==a&&!a.Td(this)||(this===a&&bt("Cannot make a Group a member of itself: "+this.toString()),bt("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString())),this.C(2);var x=this.diagram;if(y!==null?ny(y,this):this instanceof Ur&&x!==null&&x.ai.remove(this),this.Ah=a,a!==null?ty(a,this):this instanceof Ur&&x!==null&&x.ai.add(this),this.C(1),x!==null&&x.aa){var b=this.data,E=x.model;if(b!==null&&E.Xj()){var z=E.wa(a!==null?a.data:null);E.mp(b,z)}}if(b=this.containingGroupChanged,b!==null&&(E=!0,x!==null&&(E=x.aa,x.aa=!0),b(this,y,a),x!==null&&(x.aa=E)),this instanceof Ur){for(x=new Fn,pg(x,this,!0,0,!0),x=x.iterator;x.next();)if(b=x.value,b instanceof Li)for(b=b.linksConnected;b.next();)ip(b.value)}if(this instanceof Li){for(x=this.linksConnected;x.next();)ip(x.value);x=this.labeledLink,x!==null&&ip(x)}this.g("containingGroup",y,a),a!==null&&(y=a.layer,y!==null&&qu(y,-1,a))}}else bt("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(a){var y=this.containingGroupChanged;y!==a&&(Hu(this),this.P.Kp=a,this.g("containingGroupChanged",y,a))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof Li&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(a){var y=this.layoutConditions;y!==a&&(Hu(this),this.P.Cq=a,this.g("layoutConditions",y,a))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(a){var y=this.dragComputation;y!==a&&(Hu(this),this.P.Up=a,this.g("dragComputation",y,a))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:yo},set:function(a){var y=this.shadowOffset;y.D(a)||(a=a.J(),Hu(this),this.P.zr=a,this.N(),this.g("shadowOffset",y,a))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(a){var y=this.shadowColor;y!==a&&(Hu(this),this.P.yr=a,this.N(),this.g("shadowColor",y,a))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(a){var y=this.shadowBlur;y!==a&&(Hu(this),this.P.Vg=a,this.N(),this.g("shadowBlur",y,a))}}}),nr.prototype.invalidateLayout=nr.prototype.C,nr.prototype.findCommonContainingGroup=nr.prototype.px,nr.prototype.isMemberOf=nr.prototype.Td,nr.prototype.findTopLevelPart=nr.prototype.sz,nr.prototype.findSubGraphLevel=nr.prototype.oz,nr.prototype.ensureBounds=nr.prototype.Va,nr.prototype.getDocumentBounds=nr.prototype.mi,nr.prototype.findObject=nr.prototype.fb,nr.prototype.moveTo=nr.prototype.moveTo,nr.prototype.invalidateAdornments=nr.prototype.Wb,nr.prototype.clearAdornments=nr.prototype.Ej,nr.prototype.removeAdornment=nr.prototype.Jf,nr.prototype.addAdornment=nr.prototype.bh,nr.prototype.findAdornment=nr.prototype.Pj,nr.prototype.updateTargetBindings=nr.prototype.La;var WS=!1;nr.className="Part",nr.LayoutNone=0,nr.LayoutAdded=1,nr.LayoutRemoved=2,nr.LayoutShown=4,nr.LayoutHidden=8,nr.LayoutNodeSized=16,nr.LayoutGroupLayout=32,nr.LayoutNodeReplaced=64,nr.LayoutStandard=127,nr.LayoutAll=16777215;function zo(a,y){a===void 0||a instanceof nl||typeof a=="string"?nr.call(this,a):(nr.call(this),a&&(y=a)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,y&&Object.assign(this,y)}qt(zo,nr),zo.prototype.toString=function(){var a=this.adornedPart;return"Adornment("+this.category+")"+(a!==null?a.toString():"")},zo.prototype.updateRelationshipsFromData=function(){},zo.prototype.Ul=function(a){var y=this.adornedObject,x=y==null?void 0:y.part;if(x instanceof yi&&y instanceof eo){y=x.path,x.Ul(a),a=y.geometry,x=this.O.s,y=x.length;for(var b=0;ba&&(a=1);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Fn;x.add(this),JS(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===Re),y.Ue=!1}};function JS(a,y,x,b,E,z,te){if(1a&&(a=2);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Fn;x.add(this),ex(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===Re),y.Ue=!1}};function ex(a,y,x,b,E,z,te){for(var re=z===a?!1:a.isTreeExpanded,le=x?a.Mo():a.Sd(),ce={};le.next();){var de=le.value;if(de.isTreeLink&&(re||de.fd||de.bb(),de=de.To(a),de!==null&&de!==a&&!y.contains(de))){if(y.add(de),!re){de.Zb(!0),de.oh();var ve=x?de.Oo():de.Po();ce.vv=a,ve.all(function(Pe){return function(Le){return Le===Pe.vv||!Le.isTreeExpanded}}(ce))&&E.Cj(de,z)}(2E&&(E=re.right),re.bottom>z&&(z=re.bottom)}}return isFinite(x)&&isFinite(b)?a.h(x,b,E-x,z-b):(y=y.location,a.h(y.x,y.y,0,0)),a},Nt.Object.defineProperties(wu.prototype,{padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.g("padding",y,a),this.v())}}}),wu.className="Placeholder";function yi(a){nr.call(this,hi.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=Eu,this.Om=0,this.Qm=Eu,this.Rm=NaN,this.qj=sy,this.po=.5,this.wd=null,this.Nb=new Gt().freeze(),this.Tg=this.Mg=null,this.ml=new jn,this.ua=new di,this.u=this.o=this.Sf=this.Wf=null,this.su=new lt,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],a&&Object.assign(this,a)}qt(yi,nr),yi.prototype.cloneProtected=function(a){nr.prototype.cloneProtected.call(this,a),a.Qa=this.Qa&-113,a.ff=this.ff,a.gn=this.gn,a.vf=this.vf,a.uo=this.uo,a.qk=this.qk,a.Om=this.Om,a.Qm=this.Qm,a.Rm=this.Rm,a.qj=this.qj,a.po=this.po,this.ba!==null&&(a.ba=this.ba.copy())},Ue=yi.prototype,Ue.Af=function(a){nr.prototype.Af.call(this,a),this.ff=a.ff,this.vf=a.vf,a.Mg=null,a.bb(),a.Sf=this.Sf;var y=a.fromPort;y!==null&&gc(y),a=a.toPort,a!==null&&gc(a)},Ue.qb=function(a){a.classType===yi?(a.value&2)===2?this.routing=a:a===wc||a===Wh||a===op?this.curve=a:a===Vp||a===f0||a===p0?this.adjusting=a:a!==sy&&a!==Eu&&bt("Unknown Link enum value for a Link property: "+a):nr.prototype.qb.call(this,a)},Ue.Xc=function(){this.ba===null&&(this.ba=new zu)},Ue.si=function(){var a=this.fromNode;if(a!==null){var y=a.findVisibleNode();if(y!==null&&(a=y),Il(a)||gg(a))return!1}return a=this.toNode,!(a!==null&&(y=a.findVisibleNode(),y!==null&&(a=y),Il(a)||gg(a)))},Ue.zv=function(){return!1},Ue.Av=function(){},Ue.Zc=function(){return!1},yi.prototype.computeAngle=function(a,y,x){return yi.computeAngle(y,x)},yi.computeAngle=function(a,y){switch(a){default:case Eu:a=0;break;case Kp:a=y;break;case Yp:a=y+90;break;case $p:a=y-90;break;case ly:a=y+180;break;case m0:a=Wt.bp(y),90a&&(a-=180);break;case Xp:a=Wt.bp(y+90),90a&&(a-=180);break;case Qp:a=Wt.bp(y-90),90a&&(a-=180);break;case v0:if(a=Wt.bp(y),45a||225a)return 0;90a&&(a-=180)}return Wt.bp(a)};function ip(a){var y=a.fromNode,x=a.toNode,b=null;if(y!==null?b=x!==null?y.px(x):y.containingGroup:x!==null?b=x.containingGroup:b=null,y=b,x=a.Ah,x!==y){x!==null&&ny(x,a),a.Ah=y,y!==null&&ty(y,a);var E=a.containingGroupChanged;if(E!==null){var z=!0,te=a.diagram;te!==null&&(z=te.aa,te.aa=!0),E(a,x,y),te!==null&&(te.aa=z)}!a.fd||a.Lw!==x&&a.Mw!==x||a.bb()}if(a.isLabeledLink)for(a=a.labelNodes;a.next();)a.value.containingGroup=b}Ue=yi.prototype,Ue.oh=function(){var a=this.containingGroup;a!==null&&this.fromNode!==a&&this.toNode!==a&&a.computesBoundsIncludingLinks&&nr.prototype.oh.call(this)},Ue.To=function(a){var y=this.fromNode;return a===y?this.toNode:y},Ue.Cz=function(a){var y=this.fromPort;return a===y?this.toPort:y};function ix(a,y){a.wd===null&&(a.wd=new Fn),a.wd.add(y),a.v()}Ue.Vo=function(a){if(nr.prototype.Vo.call(this,a),Jg(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,a0(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||a0(x,this,b)}Wp(this)}},Ue.Wo=function(a){if(nr.prototype.Wo.call(this,a),Jg(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,s0(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||s0(x,this,b)}Zp(this)}},Ue.Lj=function(){if(this.fd=!0,this.wd!==null){var a=this.diagram;if(a!==null)for(var y=this.wd.copy().iterator;y.next();)a.remove(y.value)}this.data!==null&&(a=this.diagram,a!==null&&a.partManager.removeDataForLink(this))},yi.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)}},yi.prototype.move=function(a,y){var x=y?this.location:this.position,b=x.x;isNaN(b)&&(b=0);var E=x.y;for(isNaN(E)&&(E=0),b=a.x-b,E=a.y-E,y===!0?nr.prototype.move.call(this,a,!1):(a=lt.allocAt(x.x+b,x.y+E),nr.prototype.move.call(this,a,!1),lt.free(a)),Hh(this,b,E),a=this.labelNodes;a.next();)y=a.value,x=y.position,y.moveTo(x.x+b,x.y+E)},yi.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},yi.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},yi.prototype.computeMidPoint=function(a){var y=this.pointsCount;if(y===0)return a.assign(Mr),a;if(y===1)return a.assign(this.i(0)),a;if(y===2){var x=this.i(0),b=this.i(1);return a.h((x.x+b.x)/2,(x.y+b.y)/2),a}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===wc))return this.ua.Pu(.5,a),a.add(this.i(0)),x=this.ua.figures.first(),a.offset(-x.startX,-x.startY),a;if(this.computeCurve()===wc){if(y===3){x=this.i(0),b=this.i(1);var E=this.i(2);return Wt.ax(x.x,x.y,b.x,b.y,b.x,b.y,E.x,E.y,a),a}if(b=(y-1)/3|0,x=3*(b/2|0),b%2===1){b=this.i(x),E=this.i(x+1);var z=this.i(x+2);x=this.i(x+3),Wt.ax(b.x,b.y,E.x,E.y,z.x,z.y,x.x,x.y,a)}else a.assign(this.i(x));return a}var te=this.flattenedLengths;for(x=this.flattenedTotalLength,E=z=b=0;bx/2));)b+=E,z++;return y=this.i(z),z=this.i(z+1),1>Math.abs(y.x-z.x)?y.y>z.y?a.h(y.x,y.y-(x/2-b)):a.h(y.x,y.y+(x/2-b)):1>Math.abs(y.y-z.y)?y.x>z.x?a.h(y.x-(x/2-b),y.y):a.h(y.x+(x/2-b),y.y):(x=(x/2-b)/E,a.h(y.x+x*(z.x-y.x),y.y+x*(z.y-y.y))),a},yi.prototype.computeMidAngle=function(){var a=this.pointsCount;if(2>a)return NaN;if(a===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===wc))return this.ua.wx(.5);if(this.computeCurve()===wc&&4<=a){var y=(a-1)/3|0,x=3*(y/2|0);if(y%2===1){x=Math.floor(x),a=this.i(x),y=this.i(x+1);var b=this.i(x+2);return x=this.i(x+3),Wt.My(a.x,a.y,y.x,y.y,b.x,b.y,x.x,x.y)}if(0b/2));)E+=z,x++;if(y=this.i(x),b=this.i(x+1),1>Math.abs(y.x-b.x)&&1>Math.abs(y.y-b.y)){if(0Math.abs(y.x-b.x))return y.y>b.y?270:90;if(1>Math.abs(y.y-b.y))return y.x>b.x?180:0}return y.ab(b)},Ue=yi.prototype,Ue.i=function(a){return this.Nb.s[a]},Ue.dd=function(a,y){this.Nb.cd(a,y)},Ue.L=function(a,y,x){this.Nb.cd(a,new lt(y,x))},Ue.Kz=function(a,y){this.Nb.Gb(a,y)},Ue.m=function(a,y,x){this.Nb.Gb(a,new lt(y,x))},Ue.ne=function(a){this.Nb.add(a)},Ue.yf=function(a,y){this.Nb.add(new lt(a,y))},Ue.pv=function(a){this.Nb.mb(a)},Ue.Fj=function(){this.Nb.clear()};function Hh(a,y,x){if(y!==0||x!==0)if(a.pointsCount===0)a.defaultFromPoint&&a.defaultFromPoint.offset(y,x),a.defaultToPoint&&a.defaultToPoint.offset(y,x);else{for(var b=a.fd,E=new Gt,z=a.Nb.iterator;z.next();){var te=z.value;E.add(new lt(te.x+y,te.y+x).freeze())}E.freeze(),z=a.Nb,a.Nb=E,te=a.diagram,isNaN(y)||isNaN(x)||te!==null&&te.animationManager.zb?a.v():(a.ke.h(a.ke.x+y,a.ke.y+x),a.pa.h(a.pa.x+y,a.pa.y+x),el(a)),b?u0(a):(a.defaultFromPoint&&(a.defaultFromPoint=a.i(0)),a.defaultToPoint&&(a.defaultToPoint=a.i(a.pointsCount-1))),te!==null&&te.animationManager.zb&&xa(te.animationManager,a,E),a.g("points",z,E)}}Ue.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},Ue.zf=function(){if(this.Mg!==null){for(var a=this.Mg,y=this.Nb,x=1/0,b=1/0,E=a.s,z=E.length,te=0;tece&&(ve=-ve),Ze=(0>le?-1:1)*ve+Le,pt=de*(Ze-Le)+Fe),Le=z.x+2*re/3,Fe=z.y+2*le/3;var at=Le,Ct=Fe;Wt.B(le,0)?Ct=0le?-1:1)*ve+Le,Ct=de*(at-Le)+Fe),this.Fj(),this.ne(z),this.yf(Ze,pt),this.yf(at,Ct),this.ne(Pe),this.dd(0,this.getLinkPoint(a,y,te,!0,!1,b,E)),this.dd(3,this.getLinkPoint(b,E,x,!1,!1,a,y))}else z=b,Pe=E,b=this.getLinkPoint(a,y,te,!0,!1,z,Pe),E=this.getLinkPoint(z,Pe,x,!1,!1,a,y),this.hasCurviness()?(Pe=E.x-b.x,x=E.y-b.y,te=this.computeCurviness(),a=b.x+Pe/2,y=b.y+x/2,z=a,re=y,Wt.B(x,0)?re=0te&&(z=-z),z=(0>x?-1:1)*z+a,re=Pe*(z-a)+y),this.ne(b),this.yf(z,re),this.ne(E)):(this.ne(b),this.ne(E),re=jn.alloc(),y.mi(re),le=re.ca(E),Pe.mi(re),ce=re.ca(b),(le||ce)&&(te=y.ga(d0(te),new lt),this.dd(0,this.getLinkPointFromPoint(a,y,te,E,!0,te)),x=Pe.ga(d0(x),new lt),this.dd(1,this.getLinkPointFromPoint(z,Pe,x,b,!1,x))),jn.free(re))}else{ve=this.isAvoiding,Pe&&(de&&ve||ce)&&this.Fj();var Lt=ce?this.computeCurviness():0;ve=this.getLinkPoint(a,y,te,!0,de,b,E),Le=Ze=Fe=0,(de||!re||ce)&&(pt=this.computeEndSegmentLength(a,y,te,!0),Le=this.getLinkDirection(a,y,ve,te,!0,de,b,E),ce&&(re||te.D(x)||!de&&te.x+x.x===1&&te.y+x.y===1)&&(Le-=de?90:30,0>Lt&&(Le-=180)),0>Le?Le+=360:360<=Le&&(Le-=360),ce&&(pt+=Math.abs(Lt)*(de?1:2)),Le===0?Fe=pt:Le===90?Ze=pt:Le===180?Fe=-pt:Le===270?Ze=-pt:(Fe=pt*Math.cos(Le*Math.PI/180),Ze=pt*Math.sin(Le*Math.PI/180)),te.Mc()&&ce&&(pt=y.ga(wo,lt.alloc()),at=lt.allocAt(pt.x+1e3*Fe,pt.y+1e3*Ze),this.getLinkPointFromPoint(a,y,pt,at,!0,ve),lt.free(pt),lt.free(at))),pt=this.getLinkPoint(b,E,x,!1,de,a,y);var Dt=Ct=at=0;if(de||!le||ce){var Kt=this.computeEndSegmentLength(b,E,x,!1);Dt=this.getLinkDirection(b,E,pt,x,!1,de,a,y),ce&&(le||te.D(x)||!de&&te.x+x.x===1&&te.y+x.y===1)&&(Dt+=de?0:30,0>Lt&&(Dt+=180)),0>Dt?Dt+=360:360<=Dt&&(Dt-=360),ce&&(Kt+=Math.abs(Lt)*(de?1:2)),Dt===0?at=Kt:Dt===90?Ct=Kt:Dt===180?at=-Kt:Dt===270?Ct=-Kt:(at=Kt*Math.cos(Dt*Math.PI/180),Ct=Kt*Math.sin(Dt*Math.PI/180)),x.Mc()&&ce&&(x=E.ga(wo,lt.alloc()),te=lt.allocAt(x.x+1e3*at,x.y+1e3*Ct),this.getLinkPointFromPoint(b,E,x,te,!1,pt),lt.free(x),lt.free(te))}x=ve,(de||!re||ce)&&(x=new lt(ve.x+Fe,ve.y+Ze)),te=pt,(de||!le||ce)&&(te=new lt(pt.x+at,pt.y+Ct)),!Pe&&!de&&re&&3Math.abs(y.y-a.y)?(y.x>=a.x?y.x=a.x+9e9:y.x=a.x-9e9,y.y=a.y):(y.y>=a.y?y.y=a.y+9e9:y.y=a.y-9e9,y.x=a.x),y}yi.prototype.getLinkPointFromPoint=function(a,y,x,b,E,z){if(z===void 0&&(z=new lt),a===null||y===null)return z.assign(x),z;if(a.isVisible()||(E=a.findVisibleNode(),E!==null&&E!==a&&(y=E.port)),a=null,E=y.panel,E===null||E.se()||(E=E.panel),E===null){E=b.x,b=b.y;var te=x.x;x=x.y}else{a=E.oe,E=1/(a.m11*a.m22-a.m12*a.m21),te=a.m22*E;var re=-a.m12*E,le=-a.m21*E,ce=a.m11*E,de=E*(a.m21*a.dy-a.m22*a.dx),ve=E*(a.m12*a.dx-a.m11*a.dy);E=b.x*te+b.y*le+de,b=b.x*re+b.y*ce+ve,te=x.x*te+x.y*le+de,x=x.x*re+x.y*ce+ve}return y.Sj(E,b,te,x,z),a!==null&&z.transform(a),z};function c0(a,y){var x=y.Zn;return x===null&&(x=new Cf,x.port=y,x.node=y.part,y.Zn=x),dx(x,a)}yi.prototype.getLinkPoint=function(a,y,x,b,E,z,te,re){if(re===void 0&&(re=new lt),x.sb()&&!rp(x))return y.ga(x,re),re;if(x.$c()){var le=c0(this,y);if(le!==null){if(re.assign(le.Zo),E&&this.routing===ox){var ce=c0(this,te);if(ce!==null&&le.Gl=de.y&&a.y<=de.y+de.height?re.y=a.y:(x.Hf(Zu)||x.Hf(Al))&&a.x>=de.x&&a.x<=de.x+de.width&&(re.x=a.x),lt.free(le),lt.free(ce)}}return re}}return x=y.ga(d0(x),lt.alloc()),this.pointsCount>(E?6:2)?(te=b?this.i(1):this.i(this.pointsCount-2),E&&(te=iy(x,te.copy()))):(le=this.computeSpot(!b,te),z=lt.alloc(),te=te.ga(d0(le),z),E&&(te=iy(x,te)),lt.free(z)),this.getLinkPointFromPoint(a,y,x,te,b,re),lt.free(x),re},yi.prototype.getLinkDirection=function(a,y,x,b,E,z,te,re){e:if(b.sb())var le=b.x>b.y?b.x>1-b.y?0:b.x<1-b.y?270:315:b.x1-b.y?90:b.x<1-b.y?180:135:.5>b.x?225:.5(z?6:2)?(re=E?this.i(1):this.i(this.pointsCount-2),re=z?iy(le,re.copy()):x):(x=lt.alloc(),re=re.ga(wo,x),lt.free(x)),x=Math.abs(re.x-le.x)>Math.abs(re.y-le.y)?re.x>=le.x?0:180:re.y>=le.y?90:270,lt.free(le),le=x}return b.Mc()&&te.Td(a)&&(le+=180,360<=le&&(le-=360)),rp(b)||(a=y.li(),a===0)||(45<=a&&135>a?le+=90:135<=a&&225>a?le+=180:225<=a&&315>a&&(le+=270),360<=le&&(le-=360)),le},yi.prototype.computeEndSegmentLength=function(a,y,x,b){return y!==null&&x.$c()&&(a=c0(this,y),a!==null)?a.Ju:(a=b?this.fromEndSegmentLength:this.toEndSegmentLength,y!==null&&isNaN(a)&&(a=b?y.fromEndSegmentLength:y.toEndSegmentLength),isNaN(a)&&(a=10),a)},yi.prototype.computeSpot=function(a,y){return y===void 0&&(y=null),a?(a=y||this.fromPort,a===null?a=wo:(y=this.fromSpot,y.Xb()&&(y=a.fromSpot),a=y===Vr?is:y)):(a=y||this.toPort,a===null?a=wo:(y=this.toSpot,y.Xb()&&(y=a.toSpot),a=y===Vr?is:y)),a};function rp(a){return a===is||a.x===.5&&a.y===.5}function d0(a){return a.x===.5&&a.y===.5?a:wo}yi.prototype.computeOtherPoint=function(a,y){return this.computeAdjusting()!==Eu&&4Pe.width||ve.y>Pe.height||0>ve.x+ve.width||0>ve.y+ve.height)){if(ve=fr.alloc(),ve.set(te),de instanceof hi)re=de.Cf(a,y,x,b,E,ve);else if(this.path===de){if(de instanceof eo)if(re=a,Pe=b,de.pickable===!1)re=!1;else if(ve.multiply(de.transform),Pe)e:{var Le=re,Fe=ve;if(de.fh(Le,Fe))re=!0;else{if(Fe===void 0&&(Fe=de.transform,Le.Re(de.actualBounds))){re=!0;break e}re=Le.left,Pe=Le.right;var Ze=Le.top;Le=Le.bottom;var pt=lt.alloc(),at=lt.alloc(),Ct=lt.alloc(),Lt=fr.alloc();Lt.set(Fe),Lt.bv(de.transform),Lt.Vj(),at.x=Pe,at.y=Ze,at.transform(Lt),pt.x=re,pt.y=Ze,pt.transform(Lt),Fe=!1,Xg(de,pt,at,Ct)?Fe=!0:(pt.x=Pe,pt.y=Le,pt.transform(Lt),Xg(de,pt,at,Ct)?Fe=!0:(at.x=re,at.y=Le,at.transform(Lt),Xg(de,pt,at,Ct)?Fe=!0:(pt.x=re,pt.y=Ze,pt.transform(Lt),Xg(de,pt,at,Ct)&&(Fe=!0)))),fr.free(Lt),lt.free(pt),lt.free(at),lt.free(Ct),re=Fe}}else re=de.fh(re,ve)}else re=oi(de,a,b,ve);re&&(Pe=de,y!==null&&(Pe=y(de)),Pe&&(x===null||x(Pe))&&E.add(Pe)),fr.free(ve)}}}return z===void 0&&fr.free(te),re||this.background!==null||this.areaBackground!==null}return z===void 0&&fr.free(te),!1},yi.prototype.computeCurve=function(){if(this.Wf===null){var a=this.fromPort,y=this.isOrthogonal;this.Wf=a!==null&&a===this.toPort&&!y}return this.Wf?wc:this.curve},yi.prototype.computeCorner=function(){if(this.curve===wc)return 0;var a=this.corner;return(isNaN(a)||0>a)&&(a=10),a},yi.prototype.findMidLabel=function(){for(var a=this.path,y=this.O.s,x=y.length,b=0;ble?-Math.PI/2:Math.PI/2;else de=Math.atan(le/Math.abs(re)),0>re&&(de=Math.PI-de);te=y.x;var ve=y.y;re=b.x-te;var Pe=b.y-ve;for(le=Math.sqrt(re*re+Pe*Pe),Wt.$(re,0)?Pe=0>Pe?-Math.PI/2:Math.PI/2:(Pe=Math.atan(Pe/Math.abs(re)),0>re&&(Pe=Math.PI-Pe)),ce=le/ce,de=Pe-de,this.dd(a,y),a+=1;ale?-Math.PI/2:Math.PI/2:(le=Math.atan(le/Math.abs(re)),0>re&&(le=Math.PI-le)),re=le+de,y*=ce,this.L(a,te+y*Math.cos(re),ve+y*Math.sin(re)));this.dd(x,b)}}return!0;case p0:if(z=this.i(a),ve=this.i(x),!z.Xa(y)||!ve.Xa(b)){E=z.x,z=z.y,te=ve.x,ve=ve.y,ce=(te-E)*(te-E)+(ve-z)*(ve-z),re=y.x,de=y.y,le=b.x,Pe=b.y;var Le=1;if(le-re!==0){var Fe=(Pe-de)/(le-re);Le=Math.sqrt(1+1/(Fe*Fe))}else Fe=9e9;for(this.dd(a,y),a+=1;ay?y+=360:360<=y&&(y-=360),0>b?b+=360:360<=b&&(b-=360);var te=b;y=315<=y||45>y?0:45<=y&&135>y?90:135<=y&&225>y?180:270,b=315<=b||45>b?0:45<=b&&135>b?90:135<=b&&225>b?180:270;var re=E.actualBounds.copy(),le=z.actualBounds.copy();if(re.w()&&le.w()){re.Bc(Jp,Jp),le.Bc(Jp,Jp),re.Ye(a),le.Ye(x);var ce=lt.alloc(),de=lt.alloc();y===0?x.x>a.x||b===270&&x.ya.x||b===90&&x.y>a.y&&le.right>a.x?(ce.h(x.x,a.y),de.h(x.x,(a.y+x.y)/2),b===180?(ce.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1),de.x=ce.x,de.y=x.y):b===270&&x.ya.y?(ce.x=a.xle.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):le.right,de.x=ce.x,de.y=x.y):b===0&&a.xle.top&&a.yre.bottom)&&(b===180&&(le.ca(a)||re.ca(x))?ce.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===180||b===270)&&(ce.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,le.top),!0)),de.x=x.x,de.y=ce.y),ce.y>re.top&&ce.y=re.left&&x.x<=a.x||a.x<=le.right&&a.x>=x.x?(b===90||b===270)&&(ce.h(Math.max((a.x+x.x)/2,a.x),a.y),de.h(ce.x,x.y)):(ce.y=b===270||(b===0||b===180)&&x.ya.y&&le.lefta.y?(ce.x=a.x>le.right?this.computeMidOrthoPosition(a.x,a.y,le.right,x.y,!1):a.x>le.left&&(b===270&&a.yle.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):le.left,de.x=ce.x,de.y=x.y):b===180&&a.x>le.right&&a.y>le.top&&a.yre.bottom)&&(b===0&&(le.ca(a)||re.ca(x))?ce.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===0||b===270)&&(ce.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,le.top),!0)),de.x=x.x,de.y=ce.y),ce.y>re.top&&ce.y=a.x||a.x>=le.left&&a.x<=x.x?(b===90||b===270)&&(ce.h(Math.min((a.x+x.x)/2,a.x),a.y),de.h(ce.x,x.y)):(ce.y=b===270||(b===0||b===180)&&x.ya.y||b===180&&x.xa.y||b===0&&x.x>a.x&&le.bottom>a.y?(ce.h(a.x,x.y),de.h((a.x+x.x)/2,x.y),b===270?(ce.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0),de.x=x.x,de.y=ce.y):b===180&&x.xa.x?(ce.y=a.yle.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):le.bottom,de.x=x.x,de.y=ce.y):b===90&&a.yle.left&&a.xre.right)&&(b===270&&(le.ca(a)||re.ca(x))?ce.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===270||b===180)&&(ce.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,le.left),x.y,!1)),de.x=ce.x,de.y=x.y),ce.x>re.left&&ce.x=re.top&&x.y<=a.y||a.y<=le.bottom&&a.y>=x.y?(b===0||b===180)&&(ce.h(a.x,Math.max((a.y+x.y)/2,a.y)),de.h(x.x,ce.y)):(ce.x=b===180||(b===90||b===270)&&x.xa.x&&le.top=a.x?(ce.y=a.y>le.bottom?this.computeMidOrthoPosition(a.x,a.y,x.x,le.bottom,!0):a.y>le.top&&(b===180&&a.xle.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):le.top,de.x=x.x,de.y=ce.y):b===270&&a.y>le.bottom&&a.x>le.left&&a.xre.right)&&(b===90&&(le.ca(a)||re.ca(x))?ce.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===90||b===180)&&(ce.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,le.left),x.y,!1)),de.x=ce.x,de.y=x.y),ce.x>re.left&&ce.x=a.y||a.y>=le.top&&a.y<=x.y?(b===0||b===180)&&(ce.h(a.x,Math.min((a.y+x.y)/2,a.y)),de.h(x.x,ce.y)):(ce.x=b===180||(b===90||b===270)&&x.x=sp&&(lx(Le),re.Bc(Le.Ho*Le.Hx,Le.Go*Le.Ix),ux(Le,a,y,ve,b,re,!1),le=Qd(Le,ve.x,ve.y)),!Le.abort&&lethis.pointsCount?(y===0||y===180?(re.x=a.x,re.y=ve.y):(re.x=ve.x,re.y=a.y),this.L(2,re.x,re.y),this.m(3,re.x,re.y)):(te=this.i(3),y===0||y===180?Wt.B(re.x,te.x)?(re=y===0?Math.max(re.x,a.x):Math.min(re.x,a.x),this.L(2,re,a.y),this.L(3,re,te.y)):Wt.B(re.y,te.y)?(Math.abs(a.y-re.y)<=Le.Go/2&&(this.L(2,re.x,a.y),this.L(3,te.x,a.y)),this.m(2,re.x,a.y)):this.L(2,a.x,re.y):(y===90||y===270)&&(Wt.B(re.y,te.y)?(re=y===90?Math.max(re.y,a.y):Math.min(re.y,a.y),this.L(2,a.x,re),this.L(3,te.x,re)):Wt.B(re.x,te.x)?(Math.abs(a.x-re.x)<=Le.Ho/2&&(this.L(2,a.x,re.y),this.L(3,a.x,te.y)),this.m(2,a.x,re.y)):this.L(2,re.x,a.y))),x!==null&&(a=this.i(1),te=this.i(2),a.x!==te.x&&a.y!==te.y?y===0||y===180?this.m(2,a.x,te.y):this.m(2,te.x,a.y):y===0||y===180?this.m(2,E.x,x.y):this.m(2,x.x,E.y)),Fe!==null&&(b===0||b===180?this.yf(z.x,Fe.y):this.yf(Fe.x,z.y)),y=!0):y=!1}}}else y=!1;y||(this.ne(ce.copy()),this.ne(de.copy())),lt.free(ce),lt.free(de)}},yi.prototype.computeMidOrthoPosition=function(a,y,x,b,E){var z=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(z=this.computeCurviness()),E?(y+b)/2+z:(a+x)/2+z};function ry(a){if(a.diagram===null||!a.isAvoiding||!Gg(a.diagram))return!1;var y=a.points.s,x=y.length;if(4>x)return!1;a=as(a.diagram,!0,a.containingGroup,null);for(var b=1;bqg&&Qd(y,de,ve)!==ce-1&&(Qd(y,x-re,b)===ce-1?(E=180,de=x-re,ve=b):Qd(y,x+re,b)===ce-1?(E=0,de=x+re,ve=b):Qd(y,x,b-le)===ce-1?(E=270,de=x,ve=b-le):Qd(y,x,b+le)===ce-1&&(E=90,de=x,ve=b+le));ce>qg&&Qd(y,de,ve)===ce-1;)x=de,b=ve,E===0?de+=re:E===90?ve+=le:E===180?de-=re:ve-=le,--ce;z?ce>qg&&(E===180||E===0?x=Math.floor(x/re)*re+re/2:(E===90||E===270)&&(b=Math.floor(b/le)*le+le/2)):(x=Math.floor(x/re)*re+re/2,b=Math.floor(b/le)*le+le/2),ce>qg&&(z=E,te=x,de=b,E===0?(z=90,de+=le):E===90?(z=180,te-=re):E===180?(z=270,de-=le):E===270&&(z=0,te+=re),Qd(y,te,de)===ce-1?oy(a,y,te,de,z,!1,z):(te=x,de=b,E===0?(z=270,de-=le):E===90?(z=0,te+=re):E===180?(z=90,de+=le):E===270&&(z=180,te-=re),Qd(y,te,de)===ce-1&&oy(a,y,te,de,z,!1,z))),a.yf(x,b)}yi.prototype.ez=function(a){var y=a.x;a=a.y;for(var x=this.i(0),b=this.i(1),E=ra(y,a,x.x,x.y,b.x,b.y),z=0,te=1;tethis.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),a=this.path,a!==null)){a.ua=this.ua;for(var y=this.O.s,x=y.length,b=0;b=y&&(b=y-1),le=this.i(b),z.x=Math.min(le.x,z.x),z.y=Math.min(le.y,z.y);b=z.x,le=z.y}else{for(le=0;lept?Fe>Le?(z.x=at-Lt,z.y=Le-Lt,E.x=at+Ze,E.y=Le+Ze):(z.x=at-Lt,z.y=Le+Lt,E.x=at+Ze,E.y=Le-Ze):Fe>Le?(z.x=at+Lt,z.y=Le-Lt,E.x=at-Ze,E.y=Le+Ze):(z.x=at+Lt,z.y=Le+Lt,E.x=at-Ze,E.y=Le-Ze)),Wt.$(pt,at)&&Wt.$(Le,Fe)&&(Le>Pe?(Ct>at?(z.x=at-Lt,z.y=Le-Lt,E.x=at+Ze):(z.x=at+Lt,z.y=Le-Lt,E.x=at-Ze),E.y=Le+Ze):(Ct>at?(z.x=at-Lt,z.y=Le+Lt,E.x=at+Ze):(z.x=at+Lt,z.y=Le+Lt,E.x=at-Ze),E.y=Le-Ze)),(Wt.$(pt,at)&&Wt.$(at,Ct)||Wt.$(Pe,Le)&&Wt.$(Le,Fe))&&(pt=.5*(pt+Ct),Pe=.5*(Pe+Fe),z.x=pt,z.y=Pe,E.x=pt,E.y=Pe),(ve===1||ve===2&&Wt.$(te.x,this.i(0).x)&&Wt.$(te.y,this.i(0).y))&&(x.x=.5*(te.x+ce.x),x.y=.5*(te.y+ce.y)),Uh(re,x.x-b,x.y-le,z.x-b,z.y-le,ce.x-b,ce.y-le),y.set(z),x.set(E),te=ce}}ce=te.x,te=te.y,de=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(de=xf(this,de.copy(),!1,Rr)),ce=.5*(ce+de.x),te=.5*(te+de.y),Uh(re,E.x-b,E.y-le,ce-b,te-le,de.x-b,de.y-le),lt.free(y),lt.free(x),lt.free(z),lt.free(E)}else for(x=3;x=y&&(x=y-1),E=this.i(x-1),te=this.i(x),x===y-1&&this.computeShortLength(!1)!==0&&(te=xf(this,te.copy(),!1,Rr)),Uh(re,z.x-b,z.y-le,E.x-b,E.y-le,te.x-b,te.y-le);else{for(z=lt.alloc(),z.assign(this.i(0)),E=lt.alloc(),E.assign(z),te=this.computeCorner(),ve=1,ce=0;ve=y-1){if(!z.D(de))this.computeShortLength(!1)!==0&&(de=xf(this,de.copy(),!1,Rr)),bf(this,re,-b,-le,z,de,x);else if(ce===0)for(ve=1;vez.x?Dt=Pe.x-Fe:Dt=Pe.x+Fe,at.y>Pe.y?Ct=Pe.y+Lt:Ct=Pe.y-Lt,at=lt.allocAt(Dt,Kt),bf(this,re,ve,pt,z,at,Ze),lt.free(at),n0(re,Pe.x+ve,Pe.y+pt,Le+ve,Ct+pt),z.h(Le,Ct)}else Wt.B(z.x,Pe.x)&&Wt.B(Pe.y,at.y)?(Fe=Math.min(te,Math.abs(Pe.y-E.y)/2),Fe=Lt=Math.min(Fe,Math.abs(at.x-Pe.x)/2),Wt.B(Lt,0)?(bf(this,re,ve,pt,z,Pe,Ze),z.assign(Pe)):(Dt=Pe.x,Kt=Pe.y,Le=Dt,Ct=Kt,Pe.y>z.y?Kt=Pe.y-Fe:Kt=Pe.y+Fe,at.x>Pe.x?Le=Pe.x+Lt:Le=Pe.x-Lt,at=lt.allocAt(Dt,Kt),bf(this,re,ve,pt,z,at,Ze),lt.free(at),n0(re,Pe.x+ve,Pe.y+pt,Le+ve,Ct+pt),z.h(Le,Ct))):(bf(this,re,ve,pt,z,Pe,Ze),z.assign(Pe));E.assign(de),ve=ce}lt.free(z)}i0=re}else re=this.i(1).copy(),re.x-=b,re.y-=le,this.computeShortLength(!0)!==0&&(E=xf(this,E,!0,z)),this.computeShortLength(!1)!==0&&(re=xf(this,re,!1,z)),a.type=di.j,a.startX=E.x,a.startY=E.y,a.endX=re.x,a.endY=re.y;return this.lk=!0,a};function h0(a,y,x,b){return a=x-a,isNaN(a)||a===1/0||a===-1/0?NaN:(0>a&&(a=-a),y=b-y,isNaN(y)||y===1/0||y===-1/0?NaN:(0>y&&(y=-y),Wt.$(a,0)?y:Wt.$(y,0)?a:Math.sqrt(a*a+y*y)))}function xf(a,y,x,b){var E=a.pointsCount;if(2>E)return y;if(x){var z=a.i(1);if(x=z.x-b.x,z=z.y-b.y,b=h0(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!0),a>E&&(a=E),E=a*(z-y.y)/b,y.x+=a*(x-y.x)/b,y.y+=E}else{if(z=a.i(E-2),x=z.x-b.x,z=z.y-b.y,b=h0(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!1),a>E&&(a=E),E=a*(y.y-z)/b,y.x-=a*(y.x-x)/b,y.y-=E}return y}function ay(a,y,x,b){for(var E=a.pointsCount,z=y;Wt.$(y.x,z.x)&&Wt.$(y.y,z.y);){if(x>=E)return E-1;z=a.i(x++)}if(!Wt.$(y.x,z.x)&&!Wt.$(y.y,z.y))return x-1;for(var te=z;Wt.$(y.x,z.x)&&Wt.$(z.x,te.x)&&(!b||(y.y>=z.y?z.y>=te.y:z.y<=te.y))||Wt.$(y.y,z.y)&&Wt.$(z.y,te.y)&&(!b||(y.x>=z.x?z.x>=te.x:z.x<=te.x));){if(x>=E)return E-1;te=a.i(x++)}return x-2}yi.prototype.computeJumpLength=function(){return 10};function bf(a,y,x,b,E,z,te){if(!te&&Jg(a)){te=a.computeJumpLength();var re=te/2,le=[],ce=0;if(a.isVisible()&&(ce=O1(a,E,z,le)),0ve-te);)ce--,ve=Math.max(de-re,z.x);de=z.y-te+b,ve+=x,Le=z.y+b,a.curve===Wh?np(y,ve,Le,!1):Uh(y,Pe,de,ve,de,ve,Le)}else if(Wt.B(E.x,z.x))if(E.yde-te);)ce--,de=Math.max(ve-re,z.y);ve=z.x-te+x,Le=z.x+x,de+=b,a.curve===Wh?np(y,Le,de,!1):Uh(y,ve,Pe,ve,de,Le,de)}}}y.lineTo(z.x+x,z.y+b)}function O1(a,y,x,b){var E=a.diagram;if(E===null||y.D(x))return 0;for(E=E.layers;E.next();){var z=E.value;if(z!==null&&z.visible){z=z.Pa.s;for(var te=z.length,re=0;rete.x&&de.x>=ce.x||ce.xte.y&&de.y>=ce.y||ce.yte&&Math.min(Fe,Ze)de&&!Wt.B(Fe,Ze)){re.x=de,re.y=te,de=!0;break e}}else if(Wt.B(ve,Le)&&Wt.B(Fe,Ze)&&Math.min(de,Pe)Fe&&Math.min(te,pt)ve&&!Wt.B(te,pt)){re.x=Fe,re.y=ve,de=!0;break e}re.x=0,re.y=0,de=!1}de&&(E?x.push(re.x):x.push(re.y)),te=ce}lt.free(re)}function Jg(a){return a=a.curve,a===op||a===Wh}function g0(a,y){(y||Jg(a))&&(y=a.diagram,y===null||y.animationManager.isTicking||y.Eh.contains(a)||a.ml.width===0&&a.ml.height===0||y.Eh.add(a,a.ml.copy()))}yi.prototype.Xo=function(a){var y=this.layer;if(y!==null&&y.visible&&!y.isTemporary){var x=y.diagram;if(x!==null&&!x.animationManager.isTicking){var b=!1;for(x=x.layers;x.next();){var E=x.value;if(E.visible){if(E===y){b=!0;var z=!1;E=E.Pa.s;for(var te=E.length,re=0;rea&&Ln(a,">= 0",yi,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.qc(),this.g("fromShortLength",y,a))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Vr},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),(y.$c()||a.$c())&&this.toNode!==null&&gc(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Ln(a,">= 0",yi,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.qc(),this.g("toShortLength",y,a))}},isLabeledLink:{get:function(){return this.wd===null?!1:0=b&&(z=b-1);var re=this.i(z-1),le=this.i(z);Wt.Dl(E.x,E.y,te.x,te.y,re.x,re.y,le.x,le.y,.5,a),y=Math.min(le.x,y),x=Math.min(le.y,x),E=le}else for(E=this.i(0),z=this.i(1),y=Math.min(E.x,z.x),x=Math.min(E.y,z.y),a.h(E.x,E.y,0,0),a.Ye(z),E=2;Eb&&(b=-b)):Wt.$(b.y,E.y)?(b=E.x-b.x,0>b&&(b=-b)):b=Math.sqrt(b.Bf(E)),a.push(b)}}return this.cq}},flattenedTotalLength:{get:function(){var a=this.vt;if(isNaN(a)){for(var y=this.flattenedLengths,x=y.length,b=a=0;bthis.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!rp(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var a=this.pointsCount;return a===0?0:2>=a?a-1:this.isOrthogonal||!rp(this.computeSpot(!1))?a-2:a-1}},adjusting:{get:function(){return this.qk},set:function(a){var y=this.qk;y!==a&&(this.qk=a,this.g("adjusting",y,a))}},corner:{get:function(){return this.Om},set:function(a){var y=this.Om;y!==a&&(this.Om=a,this.qc(),this.g("corner",y,a))}},curve:{get:function(){return this.Qm},set:function(a){var y=this.Qm;y!==a&&(this.Qm=a,this.bb(),this.qc(),g0(this,y===Wh||y===op||a===Wh||a===op),this.g("curve",y,a))}},curviness:{get:function(){return this.Rm},set:function(a){var y=this.Rm;y!==a&&(this.Rm=a,this.bb(),this.qc(),this.g("curviness",y,a))}},routing:{get:function(){return this.qj},set:function(a){var y=this.qj;y!==a&&(this.qj=a,this.Wf=null,this.bb(),g0(this,(y.value&2)===2||(a.value&2)===2),this.g("routing",y,a))}},smoothness:{get:function(){return this.po},set:function(a){var y=this.po;y!==a&&(this.po=a,this.qc(),this.g("smoothness",y,a))}},key:{get:function(){var a=this.diagram;if(a!==null&&a.model.ri())return a.model.Ac(this.data)}}}),yi.prototype.invalidateOtherJumpOvers=yi.prototype.Xo,yi.prototype.findClosestSegment=yi.prototype.ez,yi.prototype.updateRoute=yi.prototype.vg,yi.prototype.invalidateRoute=yi.prototype.bb,yi.prototype.rollbackRoute=yi.prototype.rv,yi.prototype.commitRoute=yi.prototype.zf,yi.prototype.startRoute=yi.prototype.uh,yi.prototype.clearPoints=yi.prototype.Fj,yi.prototype.removePoint=yi.prototype.pv,yi.prototype.addPointAt=yi.prototype.yf,yi.prototype.addPoint=yi.prototype.ne,yi.prototype.insertPointAt=yi.prototype.m,yi.prototype.insertPoint=yi.prototype.Kz,yi.prototype.setPointAt=yi.prototype.L,yi.prototype.setPoint=yi.prototype.dd,yi.prototype.getPoint=yi.prototype.i,yi.prototype.getOtherPort=yi.prototype.Cz,yi.prototype.getOtherNode=yi.prototype.To;var wf=null,Ef=null,sy=new tn(yi,"Normal",1),F1=new tn(yi,"Orthogonal",2),B1=new tn(yi,"AvoidsNodes",6),ox=new tn(yi,"AvoidsNodesStraight",7),Eu=new tn(yi,"None",0),wc=new tn(yi,"Bezier",9),Wh=new tn(yi,"JumpGap",10),op=new tn(yi,"JumpOver",11),Vp=new tn(yi,"End",17),f0=new tn(yi,"Scale",18),p0=new tn(yi,"Stretch",19),Kp=new tn(yi,"OrientAlong",21),Yp=new tn(yi,"OrientPlus90",22),$p=new tn(yi,"OrientMinus90",23),ly=new tn(yi,"OrientOpposite",24),m0=new tn(yi,"OrientUpright",25),Xp=new tn(yi,"OrientPlus90Upright",26),Qp=new tn(yi,"OrientMinus90Upright",27),v0=new tn(yi,"OrientUpright45",28),ax=16,sx=14,Jp=8;yi.className="Link",yi.Normal=sy,yi.Orthogonal=F1,yi.AvoidsNodes=B1,yi.AvoidsNodesStraight=ox,yi.None=Eu,yi.Bezier=wc,yi.JumpGap=Wh,yi.JumpOver=op,yi.End=Vp,yi.Scale=f0,yi.Stretch=p0,yi.OrientAlong=Kp,yi.OrientPlus90=Yp,yi.OrientMinus90=$p,yi.OrientOpposite=ly,yi.OrientUpright=m0,yi.OrientPlus90Upright=Xp,yi.OrientMinus90Upright=Qp,yi.OrientUpright45=v0,yi.EndSegmentStep=8,yi.CurvinessStart=ax,yi.SpacingMin=sx,yi.OrthoShortCut=Jp;function y0(a,y,x,b){kr(this),this.Fe=this.qq=!1,this.Ds=a,this.Ox=y,this.cv=x,this.Px=b,this.links=[]}y0.prototype.Sl=function(){if(!this.qq){var a=this.links;0=a.width||0>=a.height)){var y=a.y,x=a.x+a.width,b=a.y+a.height;if(this.Nd=Math.floor((a.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((y-this.sc)/this.sc)*this.sc,this.En=Math.ceil((x+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((b+2*this.sc)/this.sc)*this.sc,a=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),y=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di=qg&&(x[b]=uy)}qp.prototype.Yj=function(a,y,x,b){if(a>this.En||a+xthis.Fn||y+ba&&(x+=a,a=0),0>y&&(E+=y,y=0),0>x||0>E)return!0;for(b=Math.min(a+x-1,this.di)|0,x=Math.min(y+E-1,this.ei)|0;a<=b;a++){E=this.ac[a];for(var z=y;z<=x;z++)if(E[z]===Zh)return!1}return!0};function Jd(a,y,x,b,E,z,te,re,le){if(!(yte||xle)){var ce=y|0,de=x|0,ve=a.ac[ce][de];if(ve>=qg&&ve=a.ac[ce][de]);)a.ac[ce][de]=ve,ve+=1,E?de+=b:ce+=b;if(ce=E?de:ce,E)if(0ce;x+=b)Jd(a,y,x,1,!E,z,te,re,le),Jd(a,y,x,-1,!E,z,te,re,le);else if(0ce;y+=b)Jd(a,y,x,1,!E,z,te,re,le),Jd(a,y,x,-1,!E,z,te,re,le)}}function S0(a,y,x,b,E,z,te,re,le){y|=0,x|=0;var ce=Zh,de=qg;for(a.ac[y][x]=de;ce===Zh&&y>z&&yre&&xz&&yre&&x=Math.abs(re-ce)&&1>=Math.abs(le-de))a.abort=!0;else{var ve=z.x;b=z.y,y=z.x+z.width;var Pe=z.y+z.height;ve-=a.Nd,ve/=a.rc,b-=a.Od,b/=a.sc,y-=a.Nd,y/=a.rc,Pe-=a.Od,Pe/=a.sc,z=Math.max(0,Math.min(a.di,ve|0)),y=Math.min(a.di,Math.max(0,y|0)),ve=Math.max(0,Math.min(a.ei,b|0)),Pe=Math.min(a.ei,Math.max(0,Pe|0)),b=a.ac,re|=0,le|=0,ce|=0,de|=0;var Le=x===0||x===90?1:-1;if(x=x===90||x===270,b[re][le]===Zh?(S0(a,re,le,Le,x,z,y,ve,Pe),S0(a,re,le,1,!x,z,y,ve,Pe),S0(a,re,le,-1,!x,z,y,ve,Pe)):S0(a,re,le,Le,x,re,le,re,le),b[ce][de]===Zh?(x0(a,ce,de,E===0||E===90?1:-1,E===90||E===270,z,y,ve,Pe),x0(a,ce,de,1,!(E===90||E===270),z,y,ve,Pe),x0(a,ce,de,-1,!(E===90||E===270),z,y,ve,Pe)):x0(a,ce,de,Le,x,ce,de,ce,de),x=gn(),te&&cx(a,ce,de,E,re,le,x))for((x[0]!==ce||x[1]!==de)&&(x.unshift(de),x.unshift(ce)),(x[x.length-2]!==re||x[x.length-1]!==le)&&(x.push(re),x.push(le)),a=qg,E=x[x.length-2],te=x[x.length-1],b[E][te]=a++,z=x.length-4;0<=z;z-=2)for(E=x[z+2],te=x[z+3],y=x[z],ce=x[z+1];y>E?E++:yte?te++:ceE)de--;else break;else if(ve>z)ve--;else break;var Pe=re[de][ve];if(Pe===0||Pe===cy)break;le=de,ce=ve}for(;;){if(de=b,ve=le,Pe=ce,b===0?Pez&&(de=270,Pe--):b===90?veE&&(de=180,ve--):b===180?Pez&&(de=270,Pe--):veE&&(de=180,ve--),ve=re[ve][Pe],de!==b&&ve!==0&&ve!==cy){if(te.push(le),te.push(ce),cx(a,le,ce,de,E,z,te))return!0;te.pop(),te.pop()}if(re[le][ce]=cy,b===0){if(le===y)return!1;le--}else if(b===90){if(ce===x)return!1;ce--}else if(b===180){if(le===y)return!1;le++}else{if(ce===x)return!1;ce++}}}Nt.Object.defineProperties(qp.prototype,{bounds:{get:function(){return new jn(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(a){0=x?180:0}switch(a=180*Math.atan2(a.height,a.width)/Math.PI,y){case 3:return x>a&&x<=180+a?180:270;case 5:return x>180-a&&x<=360-a?270:0;case 12:return x>a&&x<=180+a?90:0;case 10:return x>180-a&&x<=360-a?180:90;case 7:return 90180+a&&x<=360-a?270:0;case 13:return 180a&&180>=x?90:0;case 14:return x>a&&x<=180-a?90:x>180-a&&270>=x?180:0;case 11:return x>180-a&&x<=180+a?180:x>180+a?270:90}return b&&y!==15&&(x-=15,0>x&&(x+=360)),x>a&&x<180-a?90:x>=180-a&&x<=180+a?180:x>180+a&&x<360-a?270:0}Cf.prototype.Sl=function(){this.pe.length=0};function dx(a,y){var x=a.pe;if(x.length===0){e:if(!a.ap){x=a.ap,a.ap=!0;var b=null,E=a.node,z=E instanceof Ur?E:null;if(z===null||z.isSubGraphExpanded)var te=E.isTreeExpanded?E.findLinksConnected(a.port.portId):E.qx();else{if(!z.actualBounds.w()){a.ap=x;break e}b=z,te=b.Lu()}z=a.pe.length=0;var re=a.port.ga(Hs,lt.alloc()),le=a.port.ga(Fl,lt.alloc());for(E=jn.allocAt(re.x,re.y,0,0),E.Ye(le),lt.free(re),lt.free(le),re=lt.allocAt(E.x+E.width/2,E.y+E.height/2),le=a.port.li(),te=te.iterator;te.next();){var ce=te.value;if(ce.isVisible()&&ce.fromPort!==ce.toPort){var de=ce.fromPort===a.port||ce.fromNode!==null&&ce.fromNode.Td(b),ve=ce.computeSpot(de,a.port);if(ve.$c()&&(de=de?ce.toPort:ce.fromPort,de!==null)){var Pe=de.part;if(Pe!==null){var Le=Pe.findVisibleNode();Le!==null&&Le!==Pe&&(Pe=Le,de=Pe.port),de=ce.computeOtherPoint(Pe,de),Pe=re.ab(de),Pe-=le,0>Pe?Pe+=360:360<=Pe&&(Pe-=360),ve=j1(E,ve,Pe,ce.isOrthogonal),ve===0?(ve=4,180Pe&&(Pe+=360)),Le=a.pe[z],Le===void 0?(Le=new dy(ce,Pe,ve),a.pe[z]=Le):(Le.link=ce,Le.angle=Pe,Le.Nc=ve),Le.hv.set(de),z++}}}}for(lt.free(re),a.pe.sort(Cf.prototype.j),le=a.pe.length,b=-1,z=re=0;zMath.abs(Ze)?(Ct=Math.abs(Ze)/Pe,Pe=Math.abs(Ze)):Ct=1;break;case 2:Le>Math.abs(Lt)?(Ct=Math.abs(Lt)/Le,Le=Math.abs(Lt)):Ct=1;break;case 1:ve>Math.abs(Ze)?(Ct=Math.abs(Ze)/ve,ve=Math.abs(Ze)):Ct=1;break;default:case 4:de>Math.abs(Lt)?(Ct=Math.abs(Lt)/de,de=Math.abs(Lt)):Ct=1}at=0}var vn=Dt.Zo;if(b===ey){switch(Dt=Dt.link.computeThickness(),Dt*=Ct,vn.set(Kt),Fe){case 8:vn.x=Kt.x+Ze/2+Pe/2-at-Dt/2;break;case 2:vn.y=Kt.y+Lt/2+Le/2-at-Dt/2;break;case 1:vn.x=Kt.x+Ze/2-ve/2+at+Dt/2;break;default:case 4:vn.y=Kt.y+Lt/2-de/2+at+Dt/2}at+=Dt}else{var Pi=.5;b===l0&&(Pi=(Dt.Uo+1)/(Dt.Gl+1)),vn.x=Kt.x+Ze*Pi,vn.y=Kt.y+Lt*Pi}}}for(lt.free(re),lt.free(le),lt.free(te),lt.free(ce),Kt=a.pe,z=0;zy.Nc?1:a.angley.angle?1:0},Cf.prototype.computeEndSegmentLength=function(a){var y=a.link,x=y.computeEndSegmentLength(this.node,this.port,is,y.fromPort===this.port),b=a.Uo;if(0>b)return x;var E=a.Gl;if(1>=E||!y.isOrthogonal)return x;y=a.hv;var z=a.Zo;return(a.Nc===2||a.Nc===8)&&(b=E-1-b),((a=a.Nc===2||a.Nc===4)?y.y=y-1?(z=0,b=x,E+=te+20,te=0):z++}},Wa.prototype.doMinimalNetworkLayout=function(){var a=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var y=this.arrangementOrigin.x,x=y,b=this.arrangementOrigin.y,E=0,z=0,te=this.network.vertexes.iterator;te.next();){var re=te.value.node;if(!(re===null||re instanceof yi)&&(em(re),this.rh(re))){var le=re.measuredBounds,ce=le.width;le=le.height,re.moveTo(x,b),re instanceof Ur&&(re.rh=!1),x+=Math.max(ce,50)+20,z=Math.max(z,Math.max(le,50)),E>=a-1?(E=0,x=y,b+=z+20,z=0):E++}}},Wa.prototype.rh=function(a){return!!(!a.location.w()||a instanceof Ur&&a.rh)};function mg(a,y,x,b,E,z,te,re){for(x=x.iterator;x.next();){var le=x.value;b&&!le.isTopLevel||E!==null&&!E(le)||!le.canLayout()||(z&&le instanceof Li?le.isLinkLabel||(le instanceof Ur&&le.layout===null?mg(a,y,le.memberParts,!1,E,z,te,re):(em(le),y.add(le))):te&&le instanceof yi?y.add(le):!re||!le.Zc()||le instanceof Li||(em(le),y.add(le)))}}function em(a){var y=a.actualBounds;(y.width===0||y.height===0||isNaN(y.width)||isNaN(y.height))&&a.Va()}Wa.prototype.ni=function(a,y){var x=this.boundsComputation;return x!==null?(y||(y=new jn),x(a,this,y)):y?(y.set(a.actualBounds),y):a.actualBounds},Wa.prototype.ex=function(a){var y=new Fn;return a instanceof pn?(mg(this,y,a.nodes,!0,null,!0,!0,!0),mg(this,y,a.links,!0,null,!0,!0,!0),mg(this,y,a.parts,!0,null,!0,!0,!0)):a instanceof Ur?mg(this,y,a.memberParts,!1,null,!0,!0,!0):mg(this,y,a.iterator,!1,null,!0,!0,!0),y},Wa.prototype.initialOrigin=function(a){var y=this.group;if(y!==null){var x=y.position.copy();return(isNaN(x.x)||isNaN(x.y))&&x.set(a),y=y.placeholder,y!==null&&(x=y.ga(Hs),(isNaN(x.x)||isNaN(x.y))&&x.set(a),a=y.padding,x.x+=a.left,x.y+=a.top),x}return a},Nt.Object.defineProperties(Wa.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},group:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a,a!==null&&(this.H=a.diagram))}},isOngoing:{get:function(){return this.sn},set:function(a){this.sn!==a&&(this.sn=a)}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a,a||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(a){this.yn!==a&&(this.yn=a)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(a){this.vn!==a&&(this.vn=a)}},isRealtime:{get:function(){return this.un},set:function(a){this.un!==a&&(this.un=a)}},isValidLayout:{get:function(){return this.xn},set:function(a){this.xn!==a&&(this.xn=a,a||(a=this.diagram,a!==null&&(a.xh=!0)))}},network:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,a!==null&&(a.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(a){this.Em!==a&&(this.Em=a,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(a){this.Am.D(a)||(this.Am.assign(a),this.C())}}}),Wa.prototype.collectParts=Wa.prototype.ex,Wa.prototype.getLayoutBounds=Wa.prototype.ni,Wa.prototype.invalidateLayout=Wa.prototype.C,Wa.className="Layout";function Aa(a){kr(this),this.Sc=a,this.wf=new Fn,this.ye=new Fn,this.Es=new Ii,this.zs=new Ii}Aa.prototype.clear=function(){if(this.wf)for(var a=this.wf.iterator;a.next();)a.value.clear();if(this.ye)for(a=this.ye.iterator;a.next();)a.value.clear();this.wf=new Fn,this.ye=new Fn,this.Es=new Ii,this.zs=new Ii},Aa.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=a)return y;if(y+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1a?a=0:1a?a=0:1=a&&Ln(a,"> 0",Pa,"maxLines"),Rd(this),this.da.Jq=a,this.v(),this.g("maxLines",y,a))}},metrics:{get:function(){return{arrSize:this.Qc!==null?this.Qc:[this.Cb],arrText:this.Qb!==null?this.Qb:[this.ze],maxLineWidth:this.Cb,fontHeight:this.df}}},choices:{get:function(){return this.Gm},set:function(a){var y=this.Gm;y!==a&&(this.Gm=a,this.g("choices",y,a))}}});var Xm=null,Qm=null,zv=new tn(Pa,"None",0),PS=new tn(Pa,"WrapFit",1),Uv=new tn(Pa,"WrapDesiredSize",2),AS=new tn(Pa,"WrapBreakAll",3),_v=new tn(Pa,"OverflowClip",0),Jm=new tn(Pa,"OverflowEllipsis",1),_p=new tn(Pa,"FormatTrim",0),NS=new tn(Pa,"FormatNone",0),M1=/[ \u200b\u00ad]/,Gv=new Ti,MS=0,qm=new Ti,Hv=0,Gp="...",LS="",_u=null,e0=!1;Pa.className="TextBlock";function Wv(){this.nc=!1,this.Hd=null,this.Xf=_n,this.gq=_p,this.Jq=1/0,this.$q=_v,this.Er=this.Dr=0,this.Or="start",this.vj=this.Qr=this.Pr=null,this.Yr=rr,this.$r=Uv}Wv.prototype.copy=function(){var a=new Wv;return a.Hd=this.Hd,a.Xf=this.Xf,a.gq=this.gq,a.Jq=this.Jq,a.$q=this.$q,a.Dr=this.Dr,a.Er=this.Er,a.Or=this.Or,a.Pr=this.Pr,a.Qr=this.Qr,a.vj=this.vj,a.Yr=this.Yr,a.$r=this.$r,a},Pa.getEllipsis=function(){return Gp},Pa.setEllipsis=function(a){Gp=a,qm=new Ti,Hv=0},Pa.getBaseline=function(){return Xm},Pa.setBaseline=function(a){Xm=a},Pa.getUnderline=function(){return Qm},Pa.setUnderline=function(a){Qm=a},Pa.isValidFont=function(a){if(e0||(_u=ls?new Oa(null).context:null,e0=!0),_u===null)return!0;var y=_u.font;if(a===y||a==="10px sans-serif")return!0;_u.font="10px sans-serif",_u.font=a;var x=_u.font;if(x!=="10px sans-serif")return _u.font=y,!0;_u.font="19px serif";var b=_u.font;return _u.font=a,x=_u.font,_u.font=y,x!==b},Pa.FormatNone=NS,Pa.FormatTrim=_p,Pa.None=zv,Pa.OverflowClip=_v,Pa.OverflowEllipsis=Jm,Pa.WrapBreakAll=AS,Pa.WrapDesiredSize=Uv,Pa.WrapFit=PS;function Xd(){this.Tk=1,this.u=0,this.j=1,this.o=this.F=null}Xd.prototype.copy=function(){var a=new Xd;return a.Tk=this.Tk,a.u=this.u,a.j=this.j,a.F=this.F,a.o=this.o,a},Xd.className="GradElementSettings";function Gu(a,y){Rt.call(this),this.Eg=null,this.qo="",this.Xg=Po,this.Nk=Qn,this.Zg=this.Hd=null,this.Mk=wo,this.Xf=_n,this.vl=null,this.qn=!1,this.en=!0,this.al=!1,this.bt=this.rl=null,typeof a=="string"?this.source=a:a&&Object.assign(this,a),y&&Object.assign(this,y)}var qf;qt(Gu,Rt),Gu.prototype.cloneProtected=function(a){Rt.prototype.cloneProtected.call(this,a),a.qo=this.qo,a.element=this.Eg,a.Xg=this.Xg.J(),a.Nk=this.Nk,a.Xf=this.Xf,a.Hd=this.Hd,a.Zg=this.Zg,a.Mk=this.Mk.J(),a.en=this.en,a.rl=this.rl},Gu.prototype.qb=function(a){a===_n||a===pi||a===Nr?this.imageStretch=a:Rt.prototype.qb.call(this,a)},Gu.prototype.toString=function(){return"Picture("+this.source+")#"+Dr(this)};function ep(a){a===void 0&&(a=""),a!==""?qf[a]&&(delete qf[a],t0--):(qf=new Ti,t0=0)}function TS(a,y){y.qy||(y.Fq=function(x){y.sq=!0,y.ln=!1;var b=y.Bg.copy();if(b!=null){for(b=b.iterator;b.next();){var E=b.value;E.N();var z=y.getAttribute("src")||"",te=E.Og.I(z);if(te!==null)for(var re=te.length,le=0;le=b.width&&(z=z+Fe.offsetX+(ve*Fe.x-b.width*Fe.x)),Pe>=b.height&&(te=te+Fe.offsetY+(Pe*Fe.y-b.height*Fe.y)),le=Math.min(b.width,ve),re=Math.min(b.height,Pe);break;case Qn:ve=b.width,Pe=b.height;break;case pi:case Nr:Le===pi?(Le=Math.min(b.height/Pe,b.width/ve),ve*=Le,Pe*=Le):Le===Nr&&(Le=Math.max(b.height/Pe,b.width/ve),ve*=Le,Pe*=Le,ve>=b.width&&(z=(z+Fe.offsetX+(ve*Fe.x-b.width*Fe.x)/ve)*le),Pe>=b.height&&(te=(te+Fe.offsetY+(Pe*Fe.y-b.height*Fe.y)/Pe)*re),le*=1/(ve/b.width),re*=1/(Pe/b.height),ve=b.width,Pe=b.height)}Le=this.Df()*y.scale;var Ze=ve*Le*Pe*Le,pt=le*re/Ze,at=x.__goCache;Le=null;var Ct=L1;if(!E){if(x.sq&&at!==void 0&&4Ct*Ct)for(at.gi===null&&(kS(at,4,ce,de,x),kS(at,16,ce,de,x)),E=at.gi,ce=E.length,de=0;dea)&&(a=5),a=Math.min(a,y/3),a=Math.min(a,x/3);var b="rr"+y+","+x+","+a,E=Wt.Mf[b];if(E!==void 0)return E;var z=a*Wt.wg;return E=new di().add(new rs(a,0,!0).add(new Eo(qo,y-a,0)).add(new Eo(ol,y,a,y-z,0,y,z)).add(new Eo(qo,y,x-a)).add(new Eo(ol,y-a,x,y,x-z,y-z,x)).add(new Eo(qo,a,x)).add(new Eo(ol,0,x-a,z,x,0,x-z)).add(new Eo(qo,0,a)).add(new Eo(ol,a,0,0,z,z,0).close())),1E.x&&a.y>E.y&&a.rightE.x&&y.y>E.y&&y.right=x.maxSelectionCount)){this.G^=4096;var b=!1;if(x!==null){b=x.skipsUndoManager,x.skipsUndoManager=!0;var E=x.selection;E.ka(),a?E.add(this):E.remove(this),E.freeze()}this.g("isSelected",y,a),this.Wb(),a=this.selectionChanged,a!==null&&a(this),x!==null&&(x.$b(),x.skipsUndoManager=b)}}}},isHighlighted:{get:function(){return(this.G&524288)!==0},set:function(a){var y=(this.G&524288)!==0;if(y!==a){this.G^=524288;var x=this.diagram;x!==null&&(x=x.highlighteds,x.ka(),a?x.add(this):x.remove(this),x.freeze()),this.g("isHighlighted",y,a),this.N(),a=this.highlightedChanged,a!==null&&a(this)}}},isShadowed:{get:function(){return(this.G&8192)!==0},set:function(a){var y=(this.G&8192)!==0;y!==a&&(this.G^=8192,this.Uc=!0,this.g("isShadowed",y,a),this.N())}},isAnimated:{get:function(){return(this.G&262144)!==0},set:function(a){var y=(this.G&262144)!==0;y!==a&&(this.G^=262144,this.g("isAnimated",y,a))}},highlightedChanged:{get:function(){return this.P!==null?this.P.oq:null},set:function(a){var y=this.highlightedChanged;y!==a&&(Hu(this),this.P.oq=a,this.g("highlightedChanged",y,a))}},selectionObjectName:{get:function(){return this.P!==null?this.P.vr:""},set:function(a){var y=this.selectionObjectName;y!==a&&(Hu(this),this.P.vr=a,this.Ug=null,this.g("selectionObjectName",y,a))}},selectionAdornmentTemplate:{get:function(){return this.P!==null?this.P.tr:null},set:function(a){var y=this.selectionAdornmentTemplate;y!==a&&(Hu(this),this.P.tr=a,this.g("selectionAdornmentTemplate",y,a))}},selectionObject:{get:function(){if(this.Ug===null){var a=this.selectionObjectName;a!==null&&a!==""?(a=this.fb(a),a!==null?this.Ug=a:this.Ug=this):this instanceof yi?(a=this.path,a!==null?this.Ug=a:this.Ug=this):this.Ug=this}return this.Ug}},selectionChanged:{get:function(){return this.P!==null?this.P.ur:null},set:function(a){var y=this.selectionChanged;y!==a&&(Hu(this),this.P.ur=a,this.g("selectionChanged",y,a))}},resizeAdornmentTemplate:{get:function(){return this.P!==null?this.P.fr:null},set:function(a){var y=this.resizeAdornmentTemplate;y!==a&&(Hu(this),this.P.fr=a,this.g("resizeAdornmentTemplate",y,a))}},resizeObjectName:{get:function(){return this.P!==null?this.P.hr:""},set:function(a){var y=this.resizeObjectName;y!==a&&(Hu(this),this.P.hr=a,this.g("resizeObjectName",y,a))}},resizeObject:{get:function(){var a=this.resizeObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},resizeCellSize:{get:function(){return this.P!==null?this.P.gr:ds},set:function(a){var y=this.resizeCellSize;y.D(a)||(a=a.J(),Hu(this),this.P.gr=a,this.g("resizeCellSize",y,a))}},rotateAdornmentTemplate:{get:function(){return this.P!==null?this.P.ir:null},set:function(a){var y=this.rotateAdornmentTemplate;y!==a&&(Hu(this),this.P.ir=a,this.g("rotateAdornmentTemplate",y,a))}},rotateObjectName:{get:function(){return this.P!==null?this.P.jr:""},set:function(a){var y=this.rotateObjectName;y!==a&&(Hu(this),this.P.jr=a,this.g("rotateObjectName",y,a))}},rotateObject:{get:function(){var a=this.rotateObjectName;return a!==""&&(a=this.fb(a),a!==null)?a:this}},rotationSpot:{get:function(){return this.P!==null?this.P.lr:Vr},set:function(a){var y=this.rotationSpot;y.D(a)||(a=a.J(),Hu(this),this.P.lr=a,this.g("rotationSpot",y,a))}},text:{get:function(){return this.ec},set:function(a){var y=this.ec;y!==a&&(this.ec=a,this.g("text",y,a))}},containingGroup:{get:function(){return this.Ah},set:function(a){if(this.Zc()){var y=this.Ah;if(y!==a){a===null||this!==a&&!a.Td(this)||(this===a&&bt("Cannot make a Group a member of itself: "+this.toString()),bt("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+a.toString())),this.C(2);var x=this.diagram;if(y!==null?ny(y,this):this instanceof _r&&x!==null&&x.ai.remove(this),this.Ah=a,a!==null?ty(a,this):this instanceof _r&&x!==null&&x.ai.add(this),this.C(1),x!==null&&x.aa){var b=this.data,E=x.model;if(b!==null&&E.Xj()){var z=E.wa(a!==null?a.data:null);E.mp(b,z)}}if(b=this.containingGroupChanged,b!==null&&(E=!0,x!==null&&(E=x.aa,x.aa=!0),b(this,y,a),x!==null&&(x.aa=E)),this instanceof _r){for(x=new Fn,pg(x,this,!0,0,!0),x=x.iterator;x.next();)if(b=x.value,b instanceof Li)for(b=b.linksConnected;b.next();)ip(b.value)}if(this instanceof Li){for(x=this.linksConnected;x.next();)ip(x.value);x=this.labeledLink,x!==null&&ip(x)}this.g("containingGroup",y,a),a!==null&&(y=a.layer,y!==null&&qu(y,-1,a))}}else bt("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.P!==null?this.P.Kp:null},set:function(a){var y=this.containingGroupChanged;y!==a&&(Hu(this),this.P.Kp=a,this.g("containingGroupChanged",y,a))}},isTopLevel:{get:function(){return!(this.containingGroup!==null||this instanceof Li&&this.labeledLink!==null)}},layoutConditions:{get:function(){return this.P!==null?this.P.Cq:127},set:function(a){var y=this.layoutConditions;y!==a&&(Hu(this),this.P.Cq=a,this.g("layoutConditions",y,a))}},dragComputation:{get:function(){return this.P!==null?this.P.Up:null},set:function(a){var y=this.dragComputation;y!==a&&(Hu(this),this.P.Up=a,this.g("dragComputation",y,a))}},shadowOffset:{get:function(){return this.P!==null?this.P.zr:yo},set:function(a){var y=this.shadowOffset;y.D(a)||(a=a.J(),Hu(this),this.P.zr=a,this.N(),this.g("shadowOffset",y,a))}},shadowColor:{get:function(){return this.P!==null?this.P.yr:"gray"},set:function(a){var y=this.shadowColor;y!==a&&(Hu(this),this.P.yr=a,this.N(),this.g("shadowColor",y,a))}},shadowBlur:{get:function(){return this.P!==null?this.P.Vg:4},set:function(a){var y=this.shadowBlur;y!==a&&(Hu(this),this.P.Vg=a,this.N(),this.g("shadowBlur",y,a))}}}),nr.prototype.invalidateLayout=nr.prototype.C,nr.prototype.findCommonContainingGroup=nr.prototype.px,nr.prototype.isMemberOf=nr.prototype.Td,nr.prototype.findTopLevelPart=nr.prototype.sz,nr.prototype.findSubGraphLevel=nr.prototype.oz,nr.prototype.ensureBounds=nr.prototype.Va,nr.prototype.getDocumentBounds=nr.prototype.mi,nr.prototype.findObject=nr.prototype.fb,nr.prototype.moveTo=nr.prototype.moveTo,nr.prototype.invalidateAdornments=nr.prototype.Wb,nr.prototype.clearAdornments=nr.prototype.Ej,nr.prototype.removeAdornment=nr.prototype.Jf,nr.prototype.addAdornment=nr.prototype.bh,nr.prototype.findAdornment=nr.prototype.Pj,nr.prototype.updateTargetBindings=nr.prototype.La;var WS=!1;nr.className="Part",nr.LayoutNone=0,nr.LayoutAdded=1,nr.LayoutRemoved=2,nr.LayoutShown=4,nr.LayoutHidden=8,nr.LayoutNodeSized=16,nr.LayoutGroupLayout=32,nr.LayoutNodeReplaced=64,nr.LayoutStandard=127,nr.LayoutAll=16777215;function zo(a,y){a===void 0||a instanceof nl||typeof a=="string"?nr.call(this,a):(nr.call(this),a&&(y=a)),this.G&=-257,this.Jg="Adornment",this.ue=null,this.Aw=0,this.Uw=!1,this.j=this.$a=null,y&&Object.assign(this,y)}qt(zo,nr),zo.prototype.toString=function(){var a=this.adornedPart;return"Adornment("+this.category+")"+(a!==null?a.toString():"")},zo.prototype.updateRelationshipsFromData=function(){},zo.prototype.Ul=function(a){var y=this.adornedObject,x=y==null?void 0:y.part;if(x instanceof yi&&y instanceof eo){y=x.path,x.Ul(a),a=y.geometry,x=this.O.s,y=x.length;for(var b=0;ba&&(a=1);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Fn;x.add(this),JS(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===Re),y.Ue=!1}};function JS(a,y,x,b,E,z,te){if(1a&&(a=2);var y=this.diagram;if(y!==null&&!y.Ue){y.Ue=!0;var x=new Fn;x.add(this),ex(this,x,y.isTreePathToChildren,a,y,this,y.treeCollapsePolicy===Re),y.Ue=!1}};function ex(a,y,x,b,E,z,te){for(var re=z===a?!1:a.isTreeExpanded,le=x?a.Mo():a.Sd(),ce={};le.next();){var de=le.value;if(de.isTreeLink&&(re||de.fd||de.bb(),de=de.To(a),de!==null&&de!==a&&!y.contains(de))){if(y.add(de),!re){de.Zb(!0),de.oh();var ve=x?de.Oo():de.Po();ce.vv=a,ve.all(function(Pe){return function(Le){return Le===Pe.vv||!Le.isTreeExpanded}}(ce))&&E.Cj(de,z)}(2E&&(E=re.right),re.bottom>z&&(z=re.bottom)}}return isFinite(x)&&isFinite(b)?a.h(x,b,E-x,z-b):(y=y.location,a.h(y.x,y.y,0,0)),a},Nt.Object.defineProperties(wu.prototype,{padding:{get:function(){return this.yb},set:function(a){typeof a=="number"&&(a=new $i(a));var y=this.yb;y.D(a)||(this.yb=a=a.J(),this.g("padding",y,a),this.v())}}}),wu.className="Placeholder";function yi(a){nr.call(this,hi.Link),this.Qa=8,this.ef=null,this.ff="",this.uf=this.gn=null,this.vf="",this.uo=null,this.qk=Eu,this.Om=0,this.Qm=Eu,this.Rm=NaN,this.qj=sy,this.po=.5,this.wd=null,this.Nb=new Ht().freeze(),this.Tg=this.Mg=null,this.ml=new jn,this.ua=new di,this.u=this.o=this.Sf=this.Wf=null,this.su=new lt,this.cq=this.Mw=this.Lw=null,this.vt=NaN,this.ba=null,this.j=[],a&&Object.assign(this,a)}qt(yi,nr),yi.prototype.cloneProtected=function(a){nr.prototype.cloneProtected.call(this,a),a.Qa=this.Qa&-113,a.ff=this.ff,a.gn=this.gn,a.vf=this.vf,a.uo=this.uo,a.qk=this.qk,a.Om=this.Om,a.Qm=this.Qm,a.Rm=this.Rm,a.qj=this.qj,a.po=this.po,this.ba!==null&&(a.ba=this.ba.copy())},Ue=yi.prototype,Ue.Af=function(a){nr.prototype.Af.call(this,a),this.ff=a.ff,this.vf=a.vf,a.Mg=null,a.bb(),a.Sf=this.Sf;var y=a.fromPort;y!==null&&gc(y),a=a.toPort,a!==null&&gc(a)},Ue.qb=function(a){a.classType===yi?(a.value&2)===2?this.routing=a:a===wc||a===Wh||a===op?this.curve=a:a===Vp||a===f0||a===p0?this.adjusting=a:a!==sy&&a!==Eu&&bt("Unknown Link enum value for a Link property: "+a):nr.prototype.qb.call(this,a)},Ue.Xc=function(){this.ba===null&&(this.ba=new zu)},Ue.si=function(){var a=this.fromNode;if(a!==null){var y=a.findVisibleNode();if(y!==null&&(a=y),Il(a)||gg(a))return!1}return a=this.toNode,!(a!==null&&(y=a.findVisibleNode(),y!==null&&(a=y),Il(a)||gg(a)))},Ue.zv=function(){return!1},Ue.Av=function(){},Ue.Zc=function(){return!1},yi.prototype.computeAngle=function(a,y,x){return yi.computeAngle(y,x)},yi.computeAngle=function(a,y){switch(a){default:case Eu:a=0;break;case Kp:a=y;break;case Yp:a=y+90;break;case $p:a=y-90;break;case ly:a=y+180;break;case m0:a=Wt.bp(y),90a&&(a-=180);break;case Xp:a=Wt.bp(y+90),90a&&(a-=180);break;case Qp:a=Wt.bp(y-90),90a&&(a-=180);break;case v0:if(a=Wt.bp(y),45a||225a)return 0;90a&&(a-=180)}return Wt.bp(a)};function ip(a){var y=a.fromNode,x=a.toNode,b=null;if(y!==null?b=x!==null?y.px(x):y.containingGroup:x!==null?b=x.containingGroup:b=null,y=b,x=a.Ah,x!==y){x!==null&&ny(x,a),a.Ah=y,y!==null&&ty(y,a);var E=a.containingGroupChanged;if(E!==null){var z=!0,te=a.diagram;te!==null&&(z=te.aa,te.aa=!0),E(a,x,y),te!==null&&(te.aa=z)}!a.fd||a.Lw!==x&&a.Mw!==x||a.bb()}if(a.isLabeledLink)for(a=a.labelNodes;a.next();)a.value.containingGroup=b}Ue=yi.prototype,Ue.oh=function(){var a=this.containingGroup;a!==null&&this.fromNode!==a&&this.toNode!==a&&a.computesBoundsIncludingLinks&&nr.prototype.oh.call(this)},Ue.To=function(a){var y=this.fromNode;return a===y?this.toNode:y},Ue.Cz=function(a){var y=this.fromPort;return a===y?this.toPort:y};function ix(a,y){a.wd===null&&(a.wd=new Fn),a.wd.add(y),a.v()}Ue.Vo=function(a){if(nr.prototype.Vo.call(this,a),Jg(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,a0(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||a0(x,this,b)}Wp(this)}},Ue.Wo=function(a){if(nr.prototype.Wo.call(this,a),Jg(this)&&this.Xo(this.actualBounds),!a){a=this.ef;var y=null;a!==null&&(y=this.fromPort,s0(a,this,y));var x=this.uf;if(x!==null){var b=this.toPort;x===a&&b===y||s0(x,this,b)}Zp(this)}},Ue.Lj=function(){if(this.fd=!0,this.wd!==null){var a=this.diagram;if(a!==null)for(var y=this.wd.copy().iterator;y.next();)a.remove(y.value)}this.data!==null&&(a=this.diagram,a!==null&&a.partManager.removeDataForLink(this))},yi.prototype.updateRelationshipsFromData=function(){if(this.data!==null){var a=this.diagram;a!==null&&a.partManager.updateRelationshipsFromData(this)}},yi.prototype.move=function(a,y){var x=y?this.location:this.position,b=x.x;isNaN(b)&&(b=0);var E=x.y;for(isNaN(E)&&(E=0),b=a.x-b,E=a.y-E,y===!0?nr.prototype.move.call(this,a,!1):(a=lt.allocAt(x.x+b,x.y+E),nr.prototype.move.call(this,a,!1),lt.free(a)),Hh(this,b,E),a=this.labelNodes;a.next();)y=a.value,x=y.position,y.moveTo(x.x+b,x.y+E)},yi.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},yi.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var a=this.layer;return a===null?!0:a.allowRelink?(a=a.diagram,!!(a===null||a.allowRelink)):!1},yi.prototype.computeMidPoint=function(a){var y=this.pointsCount;if(y===0)return a.assign(Mr),a;if(y===1)return a.assign(this.i(0)),a;if(y===2){var x=this.i(0),b=this.i(1);return a.h((x.x+b.x)/2,(x.y+b.y)/2),a}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===wc))return this.ua.Pu(.5,a),a.add(this.i(0)),x=this.ua.figures.first(),a.offset(-x.startX,-x.startY),a;if(this.computeCurve()===wc){if(y===3){x=this.i(0),b=this.i(1);var E=this.i(2);return Wt.ax(x.x,x.y,b.x,b.y,b.x,b.y,E.x,E.y,a),a}if(b=(y-1)/3|0,x=3*(b/2|0),b%2===1){b=this.i(x),E=this.i(x+1);var z=this.i(x+2);x=this.i(x+3),Wt.ax(b.x,b.y,E.x,E.y,z.x,z.y,x.x,x.y,a)}else a.assign(this.i(x));return a}var te=this.flattenedLengths;for(x=this.flattenedTotalLength,E=z=b=0;bx/2));)b+=E,z++;return y=this.i(z),z=this.i(z+1),1>Math.abs(y.x-z.x)?y.y>z.y?a.h(y.x,y.y-(x/2-b)):a.h(y.x,y.y+(x/2-b)):1>Math.abs(y.y-z.y)?y.x>z.x?a.h(y.x-(x/2-b),y.y):a.h(y.x+(x/2-b),y.y):(x=(x/2-b)/E,a.h(y.x+x*(z.x-y.x),y.y+x*(z.y-y.y))),a},yi.prototype.computeMidAngle=function(){var a=this.pointsCount;if(2>a)return NaN;if(a===2)return this.i(0).ab(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===wc))return this.ua.wx(.5);if(this.computeCurve()===wc&&4<=a){var y=(a-1)/3|0,x=3*(y/2|0);if(y%2===1){x=Math.floor(x),a=this.i(x),y=this.i(x+1);var b=this.i(x+2);return x=this.i(x+3),Wt.My(a.x,a.y,y.x,y.y,b.x,b.y,x.x,x.y)}if(0b/2));)E+=z,x++;if(y=this.i(x),b=this.i(x+1),1>Math.abs(y.x-b.x)&&1>Math.abs(y.y-b.y)){if(0Math.abs(y.x-b.x))return y.y>b.y?270:90;if(1>Math.abs(y.y-b.y))return y.x>b.x?180:0}return y.ab(b)},Ue=yi.prototype,Ue.i=function(a){return this.Nb.s[a]},Ue.dd=function(a,y){this.Nb.cd(a,y)},Ue.L=function(a,y,x){this.Nb.cd(a,new lt(y,x))},Ue.Kz=function(a,y){this.Nb.Gb(a,y)},Ue.m=function(a,y,x){this.Nb.Gb(a,new lt(y,x))},Ue.ne=function(a){this.Nb.add(a)},Ue.yf=function(a,y){this.Nb.add(new lt(a,y))},Ue.pv=function(a){this.Nb.mb(a)},Ue.Fj=function(){this.Nb.clear()};function Hh(a,y,x){if(y!==0||x!==0)if(a.pointsCount===0)a.defaultFromPoint&&a.defaultFromPoint.offset(y,x),a.defaultToPoint&&a.defaultToPoint.offset(y,x);else{for(var b=a.fd,E=new Ht,z=a.Nb.iterator;z.next();){var te=z.value;E.add(new lt(te.x+y,te.y+x).freeze())}E.freeze(),z=a.Nb,a.Nb=E,te=a.diagram,isNaN(y)||isNaN(x)||te!==null&&te.animationManager.zb?a.v():(a.ke.h(a.ke.x+y,a.ke.y+x),a.pa.h(a.pa.x+y,a.pa.y+x),el(a)),b?u0(a):(a.defaultFromPoint&&(a.defaultFromPoint=a.i(0)),a.defaultToPoint&&(a.defaultToPoint=a.i(a.pointsCount-1))),te!==null&&te.animationManager.zb&&xa(te.animationManager,a,E),a.g("points",z,E)}}Ue.uh=function(){this.Mg===null&&(this.Mg=this.Nb,this.Nb=this.Nb.copy())},Ue.zf=function(){if(this.Mg!==null){for(var a=this.Mg,y=this.Nb,x=1/0,b=1/0,E=a.s,z=E.length,te=0;tece&&(ve=-ve),Ze=(0>le?-1:1)*ve+Le,pt=de*(Ze-Le)+Fe),Le=z.x+2*re/3,Fe=z.y+2*le/3;var at=Le,Ct=Fe;Wt.B(le,0)?Ct=0le?-1:1)*ve+Le,Ct=de*(at-Le)+Fe),this.Fj(),this.ne(z),this.yf(Ze,pt),this.yf(at,Ct),this.ne(Pe),this.dd(0,this.getLinkPoint(a,y,te,!0,!1,b,E)),this.dd(3,this.getLinkPoint(b,E,x,!1,!1,a,y))}else z=b,Pe=E,b=this.getLinkPoint(a,y,te,!0,!1,z,Pe),E=this.getLinkPoint(z,Pe,x,!1,!1,a,y),this.hasCurviness()?(Pe=E.x-b.x,x=E.y-b.y,te=this.computeCurviness(),a=b.x+Pe/2,y=b.y+x/2,z=a,re=y,Wt.B(x,0)?re=0te&&(z=-z),z=(0>x?-1:1)*z+a,re=Pe*(z-a)+y),this.ne(b),this.yf(z,re),this.ne(E)):(this.ne(b),this.ne(E),re=jn.alloc(),y.mi(re),le=re.ca(E),Pe.mi(re),ce=re.ca(b),(le||ce)&&(te=y.ga(d0(te),new lt),this.dd(0,this.getLinkPointFromPoint(a,y,te,E,!0,te)),x=Pe.ga(d0(x),new lt),this.dd(1,this.getLinkPointFromPoint(z,Pe,x,b,!1,x))),jn.free(re))}else{ve=this.isAvoiding,Pe&&(de&&ve||ce)&&this.Fj();var Lt=ce?this.computeCurviness():0;ve=this.getLinkPoint(a,y,te,!0,de,b,E),Le=Ze=Fe=0,(de||!re||ce)&&(pt=this.computeEndSegmentLength(a,y,te,!0),Le=this.getLinkDirection(a,y,ve,te,!0,de,b,E),ce&&(re||te.D(x)||!de&&te.x+x.x===1&&te.y+x.y===1)&&(Le-=de?90:30,0>Lt&&(Le-=180)),0>Le?Le+=360:360<=Le&&(Le-=360),ce&&(pt+=Math.abs(Lt)*(de?1:2)),Le===0?Fe=pt:Le===90?Ze=pt:Le===180?Fe=-pt:Le===270?Ze=-pt:(Fe=pt*Math.cos(Le*Math.PI/180),Ze=pt*Math.sin(Le*Math.PI/180)),te.Mc()&&ce&&(pt=y.ga(wo,lt.alloc()),at=lt.allocAt(pt.x+1e3*Fe,pt.y+1e3*Ze),this.getLinkPointFromPoint(a,y,pt,at,!0,ve),lt.free(pt),lt.free(at))),pt=this.getLinkPoint(b,E,x,!1,de,a,y);var Dt=Ct=at=0;if(de||!le||ce){var Kt=this.computeEndSegmentLength(b,E,x,!1);Dt=this.getLinkDirection(b,E,pt,x,!1,de,a,y),ce&&(le||te.D(x)||!de&&te.x+x.x===1&&te.y+x.y===1)&&(Dt+=de?0:30,0>Lt&&(Dt+=180)),0>Dt?Dt+=360:360<=Dt&&(Dt-=360),ce&&(Kt+=Math.abs(Lt)*(de?1:2)),Dt===0?at=Kt:Dt===90?Ct=Kt:Dt===180?at=-Kt:Dt===270?Ct=-Kt:(at=Kt*Math.cos(Dt*Math.PI/180),Ct=Kt*Math.sin(Dt*Math.PI/180)),x.Mc()&&ce&&(x=E.ga(wo,lt.alloc()),te=lt.allocAt(x.x+1e3*at,x.y+1e3*Ct),this.getLinkPointFromPoint(b,E,x,te,!1,pt),lt.free(x),lt.free(te))}x=ve,(de||!re||ce)&&(x=new lt(ve.x+Fe,ve.y+Ze)),te=pt,(de||!le||ce)&&(te=new lt(pt.x+at,pt.y+Ct)),!Pe&&!de&&re&&3Math.abs(y.y-a.y)?(y.x>=a.x?y.x=a.x+9e9:y.x=a.x-9e9,y.y=a.y):(y.y>=a.y?y.y=a.y+9e9:y.y=a.y-9e9,y.x=a.x),y}yi.prototype.getLinkPointFromPoint=function(a,y,x,b,E,z){if(z===void 0&&(z=new lt),a===null||y===null)return z.assign(x),z;if(a.isVisible()||(E=a.findVisibleNode(),E!==null&&E!==a&&(y=E.port)),a=null,E=y.panel,E===null||E.se()||(E=E.panel),E===null){E=b.x,b=b.y;var te=x.x;x=x.y}else{a=E.oe,E=1/(a.m11*a.m22-a.m12*a.m21),te=a.m22*E;var re=-a.m12*E,le=-a.m21*E,ce=a.m11*E,de=E*(a.m21*a.dy-a.m22*a.dx),ve=E*(a.m12*a.dx-a.m11*a.dy);E=b.x*te+b.y*le+de,b=b.x*re+b.y*ce+ve,te=x.x*te+x.y*le+de,x=x.x*re+x.y*ce+ve}return y.Sj(E,b,te,x,z),a!==null&&z.transform(a),z};function c0(a,y){var x=y.Zn;return x===null&&(x=new Cf,x.port=y,x.node=y.part,y.Zn=x),dx(x,a)}yi.prototype.getLinkPoint=function(a,y,x,b,E,z,te,re){if(re===void 0&&(re=new lt),x.sb()&&!rp(x))return y.ga(x,re),re;if(x.$c()){var le=c0(this,y);if(le!==null){if(re.assign(le.Zo),E&&this.routing===ox){var ce=c0(this,te);if(ce!==null&&le.Gl=de.y&&a.y<=de.y+de.height?re.y=a.y:(x.Hf(Zu)||x.Hf(Al))&&a.x>=de.x&&a.x<=de.x+de.width&&(re.x=a.x),lt.free(le),lt.free(ce)}}return re}}return x=y.ga(d0(x),lt.alloc()),this.pointsCount>(E?6:2)?(te=b?this.i(1):this.i(this.pointsCount-2),E&&(te=iy(x,te.copy()))):(le=this.computeSpot(!b,te),z=lt.alloc(),te=te.ga(d0(le),z),E&&(te=iy(x,te)),lt.free(z)),this.getLinkPointFromPoint(a,y,x,te,b,re),lt.free(x),re},yi.prototype.getLinkDirection=function(a,y,x,b,E,z,te,re){e:if(b.sb())var le=b.x>b.y?b.x>1-b.y?0:b.x<1-b.y?270:315:b.x1-b.y?90:b.x<1-b.y?180:135:.5>b.x?225:.5(z?6:2)?(re=E?this.i(1):this.i(this.pointsCount-2),re=z?iy(le,re.copy()):x):(x=lt.alloc(),re=re.ga(wo,x),lt.free(x)),x=Math.abs(re.x-le.x)>Math.abs(re.y-le.y)?re.x>=le.x?0:180:re.y>=le.y?90:270,lt.free(le),le=x}return b.Mc()&&te.Td(a)&&(le+=180,360<=le&&(le-=360)),rp(b)||(a=y.li(),a===0)||(45<=a&&135>a?le+=90:135<=a&&225>a?le+=180:225<=a&&315>a&&(le+=270),360<=le&&(le-=360)),le},yi.prototype.computeEndSegmentLength=function(a,y,x,b){return y!==null&&x.$c()&&(a=c0(this,y),a!==null)?a.Ju:(a=b?this.fromEndSegmentLength:this.toEndSegmentLength,y!==null&&isNaN(a)&&(a=b?y.fromEndSegmentLength:y.toEndSegmentLength),isNaN(a)&&(a=10),a)},yi.prototype.computeSpot=function(a,y){return y===void 0&&(y=null),a?(a=y||this.fromPort,a===null?a=wo:(y=this.fromSpot,y.Xb()&&(y=a.fromSpot),a=y===Vr?is:y)):(a=y||this.toPort,a===null?a=wo:(y=this.toSpot,y.Xb()&&(y=a.toSpot),a=y===Vr?is:y)),a};function rp(a){return a===is||a.x===.5&&a.y===.5}function d0(a){return a.x===.5&&a.y===.5?a:wo}yi.prototype.computeOtherPoint=function(a,y){return this.computeAdjusting()!==Eu&&4Pe.width||ve.y>Pe.height||0>ve.x+ve.width||0>ve.y+ve.height)){if(ve=fr.alloc(),ve.set(te),de instanceof hi)re=de.Cf(a,y,x,b,E,ve);else if(this.path===de){if(de instanceof eo)if(re=a,Pe=b,de.pickable===!1)re=!1;else if(ve.multiply(de.transform),Pe)e:{var Le=re,Fe=ve;if(de.fh(Le,Fe))re=!0;else{if(Fe===void 0&&(Fe=de.transform,Le.Re(de.actualBounds))){re=!0;break e}re=Le.left,Pe=Le.right;var Ze=Le.top;Le=Le.bottom;var pt=lt.alloc(),at=lt.alloc(),Ct=lt.alloc(),Lt=fr.alloc();Lt.set(Fe),Lt.bv(de.transform),Lt.Vj(),at.x=Pe,at.y=Ze,at.transform(Lt),pt.x=re,pt.y=Ze,pt.transform(Lt),Fe=!1,Xg(de,pt,at,Ct)?Fe=!0:(pt.x=Pe,pt.y=Le,pt.transform(Lt),Xg(de,pt,at,Ct)?Fe=!0:(at.x=re,at.y=Le,at.transform(Lt),Xg(de,pt,at,Ct)?Fe=!0:(pt.x=re,pt.y=Ze,pt.transform(Lt),Xg(de,pt,at,Ct)&&(Fe=!0)))),fr.free(Lt),lt.free(pt),lt.free(at),lt.free(Ct),re=Fe}}else re=de.fh(re,ve)}else re=oi(de,a,b,ve);re&&(Pe=de,y!==null&&(Pe=y(de)),Pe&&(x===null||x(Pe))&&E.add(Pe)),fr.free(ve)}}}return z===void 0&&fr.free(te),re||this.background!==null||this.areaBackground!==null}return z===void 0&&fr.free(te),!1},yi.prototype.computeCurve=function(){if(this.Wf===null){var a=this.fromPort,y=this.isOrthogonal;this.Wf=a!==null&&a===this.toPort&&!y}return this.Wf?wc:this.curve},yi.prototype.computeCorner=function(){if(this.curve===wc)return 0;var a=this.corner;return(isNaN(a)||0>a)&&(a=10),a},yi.prototype.findMidLabel=function(){for(var a=this.path,y=this.O.s,x=y.length,b=0;ble?-Math.PI/2:Math.PI/2;else de=Math.atan(le/Math.abs(re)),0>re&&(de=Math.PI-de);te=y.x;var ve=y.y;re=b.x-te;var Pe=b.y-ve;for(le=Math.sqrt(re*re+Pe*Pe),Wt.$(re,0)?Pe=0>Pe?-Math.PI/2:Math.PI/2:(Pe=Math.atan(Pe/Math.abs(re)),0>re&&(Pe=Math.PI-Pe)),ce=le/ce,de=Pe-de,this.dd(a,y),a+=1;ale?-Math.PI/2:Math.PI/2:(le=Math.atan(le/Math.abs(re)),0>re&&(le=Math.PI-le)),re=le+de,y*=ce,this.L(a,te+y*Math.cos(re),ve+y*Math.sin(re)));this.dd(x,b)}}return!0;case p0:if(z=this.i(a),ve=this.i(x),!z.Xa(y)||!ve.Xa(b)){E=z.x,z=z.y,te=ve.x,ve=ve.y,ce=(te-E)*(te-E)+(ve-z)*(ve-z),re=y.x,de=y.y,le=b.x,Pe=b.y;var Le=1;if(le-re!==0){var Fe=(Pe-de)/(le-re);Le=Math.sqrt(1+1/(Fe*Fe))}else Fe=9e9;for(this.dd(a,y),a+=1;ay?y+=360:360<=y&&(y-=360),0>b?b+=360:360<=b&&(b-=360);var te=b;y=315<=y||45>y?0:45<=y&&135>y?90:135<=y&&225>y?180:270,b=315<=b||45>b?0:45<=b&&135>b?90:135<=b&&225>b?180:270;var re=E.actualBounds.copy(),le=z.actualBounds.copy();if(re.w()&&le.w()){re.Bc(Jp,Jp),le.Bc(Jp,Jp),re.Ye(a),le.Ye(x);var ce=lt.alloc(),de=lt.alloc();y===0?x.x>a.x||b===270&&x.ya.x||b===90&&x.y>a.y&&le.right>a.x?(ce.h(x.x,a.y),de.h(x.x,(a.y+x.y)/2),b===180?(ce.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1),de.x=ce.x,de.y=x.y):b===270&&x.ya.y?(ce.x=a.xle.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):le.right,de.x=ce.x,de.y=x.y):b===0&&a.xle.top&&a.yre.bottom)&&(b===180&&(le.ca(a)||re.ca(x))?ce.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===180||b===270)&&(ce.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,le.top),!0)),de.x=x.x,de.y=ce.y),ce.y>re.top&&ce.y=re.left&&x.x<=a.x||a.x<=le.right&&a.x>=x.x?(b===90||b===270)&&(ce.h(Math.max((a.x+x.x)/2,a.x),a.y),de.h(ce.x,x.y)):(ce.y=b===270||(b===0||b===180)&&x.ya.y&&le.lefta.y?(ce.x=a.x>le.right?this.computeMidOrthoPosition(a.x,a.y,le.right,x.y,!1):a.x>le.left&&(b===270&&a.yle.bottom)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):le.left,de.x=ce.x,de.y=x.y):b===180&&a.x>le.right&&a.y>le.top&&a.yre.bottom)&&(b===0&&(le.ca(a)||re.ca(x))?ce.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):x.ya.y&&(b===0||b===270)&&(ce.y=this.computeMidOrthoPosition(a.x,re.bottom,x.x,Math.min(x.y,le.top),!0)),de.x=x.x,de.y=ce.y),ce.y>re.top&&ce.y=a.x||a.x>=le.left&&a.x<=x.x?(b===90||b===270)&&(ce.h(Math.min((a.x+x.x)/2,a.x),a.y),de.h(ce.x,x.y)):(ce.y=b===270||(b===0||b===180)&&x.ya.y||b===180&&x.xa.y||b===0&&x.x>a.x&&le.bottom>a.y?(ce.h(a.x,x.y),de.h((a.x+x.x)/2,x.y),b===270?(ce.y=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0),de.x=x.x,de.y=ce.y):b===180&&x.xa.x?(ce.y=a.yle.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):le.bottom,de.x=x.x,de.y=ce.y):b===90&&a.yle.left&&a.xre.right)&&(b===270&&(le.ca(a)||re.ca(x))?ce.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===270||b===180)&&(ce.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,le.left),x.y,!1)),de.x=ce.x,de.y=x.y),ce.x>re.left&&ce.x=re.top&&x.y<=a.y||a.y<=le.bottom&&a.y>=x.y?(b===0||b===180)&&(ce.h(a.x,Math.max((a.y+x.y)/2,a.y)),de.h(x.x,ce.y)):(ce.x=b===180||(b===90||b===270)&&x.xa.x&&le.top=a.x?(ce.y=a.y>le.bottom?this.computeMidOrthoPosition(a.x,a.y,x.x,le.bottom,!0):a.y>le.top&&(b===180&&a.xle.right)?this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!0):le.top,de.x=x.x,de.y=ce.y):b===270&&a.y>le.bottom&&a.x>le.left&&a.xre.right)&&(b===90&&(le.ca(a)||re.ca(x))?ce.x=this.computeMidOrthoPosition(a.x,a.y,x.x,x.y,!1):x.xa.x&&(b===90||b===180)&&(ce.x=this.computeMidOrthoPosition(re.right,a.y,Math.min(x.x,le.left),x.y,!1)),de.x=ce.x,de.y=x.y),ce.x>re.left&&ce.x=a.y||a.y>=le.top&&a.y<=x.y?(b===0||b===180)&&(ce.h(a.x,Math.min((a.y+x.y)/2,a.y)),de.h(x.x,ce.y)):(ce.x=b===180||(b===90||b===270)&&x.x=sp&&(lx(Le),re.Bc(Le.Ho*Le.Hx,Le.Go*Le.Ix),ux(Le,a,y,ve,b,re,!1),le=Qd(Le,ve.x,ve.y)),!Le.abort&&lethis.pointsCount?(y===0||y===180?(re.x=a.x,re.y=ve.y):(re.x=ve.x,re.y=a.y),this.L(2,re.x,re.y),this.m(3,re.x,re.y)):(te=this.i(3),y===0||y===180?Wt.B(re.x,te.x)?(re=y===0?Math.max(re.x,a.x):Math.min(re.x,a.x),this.L(2,re,a.y),this.L(3,re,te.y)):Wt.B(re.y,te.y)?(Math.abs(a.y-re.y)<=Le.Go/2&&(this.L(2,re.x,a.y),this.L(3,te.x,a.y)),this.m(2,re.x,a.y)):this.L(2,a.x,re.y):(y===90||y===270)&&(Wt.B(re.y,te.y)?(re=y===90?Math.max(re.y,a.y):Math.min(re.y,a.y),this.L(2,a.x,re),this.L(3,te.x,re)):Wt.B(re.x,te.x)?(Math.abs(a.x-re.x)<=Le.Ho/2&&(this.L(2,a.x,re.y),this.L(3,a.x,te.y)),this.m(2,a.x,re.y)):this.L(2,re.x,a.y))),x!==null&&(a=this.i(1),te=this.i(2),a.x!==te.x&&a.y!==te.y?y===0||y===180?this.m(2,a.x,te.y):this.m(2,te.x,a.y):y===0||y===180?this.m(2,E.x,x.y):this.m(2,x.x,E.y)),Fe!==null&&(b===0||b===180?this.yf(z.x,Fe.y):this.yf(Fe.x,z.y)),y=!0):y=!1}}}else y=!1;y||(this.ne(ce.copy()),this.ne(de.copy())),lt.free(ce),lt.free(de)}},yi.prototype.computeMidOrthoPosition=function(a,y,x,b,E){var z=0;return!this.hasCurviness()||this.computeSpot(!0,this.fromPort).$c()||this.computeSpot(!1,this.toPort).$c()||(z=this.computeCurviness()),E?(y+b)/2+z:(a+x)/2+z};function ry(a){if(a.diagram===null||!a.isAvoiding||!Gg(a.diagram))return!1;var y=a.points.s,x=y.length;if(4>x)return!1;a=ss(a.diagram,!0,a.containingGroup,null);for(var b=1;bqg&&Qd(y,de,ve)!==ce-1&&(Qd(y,x-re,b)===ce-1?(E=180,de=x-re,ve=b):Qd(y,x+re,b)===ce-1?(E=0,de=x+re,ve=b):Qd(y,x,b-le)===ce-1?(E=270,de=x,ve=b-le):Qd(y,x,b+le)===ce-1&&(E=90,de=x,ve=b+le));ce>qg&&Qd(y,de,ve)===ce-1;)x=de,b=ve,E===0?de+=re:E===90?ve+=le:E===180?de-=re:ve-=le,--ce;z?ce>qg&&(E===180||E===0?x=Math.floor(x/re)*re+re/2:(E===90||E===270)&&(b=Math.floor(b/le)*le+le/2)):(x=Math.floor(x/re)*re+re/2,b=Math.floor(b/le)*le+le/2),ce>qg&&(z=E,te=x,de=b,E===0?(z=90,de+=le):E===90?(z=180,te-=re):E===180?(z=270,de-=le):E===270&&(z=0,te+=re),Qd(y,te,de)===ce-1?oy(a,y,te,de,z,!1,z):(te=x,de=b,E===0?(z=270,de-=le):E===90?(z=0,te+=re):E===180?(z=90,de+=le):E===270&&(z=180,te-=re),Qd(y,te,de)===ce-1&&oy(a,y,te,de,z,!1,z))),a.yf(x,b)}yi.prototype.ez=function(a){var y=a.x;a=a.y;for(var x=this.i(0),b=this.i(1),E=ra(y,a,x.x,x.y,b.x,b.y),z=0,te=1;tethis.pointsCount?this.lk=!0:this.ua=this.makeGeometry(),a=this.path,a!==null)){a.ua=this.ua;for(var y=this.O.s,x=y.length,b=0;b=y&&(b=y-1),le=this.i(b),z.x=Math.min(le.x,z.x),z.y=Math.min(le.y,z.y);b=z.x,le=z.y}else{for(le=0;lept?Fe>Le?(z.x=at-Lt,z.y=Le-Lt,E.x=at+Ze,E.y=Le+Ze):(z.x=at-Lt,z.y=Le+Lt,E.x=at+Ze,E.y=Le-Ze):Fe>Le?(z.x=at+Lt,z.y=Le-Lt,E.x=at-Ze,E.y=Le+Ze):(z.x=at+Lt,z.y=Le+Lt,E.x=at-Ze,E.y=Le-Ze)),Wt.$(pt,at)&&Wt.$(Le,Fe)&&(Le>Pe?(Ct>at?(z.x=at-Lt,z.y=Le-Lt,E.x=at+Ze):(z.x=at+Lt,z.y=Le-Lt,E.x=at-Ze),E.y=Le+Ze):(Ct>at?(z.x=at-Lt,z.y=Le+Lt,E.x=at+Ze):(z.x=at+Lt,z.y=Le+Lt,E.x=at-Ze),E.y=Le-Ze)),(Wt.$(pt,at)&&Wt.$(at,Ct)||Wt.$(Pe,Le)&&Wt.$(Le,Fe))&&(pt=.5*(pt+Ct),Pe=.5*(Pe+Fe),z.x=pt,z.y=Pe,E.x=pt,E.y=Pe),(ve===1||ve===2&&Wt.$(te.x,this.i(0).x)&&Wt.$(te.y,this.i(0).y))&&(x.x=.5*(te.x+ce.x),x.y=.5*(te.y+ce.y)),Uh(re,x.x-b,x.y-le,z.x-b,z.y-le,ce.x-b,ce.y-le),y.set(z),x.set(E),te=ce}}ce=te.x,te=te.y,de=this.i(this.pointsCount-1),this.computeShortLength(!1)!==0&&(de=xf(this,de.copy(),!1,Rr)),ce=.5*(ce+de.x),te=.5*(te+de.y),Uh(re,E.x-b,E.y-le,ce-b,te-le,de.x-b,de.y-le),lt.free(y),lt.free(x),lt.free(z),lt.free(E)}else for(x=3;x=y&&(x=y-1),E=this.i(x-1),te=this.i(x),x===y-1&&this.computeShortLength(!1)!==0&&(te=xf(this,te.copy(),!1,Rr)),Uh(re,z.x-b,z.y-le,E.x-b,E.y-le,te.x-b,te.y-le);else{for(z=lt.alloc(),z.assign(this.i(0)),E=lt.alloc(),E.assign(z),te=this.computeCorner(),ve=1,ce=0;ve=y-1){if(!z.D(de))this.computeShortLength(!1)!==0&&(de=xf(this,de.copy(),!1,Rr)),bf(this,re,-b,-le,z,de,x);else if(ce===0)for(ve=1;vez.x?Dt=Pe.x-Fe:Dt=Pe.x+Fe,at.y>Pe.y?Ct=Pe.y+Lt:Ct=Pe.y-Lt,at=lt.allocAt(Dt,Kt),bf(this,re,ve,pt,z,at,Ze),lt.free(at),n0(re,Pe.x+ve,Pe.y+pt,Le+ve,Ct+pt),z.h(Le,Ct)}else Wt.B(z.x,Pe.x)&&Wt.B(Pe.y,at.y)?(Fe=Math.min(te,Math.abs(Pe.y-E.y)/2),Fe=Lt=Math.min(Fe,Math.abs(at.x-Pe.x)/2),Wt.B(Lt,0)?(bf(this,re,ve,pt,z,Pe,Ze),z.assign(Pe)):(Dt=Pe.x,Kt=Pe.y,Le=Dt,Ct=Kt,Pe.y>z.y?Kt=Pe.y-Fe:Kt=Pe.y+Fe,at.x>Pe.x?Le=Pe.x+Lt:Le=Pe.x-Lt,at=lt.allocAt(Dt,Kt),bf(this,re,ve,pt,z,at,Ze),lt.free(at),n0(re,Pe.x+ve,Pe.y+pt,Le+ve,Ct+pt),z.h(Le,Ct))):(bf(this,re,ve,pt,z,Pe,Ze),z.assign(Pe));E.assign(de),ve=ce}lt.free(z)}i0=re}else re=this.i(1).copy(),re.x-=b,re.y-=le,this.computeShortLength(!0)!==0&&(E=xf(this,E,!0,z)),this.computeShortLength(!1)!==0&&(re=xf(this,re,!1,z)),a.type=di.j,a.startX=E.x,a.startY=E.y,a.endX=re.x,a.endY=re.y;return this.lk=!0,a};function h0(a,y,x,b){return a=x-a,isNaN(a)||a===1/0||a===-1/0?NaN:(0>a&&(a=-a),y=b-y,isNaN(y)||y===1/0||y===-1/0?NaN:(0>y&&(y=-y),Wt.$(a,0)?y:Wt.$(y,0)?a:Math.sqrt(a*a+y*y)))}function xf(a,y,x,b){var E=a.pointsCount;if(2>E)return y;if(x){var z=a.i(1);if(x=z.x-b.x,z=z.y-b.y,b=h0(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!0),a>E&&(a=E),E=a*(z-y.y)/b,y.x+=a*(x-y.x)/b,y.y+=E}else{if(z=a.i(E-2),x=z.x-b.x,z=z.y-b.y,b=h0(y.x,y.y,x,z),b===0)return y;E=E===2?.5*b:b,a=a.computeShortLength(!1),a>E&&(a=E),E=a*(y.y-z)/b,y.x-=a*(y.x-x)/b,y.y-=E}return y}function ay(a,y,x,b){for(var E=a.pointsCount,z=y;Wt.$(y.x,z.x)&&Wt.$(y.y,z.y);){if(x>=E)return E-1;z=a.i(x++)}if(!Wt.$(y.x,z.x)&&!Wt.$(y.y,z.y))return x-1;for(var te=z;Wt.$(y.x,z.x)&&Wt.$(z.x,te.x)&&(!b||(y.y>=z.y?z.y>=te.y:z.y<=te.y))||Wt.$(y.y,z.y)&&Wt.$(z.y,te.y)&&(!b||(y.x>=z.x?z.x>=te.x:z.x<=te.x));){if(x>=E)return E-1;te=a.i(x++)}return x-2}yi.prototype.computeJumpLength=function(){return 10};function bf(a,y,x,b,E,z,te){if(!te&&Jg(a)){te=a.computeJumpLength();var re=te/2,le=[],ce=0;if(a.isVisible()&&(ce=O1(a,E,z,le)),0ve-te);)ce--,ve=Math.max(de-re,z.x);de=z.y-te+b,ve+=x,Le=z.y+b,a.curve===Wh?np(y,ve,Le,!1):Uh(y,Pe,de,ve,de,ve,Le)}else if(Wt.B(E.x,z.x))if(E.yde-te);)ce--,de=Math.max(ve-re,z.y);ve=z.x-te+x,Le=z.x+x,de+=b,a.curve===Wh?np(y,Le,de,!1):Uh(y,ve,Pe,ve,de,Le,de)}}}y.lineTo(z.x+x,z.y+b)}function O1(a,y,x,b){var E=a.diagram;if(E===null||y.D(x))return 0;for(E=E.layers;E.next();){var z=E.value;if(z!==null&&z.visible){z=z.Pa.s;for(var te=z.length,re=0;rete.x&&de.x>=ce.x||ce.xte.y&&de.y>=ce.y||ce.yte&&Math.min(Fe,Ze)de&&!Wt.B(Fe,Ze)){re.x=de,re.y=te,de=!0;break e}}else if(Wt.B(ve,Le)&&Wt.B(Fe,Ze)&&Math.min(de,Pe)Fe&&Math.min(te,pt)ve&&!Wt.B(te,pt)){re.x=Fe,re.y=ve,de=!0;break e}re.x=0,re.y=0,de=!1}de&&(E?x.push(re.x):x.push(re.y)),te=ce}lt.free(re)}function Jg(a){return a=a.curve,a===op||a===Wh}function g0(a,y){(y||Jg(a))&&(y=a.diagram,y===null||y.animationManager.isTicking||y.Eh.contains(a)||a.ml.width===0&&a.ml.height===0||y.Eh.add(a,a.ml.copy()))}yi.prototype.Xo=function(a){var y=this.layer;if(y!==null&&y.visible&&!y.isTemporary){var x=y.diagram;if(x!==null&&!x.animationManager.isTicking){var b=!1;for(x=x.layers;x.next();){var E=x.value;if(E.visible){if(E===y){b=!0;var z=!1;E=E.Pa.s;for(var te=E.length,re=0;rea&&Ln(a,">= 0",yi,"fromEndSegmentLength"),this.Xc(),this.ba.Vi=a,this.g("fromEndSegmentLength",y,a),this.bb())}},fromShortLength:{get:function(){return this.ba!==null?this.ba.Wi:NaN},set:function(a){var y=this.fromShortLength;y!==a&&(this.Xc(),this.ba.Wi=a,this.qc(),this.g("fromShortLength",y,a))}},toSpot:{get:function(){return this.ba!==null?this.ba.yj:Vr},set:function(a){var y=this.toSpot;y.D(a)||(a=a.J(),this.Xc(),this.ba.yj=a,this.g("toSpot",y,a),(y.$c()||a.$c())&&this.toNode!==null&&gc(this.toPort),this.bb())}},toEndSegmentLength:{get:function(){return this.ba!==null?this.ba.wj:NaN},set:function(a){var y=this.toEndSegmentLength;y!==a&&(0>a&&Ln(a,">= 0",yi,"toEndSegmentLength"),this.Xc(),this.ba.wj=a,this.g("toEndSegmentLength",y,a),this.bb())}},toShortLength:{get:function(){return this.ba!==null?this.ba.xj:NaN},set:function(a){var y=this.toShortLength;y!==a&&(this.Xc(),this.ba.xj=a,this.qc(),this.g("toShortLength",y,a))}},isLabeledLink:{get:function(){return this.wd===null?!1:0=b&&(z=b-1);var re=this.i(z-1),le=this.i(z);Wt.Dl(E.x,E.y,te.x,te.y,re.x,re.y,le.x,le.y,.5,a),y=Math.min(le.x,y),x=Math.min(le.y,x),E=le}else for(E=this.i(0),z=this.i(1),y=Math.min(E.x,z.x),x=Math.min(E.y,z.y),a.h(E.x,E.y,0,0),a.Ye(z),E=2;Eb&&(b=-b)):Wt.$(b.y,E.y)?(b=E.x-b.x,0>b&&(b=-b)):b=Math.sqrt(b.Bf(E)),a.push(b)}}return this.cq}},flattenedTotalLength:{get:function(){var a=this.vt;if(isNaN(a)){for(var y=this.flattenedLengths,x=y.length,b=a=0;bthis.pointsCount)return this.lk=!0,this.ua;this.ua=this.makeGeometry()}return this.ua}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!rp(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var a=this.pointsCount;return a===0?0:2>=a?a-1:this.isOrthogonal||!rp(this.computeSpot(!1))?a-2:a-1}},adjusting:{get:function(){return this.qk},set:function(a){var y=this.qk;y!==a&&(this.qk=a,this.g("adjusting",y,a))}},corner:{get:function(){return this.Om},set:function(a){var y=this.Om;y!==a&&(this.Om=a,this.qc(),this.g("corner",y,a))}},curve:{get:function(){return this.Qm},set:function(a){var y=this.Qm;y!==a&&(this.Qm=a,this.bb(),this.qc(),g0(this,y===Wh||y===op||a===Wh||a===op),this.g("curve",y,a))}},curviness:{get:function(){return this.Rm},set:function(a){var y=this.Rm;y!==a&&(this.Rm=a,this.bb(),this.qc(),this.g("curviness",y,a))}},routing:{get:function(){return this.qj},set:function(a){var y=this.qj;y!==a&&(this.qj=a,this.Wf=null,this.bb(),g0(this,(y.value&2)===2||(a.value&2)===2),this.g("routing",y,a))}},smoothness:{get:function(){return this.po},set:function(a){var y=this.po;y!==a&&(this.po=a,this.qc(),this.g("smoothness",y,a))}},key:{get:function(){var a=this.diagram;if(a!==null&&a.model.ri())return a.model.Ac(this.data)}}}),yi.prototype.invalidateOtherJumpOvers=yi.prototype.Xo,yi.prototype.findClosestSegment=yi.prototype.ez,yi.prototype.updateRoute=yi.prototype.vg,yi.prototype.invalidateRoute=yi.prototype.bb,yi.prototype.rollbackRoute=yi.prototype.rv,yi.prototype.commitRoute=yi.prototype.zf,yi.prototype.startRoute=yi.prototype.uh,yi.prototype.clearPoints=yi.prototype.Fj,yi.prototype.removePoint=yi.prototype.pv,yi.prototype.addPointAt=yi.prototype.yf,yi.prototype.addPoint=yi.prototype.ne,yi.prototype.insertPointAt=yi.prototype.m,yi.prototype.insertPoint=yi.prototype.Kz,yi.prototype.setPointAt=yi.prototype.L,yi.prototype.setPoint=yi.prototype.dd,yi.prototype.getPoint=yi.prototype.i,yi.prototype.getOtherPort=yi.prototype.Cz,yi.prototype.getOtherNode=yi.prototype.To;var wf=null,Ef=null,sy=new tn(yi,"Normal",1),F1=new tn(yi,"Orthogonal",2),B1=new tn(yi,"AvoidsNodes",6),ox=new tn(yi,"AvoidsNodesStraight",7),Eu=new tn(yi,"None",0),wc=new tn(yi,"Bezier",9),Wh=new tn(yi,"JumpGap",10),op=new tn(yi,"JumpOver",11),Vp=new tn(yi,"End",17),f0=new tn(yi,"Scale",18),p0=new tn(yi,"Stretch",19),Kp=new tn(yi,"OrientAlong",21),Yp=new tn(yi,"OrientPlus90",22),$p=new tn(yi,"OrientMinus90",23),ly=new tn(yi,"OrientOpposite",24),m0=new tn(yi,"OrientUpright",25),Xp=new tn(yi,"OrientPlus90Upright",26),Qp=new tn(yi,"OrientMinus90Upright",27),v0=new tn(yi,"OrientUpright45",28),ax=16,sx=14,Jp=8;yi.className="Link",yi.Normal=sy,yi.Orthogonal=F1,yi.AvoidsNodes=B1,yi.AvoidsNodesStraight=ox,yi.None=Eu,yi.Bezier=wc,yi.JumpGap=Wh,yi.JumpOver=op,yi.End=Vp,yi.Scale=f0,yi.Stretch=p0,yi.OrientAlong=Kp,yi.OrientPlus90=Yp,yi.OrientMinus90=$p,yi.OrientOpposite=ly,yi.OrientUpright=m0,yi.OrientPlus90Upright=Xp,yi.OrientMinus90Upright=Qp,yi.OrientUpright45=v0,yi.EndSegmentStep=8,yi.CurvinessStart=ax,yi.SpacingMin=sx,yi.OrthoShortCut=Jp;function y0(a,y,x,b){kr(this),this.Fe=this.qq=!1,this.Ds=a,this.Ox=y,this.cv=x,this.Px=b,this.links=[]}y0.prototype.Sl=function(){if(!this.qq){var a=this.links;0=a.width||0>=a.height)){var y=a.y,x=a.x+a.width,b=a.y+a.height;if(this.Nd=Math.floor((a.x-this.rc)/this.rc)*this.rc,this.Od=Math.floor((y-this.sc)/this.sc)*this.sc,this.En=Math.ceil((x+2*this.rc)/this.rc)*this.rc,this.Fn=Math.ceil((b+2*this.sc)/this.sc)*this.sc,a=1+(Math.ceil((this.En-this.Nd)/this.rc)|0),y=1+(Math.ceil((this.Fn-this.Od)/this.sc)|0),this.ac===null||this.di=qg&&(x[b]=uy)}qp.prototype.Yj=function(a,y,x,b){if(a>this.En||a+xthis.Fn||y+ba&&(x+=a,a=0),0>y&&(E+=y,y=0),0>x||0>E)return!0;for(b=Math.min(a+x-1,this.di)|0,x=Math.min(y+E-1,this.ei)|0;a<=b;a++){E=this.ac[a];for(var z=y;z<=x;z++)if(E[z]===Zh)return!1}return!0};function Jd(a,y,x,b,E,z,te,re,le){if(!(yte||xle)){var ce=y|0,de=x|0,ve=a.ac[ce][de];if(ve>=qg&&ve=a.ac[ce][de]);)a.ac[ce][de]=ve,ve+=1,E?de+=b:ce+=b;if(ce=E?de:ce,E)if(0ce;x+=b)Jd(a,y,x,1,!E,z,te,re,le),Jd(a,y,x,-1,!E,z,te,re,le);else if(0ce;y+=b)Jd(a,y,x,1,!E,z,te,re,le),Jd(a,y,x,-1,!E,z,te,re,le)}}function S0(a,y,x,b,E,z,te,re,le){y|=0,x|=0;var ce=Zh,de=qg;for(a.ac[y][x]=de;ce===Zh&&y>z&&yre&&xz&&yre&&x=Math.abs(re-ce)&&1>=Math.abs(le-de))a.abort=!0;else{var ve=z.x;b=z.y,y=z.x+z.width;var Pe=z.y+z.height;ve-=a.Nd,ve/=a.rc,b-=a.Od,b/=a.sc,y-=a.Nd,y/=a.rc,Pe-=a.Od,Pe/=a.sc,z=Math.max(0,Math.min(a.di,ve|0)),y=Math.min(a.di,Math.max(0,y|0)),ve=Math.max(0,Math.min(a.ei,b|0)),Pe=Math.min(a.ei,Math.max(0,Pe|0)),b=a.ac,re|=0,le|=0,ce|=0,de|=0;var Le=x===0||x===90?1:-1;if(x=x===90||x===270,b[re][le]===Zh?(S0(a,re,le,Le,x,z,y,ve,Pe),S0(a,re,le,1,!x,z,y,ve,Pe),S0(a,re,le,-1,!x,z,y,ve,Pe)):S0(a,re,le,Le,x,re,le,re,le),b[ce][de]===Zh?(x0(a,ce,de,E===0||E===90?1:-1,E===90||E===270,z,y,ve,Pe),x0(a,ce,de,1,!(E===90||E===270),z,y,ve,Pe),x0(a,ce,de,-1,!(E===90||E===270),z,y,ve,Pe)):x0(a,ce,de,Le,x,ce,de,ce,de),x=gn(),te&&cx(a,ce,de,E,re,le,x))for((x[0]!==ce||x[1]!==de)&&(x.unshift(de),x.unshift(ce)),(x[x.length-2]!==re||x[x.length-1]!==le)&&(x.push(re),x.push(le)),a=qg,E=x[x.length-2],te=x[x.length-1],b[E][te]=a++,z=x.length-4;0<=z;z-=2)for(E=x[z+2],te=x[z+3],y=x[z],ce=x[z+1];y>E?E++:yte?te++:ceE)de--;else break;else if(ve>z)ve--;else break;var Pe=re[de][ve];if(Pe===0||Pe===cy)break;le=de,ce=ve}for(;;){if(de=b,ve=le,Pe=ce,b===0?Pez&&(de=270,Pe--):b===90?veE&&(de=180,ve--):b===180?Pez&&(de=270,Pe--):veE&&(de=180,ve--),ve=re[ve][Pe],de!==b&&ve!==0&&ve!==cy){if(te.push(le),te.push(ce),cx(a,le,ce,de,E,z,te))return!0;te.pop(),te.pop()}if(re[le][ce]=cy,b===0){if(le===y)return!1;le--}else if(b===90){if(ce===x)return!1;ce--}else if(b===180){if(le===y)return!1;le++}else{if(ce===x)return!1;ce++}}}Nt.Object.defineProperties(qp.prototype,{bounds:{get:function(){return new jn(this.Nd,this.Od,this.En-this.Nd,this.Fn-this.Od)}},Ho:{get:function(){return this.rc},set:function(a){0=x?180:0}switch(a=180*Math.atan2(a.height,a.width)/Math.PI,y){case 3:return x>a&&x<=180+a?180:270;case 5:return x>180-a&&x<=360-a?270:0;case 12:return x>a&&x<=180+a?90:0;case 10:return x>180-a&&x<=360-a?180:90;case 7:return 90180+a&&x<=360-a?270:0;case 13:return 180a&&180>=x?90:0;case 14:return x>a&&x<=180-a?90:x>180-a&&270>=x?180:0;case 11:return x>180-a&&x<=180+a?180:x>180+a?270:90}return b&&y!==15&&(x-=15,0>x&&(x+=360)),x>a&&x<180-a?90:x>=180-a&&x<=180+a?180:x>180+a&&x<360-a?270:0}Cf.prototype.Sl=function(){this.pe.length=0};function dx(a,y){var x=a.pe;if(x.length===0){e:if(!a.ap){x=a.ap,a.ap=!0;var b=null,E=a.node,z=E instanceof _r?E:null;if(z===null||z.isSubGraphExpanded)var te=E.isTreeExpanded?E.findLinksConnected(a.port.portId):E.qx();else{if(!z.actualBounds.w()){a.ap=x;break e}b=z,te=b.Lu()}z=a.pe.length=0;var re=a.port.ga(Hs,lt.alloc()),le=a.port.ga(Fl,lt.alloc());for(E=jn.allocAt(re.x,re.y,0,0),E.Ye(le),lt.free(re),lt.free(le),re=lt.allocAt(E.x+E.width/2,E.y+E.height/2),le=a.port.li(),te=te.iterator;te.next();){var ce=te.value;if(ce.isVisible()&&ce.fromPort!==ce.toPort){var de=ce.fromPort===a.port||ce.fromNode!==null&&ce.fromNode.Td(b),ve=ce.computeSpot(de,a.port);if(ve.$c()&&(de=de?ce.toPort:ce.fromPort,de!==null)){var Pe=de.part;if(Pe!==null){var Le=Pe.findVisibleNode();Le!==null&&Le!==Pe&&(Pe=Le,de=Pe.port),de=ce.computeOtherPoint(Pe,de),Pe=re.ab(de),Pe-=le,0>Pe?Pe+=360:360<=Pe&&(Pe-=360),ve=j1(E,ve,Pe,ce.isOrthogonal),ve===0?(ve=4,180Pe&&(Pe+=360)),Le=a.pe[z],Le===void 0?(Le=new dy(ce,Pe,ve),a.pe[z]=Le):(Le.link=ce,Le.angle=Pe,Le.Nc=ve),Le.hv.set(de),z++}}}}for(lt.free(re),a.pe.sort(Cf.prototype.j),le=a.pe.length,b=-1,z=re=0;zMath.abs(Ze)?(Ct=Math.abs(Ze)/Pe,Pe=Math.abs(Ze)):Ct=1;break;case 2:Le>Math.abs(Lt)?(Ct=Math.abs(Lt)/Le,Le=Math.abs(Lt)):Ct=1;break;case 1:ve>Math.abs(Ze)?(Ct=Math.abs(Ze)/ve,ve=Math.abs(Ze)):Ct=1;break;default:case 4:de>Math.abs(Lt)?(Ct=Math.abs(Lt)/de,de=Math.abs(Lt)):Ct=1}at=0}var vn=Dt.Zo;if(b===ey){switch(Dt=Dt.link.computeThickness(),Dt*=Ct,vn.set(Kt),Fe){case 8:vn.x=Kt.x+Ze/2+Pe/2-at-Dt/2;break;case 2:vn.y=Kt.y+Lt/2+Le/2-at-Dt/2;break;case 1:vn.x=Kt.x+Ze/2-ve/2+at+Dt/2;break;default:case 4:vn.y=Kt.y+Lt/2-de/2+at+Dt/2}at+=Dt}else{var Pi=.5;b===l0&&(Pi=(Dt.Uo+1)/(Dt.Gl+1)),vn.x=Kt.x+Ze*Pi,vn.y=Kt.y+Lt*Pi}}}for(lt.free(re),lt.free(le),lt.free(te),lt.free(ce),Kt=a.pe,z=0;zy.Nc?1:a.angley.angle?1:0},Cf.prototype.computeEndSegmentLength=function(a){var y=a.link,x=y.computeEndSegmentLength(this.node,this.port,is,y.fromPort===this.port),b=a.Uo;if(0>b)return x;var E=a.Gl;if(1>=E||!y.isOrthogonal)return x;y=a.hv;var z=a.Zo;return(a.Nc===2||a.Nc===8)&&(b=E-1-b),((a=a.Nc===2||a.Nc===4)?y.y=y-1?(z=0,b=x,E+=te+20,te=0):z++}},Wa.prototype.doMinimalNetworkLayout=function(){var a=Math.ceil(Math.sqrt(this.network.vertexes.count));this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);for(var y=this.arrangementOrigin.x,x=y,b=this.arrangementOrigin.y,E=0,z=0,te=this.network.vertexes.iterator;te.next();){var re=te.value.node;if(!(re===null||re instanceof yi)&&(em(re),this.rh(re))){var le=re.measuredBounds,ce=le.width;le=le.height,re.moveTo(x,b),re instanceof _r&&(re.rh=!1),x+=Math.max(ce,50)+20,z=Math.max(z,Math.max(le,50)),E>=a-1?(E=0,x=y,b+=z+20,z=0):E++}}},Wa.prototype.rh=function(a){return!!(!a.location.w()||a instanceof _r&&a.rh)};function mg(a,y,x,b,E,z,te,re){for(x=x.iterator;x.next();){var le=x.value;b&&!le.isTopLevel||E!==null&&!E(le)||!le.canLayout()||(z&&le instanceof Li?le.isLinkLabel||(le instanceof _r&&le.layout===null?mg(a,y,le.memberParts,!1,E,z,te,re):(em(le),y.add(le))):te&&le instanceof yi?y.add(le):!re||!le.Zc()||le instanceof Li||(em(le),y.add(le)))}}function em(a){var y=a.actualBounds;(y.width===0||y.height===0||isNaN(y.width)||isNaN(y.height))&&a.Va()}Wa.prototype.ni=function(a,y){var x=this.boundsComputation;return x!==null?(y||(y=new jn),x(a,this,y)):y?(y.set(a.actualBounds),y):a.actualBounds},Wa.prototype.ex=function(a){var y=new Fn;return a instanceof pn?(mg(this,y,a.nodes,!0,null,!0,!0,!0),mg(this,y,a.links,!0,null,!0,!0,!0),mg(this,y,a.parts,!0,null,!0,!0,!0)):a instanceof _r?mg(this,y,a.memberParts,!1,null,!0,!0,!0):mg(this,y,a.iterator,!1,null,!0,!0,!0),y},Wa.prototype.initialOrigin=function(a){var y=this.group;if(y!==null){var x=y.position.copy();return(isNaN(x.x)||isNaN(x.y))&&x.set(a),y=y.placeholder,y!==null&&(x=y.ga(Hs),(isNaN(x.x)||isNaN(x.y))&&x.set(a),a=y.padding,x.x+=a.left,x.y+=a.top),x}return a},Nt.Object.defineProperties(Wa.prototype,{diagram:{get:function(){return this.H},set:function(a){this.H=a}},group:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a,a!==null&&(this.H=a.diagram))}},isOngoing:{get:function(){return this.sn},set:function(a){this.sn!==a&&(this.sn=a)}},isInitial:{get:function(){return this.Gh},set:function(a){this.Gh=a,a||(this.xn=!0)}},isViewportSized:{get:function(){return this.yn},set:function(a){this.yn!==a&&(this.yn=a)&&this.C()}},isRouting:{get:function(){return this.vn},set:function(a){this.vn!==a&&(this.vn=a)}},isRealtime:{get:function(){return this.un},set:function(a){this.un!==a&&(this.un=a)}},isValidLayout:{get:function(){return this.xn},set:function(a){this.xn!==a&&(this.xn=a,a||(a=this.diagram,a!==null&&(a.xh=!0)))}},network:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a,a!==null&&(a.layout=this))}},boundsComputation:{get:function(){return this.Em},set:function(a){this.Em!==a&&(this.Em=a,this.C())}},arrangementOrigin:{get:function(){return this.Am},set:function(a){this.Am.D(a)||(this.Am.assign(a),this.C())}}}),Wa.prototype.collectParts=Wa.prototype.ex,Wa.prototype.getLayoutBounds=Wa.prototype.ni,Wa.prototype.invalidateLayout=Wa.prototype.C,Wa.className="Layout";function Aa(a){kr(this),this.Sc=a,this.wf=new Fn,this.ye=new Fn,this.Es=new Ii,this.zs=new Ii}Aa.prototype.clear=function(){if(this.wf)for(var a=this.wf.iterator;a.next();)a.value.clear();if(this.ye)for(a=this.ye.iterator;a.next();)a.value.clear();this.wf=new Fn,this.ye=new Fn,this.Es=new Ii,this.zs=new Ii},Aa.prototype.toString=function(a){a===void 0&&(a=0);var y="LayoutNetwork"+(this.layout!==null?"("+this.layout.toString()+")":"");if(0>=a)return y;if(y+=" vertexes: "+this.wf.count+" edges: "+this.ye.count,1y?1:0):1:y!==null?-1:0}Nt.Object.defineProperties(il.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(a){if(this.ub=a,a!==null&&a.bounds){var y=a.bounds;a=y.x;var x=y.y,b=y.width;y=y.height,this.o.h(b/2,y/2),this.j.h(a,x,b,y)}}},node:{get:function(){return this.Sh},set:function(a){if(this.Sh!==a){this.Sh=a,a.Va();var y=this.network.layout,x=jn.alloc(),b=y.ni(a,x);y=b.x;var E=b.y,z=b.width;if(b=b.height,isNaN(y)&&(y=0),isNaN(E)&&(E=0),this.j.h(y,E,z,b),jn.free(x),!(a instanceof Ur)&&(a=a.locationObject.ga(wo),a.w())){this.o.h(a.x-y,a.y-E);return}this.o.h(z/2,b/2)}}},bounds:{get:function(){return this.j},set:function(a){this.j.D(a)||this.j.assign(a)}},focus:{get:function(){return this.o},set:function(a){this.o.D(a)||this.o.assign(a)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(a){var y=this.j;y.x+this.o.x!==a&&(y.ka(),y.x=a-this.o.x,y.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(a){var y=this.j;y.y+this.o.y!==a&&(y.ka(),y.y=a-this.o.y,y.freeze())}},focusX:{get:function(){return this.o.x},set:function(a){var y=this.o;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},focusY:{get:function(){return this.o.y},set:function(a){var y=this.o;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},x:{get:function(){return this.j.x},set:function(a){var y=this.j;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},y:{get:function(){return this.j.y},set:function(a){var y=this.j;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},width:{get:function(){return this.j.width},set:function(a){var y=this.j;y.width!==a&&(y.ka(),y.width=a,y.freeze())}},height:{get:function(){return this.j.height},set:function(a){var y=this.j;y.height!==a&&(y.ka(),y.height=a,y.freeze())}},network:{get:function(){return this.ob},set:function(a){this.ob=a}},sourceVertexes:{get:function(){for(var a=new Fn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);return a.iterator}},destinationVertexes:{get:function(){for(var a=new Fn,y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},vertexes:{get:function(){for(var a=new Fn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);for(y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var a=new Gt,y=this.sourceEdges;y.next();)a.add(y.value);for(y=this.destinationEdges;y.next();)a.add(y.value);return a.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),il.prototype.deleteDestinationEdge=il.prototype.Jl,il.prototype.addDestinationEdge=il.prototype.zl,il.prototype.deleteSourceEdge=il.prototype.Kl,il.prototype.addSourceEdge=il.prototype.Cl,il.className="LayoutVertex",il.standardComparer=py,il.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.Sh;var x=y.Sh;if(a!==null){if(x!==null){for(y=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),a=x.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),x=0;x "+(this.qd?this.qd.toString():"null"))),y},fc.prototype.gm=function(){var a=this.kd;this.kd=this.qd,this.qd=a},fc.prototype.commit=function(){},fc.prototype.Ax=function(a){return this.qd===a?this.kd:this.kd===a?this.qd:null},Nt.Object.defineProperties(fc.prototype,{network:{get:function(){return this.nb},set:function(a){this.nb=a}},data:{get:function(){return this.ub},set:function(a){this.ub!==a&&(this.ub=a)}},link:{get:function(){return this.$k},set:function(a){this.$k!==a&&(this.$k=a)}},fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}}}),fc.prototype.getOtherVertex=fc.prototype.Ax,fc.className="LayoutEdge";function Ol(a){Wa.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new fi(NaN,NaN).freeze(),this.tf=new fi(10,10).freeze(),this.Jb=tm,this.Rb=w0,this.nd=nm,this.hd=gx,a&&Object.assign(this,a)}qt(Ol,Wa),Ol.prototype.cloneProtected=function(a){Wa.prototype.cloneProtected.call(this,a),a.zo=this.zo,a.yo=this.yo,a.yg.assign(this.yg),a.tf.assign(this.tf),a.Jb=this.Jb,a.Rb=this.Rb,a.nd=this.nd,a.hd=this.hd},Ol.prototype.qb=function(a){a.classType===Ol?a===nm||a===C0||a===my||a===E0?this.sorting=a:a===w0||a===bd?this.arrangement=a:a===tm||a===b0?this.alignment=a:bt("Unknown enum value: "+a):Wa.prototype.qb.call(this,a)},Ol.prototype.doLayout=function(a){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var y=this.ex(a);a=this.diagram;for(var x=y.copy().iterator;x.next();){var b=x.value;if(!b.ph()||b.fromNode===null&&b.toNode===null){if(b.Va(),b instanceof Ur)for(b=b.memberParts;b.next();)y.remove(b.value)}else y.remove(b)}var E=y.Fa();if(E.length!==0){switch(this.sorting){case E0:E.reverse();break;case nm:E.sort(this.comparer);break;case C0:E.sort(this.comparer),E.reverse()}var z=this.wrappingColumn;isNaN(z)&&(z=0);var te=this.wrappingWidth;switch(isNaN(te)&&a!==null?(y=a.padding,te=Math.max(a.viewportBounds.width-y.left-y.right,0)):te=Math.max(this.wrappingWidth,0),0>=z&&0>=te&&(z=1),y=this.spacing.width,isFinite(y)||(y=0),x=this.spacing.height,isFinite(x)||(x=0),a!==null&&a.Ea("Layout"),b=[],this.alignment){case b0:var re=y,le=x,ce=jn.alloc(),de=Math.max(this.cellSize.width,1);if(!isFinite(de))for(var ve=de=0;vez-1||0te)&&(b.push(new jn(0,Ze,te+re,at)),pt=0,Fe=Le,Ze+=at,at=0),at=Math.max(at,vn),Pe){case bd:Dt=-Dt.width;break;default:Dt=0}switch(Lt.moveTo(Fe+Dt,Ze),Pe){case bd:Fe-=Kt;break;default:Fe+=Kt}pt++}b.push(new jn(0,Ze,te+re,at)),jn.free(ce);break;case tm:for(le=te,de=z,ve=y,Pe=x,te=jn.alloc(),Le=Math.max(this.cellSize.width,1),z=Ze=ce=0,re=lt.alloc(),Fe=0;Fe=ce&&(le-=ce),ce=Lt=0,Kt=Math.max(this.cellSize.height,1),Dt=z=0,vn=!0,pt=lt.alloc(),Pi=0;Pide-1||0le){for(b.push(new jn(0,vn?Ct-z:Ct,le+ve,Dt+z+Pe)),ji=0;jice&&(z.width+=z.x-ce,z.x=ce);jn.free(te)}for(re=z=te=E=0;rey?1:0}Nt.Object.defineProperties(Ol.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(a){this.zo!==a&&(0ve)){var Ze=ve+Bp(Fe);Fe.pc(Ze,!0),Iv(Fe,Ze,ve)}}y.isModified=!0}}finally{y.aa=!0}}}}},na.prototype.updateAllTargetBindings=function(a){a===void 0&&(a="");for(var y=this.parts.iterator;y.next();)y.value.La(a);for(y=this.nodes.iterator;y.next();)y.value.La(a);for(y=this.links.iterator;y.next();)y.value.La(a)},na.prototype.rp=function(){for(var a=this.H.model,y=new Fn,x=a.nodeDataArray,b=0;by?1:0):1:y!==null?-1:0}Nt.Object.defineProperties(il.prototype,{sourceEdgesArrayAccess:{get:function(){return this.tg._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.mg._dataArray}},data:{get:function(){return this.ub},set:function(a){if(this.ub=a,a!==null&&a.bounds){var y=a.bounds;a=y.x;var x=y.y,b=y.width;y=y.height,this.o.h(b/2,y/2),this.j.h(a,x,b,y)}}},node:{get:function(){return this.Sh},set:function(a){if(this.Sh!==a){this.Sh=a,a.Va();var y=this.network.layout,x=jn.alloc(),b=y.ni(a,x);y=b.x;var E=b.y,z=b.width;if(b=b.height,isNaN(y)&&(y=0),isNaN(E)&&(E=0),this.j.h(y,E,z,b),jn.free(x),!(a instanceof _r)&&(a=a.locationObject.ga(wo),a.w())){this.o.h(a.x-y,a.y-E);return}this.o.h(z/2,b/2)}}},bounds:{get:function(){return this.j},set:function(a){this.j.D(a)||this.j.assign(a)}},focus:{get:function(){return this.o},set:function(a){this.o.D(a)||this.o.assign(a)}},centerX:{get:function(){return this.j.x+this.o.x},set:function(a){var y=this.j;y.x+this.o.x!==a&&(y.ka(),y.x=a-this.o.x,y.freeze())}},centerY:{get:function(){return this.j.y+this.o.y},set:function(a){var y=this.j;y.y+this.o.y!==a&&(y.ka(),y.y=a-this.o.y,y.freeze())}},focusX:{get:function(){return this.o.x},set:function(a){var y=this.o;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},focusY:{get:function(){return this.o.y},set:function(a){var y=this.o;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},x:{get:function(){return this.j.x},set:function(a){var y=this.j;y.x!==a&&(y.ka(),y.x=a,y.freeze())}},y:{get:function(){return this.j.y},set:function(a){var y=this.j;y.y!==a&&(y.ka(),y.y=a,y.freeze())}},width:{get:function(){return this.j.width},set:function(a){var y=this.j;y.width!==a&&(y.ka(),y.width=a,y.freeze())}},height:{get:function(){return this.j.height},set:function(a){var y=this.j;y.height!==a&&(y.ka(),y.height=a,y.freeze())}},network:{get:function(){return this.ob},set:function(a){this.ob=a}},sourceVertexes:{get:function(){for(var a=new Fn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);return a.iterator}},destinationVertexes:{get:function(){for(var a=new Fn,y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},vertexes:{get:function(){for(var a=new Fn,y=this.sourceEdges;y.next();)a.add(y.value.fromVertex);for(y=this.destinationEdges;y.next();)a.add(y.value.toVertex);return a.iterator}},sourceEdges:{get:function(){return this.tg.iterator}},destinationEdges:{get:function(){return this.mg.iterator}},edges:{get:function(){for(var a=new Ht,y=this.sourceEdges;y.next();)a.add(y.value);for(y=this.destinationEdges;y.next();)a.add(y.value);return a.iterator}},edgesCount:{get:function(){return this.tg.count+this.mg.count}}}),il.prototype.deleteDestinationEdge=il.prototype.Jl,il.prototype.addDestinationEdge=il.prototype.zl,il.prototype.deleteSourceEdge=il.prototype.Kl,il.prototype.addSourceEdge=il.prototype.Cl,il.className="LayoutVertex",il.standardComparer=py,il.smartComparer=function(a,y){if(a!==null){if(y!==null){a=a.Sh;var x=y.Sh;if(a!==null){if(x!==null){for(y=a.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),a=x.text.toLocaleLowerCase().split(/([+-]?[.]?\d+(?:\.\d*)?(?:e[+-]?\d+)?)/),x=0;x "+(this.qd?this.qd.toString():"null"))),y},fc.prototype.gm=function(){var a=this.kd;this.kd=this.qd,this.qd=a},fc.prototype.commit=function(){},fc.prototype.Ax=function(a){return this.qd===a?this.kd:this.kd===a?this.qd:null},Nt.Object.defineProperties(fc.prototype,{network:{get:function(){return this.nb},set:function(a){this.nb=a}},data:{get:function(){return this.ub},set:function(a){this.ub!==a&&(this.ub=a)}},link:{get:function(){return this.$k},set:function(a){this.$k!==a&&(this.$k=a)}},fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}}}),fc.prototype.getOtherVertex=fc.prototype.Ax,fc.className="LayoutEdge";function Ol(a){Wa.call(this),this.isViewportSized=!0,this.yo=this.zo=NaN,this.yg=new fi(NaN,NaN).freeze(),this.tf=new fi(10,10).freeze(),this.Jb=tm,this.Rb=w0,this.nd=nm,this.hd=gx,a&&Object.assign(this,a)}qt(Ol,Wa),Ol.prototype.cloneProtected=function(a){Wa.prototype.cloneProtected.call(this,a),a.zo=this.zo,a.yo=this.yo,a.yg.assign(this.yg),a.tf.assign(this.tf),a.Jb=this.Jb,a.Rb=this.Rb,a.nd=this.nd,a.hd=this.hd},Ol.prototype.qb=function(a){a.classType===Ol?a===nm||a===C0||a===my||a===E0?this.sorting=a:a===w0||a===bd?this.arrangement=a:a===tm||a===b0?this.alignment=a:bt("Unknown enum value: "+a):Wa.prototype.qb.call(this,a)},Ol.prototype.doLayout=function(a){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var y=this.ex(a);a=this.diagram;for(var x=y.copy().iterator;x.next();){var b=x.value;if(!b.ph()||b.fromNode===null&&b.toNode===null){if(b.Va(),b instanceof _r)for(b=b.memberParts;b.next();)y.remove(b.value)}else y.remove(b)}var E=y.Fa();if(E.length!==0){switch(this.sorting){case E0:E.reverse();break;case nm:E.sort(this.comparer);break;case C0:E.sort(this.comparer),E.reverse()}var z=this.wrappingColumn;isNaN(z)&&(z=0);var te=this.wrappingWidth;switch(isNaN(te)&&a!==null?(y=a.padding,te=Math.max(a.viewportBounds.width-y.left-y.right,0)):te=Math.max(this.wrappingWidth,0),0>=z&&0>=te&&(z=1),y=this.spacing.width,isFinite(y)||(y=0),x=this.spacing.height,isFinite(x)||(x=0),a!==null&&a.Ea("Layout"),b=[],this.alignment){case b0:var re=y,le=x,ce=jn.alloc(),de=Math.max(this.cellSize.width,1);if(!isFinite(de))for(var ve=de=0;vez-1||0te)&&(b.push(new jn(0,Ze,te+re,at)),pt=0,Fe=Le,Ze+=at,at=0),at=Math.max(at,vn),Pe){case bd:Dt=-Dt.width;break;default:Dt=0}switch(Lt.moveTo(Fe+Dt,Ze),Pe){case bd:Fe-=Kt;break;default:Fe+=Kt}pt++}b.push(new jn(0,Ze,te+re,at)),jn.free(ce);break;case tm:for(le=te,de=z,ve=y,Pe=x,te=jn.alloc(),Le=Math.max(this.cellSize.width,1),z=Ze=ce=0,re=lt.alloc(),Fe=0;Fe=ce&&(le-=ce),ce=Lt=0,Kt=Math.max(this.cellSize.height,1),Dt=z=0,vn=!0,pt=lt.alloc(),Pi=0;Pide-1||0le){for(b.push(new jn(0,vn?Ct-z:Ct,le+ve,Dt+z+Pe)),ji=0;jice&&(z.width+=z.x-ce,z.x=ce);jn.free(te)}for(re=z=te=E=0;rey?1:0}Nt.Object.defineProperties(Ol.prototype,{wrappingWidth:{get:function(){return this.zo},set:function(a){this.zo!==a&&(0ve)){var Ze=ve+Bp(Fe);Fe.pc(Ze,!0),Iv(Fe,Ze,ve)}}y.isModified=!0}}finally{y.aa=!0}}}}},na.prototype.updateAllTargetBindings=function(a){a===void 0&&(a="");for(var y=this.parts.iterator;y.next();)y.value.La(a);for(y=this.nodes.iterator;y.next();)y.value.La(a);for(y=this.links.iterator;y.next();)y.value.La(a)},na.prototype.rp=function(){for(var a=this.H.model,y=new Fn,x=a.nodeDataArray,b=0;b=b)return"[]";var E=new Bi;E.add("["),x&&1=b)return"[]";var E=new Bi;E.add("["),x&&1b)return;wn(a.Tc,b)}Js(a,"nodeDataArray",ms,"nodeDataArray",a,y,null,b,null),a.qp(y)}Ue.nA=function(a){if(yn(a))for(var y=a.length,x=0;xy&&(y=a.length),un(a,y,x),Js(this,"",Ka,"",a,null,x,null,y)},Ue.ov=function(a,y){y===void 0&&(y=-1),a===this.Tc&&bt("Model.removeArrayItem should not be called on the Model.nodeDataArray"),y===-1&&(y=a.length-1);var x=a[y];wn(a,y),Js(this,"",ms,"",a,x,null,y,null)},Ue.Ro=function(a){if(a===null)return"";var y=this.lj;if(y===""||(y=Fs(a,y),y===void 0))return"";if(typeof y=="string")return y;bt("getCategoryForNodeData found a non-string category for "+a+": "+y)},Ue.jm=function(a,y){if(a!==null){var x=this.lj;if(x!=="")if(this.lb(a)){var b=Fs(a,x);b===void 0&&(b=""),b!==y&&(Ga(a,x,y),Js(this,"nodeCategory",Ma,x,a,b,y))}else Ga(a,x,y)}},Ue.lm=function(a,y){this.jm(y,this.Ro(a))},Ue.Tl=function(){return!1},Ue.Wj=function(){return!1},Ue.ri=function(){return!1},Ue.xs=function(){return!1},Ue.Xj=function(){return!1};function by(){return new Wi}function rm(a,y){if(typeof y=="function"){if(y.className)return y.className;if(y.name)return y.name}else if(typeof y=="object"&&y!==null&&y.constructor)return rm(a,y.constructor);return typeof y}function wy(a){return cd[a]?cd[a]:yt.go!==void 0&&yt.go[a]?yt.go[a]:null}function Fs(a,y){if(!a||!y)return null;try{if(typeof y=="function")var x=y(a);else typeof a.getAttribute=="function"?(x=a.getAttribute(y),x===null&&(x=void 0)):x=a[y]}catch(b){}return x}function Ga(a,y,x){if(a&&y)try{typeof y=="function"?y(a,x):typeof a.setAttribute=="function"?a.setAttribute(y,x):a[y]=x}catch(b){}}Nt.Object.defineProperties(Wi.prototype,{name:{get:function(){return this.xa},set:function(a){var y=this.xa;y!==a&&(this.xa=a,this.g("name",y,a))}},dataFormat:{get:function(){return this.Sm},set:function(a){var y=this.Sm;y!==a&&(this.Sm=a,this.g("dataFormat",y,a))}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},modelData:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.g("modelData",y,a),this.La(a))}},undoManager:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&(y!==null&&y.Rx(this),this.o=a,a!==null&&a.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a}},nodeKeyProperty:{get:function(){return this.Th},set:function(a){var y=this.Th;y!==a&&(a===""&&bt("Model.nodeKeyProperty may not be the empty string"),0b)return;wn(a.Tc,b)}Js(a,"nodeDataArray",ms,"nodeDataArray",a,y,null,b,null),a.qp(y)}Ue.nA=function(a){if(yn(a))for(var y=a.length,x=0;xy&&(y=a.length),un(a,y,x),Js(this,"",Ka,"",a,null,x,null,y)},Ue.ov=function(a,y){y===void 0&&(y=-1),a===this.Tc&&bt("Model.removeArrayItem should not be called on the Model.nodeDataArray"),y===-1&&(y=a.length-1);var x=a[y];wn(a,y),Js(this,"",ms,"",a,x,null,y,null)},Ue.Ro=function(a){if(a===null)return"";var y=this.lj;if(y===""||(y=Fs(a,y),y===void 0))return"";if(typeof y=="string")return y;bt("getCategoryForNodeData found a non-string category for "+a+": "+y)},Ue.jm=function(a,y){if(a!==null){var x=this.lj;if(x!=="")if(this.lb(a)){var b=Fs(a,x);b===void 0&&(b=""),b!==y&&(Ga(a,x,y),Js(this,"nodeCategory",Ma,x,a,b,y))}else Ga(a,x,y)}},Ue.lm=function(a,y){this.jm(y,this.Ro(a))},Ue.Tl=function(){return!1},Ue.Wj=function(){return!1},Ue.ri=function(){return!1},Ue.xs=function(){return!1},Ue.Xj=function(){return!1};function by(){return new Wi}function rm(a,y){if(typeof y=="function"){if(y.className)return y.className;if(y.name)return y.name}else if(typeof y=="object"&&y!==null&&y.constructor)return rm(a,y.constructor);return typeof y}function wy(a){return cd[a]?cd[a]:yt.go!==void 0&&yt.go[a]?yt.go[a]:null}function Fs(a,y){if(!a||!y)return null;try{if(typeof y=="function")var x=y(a);else typeof a.getAttribute=="function"?(x=a.getAttribute(y),x===null&&(x=void 0)):x=a[y]}catch(b){}return x}function Ga(a,y,x){if(a&&y)try{typeof y=="function"?y(a,x):typeof a.setAttribute=="function"?a.setAttribute(y,x):a[y]=x}catch(b){}}Nt.Object.defineProperties(Wi.prototype,{name:{get:function(){return this.xa},set:function(a){var y=this.xa;y!==a&&(this.xa=a,this.g("name",y,a))}},dataFormat:{get:function(){return this.Sm},set:function(a){var y=this.Sm;y!==a&&(this.Sm=a,this.g("dataFormat",y,a))}},isReadOnly:{get:function(){return this.Gg},set:function(a){var y=this.Gg;y!==a&&(this.Gg=a,this.g("isReadOnly",y,a))}},modelData:{get:function(){return this.j},set:function(a){var y=this.j;y!==a&&(this.j=a,this.g("modelData",y,a),this.La(a))}},undoManager:{get:function(){return this.o},set:function(a){var y=this.o;y!==a&&(y!==null&&y.Rx(this),this.o=a,a!==null&&a.Xw(this))}},skipsUndoManager:{get:function(){return this.Wg},set:function(a){this.Wg=a}},nodeKeyProperty:{get:function(){return this.Th},set:function(a){var y=this.Th;y!==a&&(a===""&&bt("Model.nodeKeyProperty may not be the empty string"),0b.indexOf(a.newValue)&&b.splice(x,0,a.newValue));return}}else if(a.change===ms){if(x=a.oldParam,a.modelChange==="linkDataArray"){a=a.oldValue,_t(a)&&typeof x=="number"&&(b=this.Ac(a),y?(this.$f.add(a),this.md[x]!==a&&this.md.splice(x,0,a),b!==void 0&&this.wb.add(b,a)):(this.$f.remove(a),this.md[x]===a&&this.md.splice(x,1),b!==void 0&&this.wb.remove(b)));return}if(a.modelChange==="linkLabelKeys"){b=this.Ef(a.object),Array.isArray(b)&&typeof x=="number"&&(y?0>b.indexOf(a.newValue)&&b.splice(x,0,a.newValue):(x=b.indexOf(a.newValue),0<=x&&b.splice(x,1)));return}}Wi.prototype.changeState.call(this,a,y)}},Ue=To.prototype,Ue.Vl=function(a){if(a!==void 0){var y=this.Ri;if(y!==null){var x=this.hc(a);x===null&&(x=this.copyNodeData(y),Ga(x,this.nodeKeyProperty,a),this.xf(x))}return a}},Ue.yx=function(a){return Ec(this,a,!0)},Ue.wv=function(a,y){up(this,a,y,!0)},Ue.Bx=function(a){return Ec(this,a,!1)},Ue.Bv=function(a,y){up(this,a,y,!1)};function Ec(a,y,x){if(y!==null&&(a=x?a.lf:a.mf,a!==""&&(a=Fs(y,a),a!==void 0))){if(yg(a))return a;bt((x?"FromKey":"ToKey")+" value for link data "+y+" is not a number or a string: "+a)}}function up(a,y,x,b){if(x===null&&(x=void 0),y!==null){var E=b?a.lf:a.mf;if(E!=="")if(x=a.Vl(x),a.Jc(y)){var z=Fs(y,E);z!==x&&(Ed(a,z,y),Ga(y,E,x),a.hc(x)===null&&wd(a,x,y),Js(a,b?"linkFromKey":"linkToKey",Ma,E,y,z,x),typeof E=="string"&&a.La(y,E))}else Ga(y,E,x)}}Ue.zx=function(a){return L0(this,a,!0)},Ue.xv=function(a,y){cp(this,a,y,!0)},Ue.Cx=function(a){return L0(this,a,!1)},Ue.Cv=function(a,y){cp(this,a,y,!1)};function L0(a,y,x){return y===null||(a=x?a.ej:a.fj,a==="")?"":(y=Fs(y,a),y===void 0?"":y)}function cp(a,y,x,b){if(y!==null){var E=b?a.ej:a.fj;if(E!=="")if(a.Jc(y)){var z=Fs(y,E);z===void 0&&(z=""),z!==x&&(Ga(y,E,x),Js(a,b?"linkFromPortId":"linkToPortId",Ma,E,y,z,x),typeof E=="string"&&a.La(y,E))}else Ga(y,E,x)}}Ue.Ef=function(a){if(a===null)return T0;var y=this.je;return y===""?T0:(a=Fs(a,y),a===void 0?T0:a)},Ue.Ls=function(a,y){if(a!==null){var x=this.je;if(x!=="")if(this.Jc(a)){var b=Fs(a,x);if(b===void 0&&(b=T0),b!==y){if(Array.isArray(b))for(var E=b.length,z=0;zE||(b.splice(E,1),this.Jc(a)&&(Ed(this,y,a),Js(this,"linkLabelKeys",ms,x,a,y,null,E,null)))}else b!==void 0&&bt(x+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}},Ue.Ac=function(a){if(a!==null){var y=this.Jh;if(y!==""&&(y=Fs(a,y),y!==void 0)){if(yg(y))return y;bt("Key value for link data "+a+" is not a number or a string: "+y)}}},Ue.Ks=function(a,y){if(a!==null){var x=this.Jh;if(x!=="")if(this.Jc(a)){var b=Fs(a,x);b!==y&&this.jh(y)===null&&(Ga(a,x,y),b!==void 0&&this.wb.remove(b),this.wb.add(y,a),Js(this,"linkKey",Ma,x,a,b,y),typeof x=="string"&&this.La(a,x))}else Ga(a,x,y)}},Ue.jh=function(a){return a===null&&bt("GraphLinksModel.findLinkDataForKey:key must not be null"),a!==void 0&&yg(a)?this.wb.I(a):null},Ue.Bs=function(a){if(a!==null){var y=this.Jh;if(y!==""){var x=this.Ac(a);if(x===void 0||this.wb.contains(x)){var b=this.cl;if(b!==null&&(x=b(this,a),x!=null&&!this.wb.contains(x))){Ga(a,y,x);return}if(typeof x=="string"){for(b=2;this.wb.contains(x+b);)b++;Ga(a,y,x+b)}else if(x===void 0||typeof x=="number"){for(x=-this.wb.count-1;this.wb.contains(x);)x--;Ga(a,y,x)}}}}},Ue.Jc=function(a){return a===null?!1:this.$f.contains(a)},Ue.fi=function(a){a!==null&&(Go(a),this.Jc(a)||Dx(this,a,!0))};function Dx(a,y,x){if(a.linkKeyProperty!==""){var b=a.Ac(y);if(b!==void 0&&a.wb.I(b)===y)return;a.Bs(y),b=a.Ac(y),b===void 0&&bt("GraphLinksModel.makeLinkDataKeyUnique failed on "+y+". Data not added to model."),a.wb.add(b,y)}a.$f.add(y),b=null,x&&(b=a.md.length,a.md.splice(b,0,y)),Js(a,"linkDataArray",Ka,"linkDataArray",a,null,y,null,b),Ey(a,y)}Ue.Ey=function(a){if(Array.isArray(a))for(var y=a.length,x=0;xb)return;a.md.splice(b,1)}if(Js(a,"linkDataArray",ms,"linkDataArray",a,y,null,b,null),x=Ec(a,y,!0),Ed(a,x,y),x=Ec(a,y,!1),Ed(a,x,y),b=a.Ef(y),Array.isArray(b))for(var E=b.length,z=0;zb.indexOf(a.newValue)&&b.splice(x,0,a.newValue));return}}else if(a.change===ms){if(x=a.oldParam,a.modelChange==="linkDataArray"){a=a.oldValue,Gt(a)&&typeof x=="number"&&(b=this.Ac(a),y?(this.$f.add(a),this.md[x]!==a&&this.md.splice(x,0,a),b!==void 0&&this.wb.add(b,a)):(this.$f.remove(a),this.md[x]===a&&this.md.splice(x,1),b!==void 0&&this.wb.remove(b)));return}if(a.modelChange==="linkLabelKeys"){b=this.Ef(a.object),Array.isArray(b)&&typeof x=="number"&&(y?0>b.indexOf(a.newValue)&&b.splice(x,0,a.newValue):(x=b.indexOf(a.newValue),0<=x&&b.splice(x,1)));return}}Wi.prototype.changeState.call(this,a,y)}},Ue=To.prototype,Ue.Vl=function(a){if(a!==void 0){var y=this.Ri;if(y!==null){var x=this.hc(a);x===null&&(x=this.copyNodeData(y),Ga(x,this.nodeKeyProperty,a),this.xf(x))}return a}},Ue.yx=function(a){return Ec(this,a,!0)},Ue.wv=function(a,y){up(this,a,y,!0)},Ue.Bx=function(a){return Ec(this,a,!1)},Ue.Bv=function(a,y){up(this,a,y,!1)};function Ec(a,y,x){if(y!==null&&(a=x?a.lf:a.mf,a!==""&&(a=Fs(y,a),a!==void 0))){if(yg(a))return a;bt((x?"FromKey":"ToKey")+" value for link data "+y+" is not a number or a string: "+a)}}function up(a,y,x,b){if(x===null&&(x=void 0),y!==null){var E=b?a.lf:a.mf;if(E!=="")if(x=a.Vl(x),a.Jc(y)){var z=Fs(y,E);z!==x&&(Ed(a,z,y),Ga(y,E,x),a.hc(x)===null&&wd(a,x,y),Js(a,b?"linkFromKey":"linkToKey",Ma,E,y,z,x),typeof E=="string"&&a.La(y,E))}else Ga(y,E,x)}}Ue.zx=function(a){return L0(this,a,!0)},Ue.xv=function(a,y){cp(this,a,y,!0)},Ue.Cx=function(a){return L0(this,a,!1)},Ue.Cv=function(a,y){cp(this,a,y,!1)};function L0(a,y,x){return y===null||(a=x?a.ej:a.fj,a==="")?"":(y=Fs(y,a),y===void 0?"":y)}function cp(a,y,x,b){if(y!==null){var E=b?a.ej:a.fj;if(E!=="")if(a.Jc(y)){var z=Fs(y,E);z===void 0&&(z=""),z!==x&&(Ga(y,E,x),Js(a,b?"linkFromPortId":"linkToPortId",Ma,E,y,z,x),typeof E=="string"&&a.La(y,E))}else Ga(y,E,x)}}Ue.Ef=function(a){if(a===null)return T0;var y=this.je;return y===""?T0:(a=Fs(a,y),a===void 0?T0:a)},Ue.Ls=function(a,y){if(a!==null){var x=this.je;if(x!=="")if(this.Jc(a)){var b=Fs(a,x);if(b===void 0&&(b=T0),b!==y){if(Array.isArray(b))for(var E=b.length,z=0;zE||(b.splice(E,1),this.Jc(a)&&(Ed(this,y,a),Js(this,"linkLabelKeys",ms,x,a,y,null,E,null)))}else b!==void 0&&bt(x+" property is not an Array; cannot removeLabelKeyforLinkData: "+a)}}},Ue.Ac=function(a){if(a!==null){var y=this.Jh;if(y!==""&&(y=Fs(a,y),y!==void 0)){if(yg(y))return y;bt("Key value for link data "+a+" is not a number or a string: "+y)}}},Ue.Ks=function(a,y){if(a!==null){var x=this.Jh;if(x!=="")if(this.Jc(a)){var b=Fs(a,x);b!==y&&this.jh(y)===null&&(Ga(a,x,y),b!==void 0&&this.wb.remove(b),this.wb.add(y,a),Js(this,"linkKey",Ma,x,a,b,y),typeof x=="string"&&this.La(a,x))}else Ga(a,x,y)}},Ue.jh=function(a){return a===null&&bt("GraphLinksModel.findLinkDataForKey:key must not be null"),a!==void 0&&yg(a)?this.wb.I(a):null},Ue.Bs=function(a){if(a!==null){var y=this.Jh;if(y!==""){var x=this.Ac(a);if(x===void 0||this.wb.contains(x)){var b=this.cl;if(b!==null&&(x=b(this,a),x!=null&&!this.wb.contains(x))){Ga(a,y,x);return}if(typeof x=="string"){for(b=2;this.wb.contains(x+b);)b++;Ga(a,y,x+b)}else if(x===void 0||typeof x=="number"){for(x=-this.wb.count-1;this.wb.contains(x);)x--;Ga(a,y,x)}}}}},Ue.Jc=function(a){return a===null?!1:this.$f.contains(a)},Ue.fi=function(a){a!==null&&(Go(a),this.Jc(a)||Dx(this,a,!0))};function Dx(a,y,x){if(a.linkKeyProperty!==""){var b=a.Ac(y);if(b!==void 0&&a.wb.I(b)===y)return;a.Bs(y),b=a.Ac(y),b===void 0&&bt("GraphLinksModel.makeLinkDataKeyUnique failed on "+y+". Data not added to model."),a.wb.add(b,y)}a.$f.add(y),b=null,x&&(b=a.md.length,a.md.splice(b,0,y)),Js(a,"linkDataArray",Ka,"linkDataArray",a,null,y,null,b),Ey(a,y)}Ue.Ey=function(a){if(Array.isArray(a))for(var y=a.length,x=0;xb)return;a.md.splice(b,1)}if(Js(a,"linkDataArray",ms,"linkDataArray",a,y,null,b,null),x=Ec(a,y,!0),Ed(a,x,y),x=Ec(a,y,!1),Ed(a,x,y),b=a.Ef(y),Array.isArray(b))for(var E=b.length,z=0;z=a.count)a.count===1&&(a=a.first(),a.centerX=0,a.centerY=0);else{var y=new Gt;y.addAll(a.iterator),a=new Gt;var x=new Gt,b=this.sort(y),E,z,te=this.Jp,re=this.arrangement,le=this.nodeDiameterFormula,ce=this.radius;(!isFinite(ce)||0>=ce)&&(ce=NaN);var de=this.aspectRatio;(!isFinite(de)||0>=de)&&(de=1);var ve=this.startAngle;isFinite(ve)||(ve=0);var Pe=this.sweepAngle;if((!isFinite(Pe)||360Pe)&&(Pe=360),y=this.spacing,isFinite(y)||(y=NaN),re===hd&&le===Pf?re=dd:re===hd&&le!==Pf&&(re=this.arrangement),(this.direction===ef||this.direction===dp)&&this.sorting!==hp){for(le=0;!(le>=b.length)&&(a.add(b.M(le)),!(le+1>=b.length));le+=2)x.add(b.M(le+1));this.direction===ef?(this.arrangement===hd&&a.reverse(),b=new Gt,b.addAll(a),b.addAll(x)):(this.arrangement===hd&&x.reverse(),b=new Gt,b.addAll(x),b.addAll(a))}le=b.length;for(var Le=z=E=0;LePe&&(Le===0||Le===b.length-1)&&(Ze/=2),E+=Ze,z++}if(isNaN(ce)||re===hd){if(isNaN(y)&&(y=6),re!==dd&&re!==hd){for(z=-1/0,te=0;tece?(ce=E,z=ce*de):te=Le/(360<=Pe?le:le-1)}if(this.kw=re,this.lc=ce,this.Zm=de,this.lw=ve,this.Wp=Pe,this.Ti=y,this.me=z,this.Jp=te,y=b,b=this.kw,re=this.lc,ce=this.lw,de=this.Wp,ve=this.Ti,Pe=this.me,le=this.Jp,this.direction!==ef&&this.direction!==dp||b!==hd)if(this.direction===ef||this.direction===dp){switch(te=0,b){case Sg:te=180*k0(this,re,Pe,ce,le)/Math.PI;break;case dd:le=y=0,te=a.first(),te!==null&&(y=bg(te,Math.PI/2)),te=x.first(),te!==null&&(le=bg(te,Math.PI/2)),te=180*k0(this,re,Pe,ce,ve+(y+le)/2)/Math.PI;break;case Vh:te=de/y.length}if(this.direction===ef){switch(b){case Sg:lm(this,a,ce,xg);break;case dd:sm(this,a,ce,xg);break;case Vh:am(this,a,de/2,ce,xg)}switch(b){case Sg:lm(this,x,ce+te,Nu);break;case dd:sm(this,x,ce+te,Nu);break;case Vh:am(this,x,de/2,ce+te,Nu)}}else{switch(b){case Sg:lm(this,x,ce,xg);break;case dd:sm(this,x,ce,xg);break;case Vh:am(this,x,de/2,ce,xg)}switch(b){case Sg:lm(this,a,ce+te,Nu);break;case dd:sm(this,a,ce+te,Nu);break;case Vh:am(this,a,de/2,ce+te,Nu)}}}else switch(b){case Sg:lm(this,y,ce,this.direction);break;case dd:sm(this,y,ce,this.direction);break;case Vh:am(this,y,de,ce,this.direction);break;case hd:Fx(this,y,de,ce,this.direction)}else Fx(this,y,de,ce-de/2,Nu)}this.updateParts(),this.network=null,this.isValidLayout=!0};function am(a,y,x,b,E){var z=a.Wp,te=a.lc;a=a.me,b=b*Math.PI/180,x=x*Math.PI/180;for(var re=y.length,le=0;lex){for(z=b+(E===Nu?z:-z);0>z;)z+=360;z%=360,180=de.length-1));ve++)zx(a,le,ce,de,ve,E,z)||Ux(a,le,ce,de,ve,E,z),le=z.x,ce=z.y;if(lt.free(z),a.mj++,!(23Math.abs(Le)?Math.abs(le-z)<(de[0].width+de[de.length-1].width)/2&&(te=0):te=0Math.abs(Pe)?0:Pe,le=Math.abs(z)>Math.abs(ve)?0ve:0a.mj?a.lc-te/(2*Math.PI):5>de.length&&10=ve.length-1));Pe++)zx(a,le,ce,ve,Pe,E,de)||Ux(a,le,ce,ve,Pe,E,de),le=de.x,ce=de.y;if(lt.free(de),a.mj++,!(23a.mj?a.lc-z/(2*Math.PI):a.lc-(0re){if(z=y-a,z<-re)return te.x=z,te.y=ce,!1;de=!0}}else if(z=y-a,z<-re){if(z=y+a,z>re)return te.x=z,te.y=ce,!1;de=!0}return ce=Math.sqrt(1-Math.min(1,z*z/(re*re)))*le,0>x!==de&&(ce=-ce),Math.abs(x-ce)>(b[E].height+b[E+1].height)/2?(te.x=z,te.y=ce,!1):(te.x=z,te.y=ce,!0)}function Ux(a,y,x,b,E,z,te){var re=a.lc,le=a.me,ce=0;if(a=(b[E].height+b[E+1].height)/2+a.Ti,b=!1,0<=y!=(z===Nu)){if(z=x-a,z<-le){if(z=x+a,z>le){te.x=ce,te.y=z;return}b=!0}}else if(z=x+a,z>le){if(z=x-a,z<-le){te.x=ce,te.y=z;return}b=!0}ce=Math.sqrt(1-Math.min(1,z*z/(le*le)))*re,0>y!==b&&(ce=-ce),te.x=ce,te.y=z}es.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},es.prototype.commitNodes=function(){var a=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,y=a?this.group.location.copy():null,x=this.actualCenter;a?x=new lt(0,0):(x.x=this.arrangementOrigin.x+this.lc,x.y=this.arrangementOrigin.y+this.me);for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;E.x+=x.x,E.y+=x.y,E.commit()}a&&(this.group.Va(),a=this.group.position.copy(),x=this.group.location.copy(),y=y.re(x.re(a)),this.group.move(y),this.Zv=y.re(a))},es.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()};function Cy(a,y,x,b,E){var z=a.ty;if(.001>Math.abs(a.Zm-1))return b!==void 0&&E!==void 0?E*y:2*Math.PI*y;a=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x;for(var te=0,re=b!==void 0&&E!==void 0?E/(z+1):Math.PI/(2*(z+1)),le=0,ce=0;ce<=z;ce++){b!==void 0&&E!==void 0?le=b+ce*E/z:le=ce*Math.PI/(2*z);var de=Math.sin(le);te+=Math.sqrt(1-a*a*de*de)*re}return b!==void 0&&E!==void 0?(y>x?y:x)*te:4*(y>x?y:x)*te}function I0(a,y,x,b,E){return y/(b!==void 0&&E!==void 0?Cy(a,1,x,b,E):Cy(a,1,x))}function k0(a,y,x,b,E){if(.001>Math.abs(a.Zm-1))return E/y;var z=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x,te=0;a=2*Math.PI/(700*a.network.vertexes.count),y>x&&(b+=Math.PI/2);for(var re=0;;re++){var le=Math.sin(b+re*a);if(te+=(y>x?y:x)*Math.sqrt(1-z*z*le*le)*a,te>=E)return re*a}}es.prototype.sort=function(a){switch(this.sorting){case D0:break;case O0:a.reverse();break;case R0:a.sort(this.comparer);break;case F0:a.sort(this.comparer),a.reverse();break;case hp:return this.ak(G1(a));default:bt("Invalid sorting type.")}return a};function G1(a){for(var y=[],x=0;xE&&(E=re,z=te)}else for(te=0;teE&&(E=re,z=te);for(x.add(a.M(z)),y[z]=-1,z=a.M(z),te=z.sourceEdges;te.next();)E=a.indexOf(te.value.fromVertex),0>E||0<=y[E]&&y[E]++;for(z=z.destinationEdges;z.next();)E=a.indexOf(z.value.toVertex),0>E||0<=y[E]&&y[E]++}return x}es.prototype.ak=function(a){for(var y=[],x=0;xy[x].indexOf(E)&&y[x].push(E);for(b=b.sourceEdges;b.next();)E=a.indexOf(b.value.fromVertex),E!==x&&0>y[x].indexOf(E)&&y[x].push(E)}for(z=[],x=0;xy[x[Fe]].indexOf(x[Fe===x.length-1?0:Fe+1])&&Le.push(Fe===x.length-1?0:Fe+1);if(Le.length===0)for(Fe=0;Fex.indexOf(vn)||Ktx.indexOf(vn)||Kt=Ze?Kt+1:Kt)),at+=Kt=Ze&&Kt++,Lt>=Ze&&Lt++,Kt>Lt&&(Dt=Lt,Lt=Kt,Kt=Dt),Lt-Kt<(x.length+2)/2==(KtLe||Le===de||(Fe=Le>de?Le-de:de-Le,ve+=Lete-Fe?1:-1);x.splice(0>ve?de:de+1,0,le),b.splice(re,1),re--}else z=!1;if(z)break;x.push(b[0]),b.splice(0,1)}for(y=0;y=a?this.ul=a:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==hd&&a!==dd&&a!==Sg&&a!==Vh||(this.Rb=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K===a||a!==Nu&&a!==xg&&a!==ef&&a!==dp||(this.K=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==D0&&a!==O0&&a!==R0&&!F0&&a!==hp||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf!==a&&(this.tf=a,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(a){this.Nn===a||a!==B0&&a!==Pf||(this.Nn=a,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var dd=new tn(es,"ConstantSpacing",0),Sg=new tn(es,"ConstantDistance",1),Vh=new tn(es,"ConstantAngle",2),hd=new tn(es,"Packed",3),Nu=new tn(es,"Clockwise",4),xg=new tn(es,"Counterclockwise",5),ef=new tn(es,"BidirectionalLeft",6),dp=new tn(es,"BidirectionalRight",7),D0=new tn(es,"Forwards",8),O0=new tn(es,"Reverse",9),R0=new tn(es,"Ascending",10),F0=new tn(es,"Descending",11),hp=new tn(es,"Optimized",12),B0=new tn(es,"Pythagorean",13),Pf=new tn(es,"Circular",14);es.className="CircularLayout",es.ConstantSpacing=dd,es.ConstantDistance=Sg,es.ConstantAngle=Vh,es.Packed=hd,es.Clockwise=Nu,es.Counterclockwise=xg,es.BidirectionalLeft=ef,es.BidirectionalRight=dp,es.Forwards=D0,es.Reverse=O0,es.Ascending=R0,es.Descending=F0,es.Optimized=hp,es.Pythagorean=B0,es.Circular=Pf;function um(){this.Pl=-1/0,this.tm=this.mk=null}um.prototype.compare=function(a,y){if(0this.Pl||Math.abs(a)a&&0re?(E=Pe.x+Pe.width/2,z=Pe.y+Pe.height/2,ce[0]=new lt(Pe.x+Pe.width+b.width,Pe.y),ce[1]=new lt(Pe.x,Pe.y+Pe.height+b.height),re=2):(le=Gx(ce,re,E,z,Pe.width,Pe.height,b),ve=ce[le],Le=new lt(ve.x+Pe.width+b.width,ve.y),Pe=new lt(ve.x,ve.y+Pe.height+b.height),le+1this.network.vertexes.count)return!1;for(var a=0,y=0,x=this.network.vertexes.first().bounds,b=this.network.vertexes.iterator;b.next();){if(b.value.bounds.Yc(x)&&(a++,2a.network.vertexes.count)return!1;for(a.ah=a.network.vertexes.Fa(),a=a.ah,a.sort(function(x,b){return x===null||b===null||x===b?0:b.Vd-x.Vd}),y=a.length-1;0<=y&&1>=a[y].Vd;)y--;return 1=te))){for(var ce=re=0,de=le.count-te;deLe&&(Le=1),re=Wt.sqrt((re+Le+ce*ce*4/(te*te))/Le),te=(re-1)*de/2,re=(re-1)*ve/2,E.bounds=new jn(z-Pe.x-te,le-Pe.y-re,de+2*te,ve+2*re),E.focus=new lt(Pe.x+te,Pe.y+re)}}return a.network=b,x}function Z1(a,y){for(var x=a.network.vertexes.iterator;x.next();){var b=x.value;if(b.network=y,b.We!==null){var E=b.We.M(b.sv);b.Vd=E.Rs;var z=E.Sv,te=E.Tv;b.bounds=new jn(b.centerX-z,b.centerY-te,E.Ss,E.Qs),b.focus=new lt(z,te),b.sv--}}for(x=a.network.edges.iterator;x.next();)x.value.network=y;a.network=y}function V1(a,y){var x=y.Hj;if(x!==null&&x.count!==0){var b=y.centerX,E=y.centerY,z=y.width,te=y.height;y.We!==null&&0=ve.Vd?le++:(re=!0,ce++,te+=Math.atan2(y.centerY-ve.centerY,y.centerX-ve.centerX))}if(le!==0){for(0>1)+ce)*(re%2===0?1:-1),le.centerX=b+de*Math.cos(ve),le.centerY=E+de*Math.sin(ve),re++}}}}function Gx(a,y,x,b,E,z,te){var re=9e19,le=-1,ce=0;e:for(;cede.y&&a[Pe].x-de.xde.x&&a[Pe].y-de.yy+z?(x=b+E-te,a=a-y-z,Wt.sqrt(x*x+a*a)):a+xte+re?a>y+z?(x=b-te-re,a=a-y-z,Wt.sqrt(x*x+a*a)):a+xy+z?a-(y+z):a+x=y.length)return!1;var x=y[0];x.forceX=0,x.forceY=0;for(var b=x.centerX,E=b,z=x=x.centerY,te=1;tez-x)?y.sort(function(Ze,pt){return Ze===null||pt===null||Ze===pt?0:Ze.centerX-pt.centerX}):y.sort(function(Ze,pt){return Ze===null||pt===null||Ze===pt?0:Ze.centerY-pt.centerY}),x=a.Zf;var ce=b=re=0;for(z=0;zx||ce-le>x){if(E)break}else if(de-Le>x||Le-de>x){if(!E)break}else{var Fe=Hx(te,Pe);1>Fe?(b=a.randomNumberGenerator,b===null&&(a.randomNumberGenerator=b=new z0),Fe=b.random(),re=b.random(),le>ce?(b=Math.abs(Pe.bounds.right-te.bounds.x),b=(1+b)*Fe):leLe?(ce=Math.abs(Pe.bounds.bottom-te.bounds.y),ce=(1+ce)*re):leve?(ve=a.randomNumberGenerator,ve===null&&(a.randomNumberGenerator=ve=new z0),re=ve.random(),ve=ve.random(),b=(b>le?1:-1)*(1+(z.width>x.width?z.width:x.width))*re,ce=(te>de?1:-1)*(1+(z.height>x.height?z.height:x.height))*ve):(re=re.stiffness*(ve-re.length),b=(le-b)/ve*re,ce=(de-te)/ve*re),x.forceX+=b,x.forceY+=ce,z.forceX-=b,z.forceY-=ce;for(E=b=0;Ea.epsilonDistance*a.epsilonDistance}Vl.prototype.moveVertex=function(a){var y=a.forceX,x=a.forceY,b=this.moveLimit;return y<-b?y=-b:y>b&&(y=b),x<-b?x=-b:x>b&&(x=b),a.centerX+=y,a.centerY+=x,y*y+x*x},Vl.prototype.moveFixedVertex=function(){},Vl.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},Vl.prototype.yv=function(){if(this.setsPortSpots)for(var a=this.network.edges.iterator;a.next();){var y=a.value.link;y!==null&&(y.fromSpot=Vr,y.toSpot=Vr)}},Vl.prototype.commitNodes=function(){var a=0,y=0;if(this.arrangesToOrigin){var x=jn.alloc();this.computeBounds(this.network,x),y=this.arrangementOrigin,a=y.x-x.x,y=y.y-x.y,jn.free(x)}x=jn.alloc();for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;(a!==0||y!==0)&&(x.assign(E.bounds),x.x+=a,x.y+=y,E.bounds=x),E.commit()}jn.free(x)},Vl.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},Vl.prototype.springStiffness=function(a){return a=a.stiffness,isNaN(a)?this.Hk:a},Vl.prototype.springLength=function(a){return a=a.length,isNaN(a)?this.Gk:a},Vl.prototype.electricalCharge=function(a){return a=a.charge,isNaN(a)?this.Ek:a},Vl.prototype.electricalFieldX=function(){return 0},Vl.prototype.electricalFieldY=function(){return 0},Vl.prototype.gravitationalMass=function(a){return a=a.mass,isNaN(a)?this.Fk:a},Vl.prototype.gravitationalFieldX=function(){return 0},Vl.prototype.gravitationalFieldY=function(){return 0},Vl.prototype.isFixed=function(a){return a.isFixed},Nt.Object.defineProperties(Vl.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(a){this.Bm!==a&&(this.Bm=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},maxIterations:{get:function(){return this.dl},set:function(a){this.dl!==a&&0<=a&&(this.dl=a,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(a){this.$m!==a&&0Ze&&0Ze&&0a[this.Md]&&(this.Iq=a[x]-1,this.Md=x),a[x]te)for(var de=te+1;dele;de--)ve=b[de],ve.near===ce&&ve.Dj===ce.Dj||re++;var Pe;if(0<=x)for(le=b[te].sourceEdgesArrayAccess,ce=0;ceZe||ve===Ze&&Le>Fe)&&re++,ptve||Ze===ve&&Fe>Le)&&re++}}}if(0>=x){for(le=b[te].destinationEdgesArrayAccess,ce=0;ceZe||ve===Ze&&de>pt)&&re++,Feve||Ze===ve&&pt>de)&&re++)}for(z[te*E+te]=re,le=te+1;le=x){for(re=b[te].destinationEdgesArrayAccess,Lt=b[le].destinationEdgesArrayAccess,ce=0;ce=x&&(le=re.sourceEdgesArrayAccess);var ce=null;0<=x&&(ce=re.destinationEdgesArrayAccess);var de=0,ve=0,Pe=re.near;if(Pe!==null&&Pe.layer===re.layer&&(de+=Pe.column-1,ve++),le!==null)for(Pe=0;Pe=x&&(le=re.sourceEdgesArrayAccess);var ce=null;0<=x&&(ce=re.destinationEdgesArrayAccess);var de=0,ve=[],Pe=re.near;if(Pe!==null&&Pe.layer===re.layer&&(ve[de]=Pe.column-1,de++),re=void 0,le!==null)for(Pe=0;Pe>1,z[te]=de&1?ve[ce]:ve[ce-1]+ve[ce]>>1)}return Eg(a,y,b),z}function gm(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var te=y.destinationEdges;te.next();){var re=te.value,le=re.toVertex,ce=y.layer-le.layer;re=a.linkMinLength(re),ce===re&&gm(a,le,x,b,E,z)}if(z)for(te=y.sourceEdges;te.next();)re=te.value,le=re.fromVertex,ce=le.layer-y.layer,re=a.linkMinLength(re),ce===re&&gm(a,le,x,b,E,z)}}function Ny(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var te=y.destinationEdges;te.next();)Ny(a,te.value.toVertex,x,b,E,z);if(z)for(y=y.sourceEdges;y.next();)Ny(a,y.value.fromVertex,x,b,E,z)}}ia.prototype.removeCycles=function(){for(var a=this.network.edges.iterator;a.next();)a.value.rev=!1;switch(this.Dk){default:case Ty:a=this.network;var y=0,x=a.vertexes.count-1,b=[];b.length=x+1;for(var E=a.vertexes.iterator;E.next();)E.value.valid=!0;for(;Y1(a)!==null;){for(E=Yx(a);E!==null;)b[x]=E,x--,E.valid=!1,E=Yx(a);for(E=$x(a);E!==null;)b[y]=E,y++,E.valid=!1,E=$x(a);E=null;for(var z=0,te=this.network.vertexes.iterator;te.next();){var re=te.value;if(re.valid){for(var le=0,ce=re.destinationEdges;ce.next();)ce.value.toVertex.valid&&le++;ce=0;for(var de=re.sourceEdges;de.next();)de.value.fromVertex.valid&&ce++;(E===null||zy.toVertex.index&&(a.gm(y),y.rev=!0);break;case W0:for(b=this.network.vertexes.iterator;b.next();)a=b.value,a.Ll=-1,a.finish=-1;for(a=this.network.edges.iterator;a.next();)a.value.forest=!1;for(this.Kn=0,b.reset();b.next();)y=b.value,y.sourceEdges.count===0&&My(this,y);for(b.reset();b.next();)y=b.value,y.Ll===-1&&My(this,y);for(a.reset();a.next();)b=a.value,b.forest||(y=b.fromVertex,x=y.finish,E=b.toVertex,z=E.finish,E.Llb){if(0>b)for(y.reset();y.next();)y.value.layer-=b;for(b=[],y.reset();y.next();)x=y.value,E=b[x.layer],E===void 0?b[x.layer]=[x]:E.push(x);for(x=y=0;xte&&gm(a,re,0,-1,!0,!1)}for(gm(a,y,1,-1,!0,!0);y.component!==0;){for(z=0,b=1/0,re=0,le=null,te=a.network.vertexes.iterator;te.next();){var ce=te.value;if(ce.component===1){var de=0,ve=!1,Pe=ce.sourceEdgesArrayAccess;E=Pe.length;for(var Le=0;Lez)&&!de&&(re=te,z=ce)}if(0>b){for(x.reset();x.next();)b=x.value,b.component===1&&(b.layer-=E);y.component=0}else re.component=0}}}function e1(a,y,x){return a.K===90?x&&!y.rev||!x&&y.rev?270:90:a.K===180?x&&!y.rev||!x&&y.rev?0:180:a.K===270?x&&!y.rev||!x&&y.rev?90:270:x&&!y.rev||!x&&y.rev?180:0}ia.prototype.initializeIndices=function(){switch(this.Qk){default:case Oy:for(var a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;y.index=this.tc[x],this.tc[x]++}break;case V0:for(a=this.network.vertexes.iterator,y=this.Ia;0<=y;y--)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&t1(this,x);break;case Dy:for(a=this.network.vertexes.iterator,y=0;y<=this.Ia;y++)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&n1(this,x)}};function t1(a,y){var x=y.layer;for(y.index=a.tc[x],a.tc[x]++,y=y.destinationEdgesArrayAccess,x=!0;x;){x=!1;for(var b=0;bz.portFromColOffset&&(x=!0,y[b]=z,y[b+1]=E)}}for(x=0;xz.portToColOffset&&(b=!0,y[x]=z,y[x+1]=E)}for(x=0;x=te;b--)z=Kc(this,b,-1)||z;for(E=this.countCrossings(),E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=x;b>=te;b--)z=Kc(this,b,1)||z;for(E=this.countCrossings(),E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,1)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,-1)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=x;b>=te;b--)z=Kc(this,b,0)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,0)||z;E>=a?Bc(this,y):(a=E,y=Wu(this))}break;default:case K0:for(x=this.Ia,te=0,re=a+1;(b=this.countCrossings())=te;b--)z=Kc(this,b,-1)||z;for(E=this.countCrossings(),E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=x;b>=te;b--)z=Kc(this,b,1)||z;for(E=this.countCrossings(),E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,1)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,-1)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=x;b>=te;b--)z=Kc(this,b,0)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,0)||z;E>=a?Bc(this,y):(a=E,y=Wu(this))}}Bc(this,y)};function _0(a,y,x){var b=wg(a,y),E=a.tc[y],z=Kx(a,y,x),te=Ay(a,y,x);for(x=0;xz+1&&(Pe+=4*(Ct-z),Le+=4*(Ct-(z+1)))}for(Dt=b[z].destinationEdges.iterator,Dt.reset();Dt.next();)if(Ct=Dt.value,Lt=Ct.toVertex,Ct.valid&&Lt.layer===y){for(Ct=0;b[Ct]!==Lt;)Ct++;Ct===z+1&&(Le+=1)}for(Dt=b[z+1].sourceEdges.iterator,Dt.reset();Dt.next();)if(Ct=Dt.value,Lt=Ct.fromVertex,Ct.valid&&Lt.layer===y){for(Ct=0;b[Ct]!==Lt;)Ct++;Ctz+1&&(Pe+=4*(Ct-(z+1)),Le+=4*(Ct-z))}for(Dt=b[z+1].destinationEdges.iterator,Dt.reset();Dt.next();)if(Ct=Dt.value,Lt=Ct.toVertex,Ct.valid&&Lt.layer===y){for(Ct=0;b[Ct]!==Lt;)Ct++;Ct===z&&(Pe+=1)}Ct=Lt=0,Dt=te[b[z].index];var Kt=re[b[z].index],vn=te[b[z+1].index],Pi=re[b[z+1].index];Dt!==-1&&(Lt+=Math.abs(Dt-Fe),Ct+=Math.abs(Dt-at)),Kt!==-1&&(Lt+=Math.abs(Kt-Fe),Ct+=Math.abs(Kt-at)),vn!==-1&&(Lt+=Math.abs(vn-Ze),Ct+=Math.abs(vn-pt)),Pi!==-1&&(Lt+=Math.abs(Pi-Ze),Ct+=Math.abs(Pi-pt)),(Le>1)+8*b;this.Ra*=8}if(this.bg&2)for(x=!0;x;){for(x=!1,y=this.Md+1;y<=this.Ia;y++)x=fp(this,y,1)||x;for(y=this.Md-1;0<=y;y--)x=fp(this,y,-1)||x;x=fp(this,this.Md,0)||x}if(this.bg&4){for(y=this.Md+1;y<=this.Ia;y++)Ly(this,y,1);for(y=this.Md-1;0<=y;y--)Ly(this,y,-1);Ly(this,this.Md,0)}if(a&&(i1(this,-1),i1(this,1)),this.bg&2)for(x=!0;x;){for(x=!1,x=fp(this,this.Md,0)||x,y=this.Md+1;y<=this.Ia;y++)x=fp(this,y,0)||x;for(y=this.Md-1;0<=y;y--)x=fp(this,y,0)||x}}else J1(this)};function fp(a,y,x){for(var b=!1;$1(a,y,x);)b=!0;return b}function $1(a,y,x){var b,E=wg(a,y),z=a.tc[y],te=Ay(a,y,-1);if(0x)for(b=0;bb-1||de-E[b-1].column-1>ve+a.nodeMinColumnSpace(E[b-1],!1)?Le=de-1:Le=de,ve=b+1>=z||E[b+1].column-de-1>Pe+a.nodeMinColumnSpace(E[b+1],!0)?de+1:de;var Fe=Pe=0,Ze=0;if(0>=x)for(var pt=E[b].sourceEdges.iterator;pt.next();){var at=pt.value,Ct=at.fromVertex;if(at.valid&&Ct.layer!==y){var Lt=Py(at),Dt=at.portFromColOffset;at=at.portToColOffset,Ct=Ct.column,Pe+=(Math.abs(de+at-(Ct+Dt))+1)*Lt,Fe+=(Math.abs(Le+at-(Ct+Dt))+1)*Lt,Ze+=(Math.abs(ve+at-(Ct+Dt))+1)*Lt}}if(0<=x)for(pt=E[b].destinationEdges.iterator;pt.next();)at=pt.value,Ct=at.toVertex,at.valid&&Ct.layer!==y&&(Lt=Py(at),Dt=at.portFromColOffset,at=at.portToColOffset,Ct=Ct.column,Pe+=(Math.abs(de+Dt-(Ct+at))+1)*Lt,Fe+=(Math.abs(Le+Dt-(Ct+at))+1)*Lt,Ze+=(Math.abs(ve+Dt-(Ct+at))+1)*Lt);at=Dt=Lt=0,pt=te[E[b].index],Ct=re[E[b].index],pt!==-1&&(Lt+=Math.abs(pt-de),Dt+=Math.abs(pt-Le),at+=Math.abs(pt-ve)),Ct!==-1&&(Lt+=Math.abs(Ct-de),Dt+=Math.abs(Ct-Le),at+=Math.abs(Ct-ve)),Fe=te[x]?de=le:ce<=te[x]&&(de=ce));de!==re&&(z=!0,b[x].column=de)}Eg(a,y,b),a.normalize()}function X1(a,y){for(var x=!0,b=a.network.vertexes.iterator;b.next();){var E=b.value,z=a.nodeMinColumnSpace(E,!0),te=a.nodeMinColumnSpace(E,!1);if(E.column-z<=y&&E.column+te>=y){x=!1;break}}if(a=!1,x)for(b.reset();b.next();)x=b.value,x.column>y&&(--x.column,a=!0);return a}function Q1(a,y){var x=y+1,b,E=[],z=[];for(b=0;b<=a.Ia;b++)E[b]=!1,z[b]=!1;for(var te=a.network.vertexes.iterator;te.next();){b=te.value;var re=b.column-a.nodeMinColumnSpace(b,!0),le=b.column+a.nodeMinColumnSpace(b,!1);re<=y&&le>=y&&(E[b.layer]=!0),re<=x&&le>=x&&(z[b.layer]=!0)}for(re=!0,x=!1,b=0;b<=a.Ia;b++)re=re&&!(E[b]&&z[b]);if(re)for(te.reset();te.next();)a=te.value,a.column>y&&(--a.column,x=!0);return x}function i1(a,y){for(var x=0;x<=a.Ra;x++)for(;X1(a,x););for(a.normalize(),x=0;xz?Bc(a,E):tey)for(x=a.Ra;0<=x;x--)for(E=Wu(a),z=U0(a),b=z+1;zz?Bc(a,E):tex)for(b.reset();b.next();)E=b.value,E.column+a.nodeMinColumnSpace(E,!1)>=y&&(E.component=a.le);for(a.le++,b.reset();b.next();)y=b.value,y.component===-1&&(Ny(a,y,a.le,-1,!0,!0),a.le++);var z;for(y=[],z=0;zx)for(te=a.Ra;0x)for(b.reset();b.next();)x=b.value,E[x.component]&&(x.column+=1)}function J1(a){for(var y=gn(),x=a.fl.length,b=0;b<=x;b++)y[b]=[];for(b=a.network.vertexes.iterator;b.next();){var E=b.value;y[x-E.layer][E.index]=E}x=new Fn,q1(y,x);var z=null,te=null,re=null,le=null,ce=(a.ve&1)!==0,de=(a.ve&2)!==0,ve=(a.ve&4)!==0,Pe=(a.ve&8)!==0;for(ce&&(a.verticalAlignment(y,x,!0),z=G0(a,y,!0,!1)),y.reverse(),ve&&(a.verticalAlignment(y,x,!1),re=G0(a,y,!1,!1)),b=pr(y),E=b.next();!E.done;E=b.next())E.value.reverse();Pe&&(a.verticalAlignment(y,x,!1),le=G0(a,y,!1,!0)),y.reverse(),de&&(a.verticalAlignment(y,x,!0),te=G0(a,y,!0,!0)),kn(y),a.u(z,te,re,le),a.network.vertexes.each(function(Le){var Fe=gn();ce&&Fe.push(z.get(Le)),de&&Fe.push(te.get(Le)),ve&&Fe.push(re.get(Le)),Pe&&Fe.push(le.get(Le)),Fe.sort(function(pt,at){return pt-at});var Ze=Fe.length;Ze=(Fe[Math.floor((Ze-1)/2)]+Fe[Math.ceil((Ze-1)/2)])/2,kn(Fe),Le.zc=Ze})}function q1(a,y){for(var x=a.length,b=1;bde)&&y.add(ve);z++}E=de}}}ia.prototype.verticalAlignment=function(a,y,x){Sb(a),a=pr(a);for(var b=a.next();!b.done;b=a.next()){var E=-1;b=pr(b.value);for(var z=b.next();!z.done;z=b.next()){z=z.value;var te=x?By(z):Mb(z),re=te.length;if(0=y[x].length)&&(te=y[x][0],te.sd===te)){te.sd.shift===1/0&&(te.sd.shift=0),te=x,re=0;do{for(z=y[te][re];z.align!==z.root;)z=z.align,te++,0a&&bt("Could not determine previous vertex in layer"),y[x][a-1]}ia.prototype.u=function(a){for(var y=[],x=0;xte;te++)if(y[te]){var re=Pb(this,y[te],b,E,te);rete;z={delta:z.delta},te++)y[te]&&(z.delta=te===0||te===2?b[x]-b[te]:E[x]-E[te],z.delta!==0&&y[te].each(function(le){return function(ce){ce.value+=le.delta}}(z)));kn(b),kn(E)};function Pb(a,y,x,b,E){if(!y||y.count===0)return x[E]=0,b[E]=0,1/0;var z=1/0,te=-1/0;return y.each(function(re){var le=re.key;re=re.value,le=a.K===90||a.K===270?le.width:le.height,rete&&(te=re+le)}),x[E]=z,b[E]=te,te-z}ia.prototype.commitLayout=function(){if(this.setsPortSpots)for(var a=H0(this,!0),y=H0(this,!1),x=this.network.edges.iterator;x.next();){var b=x.value.link;b!==null&&(b.fromSpot=a,b.toSpot=y)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function H0(a,y){return a.K===270?y?Na:Bo:a.K===90?y?Bo:Na:a.K===180?y?Ia:Ho:y?Ho:Ia}ia.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var a=0;a<=this.Ia;a++)this.he[a]=0,this.Ld[a]=0,this.Kd[a]=0,this.Ta[a]=0;for(a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;this.he[x]=Math.max(this.he[x],this.nodeMinLayerSpace(y,!0)),this.Ld[x]=Math.max(this.Ld[x],this.nodeMinLayerSpace(y,!1))}y=0,x=this.ie;for(var b=0;b<=this.Ia;b++){var E=x;0>=this.he[b]+this.Ld[b]&&(E=0),0=ve.bounds.bottom?(ve=ve.bounds.y+ve.bounds.height,y.m(Ze++,Dt,ve+vn),y.m(Ze++,Dt,ve),y.m(Ze++,Dt,ve-Lt)):(y.m(Ze++,Dt,Kt+vn),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt-Lt)):this.K===270?Kt<=ve.bounds.y?(ve=ve.bounds.y,y.m(Ze++,Dt,ve-Lt),y.m(Ze++,Dt,ve),y.m(Ze++,Dt,ve+vn)):(y.m(Ze++,Dt,Kt-Lt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt+vn)):this.K===0&&(Dt>=ve.bounds.right?(ve=ve.bounds.x+ve.bounds.width,y.m(Ze++,ve+vn,Kt),y.m(Ze++,ve,Kt),y.m(Ze++,ve-Lt,Kt)):(y.m(Ze++,Dt+vn,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt-Lt,Kt)));else{y.m(Ze++,at,Ct);var Pi=0;this.K===180||this.K===0?((this.K===180?Dt>=ve.bounds.right:Dt<=ve.bounds.x)&&(Pi=(this.K===0?-Lt:vn)/2),y.m(Ze++,at+Pi,Kt)):((this.K===270?Kt>=ve.bounds.bottom:Kt<=ve.bounds.y)&&(Pi=(this.K===90?-Lt:vn)/2),y.m(Ze++,Dt,Ct+Pi)),y.m(Ze++,Dt,Kt)}}else Lt=Math.max(10,this.he[pt.layer]),vn=Math.max(10,this.Ld[pt.layer]),Pe?this.K===180?(y.m(Ze++,Dt-Lt-Fe,Kt),y.m(Ze++,Math.min(Dt-Lt+Fe/2,Dt),Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Math.max(Dt+vn-Fe/2,Dt),Kt),y.m(Ze++,Dt+vn+Fe,Kt)):this.K===90?(y.m(Ze++,Dt,Kt+vn+Fe),y.m(Ze++,Dt,Math.max(Kt+vn-Fe/2,Kt)),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Math.min(Kt-Lt+Fe/2,Kt)),y.m(Ze++,Dt,Kt-Lt-Fe)):this.K===270?(y.m(Ze++,Dt,Kt-Lt-Fe),y.m(Ze++,Dt,Math.min(Kt-Lt+Fe/2,Kt)),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Math.max(Kt+vn-Fe/2,Kt)),y.m(Ze++,Dt,Kt+vn+Fe)):(y.m(Ze++,Dt+vn+Fe,Kt),y.m(Ze++,Math.max(Dt+vn-Fe/2,Dt),Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Math.min(Dt-Lt+Fe/2,Dt),Kt),y.m(Ze++,Dt-Lt-Fe,Kt)):y.m(Ze++,Dt,Kt)}ve=pt}(re===null||ce!==is||Le)&&(at=y.i(Ze-1).x,Ct=y.i(Ze-1).y,Dt=y.i(Ze).x,Kt=y.i(Ze).y,Le?(Fe=this.Ld[de.layer],this.K===180||this.K===0?(Le=Ct,Le>=de.bounds.y&&Le<=de.bounds.bottom&&(this.K===180?Dt>=de.bounds.x:Dt<=de.bounds.right)&&(ve=de.centerX+(this.K===180?-Fe:Fe),Le=de.bounds.x&&Le<=de.bounds.right&&(this.K===270?Kt>=de.bounds.y:Kt<=de.bounds.bottom)&&(ve=de.centerY+(this.K===270?-Fe:Fe),Le=de.bounds.x?(ve=de.bounds.x+de.bounds.width,y.L(Ze-2,ve,Ct),y.L(Ze-1,ve+vn,Ct)):this.K===90&&Kt<=de.bounds.bottom?(ve=de.bounds.y,y.L(Ze-2,at,ve),y.L(Ze-1,at,ve-Lt)):this.K===270&&Kt>=de.bounds.y?(ve=de.bounds.y+de.bounds.height,y.L(Ze-2,at,ve),y.L(Ze-1,at,ve+vn)):this.K===0&&Dt<=de.bounds.right&&(ve=de.bounds.x,y.L(Ze-2,ve,Ct),y.L(Ze-1,ve-Lt,Ct))):(Lt=Math.max(10,this.he[de.layer]),vn=Math.max(10,this.Ld[de.layer]),Le=0,this.K===180||this.K===0?((this.K===180?Dt<=de.bounds.x:Dt>=de.bounds.right)&&(Le=(this.K===0?vn:-Lt)/2),y.m(Ze++,Dt+Le,Ct)):((this.K===270?Kt<=de.bounds.y:Kt>=de.bounds.bottom)&&(Le=(this.K===90?vn:-Lt)/2),y.m(Ze++,at,Kt+Le)),y.m(Ze++,Dt,Kt)))}else{for(;de!==null&&de!==ve;){for(Lt=pt=null,de=de.destinationEdges.iterator;de.next()&&(at=de.value,at.link!==x.link||(pt=at.toVertex,Lt=at.fromVertex,Lt.node!==null&&(Lt=null),pt.node!==null)););if(pt===null)break;pt!==ve&&(at=y.i(Ze-1).x,Ct=y.i(Ze-1).y,Dt=pt.centerX,Kt=pt.centerY,Le?this.K===180||this.K===0?(Lt!==null?Lt.centerY:Ct)!==Kt&&(Lt=this.Ta[pt.layer]+this.Rf.x,Ze===y.firstPickIndex+1&&(Lt=this.K===0?Math.max(Lt,at):Math.min(Lt,at)),y.m(Ze++,Lt,Ct),y.m(Ze++,Lt,Kt)):(Lt!==null?Lt.centerX:at)!==Dt&&(Lt=this.Ta[pt.layer]+this.Rf.y,Ze===y.firstPickIndex+1&&(Lt=this.K===90?Math.max(Lt,Ct):Math.min(Lt,Ct)),y.m(Ze++,at,Lt),y.m(Ze++,Dt,Lt)):(Lt=Math.max(10,this.he[pt.layer]),vn=Math.max(10,this.Ld[pt.layer]),Pe?this.K===180?(y.m(Ze++,Dt+vn+Fe,Kt),y.m(Ze++,Math.max(Dt+vn-Fe/2,Dt),Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Math.min(Dt-Lt+Fe/2,Dt),Kt),y.m(Ze++,Dt-Lt-Fe,Kt)):this.K===90?(y.m(Ze++,Dt,Kt-Lt-Fe),y.m(Ze++,Dt,Math.min(Kt-Lt+Fe/2,Kt)),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Math.max(Kt+vn-Fe/2,Kt)),y.m(Ze++,Dt,Kt+vn+Fe)):this.K===270?(y.m(Ze++,Dt,Kt+vn+Fe),y.m(Ze++,Dt,Math.max(Kt+vn-Fe/2,Kt)),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Math.min(Kt-Lt+Fe/2,Kt)),y.m(Ze++,Dt,Kt-Lt-Fe)):(y.m(Ze++,Dt-Lt-Fe,Kt),y.m(Ze++,Math.min(Dt-Lt+Fe/2,Dt),Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Math.max(Dt+vn-Fe/2,Dt),Kt),y.m(Ze++,Dt+vn+Fe,Kt)):this.K===180?(y.m(Ze++,Dt+vn,Kt),y.m(Ze++,Dt-Lt,Kt)):this.K===90?(y.m(Ze++,Dt,Kt-Lt),y.m(Ze++,Dt,Kt+vn)):this.K===270?(y.m(Ze++,Dt,Kt+vn),y.m(Ze++,Dt,Kt-Lt)):(y.m(Ze++,Dt-Lt,Kt),y.m(Ze++,Dt+vn,Kt)))),de=pt}Le&&(at=y.i(Ze-1).x,Ct=y.i(Ze-1).y,Dt=y.i(Ze).x,Kt=y.i(Ze).y,this.K===180||this.K===0?Ct!==Kt&&(Lt=this.K===0?Math.min(Math.max((Dt+at)/2,this.Ta[ve.layer]+this.Rf.x),Dt):Math.max(Math.min((Dt+at)/2,this.Ta[ve.layer]+this.Rf.x),Dt),y.m(Ze++,Lt,Ct),y.m(Ze++,Lt,Kt)):at!==Dt&&(Lt=this.K===90?Math.min(Math.max((Kt+Ct)/2,this.Ta[ve.layer]+this.Rf.y),Kt):Math.max(Math.min((Kt+Ct)/2,this.Ta[ve.layer]+this.Rf.y),Kt),y.m(Ze++,at,Lt),y.m(Ze++,Dt,Lt)))}b!==null&&Pe&&4<=y.pointsCount&&(te!==null&&(te=ce===is?y.getLinkPointFromPoint(E,te,te.ga(wo),y.i(3),!0):y.i(0),ce===is&&(ce=y.i(2),b=y.i(3),this.direction===90||this.direction===270?(y.L(1,(te.x+ce.x)/2,ce.y),y.L(2,b.x,(ce.y+b.y)/2)):(y.L(1,ce.x,(te.y+ce.y)/2),y.L(2,(ce.x+b.x)/2,b.y))),te.w()||te.set(E.actualBounds.center),y.L(0,te.x,te.y)),re!==null&&(E=le===is?y.getLinkPointFromPoint(z,re,re.ga(wo),y.i(y.pointsCount-4),!1):y.i(y.pointsCount-1),le===is&&(re=y.i(y.pointsCount-3),le=y.i(y.pointsCount-4),this.direction===90||this.direction===270?(y.L(y.pointsCount-2,(E.x+re.x)/2,re.y),y.L(y.pointsCount-2,le.x,(re.y+le.y)/2)):(y.L(y.pointsCount-2,re.x,(E.y+re.y)/2),y.L(y.pointsCount-3,(re.x+le.x)/2,le.y))),E.w()||E.set(z.actualBounds.center),y.L(y.pointsCount-1,E.x,E.y))),y.zf(),x.commit()}}}this.avoidOrthogonalOverlaps()},ia.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var a=new Gt,y=this.network.edges.iterator;y.next();){var x=y.value.link;x!==null&&x.isOrthogonal&&!a.contains(x)&&a.add(x)}if(0z.y&&(de=ce.y>z.y?0:te.xz.x&&(de=ce.x>z.x?0:te.yy.layer?1:a.rdy.rd?1:a.Icy.Ic?1:0:0},Ue.Ux=function(a,y){return a instanceof Cg&&y instanceof Cg&&a!==y?a.firsty.first||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ue.Js=function(a,y){return a instanceof Cg&&y instanceof Cg&&a!==y?a.jcy.jc||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ue.B=function(a,y){return a-=y,-1a},Ue.zi=function(a,y,x,b){var E=a.length,z=b-x;if(!(1>=z))if((0>x||x>=E-1)&&bt("not in range 0 <= from < length: "+x),z===2)b=a[x],E=a[x+1],0=E)a.sort(y);else for(x=a.slice(0,b),x.sort(y),y=0;y=E)for(b=a.slice(x),b.sort(y),y=x;y=a.He.length){for(var b=[],E=0;Ea&&(this.bg=a,this.C())}},alignOption:{get:function(){return this.ve},set:function(a){this.ve!==a&&0<=a&&16>a&&(this.ve=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(a){this.Cn!==a&&0<=a&&(this.Cn=a,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var W0=new tn(ia,"CycleDepthFirst",0),Ty=new tn(ia,"CycleGreedy",1),fm=new tn(ia,"CycleFromLayers",2),Z0=new tn(ia,"LayerOptimalLinkLength",0),Iy=new tn(ia,"LayerLongestPathSink",1),ky=new tn(ia,"LayerLongestPathSource",2),V0=new tn(ia,"InitDepthFirstOut",0),Dy=new tn(ia,"InitDepthFirstIn",1),Oy=new tn(ia,"InitNaive",2),Ry=new tn(ia,"AggressiveNone",0),K0=new tn(ia,"AggressiveLess",1),Fy=new tn(ia,"AggressiveMore",2),Nb=8;ia.className="LayeredDigraphLayout",ia.CycleDepthFirst=W0,ia.CycleGreedy=Ty,ia.CycleFromLayers=fm,ia.LayerOptimalLinkLength=Z0,ia.LayerLongestPathSink=Iy,ia.LayerLongestPathSource=ky,ia.InitDepthFirstOut=V0,ia.InitDepthFirstIn=Dy,ia.InitNaive=Oy,ia.AggressiveNone=Ry,ia.AggressiveLess=K0,ia.AggressiveMore=Fy,ia.PackNone=0,ia.PackExpand=1,ia.PackStraighten=2,ia.PackMedian=4,ia.PackAll=15,ia.AlignNone=0,ia.AlignUpperLeft=1,ia.AlignUpperRight=2,ia.AlignLowerLeft=4,ia.AlignLowerRight=8,ia.AlignAll=15;function Cg(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}Cg.className="SegInfo";function pp(a){Aa.call(this,a)}qt(pp,Aa),pp.prototype.createVertex=function(){return new jc(this)},pp.prototype.createEdge=function(){return new pm(this)},pp.className="LayeredDigraphNetwork";function jc(a){il.call(this,a),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}qt(jc,il);function s1(a,y){return a.index-y.index}function Y0(a,y){if(!a.$n){for(var x=[],b=pr(a.destinationEdgesArrayAccess),E=b.next();!E.done;E=b.next())E=E.value,E.valid&&x.push(E);a.$n=x}for(a=pr(a.$n),x=a.next();!x.done;x=a.next())if(x=x.value,x.toVertex===y)return x;bt("Unable to find destination edge to given vertex")}function By(a){if(!a.co){for(var y=[],x=pr(a.sourceEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.fromVertex);y.sort(s1),a.co=y}return a.co}function Mb(a){if(!a.ao){for(var y=[],x=pr(a.destinationEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.toVertex);y.sort(s1),a.ao=y}return a.ao}jc.prototype.Cl=function(a){il.prototype.Cl.call(this,a),this.bo=this.co=null},jc.prototype.Kl=function(a){il.prototype.Kl.call(this,a),this.bo=this.co=null},jc.prototype.zl=function(a){il.prototype.zl.call(this,a),this.$n=this.ao=null},jc.prototype.Jl=function(a){il.prototype.Jl.call(this,a),this.$n=this.ao=null},Nt.Object.defineProperties(jc.prototype,{layer:{get:function(){return this.Ig},set:function(a){this.Ig!==a&&(this.Ig=a)}},column:{get:function(){return this.Ag},set:function(a){this.Ag!==a&&(this.Ag=a)}},index:{get:function(){return this.Za},set:function(a){this.Za!==a&&(this.Za=a)}},component:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},near:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),jc.prototype.deleteDestinationEdge=jc.prototype.Jl,jc.prototype.addDestinationEdge=jc.prototype.zl,jc.prototype.deleteSourceEdge=jc.prototype.Kl,jc.prototype.addSourceEdge=jc.prototype.Cl,jc.className="LayeredDigraphVertex";function pm(a){fc.call(this,a),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}qt(pm,fc),Nt.Object.defineProperties(pm.prototype,{fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}},valid:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},rev:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},forest:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},portFromPos:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},portToPos:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},portFromColOffset:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},portToColOffset:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),pm.className="LayeredDigraphEdge";function vo(a){Wa.call(this),this.Ub=new Fn,this.Wn=J0,this.ud=qd,this.vo=ev,this.Bq=Yy,this.$v=[],this.td=!0,this.Rb=tv,this.$d=new fi(10,10).freeze();var y=new Tf(this);this.W=new Yc(y),this.Y=new Yc(y),this.ru=[],a&&Object.assign(this,a)}qt(vo,Wa),vo.prototype.cloneProtected=function(a){Wa.prototype.cloneProtected.call(this,a),a.Wn=this.Wn,a.vo=this.vo,a.Bq=this.Bq,a.td=this.td,a.Rb=this.Rb,a.$d.assign(this.$d),a.W.copyInheritedPropertiesFrom(this.W),a.Y.copyInheritedPropertiesFrom(this.Y)},vo.prototype.qb=function(a){a.classType===vo?a.name.indexOf("Alignment")===0?this.alignment=a:a.name.indexOf("Arrangement")===0?this.arrangement=a:a.name.indexOf("Compaction")===0?this.compaction=a:a.name.indexOf("Path")===0?this.path=a:a.name.indexOf("Sorting")===0?this.sorting=a:a.name.indexOf("Style")===0?this.treeStyle=a:bt("Unknown enum value: "+a):Wa.prototype.qb.call(this,a)},vo.prototype.createNetwork=function(){return new Tf(this)},vo.prototype.makeNetwork=function(a){function y(b){if(b instanceof Li)return!b.isLinkLabel&&b.category!=="Comment";if(b instanceof yi){var E=b.fromNode;return E===null||E.isLinkLabel||E.category==="Comment"?!1:(b=b.toNode,!(b===null||b.isLinkLabel||b.category==="Comment"))}return!1}var x=this.createNetwork();return a instanceof pn?(x.lg(a.nodes,!0,y),x.lg(a.links,!0,y)):a instanceof Ur?x.lg(a.memberParts,!1,y):x.lg(a.iterator,!1,y),x},vo.prototype.doLayout=function(a){this.network===null&&(this.network=this.makeNetwork(a)),this.arrangement!==nv&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var y=this.diagram;if(y===null&&a instanceof pn&&(y=a),this.path===J0&&y!==null?this.ud=y.isTreePathToChildren?qd:Mf:this.ud=this.path===J0?qd:this.path,0y.level)return!1;a.removeChild(x.parent,x)}return!0}vo.prototype.removeChild=function(a,y){if(a!==null&&y!==null){for(var x=a.children,b=0,E=0;EE?f1(this,a,te,Ar,at,Ct):p1(this,a,te,Ar,at,Ct),Ar=Ct.x,at=Ct.width,Ct=Ct.height;break;case Yh:for(Dt=0;Dtve&&(jiPl&&(Nf(a,-Pl,0,Fr,Wo-1),Q0(Dt,-Pl,0),Q0(Kt,-Pl,0),Pl=0)}wa.S.h(Pl,Di),at=Math.max(at,vn),Ct=Math.max(Ct,Lt+(vi===0?0:Fe)+vl.height),ji=vn}else 0ve&&(DiPl&&(Nf(a,0,-Pl,Fr,Wo-1),Q0(Dt,0,-Pl),Q0(Kt,0,-Pl),Pl=0)),wa.S.h(ji,Pl),Ct=Math.max(Ct,Pi),at=Math.max(at,Lt+(vi===0?0:Fe)+vl.width),Di=Pi;ti++}switch(0ce&&(ce=0),135Ze&&(Ze=0),le===bh&&(re+=Pe/2+a.focus.y),te+=b+x):y?(a.comments===null?b>at&&(at=Gy(le,b-at,0),te=at.x,re=at.y,at=b,ce=0):at=Uy(a,at,ce),0>ce&&(te-=ce,ce=0),135Ct&&(Ct=Gy(le,0,pt-Ct),te=Ct.x,re=Ct.y,Ct=pt,Ze=0):Ct=_y(a,Ct,Ze),0>Ze&&(re-=Ze,Ze=0),te+=b+x),0E[0].x?E[2].assign(E[1]):E[1].assign(E[2])),E[3].yE[0].x?E[3].assign(E[2]):E[2].assign(E[3])),vi[0].h(ce+b,0),vi[1].h(vi[0].x,pt),vi[2].yE[0].y?E[2].assign(E[1]):E[1].assign(E[2])),E[3].xE[0].y?E[3].assign(E[2]):E[2].assign(E[3])),vi[0].h(0,Ze+pt),vi[1].h(b,vi[0].y),vi[2].xb?f1(a,y,E,ti,Lt,Dt):p1(a,y,E,ti,Lt,Dt),ti=Dt.x,Lt=Dt.width,Dt=Dt.height;break;case Yh:for(Pe=0;PePe&&(vnPe&&(Pive&&(ve=0),135at&&(at=0)),y.la.h(ve,at),y.Da.h(Lt,Dt)}}vo.prototype.customAlignment=function(a,y,x,b,E){return[y,x,b,E]};function f1(a,y,x,b,E,z){var te=x.length;if(te===0)return new jn(b,0,E,z);if(te===1)return y=x[0],E=y.Da.width,z=y.Da.height,new jn(b,0,E,z);for(var re=y.nodeSpacing,le=y.rowSpacing,ce=gd(y)===90,de=0,ve=0,Pe=0,Le=0;Lece&&(E-=ce),z=Math.max(z,Math.max(Le,Pe)+a+te.height),0>x.S.x&&(b=$0(y,x.S.x,!1,b,re))):(x.S.h(E+a,b+re/2-x.focus.y-x.la.y),E=Math.max(E,Math.max(Fe,ve)+a+te.width),Pe=b+re/2-x.focus.y-x.la.y,z=Math.max(z,Pe+te.height),0>Pe&&(z-=Pe),0>x.S.y&&(b=$0(y,x.S.y,!0,b,re)))),new jn(b,0,E,z)}function p1(a,y,x,b,E,z){var te=x.length;if(te===0)return new jn(b,0,E,z);if(te===1)return x=x[0],E=x.Da.width,z=x.Da.height,new jn(b,0,E,z);for(var re=y.nodeSpacing,le=y.rowSpacing,ce=gd(y)===270,de=0,ve=0,Pe=0,Le=0;Leve&&(E-=ve),z=Math.max(z,Math.abs(Math.min(Le,Pe))+a+de.height),0>le.S.x&&(b=$0(y,le.S.x,!1,b,re))):(le.S.h(-E-de.width-a,b+re/2-le.focus.y-le.la.y),E=Math.max(E,Math.abs(Math.min(Fe,ve))+a+de.width),Pe=b+re/2-le.focus.y-le.la.y,z=Math.max(z,Pe+de.height),0>Pe&&(z-=Pe),0>le.S.y&&(b=$0(y,le.S.y,!0,b,re)))),y=0;yy&&(y=x+a.width),0>x&&(y-=x),y;case eh:return a.width>y?a.width:y;case th:return 2*a.focus.x>y?a.width:y+a.width-2*a.focus.x;case Kh:case nh:return Math.max(a.width,Math.max(y,x+a.width)-Math.min(0,x));case Yh:return a.width-a.focus.x+a.nodeSpacing/2+y;case bh:return Math.max(a.width,a.focus.x+a.nodeSpacing/2+y);default:return y}}function _y(a,y,x){switch(a.alignment){case Lf:case vp:return x+a.height>y&&(y=x+a.height),0>x&&(y-=x),y;case eh:return a.height>y?a.height:y;case th:return 2*a.focus.y>y?a.height:y+a.height-2*a.focus.y;case Kh:case nh:return Math.max(a.height,Math.max(y,x+a.height)-Math.min(0,x));case Yh:return a.height-a.focus.y+a.nodeSpacing/2+y;case bh:return Math.max(a.height,a.focus.y+a.nodeSpacing/2+y);default:return y}}function Gy(a,y,x){switch(a){case vp:y/=2,x/=2;break;case Lf:y/=2,x/=2;break;case eh:x=y=0;break;case th:break;default:bt("Unhandled alignment value "+a.toString())}return new lt(y,x)}function tf(a,y,x,b,E,z){y=Gy(y,x,b),Nf(a,y.x,y.y,E,z)}function Nf(a,y,x,b,E){if(y!==0||x!==0)for(a=a.children;b<=E;b++){var z=a[b].S;z.x+=y,z.y+=x}}function X0(a,y,x,b){var E=y.parent;switch(a.ud){case qd:for(a=y.sourceEdges;a.next();)y=a.value,y.fromVertex===E&&y.relativePoint.h(x,b);break;case Mf:for(a=y.destinationEdges;a.next();)y=a.value,y.toVertex===E&&y.relativePoint.h(x,b);break;default:bt("Unhandled path value "+a.ud.toString())}}function Q0(a,y,x){for(var b=0;bve.length||Le===null||2>Le.length))for(E=x=0;xce&&z.yz.y&&cey.length||x===null||2>x.length)b=null;else{for(de=ic(a,y.length+x.length),b=z=le=0;zle;)ce=x[z++],de[b++].h(ce.x+E,ce.y);for(x=ic(a,b),le=0;leve.length||z===null||2>z.length)E=null;else{for(de=ic(a,ve.length+z.length),E=ce=x=0;xz;)le=ve[x++],de[E++].h(le.x,le.y);for(z=ic(a,E),x=0;xve.length||Le===null||2>Le.length))for(E=x=0;xle&&z.xz.x&&ley.length||x===null||2>x.length)b=null;else{for(de=ic(a,y.length+x.length),b=z=le=0;zle;)ce=x[z++],de[b++].h(ce.x,ce.y+E);for(x=ic(a,b),le=0;leve.length||z===null||2>z.length)E=null;else{for(de=ic(a,ve.length+z.length),E=ce=x=0;xz;)le=ve[x++],de[E++].h(le.x,le.y);for(z=ic(a,E),x=0;x=a?0:135>=a?90:225>=a?180:315>=a?270:0}vo.prototype.computeLayerSpacing=function(a){var y=gd(a);y=y===90||y===270;var x=a.layerSpacing;if(0=a&&(this.W.nodeIndentPastParent=a,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(a){this.W.nodeSpacing!==a&&(this.W.nodeSpacing=a,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(a){this.W.layerSpacing!==a&&(this.W.layerSpacing=a,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(a){this.W.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.W.layerSpacingParentOverlap=a,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(a){this.W.compaction===a||a!==q0&&a!==xm||(this.W.compaction=a,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(a){this.W.breadthLimit!==a&&0<=a&&(this.W.breadthLimit=a,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(a){this.W.rowSpacing!==a&&(this.W.rowSpacing=a,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(a){this.W.rowIndent!==a&&0<=a&&(this.W.rowIndent=a,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(a){this.W.commentSpacing!==a&&(this.W.commentSpacing=a,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(a){this.W.commentMargin!==a&&(this.W.commentMargin=a,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(a){this.W.setsPortSpot!==a&&(this.W.setsPortSpot=a,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(a){this.W.portSpot.D(a)||(this.W.portSpot=a,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(a){this.W.setsChildPortSpot!==a&&(this.W.setsChildPortSpot=a,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(a){this.W.childPortSpot.D(a)||(this.W.childPortSpot=a,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(a){this.Y.sorting===a||a!==mp&&a!==vm&&a!==ym&&!Sm||(this.Y.sorting=a,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(a){this.Y.comparer!==a&&(this.Y.comparer=a,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(a){this.Y.angle===a||a!==0&&a!==90&&a!==180&&a!==270||(this.Y.angle=a,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(a){this.Y.alignment!==a&&(this.Y.alignment=a,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(a){this.Y.nodeIndent!==a&&0<=a&&(this.Y.nodeIndent=a,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(a){this.Y.nodeIndentPastParent!==a&&0<=a&&1>=a&&(this.Y.nodeIndentPastParent=a,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(a){this.Y.nodeSpacing!==a&&(this.Y.nodeSpacing=a,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(a){this.Y.layerSpacing!==a&&(this.Y.layerSpacing=a,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(a){this.Y.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.Y.layerSpacingParentOverlap=a,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(a){this.Y.compaction===a||a!==q0&&a!==xm||(this.Y.compaction=a,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(a){this.Y.breadthLimit!==a&&0<=a&&(this.Y.breadthLimit=a,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(a){this.Y.rowSpacing!==a&&(this.Y.rowSpacing=a,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(a){this.Y.rowIndent!==a&&0<=a&&(this.Y.rowIndent=a,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(a){this.Y.commentSpacing!==a&&(this.Y.commentSpacing=a,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(a){this.Y.commentMargin!==a&&(this.Y.commentMargin=a,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(a){this.Y.setsPortSpot!==a&&(this.Y.setsPortSpot=a,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(a){this.Y.portSpot.D(a)||(this.Y.portSpot=a,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(a){this.Y.setsChildPortSpot!==a&&(this.Y.setsChildPortSpot=a,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(a){this.Y.childPortSpot.D(a)||(this.Y.childPortSpot=a,this.C())}}});var J0=new tn(vo,"PathDefault",-1),qd=new tn(vo,"PathDestination",0),Mf=new tn(vo,"PathSource",1),mp=new tn(vo,"SortingForwards",10),vm=new tn(vo,"SortingReverse",11),ym=new tn(vo,"SortingAscending",12),Sm=new tn(vo,"SortingDescending",13),vp=new tn(vo,"AlignmentCenterSubtrees",20),Lf=new tn(vo,"AlignmentCenterChildren",21),eh=new tn(vo,"AlignmentStart",22),th=new tn(vo,"AlignmentEnd",23),Kh=new tn(vo,"AlignmentBus",24),nh=new tn(vo,"AlignmentBusBranching",25),Yh=new tn(vo,"AlignmentTopLeftBus",26),bh=new tn(vo,"AlignmentBottomRightBus",27),q0=new tn(vo,"CompactionNone",30),xm=new tn(vo,"CompactionBlock",31),ev=new tn(vo,"StyleLayered",40),Wy=new tn(vo,"StyleLastParents",41),Zy=new tn(vo,"StyleAlternating",42),Vy=new tn(vo,"StyleRootOnly",43),tv=new tn(vo,"ArrangementVertical",50),Ky=new tn(vo,"ArrangementHorizontal",51),nv=new tn(vo,"ArrangementFixedRoots",52),Yy=new tn(vo,"LayerIndividual",60),$y=new tn(vo,"LayerSiblings",61),iv=new tn(vo,"LayerUniform",62);vo.className="TreeLayout",vo.PathDefault=J0,vo.PathDestination=qd,vo.PathSource=Mf,vo.SortingForwards=mp,vo.SortingReverse=vm,vo.SortingAscending=ym,vo.SortingDescending=Sm,vo.AlignmentCenterSubtrees=vp,vo.AlignmentCenterChildren=Lf,vo.AlignmentStart=eh,vo.AlignmentEnd=th,vo.AlignmentBus=Kh,vo.AlignmentBusBranching=nh,vo.AlignmentTopLeftBus=Yh,vo.AlignmentBottomRightBus=bh,vo.CompactionNone=q0,vo.CompactionBlock=xm,vo.StyleLayered=ev,vo.StyleLastParents=Wy,vo.StyleAlternating=Zy,vo.StyleRootOnly=Vy,vo.ArrangementVertical=tv,vo.ArrangementHorizontal=Ky,vo.ArrangementFixedRoots=nv,vo.LayerIndividual=Yy,vo.LayerSiblings=$y,vo.LayerUniform=iv;function Tf(a){Aa.call(this,a)}qt(Tf,Aa),Tf.prototype.createVertex=function(){return new Yc(this)},Tf.prototype.createEdge=function(){return new yp(this)},Tf.className="TreeNetwork";function Yc(a){il.call(this,a),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new lt(0,0),this.Da=new fi(0,0),this.la=new lt(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=mp,this.hd=py,this.Kb=0,this.Jb=Lf,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=xm,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=Vr,this.wr=!0,this.Dp=Vr}qt(Yc,il),Yc.prototype.copyInheritedPropertiesFrom=function(a){a!==null&&(this.nd=a.sorting,this.hd=a.comparer,this.Kb=a.angle,this.Jb=a.alignment,this.Uq=a.nodeIndent,this.Vq=a.nodeIndentPastParent,this.Wq=a.nodeSpacing,this.ie=a.layerSpacing,this.Aq=a.layerSpacingParentOverlap,this.Hp=a.compaction,this.Ap=a.breadthLimit,this.nr=a.rowSpacing,this.mr=a.rowIndent,this.Gp=a.commentSpacing,this.Fp=a.commentMargin,this.xr=a.setsPortSpot,this.dr=a.portSpot,this.wr=a.setsChildPortSpot,this.Dp=a.childPortSpot)},Nt.Object.defineProperties(Yc.prototype,{initialized:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},parent:{get:function(){return this.hb},set:function(a){this.hb!==a&&(this.hb=a)}},children:{get:function(){return this.u},set:function(a){if(this.u!==a){if(a!==null)for(var y=a.length,x=0;xLe.y+x.rowIndent&&(z=Math.min(z,Math.max(ve.y,z-y.computeNodeIndent(x))))):x.alignment===eh?(z=b.top+E.y,E.y===0&&ve.yLe.x+x.rowIndent&&(z=Math.min(z,Math.max(ve.x,z-y.computeNodeIndent(x))))):x.alignment===eh?(z=b.left+E.x,E.x===0&&ve.xLe.y+x.rowIndent&&(z=Math.min(z,Math.max(ve.y,z-y.computeNodeIndent(x))))):x.alignment===eh?(z=b.top+E.y,E.y===0&&ve.yLe.x+x.rowIndent&&(z=Math.min(z,Math.max(ve.x,z-y.computeNodeIndent(x))))):x.alignment===eh?(z=b.left+E.x,E.x===0&&ve.x=97&&se<=122||se>=65&&se<=90}},21127:function(_e,be,oe){"use strict";var se=oe(91241),Ce=oe(22347);_e.exports=we;function we(Ie){return se(Ie)||Ce(Ie)}},22347:function(_e){"use strict";_e.exports=be;function be(oe){var se=typeof oe=="string"?oe.charCodeAt(0):oe;return se>=48&&se<=57}},65207:function(_e){"use strict";_e.exports=be;function be(oe){var se=typeof oe=="string"?oe.charCodeAt(0):oe;return se>=97&&se<=102||se>=65&&se<=70||se>=48&&se<=57}},67842:function(_e){"use strict";var be,oe=59;_e.exports=se;function se(Ce){var we="&"+Ce+";",Ie;return be=be||document.createElement("i"),be.innerHTML=we,Ie=be.textContent,Ie.charCodeAt(Ie.length-1)===oe&&Ce!=="semi"||Ie===we?!1:Ie}},12256:function(_e,be,oe){"use strict";var se=oe(47854),Ce=oe(80501),we=oe(22347),Ie=oe(65207),De=oe(21127),Ke=oe(67842);_e.exports=an;var Ee={}.hasOwnProperty,et=String.fromCharCode,Je=Function.prototype,Ye={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},tt=9,ht=10,kt=12,ze=32,ee=38,ne=59,ge=60,ue=61,me=35,Se=88,Ne=120,ke=65533,Te="named",We="hexadecimal",$e="decimal",st={};st[We]=16,st[$e]=10;var ut={};ut[Te]=De,ut[$e]=we,ut[We]=Ie;var Mt=1,nt=2,$t=3,Pt=4,dn=5,zt=6,Xt=7,fn={};fn[Mt]="Named character references must be terminated by a semicolon",fn[nt]="Numeric character references must be terminated by a semicolon",fn[$t]="Named character references cannot be empty",fn[Pt]="Numeric character references cannot be empty",fn[dn]="Named character references must be known",fn[zt]="Numeric character references cannot be disallowed",fn[Xt]="Numeric character references cannot be outside the permissible Unicode range";function an(Bt,sn){var It={},en,En;sn||(sn={});for(En in Ye)en=sn[En],It[En]=en==null?Ye[En]:en;return(It.position.indent||It.position.start)&&(It.indent=It.position.indent||[],It.position=It.position.start),it(Bt,It)}function it(Bt,sn){var It=sn.additional,en=sn.nonTerminated,En=sn.text,ei=sn.reference,An=sn.warning,Kn=sn.textContext,jt=sn.referenceContext,Nn=sn.warningContext,Gn=sn.position,ii=sn.indent||[],Sn=Bt.length,Yt=0,Zt=-1,St=Gn.column||1,rt=Gn.line||1,Ft="",Ot=[],ft,ct,Ge,Ae,xe,je,Qe,Oe,xt,hn,Pn,wt,nn,Mn,Zn,li,xi,Mi,Si;for(typeof It=="string"&&(It=It.charCodeAt(0)),li=Ri(),Oe=An?lr:Je,Yt--,Sn++;++Yt65535&&(je-=65536,hn+=et(je>>>10|55296),je=56320|je&1023),je=hn+et(je))):Mn!==Te&&Oe(Pt,Mi)),je?(dr(),li=Ri(),Yt=Si-1,St+=Si-nn+1,Ot.push(je),xi=Ri(),xi.offset++,ei&&ei.call(jt,je,{start:li,end:xi},Bt.slice(nn-1,Si)),li=xi):(Ae=Bt.slice(nn-1,Si),Ft+=Ae,St+=Ae.length,Yt=Si-1)}else xe===10&&(rt++,Zt++,St=0),xe===xe?(Ft+=et(xe),St++):dr();return Ot.join("");function Ri(){return{line:rt,column:St,offset:Yt+(Gn.offset||0)}}function lr(ur,Sr){var Wr=Ri();Wr.column+=Sr,Wr.offset+=Sr,An.call(Nn,fn[ur],Wr,ur)}function dr(){Ft&&(Ot.push(Ft),En&&En.call(Kn,Ft,{start:li,end:Ri()}),Ft="")}}function Ve(Bt){return Bt>=55296&&Bt<=57343||Bt>1114111}function gt(Bt){return Bt>=1&&Bt<=8||Bt===11||Bt>=13&&Bt<=31||Bt>=127&&Bt<=159||Bt>=64976&&Bt<=65007||(Bt&65535)===65535||(Bt&65535)===65534}},68398:function(_e,be,oe){var se=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var Ce=function(we){var Ie=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,De=0,Ke={},Ee={manual:we.Prism&&we.Prism.manual,disableWorkerMessageHandler:we.Prism&&we.Prism.disableWorkerMessageHandler,util:{encode:function ue(me){return me instanceof et?new et(me.type,ue(me.content),me.alias):Array.isArray(me)?me.map(ue):me.replace(/&/g,"&").replace(/"+ke.content+""};function Je(ue,me,Se,Ne){ue.lastIndex=me;var ke=ue.exec(Se);if(ke&&Ne&&ke[1]){var Te=ke[1].length;ke.index+=Te,ke[0]=ke[0].slice(Te)}return ke}function Ye(ue,me,Se,Ne,ke,Te){for(var We in Se)if(!(!Se.hasOwnProperty(We)||!Se[We])){var $e=Se[We];$e=Array.isArray($e)?$e:[$e];for(var st=0;st<$e.length;++st){if(Te&&Te.cause==We+","+st)return;var ut=$e[st],Mt=ut.inside,nt=!!ut.lookbehind,$t=!!ut.greedy,Pt=ut.alias;if($t&&!ut.pattern.global){var dn=ut.pattern.toString().match(/[imsuy]*$/)[0];ut.pattern=RegExp(ut.pattern.source,dn+"g")}for(var zt=ut.pattern||ut,Xt=Ne.next,fn=ke;Xt!==me.tail&&!(Te&&fn>=Te.reach);fn+=Xt.value.length,Xt=Xt.next){var an=Xt.value;if(me.length>ue.length)return;if(!(an instanceof et)){var it=1,Ve;if($t){if(Ve=Je(zt,fn,ue,nt),!Ve||Ve.index>=ue.length)break;var It=Ve.index,gt=Ve.index+Ve[0].length,Bt=fn;for(Bt+=Xt.value.length;It>=Bt;)Xt=Xt.next,Bt+=Xt.value.length;if(Bt-=Xt.value.length,fn=Bt,Xt.value instanceof et)continue;for(var sn=Xt;sn!==me.tail&&(BtTe.reach&&(Te.reach=An);var Kn=Xt.prev;En&&(Kn=ht(me,Kn,En),fn+=En.length),kt(me,Kn,it);var jt=new et(We,Mt?Ee.tokenize(en,Mt):en,Pt,en);if(Xt=ht(me,Kn,jt),ei&&ht(me,Xt,ei),it>1){var Nn={cause:We+","+st,reach:An};Ye(ue,me,Se,Xt.prev,fn,Nn),Te&&Nn.reach>Te.reach&&(Te.reach=Nn.reach)}}}}}}function tt(){var ue={value:null,prev:null,next:null},me={value:null,prev:ue,next:null};ue.next=me,this.head=ue,this.tail=me,this.length=0}function ht(ue,me,Se){var Ne=me.next,ke={value:Se,prev:me,next:Ne};return me.next=ke,Ne.prev=ke,ue.length++,ke}function kt(ue,me,Se){for(var Ne=me.next,ke=0;ke4&&ee.slice(0,4)===Ie&&De.test(ze)&&(ze.charAt(4)==="-"?ne=Je(ze):ze=Ye(ze),ge=Ce),new ge(ne,ze))}function Je(kt){var ze=kt.slice(5).replace(Ke,ht);return Ie+ze.charAt(0).toUpperCase()+ze.slice(1)}function Ye(kt){var ze=kt.slice(4);return Ke.test(ze)?kt:(ze=ze.replace(Ee,tt),ze.charAt(0)!=="-"&&(ze="-"+ze),Ie+ze)}function tt(kt){return"-"+kt.toLowerCase()}function ht(kt){return kt.charAt(1).toUpperCase()}},18795:function(_e,be,oe){"use strict";var se=oe(83576),Ce=oe(8179),we=oe(59780),Ie=oe(68244),De=oe(20019),Ke=oe(38567);_e.exports=se([we,Ce,Ie,De,Ke])},20019:function(_e,be,oe){"use strict";var se=oe(70167),Ce=oe(79318),we=se.booleanish,Ie=se.number,De=se.spaceSeparated;_e.exports=Ce({transform:Ke,properties:{ariaActiveDescendant:null,ariaAtomic:we,ariaAutoComplete:null,ariaBusy:we,ariaChecked:we,ariaColCount:Ie,ariaColIndex:Ie,ariaColSpan:Ie,ariaControls:De,ariaCurrent:null,ariaDescribedBy:De,ariaDetails:null,ariaDisabled:we,ariaDropEffect:De,ariaErrorMessage:null,ariaExpanded:we,ariaFlowTo:De,ariaGrabbed:we,ariaHasPopup:null,ariaHidden:we,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:De,ariaLevel:Ie,ariaLive:null,ariaModal:we,ariaMultiLine:we,ariaMultiSelectable:we,ariaOrientation:null,ariaOwns:De,ariaPlaceholder:null,ariaPosInSet:Ie,ariaPressed:we,ariaReadOnly:we,ariaRelevant:null,ariaRequired:we,ariaRoleDescription:De,ariaRowCount:Ie,ariaRowIndex:Ie,ariaRowSpan:Ie,ariaSelected:we,ariaSetSize:Ie,ariaSort:null,ariaValueMax:Ie,ariaValueMin:Ie,ariaValueNow:Ie,ariaValueText:null,role:null}});function Ke(Ee,et){return et==="role"?et:"aria-"+et.slice(4).toLowerCase()}},38567:function(_e,be,oe){"use strict";var se=oe(70167),Ce=oe(79318),we=oe(85804),Ie=se.boolean,De=se.overloadedBoolean,Ke=se.booleanish,Ee=se.number,et=se.spaceSeparated,Je=se.commaSeparated;_e.exports=Ce({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:we,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Je,acceptCharset:et,accessKey:et,action:null,allow:null,allowFullScreen:Ie,allowPaymentRequest:Ie,allowUserMedia:Ie,alt:null,as:null,async:Ie,autoCapitalize:null,autoComplete:et,autoFocus:Ie,autoPlay:Ie,capture:Ie,charSet:null,checked:Ie,cite:null,className:et,cols:Ee,colSpan:null,content:null,contentEditable:Ke,controls:Ie,controlsList:et,coords:Ee|Je,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ie,defer:Ie,dir:null,dirName:null,disabled:Ie,download:De,draggable:Ke,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ie,formTarget:null,headers:et,height:Ee,hidden:Ie,high:Ee,href:null,hrefLang:null,htmlFor:et,httpEquiv:et,id:null,imageSizes:null,imageSrcSet:Je,inputMode:null,integrity:null,is:null,isMap:Ie,itemId:null,itemProp:et,itemRef:et,itemScope:Ie,itemType:et,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ie,low:Ee,manifest:null,max:null,maxLength:Ee,media:null,method:null,min:null,minLength:Ee,multiple:Ie,muted:Ie,name:null,nonce:null,noModule:Ie,noValidate:Ie,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ie,optimum:Ee,pattern:null,ping:et,placeholder:null,playsInline:Ie,poster:null,preload:null,readOnly:Ie,referrerPolicy:null,rel:et,required:Ie,reversed:Ie,rows:Ee,rowSpan:Ee,sandbox:et,scope:null,scoped:Ie,seamless:Ie,selected:Ie,shape:null,size:Ee,sizes:null,slot:null,span:Ee,spellCheck:Ke,src:null,srcDoc:null,srcLang:null,srcSet:Je,start:Ee,step:null,style:null,tabIndex:Ee,target:null,title:null,translate:null,type:null,typeMustMatch:Ie,useMap:null,value:Ke,width:Ee,wrap:null,align:null,aLink:null,archive:et,axis:null,background:null,bgColor:null,border:Ee,borderColor:null,bottomMargin:Ee,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ie,declare:Ie,event:null,face:null,frame:null,frameBorder:null,hSpace:Ee,leftMargin:Ee,link:null,longDesc:null,lowSrc:null,marginHeight:Ee,marginWidth:Ee,noResize:Ie,noHref:Ie,noShade:Ie,noWrap:Ie,object:null,profile:null,prompt:null,rev:null,rightMargin:Ee,rules:null,scheme:null,scrolling:Ke,standby:null,summary:null,text:null,topMargin:Ee,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ee,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ie,disableRemotePlayback:Ie,prefix:null,property:null,results:Ee,security:null,unselectable:null}})},85804:function(_e,be,oe){"use strict";var se=oe(56432);_e.exports=Ce;function Ce(we,Ie){return se(we,Ie.toLowerCase())}},56432:function(_e){"use strict";_e.exports=be;function be(oe,se){return se in oe?oe[se]:se}},79318:function(_e,be,oe){"use strict";var se=oe(47178),Ce=oe(44347),we=oe(19095);_e.exports=Ie;function Ie(De){var Ke=De.space,Ee=De.mustUseProperty||[],et=De.attributes||{},Je=De.properties,Ye=De.transform,tt={},ht={},kt,ze;for(kt in Je)ze=new we(kt,Ye(et,kt),Je[kt],Ke),Ee.indexOf(kt)!==-1&&(ze.mustUseProperty=!0),tt[kt]=ze,ht[se(kt)]=kt,ht[se(ze.attribute)]=kt;return new Ce(tt,ht,Ke)}},19095:function(_e,be,oe){"use strict";var se=oe(1969),Ce=oe(70167);_e.exports=De,De.prototype=new se,De.prototype.defined=!0;var we=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],Ie=we.length;function De(Ee,et,Je,Ye){var tt=-1,ht;for(Ke(this,"space",Ye),se.call(this,Ee,et);++tt5&&arguments[5]!==void 0?arguments[5]:!1,bt=arguments.length>6?arguments[6]:void 0,Ut=arguments.length>7?arguments[7]:void 0,Ln=Ye.useMemo(function(){if((0,Ee.Z)(zn)==="object")return zn.clearIcon;if(mi)return mi},[zn,mi]),ni=Ye.useMemo(function(){return!!(!Rn&&zn&&(In.length||bt)&&!(Ut==="combobox"&&bt===""))},[zn,Rn,In.length,bt,Ut]);return{allowClear:ni,clearIcon:Ye.createElement(ue,{className:"".concat(Vt,"-clear"),onMouseDown:yt,customizeIcon:Ln},"\xD7")}}var Se=Ye.createContext(null);function Ne(){return Ye.useContext(Se)}function ke(){var Vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,yt=Ye.useState(!1),In=(0,De.Z)(yt,2),zn=In[0],mi=In[1],Rn=Ye.useRef(null),bt=function(){window.clearTimeout(Rn.current)};Ye.useEffect(function(){return bt},[]);var Ut=function(ni,_t){bt(),Rn.current=window.setTimeout(function(){mi(ni),_t&&_t()},Vt)};return[zn,Ut,bt]}function Te(){var Vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,yt=Ye.useRef(null),In=Ye.useRef(null);Ye.useEffect(function(){return function(){window.clearTimeout(In.current)}},[]);function zn(mi){(mi||yt.current===null)&&(yt.current=mi),window.clearTimeout(In.current),In.current=window.setTimeout(function(){yt.current=null},Vt)}return[function(){return yt.current},zn]}function We(Vt,yt,In,zn){var mi=Ye.useRef(null);mi.current={open:yt,triggerOpen:In,customizedTrigger:zn},Ye.useEffect(function(){function Rn(bt){var Ut;if(!((Ut=mi.current)!==null&&Ut!==void 0&&Ut.customizedTrigger)){var Ln=bt.target;Ln.shadowRoot&&bt.composed&&(Ln=bt.composedPath()[0]||Ln),mi.current.open&&Vt().filter(function(ni){return ni}).every(function(ni){return!ni.contains(Ln)&&ni!==Ln})&&mi.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Rn),function(){return window.removeEventListener("mousedown",Rn)}},[])}var $e=oe(36994),st=oe(11780),ut=function(yt,In){var zn,mi,Rn=yt.prefixCls,bt=yt.id,Ut=yt.inputElement,Ln=yt.disabled,ni=yt.tabIndex,_t=yt.autoFocus,yn=yt.autoComplete,Qt=yt.editable,un=yt.activeDescendantId,wn=yt.value,gn=yt.maxLength,kn=yt.onKeyDown,Bn=yt.onMouseDown,Vn=yt.onChange,Jn=yt.onPaste,Wn=yt.onCompositionStart,gi=yt.onCompositionEnd,Fi=yt.open,ir=yt.attrs,zi=Ut||Ye.createElement("input",null),tn=zi,Ai=tn.ref,Bi=tn.props,Ti=Bi.onKeyDown,hr=Bi.onChange,tr=Bi.onMouseDown,br=Bi.onCompositionStart,Xi=Bi.onCompositionEnd,Hi=Bi.style;return(0,Je.Kp)(!("maxLength"in zi.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),zi=Ye.cloneElement(zi,(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({type:"search"},Bi),{},{id:bt,ref:(0,ne.sQ)(In,Ai),disabled:Ln,tabIndex:ni,autoComplete:yn||"off",autoFocus:_t,className:ht()("".concat(Rn,"-selection-search-input"),(zn=zi)===null||zn===void 0||(mi=zn.props)===null||mi===void 0?void 0:mi.className),role:"combobox","aria-label":"Search","aria-expanded":Fi||!1,"aria-haspopup":"listbox","aria-owns":"".concat(bt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(bt,"_list"),"aria-activedescendant":Fi?un:void 0},ir),{},{value:Qt?wn:"",maxLength:gn,readOnly:!Qt,unselectable:Qt?null:"on",style:(0,Ie.Z)((0,Ie.Z)({},Hi),{},{opacity:Qt?null:0}),onKeyDown:function(Gt){kn(Gt),Ti&&Ti(Gt)},onMouseDown:function(Gt){Bn(Gt),tr&&tr(Gt)},onChange:function(Gt){Vn(Gt),hr&&hr(Gt)},onCompositionStart:function(Gt){Wn(Gt),br&&br(Gt)},onCompositionEnd:function(Gt){gi(Gt),Xi&&Xi(Gt)},onPaste:Jn})),zi},Mt=Ye.forwardRef(ut);Mt.displayName="Input";var nt=Mt;function $t(Vt){return Array.isArray(Vt)?Vt:Vt!==void 0?[Vt]:[]}var Pt=typeof window!="undefined"&&window.document&&window.document.documentElement,dn=Pt;function zt(Vt){return Vt!=null}function Xt(Vt){return!Vt&&Vt!==0}function fn(Vt){return["string","number"].includes((0,Ee.Z)(Vt))}function an(Vt){var yt=void 0;return Vt&&(fn(Vt.title)?yt=Vt.title.toString():fn(Vt.label)&&(yt=Vt.label.toString())),yt}function it(Vt,yt){dn?Ye.useLayoutEffect(Vt,yt):Ye.useEffect(Vt,yt)}function Ve(Vt){var yt;return(yt=Vt.key)!==null&&yt!==void 0?yt:Vt.value}var gt=function(yt){yt.preventDefault(),yt.stopPropagation()},Bt=function(yt){var In=yt.id,zn=yt.prefixCls,mi=yt.values,Rn=yt.open,bt=yt.searchValue,Ut=yt.autoClearSearchValue,Ln=yt.inputRef,ni=yt.placeholder,_t=yt.disabled,yn=yt.mode,Qt=yt.showSearch,un=yt.autoFocus,wn=yt.autoComplete,gn=yt.activeDescendantId,kn=yt.tabIndex,Bn=yt.removeIcon,Vn=yt.maxTagCount,Jn=yt.maxTagTextLength,Wn=yt.maxTagPlaceholder,gi=Wn===void 0?function(Rr){return"+ ".concat(Rr.length," ...")}:Wn,Fi=yt.tagRender,ir=yt.onToggleOpen,zi=yt.onRemove,tn=yt.onInputChange,Ai=yt.onInputPaste,Bi=yt.onInputKeyDown,Ti=yt.onInputMouseDown,hr=yt.onInputCompositionStart,tr=yt.onInputCompositionEnd,br=Ye.useRef(null),Xi=(0,Ye.useState)(0),Hi=(0,De.Z)(Xi,2),Ir=Hi[0],Gt=Hi[1],Kr=(0,Ye.useState)(!1),Fn=(0,De.Z)(Kr,2),kr=Fn[0],Go=Fn[1],Dr="".concat(zn,"-selection"),po=Rn||yn==="multiple"&&Ut===!1||yn==="tags"?bt:"",Do=yn==="tags"||yn==="multiple"&&Ut===!1||Qt&&(Rn||kr);it(function(){Gt(br.current.scrollWidth)},[po]);function Ji(Rr,Ko,Yr,yo,Mr){return Ye.createElement("span",{className:ht()("".concat(Dr,"-item"),(0,we.Z)({},"".concat(Dr,"-item-disabled"),Yr)),title:an(Rr)},Ye.createElement("span",{className:"".concat(Dr,"-item-content")},Ko),yo&&Ye.createElement(ue,{className:"".concat(Dr,"-item-remove"),onMouseDown:gt,onClick:Mr,customizeIcon:Bn},"\xD7"))}function or(Rr,Ko,Yr,yo,Mr){var mr=function(Uo){gt(Uo),ir(!Rn)};return Ye.createElement("span",{onMouseDown:mr},Fi({label:Ko,value:Rr,disabled:Yr,closable:yo,onClose:Mr}))}function io(Rr){var Ko=Rr.disabled,Yr=Rr.label,yo=Rr.value,Mr=!_t&&!Ko,mr=Yr;if(typeof Jn=="number"&&(typeof Yr=="string"||typeof Yr=="number")){var co=String(mr);co.length>Jn&&(mr="".concat(co.slice(0,Jn),"..."))}var Uo=function(ra){ra&&ra.stopPropagation(),zi(Rr)};return typeof Fi=="function"?or(yo,mr,Ko,Mr,Uo):Ji(Rr,mr,Ko,Mr,Uo)}function _r(Rr){var Ko=typeof gi=="function"?gi(Rr):gi;return Ji({title:Ko},Ko,!1)}var Ii=Ye.createElement("div",{className:"".concat(Dr,"-search"),style:{width:Ir},onFocus:function(){Go(!0)},onBlur:function(){Go(!1)}},Ye.createElement(nt,{ref:Ln,open:Rn,prefixCls:zn,id:In,inputElement:null,disabled:_t,autoFocus:un,autoComplete:wn,editable:Do,activeDescendantId:gn,value:po,onKeyDown:Bi,onMouseDown:Ti,onChange:tn,onPaste:Ai,onCompositionStart:hr,onCompositionEnd:tr,tabIndex:kn,attrs:(0,$e.Z)(yt,!0)}),Ye.createElement("span",{ref:br,className:"".concat(Dr,"-search-mirror"),"aria-hidden":!0},po,"\xA0")),lt=Ye.createElement(st.Z,{prefixCls:"".concat(Dr,"-overflow"),data:mi,renderItem:io,renderRest:_r,suffix:Ii,itemKey:Ve,maxCount:Vn});return Ye.createElement(Ye.Fragment,null,lt,!mi.length&&!po&&Ye.createElement("span",{className:"".concat(Dr,"-placeholder")},ni))},sn=Bt,It=function(yt){var In=yt.inputElement,zn=yt.prefixCls,mi=yt.id,Rn=yt.inputRef,bt=yt.disabled,Ut=yt.autoFocus,Ln=yt.autoComplete,ni=yt.activeDescendantId,_t=yt.mode,yn=yt.open,Qt=yt.values,un=yt.placeholder,wn=yt.tabIndex,gn=yt.showSearch,kn=yt.searchValue,Bn=yt.activeValue,Vn=yt.maxLength,Jn=yt.onInputKeyDown,Wn=yt.onInputMouseDown,gi=yt.onInputChange,Fi=yt.onInputPaste,ir=yt.onInputCompositionStart,zi=yt.onInputCompositionEnd,tn=yt.title,Ai=Ye.useState(!1),Bi=(0,De.Z)(Ai,2),Ti=Bi[0],hr=Bi[1],tr=_t==="combobox",br=tr||gn,Xi=Qt[0],Hi=kn||"";tr&&Bn&&!Ti&&(Hi=Bn),Ye.useEffect(function(){tr&&hr(!1)},[tr,Bn]);var Ir=_t!=="combobox"&&!yn&&!gn?!1:!!Hi,Gt=tn===void 0?an(Xi):tn,Kr=function(){if(Xi)return null;var kr=Ir?{visibility:"hidden"}:void 0;return Ye.createElement("span",{className:"".concat(zn,"-selection-placeholder"),style:kr},un)};return Ye.createElement(Ye.Fragment,null,Ye.createElement("span",{className:"".concat(zn,"-selection-search")},Ye.createElement(nt,{ref:Rn,prefixCls:zn,id:mi,open:yn,inputElement:In,disabled:bt,autoFocus:Ut,autoComplete:Ln,editable:br,activeDescendantId:ni,value:Hi,onKeyDown:Jn,onMouseDown:Wn,onChange:function(kr){hr(!0),gi(kr)},onPaste:Fi,onCompositionStart:ir,onCompositionEnd:zi,tabIndex:wn,attrs:(0,$e.Z)(yt,!0),maxLength:tr?Vn:void 0})),!tr&&Xi?Ye.createElement("span",{className:"".concat(zn,"-selection-item"),title:Gt,style:Ir?{visibility:"hidden"}:void 0},Xi.label):null,Kr())},en=It;function En(Vt){return![ee.Z.ESC,ee.Z.SHIFT,ee.Z.BACKSPACE,ee.Z.TAB,ee.Z.WIN_KEY,ee.Z.ALT,ee.Z.META,ee.Z.WIN_KEY_RIGHT,ee.Z.CTRL,ee.Z.SEMICOLON,ee.Z.EQUALS,ee.Z.CAPS_LOCK,ee.Z.CONTEXT_MENU,ee.Z.F1,ee.Z.F2,ee.Z.F3,ee.Z.F4,ee.Z.F5,ee.Z.F6,ee.Z.F7,ee.Z.F8,ee.Z.F9,ee.Z.F10,ee.Z.F11,ee.Z.F12].includes(Vt)}var ei=function(yt,In){var zn=(0,Ye.useRef)(null),mi=(0,Ye.useRef)(!1),Rn=yt.prefixCls,bt=yt.open,Ut=yt.mode,Ln=yt.showSearch,ni=yt.tokenWithEnter,_t=yt.autoClearSearchValue,yn=yt.onSearch,Qt=yt.onSearchSubmit,un=yt.onToggleOpen,wn=yt.onInputKeyDown,gn=yt.domRef;Ye.useImperativeHandle(In,function(){return{focus:function(){zn.current.focus()},blur:function(){zn.current.blur()}}});var kn=Te(0),Bn=(0,De.Z)(kn,2),Vn=Bn[0],Jn=Bn[1],Wn=function(Hi){var Ir=Hi.which;(Ir===ee.Z.UP||Ir===ee.Z.DOWN)&&Hi.preventDefault(),wn&&wn(Hi),Ir===ee.Z.ENTER&&Ut==="tags"&&!mi.current&&!bt&&(Qt==null||Qt(Hi.target.value)),En(Ir)&&un(!0)},gi=function(){Jn(!0)},Fi=(0,Ye.useRef)(null),ir=function(Hi){yn(Hi,!0,mi.current)!==!1&&un(!0)},zi=function(){mi.current=!0},tn=function(Hi){mi.current=!1,Ut!=="combobox"&&ir(Hi.target.value)},Ai=function(Hi){var Ir=Hi.target.value;if(ni&&Fi.current&&/[\r\n]/.test(Fi.current)){var Gt=Fi.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ir=Ir.replace(Gt,Fi.current)}Fi.current=null,ir(Ir)},Bi=function(Hi){var Ir=Hi.clipboardData,Gt=Ir.getData("text");Fi.current=Gt},Ti=function(Hi){var Ir=Hi.target;if(Ir!==zn.current){var Gt=document.body.style.msTouchAction!==void 0;Gt?setTimeout(function(){zn.current.focus()}):zn.current.focus()}},hr=function(Hi){var Ir=Vn();Hi.target!==zn.current&&!Ir&&Ut!=="combobox"&&Hi.preventDefault(),(Ut!=="combobox"&&(!Ln||!Ir)||!bt)&&(bt&&_t!==!1&&yn("",!0,!1),un())},tr={inputRef:zn,onInputKeyDown:Wn,onInputMouseDown:gi,onInputChange:Ai,onInputPaste:Bi,onInputCompositionStart:zi,onInputCompositionEnd:tn},br=Ut==="multiple"||Ut==="tags"?Ye.createElement(sn,(0,se.Z)({},yt,tr)):Ye.createElement(en,(0,se.Z)({},yt,tr));return Ye.createElement("div",{ref:gn,className:"".concat(Rn,"-selector"),onClick:Ti,onMouseDown:hr},br)},An=Ye.forwardRef(ei);An.displayName="Selector";var Kn=An,jt=oe(35593),Nn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Gn=function(yt){var In=yt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:In,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:In,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:In,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:In,adjustY:1},htmlRegion:"scroll"}}},ii=function(yt,In){var zn=yt.prefixCls,mi=yt.disabled,Rn=yt.visible,bt=yt.children,Ut=yt.popupElement,Ln=yt.animation,ni=yt.transitionName,_t=yt.dropdownStyle,yn=yt.dropdownClassName,Qt=yt.direction,un=Qt===void 0?"ltr":Qt,wn=yt.placement,gn=yt.builtinPlacements,kn=yt.dropdownMatchSelectWidth,Bn=yt.dropdownRender,Vn=yt.dropdownAlign,Jn=yt.getPopupContainer,Wn=yt.empty,gi=yt.getTriggerDOMNode,Fi=yt.onPopupVisibleChange,ir=yt.onPopupMouseEnter,zi=(0,Ke.Z)(yt,Nn),tn="".concat(zn,"-dropdown"),Ai=Ut;Bn&&(Ai=Bn(Ut));var Bi=Ye.useMemo(function(){return gn||Gn(kn)},[gn,kn]),Ti=Ln?"".concat(tn,"-").concat(Ln):ni,hr=typeof kn=="number",tr=Ye.useMemo(function(){return hr?null:kn===!1?"minWidth":"width"},[kn,hr]),br=_t;hr&&(br=(0,Ie.Z)((0,Ie.Z)({},br),{},{width:kn}));var Xi=Ye.useRef(null);return Ye.useImperativeHandle(In,function(){return{getPopupElement:function(){return Xi.current}}}),Ye.createElement(jt.Z,(0,se.Z)({},zi,{showAction:Fi?["click"]:[],hideAction:Fi?["click"]:[],popupPlacement:wn||(un==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Bi,prefixCls:tn,popupTransitionName:Ti,popup:Ye.createElement("div",{ref:Xi,onMouseEnter:ir},Ai),stretch:tr,popupAlign:Vn,popupVisible:Rn,getPopupContainer:Jn,popupClassName:ht()(yn,(0,we.Z)({},"".concat(tn,"-empty"),Wn)),popupStyle:br,getTriggerDOMNode:gi,onPopupVisibleChange:Fi}),bt)},Sn=Ye.forwardRef(ii);Sn.displayName="SelectTrigger";var Yt=Sn,Zt=oe(17953);function St(Vt,yt){var In=Vt.key,zn;return"value"in Vt&&(zn=Vt.value),In!=null?In:zn!==void 0?zn:"rc-index-key-".concat(yt)}function rt(Vt,yt){var In=Vt||{},zn=In.label,mi=In.value,Rn=In.options,bt=In.groupLabel,Ut=zn||(yt?"children":"label");return{label:Ut,value:mi||"value",options:Rn||"options",groupLabel:bt||Ut}}function Ft(Vt){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},In=yt.fieldNames,zn=yt.childrenAsData,mi=[],Rn=rt(In,!1),bt=Rn.label,Ut=Rn.value,Ln=Rn.options,ni=Rn.groupLabel;function _t(yn,Qt){yn.forEach(function(un){if(Qt||!(Ln in un)){var wn=un[Ut];mi.push({key:St(un,mi.length),groupOption:Qt,data:un,label:un[bt],value:wn})}else{var gn=un[ni];gn===void 0&&zn&&(gn=un.label),mi.push({key:St(un,mi.length),group:!0,data:un,label:gn}),_t(un[Ln],!0)}})}return _t(Vt,!1),mi}function Ot(Vt){var yt=(0,Ie.Z)({},Vt);return"props"in yt||Object.defineProperty(yt,"props",{get:function(){return(0,Je.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),yt}}),yt}function ft(Vt,yt){if(!yt||!yt.length)return null;var In=!1;function zn(Rn,bt){var Ut=(0,Zt.Z)(bt),Ln=Ut[0],ni=Ut.slice(1);if(!Ln)return[Rn];var _t=Rn.split(Ln);return In=In||_t.length>1,_t.reduce(function(yn,Qt){return[].concat((0,Ce.Z)(yn),(0,Ce.Z)(zn(Qt,ni)))},[]).filter(function(yn){return yn})}var mi=zn(Vt,yt);return In?mi:null}var ct=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Ge=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Ae(Vt){return Vt==="tags"||Vt==="multiple"}var xe=Ye.forwardRef(function(Vt,yt){var In,zn,mi=Vt.id,Rn=Vt.prefixCls,bt=Vt.className,Ut=Vt.showSearch,Ln=Vt.tagRender,ni=Vt.direction,_t=Vt.omitDomProps,yn=Vt.displayValues,Qt=Vt.onDisplayValuesChange,un=Vt.emptyOptions,wn=Vt.notFoundContent,gn=wn===void 0?"Not Found":wn,kn=Vt.onClear,Bn=Vt.mode,Vn=Vt.disabled,Jn=Vt.loading,Wn=Vt.getInputElement,gi=Vt.getRawInputElement,Fi=Vt.open,ir=Vt.defaultOpen,zi=Vt.onDropdownVisibleChange,tn=Vt.activeValue,Ai=Vt.onActiveValueChange,Bi=Vt.activeDescendantId,Ti=Vt.searchValue,hr=Vt.autoClearSearchValue,tr=Vt.onSearch,br=Vt.onSearchSplit,Xi=Vt.tokenSeparators,Hi=Vt.allowClear,Ir=Vt.suffixIcon,Gt=Vt.clearIcon,Kr=Vt.OptionList,Fn=Vt.animation,kr=Vt.transitionName,Go=Vt.dropdownStyle,Dr=Vt.dropdownClassName,po=Vt.dropdownMatchSelectWidth,Do=Vt.dropdownRender,Ji=Vt.dropdownAlign,or=Vt.placement,io=Vt.builtinPlacements,_r=Vt.getPopupContainer,Ii=Vt.showAction,lt=Ii===void 0?[]:Ii,Rr=Vt.onFocus,Ko=Vt.onBlur,Yr=Vt.onKeyUp,yo=Vt.onKeyDown,Mr=Vt.onMouseDown,mr=(0,Ke.Z)(Vt,ct),co=Ae(Bn),Uo=(Ut!==void 0?Ut:co)||Bn==="combobox",ao=(0,Ie.Z)({},mr);Ge.forEach(function(Vr){delete ao[Vr]}),_t==null||_t.forEach(function(Vr){delete ao[Vr]});var ra=Ye.useState(!1),gr=(0,De.Z)(ra,2),Qi=gr[0],xr=gr[1];Ye.useEffect(function(){xr((0,ze.Z)())},[]);var fi=Ye.useRef(null),bo=Ye.useRef(null),ua=Ye.useRef(null),ca=Ye.useRef(null),oa=Ye.useRef(null),Ra=ke(),ts=(0,De.Z)(Ra,3),cs=ts[0],Qa=ts[1],ks=ts[2];Ye.useImperativeHandle(yt,function(){var Vr,Jr;return{focus:(Vr=ca.current)===null||Vr===void 0?void 0:Vr.focus,blur:(Jr=ca.current)===null||Jr===void 0?void 0:Jr.blur,scrollTo:function(rr){var ro;return(ro=oa.current)===null||ro===void 0?void 0:ro.scrollTo(rr)}}});var Ds=Ye.useMemo(function(){var Vr;if(Bn!=="combobox")return Ti;var Jr=(Vr=yn[0])===null||Vr===void 0?void 0:Vr.value;return typeof Jr=="string"||typeof Jr=="number"?String(Jr):""},[Ti,Bn,yn]),jn=Bn==="combobox"&&typeof Wn=="function"&&Wn()||null,gs=typeof gi=="function"&&gi(),Ql=(0,ne.x1)(bo,gs==null||(In=gs.props)===null||In===void 0?void 0:In.ref),Kl=Ye.useState(!1),Oo=(0,De.Z)(Kl,2),ma=Oo[0],ds=Oo[1];(0,kt.Z)(function(){ds(!0)},[]);var aa=(0,et.Z)(!1,{defaultValue:ir,value:Fi}),Xr=(0,De.Z)(aa,2),Qr=Xr[0],ns=Xr[1],so=ma?Qr:!1,Po=!gn&&un;(Vn||Po&&so&&Bn==="combobox")&&(so=!1);var Mo=Po?!1:so,$i=Ye.useCallback(function(Vr){var Jr=Vr!==void 0?Vr:!so;Vn||(ns(Jr),so!==Jr&&(zi==null||zi(Jr)))},[Vn,so,ns,zi]),Ja=Ye.useMemo(function(){return(Xi||[]).some(function(Vr){return[` + "nodeParentKeyProperty": `+this.quote(this.nodeParentKeyProperty)),a+y},Ue.gp=function(a){Wi.prototype.gp.call(this,a),a.nodeParentKeyProperty&&(this.nodeParentKeyProperty=a.nodeParentKeyProperty)},Ue.fp=function(a){a.nodeParentKeyProperty!==void 0&&a.nodeParentKeyProperty!==this.nodeParentKeyProperty&&bt("applyIncrementalJson cannot change Model properties"),Wi.prototype.fp.call(this,a)},Ue.Vl=function(a){return a},Ue.mh=function(a){if(a!==null){var y=this.Ke;if(y!==""&&(y=Fs(a,y),y!==void 0)){if(yg(y))return y;bt("ParentKey value for node data "+a+" is not a number or a string: "+y)}}},Ue.qe=function(a,y){if(y===null&&(y=void 0),a!==null){var x=this.Ke;if(x!=="")if(y=this.Vl(y),this.lb(a)){var b=Fs(a,x);b!==y&&(Ed(this,b,a),Ga(a,x,y),this.hc(y)===null&&wd(this,y,a),Js(this,"nodeParentKey",Ma,x,a,b,y),typeof x=="string"&&this.La(a,x))}else Ga(a,x,y)}},Ue.ss=function(a){if(a===null)return"";var y=this.nj;return y===""||(y=Fs(a,y),y===void 0)?"":typeof y=="string"?y:(bt("getParentLinkCategoryForNodeData found a non-string category for "+a+": "+y),"")},Au.prototype.getLinkCategoryForData=function(a){return this.ss(a)},Au.prototype.Ms=function(a,y){if(a!==null){var x=this.nj;if(x!=="")if(this.lb(a)){var b=Fs(a,x);b===void 0&&(b=""),b!==y&&(Ga(a,x,y),Js(this,"parentLinkCategory",Ma,x,a,b,y),typeof x=="string"&&this.La(a,x))}else Ga(a,x,y)}},Au.prototype.setLinkCategoryForData=function(a,y){this.Ms(a,y)},Au.prototype.copyNodeData=function(a){return a===null?null:(a=Wi.prototype.copyNodeData.call(this,a),this.Jj||this.Ke===""||Fs(a,this.Ke)===void 0||Ga(a,this.Ke,void 0),a)},Au.prototype.setDataProperty=function(a,y,x){if(this.lb(a)){if(y===this.nodeKeyProperty){this.km(a,x);return}if(y===this.nodeCategoryProperty){this.jm(a,x);return}if(y===this.nodeParentKeyProperty){this.qe(a,x);return}}var b=Fs(a,y);b!==x&&(Ga(a,y,x),this.Fs(a,y,b,x))},Ue=Au.prototype,Ue.jp=function(a,y){Wi.prototype.jp.call(this,a,y);for(var x=this.kb.iterator;x.next();)this.qv(x.value,a,y)},Ue.qv=function(a,y,x){if(this.mh(a)===y){var b=this.Ke;Ga(a,b,x),Js(this,"nodeParentKey",Ma,b,a,y,x),typeof b=="string"&&this.La(a,b)}},Ue.fm=function(a){Wi.prototype.fm.call(this,a),a=this.wa(a);var y=im(this,a);if(y!==null){var x=gn();for(y=y.iterator;y.next();){var b=y.value;if(this.lb(b)&&this.mh(b)===a){var E=this.Ke;Js(this,"nodeParentKey",Ma,E,b,a,a),typeof E=="string"&&this.La(b,E),x.push(b)}}for(y=0;y=a.count)a.count===1&&(a=a.first(),a.centerX=0,a.centerY=0);else{var y=new Ht;y.addAll(a.iterator),a=new Ht;var x=new Ht,b=this.sort(y),E,z,te=this.Jp,re=this.arrangement,le=this.nodeDiameterFormula,ce=this.radius;(!isFinite(ce)||0>=ce)&&(ce=NaN);var de=this.aspectRatio;(!isFinite(de)||0>=de)&&(de=1);var ve=this.startAngle;isFinite(ve)||(ve=0);var Pe=this.sweepAngle;if((!isFinite(Pe)||360Pe)&&(Pe=360),y=this.spacing,isFinite(y)||(y=NaN),re===hd&&le===Pf?re=dd:re===hd&&le!==Pf&&(re=this.arrangement),(this.direction===ef||this.direction===dp)&&this.sorting!==hp){for(le=0;!(le>=b.length)&&(a.add(b.M(le)),!(le+1>=b.length));le+=2)x.add(b.M(le+1));this.direction===ef?(this.arrangement===hd&&a.reverse(),b=new Ht,b.addAll(a),b.addAll(x)):(this.arrangement===hd&&x.reverse(),b=new Ht,b.addAll(x),b.addAll(a))}le=b.length;for(var Le=z=E=0;LePe&&(Le===0||Le===b.length-1)&&(Ze/=2),E+=Ze,z++}if(isNaN(ce)||re===hd){if(isNaN(y)&&(y=6),re!==dd&&re!==hd){for(z=-1/0,te=0;tece?(ce=E,z=ce*de):te=Le/(360<=Pe?le:le-1)}if(this.kw=re,this.lc=ce,this.Zm=de,this.lw=ve,this.Wp=Pe,this.Ti=y,this.me=z,this.Jp=te,y=b,b=this.kw,re=this.lc,ce=this.lw,de=this.Wp,ve=this.Ti,Pe=this.me,le=this.Jp,this.direction!==ef&&this.direction!==dp||b!==hd)if(this.direction===ef||this.direction===dp){switch(te=0,b){case Sg:te=180*k0(this,re,Pe,ce,le)/Math.PI;break;case dd:le=y=0,te=a.first(),te!==null&&(y=bg(te,Math.PI/2)),te=x.first(),te!==null&&(le=bg(te,Math.PI/2)),te=180*k0(this,re,Pe,ce,ve+(y+le)/2)/Math.PI;break;case Vh:te=de/y.length}if(this.direction===ef){switch(b){case Sg:lm(this,a,ce,xg);break;case dd:sm(this,a,ce,xg);break;case Vh:am(this,a,de/2,ce,xg)}switch(b){case Sg:lm(this,x,ce+te,Nu);break;case dd:sm(this,x,ce+te,Nu);break;case Vh:am(this,x,de/2,ce+te,Nu)}}else{switch(b){case Sg:lm(this,x,ce,xg);break;case dd:sm(this,x,ce,xg);break;case Vh:am(this,x,de/2,ce,xg)}switch(b){case Sg:lm(this,a,ce+te,Nu);break;case dd:sm(this,a,ce+te,Nu);break;case Vh:am(this,a,de/2,ce+te,Nu)}}}else switch(b){case Sg:lm(this,y,ce,this.direction);break;case dd:sm(this,y,ce,this.direction);break;case Vh:am(this,y,de,ce,this.direction);break;case hd:Fx(this,y,de,ce,this.direction)}else Fx(this,y,de,ce-de/2,Nu)}this.updateParts(),this.network=null,this.isValidLayout=!0};function am(a,y,x,b,E){var z=a.Wp,te=a.lc;a=a.me,b=b*Math.PI/180,x=x*Math.PI/180;for(var re=y.length,le=0;lex){for(z=b+(E===Nu?z:-z);0>z;)z+=360;z%=360,180=de.length-1));ve++)zx(a,le,ce,de,ve,E,z)||Ux(a,le,ce,de,ve,E,z),le=z.x,ce=z.y;if(lt.free(z),a.mj++,!(23Math.abs(Le)?Math.abs(le-z)<(de[0].width+de[de.length-1].width)/2&&(te=0):te=0Math.abs(Pe)?0:Pe,le=Math.abs(z)>Math.abs(ve)?0ve:0a.mj?a.lc-te/(2*Math.PI):5>de.length&&10=ve.length-1));Pe++)zx(a,le,ce,ve,Pe,E,de)||Ux(a,le,ce,ve,Pe,E,de),le=de.x,ce=de.y;if(lt.free(de),a.mj++,!(23a.mj?a.lc-z/(2*Math.PI):a.lc-(0re){if(z=y-a,z<-re)return te.x=z,te.y=ce,!1;de=!0}}else if(z=y-a,z<-re){if(z=y+a,z>re)return te.x=z,te.y=ce,!1;de=!0}return ce=Math.sqrt(1-Math.min(1,z*z/(re*re)))*le,0>x!==de&&(ce=-ce),Math.abs(x-ce)>(b[E].height+b[E+1].height)/2?(te.x=z,te.y=ce,!1):(te.x=z,te.y=ce,!0)}function Ux(a,y,x,b,E,z,te){var re=a.lc,le=a.me,ce=0;if(a=(b[E].height+b[E+1].height)/2+a.Ti,b=!1,0<=y!=(z===Nu)){if(z=x-a,z<-le){if(z=x+a,z>le){te.x=ce,te.y=z;return}b=!0}}else if(z=x+a,z>le){if(z=x-a,z<-le){te.x=ce,te.y=z;return}b=!0}ce=Math.sqrt(1-Math.min(1,z*z/(le*le)))*re,0>y!==b&&(ce=-ce),te.x=ce,te.y=z}es.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},es.prototype.commitNodes=function(){var a=this.group!==null&&this.group.placeholder!==null&&this.group.isSubGraphExpanded,y=a?this.group.location.copy():null,x=this.actualCenter;a?x=new lt(0,0):(x.x=this.arrangementOrigin.x+this.lc,x.y=this.arrangementOrigin.y+this.me);for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;E.x+=x.x,E.y+=x.y,E.commit()}a&&(this.group.Va(),a=this.group.position.copy(),x=this.group.location.copy(),y=y.re(x.re(a)),this.group.move(y),this.Zv=y.re(a))},es.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()};function Cy(a,y,x,b,E){var z=a.ty;if(.001>Math.abs(a.Zm-1))return b!==void 0&&E!==void 0?E*y:2*Math.PI*y;a=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x;for(var te=0,re=b!==void 0&&E!==void 0?E/(z+1):Math.PI/(2*(z+1)),le=0,ce=0;ce<=z;ce++){b!==void 0&&E!==void 0?le=b+ce*E/z:le=ce*Math.PI/(2*z);var de=Math.sin(le);te+=Math.sqrt(1-a*a*de*de)*re}return b!==void 0&&E!==void 0?(y>x?y:x)*te:4*(y>x?y:x)*te}function I0(a,y,x,b,E){return y/(b!==void 0&&E!==void 0?Cy(a,1,x,b,E):Cy(a,1,x))}function k0(a,y,x,b,E){if(.001>Math.abs(a.Zm-1))return E/y;var z=y>x?Math.sqrt(y*y-x*x)/y:Math.sqrt(x*x-y*y)/x,te=0;a=2*Math.PI/(700*a.network.vertexes.count),y>x&&(b+=Math.PI/2);for(var re=0;;re++){var le=Math.sin(b+re*a);if(te+=(y>x?y:x)*Math.sqrt(1-z*z*le*le)*a,te>=E)return re*a}}es.prototype.sort=function(a){switch(this.sorting){case D0:break;case O0:a.reverse();break;case R0:a.sort(this.comparer);break;case F0:a.sort(this.comparer),a.reverse();break;case hp:return this.ak(G1(a));default:bt("Invalid sorting type.")}return a};function G1(a){for(var y=[],x=0;xE&&(E=re,z=te)}else for(te=0;teE&&(E=re,z=te);for(x.add(a.M(z)),y[z]=-1,z=a.M(z),te=z.sourceEdges;te.next();)E=a.indexOf(te.value.fromVertex),0>E||0<=y[E]&&y[E]++;for(z=z.destinationEdges;z.next();)E=a.indexOf(z.value.toVertex),0>E||0<=y[E]&&y[E]++}return x}es.prototype.ak=function(a){for(var y=[],x=0;xy[x].indexOf(E)&&y[x].push(E);for(b=b.sourceEdges;b.next();)E=a.indexOf(b.value.fromVertex),E!==x&&0>y[x].indexOf(E)&&y[x].push(E)}for(z=[],x=0;xy[x[Fe]].indexOf(x[Fe===x.length-1?0:Fe+1])&&Le.push(Fe===x.length-1?0:Fe+1);if(Le.length===0)for(Fe=0;Fex.indexOf(vn)||Ktx.indexOf(vn)||Kt=Ze?Kt+1:Kt)),at+=Kt=Ze&&Kt++,Lt>=Ze&&Lt++,Kt>Lt&&(Dt=Lt,Lt=Kt,Kt=Dt),Lt-Kt<(x.length+2)/2==(KtLe||Le===de||(Fe=Le>de?Le-de:de-Le,ve+=Lete-Fe?1:-1);x.splice(0>ve?de:de+1,0,le),b.splice(re,1),re--}else z=!1;if(z)break;x.push(b[0]),b.splice(0,1)}for(y=0;y=a?this.ul=a:this.ul=360,this.C())}},arrangement:{get:function(){return this.Rb},set:function(a){this.Rb===a||a!==hd&&a!==dd&&a!==Sg&&a!==Vh||(this.Rb=a,this.C())}},direction:{get:function(){return this.K},set:function(a){this.K===a||a!==Nu&&a!==xg&&a!==ef&&a!==dp||(this.K=a,this.C())}},sorting:{get:function(){return this.nd},set:function(a){this.nd===a||a!==D0&&a!==O0&&a!==R0&&!F0&&a!==hp||(this.nd=a,this.C())}},comparer:{get:function(){return this.hd},set:function(a){this.hd!==a&&(this.hd=a,this.C())}},spacing:{get:function(){return this.tf},set:function(a){this.tf!==a&&(this.tf=a,this.C())}},nodeDiameterFormula:{get:function(){return this.Nn},set:function(a){this.Nn===a||a!==B0&&a!==Pf||(this.Nn=a,this.C())}},actualXRadius:{get:function(){return this.lc}},actualYRadius:{get:function(){return this.me}},actualSpacing:{get:function(){return this.Ti}},actualCenter:{get:function(){return this.Zv}}});var dd=new tn(es,"ConstantSpacing",0),Sg=new tn(es,"ConstantDistance",1),Vh=new tn(es,"ConstantAngle",2),hd=new tn(es,"Packed",3),Nu=new tn(es,"Clockwise",4),xg=new tn(es,"Counterclockwise",5),ef=new tn(es,"BidirectionalLeft",6),dp=new tn(es,"BidirectionalRight",7),D0=new tn(es,"Forwards",8),O0=new tn(es,"Reverse",9),R0=new tn(es,"Ascending",10),F0=new tn(es,"Descending",11),hp=new tn(es,"Optimized",12),B0=new tn(es,"Pythagorean",13),Pf=new tn(es,"Circular",14);es.className="CircularLayout",es.ConstantSpacing=dd,es.ConstantDistance=Sg,es.ConstantAngle=Vh,es.Packed=hd,es.Clockwise=Nu,es.Counterclockwise=xg,es.BidirectionalLeft=ef,es.BidirectionalRight=dp,es.Forwards=D0,es.Reverse=O0,es.Ascending=R0,es.Descending=F0,es.Optimized=hp,es.Pythagorean=B0,es.Circular=Pf;function um(){this.Pl=-1/0,this.tm=this.mk=null}um.prototype.compare=function(a,y){if(0this.Pl||Math.abs(a)a&&0re?(E=Pe.x+Pe.width/2,z=Pe.y+Pe.height/2,ce[0]=new lt(Pe.x+Pe.width+b.width,Pe.y),ce[1]=new lt(Pe.x,Pe.y+Pe.height+b.height),re=2):(le=Gx(ce,re,E,z,Pe.width,Pe.height,b),ve=ce[le],Le=new lt(ve.x+Pe.width+b.width,ve.y),Pe=new lt(ve.x,ve.y+Pe.height+b.height),le+1this.network.vertexes.count)return!1;for(var a=0,y=0,x=this.network.vertexes.first().bounds,b=this.network.vertexes.iterator;b.next();){if(b.value.bounds.Yc(x)&&(a++,2a.network.vertexes.count)return!1;for(a.ah=a.network.vertexes.Fa(),a=a.ah,a.sort(function(x,b){return x===null||b===null||x===b?0:b.Vd-x.Vd}),y=a.length-1;0<=y&&1>=a[y].Vd;)y--;return 1=te))){for(var ce=re=0,de=le.count-te;deLe&&(Le=1),re=Wt.sqrt((re+Le+ce*ce*4/(te*te))/Le),te=(re-1)*de/2,re=(re-1)*ve/2,E.bounds=new jn(z-Pe.x-te,le-Pe.y-re,de+2*te,ve+2*re),E.focus=new lt(Pe.x+te,Pe.y+re)}}return a.network=b,x}function Z1(a,y){for(var x=a.network.vertexes.iterator;x.next();){var b=x.value;if(b.network=y,b.We!==null){var E=b.We.M(b.sv);b.Vd=E.Rs;var z=E.Sv,te=E.Tv;b.bounds=new jn(b.centerX-z,b.centerY-te,E.Ss,E.Qs),b.focus=new lt(z,te),b.sv--}}for(x=a.network.edges.iterator;x.next();)x.value.network=y;a.network=y}function V1(a,y){var x=y.Hj;if(x!==null&&x.count!==0){var b=y.centerX,E=y.centerY,z=y.width,te=y.height;y.We!==null&&0=ve.Vd?le++:(re=!0,ce++,te+=Math.atan2(y.centerY-ve.centerY,y.centerX-ve.centerX))}if(le!==0){for(0>1)+ce)*(re%2===0?1:-1),le.centerX=b+de*Math.cos(ve),le.centerY=E+de*Math.sin(ve),re++}}}}function Gx(a,y,x,b,E,z,te){var re=9e19,le=-1,ce=0;e:for(;cede.y&&a[Pe].x-de.xde.x&&a[Pe].y-de.yy+z?(x=b+E-te,a=a-y-z,Wt.sqrt(x*x+a*a)):a+xte+re?a>y+z?(x=b-te-re,a=a-y-z,Wt.sqrt(x*x+a*a)):a+xy+z?a-(y+z):a+x=y.length)return!1;var x=y[0];x.forceX=0,x.forceY=0;for(var b=x.centerX,E=b,z=x=x.centerY,te=1;tez-x)?y.sort(function(Ze,pt){return Ze===null||pt===null||Ze===pt?0:Ze.centerX-pt.centerX}):y.sort(function(Ze,pt){return Ze===null||pt===null||Ze===pt?0:Ze.centerY-pt.centerY}),x=a.Zf;var ce=b=re=0;for(z=0;zx||ce-le>x){if(E)break}else if(de-Le>x||Le-de>x){if(!E)break}else{var Fe=Hx(te,Pe);1>Fe?(b=a.randomNumberGenerator,b===null&&(a.randomNumberGenerator=b=new z0),Fe=b.random(),re=b.random(),le>ce?(b=Math.abs(Pe.bounds.right-te.bounds.x),b=(1+b)*Fe):leLe?(ce=Math.abs(Pe.bounds.bottom-te.bounds.y),ce=(1+ce)*re):leve?(ve=a.randomNumberGenerator,ve===null&&(a.randomNumberGenerator=ve=new z0),re=ve.random(),ve=ve.random(),b=(b>le?1:-1)*(1+(z.width>x.width?z.width:x.width))*re,ce=(te>de?1:-1)*(1+(z.height>x.height?z.height:x.height))*ve):(re=re.stiffness*(ve-re.length),b=(le-b)/ve*re,ce=(de-te)/ve*re),x.forceX+=b,x.forceY+=ce,z.forceX-=b,z.forceY-=ce;for(E=b=0;Ea.epsilonDistance*a.epsilonDistance}Vl.prototype.moveVertex=function(a){var y=a.forceX,x=a.forceY,b=this.moveLimit;return y<-b?y=-b:y>b&&(y=b),x<-b?x=-b:x>b&&(x=b),a.centerX+=y,a.centerY+=x,y*y+x*x},Vl.prototype.moveFixedVertex=function(){},Vl.prototype.commitLayout=function(){this.yv(),this.commitNodes(),this.isRouting&&this.commitLinks()},Vl.prototype.yv=function(){if(this.setsPortSpots)for(var a=this.network.edges.iterator;a.next();){var y=a.value.link;y!==null&&(y.fromSpot=Vr,y.toSpot=Vr)}},Vl.prototype.commitNodes=function(){var a=0,y=0;if(this.arrangesToOrigin){var x=jn.alloc();this.computeBounds(this.network,x),y=this.arrangementOrigin,a=y.x-x.x,y=y.y-x.y,jn.free(x)}x=jn.alloc();for(var b=this.network.vertexes.iterator;b.next();){var E=b.value;(a!==0||y!==0)&&(x.assign(E.bounds),x.x+=a,x.y+=y,E.bounds=x),E.commit()}jn.free(x)},Vl.prototype.commitLinks=function(){for(var a=this.network.edges.iterator;a.next();)a.value.commit()},Vl.prototype.springStiffness=function(a){return a=a.stiffness,isNaN(a)?this.Hk:a},Vl.prototype.springLength=function(a){return a=a.length,isNaN(a)?this.Gk:a},Vl.prototype.electricalCharge=function(a){return a=a.charge,isNaN(a)?this.Ek:a},Vl.prototype.electricalFieldX=function(){return 0},Vl.prototype.electricalFieldY=function(){return 0},Vl.prototype.gravitationalMass=function(a){return a=a.mass,isNaN(a)?this.Fk:a},Vl.prototype.gravitationalFieldX=function(){return 0},Vl.prototype.gravitationalFieldY=function(){return 0},Vl.prototype.isFixed=function(a){return a.isFixed},Nt.Object.defineProperties(Vl.prototype,{currentIteration:{get:function(){return this.An}},arrangementSpacing:{get:function(){return this.$d},set:function(a){this.$d.D(a)||(this.$d.assign(a),this.C())}},arrangesToOrigin:{get:function(){return this.Bm},set:function(a){this.Bm!==a&&(this.Bm=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},comments:{get:function(){return this.td},set:function(a){this.td!==a&&(this.td=a,this.C())}},maxIterations:{get:function(){return this.dl},set:function(a){this.dl!==a&&0<=a&&(this.dl=a,this.C())}},epsilonDistance:{get:function(){return this.$m},set:function(a){this.$m!==a&&0Ze&&0Ze&&0a[this.Md]&&(this.Iq=a[x]-1,this.Md=x),a[x]te)for(var de=te+1;dele;de--)ve=b[de],ve.near===ce&&ve.Dj===ce.Dj||re++;var Pe;if(0<=x)for(le=b[te].sourceEdgesArrayAccess,ce=0;ceZe||ve===Ze&&Le>Fe)&&re++,ptve||Ze===ve&&Fe>Le)&&re++}}}if(0>=x){for(le=b[te].destinationEdgesArrayAccess,ce=0;ceZe||ve===Ze&&de>pt)&&re++,Feve||Ze===ve&&pt>de)&&re++)}for(z[te*E+te]=re,le=te+1;le=x){for(re=b[te].destinationEdgesArrayAccess,Lt=b[le].destinationEdgesArrayAccess,ce=0;ce=x&&(le=re.sourceEdgesArrayAccess);var ce=null;0<=x&&(ce=re.destinationEdgesArrayAccess);var de=0,ve=0,Pe=re.near;if(Pe!==null&&Pe.layer===re.layer&&(de+=Pe.column-1,ve++),le!==null)for(Pe=0;Pe=x&&(le=re.sourceEdgesArrayAccess);var ce=null;0<=x&&(ce=re.destinationEdgesArrayAccess);var de=0,ve=[],Pe=re.near;if(Pe!==null&&Pe.layer===re.layer&&(ve[de]=Pe.column-1,de++),re=void 0,le!==null)for(Pe=0;Pe>1,z[te]=de&1?ve[ce]:ve[ce-1]+ve[ce]>>1)}return Eg(a,y,b),z}function gm(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var te=y.destinationEdges;te.next();){var re=te.value,le=re.toVertex,ce=y.layer-le.layer;re=a.linkMinLength(re),ce===re&&gm(a,le,x,b,E,z)}if(z)for(te=y.sourceEdges;te.next();)re=te.value,le=re.fromVertex,ce=le.layer-y.layer,re=a.linkMinLength(re),ce===re&&gm(a,le,x,b,E,z)}}function Ny(a,y,x,b,E,z){if(y.component===b){if(y.component=x,E)for(var te=y.destinationEdges;te.next();)Ny(a,te.value.toVertex,x,b,E,z);if(z)for(y=y.sourceEdges;y.next();)Ny(a,y.value.fromVertex,x,b,E,z)}}ia.prototype.removeCycles=function(){for(var a=this.network.edges.iterator;a.next();)a.value.rev=!1;switch(this.Dk){default:case Ty:a=this.network;var y=0,x=a.vertexes.count-1,b=[];b.length=x+1;for(var E=a.vertexes.iterator;E.next();)E.value.valid=!0;for(;Y1(a)!==null;){for(E=Yx(a);E!==null;)b[x]=E,x--,E.valid=!1,E=Yx(a);for(E=$x(a);E!==null;)b[y]=E,y++,E.valid=!1,E=$x(a);E=null;for(var z=0,te=this.network.vertexes.iterator;te.next();){var re=te.value;if(re.valid){for(var le=0,ce=re.destinationEdges;ce.next();)ce.value.toVertex.valid&&le++;ce=0;for(var de=re.sourceEdges;de.next();)de.value.fromVertex.valid&&ce++;(E===null||zy.toVertex.index&&(a.gm(y),y.rev=!0);break;case W0:for(b=this.network.vertexes.iterator;b.next();)a=b.value,a.Ll=-1,a.finish=-1;for(a=this.network.edges.iterator;a.next();)a.value.forest=!1;for(this.Kn=0,b.reset();b.next();)y=b.value,y.sourceEdges.count===0&&My(this,y);for(b.reset();b.next();)y=b.value,y.Ll===-1&&My(this,y);for(a.reset();a.next();)b=a.value,b.forest||(y=b.fromVertex,x=y.finish,E=b.toVertex,z=E.finish,E.Llb){if(0>b)for(y.reset();y.next();)y.value.layer-=b;for(b=[],y.reset();y.next();)x=y.value,E=b[x.layer],E===void 0?b[x.layer]=[x]:E.push(x);for(x=y=0;xte&&gm(a,re,0,-1,!0,!1)}for(gm(a,y,1,-1,!0,!0);y.component!==0;){for(z=0,b=1/0,re=0,le=null,te=a.network.vertexes.iterator;te.next();){var ce=te.value;if(ce.component===1){var de=0,ve=!1,Pe=ce.sourceEdgesArrayAccess;E=Pe.length;for(var Le=0;Lez)&&!de&&(re=te,z=ce)}if(0>b){for(x.reset();x.next();)b=x.value,b.component===1&&(b.layer-=E);y.component=0}else re.component=0}}}function e1(a,y,x){return a.K===90?x&&!y.rev||!x&&y.rev?270:90:a.K===180?x&&!y.rev||!x&&y.rev?0:180:a.K===270?x&&!y.rev||!x&&y.rev?90:270:x&&!y.rev||!x&&y.rev?180:0}ia.prototype.initializeIndices=function(){switch(this.Qk){default:case Oy:for(var a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;y.index=this.tc[x],this.tc[x]++}break;case V0:for(a=this.network.vertexes.iterator,y=this.Ia;0<=y;y--)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&t1(this,x);break;case Dy:for(a=this.network.vertexes.iterator,y=0;y<=this.Ia;y++)for(a.reset();a.next();)x=a.value,x.layer===y&&x.index===-1&&n1(this,x)}};function t1(a,y){var x=y.layer;for(y.index=a.tc[x],a.tc[x]++,y=y.destinationEdgesArrayAccess,x=!0;x;){x=!1;for(var b=0;bz.portFromColOffset&&(x=!0,y[b]=z,y[b+1]=E)}}for(x=0;xz.portToColOffset&&(b=!0,y[x]=z,y[x+1]=E)}for(x=0;x=te;b--)z=Kc(this,b,-1)||z;for(E=this.countCrossings(),E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=x;b>=te;b--)z=Kc(this,b,1)||z;for(E=this.countCrossings(),E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,1)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,-1)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=x;b>=te;b--)z=Kc(this,b,0)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,0)||z;E>=a?Bc(this,y):(a=E,y=Wu(this))}break;default:case K0:for(x=this.Ia,te=0,re=a+1;(b=this.countCrossings())=te;b--)z=Kc(this,b,-1)||z;for(E=this.countCrossings(),E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=x;b>=te;b--)z=Kc(this,b,1)||z;for(E=this.countCrossings(),E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,1)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,-1)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=x;b>=te;b--)z=Kc(this,b,0)||z;for(E>=a?Bc(this,y):(a=E,y=Wu(this)),z=!0;z;)for(z=!1,b=te;b<=x;b++)z=Kc(this,b,0)||z;E>=a?Bc(this,y):(a=E,y=Wu(this))}}Bc(this,y)};function _0(a,y,x){var b=wg(a,y),E=a.tc[y],z=Kx(a,y,x),te=Ay(a,y,x);for(x=0;xz+1&&(Pe+=4*(Ct-z),Le+=4*(Ct-(z+1)))}for(Dt=b[z].destinationEdges.iterator,Dt.reset();Dt.next();)if(Ct=Dt.value,Lt=Ct.toVertex,Ct.valid&&Lt.layer===y){for(Ct=0;b[Ct]!==Lt;)Ct++;Ct===z+1&&(Le+=1)}for(Dt=b[z+1].sourceEdges.iterator,Dt.reset();Dt.next();)if(Ct=Dt.value,Lt=Ct.fromVertex,Ct.valid&&Lt.layer===y){for(Ct=0;b[Ct]!==Lt;)Ct++;Ctz+1&&(Pe+=4*(Ct-(z+1)),Le+=4*(Ct-z))}for(Dt=b[z+1].destinationEdges.iterator,Dt.reset();Dt.next();)if(Ct=Dt.value,Lt=Ct.toVertex,Ct.valid&&Lt.layer===y){for(Ct=0;b[Ct]!==Lt;)Ct++;Ct===z&&(Pe+=1)}Ct=Lt=0,Dt=te[b[z].index];var Kt=re[b[z].index],vn=te[b[z+1].index],Pi=re[b[z+1].index];Dt!==-1&&(Lt+=Math.abs(Dt-Fe),Ct+=Math.abs(Dt-at)),Kt!==-1&&(Lt+=Math.abs(Kt-Fe),Ct+=Math.abs(Kt-at)),vn!==-1&&(Lt+=Math.abs(vn-Ze),Ct+=Math.abs(vn-pt)),Pi!==-1&&(Lt+=Math.abs(Pi-Ze),Ct+=Math.abs(Pi-pt)),(Le>1)+8*b;this.Ra*=8}if(this.bg&2)for(x=!0;x;){for(x=!1,y=this.Md+1;y<=this.Ia;y++)x=fp(this,y,1)||x;for(y=this.Md-1;0<=y;y--)x=fp(this,y,-1)||x;x=fp(this,this.Md,0)||x}if(this.bg&4){for(y=this.Md+1;y<=this.Ia;y++)Ly(this,y,1);for(y=this.Md-1;0<=y;y--)Ly(this,y,-1);Ly(this,this.Md,0)}if(a&&(i1(this,-1),i1(this,1)),this.bg&2)for(x=!0;x;){for(x=!1,x=fp(this,this.Md,0)||x,y=this.Md+1;y<=this.Ia;y++)x=fp(this,y,0)||x;for(y=this.Md-1;0<=y;y--)x=fp(this,y,0)||x}}else J1(this)};function fp(a,y,x){for(var b=!1;$1(a,y,x);)b=!0;return b}function $1(a,y,x){var b,E=wg(a,y),z=a.tc[y],te=Ay(a,y,-1);if(0x)for(b=0;bb-1||de-E[b-1].column-1>ve+a.nodeMinColumnSpace(E[b-1],!1)?Le=de-1:Le=de,ve=b+1>=z||E[b+1].column-de-1>Pe+a.nodeMinColumnSpace(E[b+1],!0)?de+1:de;var Fe=Pe=0,Ze=0;if(0>=x)for(var pt=E[b].sourceEdges.iterator;pt.next();){var at=pt.value,Ct=at.fromVertex;if(at.valid&&Ct.layer!==y){var Lt=Py(at),Dt=at.portFromColOffset;at=at.portToColOffset,Ct=Ct.column,Pe+=(Math.abs(de+at-(Ct+Dt))+1)*Lt,Fe+=(Math.abs(Le+at-(Ct+Dt))+1)*Lt,Ze+=(Math.abs(ve+at-(Ct+Dt))+1)*Lt}}if(0<=x)for(pt=E[b].destinationEdges.iterator;pt.next();)at=pt.value,Ct=at.toVertex,at.valid&&Ct.layer!==y&&(Lt=Py(at),Dt=at.portFromColOffset,at=at.portToColOffset,Ct=Ct.column,Pe+=(Math.abs(de+Dt-(Ct+at))+1)*Lt,Fe+=(Math.abs(Le+Dt-(Ct+at))+1)*Lt,Ze+=(Math.abs(ve+Dt-(Ct+at))+1)*Lt);at=Dt=Lt=0,pt=te[E[b].index],Ct=re[E[b].index],pt!==-1&&(Lt+=Math.abs(pt-de),Dt+=Math.abs(pt-Le),at+=Math.abs(pt-ve)),Ct!==-1&&(Lt+=Math.abs(Ct-de),Dt+=Math.abs(Ct-Le),at+=Math.abs(Ct-ve)),Fe=te[x]?de=le:ce<=te[x]&&(de=ce));de!==re&&(z=!0,b[x].column=de)}Eg(a,y,b),a.normalize()}function X1(a,y){for(var x=!0,b=a.network.vertexes.iterator;b.next();){var E=b.value,z=a.nodeMinColumnSpace(E,!0),te=a.nodeMinColumnSpace(E,!1);if(E.column-z<=y&&E.column+te>=y){x=!1;break}}if(a=!1,x)for(b.reset();b.next();)x=b.value,x.column>y&&(--x.column,a=!0);return a}function Q1(a,y){var x=y+1,b,E=[],z=[];for(b=0;b<=a.Ia;b++)E[b]=!1,z[b]=!1;for(var te=a.network.vertexes.iterator;te.next();){b=te.value;var re=b.column-a.nodeMinColumnSpace(b,!0),le=b.column+a.nodeMinColumnSpace(b,!1);re<=y&&le>=y&&(E[b.layer]=!0),re<=x&&le>=x&&(z[b.layer]=!0)}for(re=!0,x=!1,b=0;b<=a.Ia;b++)re=re&&!(E[b]&&z[b]);if(re)for(te.reset();te.next();)a=te.value,a.column>y&&(--a.column,x=!0);return x}function i1(a,y){for(var x=0;x<=a.Ra;x++)for(;X1(a,x););for(a.normalize(),x=0;xz?Bc(a,E):tey)for(x=a.Ra;0<=x;x--)for(E=Wu(a),z=U0(a),b=z+1;zz?Bc(a,E):tex)for(b.reset();b.next();)E=b.value,E.column+a.nodeMinColumnSpace(E,!1)>=y&&(E.component=a.le);for(a.le++,b.reset();b.next();)y=b.value,y.component===-1&&(Ny(a,y,a.le,-1,!0,!0),a.le++);var z;for(y=[],z=0;zx)for(te=a.Ra;0x)for(b.reset();b.next();)x=b.value,E[x.component]&&(x.column+=1)}function J1(a){for(var y=gn(),x=a.fl.length,b=0;b<=x;b++)y[b]=[];for(b=a.network.vertexes.iterator;b.next();){var E=b.value;y[x-E.layer][E.index]=E}x=new Fn,q1(y,x);var z=null,te=null,re=null,le=null,ce=(a.ve&1)!==0,de=(a.ve&2)!==0,ve=(a.ve&4)!==0,Pe=(a.ve&8)!==0;for(ce&&(a.verticalAlignment(y,x,!0),z=G0(a,y,!0,!1)),y.reverse(),ve&&(a.verticalAlignment(y,x,!1),re=G0(a,y,!1,!1)),b=pr(y),E=b.next();!E.done;E=b.next())E.value.reverse();Pe&&(a.verticalAlignment(y,x,!1),le=G0(a,y,!1,!0)),y.reverse(),de&&(a.verticalAlignment(y,x,!0),te=G0(a,y,!0,!0)),kn(y),a.u(z,te,re,le),a.network.vertexes.each(function(Le){var Fe=gn();ce&&Fe.push(z.get(Le)),de&&Fe.push(te.get(Le)),ve&&Fe.push(re.get(Le)),Pe&&Fe.push(le.get(Le)),Fe.sort(function(pt,at){return pt-at});var Ze=Fe.length;Ze=(Fe[Math.floor((Ze-1)/2)]+Fe[Math.ceil((Ze-1)/2)])/2,kn(Fe),Le.zc=Ze})}function q1(a,y){for(var x=a.length,b=1;bde)&&y.add(ve);z++}E=de}}}ia.prototype.verticalAlignment=function(a,y,x){Sb(a),a=pr(a);for(var b=a.next();!b.done;b=a.next()){var E=-1;b=pr(b.value);for(var z=b.next();!z.done;z=b.next()){z=z.value;var te=x?By(z):Mb(z),re=te.length;if(0=y[x].length)&&(te=y[x][0],te.sd===te)){te.sd.shift===1/0&&(te.sd.shift=0),te=x,re=0;do{for(z=y[te][re];z.align!==z.root;)z=z.align,te++,0a&&bt("Could not determine previous vertex in layer"),y[x][a-1]}ia.prototype.u=function(a){for(var y=[],x=0;xte;te++)if(y[te]){var re=Pb(this,y[te],b,E,te);rete;z={delta:z.delta},te++)y[te]&&(z.delta=te===0||te===2?b[x]-b[te]:E[x]-E[te],z.delta!==0&&y[te].each(function(le){return function(ce){ce.value+=le.delta}}(z)));kn(b),kn(E)};function Pb(a,y,x,b,E){if(!y||y.count===0)return x[E]=0,b[E]=0,1/0;var z=1/0,te=-1/0;return y.each(function(re){var le=re.key;re=re.value,le=a.K===90||a.K===270?le.width:le.height,rete&&(te=re+le)}),x[E]=z,b[E]=te,te-z}ia.prototype.commitLayout=function(){if(this.setsPortSpots)for(var a=H0(this,!0),y=H0(this,!1),x=this.network.edges.iterator;x.next();){var b=x.value.link;b!==null&&(b.fromSpot=a,b.toSpot=y)}this.commitNodes(),this.Gu(),this.isRouting&&this.commitLinks()};function H0(a,y){return a.K===270?y?Na:Bo:a.K===90?y?Bo:Na:a.K===180?y?Ia:Ho:y?Ho:Ia}ia.prototype.commitNodes=function(){this.he=[],this.Ld=[],this.Kd=[],this.Ta=[];for(var a=0;a<=this.Ia;a++)this.he[a]=0,this.Ld[a]=0,this.Kd[a]=0,this.Ta[a]=0;for(a=this.network.vertexes.iterator;a.next();){var y=a.value,x=y.layer;this.he[x]=Math.max(this.he[x],this.nodeMinLayerSpace(y,!0)),this.Ld[x]=Math.max(this.Ld[x],this.nodeMinLayerSpace(y,!1))}y=0,x=this.ie;for(var b=0;b<=this.Ia;b++){var E=x;0>=this.he[b]+this.Ld[b]&&(E=0),0=ve.bounds.bottom?(ve=ve.bounds.y+ve.bounds.height,y.m(Ze++,Dt,ve+vn),y.m(Ze++,Dt,ve),y.m(Ze++,Dt,ve-Lt)):(y.m(Ze++,Dt,Kt+vn),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt-Lt)):this.K===270?Kt<=ve.bounds.y?(ve=ve.bounds.y,y.m(Ze++,Dt,ve-Lt),y.m(Ze++,Dt,ve),y.m(Ze++,Dt,ve+vn)):(y.m(Ze++,Dt,Kt-Lt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt+vn)):this.K===0&&(Dt>=ve.bounds.right?(ve=ve.bounds.x+ve.bounds.width,y.m(Ze++,ve+vn,Kt),y.m(Ze++,ve,Kt),y.m(Ze++,ve-Lt,Kt)):(y.m(Ze++,Dt+vn,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt-Lt,Kt)));else{y.m(Ze++,at,Ct);var Pi=0;this.K===180||this.K===0?((this.K===180?Dt>=ve.bounds.right:Dt<=ve.bounds.x)&&(Pi=(this.K===0?-Lt:vn)/2),y.m(Ze++,at+Pi,Kt)):((this.K===270?Kt>=ve.bounds.bottom:Kt<=ve.bounds.y)&&(Pi=(this.K===90?-Lt:vn)/2),y.m(Ze++,Dt,Ct+Pi)),y.m(Ze++,Dt,Kt)}}else Lt=Math.max(10,this.he[pt.layer]),vn=Math.max(10,this.Ld[pt.layer]),Pe?this.K===180?(y.m(Ze++,Dt-Lt-Fe,Kt),y.m(Ze++,Math.min(Dt-Lt+Fe/2,Dt),Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Math.max(Dt+vn-Fe/2,Dt),Kt),y.m(Ze++,Dt+vn+Fe,Kt)):this.K===90?(y.m(Ze++,Dt,Kt+vn+Fe),y.m(Ze++,Dt,Math.max(Kt+vn-Fe/2,Kt)),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Math.min(Kt-Lt+Fe/2,Kt)),y.m(Ze++,Dt,Kt-Lt-Fe)):this.K===270?(y.m(Ze++,Dt,Kt-Lt-Fe),y.m(Ze++,Dt,Math.min(Kt-Lt+Fe/2,Kt)),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Math.max(Kt+vn-Fe/2,Kt)),y.m(Ze++,Dt,Kt+vn+Fe)):(y.m(Ze++,Dt+vn+Fe,Kt),y.m(Ze++,Math.max(Dt+vn-Fe/2,Dt),Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Math.min(Dt-Lt+Fe/2,Dt),Kt),y.m(Ze++,Dt-Lt-Fe,Kt)):y.m(Ze++,Dt,Kt)}ve=pt}(re===null||ce!==is||Le)&&(at=y.i(Ze-1).x,Ct=y.i(Ze-1).y,Dt=y.i(Ze).x,Kt=y.i(Ze).y,Le?(Fe=this.Ld[de.layer],this.K===180||this.K===0?(Le=Ct,Le>=de.bounds.y&&Le<=de.bounds.bottom&&(this.K===180?Dt>=de.bounds.x:Dt<=de.bounds.right)&&(ve=de.centerX+(this.K===180?-Fe:Fe),Le=de.bounds.x&&Le<=de.bounds.right&&(this.K===270?Kt>=de.bounds.y:Kt<=de.bounds.bottom)&&(ve=de.centerY+(this.K===270?-Fe:Fe),Le=de.bounds.x?(ve=de.bounds.x+de.bounds.width,y.L(Ze-2,ve,Ct),y.L(Ze-1,ve+vn,Ct)):this.K===90&&Kt<=de.bounds.bottom?(ve=de.bounds.y,y.L(Ze-2,at,ve),y.L(Ze-1,at,ve-Lt)):this.K===270&&Kt>=de.bounds.y?(ve=de.bounds.y+de.bounds.height,y.L(Ze-2,at,ve),y.L(Ze-1,at,ve+vn)):this.K===0&&Dt<=de.bounds.right&&(ve=de.bounds.x,y.L(Ze-2,ve,Ct),y.L(Ze-1,ve-Lt,Ct))):(Lt=Math.max(10,this.he[de.layer]),vn=Math.max(10,this.Ld[de.layer]),Le=0,this.K===180||this.K===0?((this.K===180?Dt<=de.bounds.x:Dt>=de.bounds.right)&&(Le=(this.K===0?vn:-Lt)/2),y.m(Ze++,Dt+Le,Ct)):((this.K===270?Kt<=de.bounds.y:Kt>=de.bounds.bottom)&&(Le=(this.K===90?vn:-Lt)/2),y.m(Ze++,at,Kt+Le)),y.m(Ze++,Dt,Kt)))}else{for(;de!==null&&de!==ve;){for(Lt=pt=null,de=de.destinationEdges.iterator;de.next()&&(at=de.value,at.link!==x.link||(pt=at.toVertex,Lt=at.fromVertex,Lt.node!==null&&(Lt=null),pt.node!==null)););if(pt===null)break;pt!==ve&&(at=y.i(Ze-1).x,Ct=y.i(Ze-1).y,Dt=pt.centerX,Kt=pt.centerY,Le?this.K===180||this.K===0?(Lt!==null?Lt.centerY:Ct)!==Kt&&(Lt=this.Ta[pt.layer]+this.Rf.x,Ze===y.firstPickIndex+1&&(Lt=this.K===0?Math.max(Lt,at):Math.min(Lt,at)),y.m(Ze++,Lt,Ct),y.m(Ze++,Lt,Kt)):(Lt!==null?Lt.centerX:at)!==Dt&&(Lt=this.Ta[pt.layer]+this.Rf.y,Ze===y.firstPickIndex+1&&(Lt=this.K===90?Math.max(Lt,Ct):Math.min(Lt,Ct)),y.m(Ze++,at,Lt),y.m(Ze++,Dt,Lt)):(Lt=Math.max(10,this.he[pt.layer]),vn=Math.max(10,this.Ld[pt.layer]),Pe?this.K===180?(y.m(Ze++,Dt+vn+Fe,Kt),y.m(Ze++,Math.max(Dt+vn-Fe/2,Dt),Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Math.min(Dt-Lt+Fe/2,Dt),Kt),y.m(Ze++,Dt-Lt-Fe,Kt)):this.K===90?(y.m(Ze++,Dt,Kt-Lt-Fe),y.m(Ze++,Dt,Math.min(Kt-Lt+Fe/2,Kt)),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Math.max(Kt+vn-Fe/2,Kt)),y.m(Ze++,Dt,Kt+vn+Fe)):this.K===270?(y.m(Ze++,Dt,Kt+vn+Fe),y.m(Ze++,Dt,Math.max(Kt+vn-Fe/2,Kt)),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Math.min(Kt-Lt+Fe/2,Kt)),y.m(Ze++,Dt,Kt-Lt-Fe)):(y.m(Ze++,Dt-Lt-Fe,Kt),y.m(Ze++,Math.min(Dt-Lt+Fe/2,Dt),Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Dt,Kt),y.m(Ze++,Math.max(Dt+vn-Fe/2,Dt),Kt),y.m(Ze++,Dt+vn+Fe,Kt)):this.K===180?(y.m(Ze++,Dt+vn,Kt),y.m(Ze++,Dt-Lt,Kt)):this.K===90?(y.m(Ze++,Dt,Kt-Lt),y.m(Ze++,Dt,Kt+vn)):this.K===270?(y.m(Ze++,Dt,Kt+vn),y.m(Ze++,Dt,Kt-Lt)):(y.m(Ze++,Dt-Lt,Kt),y.m(Ze++,Dt+vn,Kt)))),de=pt}Le&&(at=y.i(Ze-1).x,Ct=y.i(Ze-1).y,Dt=y.i(Ze).x,Kt=y.i(Ze).y,this.K===180||this.K===0?Ct!==Kt&&(Lt=this.K===0?Math.min(Math.max((Dt+at)/2,this.Ta[ve.layer]+this.Rf.x),Dt):Math.max(Math.min((Dt+at)/2,this.Ta[ve.layer]+this.Rf.x),Dt),y.m(Ze++,Lt,Ct),y.m(Ze++,Lt,Kt)):at!==Dt&&(Lt=this.K===90?Math.min(Math.max((Kt+Ct)/2,this.Ta[ve.layer]+this.Rf.y),Kt):Math.max(Math.min((Kt+Ct)/2,this.Ta[ve.layer]+this.Rf.y),Kt),y.m(Ze++,at,Lt),y.m(Ze++,Dt,Lt)))}b!==null&&Pe&&4<=y.pointsCount&&(te!==null&&(te=ce===is?y.getLinkPointFromPoint(E,te,te.ga(wo),y.i(3),!0):y.i(0),ce===is&&(ce=y.i(2),b=y.i(3),this.direction===90||this.direction===270?(y.L(1,(te.x+ce.x)/2,ce.y),y.L(2,b.x,(ce.y+b.y)/2)):(y.L(1,ce.x,(te.y+ce.y)/2),y.L(2,(ce.x+b.x)/2,b.y))),te.w()||te.set(E.actualBounds.center),y.L(0,te.x,te.y)),re!==null&&(E=le===is?y.getLinkPointFromPoint(z,re,re.ga(wo),y.i(y.pointsCount-4),!1):y.i(y.pointsCount-1),le===is&&(re=y.i(y.pointsCount-3),le=y.i(y.pointsCount-4),this.direction===90||this.direction===270?(y.L(y.pointsCount-2,(E.x+re.x)/2,re.y),y.L(y.pointsCount-2,le.x,(re.y+le.y)/2)):(y.L(y.pointsCount-2,re.x,(E.y+re.y)/2),y.L(y.pointsCount-3,(re.x+le.x)/2,le.y))),E.w()||E.set(z.actualBounds.center),y.L(y.pointsCount-1,E.x,E.y))),y.zf(),x.commit()}}}this.avoidOrthogonalOverlaps()},ia.prototype.avoidOrthogonalOverlaps=function(){if(!(0>=this.linkSpacing)){for(var a=new Ht,y=this.network.edges.iterator;y.next();){var x=y.value.link;x!==null&&x.isOrthogonal&&!a.contains(x)&&a.add(x)}if(0z.y&&(de=ce.y>z.y?0:te.xz.x&&(de=ce.x>z.x?0:te.yy.layer?1:a.rdy.rd?1:a.Icy.Ic?1:0:0},Ue.Ux=function(a,y){return a instanceof Cg&&y instanceof Cg&&a!==y?a.firsty.first||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ue.Js=function(a,y){return a instanceof Cg&&y instanceof Cg&&a!==y?a.jcy.jc||a.jy.j||a.rdy.rd?1:a.Icy.Ic?1:0:0},Ue.B=function(a,y){return a-=y,-1a},Ue.zi=function(a,y,x,b){var E=a.length,z=b-x;if(!(1>=z))if((0>x||x>=E-1)&&bt("not in range 0 <= from < length: "+x),z===2)b=a[x],E=a[x+1],0=E)a.sort(y);else for(x=a.slice(0,b),x.sort(y),y=0;y=E)for(b=a.slice(x),b.sort(y),y=x;y=a.He.length){for(var b=[],E=0;Ea&&(this.bg=a,this.C())}},alignOption:{get:function(){return this.ve},set:function(a){this.ve!==a&&0<=a&&16>a&&(this.ve=a,this.C())}},setsPortSpots:{get:function(){return this.sf},set:function(a){this.sf!==a&&(this.sf=a,this.C())}},linkSpacing:{get:function(){return this.Cn},set:function(a){this.Cn!==a&&0<=a&&(this.Cn=a,this.C())}},maxLayer:{get:function(){return this.Ia}},maxIndex:{get:function(){return this.Iq}},maxColumn:{get:function(){return this.Ra}},minIndexLayer:{get:function(){return this.Hn}},maxIndexLayer:{get:function(){return this.Md}}});var W0=new tn(ia,"CycleDepthFirst",0),Ty=new tn(ia,"CycleGreedy",1),fm=new tn(ia,"CycleFromLayers",2),Z0=new tn(ia,"LayerOptimalLinkLength",0),Iy=new tn(ia,"LayerLongestPathSink",1),ky=new tn(ia,"LayerLongestPathSource",2),V0=new tn(ia,"InitDepthFirstOut",0),Dy=new tn(ia,"InitDepthFirstIn",1),Oy=new tn(ia,"InitNaive",2),Ry=new tn(ia,"AggressiveNone",0),K0=new tn(ia,"AggressiveLess",1),Fy=new tn(ia,"AggressiveMore",2),Nb=8;ia.className="LayeredDigraphLayout",ia.CycleDepthFirst=W0,ia.CycleGreedy=Ty,ia.CycleFromLayers=fm,ia.LayerOptimalLinkLength=Z0,ia.LayerLongestPathSink=Iy,ia.LayerLongestPathSource=ky,ia.InitDepthFirstOut=V0,ia.InitDepthFirstIn=Dy,ia.InitNaive=Oy,ia.AggressiveNone=Ry,ia.AggressiveLess=K0,ia.AggressiveMore=Fy,ia.PackNone=0,ia.PackExpand=1,ia.PackStraighten=2,ia.PackMedian=4,ia.PackAll=15,ia.AlignNone=0,ia.AlignUpperLeft=1,ia.AlignUpperRight=2,ia.AlignLowerLeft=4,ia.AlignLowerRight=8,ia.AlignAll=15;function Cg(){this.index=this.Ic=this.rd=this.jc=this.first=this.layer=0,this.link=null,this.j=0}Cg.className="SegInfo";function pp(a){Aa.call(this,a)}qt(pp,Aa),pp.prototype.createVertex=function(){return new jc(this)},pp.prototype.createEdge=function(){return new pm(this)},pp.className="LayeredDigraphNetwork";function jc(a){il.call(this,a),this.$n=this.bo=this.ao=this.co=null,this.Za=this.Ag=this.Ig=-1,this.u=NaN,this.F=null,this.valid=!1,this.finish=this.Ll=NaN,this.Dj=0,this.dv=this.ev=null}qt(jc,il);function s1(a,y){return a.index-y.index}function Y0(a,y){if(!a.$n){for(var x=[],b=pr(a.destinationEdgesArrayAccess),E=b.next();!E.done;E=b.next())E=E.value,E.valid&&x.push(E);a.$n=x}for(a=pr(a.$n),x=a.next();!x.done;x=a.next())if(x=x.value,x.toVertex===y)return x;bt("Unable to find destination edge to given vertex")}function By(a){if(!a.co){for(var y=[],x=pr(a.sourceEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.fromVertex);y.sort(s1),a.co=y}return a.co}function Mb(a){if(!a.ao){for(var y=[],x=pr(a.destinationEdgesArrayAccess),b=x.next();!b.done;b=x.next())b=b.value,b.valid&&y.push(b.toVertex);y.sort(s1),a.ao=y}return a.ao}jc.prototype.Cl=function(a){il.prototype.Cl.call(this,a),this.bo=this.co=null},jc.prototype.Kl=function(a){il.prototype.Kl.call(this,a),this.bo=this.co=null},jc.prototype.zl=function(a){il.prototype.zl.call(this,a),this.$n=this.ao=null},jc.prototype.Jl=function(a){il.prototype.Jl.call(this,a),this.$n=this.ao=null},Nt.Object.defineProperties(jc.prototype,{layer:{get:function(){return this.Ig},set:function(a){this.Ig!==a&&(this.Ig=a)}},column:{get:function(){return this.Ag},set:function(a){this.Ag!==a&&(this.Ag=a)}},index:{get:function(){return this.Za},set:function(a){this.Za!==a&&(this.Za=a)}},component:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},near:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),jc.prototype.deleteDestinationEdge=jc.prototype.Jl,jc.prototype.addDestinationEdge=jc.prototype.zl,jc.prototype.deleteSourceEdge=jc.prototype.Kl,jc.prototype.addSourceEdge=jc.prototype.Cl,jc.className="LayeredDigraphVertex";function pm(a){fc.call(this,a),this.j=this.ia=this.Ha=!1,this.V=this.u=NaN,this.F=this.o=0}qt(pm,fc),Nt.Object.defineProperties(pm.prototype,{fromVertex:{get:function(){return this.kd},set:function(a){this.kd!==a&&(this.kd=a)}},toVertex:{get:function(){return this.qd},set:function(a){this.qd!==a&&(this.qd=a)}},valid:{get:function(){return this.Ha},set:function(a){this.Ha!==a&&(this.Ha=a)}},rev:{get:function(){return this.ia},set:function(a){this.ia!==a&&(this.ia=a)}},forest:{get:function(){return this.j},set:function(a){this.j!==a&&(this.j=a)}},portFromPos:{get:function(){return this.u},set:function(a){this.u!==a&&(this.u=a)}},portToPos:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},portFromColOffset:{get:function(){return this.o},set:function(a){this.o!==a&&(this.o=a)}},portToColOffset:{get:function(){return this.F},set:function(a){this.F!==a&&(this.F=a)}}}),pm.className="LayeredDigraphEdge";function vo(a){Wa.call(this),this.Ub=new Fn,this.Wn=J0,this.ud=qd,this.vo=ev,this.Bq=Yy,this.$v=[],this.td=!0,this.Rb=tv,this.$d=new fi(10,10).freeze();var y=new Tf(this);this.W=new Yc(y),this.Y=new Yc(y),this.ru=[],a&&Object.assign(this,a)}qt(vo,Wa),vo.prototype.cloneProtected=function(a){Wa.prototype.cloneProtected.call(this,a),a.Wn=this.Wn,a.vo=this.vo,a.Bq=this.Bq,a.td=this.td,a.Rb=this.Rb,a.$d.assign(this.$d),a.W.copyInheritedPropertiesFrom(this.W),a.Y.copyInheritedPropertiesFrom(this.Y)},vo.prototype.qb=function(a){a.classType===vo?a.name.indexOf("Alignment")===0?this.alignment=a:a.name.indexOf("Arrangement")===0?this.arrangement=a:a.name.indexOf("Compaction")===0?this.compaction=a:a.name.indexOf("Path")===0?this.path=a:a.name.indexOf("Sorting")===0?this.sorting=a:a.name.indexOf("Style")===0?this.treeStyle=a:bt("Unknown enum value: "+a):Wa.prototype.qb.call(this,a)},vo.prototype.createNetwork=function(){return new Tf(this)},vo.prototype.makeNetwork=function(a){function y(b){if(b instanceof Li)return!b.isLinkLabel&&b.category!=="Comment";if(b instanceof yi){var E=b.fromNode;return E===null||E.isLinkLabel||E.category==="Comment"?!1:(b=b.toNode,!(b===null||b.isLinkLabel||b.category==="Comment"))}return!1}var x=this.createNetwork();return a instanceof pn?(x.lg(a.nodes,!0,y),x.lg(a.links,!0,y)):a instanceof _r?x.lg(a.memberParts,!1,y):x.lg(a.iterator,!1,y),x},vo.prototype.doLayout=function(a){this.network===null&&(this.network=this.makeNetwork(a)),this.arrangement!==nv&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var y=this.diagram;if(y===null&&a instanceof pn&&(y=a),this.path===J0&&y!==null?this.ud=y.isTreePathToChildren?qd:Mf:this.ud=this.path===J0?qd:this.path,0y.level)return!1;a.removeChild(x.parent,x)}return!0}vo.prototype.removeChild=function(a,y){if(a!==null&&y!==null){for(var x=a.children,b=0,E=0;EE?f1(this,a,te,Ar,at,Ct):p1(this,a,te,Ar,at,Ct),Ar=Ct.x,at=Ct.width,Ct=Ct.height;break;case Yh:for(Dt=0;Dtve&&(jiPl&&(Nf(a,-Pl,0,Br,Wo-1),Q0(Dt,-Pl,0),Q0(Kt,-Pl,0),Pl=0)}wa.S.h(Pl,Di),at=Math.max(at,vn),Ct=Math.max(Ct,Lt+(vi===0?0:Fe)+vl.height),ji=vn}else 0ve&&(DiPl&&(Nf(a,0,-Pl,Br,Wo-1),Q0(Dt,0,-Pl),Q0(Kt,0,-Pl),Pl=0)),wa.S.h(ji,Pl),Ct=Math.max(Ct,Pi),at=Math.max(at,Lt+(vi===0?0:Fe)+vl.width),Di=Pi;ti++}switch(0ce&&(ce=0),135Ze&&(Ze=0),le===bh&&(re+=Pe/2+a.focus.y),te+=b+x):y?(a.comments===null?b>at&&(at=Gy(le,b-at,0),te=at.x,re=at.y,at=b,ce=0):at=Uy(a,at,ce),0>ce&&(te-=ce,ce=0),135Ct&&(Ct=Gy(le,0,pt-Ct),te=Ct.x,re=Ct.y,Ct=pt,Ze=0):Ct=_y(a,Ct,Ze),0>Ze&&(re-=Ze,Ze=0),te+=b+x),0E[0].x?E[2].assign(E[1]):E[1].assign(E[2])),E[3].yE[0].x?E[3].assign(E[2]):E[2].assign(E[3])),vi[0].h(ce+b,0),vi[1].h(vi[0].x,pt),vi[2].yE[0].y?E[2].assign(E[1]):E[1].assign(E[2])),E[3].xE[0].y?E[3].assign(E[2]):E[2].assign(E[3])),vi[0].h(0,Ze+pt),vi[1].h(b,vi[0].y),vi[2].xb?f1(a,y,E,ti,Lt,Dt):p1(a,y,E,ti,Lt,Dt),ti=Dt.x,Lt=Dt.width,Dt=Dt.height;break;case Yh:for(Pe=0;PePe&&(vnPe&&(Pive&&(ve=0),135at&&(at=0)),y.la.h(ve,at),y.Da.h(Lt,Dt)}}vo.prototype.customAlignment=function(a,y,x,b,E){return[y,x,b,E]};function f1(a,y,x,b,E,z){var te=x.length;if(te===0)return new jn(b,0,E,z);if(te===1)return y=x[0],E=y.Da.width,z=y.Da.height,new jn(b,0,E,z);for(var re=y.nodeSpacing,le=y.rowSpacing,ce=gd(y)===90,de=0,ve=0,Pe=0,Le=0;Lece&&(E-=ce),z=Math.max(z,Math.max(Le,Pe)+a+te.height),0>x.S.x&&(b=$0(y,x.S.x,!1,b,re))):(x.S.h(E+a,b+re/2-x.focus.y-x.la.y),E=Math.max(E,Math.max(Fe,ve)+a+te.width),Pe=b+re/2-x.focus.y-x.la.y,z=Math.max(z,Pe+te.height),0>Pe&&(z-=Pe),0>x.S.y&&(b=$0(y,x.S.y,!0,b,re)))),new jn(b,0,E,z)}function p1(a,y,x,b,E,z){var te=x.length;if(te===0)return new jn(b,0,E,z);if(te===1)return x=x[0],E=x.Da.width,z=x.Da.height,new jn(b,0,E,z);for(var re=y.nodeSpacing,le=y.rowSpacing,ce=gd(y)===270,de=0,ve=0,Pe=0,Le=0;Leve&&(E-=ve),z=Math.max(z,Math.abs(Math.min(Le,Pe))+a+de.height),0>le.S.x&&(b=$0(y,le.S.x,!1,b,re))):(le.S.h(-E-de.width-a,b+re/2-le.focus.y-le.la.y),E=Math.max(E,Math.abs(Math.min(Fe,ve))+a+de.width),Pe=b+re/2-le.focus.y-le.la.y,z=Math.max(z,Pe+de.height),0>Pe&&(z-=Pe),0>le.S.y&&(b=$0(y,le.S.y,!0,b,re)))),y=0;yy&&(y=x+a.width),0>x&&(y-=x),y;case eh:return a.width>y?a.width:y;case th:return 2*a.focus.x>y?a.width:y+a.width-2*a.focus.x;case Kh:case nh:return Math.max(a.width,Math.max(y,x+a.width)-Math.min(0,x));case Yh:return a.width-a.focus.x+a.nodeSpacing/2+y;case bh:return Math.max(a.width,a.focus.x+a.nodeSpacing/2+y);default:return y}}function _y(a,y,x){switch(a.alignment){case Lf:case vp:return x+a.height>y&&(y=x+a.height),0>x&&(y-=x),y;case eh:return a.height>y?a.height:y;case th:return 2*a.focus.y>y?a.height:y+a.height-2*a.focus.y;case Kh:case nh:return Math.max(a.height,Math.max(y,x+a.height)-Math.min(0,x));case Yh:return a.height-a.focus.y+a.nodeSpacing/2+y;case bh:return Math.max(a.height,a.focus.y+a.nodeSpacing/2+y);default:return y}}function Gy(a,y,x){switch(a){case vp:y/=2,x/=2;break;case Lf:y/=2,x/=2;break;case eh:x=y=0;break;case th:break;default:bt("Unhandled alignment value "+a.toString())}return new lt(y,x)}function tf(a,y,x,b,E,z){y=Gy(y,x,b),Nf(a,y.x,y.y,E,z)}function Nf(a,y,x,b,E){if(y!==0||x!==0)for(a=a.children;b<=E;b++){var z=a[b].S;z.x+=y,z.y+=x}}function X0(a,y,x,b){var E=y.parent;switch(a.ud){case qd:for(a=y.sourceEdges;a.next();)y=a.value,y.fromVertex===E&&y.relativePoint.h(x,b);break;case Mf:for(a=y.destinationEdges;a.next();)y=a.value,y.toVertex===E&&y.relativePoint.h(x,b);break;default:bt("Unhandled path value "+a.ud.toString())}}function Q0(a,y,x){for(var b=0;bve.length||Le===null||2>Le.length))for(E=x=0;xce&&z.yz.y&&cey.length||x===null||2>x.length)b=null;else{for(de=ic(a,y.length+x.length),b=z=le=0;zle;)ce=x[z++],de[b++].h(ce.x+E,ce.y);for(x=ic(a,b),le=0;leve.length||z===null||2>z.length)E=null;else{for(de=ic(a,ve.length+z.length),E=ce=x=0;xz;)le=ve[x++],de[E++].h(le.x,le.y);for(z=ic(a,E),x=0;xve.length||Le===null||2>Le.length))for(E=x=0;xle&&z.xz.x&&ley.length||x===null||2>x.length)b=null;else{for(de=ic(a,y.length+x.length),b=z=le=0;zle;)ce=x[z++],de[b++].h(ce.x,ce.y+E);for(x=ic(a,b),le=0;leve.length||z===null||2>z.length)E=null;else{for(de=ic(a,ve.length+z.length),E=ce=x=0;xz;)le=ve[x++],de[E++].h(le.x,le.y);for(z=ic(a,E),x=0;x=a?0:135>=a?90:225>=a?180:315>=a?270:0}vo.prototype.computeLayerSpacing=function(a){var y=gd(a);y=y===90||y===270;var x=a.layerSpacing;if(0=a&&(this.W.nodeIndentPastParent=a,this.C())}},nodeSpacing:{get:function(){return this.W.nodeSpacing},set:function(a){this.W.nodeSpacing!==a&&(this.W.nodeSpacing=a,this.C())}},layerSpacing:{get:function(){return this.W.layerSpacing},set:function(a){this.W.layerSpacing!==a&&(this.W.layerSpacing=a,this.C())}},layerSpacingParentOverlap:{get:function(){return this.W.layerSpacingParentOverlap},set:function(a){this.W.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.W.layerSpacingParentOverlap=a,this.C())}},compaction:{get:function(){return this.W.compaction},set:function(a){this.W.compaction===a||a!==q0&&a!==xm||(this.W.compaction=a,this.C())}},breadthLimit:{get:function(){return this.W.breadthLimit},set:function(a){this.W.breadthLimit!==a&&0<=a&&(this.W.breadthLimit=a,this.C())}},rowSpacing:{get:function(){return this.W.rowSpacing},set:function(a){this.W.rowSpacing!==a&&(this.W.rowSpacing=a,this.C())}},rowIndent:{get:function(){return this.W.rowIndent},set:function(a){this.W.rowIndent!==a&&0<=a&&(this.W.rowIndent=a,this.C())}},commentSpacing:{get:function(){return this.W.commentSpacing},set:function(a){this.W.commentSpacing!==a&&(this.W.commentSpacing=a,this.C())}},commentMargin:{get:function(){return this.W.commentMargin},set:function(a){this.W.commentMargin!==a&&(this.W.commentMargin=a,this.C())}},setsPortSpot:{get:function(){return this.W.setsPortSpot},set:function(a){this.W.setsPortSpot!==a&&(this.W.setsPortSpot=a,this.C())}},portSpot:{get:function(){return this.W.portSpot},set:function(a){this.W.portSpot.D(a)||(this.W.portSpot=a,this.C())}},setsChildPortSpot:{get:function(){return this.W.setsChildPortSpot},set:function(a){this.W.setsChildPortSpot!==a&&(this.W.setsChildPortSpot=a,this.C())}},childPortSpot:{get:function(){return this.W.childPortSpot},set:function(a){this.W.childPortSpot.D(a)||(this.W.childPortSpot=a,this.C())}},alternateSorting:{get:function(){return this.Y.sorting},set:function(a){this.Y.sorting===a||a!==mp&&a!==vm&&a!==ym&&!Sm||(this.Y.sorting=a,this.C())}},alternateComparer:{get:function(){return this.Y.comparer},set:function(a){this.Y.comparer!==a&&(this.Y.comparer=a,this.C())}},alternateAngle:{get:function(){return this.Y.angle},set:function(a){this.Y.angle===a||a!==0&&a!==90&&a!==180&&a!==270||(this.Y.angle=a,this.C())}},alternateAlignment:{get:function(){return this.Y.alignment},set:function(a){this.Y.alignment!==a&&(this.Y.alignment=a,this.C())}},alternateNodeIndent:{get:function(){return this.Y.nodeIndent},set:function(a){this.Y.nodeIndent!==a&&0<=a&&(this.Y.nodeIndent=a,this.C())}},alternateNodeIndentPastParent:{get:function(){return this.Y.nodeIndentPastParent},set:function(a){this.Y.nodeIndentPastParent!==a&&0<=a&&1>=a&&(this.Y.nodeIndentPastParent=a,this.C())}},alternateNodeSpacing:{get:function(){return this.Y.nodeSpacing},set:function(a){this.Y.nodeSpacing!==a&&(this.Y.nodeSpacing=a,this.C())}},alternateLayerSpacing:{get:function(){return this.Y.layerSpacing},set:function(a){this.Y.layerSpacing!==a&&(this.Y.layerSpacing=a,this.C())}},alternateLayerSpacingParentOverlap:{get:function(){return this.Y.layerSpacingParentOverlap},set:function(a){this.Y.layerSpacingParentOverlap!==a&&0<=a&&1>=a&&(this.Y.layerSpacingParentOverlap=a,this.C())}},alternateCompaction:{get:function(){return this.Y.compaction},set:function(a){this.Y.compaction===a||a!==q0&&a!==xm||(this.Y.compaction=a,this.C())}},alternateBreadthLimit:{get:function(){return this.Y.breadthLimit},set:function(a){this.Y.breadthLimit!==a&&0<=a&&(this.Y.breadthLimit=a,this.C())}},alternateRowSpacing:{get:function(){return this.Y.rowSpacing},set:function(a){this.Y.rowSpacing!==a&&(this.Y.rowSpacing=a,this.C())}},alternateRowIndent:{get:function(){return this.Y.rowIndent},set:function(a){this.Y.rowIndent!==a&&0<=a&&(this.Y.rowIndent=a,this.C())}},alternateCommentSpacing:{get:function(){return this.Y.commentSpacing},set:function(a){this.Y.commentSpacing!==a&&(this.Y.commentSpacing=a,this.C())}},alternateCommentMargin:{get:function(){return this.Y.commentMargin},set:function(a){this.Y.commentMargin!==a&&(this.Y.commentMargin=a,this.C())}},alternateSetsPortSpot:{get:function(){return this.Y.setsPortSpot},set:function(a){this.Y.setsPortSpot!==a&&(this.Y.setsPortSpot=a,this.C())}},alternatePortSpot:{get:function(){return this.Y.portSpot},set:function(a){this.Y.portSpot.D(a)||(this.Y.portSpot=a,this.C())}},alternateSetsChildPortSpot:{get:function(){return this.Y.setsChildPortSpot},set:function(a){this.Y.setsChildPortSpot!==a&&(this.Y.setsChildPortSpot=a,this.C())}},alternateChildPortSpot:{get:function(){return this.Y.childPortSpot},set:function(a){this.Y.childPortSpot.D(a)||(this.Y.childPortSpot=a,this.C())}}});var J0=new tn(vo,"PathDefault",-1),qd=new tn(vo,"PathDestination",0),Mf=new tn(vo,"PathSource",1),mp=new tn(vo,"SortingForwards",10),vm=new tn(vo,"SortingReverse",11),ym=new tn(vo,"SortingAscending",12),Sm=new tn(vo,"SortingDescending",13),vp=new tn(vo,"AlignmentCenterSubtrees",20),Lf=new tn(vo,"AlignmentCenterChildren",21),eh=new tn(vo,"AlignmentStart",22),th=new tn(vo,"AlignmentEnd",23),Kh=new tn(vo,"AlignmentBus",24),nh=new tn(vo,"AlignmentBusBranching",25),Yh=new tn(vo,"AlignmentTopLeftBus",26),bh=new tn(vo,"AlignmentBottomRightBus",27),q0=new tn(vo,"CompactionNone",30),xm=new tn(vo,"CompactionBlock",31),ev=new tn(vo,"StyleLayered",40),Wy=new tn(vo,"StyleLastParents",41),Zy=new tn(vo,"StyleAlternating",42),Vy=new tn(vo,"StyleRootOnly",43),tv=new tn(vo,"ArrangementVertical",50),Ky=new tn(vo,"ArrangementHorizontal",51),nv=new tn(vo,"ArrangementFixedRoots",52),Yy=new tn(vo,"LayerIndividual",60),$y=new tn(vo,"LayerSiblings",61),iv=new tn(vo,"LayerUniform",62);vo.className="TreeLayout",vo.PathDefault=J0,vo.PathDestination=qd,vo.PathSource=Mf,vo.SortingForwards=mp,vo.SortingReverse=vm,vo.SortingAscending=ym,vo.SortingDescending=Sm,vo.AlignmentCenterSubtrees=vp,vo.AlignmentCenterChildren=Lf,vo.AlignmentStart=eh,vo.AlignmentEnd=th,vo.AlignmentBus=Kh,vo.AlignmentBusBranching=nh,vo.AlignmentTopLeftBus=Yh,vo.AlignmentBottomRightBus=bh,vo.CompactionNone=q0,vo.CompactionBlock=xm,vo.StyleLayered=ev,vo.StyleLastParents=Wy,vo.StyleAlternating=Zy,vo.StyleRootOnly=Vy,vo.ArrangementVertical=tv,vo.ArrangementHorizontal=Ky,vo.ArrangementFixedRoots=nv,vo.LayerIndividual=Yy,vo.LayerSiblings=$y,vo.LayerUniform=iv;function Tf(a){Aa.call(this,a)}qt(Tf,Aa),Tf.prototype.createVertex=function(){return new Yc(this)},Tf.prototype.createEdge=function(){return new yp(this)},Tf.className="TreeNetwork";function Yc(a){il.call(this,a),this.V=!1,this.hb=null,this.u=[],this.nb=this.Ha=this.F=this.ia=0,this.td=null,this.S=new lt(0,0),this.Da=new fi(0,0),this.la=new lt(0,0),this.im=this.hm=this.qA=!1,this.kp=this.Yo=null,this.nd=mp,this.hd=py,this.Kb=0,this.Jb=Lf,this.Vq=this.Uq=0,this.Wq=20,this.ie=50,this.Aq=0,this.Hp=xm,this.Ap=0,this.nr=25,this.Gp=this.mr=10,this.Fp=20,this.xr=!0,this.dr=Vr,this.wr=!0,this.Dp=Vr}qt(Yc,il),Yc.prototype.copyInheritedPropertiesFrom=function(a){a!==null&&(this.nd=a.sorting,this.hd=a.comparer,this.Kb=a.angle,this.Jb=a.alignment,this.Uq=a.nodeIndent,this.Vq=a.nodeIndentPastParent,this.Wq=a.nodeSpacing,this.ie=a.layerSpacing,this.Aq=a.layerSpacingParentOverlap,this.Hp=a.compaction,this.Ap=a.breadthLimit,this.nr=a.rowSpacing,this.mr=a.rowIndent,this.Gp=a.commentSpacing,this.Fp=a.commentMargin,this.xr=a.setsPortSpot,this.dr=a.portSpot,this.wr=a.setsChildPortSpot,this.Dp=a.childPortSpot)},Nt.Object.defineProperties(Yc.prototype,{initialized:{get:function(){return this.V},set:function(a){this.V!==a&&(this.V=a)}},parent:{get:function(){return this.hb},set:function(a){this.hb!==a&&(this.hb=a)}},children:{get:function(){return this.u},set:function(a){if(this.u!==a){if(a!==null)for(var y=a.length,x=0;xLe.y+x.rowIndent&&(z=Math.min(z,Math.max(ve.y,z-y.computeNodeIndent(x))))):x.alignment===eh?(z=b.top+E.y,E.y===0&&ve.yLe.x+x.rowIndent&&(z=Math.min(z,Math.max(ve.x,z-y.computeNodeIndent(x))))):x.alignment===eh?(z=b.left+E.x,E.x===0&&ve.xLe.y+x.rowIndent&&(z=Math.min(z,Math.max(ve.y,z-y.computeNodeIndent(x))))):x.alignment===eh?(z=b.top+E.y,E.y===0&&ve.yLe.x+x.rowIndent&&(z=Math.min(z,Math.max(ve.x,z-y.computeNodeIndent(x))))):x.alignment===eh?(z=b.left+E.x,E.x===0&&ve.x=97&&se<=122||se>=65&&se<=90}},21127:function(_e,be,oe){"use strict";var se=oe(91241),Ce=oe(22347);_e.exports=we;function we(Ie){return se(Ie)||Ce(Ie)}},22347:function(_e){"use strict";_e.exports=be;function be(oe){var se=typeof oe=="string"?oe.charCodeAt(0):oe;return se>=48&&se<=57}},65207:function(_e){"use strict";_e.exports=be;function be(oe){var se=typeof oe=="string"?oe.charCodeAt(0):oe;return se>=97&&se<=102||se>=65&&se<=70||se>=48&&se<=57}},67842:function(_e){"use strict";var be,oe=59;_e.exports=se;function se(Ce){var we="&"+Ce+";",Ie;return be=be||document.createElement("i"),be.innerHTML=we,Ie=be.textContent,Ie.charCodeAt(Ie.length-1)===oe&&Ce!=="semi"||Ie===we?!1:Ie}},12256:function(_e,be,oe){"use strict";var se=oe(47854),Ce=oe(80501),we=oe(22347),Ie=oe(65207),De=oe(21127),Ke=oe(67842);_e.exports=an;var Ee={}.hasOwnProperty,et=String.fromCharCode,Je=Function.prototype,Ye={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},tt=9,ht=10,kt=12,ze=32,ee=38,ne=59,ge=60,ue=61,me=35,Se=88,Ne=120,ke=65533,Te="named",We="hexadecimal",$e="decimal",st={};st[We]=16,st[$e]=10;var ut={};ut[Te]=De,ut[$e]=we,ut[We]=Ie;var Mt=1,nt=2,$t=3,Pt=4,dn=5,zt=6,Xt=7,fn={};fn[Mt]="Named character references must be terminated by a semicolon",fn[nt]="Numeric character references must be terminated by a semicolon",fn[$t]="Named character references cannot be empty",fn[Pt]="Numeric character references cannot be empty",fn[dn]="Named character references must be known",fn[zt]="Numeric character references cannot be disallowed",fn[Xt]="Numeric character references cannot be outside the permissible Unicode range";function an(Bt,sn){var It={},en,En;sn||(sn={});for(En in Ye)en=sn[En],It[En]=en==null?Ye[En]:en;return(It.position.indent||It.position.start)&&(It.indent=It.position.indent||[],It.position=It.position.start),it(Bt,It)}function it(Bt,sn){var It=sn.additional,en=sn.nonTerminated,En=sn.text,ei=sn.reference,An=sn.warning,Kn=sn.textContext,jt=sn.referenceContext,Nn=sn.warningContext,Gn=sn.position,ii=sn.indent||[],Sn=Bt.length,Yt=0,Zt=-1,St=Gn.column||1,rt=Gn.line||1,Ft="",Ot=[],ft,ct,Ge,Ae,xe,je,Qe,Oe,xt,hn,Pn,wt,nn,Mn,Zn,li,xi,Mi,Si;for(typeof It=="string"&&(It=It.charCodeAt(0)),li=Ri(),Oe=An?lr:Je,Yt--,Sn++;++Yt65535&&(je-=65536,hn+=et(je>>>10|55296),je=56320|je&1023),je=hn+et(je))):Mn!==Te&&Oe(Pt,Mi)),je?(dr(),li=Ri(),Yt=Si-1,St+=Si-nn+1,Ot.push(je),xi=Ri(),xi.offset++,ei&&ei.call(jt,je,{start:li,end:xi},Bt.slice(nn-1,Si)),li=xi):(Ae=Bt.slice(nn-1,Si),Ft+=Ae,St+=Ae.length,Yt=Si-1)}else xe===10&&(rt++,Zt++,St=0),xe===xe?(Ft+=et(xe),St++):dr();return Ot.join("");function Ri(){return{line:rt,column:St,offset:Yt+(Gn.offset||0)}}function lr(ur,Sr){var Wr=Ri();Wr.column+=Sr,Wr.offset+=Sr,An.call(Nn,fn[ur],Wr,ur)}function dr(){Ft&&(Ot.push(Ft),En&&En.call(Kn,Ft,{start:li,end:Ri()}),Ft="")}}function Ve(Bt){return Bt>=55296&&Bt<=57343||Bt>1114111}function gt(Bt){return Bt>=1&&Bt<=8||Bt===11||Bt>=13&&Bt<=31||Bt>=127&&Bt<=159||Bt>=64976&&Bt<=65007||(Bt&65535)===65535||(Bt&65535)===65534}},68398:function(_e,be,oe){var se=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var Ce=function(we){var Ie=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,De=0,Ke={},Ee={manual:we.Prism&&we.Prism.manual,disableWorkerMessageHandler:we.Prism&&we.Prism.disableWorkerMessageHandler,util:{encode:function ue(me){return me instanceof et?new et(me.type,ue(me.content),me.alias):Array.isArray(me)?me.map(ue):me.replace(/&/g,"&").replace(/"+ke.content+""};function Je(ue,me,Se,Ne){ue.lastIndex=me;var ke=ue.exec(Se);if(ke&&Ne&&ke[1]){var Te=ke[1].length;ke.index+=Te,ke[0]=ke[0].slice(Te)}return ke}function Ye(ue,me,Se,Ne,ke,Te){for(var We in Se)if(!(!Se.hasOwnProperty(We)||!Se[We])){var $e=Se[We];$e=Array.isArray($e)?$e:[$e];for(var st=0;st<$e.length;++st){if(Te&&Te.cause==We+","+st)return;var ut=$e[st],Mt=ut.inside,nt=!!ut.lookbehind,$t=!!ut.greedy,Pt=ut.alias;if($t&&!ut.pattern.global){var dn=ut.pattern.toString().match(/[imsuy]*$/)[0];ut.pattern=RegExp(ut.pattern.source,dn+"g")}for(var zt=ut.pattern||ut,Xt=Ne.next,fn=ke;Xt!==me.tail&&!(Te&&fn>=Te.reach);fn+=Xt.value.length,Xt=Xt.next){var an=Xt.value;if(me.length>ue.length)return;if(!(an instanceof et)){var it=1,Ve;if($t){if(Ve=Je(zt,fn,ue,nt),!Ve||Ve.index>=ue.length)break;var It=Ve.index,gt=Ve.index+Ve[0].length,Bt=fn;for(Bt+=Xt.value.length;It>=Bt;)Xt=Xt.next,Bt+=Xt.value.length;if(Bt-=Xt.value.length,fn=Bt,Xt.value instanceof et)continue;for(var sn=Xt;sn!==me.tail&&(BtTe.reach&&(Te.reach=An);var Kn=Xt.prev;En&&(Kn=ht(me,Kn,En),fn+=En.length),kt(me,Kn,it);var jt=new et(We,Mt?Ee.tokenize(en,Mt):en,Pt,en);if(Xt=ht(me,Kn,jt),ei&&ht(me,Xt,ei),it>1){var Nn={cause:We+","+st,reach:An};Ye(ue,me,Se,Xt.prev,fn,Nn),Te&&Nn.reach>Te.reach&&(Te.reach=Nn.reach)}}}}}}function tt(){var ue={value:null,prev:null,next:null},me={value:null,prev:ue,next:null};ue.next=me,this.head=ue,this.tail=me,this.length=0}function ht(ue,me,Se){var Ne=me.next,ke={value:Se,prev:me,next:Ne};return me.next=ke,Ne.prev=ke,ue.length++,ke}function kt(ue,me,Se){for(var Ne=me.next,ke=0;ke4&&ee.slice(0,4)===Ie&&De.test(ze)&&(ze.charAt(4)==="-"?ne=Je(ze):ze=Ye(ze),ge=Ce),new ge(ne,ze))}function Je(kt){var ze=kt.slice(5).replace(Ke,ht);return Ie+ze.charAt(0).toUpperCase()+ze.slice(1)}function Ye(kt){var ze=kt.slice(4);return Ke.test(ze)?kt:(ze=ze.replace(Ee,tt),ze.charAt(0)!=="-"&&(ze="-"+ze),Ie+ze)}function tt(kt){return"-"+kt.toLowerCase()}function ht(kt){return kt.charAt(1).toUpperCase()}},18795:function(_e,be,oe){"use strict";var se=oe(83576),Ce=oe(8179),we=oe(59780),Ie=oe(68244),De=oe(20019),Ke=oe(38567);_e.exports=se([we,Ce,Ie,De,Ke])},20019:function(_e,be,oe){"use strict";var se=oe(70167),Ce=oe(79318),we=se.booleanish,Ie=se.number,De=se.spaceSeparated;_e.exports=Ce({transform:Ke,properties:{ariaActiveDescendant:null,ariaAtomic:we,ariaAutoComplete:null,ariaBusy:we,ariaChecked:we,ariaColCount:Ie,ariaColIndex:Ie,ariaColSpan:Ie,ariaControls:De,ariaCurrent:null,ariaDescribedBy:De,ariaDetails:null,ariaDisabled:we,ariaDropEffect:De,ariaErrorMessage:null,ariaExpanded:we,ariaFlowTo:De,ariaGrabbed:we,ariaHasPopup:null,ariaHidden:we,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:De,ariaLevel:Ie,ariaLive:null,ariaModal:we,ariaMultiLine:we,ariaMultiSelectable:we,ariaOrientation:null,ariaOwns:De,ariaPlaceholder:null,ariaPosInSet:Ie,ariaPressed:we,ariaReadOnly:we,ariaRelevant:null,ariaRequired:we,ariaRoleDescription:De,ariaRowCount:Ie,ariaRowIndex:Ie,ariaRowSpan:Ie,ariaSelected:we,ariaSetSize:Ie,ariaSort:null,ariaValueMax:Ie,ariaValueMin:Ie,ariaValueNow:Ie,ariaValueText:null,role:null}});function Ke(Ee,et){return et==="role"?et:"aria-"+et.slice(4).toLowerCase()}},38567:function(_e,be,oe){"use strict";var se=oe(70167),Ce=oe(79318),we=oe(85804),Ie=se.boolean,De=se.overloadedBoolean,Ke=se.booleanish,Ee=se.number,et=se.spaceSeparated,Je=se.commaSeparated;_e.exports=Ce({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:we,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Je,acceptCharset:et,accessKey:et,action:null,allow:null,allowFullScreen:Ie,allowPaymentRequest:Ie,allowUserMedia:Ie,alt:null,as:null,async:Ie,autoCapitalize:null,autoComplete:et,autoFocus:Ie,autoPlay:Ie,capture:Ie,charSet:null,checked:Ie,cite:null,className:et,cols:Ee,colSpan:null,content:null,contentEditable:Ke,controls:Ie,controlsList:et,coords:Ee|Je,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ie,defer:Ie,dir:null,dirName:null,disabled:Ie,download:De,draggable:Ke,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ie,formTarget:null,headers:et,height:Ee,hidden:Ie,high:Ee,href:null,hrefLang:null,htmlFor:et,httpEquiv:et,id:null,imageSizes:null,imageSrcSet:Je,inputMode:null,integrity:null,is:null,isMap:Ie,itemId:null,itemProp:et,itemRef:et,itemScope:Ie,itemType:et,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ie,low:Ee,manifest:null,max:null,maxLength:Ee,media:null,method:null,min:null,minLength:Ee,multiple:Ie,muted:Ie,name:null,nonce:null,noModule:Ie,noValidate:Ie,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ie,optimum:Ee,pattern:null,ping:et,placeholder:null,playsInline:Ie,poster:null,preload:null,readOnly:Ie,referrerPolicy:null,rel:et,required:Ie,reversed:Ie,rows:Ee,rowSpan:Ee,sandbox:et,scope:null,scoped:Ie,seamless:Ie,selected:Ie,shape:null,size:Ee,sizes:null,slot:null,span:Ee,spellCheck:Ke,src:null,srcDoc:null,srcLang:null,srcSet:Je,start:Ee,step:null,style:null,tabIndex:Ee,target:null,title:null,translate:null,type:null,typeMustMatch:Ie,useMap:null,value:Ke,width:Ee,wrap:null,align:null,aLink:null,archive:et,axis:null,background:null,bgColor:null,border:Ee,borderColor:null,bottomMargin:Ee,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ie,declare:Ie,event:null,face:null,frame:null,frameBorder:null,hSpace:Ee,leftMargin:Ee,link:null,longDesc:null,lowSrc:null,marginHeight:Ee,marginWidth:Ee,noResize:Ie,noHref:Ie,noShade:Ie,noWrap:Ie,object:null,profile:null,prompt:null,rev:null,rightMargin:Ee,rules:null,scheme:null,scrolling:Ke,standby:null,summary:null,text:null,topMargin:Ee,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ee,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ie,disableRemotePlayback:Ie,prefix:null,property:null,results:Ee,security:null,unselectable:null}})},85804:function(_e,be,oe){"use strict";var se=oe(56432);_e.exports=Ce;function Ce(we,Ie){return se(we,Ie.toLowerCase())}},56432:function(_e){"use strict";_e.exports=be;function be(oe,se){return se in oe?oe[se]:se}},79318:function(_e,be,oe){"use strict";var se=oe(47178),Ce=oe(44347),we=oe(19095);_e.exports=Ie;function Ie(De){var Ke=De.space,Ee=De.mustUseProperty||[],et=De.attributes||{},Je=De.properties,Ye=De.transform,tt={},ht={},kt,ze;for(kt in Je)ze=new we(kt,Ye(et,kt),Je[kt],Ke),Ee.indexOf(kt)!==-1&&(ze.mustUseProperty=!0),tt[kt]=ze,ht[se(kt)]=kt,ht[se(ze.attribute)]=kt;return new Ce(tt,ht,Ke)}},19095:function(_e,be,oe){"use strict";var se=oe(1969),Ce=oe(70167);_e.exports=De,De.prototype=new se,De.prototype.defined=!0;var we=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],Ie=we.length;function De(Ee,et,Je,Ye){var tt=-1,ht;for(Ke(this,"space",Ye),se.call(this,Ee,et);++tt5&&arguments[5]!==void 0?arguments[5]:!1,bt=arguments.length>6?arguments[6]:void 0,Ut=arguments.length>7?arguments[7]:void 0,Ln=Ye.useMemo(function(){if((0,Ee.Z)(zn)==="object")return zn.clearIcon;if(mi)return mi},[zn,mi]),ni=Ye.useMemo(function(){return!!(!Rn&&zn&&(In.length||bt)&&!(Ut==="combobox"&&bt===""))},[zn,Rn,In.length,bt,Ut]);return{allowClear:ni,clearIcon:Ye.createElement(ue,{className:"".concat(Vt,"-clear"),onMouseDown:yt,customizeIcon:Ln},"\xD7")}}var Se=Ye.createContext(null);function Ne(){return Ye.useContext(Se)}function ke(){var Vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,yt=Ye.useState(!1),In=(0,De.Z)(yt,2),zn=In[0],mi=In[1],Rn=Ye.useRef(null),bt=function(){window.clearTimeout(Rn.current)};Ye.useEffect(function(){return bt},[]);var Ut=function(ni,Gt){bt(),Rn.current=window.setTimeout(function(){mi(ni),Gt&&Gt()},Vt)};return[zn,Ut,bt]}function Te(){var Vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,yt=Ye.useRef(null),In=Ye.useRef(null);Ye.useEffect(function(){return function(){window.clearTimeout(In.current)}},[]);function zn(mi){(mi||yt.current===null)&&(yt.current=mi),window.clearTimeout(In.current),In.current=window.setTimeout(function(){yt.current=null},Vt)}return[function(){return yt.current},zn]}function We(Vt,yt,In,zn){var mi=Ye.useRef(null);mi.current={open:yt,triggerOpen:In,customizedTrigger:zn},Ye.useEffect(function(){function Rn(bt){var Ut;if(!((Ut=mi.current)!==null&&Ut!==void 0&&Ut.customizedTrigger)){var Ln=bt.target;Ln.shadowRoot&&bt.composed&&(Ln=bt.composedPath()[0]||Ln),mi.current.open&&Vt().filter(function(ni){return ni}).every(function(ni){return!ni.contains(Ln)&&ni!==Ln})&&mi.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Rn),function(){return window.removeEventListener("mousedown",Rn)}},[])}var $e=oe(36994),st=oe(11780),ut=function(yt,In){var zn,mi,Rn=yt.prefixCls,bt=yt.id,Ut=yt.inputElement,Ln=yt.disabled,ni=yt.tabIndex,Gt=yt.autoFocus,yn=yt.autoComplete,Qt=yt.editable,un=yt.activeDescendantId,wn=yt.value,gn=yt.maxLength,kn=yt.onKeyDown,Bn=yt.onMouseDown,Vn=yt.onChange,Jn=yt.onPaste,Wn=yt.onCompositionStart,gi=yt.onCompositionEnd,Fi=yt.open,ir=yt.attrs,zi=Ut||Ye.createElement("input",null),tn=zi,Ai=tn.ref,Bi=tn.props,Ti=Bi.onKeyDown,hr=Bi.onChange,tr=Bi.onMouseDown,br=Bi.onCompositionStart,Xi=Bi.onCompositionEnd,Hi=Bi.style;return(0,Je.Kp)(!("maxLength"in zi.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),zi=Ye.cloneElement(zi,(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({type:"search"},Bi),{},{id:bt,ref:(0,ne.sQ)(In,Ai),disabled:Ln,tabIndex:ni,autoComplete:yn||"off",autoFocus:Gt,className:ht()("".concat(Rn,"-selection-search-input"),(zn=zi)===null||zn===void 0||(mi=zn.props)===null||mi===void 0?void 0:mi.className),role:"combobox","aria-label":"Search","aria-expanded":Fi||!1,"aria-haspopup":"listbox","aria-owns":"".concat(bt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(bt,"_list"),"aria-activedescendant":Fi?un:void 0},ir),{},{value:Qt?wn:"",maxLength:gn,readOnly:!Qt,unselectable:Qt?null:"on",style:(0,Ie.Z)((0,Ie.Z)({},Hi),{},{opacity:Qt?null:0}),onKeyDown:function(Ht){kn(Ht),Ti&&Ti(Ht)},onMouseDown:function(Ht){Bn(Ht),tr&&tr(Ht)},onChange:function(Ht){Vn(Ht),hr&&hr(Ht)},onCompositionStart:function(Ht){Wn(Ht),br&&br(Ht)},onCompositionEnd:function(Ht){gi(Ht),Xi&&Xi(Ht)},onPaste:Jn})),zi},Mt=Ye.forwardRef(ut);Mt.displayName="Input";var nt=Mt;function $t(Vt){return Array.isArray(Vt)?Vt:Vt!==void 0?[Vt]:[]}var Pt=typeof window!="undefined"&&window.document&&window.document.documentElement,dn=Pt;function zt(Vt){return Vt!=null}function Xt(Vt){return!Vt&&Vt!==0}function fn(Vt){return["string","number"].includes((0,Ee.Z)(Vt))}function an(Vt){var yt=void 0;return Vt&&(fn(Vt.title)?yt=Vt.title.toString():fn(Vt.label)&&(yt=Vt.label.toString())),yt}function it(Vt,yt){dn?Ye.useLayoutEffect(Vt,yt):Ye.useEffect(Vt,yt)}function Ve(Vt){var yt;return(yt=Vt.key)!==null&&yt!==void 0?yt:Vt.value}var gt=function(yt){yt.preventDefault(),yt.stopPropagation()},Bt=function(yt){var In=yt.id,zn=yt.prefixCls,mi=yt.values,Rn=yt.open,bt=yt.searchValue,Ut=yt.autoClearSearchValue,Ln=yt.inputRef,ni=yt.placeholder,Gt=yt.disabled,yn=yt.mode,Qt=yt.showSearch,un=yt.autoFocus,wn=yt.autoComplete,gn=yt.activeDescendantId,kn=yt.tabIndex,Bn=yt.removeIcon,Vn=yt.maxTagCount,Jn=yt.maxTagTextLength,Wn=yt.maxTagPlaceholder,gi=Wn===void 0?function(Rr){return"+ ".concat(Rr.length," ...")}:Wn,Fi=yt.tagRender,ir=yt.onToggleOpen,zi=yt.onRemove,tn=yt.onInputChange,Ai=yt.onInputPaste,Bi=yt.onInputKeyDown,Ti=yt.onInputMouseDown,hr=yt.onInputCompositionStart,tr=yt.onInputCompositionEnd,br=Ye.useRef(null),Xi=(0,Ye.useState)(0),Hi=(0,De.Z)(Xi,2),Ir=Hi[0],Ht=Hi[1],Kr=(0,Ye.useState)(!1),Fn=(0,De.Z)(Kr,2),kr=Fn[0],Go=Fn[1],Dr="".concat(zn,"-selection"),po=Rn||yn==="multiple"&&Ut===!1||yn==="tags"?bt:"",Do=yn==="tags"||yn==="multiple"&&Ut===!1||Qt&&(Rn||kr);it(function(){Ht(br.current.scrollWidth)},[po]);function Ji(Rr,Ko,Yr,yo,Mr){return Ye.createElement("span",{className:ht()("".concat(Dr,"-item"),(0,we.Z)({},"".concat(Dr,"-item-disabled"),Yr)),title:an(Rr)},Ye.createElement("span",{className:"".concat(Dr,"-item-content")},Ko),yo&&Ye.createElement(ue,{className:"".concat(Dr,"-item-remove"),onMouseDown:gt,onClick:Mr,customizeIcon:Bn},"\xD7"))}function or(Rr,Ko,Yr,yo,Mr){var mr=function(Uo){gt(Uo),ir(!Rn)};return Ye.createElement("span",{onMouseDown:mr},Fi({label:Ko,value:Rr,disabled:Yr,closable:yo,onClose:Mr}))}function io(Rr){var Ko=Rr.disabled,Yr=Rr.label,yo=Rr.value,Mr=!Gt&&!Ko,mr=Yr;if(typeof Jn=="number"&&(typeof Yr=="string"||typeof Yr=="number")){var co=String(mr);co.length>Jn&&(mr="".concat(co.slice(0,Jn),"..."))}var Uo=function(ra){ra&&ra.stopPropagation(),zi(Rr)};return typeof Fi=="function"?or(yo,mr,Ko,Mr,Uo):Ji(Rr,mr,Ko,Mr,Uo)}function Gr(Rr){var Ko=typeof gi=="function"?gi(Rr):gi;return Ji({title:Ko},Ko,!1)}var Ii=Ye.createElement("div",{className:"".concat(Dr,"-search"),style:{width:Ir},onFocus:function(){Go(!0)},onBlur:function(){Go(!1)}},Ye.createElement(nt,{ref:Ln,open:Rn,prefixCls:zn,id:In,inputElement:null,disabled:Gt,autoFocus:un,autoComplete:wn,editable:Do,activeDescendantId:gn,value:po,onKeyDown:Bi,onMouseDown:Ti,onChange:tn,onPaste:Ai,onCompositionStart:hr,onCompositionEnd:tr,tabIndex:kn,attrs:(0,$e.Z)(yt,!0)}),Ye.createElement("span",{ref:br,className:"".concat(Dr,"-search-mirror"),"aria-hidden":!0},po,"\xA0")),lt=Ye.createElement(st.Z,{prefixCls:"".concat(Dr,"-overflow"),data:mi,renderItem:io,renderRest:Gr,suffix:Ii,itemKey:Ve,maxCount:Vn});return Ye.createElement(Ye.Fragment,null,lt,!mi.length&&!po&&Ye.createElement("span",{className:"".concat(Dr,"-placeholder")},ni))},sn=Bt,It=function(yt){var In=yt.inputElement,zn=yt.prefixCls,mi=yt.id,Rn=yt.inputRef,bt=yt.disabled,Ut=yt.autoFocus,Ln=yt.autoComplete,ni=yt.activeDescendantId,Gt=yt.mode,yn=yt.open,Qt=yt.values,un=yt.placeholder,wn=yt.tabIndex,gn=yt.showSearch,kn=yt.searchValue,Bn=yt.activeValue,Vn=yt.maxLength,Jn=yt.onInputKeyDown,Wn=yt.onInputMouseDown,gi=yt.onInputChange,Fi=yt.onInputPaste,ir=yt.onInputCompositionStart,zi=yt.onInputCompositionEnd,tn=yt.title,Ai=Ye.useState(!1),Bi=(0,De.Z)(Ai,2),Ti=Bi[0],hr=Bi[1],tr=Gt==="combobox",br=tr||gn,Xi=Qt[0],Hi=kn||"";tr&&Bn&&!Ti&&(Hi=Bn),Ye.useEffect(function(){tr&&hr(!1)},[tr,Bn]);var Ir=Gt!=="combobox"&&!yn&&!gn?!1:!!Hi,Ht=tn===void 0?an(Xi):tn,Kr=function(){if(Xi)return null;var kr=Ir?{visibility:"hidden"}:void 0;return Ye.createElement("span",{className:"".concat(zn,"-selection-placeholder"),style:kr},un)};return Ye.createElement(Ye.Fragment,null,Ye.createElement("span",{className:"".concat(zn,"-selection-search")},Ye.createElement(nt,{ref:Rn,prefixCls:zn,id:mi,open:yn,inputElement:In,disabled:bt,autoFocus:Ut,autoComplete:Ln,editable:br,activeDescendantId:ni,value:Hi,onKeyDown:Jn,onMouseDown:Wn,onChange:function(kr){hr(!0),gi(kr)},onPaste:Fi,onCompositionStart:ir,onCompositionEnd:zi,tabIndex:wn,attrs:(0,$e.Z)(yt,!0),maxLength:tr?Vn:void 0})),!tr&&Xi?Ye.createElement("span",{className:"".concat(zn,"-selection-item"),title:Ht,style:Ir?{visibility:"hidden"}:void 0},Xi.label):null,Kr())},en=It;function En(Vt){return![ee.Z.ESC,ee.Z.SHIFT,ee.Z.BACKSPACE,ee.Z.TAB,ee.Z.WIN_KEY,ee.Z.ALT,ee.Z.META,ee.Z.WIN_KEY_RIGHT,ee.Z.CTRL,ee.Z.SEMICOLON,ee.Z.EQUALS,ee.Z.CAPS_LOCK,ee.Z.CONTEXT_MENU,ee.Z.F1,ee.Z.F2,ee.Z.F3,ee.Z.F4,ee.Z.F5,ee.Z.F6,ee.Z.F7,ee.Z.F8,ee.Z.F9,ee.Z.F10,ee.Z.F11,ee.Z.F12].includes(Vt)}var ei=function(yt,In){var zn=(0,Ye.useRef)(null),mi=(0,Ye.useRef)(!1),Rn=yt.prefixCls,bt=yt.open,Ut=yt.mode,Ln=yt.showSearch,ni=yt.tokenWithEnter,Gt=yt.autoClearSearchValue,yn=yt.onSearch,Qt=yt.onSearchSubmit,un=yt.onToggleOpen,wn=yt.onInputKeyDown,gn=yt.domRef;Ye.useImperativeHandle(In,function(){return{focus:function(){zn.current.focus()},blur:function(){zn.current.blur()}}});var kn=Te(0),Bn=(0,De.Z)(kn,2),Vn=Bn[0],Jn=Bn[1],Wn=function(Hi){var Ir=Hi.which;(Ir===ee.Z.UP||Ir===ee.Z.DOWN)&&Hi.preventDefault(),wn&&wn(Hi),Ir===ee.Z.ENTER&&Ut==="tags"&&!mi.current&&!bt&&(Qt==null||Qt(Hi.target.value)),En(Ir)&&un(!0)},gi=function(){Jn(!0)},Fi=(0,Ye.useRef)(null),ir=function(Hi){yn(Hi,!0,mi.current)!==!1&&un(!0)},zi=function(){mi.current=!0},tn=function(Hi){mi.current=!1,Ut!=="combobox"&&ir(Hi.target.value)},Ai=function(Hi){var Ir=Hi.target.value;if(ni&&Fi.current&&/[\r\n]/.test(Fi.current)){var Ht=Fi.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ir=Ir.replace(Ht,Fi.current)}Fi.current=null,ir(Ir)},Bi=function(Hi){var Ir=Hi.clipboardData,Ht=Ir.getData("text");Fi.current=Ht},Ti=function(Hi){var Ir=Hi.target;if(Ir!==zn.current){var Ht=document.body.style.msTouchAction!==void 0;Ht?setTimeout(function(){zn.current.focus()}):zn.current.focus()}},hr=function(Hi){var Ir=Vn();Hi.target!==zn.current&&!Ir&&Ut!=="combobox"&&Hi.preventDefault(),(Ut!=="combobox"&&(!Ln||!Ir)||!bt)&&(bt&&Gt!==!1&&yn("",!0,!1),un())},tr={inputRef:zn,onInputKeyDown:Wn,onInputMouseDown:gi,onInputChange:Ai,onInputPaste:Bi,onInputCompositionStart:zi,onInputCompositionEnd:tn},br=Ut==="multiple"||Ut==="tags"?Ye.createElement(sn,(0,se.Z)({},yt,tr)):Ye.createElement(en,(0,se.Z)({},yt,tr));return Ye.createElement("div",{ref:gn,className:"".concat(Rn,"-selector"),onClick:Ti,onMouseDown:hr},br)},An=Ye.forwardRef(ei);An.displayName="Selector";var Kn=An,jt=oe(35593),Nn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Gn=function(yt){var In=yt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:In,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:In,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:In,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:In,adjustY:1},htmlRegion:"scroll"}}},ii=function(yt,In){var zn=yt.prefixCls,mi=yt.disabled,Rn=yt.visible,bt=yt.children,Ut=yt.popupElement,Ln=yt.animation,ni=yt.transitionName,Gt=yt.dropdownStyle,yn=yt.dropdownClassName,Qt=yt.direction,un=Qt===void 0?"ltr":Qt,wn=yt.placement,gn=yt.builtinPlacements,kn=yt.dropdownMatchSelectWidth,Bn=yt.dropdownRender,Vn=yt.dropdownAlign,Jn=yt.getPopupContainer,Wn=yt.empty,gi=yt.getTriggerDOMNode,Fi=yt.onPopupVisibleChange,ir=yt.onPopupMouseEnter,zi=(0,Ke.Z)(yt,Nn),tn="".concat(zn,"-dropdown"),Ai=Ut;Bn&&(Ai=Bn(Ut));var Bi=Ye.useMemo(function(){return gn||Gn(kn)},[gn,kn]),Ti=Ln?"".concat(tn,"-").concat(Ln):ni,hr=typeof kn=="number",tr=Ye.useMemo(function(){return hr?null:kn===!1?"minWidth":"width"},[kn,hr]),br=Gt;hr&&(br=(0,Ie.Z)((0,Ie.Z)({},br),{},{width:kn}));var Xi=Ye.useRef(null);return Ye.useImperativeHandle(In,function(){return{getPopupElement:function(){return Xi.current}}}),Ye.createElement(jt.Z,(0,se.Z)({},zi,{showAction:Fi?["click"]:[],hideAction:Fi?["click"]:[],popupPlacement:wn||(un==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Bi,prefixCls:tn,popupTransitionName:Ti,popup:Ye.createElement("div",{ref:Xi,onMouseEnter:ir},Ai),stretch:tr,popupAlign:Vn,popupVisible:Rn,getPopupContainer:Jn,popupClassName:ht()(yn,(0,we.Z)({},"".concat(tn,"-empty"),Wn)),popupStyle:br,getTriggerDOMNode:gi,onPopupVisibleChange:Fi}),bt)},Sn=Ye.forwardRef(ii);Sn.displayName="SelectTrigger";var Yt=Sn,Zt=oe(17953);function St(Vt,yt){var In=Vt.key,zn;return"value"in Vt&&(zn=Vt.value),In!=null?In:zn!==void 0?zn:"rc-index-key-".concat(yt)}function rt(Vt,yt){var In=Vt||{},zn=In.label,mi=In.value,Rn=In.options,bt=In.groupLabel,Ut=zn||(yt?"children":"label");return{label:Ut,value:mi||"value",options:Rn||"options",groupLabel:bt||Ut}}function Ft(Vt){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},In=yt.fieldNames,zn=yt.childrenAsData,mi=[],Rn=rt(In,!1),bt=Rn.label,Ut=Rn.value,Ln=Rn.options,ni=Rn.groupLabel;function Gt(yn,Qt){yn.forEach(function(un){if(Qt||!(Ln in un)){var wn=un[Ut];mi.push({key:St(un,mi.length),groupOption:Qt,data:un,label:un[bt],value:wn})}else{var gn=un[ni];gn===void 0&&zn&&(gn=un.label),mi.push({key:St(un,mi.length),group:!0,data:un,label:gn}),Gt(un[Ln],!0)}})}return Gt(Vt,!1),mi}function Ot(Vt){var yt=(0,Ie.Z)({},Vt);return"props"in yt||Object.defineProperty(yt,"props",{get:function(){return(0,Je.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),yt}}),yt}function ft(Vt,yt){if(!yt||!yt.length)return null;var In=!1;function zn(Rn,bt){var Ut=(0,Zt.Z)(bt),Ln=Ut[0],ni=Ut.slice(1);if(!Ln)return[Rn];var Gt=Rn.split(Ln);return In=In||Gt.length>1,Gt.reduce(function(yn,Qt){return[].concat((0,Ce.Z)(yn),(0,Ce.Z)(zn(Qt,ni)))},[]).filter(function(yn){return yn})}var mi=zn(Vt,yt);return In?mi:null}var ct=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Ge=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Ae(Vt){return Vt==="tags"||Vt==="multiple"}var xe=Ye.forwardRef(function(Vt,yt){var In,zn,mi=Vt.id,Rn=Vt.prefixCls,bt=Vt.className,Ut=Vt.showSearch,Ln=Vt.tagRender,ni=Vt.direction,Gt=Vt.omitDomProps,yn=Vt.displayValues,Qt=Vt.onDisplayValuesChange,un=Vt.emptyOptions,wn=Vt.notFoundContent,gn=wn===void 0?"Not Found":wn,kn=Vt.onClear,Bn=Vt.mode,Vn=Vt.disabled,Jn=Vt.loading,Wn=Vt.getInputElement,gi=Vt.getRawInputElement,Fi=Vt.open,ir=Vt.defaultOpen,zi=Vt.onDropdownVisibleChange,tn=Vt.activeValue,Ai=Vt.onActiveValueChange,Bi=Vt.activeDescendantId,Ti=Vt.searchValue,hr=Vt.autoClearSearchValue,tr=Vt.onSearch,br=Vt.onSearchSplit,Xi=Vt.tokenSeparators,Hi=Vt.allowClear,Ir=Vt.suffixIcon,Ht=Vt.clearIcon,Kr=Vt.OptionList,Fn=Vt.animation,kr=Vt.transitionName,Go=Vt.dropdownStyle,Dr=Vt.dropdownClassName,po=Vt.dropdownMatchSelectWidth,Do=Vt.dropdownRender,Ji=Vt.dropdownAlign,or=Vt.placement,io=Vt.builtinPlacements,Gr=Vt.getPopupContainer,Ii=Vt.showAction,lt=Ii===void 0?[]:Ii,Rr=Vt.onFocus,Ko=Vt.onBlur,Yr=Vt.onKeyUp,yo=Vt.onKeyDown,Mr=Vt.onMouseDown,mr=(0,Ke.Z)(Vt,ct),co=Ae(Bn),Uo=(Ut!==void 0?Ut:co)||Bn==="combobox",ao=(0,Ie.Z)({},mr);Ge.forEach(function(Vr){delete ao[Vr]}),Gt==null||Gt.forEach(function(Vr){delete ao[Vr]});var ra=Ye.useState(!1),gr=(0,De.Z)(ra,2),Qi=gr[0],xr=gr[1];Ye.useEffect(function(){xr((0,ze.Z)())},[]);var fi=Ye.useRef(null),bo=Ye.useRef(null),ua=Ye.useRef(null),ca=Ye.useRef(null),oa=Ye.useRef(null),Ra=ke(),ts=(0,De.Z)(Ra,3),ds=ts[0],Qa=ts[1],ks=ts[2];Ye.useImperativeHandle(yt,function(){var Vr,Jr;return{focus:(Vr=ca.current)===null||Vr===void 0?void 0:Vr.focus,blur:(Jr=ca.current)===null||Jr===void 0?void 0:Jr.blur,scrollTo:function(rr){var ro;return(ro=oa.current)===null||ro===void 0?void 0:ro.scrollTo(rr)}}});var Ds=Ye.useMemo(function(){var Vr;if(Bn!=="combobox")return Ti;var Jr=(Vr=yn[0])===null||Vr===void 0?void 0:Vr.value;return typeof Jr=="string"||typeof Jr=="number"?String(Jr):""},[Ti,Bn,yn]),jn=Bn==="combobox"&&typeof Wn=="function"&&Wn()||null,gs=typeof gi=="function"&&gi(),Ql=(0,ne.x1)(bo,gs==null||(In=gs.props)===null||In===void 0?void 0:In.ref),Kl=Ye.useState(!1),Oo=(0,De.Z)(Kl,2),ma=Oo[0],hs=Oo[1];(0,kt.Z)(function(){hs(!0)},[]);var aa=(0,et.Z)(!1,{defaultValue:ir,value:Fi}),Xr=(0,De.Z)(aa,2),Qr=Xr[0],ns=Xr[1],so=ma?Qr:!1,Po=!gn&&un;(Vn||Po&&so&&Bn==="combobox")&&(so=!1);var Mo=Po?!1:so,$i=Ye.useCallback(function(Vr){var Jr=Vr!==void 0?Vr:!so;Vn||(ns(Jr),so!==Jr&&(zi==null||zi(Jr)))},[Vn,so,ns,zi]),Ja=Ye.useMemo(function(){return(Xi||[]).some(function(Vr){return[` `,`\r -`].includes(Vr)})},[Xi]),xs=function(Jr,Br,rr){var ro=!0,Na=Jr;Ai==null||Ai(null);var Ia=rr?null:ft(Jr,Xi);return Bn!=="combobox"&&Ia&&(Na="",br==null||br(Ia),$i(!1),ro=!1),tr&&Ds!==Na&&tr(Na,{source:Br?"typing":"effect"}),ro},ul=function(Jr){!Jr||!Jr.trim()||tr(Jr,{source:"submit"})};Ye.useEffect(function(){!so&&!co&&Bn!=="combobox"&&xs("",!1,!1)},[so]),Ye.useEffect(function(){Qr&&Vn&&ns(!1),Vn&&Qa(!1)},[Vn]);var Yl=Te(),Jl=(0,De.Z)(Yl,2),_i=Jl[0],is=Jl[1],Hs=function(Jr){var Br=_i(),rr=Jr.which;if(rr===ee.Z.ENTER&&(Bn!=="combobox"&&Jr.preventDefault(),so||$i(!0)),is(!!Ds),rr===ee.Z.BACKSPACE&&!Br&&co&&!Ds&&yn.length){for(var ro=(0,Ce.Z)(yn),Na=null,Ia=ro.length-1;Ia>=0;Ia-=1){var Ho=ro[Ia];if(!Ho.disabled){ro.splice(Ia,1),Na=Ho;break}}Na&&Qt(ro,{type:"remove",values:[Na]})}for(var Bo=arguments.length,rl=new Array(Bo>1?Bo-1:0),Bs=1;Bs1?Br-1:0),ro=1;ro1?Ia-1:0),Bo=1;Bo1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Pn.Z)(Vt).map(function(In,zn){if(!Ye.isValidElement(In)||!In.type)return null;var mi=In,Rn=mi.type.isSelectOptGroup,bt=mi.key,Ut=mi.props,Ln=Ut.children,ni=(0,Ke.Z)(Ut,nn);return yt||!Rn?Mn(In):(0,Ie.Z)((0,Ie.Z)({key:"__RC_SELECT_GRP__".concat(bt===null?zn:bt,"__"),label:bt},ni),{},{options:Zn(Ln)})}).filter(function(In){return In})}function li(Vt,yt,In,zn,mi){return Ye.useMemo(function(){var Rn=Vt,bt=!Vt;bt&&(Rn=Zn(yt));var Ut=new Map,Ln=new Map,ni=function(Qt,un,wn){wn&&typeof wn=="string"&&Qt.set(un[wn],un)};function _t(yn){for(var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,un=0;un1&&arguments[1]!==void 0?arguments[1]:1,_r=Ai.length,Ii=0;Ii<_r;Ii+=1){var lt=(or+Ii*io+_r)%_r,Rr=Ai[lt],Ko=Rr.group,Yr=Rr.data;if(!Ko&&!Yr.disabled)return lt}return-1},br=Ye.useState(function(){return tr(0)}),Xi=(0,De.Z)(br,2),Hi=Xi[0],Ir=Xi[1],Gt=function(or){var io=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ir(or);var _r={source:io?"keyboard":"mouse"},Ii=Ai[or];if(!Ii){gn(null,-1,_r);return}gn(Ii.value,or,_r)};(0,Ye.useEffect)(function(){Gt(kn!==!1?tr(0):-1)},[Ai.length,ni]);var Kr=Ye.useCallback(function(Ji){return Jn.has(Ji)&&Ln!=="combobox"},[Ln,(0,Ce.Z)(Jn).toString(),Jn.size]);(0,Ye.useEffect)(function(){var Ji=setTimeout(function(){if(!Ut&&bt&&Jn.size===1){var io=Array.from(Jn)[0],_r=Ai.findIndex(function(Ii){var lt=Ii.data;return lt.value===io});_r!==-1&&(Gt(_r),hr(_r))}});if(bt){var or;(or=Bi.current)===null||or===void 0||or.scrollTo(void 0)}return function(){return clearTimeout(Ji)}},[bt,ni,wn.length]);var Fn=function(or){or!==void 0&&Bn(or,{selected:!Jn.has(or)}),Ut||_t(!1)};if(Ye.useImperativeHandle(In,function(){return{onKeyDown:function(or){var io=or.which,_r=or.ctrlKey;switch(io){case ee.Z.N:case ee.Z.P:case ee.Z.UP:case ee.Z.DOWN:{var Ii=0;if(io===ee.Z.UP?Ii=-1:io===ee.Z.DOWN?Ii=1:Zr()&&_r&&(io===ee.Z.N?Ii=1:io===ee.Z.P&&(Ii=-1)),Ii!==0){var lt=tr(Hi+Ii,Ii);hr(lt),Gt(lt,!0)}break}case ee.Z.ENTER:{var Rr=Ai[Hi];Rr&&!Rr.data.disabled?Fn(Rr.value):Fn(void 0),bt&&or.preventDefault();break}case ee.Z.ESC:_t(!1),bt&&or.stopPropagation()}},onKeyUp:function(){},scrollTo:function(or){hr(or)}}}),Ai.length===0)return Ye.createElement("div",{role:"listbox",id:"".concat(Rn,"_list"),className:"".concat(tn,"-empty"),onMouseDown:Ti},yn);var kr=Object.keys(Wn).map(function(Ji){return Wn[Ji]}),Go=function(or){return or.label};function Dr(Ji,or){var io=Ji.group;return{role:io?"presentation":"option",id:"".concat(Rn,"_list_").concat(or)}}var po=function(or){var io=Ai[or];if(!io)return null;var _r=io.data||{},Ii=_r.value,lt=io.group,Rr=(0,$e.Z)(_r,!0),Ko=Go(io);return io?Ye.createElement("div",(0,se.Z)({"aria-label":typeof Ko=="string"&&!lt?Ko:null},Rr,{key:or},Dr(io,or),{"aria-selected":Kr(Ii)}),Ii):null},Do={role:"listbox",id:"".concat(Rn,"_list")};return Ye.createElement(Ye.Fragment,null,gi&&Ye.createElement("div",(0,se.Z)({},Do,{style:{height:0,width:0,overflow:"hidden"}}),po(Hi-1),po(Hi),po(Hi+1)),Ye.createElement(Sr.Z,{itemKey:"key",ref:Bi,data:Ai,height:ir,itemHeight:zi,fullHeight:!1,onMouseDown:Ti,onScroll:Qt,virtual:gi,direction:Fi,innerProps:gi?null:Do},function(Ji,or){var io,_r=Ji.group,Ii=Ji.groupOption,lt=Ji.data,Rr=Ji.label,Ko=Ji.value,Yr=lt.key;if(_r){var yo,Mr=(yo=lt.title)!==null&&yo!==void 0?yo:Ue(Rr)?Rr.toString():void 0;return Ye.createElement("div",{className:ht()(tn,"".concat(tn,"-group")),title:Mr},Rr!==void 0?Rr:Yr)}var mr=lt.disabled,co=lt.title,Uo=lt.children,ao=lt.style,ra=lt.className,gr=(0,Ke.Z)(lt,Yi),Qi=(0,ur.Z)(gr,kr),xr=Kr(Ko),fi="".concat(tn,"-option"),bo=ht()(tn,fi,ra,(io={},(0,we.Z)(io,"".concat(fi,"-grouped"),Ii),(0,we.Z)(io,"".concat(fi,"-active"),Hi===or&&!mr),(0,we.Z)(io,"".concat(fi,"-disabled"),mr),(0,we.Z)(io,"".concat(fi,"-selected"),xr),io)),ua=Go(Ji),ca=!Vn||typeof Vn=="function"||xr,oa=typeof ua=="number"?ua:ua||Ko,Ra=Ue(oa)?oa.toString():void 0;return co!==void 0&&(Ra=co),Ye.createElement("div",(0,se.Z)({},(0,$e.Z)(Qi),gi?{}:Dr(Ji,or),{"aria-selected":xr,className:bo,title:Ra,onMouseMove:function(){Hi===or||mr||Gt(or)},onClick:function(){mr||Fn(Ko)},style:ao}),Ye.createElement("div",{className:"".concat(fi,"-content")},oa),Ye.isValidElement(Vn)||xr,ca&&Ye.createElement(ue,{className:"".concat(tn,"-option-state"),customizeIcon:Vn,customizeIconProps:{isSelected:xr}},xr?"\u2713":null))}))},pr=Ye.forwardRef(no);pr.displayName="OptionList";var fo=pr;function Fo(Vt){var yt=Vt.mode,In=Vt.options,zn=Vt.children,mi=Vt.backfill,Rn=Vt.allowClear,bt=Vt.placeholder,Ut=Vt.getInputElement,Ln=Vt.showSearch,ni=Vt.onSearch,_t=Vt.defaultOpen,yn=Vt.autoFocus,Qt=Vt.labelInValue,un=Vt.value,wn=Vt.inputValue,gn=Vt.optionLabelProp,kn=isMultiple(yt),Bn=Ln!==void 0?Ln:kn||yt==="combobox",Vn=In||convertChildrenToData(zn);if(warning(yt!=="tags"||Vn.every(function(Fi){return!Fi.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),yt==="tags"||yt==="combobox"){var Jn=Vn.some(function(Fi){return Fi.options?Fi.options.some(function(ir){return typeof("value"in ir?ir.value:ir.key)=="number"}):typeof("value"in Fi?Fi.value:Fi.key)=="number"});warning(!Jn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(yt!=="combobox"||!gn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(yt==="combobox"||!mi,"`backfill` only works with `combobox` mode."),warning(yt==="combobox"||!Ut,"`getInputElement` only work with `combobox` mode."),noteOnce(yt!=="combobox"||!Ut||!Rn||!bt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ni&&!Bn&&yt!=="combobox"&&yt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!_t||yn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),un!=null){var Wn=toArray(un);warning(!Qt||Wn.every(function(Fi){return _typeof(Fi)==="object"&&("key"in Fi||"value"in Fi)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!kn||Array.isArray(un),"`value` should be array when `mode` is `multiple` or `tags`")}if(zn){var gi=null;toNodeArray(zn).some(function(Fi){if(!React.isValidElement(Fi)||!Fi.type)return!1;var ir=Fi,zi=ir.type;if(zi.isSelectOption)return!1;if(zi.isSelectOptGroup){var tn=toNodeArray(Fi.props.children).every(function(Ai){return!React.isValidElement(Ai)||!Fi.type||Ai.type.isSelectOption?!0:(gi=Ai.type,!1)});return!tn}return gi=zi,!0}),gi&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(gi.displayName||gi.name||gi,"`.")),warning(wn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Vo(Vt,yt){if(Vt){var In=function zn(mi){for(var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=0;bt2&&arguments[2]!==void 0?arguments[2]:{},$i=Mo.source,Ja=$i===void 0?"keyboard":$i;Ql(Po),bt&&zn==="combobox"&&so!==null&&Ja==="keyboard"&&ks(String(so))},[bt,zn]),ma=function(Po,Mo,$i){var Ja=function(){var du,wo=ra(Po);return[Hi?{label:wo==null?void 0:wo[Dr.label],value:Po,key:(du=wo==null?void 0:wo.key)!==null&&du!==void 0?du:Po}:Po,Ot(wo)]};if(Mo&&un){var xs=Ja(),ul=(0,De.Z)(xs,2),Yl=ul[0],Jl=ul[1];un(Yl,Jl)}else if(!Mo&&wn&&$i!=="clear"){var _i=Ja(),is=(0,De.Z)(_i,2),Hs=is[0],tu=is[1];wn(Hs,tu)}},ds=xi(function(so,Po){var Mo,$i=Fn?Po.selected:!0;$i?Mo=Fn?[].concat((0,Ce.Z)(ao),[so]):[so]:Mo=ao.filter(function(Ja){return Ja.value!==so}),Ra(Mo),ma(so,$i),zn==="combobox"?ks(""):(!Ae||Qt)&&(or(""),ks(""))}),aa=function(Po,Mo){Ra(Po);var $i=Mo.type,Ja=Mo.values;($i==="remove"||$i==="clear")&&Ja.forEach(function(xs){ma(xs.value,!1,$i)})},Xr=function(Po,Mo){if(or(Po),ks(null),Mo.source==="submit"){var $i=(Po||"").trim();if($i){var Ja=Array.from(new Set([].concat((0,Ce.Z)(Qi),[$i])));Ra(Ja),ma($i,!0),or("")}return}Mo.source!=="blur"&&(zn==="combobox"&&Ra(Po),_t==null||_t(Po))},Qr=function(Po){var Mo=Po;zn!=="tags"&&(Mo=Po.map(function(Ja){var xs=Ii.get(Ja);return xs==null?void 0:xs.value}).filter(function(Ja){return Ja!==void 0}));var $i=Array.from(new Set([].concat((0,Ce.Z)(Qi),(0,Ce.Z)(Mo))));Ra($i),$i.forEach(function(Ja){ma(Ja,!0)})},ns=Ye.useMemo(function(){var so=tn!==!1&&kn!==!1;return(0,Ie.Z)((0,Ie.Z)({},io),{},{flattenOptions:oa,onActiveValue:Oo,defaultActiveFirstOption:Kl,onSelect:ds,menuItemSelectedIcon:zi,rawValues:Qi,fieldNames:Dr,virtual:so,direction:Ai,listHeight:Ti,listItemHeight:tr,childrenAsData:kr})},[io,oa,Oo,Kl,ds,zi,Qi,Dr,tn,kn,Ti,tr,kr]);return Ye.createElement(Gi.Provider,{value:ns},Ye.createElement(je,(0,se.Z)({},Gt,{id:Kr,prefixCls:Rn,ref:yt,omitDomProps:on,mode:zn,displayValues:gr,onDisplayValuesChange:aa,direction:Ai,searchValue:Ji,onSearch:Xr,autoClearSearchValue:Qt,onSearchSplit:Qr,dropdownMatchSelectWidth:kn,OptionList:fo,emptyOptions:!oa.length,activeValue:Qa,activeDescendantId:"".concat(Kr,"_list_").concat(gs)})))}),Nt=qt;Nt.Option=lr,Nt.OptGroup=Si;var On=Nt,Un=On},9296:function(_e,be,oe){"use strict";oe.r(be),oe.d(be,{ResizableTextArea:function(){return Mt},default:function(){return Xt}});var se=oe(5891),Ce=oe(57259),we=oe(80962),Ie=oe(80665),De=oe(29043),Ke=oe(19149),Ee=oe(26390),et=oe(92310),Je=oe.n(et),Ye=oe(93681),tt=oe(5643),ht=oe(35788),kt=oe(59301),ze=oe(29301),ee=oe(28800),ne=oe(23073),ge=` +`].includes(Vr)})},[Xi]),xs=function(Jr,jr,rr){var ro=!0,Na=Jr;Ai==null||Ai(null);var Ia=rr?null:ft(Jr,Xi);return Bn!=="combobox"&&Ia&&(Na="",br==null||br(Ia),$i(!1),ro=!1),tr&&Ds!==Na&&tr(Na,{source:jr?"typing":"effect"}),ro},ul=function(Jr){!Jr||!Jr.trim()||tr(Jr,{source:"submit"})};Ye.useEffect(function(){!so&&!co&&Bn!=="combobox"&&xs("",!1,!1)},[so]),Ye.useEffect(function(){Qr&&Vn&&ns(!1),Vn&&Qa(!1)},[Vn]);var Yl=Te(),Jl=(0,De.Z)(Yl,2),_i=Jl[0],is=Jl[1],Hs=function(Jr){var jr=_i(),rr=Jr.which;if(rr===ee.Z.ENTER&&(Bn!=="combobox"&&Jr.preventDefault(),so||$i(!0)),is(!!Ds),rr===ee.Z.BACKSPACE&&!jr&&co&&!Ds&&yn.length){for(var ro=(0,Ce.Z)(yn),Na=null,Ia=ro.length-1;Ia>=0;Ia-=1){var Ho=ro[Ia];if(!Ho.disabled){ro.splice(Ia,1),Na=Ho;break}}Na&&Qt(ro,{type:"remove",values:[Na]})}for(var Bo=arguments.length,rl=new Array(Bo>1?Bo-1:0),Bs=1;Bs1?jr-1:0),ro=1;ro1?Ia-1:0),Bo=1;Bo1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Pn.Z)(Vt).map(function(In,zn){if(!Ye.isValidElement(In)||!In.type)return null;var mi=In,Rn=mi.type.isSelectOptGroup,bt=mi.key,Ut=mi.props,Ln=Ut.children,ni=(0,Ke.Z)(Ut,nn);return yt||!Rn?Mn(In):(0,Ie.Z)((0,Ie.Z)({key:"__RC_SELECT_GRP__".concat(bt===null?zn:bt,"__"),label:bt},ni),{},{options:Zn(Ln)})}).filter(function(In){return In})}function li(Vt,yt,In,zn,mi){return Ye.useMemo(function(){var Rn=Vt,bt=!Vt;bt&&(Rn=Zn(yt));var Ut=new Map,Ln=new Map,ni=function(Qt,un,wn){wn&&typeof wn=="string"&&Qt.set(un[wn],un)};function Gt(yn){for(var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,un=0;un1&&arguments[1]!==void 0?arguments[1]:1,Gr=Ai.length,Ii=0;Ii1&&arguments[1]!==void 0?arguments[1]:!1;Ir(or);var Gr={source:io?"keyboard":"mouse"},Ii=Ai[or];if(!Ii){gn(null,-1,Gr);return}gn(Ii.value,or,Gr)};(0,Ye.useEffect)(function(){Ht(kn!==!1?tr(0):-1)},[Ai.length,ni]);var Kr=Ye.useCallback(function(Ji){return Jn.has(Ji)&&Ln!=="combobox"},[Ln,(0,Ce.Z)(Jn).toString(),Jn.size]);(0,Ye.useEffect)(function(){var Ji=setTimeout(function(){if(!Ut&&bt&&Jn.size===1){var io=Array.from(Jn)[0],Gr=Ai.findIndex(function(Ii){var lt=Ii.data;return lt.value===io});Gr!==-1&&(Ht(Gr),hr(Gr))}});if(bt){var or;(or=Bi.current)===null||or===void 0||or.scrollTo(void 0)}return function(){return clearTimeout(Ji)}},[bt,ni,wn.length]);var Fn=function(or){or!==void 0&&Bn(or,{selected:!Jn.has(or)}),Ut||Gt(!1)};if(Ye.useImperativeHandle(In,function(){return{onKeyDown:function(or){var io=or.which,Gr=or.ctrlKey;switch(io){case ee.Z.N:case ee.Z.P:case ee.Z.UP:case ee.Z.DOWN:{var Ii=0;if(io===ee.Z.UP?Ii=-1:io===ee.Z.DOWN?Ii=1:Zr()&&Gr&&(io===ee.Z.N?Ii=1:io===ee.Z.P&&(Ii=-1)),Ii!==0){var lt=tr(Hi+Ii,Ii);hr(lt),Ht(lt,!0)}break}case ee.Z.ENTER:{var Rr=Ai[Hi];Rr&&!Rr.data.disabled?Fn(Rr.value):Fn(void 0),bt&&or.preventDefault();break}case ee.Z.ESC:Gt(!1),bt&&or.stopPropagation()}},onKeyUp:function(){},scrollTo:function(or){hr(or)}}}),Ai.length===0)return Ye.createElement("div",{role:"listbox",id:"".concat(Rn,"_list"),className:"".concat(tn,"-empty"),onMouseDown:Ti},yn);var kr=Object.keys(Wn).map(function(Ji){return Wn[Ji]}),Go=function(or){return or.label};function Dr(Ji,or){var io=Ji.group;return{role:io?"presentation":"option",id:"".concat(Rn,"_list_").concat(or)}}var po=function(or){var io=Ai[or];if(!io)return null;var Gr=io.data||{},Ii=Gr.value,lt=io.group,Rr=(0,$e.Z)(Gr,!0),Ko=Go(io);return io?Ye.createElement("div",(0,se.Z)({"aria-label":typeof Ko=="string"&&!lt?Ko:null},Rr,{key:or},Dr(io,or),{"aria-selected":Kr(Ii)}),Ii):null},Do={role:"listbox",id:"".concat(Rn,"_list")};return Ye.createElement(Ye.Fragment,null,gi&&Ye.createElement("div",(0,se.Z)({},Do,{style:{height:0,width:0,overflow:"hidden"}}),po(Hi-1),po(Hi),po(Hi+1)),Ye.createElement(Sr.Z,{itemKey:"key",ref:Bi,data:Ai,height:ir,itemHeight:zi,fullHeight:!1,onMouseDown:Ti,onScroll:Qt,virtual:gi,direction:Fi,innerProps:gi?null:Do},function(Ji,or){var io,Gr=Ji.group,Ii=Ji.groupOption,lt=Ji.data,Rr=Ji.label,Ko=Ji.value,Yr=lt.key;if(Gr){var yo,Mr=(yo=lt.title)!==null&&yo!==void 0?yo:Ue(Rr)?Rr.toString():void 0;return Ye.createElement("div",{className:ht()(tn,"".concat(tn,"-group")),title:Mr},Rr!==void 0?Rr:Yr)}var mr=lt.disabled,co=lt.title,Uo=lt.children,ao=lt.style,ra=lt.className,gr=(0,Ke.Z)(lt,Yi),Qi=(0,ur.Z)(gr,kr),xr=Kr(Ko),fi="".concat(tn,"-option"),bo=ht()(tn,fi,ra,(io={},(0,we.Z)(io,"".concat(fi,"-grouped"),Ii),(0,we.Z)(io,"".concat(fi,"-active"),Hi===or&&!mr),(0,we.Z)(io,"".concat(fi,"-disabled"),mr),(0,we.Z)(io,"".concat(fi,"-selected"),xr),io)),ua=Go(Ji),ca=!Vn||typeof Vn=="function"||xr,oa=typeof ua=="number"?ua:ua||Ko,Ra=Ue(oa)?oa.toString():void 0;return co!==void 0&&(Ra=co),Ye.createElement("div",(0,se.Z)({},(0,$e.Z)(Qi),gi?{}:Dr(Ji,or),{"aria-selected":xr,className:bo,title:Ra,onMouseMove:function(){Hi===or||mr||Ht(or)},onClick:function(){mr||Fn(Ko)},style:ao}),Ye.createElement("div",{className:"".concat(fi,"-content")},oa),Ye.isValidElement(Vn)||xr,ca&&Ye.createElement(ue,{className:"".concat(tn,"-option-state"),customizeIcon:Vn,customizeIconProps:{isSelected:xr}},xr?"\u2713":null))}))},pr=Ye.forwardRef(no);pr.displayName="OptionList";var fo=pr;function Fo(Vt){var yt=Vt.mode,In=Vt.options,zn=Vt.children,mi=Vt.backfill,Rn=Vt.allowClear,bt=Vt.placeholder,Ut=Vt.getInputElement,Ln=Vt.showSearch,ni=Vt.onSearch,Gt=Vt.defaultOpen,yn=Vt.autoFocus,Qt=Vt.labelInValue,un=Vt.value,wn=Vt.inputValue,gn=Vt.optionLabelProp,kn=isMultiple(yt),Bn=Ln!==void 0?Ln:kn||yt==="combobox",Vn=In||convertChildrenToData(zn);if(warning(yt!=="tags"||Vn.every(function(Fi){return!Fi.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),yt==="tags"||yt==="combobox"){var Jn=Vn.some(function(Fi){return Fi.options?Fi.options.some(function(ir){return typeof("value"in ir?ir.value:ir.key)=="number"}):typeof("value"in Fi?Fi.value:Fi.key)=="number"});warning(!Jn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(yt!=="combobox"||!gn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(yt==="combobox"||!mi,"`backfill` only works with `combobox` mode."),warning(yt==="combobox"||!Ut,"`getInputElement` only work with `combobox` mode."),noteOnce(yt!=="combobox"||!Ut||!Rn||!bt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),ni&&!Bn&&yt!=="combobox"&&yt!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Gt||yn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),un!=null){var Wn=toArray(un);warning(!Qt||Wn.every(function(Fi){return _typeof(Fi)==="object"&&("key"in Fi||"value"in Fi)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!kn||Array.isArray(un),"`value` should be array when `mode` is `multiple` or `tags`")}if(zn){var gi=null;toNodeArray(zn).some(function(Fi){if(!React.isValidElement(Fi)||!Fi.type)return!1;var ir=Fi,zi=ir.type;if(zi.isSelectOption)return!1;if(zi.isSelectOptGroup){var tn=toNodeArray(Fi.props.children).every(function(Ai){return!React.isValidElement(Ai)||!Fi.type||Ai.type.isSelectOption?!0:(gi=Ai.type,!1)});return!tn}return gi=zi,!0}),gi&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(gi.displayName||gi.name||gi,"`.")),warning(wn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Vo(Vt,yt){if(Vt){var In=function zn(mi){for(var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=0;bt2&&arguments[2]!==void 0?arguments[2]:{},$i=Mo.source,Ja=$i===void 0?"keyboard":$i;Ql(Po),bt&&zn==="combobox"&&so!==null&&Ja==="keyboard"&&ks(String(so))},[bt,zn]),ma=function(Po,Mo,$i){var Ja=function(){var du,wo=ra(Po);return[Hi?{label:wo==null?void 0:wo[Dr.label],value:Po,key:(du=wo==null?void 0:wo.key)!==null&&du!==void 0?du:Po}:Po,Ot(wo)]};if(Mo&&un){var xs=Ja(),ul=(0,De.Z)(xs,2),Yl=ul[0],Jl=ul[1];un(Yl,Jl)}else if(!Mo&&wn&&$i!=="clear"){var _i=Ja(),is=(0,De.Z)(_i,2),Hs=is[0],tu=is[1];wn(Hs,tu)}},hs=xi(function(so,Po){var Mo,$i=Fn?Po.selected:!0;$i?Mo=Fn?[].concat((0,Ce.Z)(ao),[so]):[so]:Mo=ao.filter(function(Ja){return Ja.value!==so}),Ra(Mo),ma(so,$i),zn==="combobox"?ks(""):(!Ae||Qt)&&(or(""),ks(""))}),aa=function(Po,Mo){Ra(Po);var $i=Mo.type,Ja=Mo.values;($i==="remove"||$i==="clear")&&Ja.forEach(function(xs){ma(xs.value,!1,$i)})},Xr=function(Po,Mo){if(or(Po),ks(null),Mo.source==="submit"){var $i=(Po||"").trim();if($i){var Ja=Array.from(new Set([].concat((0,Ce.Z)(Qi),[$i])));Ra(Ja),ma($i,!0),or("")}return}Mo.source!=="blur"&&(zn==="combobox"&&Ra(Po),Gt==null||Gt(Po))},Qr=function(Po){var Mo=Po;zn!=="tags"&&(Mo=Po.map(function(Ja){var xs=Ii.get(Ja);return xs==null?void 0:xs.value}).filter(function(Ja){return Ja!==void 0}));var $i=Array.from(new Set([].concat((0,Ce.Z)(Qi),(0,Ce.Z)(Mo))));Ra($i),$i.forEach(function(Ja){ma(Ja,!0)})},ns=Ye.useMemo(function(){var so=tn!==!1&&kn!==!1;return(0,Ie.Z)((0,Ie.Z)({},io),{},{flattenOptions:oa,onActiveValue:Oo,defaultActiveFirstOption:Kl,onSelect:hs,menuItemSelectedIcon:zi,rawValues:Qi,fieldNames:Dr,virtual:so,direction:Ai,listHeight:Ti,listItemHeight:tr,childrenAsData:kr})},[io,oa,Oo,Kl,hs,zi,Qi,Dr,tn,kn,Ti,tr,kr]);return Ye.createElement(Gi.Provider,{value:ns},Ye.createElement(je,(0,se.Z)({},Ht,{id:Kr,prefixCls:Rn,ref:yt,omitDomProps:on,mode:zn,displayValues:gr,onDisplayValuesChange:aa,direction:Ai,searchValue:Ji,onSearch:Xr,autoClearSearchValue:Qt,onSearchSplit:Qr,dropdownMatchSelectWidth:kn,OptionList:fo,emptyOptions:!oa.length,activeValue:Qa,activeDescendantId:"".concat(Kr,"_list_").concat(gs)})))}),Nt=qt;Nt.Option=lr,Nt.OptGroup=Si;var On=Nt,Un=On},9296:function(_e,be,oe){"use strict";oe.r(be),oe.d(be,{ResizableTextArea:function(){return Mt},default:function(){return Xt}});var se=oe(5891),Ce=oe(57259),we=oe(80962),Ie=oe(80665),De=oe(29043),Ke=oe(19149),Ee=oe(26390),et=oe(92310),Je=oe.n(et),Ye=oe(93681),tt=oe(5643),ht=oe(35788),kt=oe(59301),ze=oe(29301),ee=oe(28800),ne=oe(23073),ge=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -1344,7 +1344,7 @@ b`.split(/\n/).length!=3?function(ie){for(var ae=0,fe=[],pe=ie.length;ae<=pe;){v top:0 !important; right:0 !important; pointer-events: none !important; -`,ue=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],me={},Se;function Ne(fn){var an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,it=fn.getAttribute("id")||fn.getAttribute("data-reactid")||fn.getAttribute("name");if(an&&me[it])return me[it];var Ve=window.getComputedStyle(fn),gt=Ve.getPropertyValue("box-sizing")||Ve.getPropertyValue("-moz-box-sizing")||Ve.getPropertyValue("-webkit-box-sizing"),Bt=parseFloat(Ve.getPropertyValue("padding-bottom"))+parseFloat(Ve.getPropertyValue("padding-top")),sn=parseFloat(Ve.getPropertyValue("border-bottom-width"))+parseFloat(Ve.getPropertyValue("border-top-width")),It=ue.map(function(En){return"".concat(En,":").concat(Ve.getPropertyValue(En))}).join(";"),en={sizingStyle:It,paddingSize:Bt,borderSize:sn,boxSizing:gt};return an&&it&&(me[it]=en),en}function ke(fn){var an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Se||(Se=document.createElement("textarea"),Se.setAttribute("tab-index","-1"),Se.setAttribute("aria-hidden","true"),document.body.appendChild(Se)),fn.getAttribute("wrap")?Se.setAttribute("wrap",fn.getAttribute("wrap")):Se.removeAttribute("wrap");var gt=Ne(fn,an),Bt=gt.paddingSize,sn=gt.borderSize,It=gt.boxSizing,en=gt.sizingStyle;Se.setAttribute("style","".concat(en,";").concat(ge)),Se.value=fn.value||fn.placeholder||"";var En=void 0,ei=void 0,An,Kn=Se.scrollHeight;if(It==="border-box"?Kn+=sn:It==="content-box"&&(Kn-=Bt),it!==null||Ve!==null){Se.value=" ";var jt=Se.scrollHeight-Bt;it!==null&&(En=jt*it,It==="border-box"&&(En=En+Bt+sn),Kn=Math.max(En,Kn)),Ve!==null&&(ei=jt*Ve,It==="border-box"&&(ei=ei+Bt+sn),An=Kn>ei?"":"hidden",Kn=Math.min(ei,Kn))}var Nn={height:Kn,overflowY:An,resize:"none"};return En&&(Nn.minHeight=En),ei&&(Nn.maxHeight=ei),Nn}var Te=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],We=0,$e=1,st=2,ut=kt.forwardRef(function(fn,an){var it=fn,Ve=it.prefixCls,gt=it.onPressEnter,Bt=it.defaultValue,sn=it.value,It=it.autoSize,en=it.onResize,En=it.className,ei=it.style,An=it.disabled,Kn=it.onChange,jt=it.onInternalAutoSize,Nn=(0,Ke.Z)(it,Te),Gn=(0,ht.Z)(Bt,{value:sn,postState:function(Si){return Si!=null?Si:""}}),ii=(0,De.Z)(Gn,2),Sn=ii[0],Yt=ii[1],Zt=function(Si){Yt(Si.target.value),Kn==null||Kn(Si)},St=kt.useRef();kt.useImperativeHandle(an,function(){return{textArea:St.current}});var rt=kt.useMemo(function(){return It&&(0,Ie.Z)(It)==="object"?[It.minRows,It.maxRows]:[]},[It]),Ft=(0,De.Z)(rt,2),Ot=Ft[0],ft=Ft[1],ct=!!It,Ge=function(){try{if(document.activeElement===St.current){var Si=St.current,Ri=Si.selectionStart,lr=Si.selectionEnd,dr=Si.scrollTop;St.current.setSelectionRange(Ri,lr),St.current.scrollTop=dr}}catch(ur){}},Ae=kt.useState(st),xe=(0,De.Z)(Ae,2),je=xe[0],Qe=xe[1],Oe=kt.useState(),xt=(0,De.Z)(Oe,2),hn=xt[0],Pn=xt[1],wt=function(){Qe(We)};(0,ee.Z)(function(){ct&&wt()},[sn,Ot,ft,ct]),(0,ee.Z)(function(){if(je===We)Qe($e);else if(je===$e){var Mi=ke(St.current,!1,Ot,ft);Qe(st),Pn(Mi)}else Ge()},[je]);var nn=kt.useRef(),Mn=function(){ne.Z.cancel(nn.current)},Zn=function(Si){je===st&&(en==null||en(Si),It&&(Mn(),nn.current=(0,ne.Z)(function(){wt()})))};kt.useEffect(function(){return Mn},[]);var li=ct?hn:null,xi=(0,Ce.Z)((0,Ce.Z)({},ei),li);return(je===We||je===$e)&&(xi.overflowY="hidden",xi.overflowX="hidden"),kt.createElement(ze.Z,{onResize:Zn,disabled:!(It||en)},kt.createElement("textarea",(0,se.Z)({},Nn,{ref:St,style:xi,className:Je()(Ve,En,(0,we.Z)({},"".concat(Ve,"-disabled"),An)),disabled:An,value:Sn,onChange:Zt})))}),Mt=ut,nt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function $t(fn,an){return(0,Ee.Z)(fn||"").slice(0,an).join("")}function Pt(fn,an,it,Ve){var gt=it;return fn?gt=$t(it,Ve):(0,Ee.Z)(an||"").lengthVe&&(gt=an),gt}var dn=kt.forwardRef(function(fn,an){var it,Ve=fn.defaultValue,gt=fn.value,Bt=fn.onFocus,sn=fn.onBlur,It=fn.onChange,en=fn.allowClear,En=fn.maxLength,ei=fn.onCompositionStart,An=fn.onCompositionEnd,Kn=fn.suffix,jt=fn.prefixCls,Nn=jt===void 0?"rc-textarea":jt,Gn=fn.classes,ii=fn.showCount,Sn=fn.className,Yt=fn.style,Zt=fn.disabled,St=fn.hidden,rt=fn.classNames,Ft=fn.styles,Ot=fn.onResize,ft=(0,Ke.Z)(fn,nt),ct=(0,ht.Z)(Ve,{value:gt,defaultValue:Ve}),Ge=(0,De.Z)(ct,2),Ae=Ge[0],xe=Ge[1],je=(0,kt.useRef)(null),Qe=kt.useState(!1),Oe=(0,De.Z)(Qe,2),xt=Oe[0],hn=Oe[1],Pn=kt.useState(!1),wt=(0,De.Z)(Pn,2),nn=wt[0],Mn=wt[1],Zn=kt.useRef(),li=kt.useRef(0),xi=kt.useState(null),Mi=(0,De.Z)(xi,2),Si=Mi[0],Ri=Mi[1],lr=function(){var ln;(ln=je.current)===null||ln===void 0||ln.textArea.focus()};(0,kt.useImperativeHandle)(an,function(){return{resizableTextArea:je.current,focus:lr,blur:function(){var ln;(ln=je.current)===null||ln===void 0||ln.textArea.blur()}}}),(0,kt.useEffect)(function(){hn(function(on){return!Zt&&on})},[Zt]);var dr=Number(En)>0,ur=function(ln){Mn(!0),Zn.current=Ae,li.current=ln.currentTarget.selectionStart,ei==null||ei(ln)},Sr=function(ln){Mn(!1);var qt=ln.currentTarget.value;if(dr){var Nt,On=li.current>=En+1||li.current===((Nt=Zn.current)===null||Nt===void 0?void 0:Nt.length);qt=Pt(On,Zn.current,qt,En)}qt!==Ae&&(xe(qt),(0,tt.rJ)(ln.currentTarget,ln,It,qt)),An==null||An(ln)},Wr=function(ln){var qt=ln.target.value;if(!nn&&dr){var Nt=ln.target.selectionStart>=En+1||ln.target.selectionStart===qt.length||!ln.target.selectionStart;qt=Pt(Nt,Ae,qt,En)}xe(qt),(0,tt.rJ)(ln.currentTarget,ln,It,qt)},Gi=function(ln){var qt=ft.onPressEnter,Nt=ft.onKeyDown;ln.key==="Enter"&&qt&&qt(ln),Nt==null||Nt(ln)},Zr=function(ln){hn(!0),Bt==null||Bt(ln)},Yi=function(ln){hn(!1),sn==null||sn(ln)},Ue=function(ln){var qt;xe(""),lr(),(0,tt.rJ)((qt=je.current)===null||qt===void 0?void 0:qt.textArea,ln,It)},no=(0,tt.D7)(Ae);!nn&&dr&>==null&&(no=$t(no,En));var pr=Kn,fo;if(ii){var Fo=(0,Ee.Z)(no).length;(0,Ie.Z)(ii)==="object"?fo=ii.formatter({value:no,count:Fo,maxLength:En}):fo="".concat(Fo).concat(dr?" / ".concat(En):""),pr=kt.createElement(kt.Fragment,null,pr,kt.createElement("span",{className:Je()("".concat(Nn,"-data-count"),rt==null?void 0:rt.count),style:Ft==null?void 0:Ft.count},fo))}var Vo=function(ln){var qt;Ot==null||Ot(ln),(qt=je.current)!==null&&qt!==void 0&&qt.textArea.style.height&&Ri(!0)},Io=!ft.autoSize&&!ii&&!en,Oi=kt.createElement(Ye.BaseInput,{value:no,allowClear:en,handleReset:Ue,suffix:pr,prefixCls:Nn,classes:{affixWrapper:Je()(Gn==null?void 0:Gn.affixWrapper,(it={},(0,we.Z)(it,"".concat(Nn,"-show-count"),ii),(0,we.Z)(it,"".concat(Nn,"-textarea-allow-clear"),en),it))},disabled:Zt,focused:xt,className:Sn,style:(0,Ce.Z)((0,Ce.Z)({},Yt),Si&&!Io?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof fo=="string"?fo:void 0}},hidden:St,inputElement:kt.createElement(Mt,(0,se.Z)({},ft,{onKeyDown:Gi,onChange:Wr,onFocus:Zr,onBlur:Yi,onCompositionStart:ur,onCompositionEnd:Sr,className:rt==null?void 0:rt.textarea,style:(0,Ce.Z)((0,Ce.Z)({},Ft==null?void 0:Ft.textarea),{},{resize:Yt==null?void 0:Yt.resize}),disabled:Zt,prefixCls:Nn,onResize:Vo,ref:je}))});return Oi}),zt=dn,Xt=zt},39417:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return $e}});var se=oe(5891),Ce=oe(80962),we=oe(19149),Ie=oe(57259),De=oe(79545),Ke=oe(68550),Ee=oe(21882),et=oe(17928),Je=oe(7711),Ye=oe(92310),tt=oe.n(Ye),ht=oe(36994),kt=oe(59301),ze=oe(39378),ee=function(ut){for(var Mt=ut.prefixCls,nt=ut.level,$t=ut.isStart,Pt=ut.isEnd,dn="".concat(Mt,"-indent-unit"),zt=[],Xt=0;Xt0&&arguments[0]!==void 0?arguments[0]:[],Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],St=Yt.length,rt=Zt.length;if(Math.abs(St-rt)!==1)return{add:!1,key:null};function Ft(Ot,ft){var ct=new Map;Ot.forEach(function(Ae){ct.set(Ae,!0)});var Ge=ft.filter(function(Ae){return!ct.has(Ae)});return Ge.length===1?Ge[0]:null}return St ").concat(Zt);return Zt}var En=ne.forwardRef(function(Yt,Zt){var St=Yt.prefixCls,rt=Yt.data,Ft=Yt.selectable,Ot=Yt.checkable,ft=Yt.expandedKeys,ct=Yt.selectedKeys,Ge=Yt.checkedKeys,Ae=Yt.loadedKeys,xe=Yt.loadingKeys,je=Yt.halfCheckedKeys,Qe=Yt.keyEntities,Oe=Yt.disabled,xt=Yt.dragging,hn=Yt.dragOverNodeKey,Pn=Yt.dropPosition,wt=Yt.motion,nn=Yt.height,Mn=Yt.itemHeight,Zn=Yt.virtual,li=Yt.focusable,xi=Yt.activeItem,Mi=Yt.focused,Si=Yt.tabIndex,Ri=Yt.onKeyDown,lr=Yt.onFocus,dr=Yt.onBlur,ur=Yt.onActiveChange,Sr=Yt.onListChangeStart,Wr=Yt.onListChangeEnd,Gi=(0,Ne.Z)(Yt,Xt),Zr=ne.useRef(null),Yi=ne.useRef(null);ne.useImperativeHandle(Zt,function(){return{scrollTo:function(yn){Zr.current.scrollTo(yn)},getIndentWidth:function(){return Yi.current.offsetWidth}}});var Ue=ne.useState(ft),no=(0,Se.Z)(Ue,2),pr=no[0],fo=no[1],Fo=ne.useState(rt),Vo=(0,Se.Z)(Fo,2),Io=Vo[0],Oi=Vo[1],on=ne.useState(rt),ln=(0,Se.Z)(on,2),qt=ln[0],Nt=ln[1],On=ne.useState([]),Un=(0,Se.Z)(On,2),Vt=Un[0],yt=Un[1],In=ne.useState(null),zn=(0,Se.Z)(In,2),mi=zn[0],Rn=zn[1],bt=ne.useRef(rt);bt.current=rt;function Ut(){var _t=bt.current;Oi(_t),Nt(_t),yt([]),Rn(null),Wr()}(0,ke.Z)(function(){fo(ft);var _t=dn(pr,ft);if(_t.key!==null)if(_t.add){var yn=Io.findIndex(function(Bn){var Vn=Bn.key;return Vn===_t.key}),Qt=sn(zt(Io,rt,_t.key),Zn,nn,Mn),un=Io.slice();un.splice(yn+1,0,Bt),Nt(un),yt(Qt),Rn("show")}else{var wn=rt.findIndex(function(Bn){var Vn=Bn.key;return Vn===_t.key}),gn=sn(zt(rt,Io,_t.key),Zn,nn,Mn),kn=rt.slice();kn.splice(wn+1,0,Bt),Nt(kn),yt(gn),Rn("hide")}else Io!==rt&&(Oi(rt),Nt(rt))},[ft,rt]),ne.useEffect(function(){xt||Ut()},[xt]);var Ln=wt?qt:rt,ni={expandedKeys:ft,selectedKeys:ct,loadedKeys:Ae,loadingKeys:xe,checkedKeys:Ge,halfCheckedKeys:je,dragOverNodeKey:hn,dropPosition:Pn,keyEntities:Qe};return ne.createElement(ne.Fragment,null,Mi&&xi&&ne.createElement("span",{style:fn,"aria-live":"assertive"},en(xi)),ne.createElement("div",null,ne.createElement("input",{style:fn,disabled:li===!1||Oe,tabIndex:li!==!1?Si:null,onKeyDown:Ri,onFocus:lr,onBlur:dr,value:"",onChange:an,"aria-label":"for screen reader"})),ne.createElement("div",{className:"".concat(St,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ne.createElement("div",{className:"".concat(St,"-indent")},ne.createElement("div",{ref:Yi,className:"".concat(St,"-indent-unit")}))),ne.createElement(Te.Z,(0,se.Z)({},Gi,{data:Ln,itemKey:It,height:nn,fullHeight:!1,virtual:Zn,itemHeight:Mn,prefixCls:"".concat(St,"-list"),ref:Zr,onVisibleChange:function(yn,Qt){var un=new Set(yn),wn=Qt.filter(function(gn){return!un.has(gn)});wn.some(function(gn){return It(gn)===it})&&Ut()}}),function(_t){var yn=_t.pos,Qt=(0,se.Z)({},(me(_t.data),_t.data)),un=_t.title,wn=_t.key,gn=_t.isStart,kn=_t.isEnd,Bn=(0,ut.km)(wn,yn);delete Qt.key,delete Qt.children;var Vn=(0,ut.H8)(Bn,ni);return ne.createElement(Pt,(0,se.Z)({},Qt,Vn,{title:un,active:!!xi&&wn===xi.key,pos:yn,data:_t.data,isStart:gn,isEnd:kn,motion:wt,motionNodes:wn===it?Vt:null,motionType:mi,onMotionStart:Sr,onMotionEnd:Ut,treeNodeRequiredProps:ni,onMouseMove:function(){ur(null)}}))}))});En.displayName="NodeList";var ei=En,An=oe(35654),Kn=oe(90782),jt=oe(67841),Nn=10,Gn=function(Yt){(0,Je.Z)(St,Yt);var Zt=(0,Ye.Z)(St);function St(){var rt;(0,Ke.Z)(this,St);for(var Ft=arguments.length,Ot=new Array(Ft),ft=0;ft2&&arguments[2]!==void 0?arguments[2]:!1,je=rt.state,Qe=je.dragChildrenKeys,Oe=je.dropPosition,xt=je.dropTargetKey,hn=je.dropTargetPos,Pn=je.dropAllowed;if(Pn){var wt=rt.props.onDrop;if(rt.setState({dragOverNodeKey:null}),rt.cleanDragState(),xt!==null){var nn=(0,Ie.Z)((0,Ie.Z)({},(0,ut.H8)(xt,rt.getTreeNodeRequiredProps())),{},{active:((Ae=rt.getActiveItem())===null||Ae===void 0?void 0:Ae.key)===xt,data:(0,jt.Z)(rt.state.keyEntities,xt).node}),Mn=Qe.indexOf(xt)!==-1;(0,ee.ZP)(!Mn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Zn=(0,An.yx)(hn),li={event:ct,node:(0,ut.F)(nn),dragNode:rt.dragNode?(0,ut.F)(rt.dragNode.props):null,dragNodesKeys:[rt.dragNode.props.eventKey].concat(Qe),dropToGap:Oe!==0,dropPosition:Oe+Number(Zn[Zn.length-1])};xe||wt==null||wt(li),rt.dragNode=null}}},rt.cleanDragState=function(){var ct=rt.state.draggingNodeKey;ct!==null&&rt.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),rt.dragStartMousePosition=null,rt.currentMouseOverDroppableNodeKey=null},rt.triggerExpandActionExpand=function(ct,Ge){var Ae=rt.state,xe=Ae.expandedKeys,je=Ae.flattenNodes,Qe=Ge.expanded,Oe=Ge.key,xt=Ge.isLeaf;if(!(xt||ct.shiftKey||ct.metaKey||ct.ctrlKey)){var hn=je.filter(function(wt){return wt.key===Oe})[0],Pn=(0,ut.F)((0,Ie.Z)((0,Ie.Z)({},(0,ut.H8)(Oe,rt.getTreeNodeRequiredProps())),{},{data:hn.data}));rt.setExpandedKeys(Qe?(0,An._5)(xe,Oe):(0,An.L0)(xe,Oe)),rt.onNodeExpand(ct,Pn)}},rt.onNodeClick=function(ct,Ge){var Ae=rt.props,xe=Ae.onClick,je=Ae.expandAction;je==="click"&&rt.triggerExpandActionExpand(ct,Ge),xe==null||xe(ct,Ge)},rt.onNodeDoubleClick=function(ct,Ge){var Ae=rt.props,xe=Ae.onDoubleClick,je=Ae.expandAction;je==="doubleClick"&&rt.triggerExpandActionExpand(ct,Ge),xe==null||xe(ct,Ge)},rt.onNodeSelect=function(ct,Ge){var Ae=rt.state.selectedKeys,xe=rt.state,je=xe.keyEntities,Qe=xe.fieldNames,Oe=rt.props,xt=Oe.onSelect,hn=Oe.multiple,Pn=Ge.selected,wt=Ge[Qe.key],nn=!Pn;nn?hn?Ae=(0,An.L0)(Ae,wt):Ae=[wt]:Ae=(0,An._5)(Ae,wt);var Mn=Ae.map(function(Zn){var li=(0,jt.Z)(je,Zn);return li?li.node:null}).filter(function(Zn){return Zn});rt.setUncontrolledState({selectedKeys:Ae}),xt==null||xt(Ae,{event:"select",selected:nn,node:Ge,selectedNodes:Mn,nativeEvent:ct.nativeEvent})},rt.onNodeCheck=function(ct,Ge,Ae){var xe=rt.state,je=xe.keyEntities,Qe=xe.checkedKeys,Oe=xe.halfCheckedKeys,xt=rt.props,hn=xt.checkStrictly,Pn=xt.onCheck,wt=Ge.key,nn,Mn={event:"check",node:Ge,checked:Ae,nativeEvent:ct.nativeEvent};if(hn){var Zn=Ae?(0,An.L0)(Qe,wt):(0,An._5)(Qe,wt),li=(0,An._5)(Oe,wt);nn={checked:Zn,halfChecked:li},Mn.checkedNodes=Zn.map(function(dr){return(0,jt.Z)(je,dr)}).filter(function(dr){return dr}).map(function(dr){return dr.node}),rt.setUncontrolledState({checkedKeys:Zn})}else{var xi=(0,Kn.S)([].concat((0,De.Z)(Qe),[wt]),!0,je),Mi=xi.checkedKeys,Si=xi.halfCheckedKeys;if(!Ae){var Ri=new Set(Mi);Ri.delete(wt);var lr=(0,Kn.S)(Array.from(Ri),{checked:!1,halfCheckedKeys:Si},je);Mi=lr.checkedKeys,Si=lr.halfCheckedKeys}nn=Mi,Mn.checkedNodes=[],Mn.checkedNodesPositions=[],Mn.halfCheckedKeys=Si,Mi.forEach(function(dr){var ur=(0,jt.Z)(je,dr);if(ur){var Sr=ur.node,Wr=ur.pos;Mn.checkedNodes.push(Sr),Mn.checkedNodesPositions.push({node:Sr,pos:Wr})}}),rt.setUncontrolledState({checkedKeys:Mi},!1,{halfCheckedKeys:Si})}Pn==null||Pn(nn,Mn)},rt.onNodeLoad=function(ct){var Ge=ct.key,Ae=new Promise(function(xe,je){rt.setState(function(Qe){var Oe=Qe.loadedKeys,xt=Oe===void 0?[]:Oe,hn=Qe.loadingKeys,Pn=hn===void 0?[]:hn,wt=rt.props,nn=wt.loadData,Mn=wt.onLoad;if(!nn||xt.indexOf(Ge)!==-1||Pn.indexOf(Ge)!==-1)return null;var Zn=nn(ct);return Zn.then(function(){var li=rt.state.loadedKeys,xi=(0,An.L0)(li,Ge);Mn==null||Mn(xi,{event:"load",node:ct}),rt.setUncontrolledState({loadedKeys:xi}),rt.setState(function(Mi){return{loadingKeys:(0,An._5)(Mi.loadingKeys,Ge)}}),xe()}).catch(function(li){if(rt.setState(function(Mi){return{loadingKeys:(0,An._5)(Mi.loadingKeys,Ge)}}),rt.loadingRetryTimes[Ge]=(rt.loadingRetryTimes[Ge]||0)+1,rt.loadingRetryTimes[Ge]>=Nn){var xi=rt.state.loadedKeys;(0,ee.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),rt.setUncontrolledState({loadedKeys:(0,An.L0)(xi,Ge)}),xe()}je(li)}),{loadingKeys:(0,An.L0)(Pn,Ge)}})});return Ae.catch(function(){}),Ae},rt.onNodeMouseEnter=function(ct,Ge){var Ae=rt.props.onMouseEnter;Ae==null||Ae({event:ct,node:Ge})},rt.onNodeMouseLeave=function(ct,Ge){var Ae=rt.props.onMouseLeave;Ae==null||Ae({event:ct,node:Ge})},rt.onNodeContextMenu=function(ct,Ge){var Ae=rt.props.onRightClick;Ae&&(ct.preventDefault(),Ae({event:ct,node:Ge}))},rt.onFocus=function(){var ct=rt.props.onFocus;rt.setState({focused:!0});for(var Ge=arguments.length,Ae=new Array(Ge),xe=0;xe1&&arguments[1]!==void 0?arguments[1]:!1,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!rt.destroyed){var xe=!1,je=!0,Qe={};Object.keys(ct).forEach(function(Oe){if(Oe in rt.props){je=!1;return}xe=!0,Qe[Oe]=ct[Oe]}),xe&&(!Ge||je)&&rt.setState((0,Ie.Z)((0,Ie.Z)({},Qe),Ae))}},rt.scrollTo=function(ct){rt.listRef.current.scrollTo(ct)},rt}return(0,Ee.Z)(St,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ft=this.props.activeKey;Ft!==void 0&&Ft!==this.state.activeKey&&(this.setState({activeKey:Ft}),Ft!==null&&this.scrollTo({key:Ft}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ft,Ot=this.state,ft=Ot.focused,ct=Ot.flattenNodes,Ge=Ot.keyEntities,Ae=Ot.draggingNodeKey,xe=Ot.activeKey,je=Ot.dropLevelOffset,Qe=Ot.dropContainerKey,Oe=Ot.dropTargetKey,xt=Ot.dropPosition,hn=Ot.dragOverNodeKey,Pn=Ot.indent,wt=this.props,nn=wt.prefixCls,Mn=wt.className,Zn=wt.style,li=wt.showLine,xi=wt.focusable,Mi=wt.tabIndex,Si=Mi===void 0?0:Mi,Ri=wt.selectable,lr=wt.showIcon,dr=wt.icon,ur=wt.switcherIcon,Sr=wt.draggable,Wr=wt.checkable,Gi=wt.checkStrictly,Zr=wt.disabled,Yi=wt.motion,Ue=wt.loadData,no=wt.filterTreeNode,pr=wt.height,fo=wt.itemHeight,Fo=wt.virtual,Vo=wt.titleRender,Io=wt.dropIndicatorRender,Oi=wt.onContextMenu,on=wt.onScroll,ln=wt.direction,qt=wt.rootClassName,Nt=wt.rootStyle,On=(0,ze.Z)(this.props,{aria:!0,data:!0}),Un;return Sr&&((0,we.Z)(Sr)==="object"?Un=Sr:typeof Sr=="function"?Un={nodeDraggable:Sr}:Un={}),ne.createElement(ge.k.Provider,{value:{prefixCls:nn,selectable:Ri,showIcon:lr,icon:dr,switcherIcon:ur,draggable:Un,draggingNodeKey:Ae,checkable:Wr,checkStrictly:Gi,disabled:Zr,keyEntities:Ge,dropLevelOffset:je,dropContainerKey:Qe,dropTargetKey:Oe,dropPosition:xt,dragOverNodeKey:hn,indent:Pn,direction:ln,dropIndicatorRender:Io,loadData:Ue,filterTreeNode:no,titleRender:Vo,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},ne.createElement("div",{role:"tree",className:ht()(nn,Mn,qt,(Ft={},(0,Ce.Z)(Ft,"".concat(nn,"-show-line"),li),(0,Ce.Z)(Ft,"".concat(nn,"-focused"),ft),(0,Ce.Z)(Ft,"".concat(nn,"-active-focused"),xe!==null),Ft)),style:Nt},ne.createElement(ei,(0,se.Z)({ref:this.listRef,prefixCls:nn,style:Zn,data:ct,disabled:Zr,selectable:Ri,checkable:!!Wr,motion:Yi,dragging:Ae!==null,height:pr,itemHeight:fo,virtual:Fo,focusable:xi,focused:ft,tabIndex:Si,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Oi,onScroll:on},this.getTreeNodeRequiredProps(),On))))}}],[{key:"getDerivedStateFromProps",value:function(Ft,Ot){var ft=Ot.prevProps,ct={prevProps:Ft};function Ge(xi){return!ft&&xi in Ft||ft&&ft[xi]!==Ft[xi]}var Ae,xe=Ot.fieldNames;if(Ge("fieldNames")&&(xe=(0,ut.w$)(Ft.fieldNames),ct.fieldNames=xe),Ge("treeData")?Ae=Ft.treeData:Ge("children")&&((0,ee.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ae=(0,ut.zn)(Ft.children)),Ae){ct.treeData=Ae;var je=(0,ut.I8)(Ae,{fieldNames:xe});ct.keyEntities=(0,Ie.Z)((0,Ce.Z)({},it,gt),je.keyEntities)}var Qe=ct.keyEntities||Ot.keyEntities;if(Ge("expandedKeys")||ft&&Ge("autoExpandParent"))ct.expandedKeys=Ft.autoExpandParent||!ft&&Ft.defaultExpandParent?(0,An.r7)(Ft.expandedKeys,Qe):Ft.expandedKeys;else if(!ft&&Ft.defaultExpandAll){var Oe=(0,Ie.Z)({},Qe);delete Oe[it],ct.expandedKeys=Object.keys(Oe).map(function(xi){return Oe[xi].key})}else!ft&&Ft.defaultExpandedKeys&&(ct.expandedKeys=Ft.autoExpandParent||Ft.defaultExpandParent?(0,An.r7)(Ft.defaultExpandedKeys,Qe):Ft.defaultExpandedKeys);if(ct.expandedKeys||delete ct.expandedKeys,Ae||ct.expandedKeys){var xt=(0,ut.oH)(Ae||Ot.treeData,ct.expandedKeys||Ot.expandedKeys,xe);ct.flattenNodes=xt}if(Ft.selectable&&(Ge("selectedKeys")?ct.selectedKeys=(0,An.BT)(Ft.selectedKeys,Ft):!ft&&Ft.defaultSelectedKeys&&(ct.selectedKeys=(0,An.BT)(Ft.defaultSelectedKeys,Ft))),Ft.checkable){var hn;if(Ge("checkedKeys")?hn=(0,An.E6)(Ft.checkedKeys)||{}:!ft&&Ft.defaultCheckedKeys?hn=(0,An.E6)(Ft.defaultCheckedKeys)||{}:Ae&&(hn=(0,An.E6)(Ft.checkedKeys)||{checkedKeys:Ot.checkedKeys,halfCheckedKeys:Ot.halfCheckedKeys}),hn){var Pn=hn,wt=Pn.checkedKeys,nn=wt===void 0?[]:wt,Mn=Pn.halfCheckedKeys,Zn=Mn===void 0?[]:Mn;if(!Ft.checkStrictly){var li=(0,Kn.S)(nn,!0,Qe);nn=li.checkedKeys,Zn=li.halfCheckedKeys}ct.checkedKeys=nn,ct.halfCheckedKeys=Zn}}return Ge("loadedKeys")&&(ct.loadedKeys=Ft.loadedKeys),ct}}]),St}(ne.Component);Gn.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:ue,allowDrop:function(){return!0},expandAction:!1},Gn.TreeNode=$e.Z;var ii=Gn,Sn=ii},35654:function(_e,be,oe){"use strict";oe.d(be,{BT:function(){return ne},E6:function(){return me},L0:function(){return Ye},OM:function(){return ee},_5:function(){return Je},r7:function(){return Se},wA:function(){return ht},yx:function(){return tt}});var se=oe(26390),Ce=oe(80665),we=oe(51395),Ie=oe(59301),De=oe(39417),Ke=oe(67841),Ee=oe(71430),et=null;function Je(Ne,ke){if(!Ne)return[];var Te=Ne.slice(),We=Te.indexOf(ke);return We>=0&&Te.splice(We,1),Te}function Ye(Ne,ke){var Te=(Ne||[]).slice();return Te.indexOf(ke)===-1&&Te.push(ke),Te}function tt(Ne){return Ne.split("-")}function ht(Ne,ke){var Te=[],We=(0,Ke.Z)(ke,Ne);function $e(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];st.forEach(function(ut){var Mt=ut.key,nt=ut.children;Te.push(Mt),$e(nt)})}return $e(We.children),Te}function kt(Ne){if(Ne.parent){var ke=tt(Ne.pos);return Number(ke[ke.length-1])===Ne.parent.children.length-1}return!1}function ze(Ne){var ke=tt(Ne.pos);return Number(ke[ke.length-1])===0}function ee(Ne,ke,Te,We,$e,st,ut,Mt,nt,$t){var Pt,dn=Ne.clientX,zt=Ne.clientY,Xt=Ne.target.getBoundingClientRect(),fn=Xt.top,an=Xt.height,it=($t==="rtl"?-1:1)*((($e==null?void 0:$e.x)||0)-dn),Ve=(it-12)/We,gt=(0,Ke.Z)(Mt,Te.props.eventKey);if(zt-1.5?st({dragNode:Nn,dropNode:Gn,dropPosition:1})?An=1:ii=!1:st({dragNode:Nn,dropNode:Gn,dropPosition:0})?An=0:st({dragNode:Nn,dropNode:Gn,dropPosition:1})?An=1:ii=!1:st({dragNode:Nn,dropNode:Gn,dropPosition:1})?An=1:ii=!1,{dropPosition:An,dropLevelOffset:Kn,dropTargetKey:gt.key,dropTargetPos:gt.pos,dragOverNodeKey:ei,dropContainerKey:An===0?null:((Pt=gt.parent)===null||Pt===void 0?void 0:Pt.key)||null,dropAllowed:ii}}function ne(Ne,ke){if(Ne){var Te=ke.multiple;return Te?Ne.slice():Ne.length?[Ne[0]]:Ne}}var ge=function(ke){return ke};function ue(Ne,ke){if(!Ne)return[];var Te=ke||{},We=Te.processProps,$e=We===void 0?ge:We,st=Array.isArray(Ne)?Ne:[Ne];return st.map(function(ut){var Mt=ut.children,nt=_objectWithoutProperties(ut,et),$t=ue(Mt,ke);return React.createElement(TreeNode,_extends({key:nt.key},$e(nt)),$t)})}function me(Ne){if(!Ne)return null;var ke;if(Array.isArray(Ne))ke={checkedKeys:Ne,halfCheckedKeys:void 0};else if((0,Ce.Z)(Ne)==="object")ke={checkedKeys:Ne.checked||void 0,halfCheckedKeys:Ne.halfChecked||void 0};else return(0,we.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ke}function Se(Ne,ke){var Te=new Set;function We($e){if(!Te.has($e)){var st=(0,Ke.Z)(ke,$e);if(st){Te.add($e);var ut=st.parent,Mt=st.node;Mt.disabled||ut&&We(ut.key)}}}return(Ne||[]).forEach(function($e){We($e)}),(0,se.Z)(Te)}},90782:function(_e,be,oe){"use strict";oe.d(be,{S:function(){return Ee}});var se=oe(51395),Ce=oe(67841);function we(et,Je){var Ye=new Set;return et.forEach(function(tt){Je.has(tt)||Ye.add(tt)}),Ye}function Ie(et){var Je=et||{},Ye=Je.disabled,tt=Je.disableCheckbox,ht=Je.checkable;return!!(Ye||tt)||ht===!1}function De(et,Je,Ye,tt){for(var ht=new Set(et),kt=new Set,ze=0;ze<=Ye;ze+=1){var ee=Je.get(ze)||new Set;ee.forEach(function(me){var Se=me.key,Ne=me.node,ke=me.children,Te=ke===void 0?[]:ke;ht.has(Se)&&!tt(Ne)&&Te.filter(function(We){return!tt(We.node)}).forEach(function(We){ht.add(We.key)})})}for(var ne=new Set,ge=Ye;ge>=0;ge-=1){var ue=Je.get(ge)||new Set;ue.forEach(function(me){var Se=me.parent,Ne=me.node;if(!(tt(Ne)||!me.parent||ne.has(me.parent.key))){if(tt(me.parent.node)){ne.add(Se.key);return}var ke=!0,Te=!1;(Se.children||[]).filter(function(We){return!tt(We.node)}).forEach(function(We){var $e=We.key,st=ht.has($e);ke&&!st&&(ke=!1),!Te&&(st||kt.has($e))&&(Te=!0)}),ke&&ht.add(Se.key),Te&&kt.add(Se.key),ne.add(Se.key)}})}return{checkedKeys:Array.from(ht),halfCheckedKeys:Array.from(we(kt,ht))}}function Ke(et,Je,Ye,tt,ht){for(var kt=new Set(et),ze=new Set(Je),ee=0;ee<=tt;ee+=1){var ne=Ye.get(ee)||new Set;ne.forEach(function(Se){var Ne=Se.key,ke=Se.node,Te=Se.children,We=Te===void 0?[]:Te;!kt.has(Ne)&&!ze.has(Ne)&&!ht(ke)&&We.filter(function($e){return!ht($e.node)}).forEach(function($e){kt.delete($e.key)})})}ze=new Set;for(var ge=new Set,ue=tt;ue>=0;ue-=1){var me=Ye.get(ue)||new Set;me.forEach(function(Se){var Ne=Se.parent,ke=Se.node;if(!(ht(ke)||!Se.parent||ge.has(Se.parent.key))){if(ht(Se.parent.node)){ge.add(Ne.key);return}var Te=!0,We=!1;(Ne.children||[]).filter(function($e){return!ht($e.node)}).forEach(function($e){var st=$e.key,ut=kt.has(st);Te&&!ut&&(Te=!1),!We&&(ut||ze.has(st))&&(We=!0)}),Te||kt.delete(Ne.key),We&&ze.add(Ne.key),ge.add(Ne.key)}})}return{checkedKeys:Array.from(kt),halfCheckedKeys:Array.from(we(ze,kt))}}function Ee(et,Je,Ye,tt){var ht=[],kt;tt?kt=tt:kt=Ie;var ze=new Set(et.filter(function(ue){var me=!!(0,Ce.Z)(Ye,ue);return me||ht.push(ue),me})),ee=new Map,ne=0;Object.keys(Ye).forEach(function(ue){var me=Ye[ue],Se=me.level,Ne=ee.get(Se);Ne||(Ne=new Set,ee.set(Se,Ne)),Ne.add(me),ne=Math.max(ne,Se)}),(0,se.ZP)(!ht.length,"Tree missing follow keys: ".concat(ht.slice(0,100).map(function(ue){return"'".concat(ue,"'")}).join(", ")));var ge;return Je===!0?ge=De(ze,ee,ne,kt):ge=Ke(ze,Je.halfCheckedKeys,ee,ne,kt),ge}},67841:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return se}});function se(Ce,we){return Ce[we]}},71430:function(_e,be,oe){"use strict";oe.d(be,{F:function(){return Se},H8:function(){return me},I8:function(){return ue},km:function(){return ht},oH:function(){return ne},w$:function(){return kt},zn:function(){return ee}});var se=oe(80665),Ce=oe(26390),we=oe(57259),Ie=oe(19149),De=oe(38298),Ke=oe(64002),Ee=oe(51395),et=oe(67841),Je=["children"];function Ye(Ne,ke){return"".concat(Ne,"-").concat(ke)}function tt(Ne){return Ne&&Ne.type&&Ne.type.isTreeNode}function ht(Ne,ke){return Ne!=null?Ne:ke}function kt(Ne){var ke=Ne||{},Te=ke.title,We=ke._title,$e=ke.key,st=ke.children,ut=Te||"title";return{title:ut,_title:We||[ut],key:$e||"key",children:st||"children"}}function ze(Ne,ke){var Te=new Map;function We($e){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";($e||[]).forEach(function(ut){var Mt=ut[ke.key],nt=ut[ke.children];warning(Mt!=null,"Tree node must have a certain key: [".concat(st).concat(Mt,"]"));var $t=String(Mt);warning(!Te.has($t)||Mt===null||Mt===void 0,"Same 'key' exist in the Tree: ".concat($t)),Te.set($t,!0),We(nt,"".concat(st).concat($t," > "))})}We(Ne)}function ee(Ne){function ke(Te){var We=(0,De.Z)(Te);return We.map(function($e){if(!tt($e))return(0,Ee.ZP)(!$e,"Tree/TreeNode can only accept TreeNode as children."),null;var st=$e.key,ut=$e.props,Mt=ut.children,nt=(0,Ie.Z)(ut,Je),$t=(0,we.Z)({key:st},nt),Pt=ke(Mt);return Pt.length&&($t.children=Pt),$t}).filter(function($e){return $e})}return ke(Ne)}function ne(Ne,ke,Te){var We=kt(Te),$e=We._title,st=We.key,ut=We.children,Mt=new Set(ke===!0?[]:ke),nt=[];function $t(Pt){var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Pt.map(function(zt,Xt){for(var fn=Ye(dn?dn.pos:"0",Xt),an=ht(zt[st],fn),it,Ve=0;Ve<$e.length;Ve+=1){var gt=$e[Ve];if(zt[gt]!==void 0){it=zt[gt];break}}var Bt=(0,we.Z)((0,we.Z)({},(0,Ke.Z)(zt,[].concat((0,Ce.Z)($e),[st,ut]))),{},{title:it,key:an,parent:dn,pos:fn,children:null,data:zt,isStart:[].concat((0,Ce.Z)(dn?dn.isStart:[]),[Xt===0]),isEnd:[].concat((0,Ce.Z)(dn?dn.isEnd:[]),[Xt===Pt.length-1])});return nt.push(Bt),ke===!0||Mt.has(an)?Bt.children=$t(zt[ut]||[],Bt):Bt.children=[],Bt})}return $t(Ne),nt}function ge(Ne,ke,Te){var We={};(0,se.Z)(Te)==="object"?We=Te:We={externalGetKey:Te},We=We||{};var $e=We,st=$e.childrenPropName,ut=$e.externalGetKey,Mt=$e.fieldNames,nt=kt(Mt),$t=nt.key,Pt=nt.children,dn=st||Pt,zt;ut?typeof ut=="string"?zt=function(an){return an[ut]}:typeof ut=="function"&&(zt=function(an){return ut(an)}):zt=function(an,it){return ht(an[$t],it)};function Xt(fn,an,it,Ve){var gt=fn?fn[dn]:Ne,Bt=fn?Ye(it.pos,an):"0",sn=fn?[].concat((0,Ce.Z)(Ve),[fn]):[];if(fn){var It=zt(fn,Bt),en={node:fn,index:an,pos:Bt,key:It,parentPos:it.node?it.pos:null,level:it.level+1,nodes:sn};ke(en)}gt&>.forEach(function(En,ei){Xt(En,ei,{node:fn,pos:Bt,level:it?it.level+1:-1},sn)})}Xt(null)}function ue(Ne){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Te=ke.initWrapper,We=ke.processEntity,$e=ke.onProcessFinished,st=ke.externalGetKey,ut=ke.childrenPropName,Mt=ke.fieldNames,nt=arguments.length>2?arguments[2]:void 0,$t=st||nt,Pt={},dn={},zt={posEntities:Pt,keyEntities:dn};return Te&&(zt=Te(zt)||zt),ge(Ne,function(Xt){var fn=Xt.node,an=Xt.index,it=Xt.pos,Ve=Xt.key,gt=Xt.parentPos,Bt=Xt.level,sn=Xt.nodes,It={node:fn,nodes:sn,index:an,key:Ve,pos:it,level:Bt},en=ht(Ve,it);Pt[it]=It,dn[en]=It,It.parent=Pt[gt],It.parent&&(It.parent.children=It.parent.children||[],It.parent.children.push(It)),We&&We(It,zt)},{externalGetKey:$t,childrenPropName:ut,fieldNames:Mt}),$e&&$e(zt),zt}function me(Ne,ke){var Te=ke.expandedKeys,We=ke.selectedKeys,$e=ke.loadedKeys,st=ke.loadingKeys,ut=ke.checkedKeys,Mt=ke.halfCheckedKeys,nt=ke.dragOverNodeKey,$t=ke.dropPosition,Pt=ke.keyEntities,dn=(0,et.Z)(Pt,Ne),zt={eventKey:Ne,expanded:Te.indexOf(Ne)!==-1,selected:We.indexOf(Ne)!==-1,loaded:$e.indexOf(Ne)!==-1,loading:st.indexOf(Ne)!==-1,checked:ut.indexOf(Ne)!==-1,halfChecked:Mt.indexOf(Ne)!==-1,pos:String(dn?dn.pos:""),dragOver:nt===Ne&&$t===0,dragOverGapTop:nt===Ne&&$t===-1,dragOverGapBottom:nt===Ne&&$t===1};return zt}function Se(Ne){var ke=Ne.data,Te=Ne.expanded,We=Ne.selected,$e=Ne.checked,st=Ne.loaded,ut=Ne.loading,Mt=Ne.halfChecked,nt=Ne.dragOver,$t=Ne.dragOverGapTop,Pt=Ne.dragOverGapBottom,dn=Ne.pos,zt=Ne.active,Xt=Ne.eventKey,fn=(0,we.Z)((0,we.Z)({},ke),{},{expanded:Te,selected:We,checked:$e,loaded:st,loading:ut,halfChecked:Mt,dragOver:nt,dragOverGapTop:$t,dragOverGapBottom:Pt,pos:dn,active:zt,key:Xt});return"props"in fn||Object.defineProperty(fn,"props",{get:function(){return(0,Ee.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Ne}}),fn}},8178:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ce}});var se=oe(4676);function Ce(we,Ie,De,Ke){var Ee=se.unstable_batchedUpdates?function(Je){se.unstable_batchedUpdates(De,Je)}:De;return we!=null&&we.addEventListener&&we.addEventListener(Ie,Ee,Ke),{remove:function(){we!=null&&we.removeEventListener&&we.removeEventListener(Ie,Ee,Ke)}}}},21783:function(_e,be,oe){"use strict";oe.d(be,{g1:function(){return tt},os:function(){return kt}});var se=/margin|padding|width|height|max|min|offset/,Ce={left:!0,top:!0},we={cssFloat:1,styleFloat:1,float:1};function Ie(ze){return ze.nodeType===1?ze.ownerDocument.defaultView.getComputedStyle(ze,null):{}}function De(ze,ee,ne){if(ee=ee.toLowerCase(),ne==="auto"){if(ee==="height")return ze.offsetHeight;if(ee==="width")return ze.offsetWidth}return ee in Ce||(Ce[ee]=se.test(ee)),Ce[ee]?parseFloat(ne)||0:ne}function Ke(ze,ee){var ne=arguments.length,ge=Ie(ze);return ee=we[ee]?"cssFloat"in ze.style?"cssFloat":"styleFloat":ee,ne===1?ge:De(ze,ee,ge[ee]||ze.style[ee])}function Ee(ze,ee,ne){var ge=arguments.length;if(ee=we[ee]?"cssFloat"in ze.style?"cssFloat":"styleFloat":ee,ge===3)return typeof ne=="number"&&se.test(ee)&&(ne="".concat(ne,"px")),ze.style[ee]=ne,ne;for(var ue in ee)ee.hasOwnProperty(ue)&&Ee(ze,ue,ee[ue]);return Ie(ze)}function et(ze){return ze===document.body?document.documentElement.clientWidth:ze.offsetWidth}function Je(ze){return ze===document.body?window.innerHeight||document.documentElement.clientHeight:ze.offsetHeight}function Ye(){var ze=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ee=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ze,height:ee}}function tt(){var ze=document.documentElement.clientWidth,ee=window.innerHeight||document.documentElement.clientHeight;return{width:ze,height:ee}}function ht(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function kt(ze){var ee=ze.getBoundingClientRect(),ne=document.documentElement;return{left:ee.left+(window.pageXOffset||ne.scrollLeft)-(ne.clientLeft||document.body.clientLeft||0),top:ee.top+(window.pageYOffset||ne.scrollTop)-(ne.clientTop||document.body.clientTop||0)}}},24387:function(_e,be,oe){"use strict";oe.d(be,{G:function(){return Ie}});var se=oe(87746),Ce=function(Ke){if((0,se.Z)()&&window.document.documentElement){var Ee=Array.isArray(Ke)?Ke:[Ke],et=window.document.documentElement;return Ee.some(function(Je){return Je in et.style})}return!1},we=function(Ke,Ee){if(!Ce(Ke))return!1;var et=document.createElement("div"),Je=et.style[Ke];return et.style[Ke]=Ee,et.style[Ke]!==Je};function Ie(De,Ke){return!Array.isArray(De)&&Ke!==void 0?we(De,Ke):Ce(De)}},21881:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ii}});var se=oe(5891),Ce=oe(80665),we=oe(57259),Ie=oe(80962),De=oe(29043),Ke=oe(19149),Ee=oe(92310),et=oe.n(Ee),Je=oe(29301),Ye=oe(80764),tt=oe(28800),ht=oe(59301),kt=oe(4676),ze=ht.forwardRef(function(Sn,Yt){var Zt=Sn.height,St=Sn.offsetY,rt=Sn.offsetX,Ft=Sn.children,Ot=Sn.prefixCls,ft=Sn.onInnerResize,ct=Sn.innerProps,Ge=Sn.rtl,Ae=Sn.extra,xe={},je={display:"flex",flexDirection:"column"};return St!==void 0&&(xe={height:Zt,position:"relative",overflow:"hidden"},je=(0,we.Z)((0,we.Z)({},je),{},(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({transform:"translateY(".concat(St,"px)")},Ge?"marginRight":"marginLeft",-rt),"position","absolute"),"left",0),"right",0),"top",0))),ht.createElement("div",{style:xe},ht.createElement(Je.Z,{onResize:function(Oe){var xt=Oe.offsetHeight;xt&&ft&&ft()}},ht.createElement("div",(0,se.Z)({style:je,className:et()((0,Ie.Z)({},"".concat(Ot,"-holder-inner"),Ot)),ref:Yt},ct),Ft,Ae)))});ze.displayName="Filler";var ee=ze;function ne(Sn){var Yt=Sn.children,Zt=Sn.setRef,St=ht.useCallback(function(rt){Zt(rt)},[]);return ht.cloneElement(Yt,{ref:St})}function ge(Sn,Yt,Zt,St,rt,Ft,Ot,ft){var ct=ft.getKey;return Sn.slice(Yt,Zt+1).map(function(Ge,Ae){var xe=Yt+Ae,je=Ot(Ge,xe,{style:{width:St},offsetX:rt}),Qe=ct(Ge);return ht.createElement(ne,{key:Qe,setRef:function(xt){return Ft(Ge,xt)}},je)})}function ue(Sn,Yt,Zt,St){var rt=Zt-Sn,Ft=Yt-Zt,Ot=Math.min(rt,Ft)*2;if(St<=Ot){var ft=Math.floor(St/2);return St%2?Zt+ft+1:Zt-ft}return rt>Ft?Zt-(St-Ft):Zt+(St-rt)}function me(Sn,Yt,Zt){var St=Sn.length,rt=Yt.length,Ft,Ot;if(St===0&&rt===0)return null;St2&&arguments[2]!==void 0?arguments[2]:!1,xe=ct?Ge<0&&ft.current.left||Ge>0&&ft.current.right:Ge<0&&ft.current.top||Ge>0&&ft.current.bottom;return Ae&&xe?(clearTimeout(Ft.current),rt.current=!1):(!xe||rt.current)&&Ot(),!rt.current&&xe}};function $e(Sn,Yt,Zt,St,rt,Ft,Ot){var ft=(0,ht.useRef)(0),ct=(0,ht.useRef)(null),Ge=(0,ht.useRef)(null),Ae=(0,ht.useRef)(!1),xe=We(Yt,Zt,St,rt);function je(wt,nn){if(Ne.Z.cancel(ct.current),!xe(!1,nn)){var Mn=wt;if(!Mn._virtualHandled)Mn._virtualHandled=!0;else return;ft.current+=nn,Ge.current=nn,Te||Mn.preventDefault(),ct.current=(0,Ne.Z)(function(){var Zn=Ae.current?10:1;Ot(ft.current*Zn,!1),ft.current=0})}}function Qe(wt,nn){Ot(nn,!0),Te||wt.preventDefault()}var Oe=(0,ht.useRef)(null),xt=(0,ht.useRef)(null);function hn(wt){if(Sn){Ne.Z.cancel(xt.current),xt.current=(0,Ne.Z)(function(){Oe.current=null},2);var nn=wt.deltaX,Mn=wt.deltaY,Zn=wt.shiftKey,li=nn,xi=Mn;(Oe.current==="sx"||!Oe.current&&Zn&&Mn&&!nn)&&(li=Mn,xi=0,Oe.current="sx");var Mi=Math.abs(li),Si=Math.abs(xi);Oe.current===null&&(Oe.current=Ft&&Mi>Si?"x":"y"),Oe.current==="y"?je(wt,xi):Qe(wt,li)}}function Pn(wt){Sn&&(Ae.current=wt.detail===Ge.current)}return[hn,Pn]}function st(Sn,Yt,Zt,St){var rt=ht.useMemo(function(){return[new Map,[]]},[Sn,Zt.id,St]),Ft=(0,De.Z)(rt,2),Ot=Ft[0],ft=Ft[1],ct=function(Ae){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ae,je=Ot.get(Ae),Qe=Ot.get(xe);if(je===void 0||Qe===void 0)for(var Oe=Sn.length,xt=ft.length;xt0&&arguments[0]!==void 0?arguments[0]:!1;Ae();var Oe=function(){var Pn=!1;ft.current.forEach(function(wt,nn){if(wt&&wt.offsetParent){var Mn=(0,ut.ZP)(wt),Zn=Mn.offsetHeight,li=getComputedStyle(Mn),xi=li.marginTop,Mi=li.marginBottom,Si=dn(xi),Ri=dn(Mi),lr=Zn+Si+Ri;ct.current.get(nn)!==lr&&(ct.current.set(nn,lr),Pn=!0)}}),Pn&&Ot(function(wt){return wt+1})};if(Qe)Oe();else{Ge.current+=1;var xt=Ge.current;Promise.resolve().then(function(){xt===Ge.current&&Oe()})}}function je(Qe,Oe){var xt=Sn(Qe),hn=ft.current.get(xt);Oe?(ft.current.set(xt,Oe),xe()):ft.current.delete(xt),!hn!=!Oe&&(Oe?Yt==null||Yt(Qe):Zt==null||Zt(Qe))}return(0,ht.useEffect)(function(){return Ae},[]),[je,xe,ct.current,Ft]}var Xt=14/15;function fn(Sn,Yt,Zt){var St=(0,ht.useRef)(!1),rt=(0,ht.useRef)(0),Ft=(0,ht.useRef)(0),Ot=(0,ht.useRef)(null),ft=(0,ht.useRef)(null),ct,Ge=function(Qe){if(St.current){var Oe=Math.ceil(Qe.touches[0].pageX),xt=Math.ceil(Qe.touches[0].pageY),hn=rt.current-Oe,Pn=Ft.current-xt,wt=Math.abs(hn)>Math.abs(Pn);wt?rt.current=Oe:Ft.current=xt;var nn=Zt(wt,wt?hn:Pn,!1,Qe);nn&&Qe.preventDefault(),clearInterval(ft.current),nn&&(ft.current=setInterval(function(){wt?hn*=Xt:Pn*=Xt;var Mn=Math.floor(wt?hn:Pn);(!Zt(wt,Mn,!0)||Math.abs(Mn)<=.1)&&clearInterval(ft.current)},16))}},Ae=function(){St.current=!1,ct()},xe=function(Qe){ct(),Qe.touches.length===1&&!St.current&&(St.current=!0,rt.current=Math.ceil(Qe.touches[0].pageX),Ft.current=Math.ceil(Qe.touches[0].pageY),Ot.current=Qe.target,Ot.current.addEventListener("touchmove",Ge,{passive:!1}),Ot.current.addEventListener("touchend",Ae,{passive:!0}))};ct=function(){Ot.current&&(Ot.current.removeEventListener("touchmove",Ge),Ot.current.removeEventListener("touchend",Ae))},(0,tt.Z)(function(){return Sn&&Yt.current.addEventListener("touchstart",xe,{passive:!0}),function(){var je;(je=Yt.current)===null||je===void 0||je.removeEventListener("touchstart",xe),ct(),clearInterval(ft.current)}},[Sn])}function an(Sn){return Math.floor(Math.pow(Sn,.5))}function it(Sn,Yt){var Zt="touches"in Sn?Sn.touches[0]:Sn;return Zt[Yt?"pageX":"pageY"]-window[Yt?"scrollX":"scrollY"]}function Ve(Sn,Yt,Zt){ht.useEffect(function(){var St=Yt.current;if(Sn&&St){var rt=!1,Ft,Ot,ft=function(){Ne.Z.cancel(Ft)},ct=function je(){ft(),Ft=(0,Ne.Z)(function(){Zt(Ot),je()})},Ge=function(Qe){var Oe=Qe;Oe._virtualHandled||(Oe._virtualHandled=!0,rt=!0)},Ae=function(){rt=!1,ft()},xe=function(Qe){if(rt){var Oe=it(Qe,!1),xt=St.getBoundingClientRect(),hn=xt.top,Pn=xt.bottom;if(Oe<=hn){var wt=hn-Oe;Ot=-an(wt),ct()}else if(Oe>=Pn){var nn=Oe-Pn;Ot=an(nn),ct()}else ft()}};return St.addEventListener("mousedown",Ge),St.ownerDocument.addEventListener("mouseup",Ae),St.ownerDocument.addEventListener("mousemove",xe),function(){St.removeEventListener("mousedown",Ge),St.ownerDocument.removeEventListener("mouseup",Ae),St.ownerDocument.removeEventListener("mousemove",xe),ft()}}},[Sn])}var gt=10;function Bt(Sn,Yt,Zt,St,rt,Ft,Ot,ft){var ct=ht.useRef(),Ge=ht.useState(null),Ae=(0,De.Z)(Ge,2),xe=Ae[0],je=Ae[1];return(0,tt.Z)(function(){if(xe&&xe.times=0;Sr-=1){var Wr=rt(Yt[Sr]),Gi=Zt.get(Wr);if(Gi===void 0){wt=!0;break}if(ur-=Gi,ur<=0)break}switch(Zn){case"top":Mn=xi-hn;break;case"bottom":Mn=Mi-Pn+hn;break;default:{var Zr=Sn.current.scrollTop,Yi=Zr+Pn;xiYi&&(nn="bottom")}}Mn!==null&&Ot(Mn),Mn!==xe.lastTop&&(wt=!0)}wt&&je((0,we.Z)((0,we.Z)({},xe),{},{times:xe.times+1,targetAlign:nn,lastTop:Mn}))}},[xe,Sn.current]),function(Qe){if(Qe==null){ft();return}if(Ne.Z.cancel(ct.current),typeof Qe=="number")Ot(Qe);else if(Qe&&(0,Ce.Z)(Qe)==="object"){var Oe,xt=Qe.align;"index"in Qe?Oe=Qe.index:Oe=Yt.findIndex(function(wt){return rt(wt)===Qe.key});var hn=Qe.offset,Pn=hn===void 0?0:hn;je({times:0,index:Oe,offset:Pn,originAlign:xt})}}}var sn=ht.forwardRef(function(Sn,Yt){var Zt=Sn.prefixCls,St=Sn.rtl,rt=Sn.scrollOffset,Ft=Sn.scrollRange,Ot=Sn.onStartMove,ft=Sn.onStopMove,ct=Sn.onScroll,Ge=Sn.horizontal,Ae=Sn.spinSize,xe=Sn.containerSize,je=Sn.style,Qe=Sn.thumbStyle,Oe=ht.useState(!1),xt=(0,De.Z)(Oe,2),hn=xt[0],Pn=xt[1],wt=ht.useState(null),nn=(0,De.Z)(wt,2),Mn=nn[0],Zn=nn[1],li=ht.useState(null),xi=(0,De.Z)(li,2),Mi=xi[0],Si=xi[1],Ri=!St,lr=ht.useRef(),dr=ht.useRef(),ur=ht.useState(!1),Sr=(0,De.Z)(ur,2),Wr=Sr[0],Gi=Sr[1],Zr=ht.useRef(),Yi=function(){clearTimeout(Zr.current),Gi(!0),Zr.current=setTimeout(function(){Gi(!1)},3e3)},Ue=Ft-xe||0,no=xe-Ae||0,pr=ht.useMemo(function(){if(rt===0||Ue===0)return 0;var Nt=rt/Ue;return Nt*no},[rt,Ue,no]),fo=function(On){On.stopPropagation(),On.preventDefault()},Fo=ht.useRef({top:pr,dragging:hn,pageY:Mn,startTop:Mi});Fo.current={top:pr,dragging:hn,pageY:Mn,startTop:Mi};var Vo=function(On){Pn(!0),Zn(it(On,Ge)),Si(Fo.current.top),Ot(),On.stopPropagation(),On.preventDefault()};ht.useEffect(function(){var Nt=function(yt){yt.preventDefault()},On=lr.current,Un=dr.current;return On.addEventListener("touchstart",Nt,{passive:!1}),Un.addEventListener("touchstart",Vo,{passive:!1}),function(){On.removeEventListener("touchstart",Nt),Un.removeEventListener("touchstart",Vo)}},[]);var Io=ht.useRef();Io.current=Ue;var Oi=ht.useRef();Oi.current=no,ht.useEffect(function(){if(hn){var Nt,On=function(yt){var In=Fo.current,zn=In.dragging,mi=In.pageY,Rn=In.startTop;Ne.Z.cancel(Nt);var bt=lr.current.getBoundingClientRect(),Ut=xe/(Ge?bt.width:bt.height);if(zn){var Ln=(it(yt,Ge)-mi)*Ut,ni=Rn;!Ri&&Ge?ni-=Ln:ni+=Ln;var _t=Io.current,yn=Oi.current,Qt=yn?ni/yn:0,un=Math.ceil(Qt*_t);un=Math.max(un,0),un=Math.min(un,_t),Nt=(0,Ne.Z)(function(){ct(un,Ge)})}},Un=function(){Pn(!1),ft()};return window.addEventListener("mousemove",On,{passive:!0}),window.addEventListener("touchmove",On,{passive:!0}),window.addEventListener("mouseup",Un,{passive:!0}),window.addEventListener("touchend",Un,{passive:!0}),function(){window.removeEventListener("mousemove",On),window.removeEventListener("touchmove",On),window.removeEventListener("mouseup",Un),window.removeEventListener("touchend",Un),Ne.Z.cancel(Nt)}}},[hn]),ht.useEffect(function(){return Yi(),function(){clearTimeout(Zr.current)}},[rt]),ht.useImperativeHandle(Yt,function(){return{delayHidden:Yi}});var on="".concat(Zt,"-scrollbar"),ln={position:"absolute",visibility:Wr?null:"hidden"},qt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return Ge?(ln.height=8,ln.left=0,ln.right=0,ln.bottom=0,qt.height="100%",qt.width=Ae,Ri?qt.left=pr:qt.right=pr):(ln.width=8,ln.top=0,ln.bottom=0,Ri?ln.right=0:ln.left=0,qt.width="100%",qt.height=Ae,qt.top=pr),ht.createElement("div",{ref:lr,className:et()(on,(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({},"".concat(on,"-horizontal"),Ge),"".concat(on,"-vertical"),!Ge),"".concat(on,"-visible"),Wr)),style:(0,we.Z)((0,we.Z)({},ln),je),onMouseDown:fo,onMouseMove:Yi},ht.createElement("div",{ref:dr,className:et()("".concat(on,"-thumb"),(0,Ie.Z)({},"".concat(on,"-thumb-moving"),hn)),style:(0,we.Z)((0,we.Z)({},qt),Qe),onMouseDown:Vo}))}),It=sn,en=20;function En(){var Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Zt=Sn/Yt*Sn;return isNaN(Zt)&&(Zt=0),Zt=Math.max(Zt,en),Math.floor(Zt)}var ei=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],An=[],Kn={overflowY:"auto",overflowAnchor:"none"};function jt(Sn,Yt){var Zt=Sn.prefixCls,St=Zt===void 0?"rc-virtual-list":Zt,rt=Sn.className,Ft=Sn.height,Ot=Sn.itemHeight,ft=Sn.fullHeight,ct=ft===void 0?!0:ft,Ge=Sn.style,Ae=Sn.data,xe=Sn.children,je=Sn.itemKey,Qe=Sn.virtual,Oe=Sn.direction,xt=Sn.scrollWidth,hn=Sn.component,Pn=hn===void 0?"div":hn,wt=Sn.onScroll,nn=Sn.onVirtualScroll,Mn=Sn.onVisibleChange,Zn=Sn.innerProps,li=Sn.extraRender,xi=Sn.styles,Mi=(0,Ke.Z)(Sn,ei),Si=ht.useCallback(function(Mr){return typeof je=="function"?je(Mr):Mr==null?void 0:Mr[je]},[je]),Ri=zt(Si,null,null),lr=(0,De.Z)(Ri,4),dr=lr[0],ur=lr[1],Sr=lr[2],Wr=lr[3],Gi=!!(Qe!==!1&&Ft&&Ot),Zr=ht.useMemo(function(){return Object.values(Sr.maps).reduce(function(Mr,mr){return Mr+mr},0)},[Sr.id,Sr.maps]),Yi=Gi&&Ae&&(Math.max(Ot*Ae.length,Zr)>Ft||!!xt),Ue=Oe==="rtl",no=et()(St,(0,Ie.Z)({},"".concat(St,"-rtl"),Ue),rt),pr=Ae||An,fo=(0,ht.useRef)(),Fo=(0,ht.useRef)(),Vo=(0,ht.useRef)(),Io=(0,ht.useState)(0),Oi=(0,De.Z)(Io,2),on=Oi[0],ln=Oi[1],qt=(0,ht.useState)(0),Nt=(0,De.Z)(qt,2),On=Nt[0],Un=Nt[1],Vt=(0,ht.useState)(!1),yt=(0,De.Z)(Vt,2),In=yt[0],zn=yt[1],mi=function(){zn(!0)},Rn=function(){zn(!1)},bt={getKey:Si};function Ut(Mr){ln(function(mr){var co;typeof Mr=="function"?co=Mr(mr):co=Mr;var Uo=hr(co);return fo.current.scrollTop=Uo,Uo})}var Ln=(0,ht.useRef)({start:0,end:pr.length}),ni=(0,ht.useRef)(),_t=Se(pr,Si),yn=(0,De.Z)(_t,1),Qt=yn[0];ni.current=Qt;var un=ht.useMemo(function(){if(!Gi)return{scrollHeight:void 0,start:0,end:pr.length-1,offset:void 0};if(!Yi){var Mr;return{scrollHeight:((Mr=Fo.current)===null||Mr===void 0?void 0:Mr.offsetHeight)||0,start:0,end:pr.length-1,offset:void 0}}for(var mr=0,co,Uo,ao,ra=pr.length,gr=0;gr=on&&co===void 0&&(co=gr,Uo=mr),bo>on+Ft&&ao===void 0&&(ao=gr),mr=bo}return co===void 0&&(co=0,Uo=0,ao=Math.ceil(Ft/Ot)),ao===void 0&&(ao=pr.length-1),ao=Math.min(ao+1,pr.length-1),{scrollHeight:mr,start:co,end:ao,offset:Uo}},[Yi,Gi,on,pr,Wr,Ft]),wn=un.scrollHeight,gn=un.start,kn=un.end,Bn=un.offset;Ln.current.start=gn,Ln.current.end=kn,ht.useLayoutEffect(function(){var Mr=Sr.getRecord();if(Mr.size===1){var mr=Array.from(Mr)[0],co=Si(pr[gn]);if(co===mr){var Uo=Sr.get(mr),ao=Uo-Ot;Ut(function(ra){return ra+ao})}}Sr.resetRecord()},[wn]);var Vn=ht.useState({width:0,height:Ft}),Jn=(0,De.Z)(Vn,2),Wn=Jn[0],gi=Jn[1],Fi=function(mr){gi({width:mr.offsetWidth,height:mr.offsetHeight})},ir=(0,ht.useRef)(),zi=(0,ht.useRef)(),tn=ht.useMemo(function(){return En(Wn.width,xt)},[Wn.width,xt]),Ai=ht.useMemo(function(){return En(Wn.height,wn)},[Wn.height,wn]),Bi=wn-Ft,Ti=(0,ht.useRef)(Bi);Ti.current=Bi;function hr(Mr){var mr=Mr;return Number.isNaN(Ti.current)||(mr=Math.min(mr,Ti.current)),mr=Math.max(mr,0),mr}var tr=on<=0,br=on>=Bi,Xi=On<=0,Hi=On>=xt,Ir=We(tr,br,Xi,Hi),Gt=function(){return{x:Ue?-On:On,y:on}},Kr=(0,ht.useRef)(Gt()),Fn=(0,Ye.useEvent)(function(Mr){if(nn){var mr=(0,we.Z)((0,we.Z)({},Gt()),Mr);(Kr.current.x!==mr.x||Kr.current.y!==mr.y)&&(nn(mr),Kr.current=mr)}});function kr(Mr,mr){var co=Mr;mr?((0,kt.flushSync)(function(){Un(co)}),Fn()):Ut(co)}function Go(Mr){var mr=Mr.currentTarget.scrollTop;mr!==on&&Ut(mr),wt==null||wt(Mr),Fn()}var Dr=function(mr){var co=mr,Uo=xt?xt-Wn.width:0;return co=Math.max(co,0),co=Math.min(co,Uo),co},po=(0,Ye.useEvent)(function(Mr,mr){mr?((0,kt.flushSync)(function(){Un(function(co){var Uo=co+(Ue?-Mr:Mr);return Dr(Uo)})}),Fn()):Ut(function(co){var Uo=co+Mr;return Uo})}),Do=$e(Gi,tr,br,Xi,Hi,!!xt,po),Ji=(0,De.Z)(Do,2),or=Ji[0],io=Ji[1];fn(Gi,fo,function(Mr,mr,co,Uo){var ao=Uo;return Ir(Mr,mr,co)?!1:!ao||!ao._virtualHandled?(ao&&(ao._virtualHandled=!0),or({preventDefault:function(){},deltaX:Mr?mr:0,deltaY:Mr?0:mr}),!0):!1}),Ve(Yi,fo,function(Mr){Ut(function(mr){return mr+Mr})}),(0,tt.Z)(function(){function Mr(co){var Uo=tr&&co.detail<0,ao=br&&co.detail>0;Gi&&!Uo&&!ao&&co.preventDefault()}var mr=fo.current;return mr.addEventListener("wheel",or,{passive:!1}),mr.addEventListener("DOMMouseScroll",io,{passive:!0}),mr.addEventListener("MozMousePixelScroll",Mr,{passive:!1}),function(){mr.removeEventListener("wheel",or),mr.removeEventListener("DOMMouseScroll",io),mr.removeEventListener("MozMousePixelScroll",Mr)}},[Gi,tr,br]),(0,tt.Z)(function(){if(xt){var Mr=Dr(On);Un(Mr),Fn({x:Mr})}},[Wn.width,xt]);var _r=function(){var mr,co;(mr=ir.current)===null||mr===void 0||mr.delayHidden(),(co=zi.current)===null||co===void 0||co.delayHidden()},Ii=Bt(fo,pr,Sr,Ot,Si,function(){return ur(!0)},Ut,_r);ht.useImperativeHandle(Yt,function(){return{nativeElement:Vo.current,getScrollInfo:Gt,scrollTo:function(mr){function co(Uo){return Uo&&(0,Ce.Z)(Uo)==="object"&&("left"in Uo||"top"in Uo)}co(mr)?(mr.left!==void 0&&Un(Dr(mr.left)),Ii(mr.top)):Ii(mr)}}}),(0,tt.Z)(function(){if(Mn){var Mr=pr.slice(gn,kn+1);Mn(Mr,pr)}},[gn,kn,pr]);var lt=st(pr,Si,Sr,Ot),Rr=li==null?void 0:li({start:gn,end:kn,virtual:Yi,offsetX:On,offsetY:Bn,rtl:Ue,getSize:lt}),Ko=ge(pr,gn,kn,xt,On,dr,xe,bt),Yr=null;Ft&&(Yr=(0,we.Z)((0,Ie.Z)({},ct?"height":"maxHeight",Ft),Kn),Gi&&(Yr.overflowY="hidden",xt&&(Yr.overflowX="hidden"),In&&(Yr.pointerEvents="none")));var yo={};return Ue&&(yo.dir="rtl"),ht.createElement("div",(0,se.Z)({ref:Vo,style:(0,we.Z)((0,we.Z)({},Ge),{},{position:"relative"}),className:no},yo,Mi),ht.createElement(Je.Z,{onResize:Fi},ht.createElement(Pn,{className:"".concat(St,"-holder"),style:Yr,ref:fo,onScroll:Go,onMouseEnter:_r},ht.createElement(ee,{prefixCls:St,height:wn,offsetX:On,offsetY:Bn,scrollWidth:xt,onInnerResize:ur,ref:Fo,innerProps:Zn,rtl:Ue,extra:Rr},Ko))),Yi&&wn>Ft&&ht.createElement(It,{ref:ir,prefixCls:St,scrollOffset:on,scrollRange:wn,rtl:Ue,onScroll:kr,onStartMove:mi,onStopMove:Rn,spinSize:Ai,containerSize:Wn.height,style:xi==null?void 0:xi.verticalScrollBar,thumbStyle:xi==null?void 0:xi.verticalScrollBarThumb}),Yi&&xt>Wn.width&&ht.createElement(It,{ref:zi,prefixCls:St,scrollOffset:On,scrollRange:xt,rtl:Ue,onScroll:kr,onStartMove:mi,onStopMove:Rn,spinSize:tn,containerSize:Wn.width,horizontal:!0,style:xi==null?void 0:xi.horizontalScrollBar,thumbStyle:xi==null?void 0:xi.horizontalScrollBarThumb}))}var Nn=ht.forwardRef(jt);Nn.displayName="List";var Gn=Nn,ii=Gn},19524:function(_e,be,oe){"use strict";oe(84126);var se=oe(59301),Ce=60103;if(be.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var we=Symbol.for;Ce=we("react.element"),be.Fragment=we("react.fragment")}var Ie=se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,De=Object.prototype.hasOwnProperty,Ke={key:!0,ref:!0,__self:!0,__source:!0};function Ee(et,Je,Ye){var tt,ht={},kt=null,ze=null;Ye!==void 0&&(kt=""+Ye),Je.key!==void 0&&(kt=""+Je.key),Je.ref!==void 0&&(ze=Je.ref);for(tt in Je)De.call(Je,tt)&&!Ke.hasOwnProperty(tt)&&(ht[tt]=Je[tt]);if(et&&et.defaultProps)for(tt in Je=et.defaultProps,Je)ht[tt]===void 0&&(ht[tt]=Je[tt]);return{$$typeof:Ce,type:et,key:kt,ref:ze,props:ht,_owner:Ie.current}}be.jsx=Ee,be.jsxs=Ee},37712:function(_e,be,oe){"use strict";_e.exports=oe(19524)},95489:function(_e,be,oe){"use strict";var se=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof oe.g=="object"?oe.g:{},Ce=ke();se.Prism={manual:!0,disableWorkerMessageHandler:!0};var we=oe(43621),Ie=oe(12256),De=oe(68398),Ke=oe(70614),Ee=oe(54212),et=oe(9720),Je=oe(88786);Ce();var Ye={}.hasOwnProperty;function tt(){}tt.prototype=De;var ht=new tt;_e.exports=ht,ht.highlight=ee,ht.register=kt,ht.alias=ze,ht.registered=ne,ht.listLanguages=ge,kt(Ke),kt(Ee),kt(et),kt(Je),ht.util.encode=Se,ht.Token.stringify=ue;function kt(Te){if(typeof Te!="function"||!Te.displayName)throw new Error("Expected `function` for `grammar`, got `"+Te+"`");ht.languages[Te.displayName]===void 0&&Te(ht)}function ze(Te,We){var $e=ht.languages,st=Te,ut,Mt,nt,$t;We&&(st={},st[Te]=We);for(ut in st)for(Mt=st[ut],Mt=typeof Mt=="string"?[Mt]:Mt,nt=Mt.length,$t=-1;++$t]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(_e){"use strict";_e.exports=be,be.displayName="abnf",be.aliases=[];function be(oe){(function(se){var Ce="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";se.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+Ce+"|<"+Ce+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(oe)}},42746:function(_e){"use strict";_e.exports=be,be.displayName="actionscript",be.aliases=[];function be(oe){oe.languages.actionscript=oe.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),oe.languages.actionscript["class-name"].alias="function",delete oe.languages.actionscript.parameter,delete oe.languages.actionscript["literal-property"],oe.languages.markup&&oe.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:oe.languages.markup}})}},93281:function(_e){"use strict";_e.exports=be,be.displayName="ada",be.aliases=[];function be(oe){oe.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(_e){"use strict";_e.exports=be,be.displayName="agda",be.aliases=[];function be(oe){(function(se){se.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(oe)}},65924:function(_e){"use strict";_e.exports=be,be.displayName="al",be.aliases=[];function be(oe){oe.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(_e){"use strict";_e.exports=be,be.displayName="antlr4",be.aliases=["g4"];function be(oe){oe.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},oe.languages.g4=oe.languages.antlr4}},43556:function(_e){"use strict";_e.exports=be,be.displayName="apacheconf",be.aliases=[];function be(oe){oe.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(_e,be,oe){"use strict";var se=oe(69435);_e.exports=Ce,Ce.displayName="apex",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){var De=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,Ke=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return De.source});function Ee(Je){return RegExp(Je.replace(//g,function(){return Ke}),"i")}var et={keyword:De,punctuation:/[()\[\]{};,:.<>]/};Ie.languages.apex={comment:Ie.languages.clike.comment,string:Ie.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:Ie.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:Ee(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:et},{pattern:Ee(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:et},{pattern:Ee(/(?=\s*\w+\s*[;=,(){:])/.source),inside:et}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:De,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(we)}},4248:function(_e){"use strict";_e.exports=be,be.displayName="apl",be.aliases=[];function be(oe){oe.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(_e){"use strict";_e.exports=be,be.displayName="applescript",be.aliases=[];function be(oe){oe.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(_e){"use strict";_e.exports=be,be.displayName="aql",be.aliases=[];function be(oe){oe.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(_e,be,oe){"use strict";var se=oe(87071);_e.exports=Ce,Ce.displayName="arduino",Ce.aliases=["ino"];function Ce(we){we.register(se),we.languages.arduino=we.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),we.languages.ino=we.languages.arduino}},22956:function(_e){"use strict";_e.exports=be,be.displayName="arff",be.aliases=[];function be(oe){oe.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(_e){"use strict";_e.exports=be,be.displayName="asciidoc",be.aliases=["adoc"];function be(oe){(function(se){var Ce={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},we=se.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:Ce,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:Ce.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:Ce,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function Ie(De){De=De.split(" ");for(var Ke={},Ee=0,et=De.length;Ee>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(_e,be,oe){"use strict";var se=oe(87648);_e.exports=Ce,Ce.displayName="aspnet",Ce.aliases=[];function Ce(we){we.register(se),we.languages.aspnet=we.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:we.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:we.languages.csharp}}}),we.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,we.languages.insertBefore("inside","punctuation",{directive:we.languages.aspnet.directive},we.languages.aspnet.tag.inside["attr-value"]),we.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),we.languages.insertBefore("aspnet",we.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:we.languages.csharp||{}}})}},20803:function(_e){"use strict";_e.exports=be,be.displayName="autohotkey",be.aliases=[];function be(oe){oe.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(_e){"use strict";_e.exports=be,be.displayName="autoit",be.aliases=[];function be(oe){oe.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(_e){"use strict";_e.exports=be,be.displayName="avisynth",be.aliases=["avs"];function be(oe){(function(se){function Ce(Je,Ye){return Je.replace(/<<(\d+)>>/g,function(tt,ht){return Ye[+ht]})}function we(Je,Ye,tt){return RegExp(Ce(Je,Ye),tt||"")}var Ie=/bool|clip|float|int|string|val/.source,De=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),Ke=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),Ee=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),et=[De,Ke,Ee].join("|");se.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:we(/\b(?:<<0>>)\s+("?)\w+\1/.source,[Ie],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:we(/\b(?:<<0>>)\b/.source,[et],"i"),alias:"function"},"type-cast":{pattern:we(/\b(?:<<0>>)(?=\s*\()/.source,[Ie],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},se.languages.avs=se.languages.avisynth})(oe)}},79571:function(_e){"use strict";_e.exports=be,be.displayName="avroIdl",be.aliases=[];function be(oe){oe.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},oe.languages.avdl=oe.languages["avro-idl"]}},3058:function(_e){"use strict";_e.exports=be,be.displayName="bash",be.aliases=["shell"];function be(oe){(function(se){var Ce="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",we={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},Ie={bash:we,environment:{pattern:RegExp("\\$"+Ce),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+Ce),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};se.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+Ce),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:Ie},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:we}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:Ie},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:Ie.entity}}],environment:{pattern:RegExp("\\$?"+Ce),alias:"constant"},variable:Ie.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},we.inside=se.languages.bash;for(var De=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],Ke=Ie.variable[1].inside,Ee=0;Ee?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(_e){"use strict";_e.exports=be,be.displayName="batch",be.aliases=[];function be(oe){(function(se){var Ce=/%%?[~:\w]+%?|!\S+!/,we={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},Ie=/"(?:[\\"]"|[^"])*"(?!")/,De=/(?:\b|-)\d+\b/;se.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:Ie,parameter:we,variable:Ce,number:De,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:Ie,parameter:we,variable:Ce,number:De,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:Ie,parameter:we,variable:[Ce,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:De,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:Ie,parameter:we,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:Ce,number:De,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(oe)}},2505:function(_e){"use strict";_e.exports=be,be.displayName="bbcode",be.aliases=["shortcode"];function be(oe){oe.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},oe.languages.shortcode=oe.languages.bbcode}},51274:function(_e){"use strict";_e.exports=be,be.displayName="bicep",be.aliases=[];function be(oe){oe.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},oe.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=oe.languages.bicep}},23796:function(_e){"use strict";_e.exports=be,be.displayName="birb",be.aliases=[];function be(oe){oe.languages.birb=oe.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),oe.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(_e,be,oe){"use strict";var se=oe(79440);_e.exports=Ce,Ce.displayName="bison",Ce.aliases=[];function Ce(we){we.register(se),we.languages.bison=we.languages.extend("c",{}),we.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:we.languages.c}},comment:we.languages.c.comment,string:we.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(_e){"use strict";_e.exports=be,be.displayName="bnf",be.aliases=["rbnf"];function be(oe){oe.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},oe.languages.rbnf=oe.languages.bnf}},47035:function(_e){"use strict";_e.exports=be,be.displayName="brainfuck",be.aliases=[];function be(oe){oe.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(_e){"use strict";_e.exports=be,be.displayName="brightscript",be.aliases=[];function be(oe){oe.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},oe.languages.brightscript["directive-statement"].inside.expression.inside=oe.languages.brightscript}},85290:function(_e){"use strict";_e.exports=be,be.displayName="bro",be.aliases=[];function be(oe){oe.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(_e){"use strict";_e.exports=be,be.displayName="bsl",be.aliases=[];function be(oe){oe.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},oe.languages.oscript=oe.languages.bsl}},79440:function(_e){"use strict";_e.exports=be,be.displayName="c",be.aliases=[];function be(oe){oe.languages.c=oe.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),oe.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),oe.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},oe.languages.c.string],char:oe.languages.c.char,comment:oe.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:oe.languages.c}}}}),oe.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete oe.languages.c.boolean}},7110:function(_e){"use strict";_e.exports=be,be.displayName="cfscript",be.aliases=[];function be(oe){oe.languages.cfscript=oe.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),oe.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete oe.languages.cfscript["class-name"],oe.languages.cfc=oe.languages.cfscript}},73435:function(_e,be,oe){"use strict";var se=oe(87071);_e.exports=Ce,Ce.displayName="chaiscript",Ce.aliases=[];function Ce(we){we.register(se),we.languages.chaiscript=we.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[we.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),we.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),we.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:we.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(_e){"use strict";_e.exports=be,be.displayName="cil",be.aliases=[];function be(oe){oe.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(_e){"use strict";_e.exports=be,be.displayName="clike",be.aliases=[];function be(oe){oe.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(_e){"use strict";_e.exports=be,be.displayName="clojure",be.aliases=[];function be(oe){oe.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(_e){"use strict";_e.exports=be,be.displayName="cmake",be.aliases=[];function be(oe){oe.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(_e){"use strict";_e.exports=be,be.displayName="cobol",be.aliases=[];function be(oe){oe.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(_e){"use strict";_e.exports=be,be.displayName="coffeescript",be.aliases=["coffee"];function be(oe){(function(se){var Ce=/#(?!\{).+/,we={pattern:/#\{[^}]+\}/,alias:"variable"};se.languages.coffeescript=se.languages.extend("javascript",{comment:Ce,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:we}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),se.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:Ce,interpolation:we}}}),se.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:se.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:we}}]}),se.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete se.languages.coffeescript["template-string"],se.languages.coffee=se.languages.coffeescript})(oe)}},35348:function(_e){"use strict";_e.exports=be,be.displayName="concurnas",be.aliases=["conc"];function be(oe){oe.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},oe.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:oe.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:oe.languages.concurnas},string:/[\s\S]+/}}}),oe.languages.conc=oe.languages.concurnas}},26841:function(_e){"use strict";_e.exports=be,be.displayName="coq",be.aliases=[];function be(oe){(function(se){for(var Ce=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,we=0;we<2;we++)Ce=Ce.replace(//g,function(){return Ce});Ce=Ce.replace(//g,"[]"),se.languages.coq={comment:RegExp(Ce),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return Ce})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(Ce),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(oe)}},87071:function(_e,be,oe){"use strict";var se=oe(79440);_e.exports=Ce,Ce.displayName="cpp",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){var De=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,Ke=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return De.source});Ie.languages.cpp=Ie.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return De.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:De,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),Ie.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return Ke})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),Ie.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:Ie.languages.cpp}}}}),Ie.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),Ie.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:Ie.languages.extend("cpp",{})}}),Ie.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},Ie.languages.cpp["base-clause"])}(we)}},13652:function(_e,be,oe){"use strict";var se=oe(75308);_e.exports=Ce,Ce.displayName="crystal",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){Ie.languages.crystal=Ie.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,Ie.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),Ie.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:Ie.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:Ie.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(we)}},87648:function(_e){"use strict";_e.exports=be,be.displayName="csharp",be.aliases=["dotnet","cs"];function be(oe){(function(se){function Ce(an,it){return an.replace(/<<(\d+)>>/g,function(Ve,gt){return"(?:"+it[+gt]+")"})}function we(an,it,Ve){return RegExp(Ce(an,it),Ve||"")}function Ie(an,it){for(var Ve=0;Ve>/g,function(){return"(?:"+an+")"});return an.replace(/<>/g,"[^\\s\\S]")}var De={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function Ke(an){return"\\b(?:"+an.trim().replace(/ /g,"|")+")\\b"}var Ee=Ke(De.typeDeclaration),et=RegExp(Ke(De.type+" "+De.typeDeclaration+" "+De.contextual+" "+De.other)),Je=Ke(De.typeDeclaration+" "+De.contextual+" "+De.other),Ye=Ke(De.type+" "+De.typeDeclaration+" "+De.other),tt=Ie(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),ht=Ie(/\((?:[^()]|<>)*\)/.source,2),kt=/@?\b[A-Za-z_]\w*\b/.source,ze=Ce(/<<0>>(?:\s*<<1>>)?/.source,[kt,tt]),ee=Ce(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[Je,ze]),ne=/\[\s*(?:,\s*)*\]/.source,ge=Ce(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[ee,ne]),ue=Ce(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[tt,ht,ne]),me=Ce(/\(<<0>>+(?:,<<0>>+)+\)/.source,[ue]),Se=Ce(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[me,ee,ne]),Ne={keyword:et,punctuation:/[<>()?,.:[\]]/},ke=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,Te=/"(?:\\.|[^\\"\r\n])*"/.source,We=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;se.languages.csharp=se.languages.extend("clike",{string:[{pattern:we(/(^|[^$\\])<<0>>/.source,[We]),lookbehind:!0,greedy:!0},{pattern:we(/(^|[^@$\\])<<0>>/.source,[Te]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:we(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[ee]),lookbehind:!0,inside:Ne},{pattern:we(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[kt,Se]),lookbehind:!0,inside:Ne},{pattern:we(/(\busing\s+)<<0>>(?=\s*=)/.source,[kt]),lookbehind:!0},{pattern:we(/(\b<<0>>\s+)<<1>>/.source,[Ee,ze]),lookbehind:!0,inside:Ne},{pattern:we(/(\bcatch\s*\(\s*)<<0>>/.source,[ee]),lookbehind:!0,inside:Ne},{pattern:we(/(\bwhere\s+)<<0>>/.source,[kt]),lookbehind:!0},{pattern:we(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[ge]),lookbehind:!0,inside:Ne},{pattern:we(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Se,Ye,kt]),inside:Ne}],keyword:et,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),se.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),se.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:we(/([(,]\s*)<<0>>(?=\s*:)/.source,[kt]),lookbehind:!0,alias:"punctuation"}}),se.languages.insertBefore("csharp","class-name",{namespace:{pattern:we(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[kt]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:we(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[ht]),lookbehind:!0,alias:"class-name",inside:Ne},"return-type":{pattern:we(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Se,ee]),inside:Ne,alias:"class-name"},"constructor-invocation":{pattern:we(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Se]),lookbehind:!0,inside:Ne,alias:"class-name"},"generic-method":{pattern:we(/<<0>>\s*<<1>>(?=\s*\()/.source,[kt,tt]),inside:{function:we(/^<<0>>/.source,[kt]),generic:{pattern:RegExp(tt),alias:"class-name",inside:Ne}}},"type-list":{pattern:we(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[Ee,ze,kt,Se,et.source,ht,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:we(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[ze,ht]),lookbehind:!0,greedy:!0,inside:se.languages.csharp},keyword:et,"class-name":{pattern:RegExp(Se),greedy:!0,inside:Ne},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var $e=Te+"|"+ke,st=Ce(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[$e]),ut=Ie(Ce(/[^"'/()]|<<0>>|\(<>*\)/.source,[st]),2),Mt=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,nt=Ce(/<<0>>(?:\s*\(<<1>>*\))?/.source,[ee,ut]);se.languages.insertBefore("csharp","class-name",{attribute:{pattern:we(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[Mt,nt]),lookbehind:!0,greedy:!0,inside:{target:{pattern:we(/^<<0>>(?=\s*:)/.source,[Mt]),alias:"keyword"},"attribute-arguments":{pattern:we(/\(<<0>>*\)/.source,[ut]),inside:se.languages.csharp},"class-name":{pattern:RegExp(ee),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var $t=/:[^}\r\n]+/.source,Pt=Ie(Ce(/[^"'/()]|<<0>>|\(<>*\)/.source,[st]),2),dn=Ce(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Pt,$t]),zt=Ie(Ce(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[$e]),2),Xt=Ce(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[zt,$t]);function fn(an,it){return{interpolation:{pattern:we(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[an]),lookbehind:!0,inside:{"format-string":{pattern:we(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[it,$t]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:se.languages.csharp}}},string:/[\s\S]+/}}se.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:we(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[dn]),lookbehind:!0,greedy:!0,inside:fn(dn,Pt)},{pattern:we(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Xt]),lookbehind:!0,greedy:!0,inside:fn(Xt,zt)}],char:{pattern:RegExp(ke),greedy:!0}}),se.languages.dotnet=se.languages.cs=se.languages.csharp})(oe)}},10617:function(_e,be,oe){"use strict";var se=oe(87648);_e.exports=Ce,Ce.displayName="cshtml",Ce.aliases=["razor"];function Ce(we){we.register(se),function(Ie){var De=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,Ke=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function Ee(ge,ue){for(var me=0;me/g,function(){return"(?:"+ge+")"});return ge.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+Ke+")").replace(//g,"(?:"+De+")")}var et=Ee(/\((?:[^()'"@/]|||)*\)/.source,2),Je=Ee(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),Ye=Ee(/\{(?:[^{}'"@/]|||)*\}/.source,2),tt=Ee(/<(?:[^<>'"@/]|||)*>/.source,2),ht=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,kt=/(?!\d)[^\s>\/=$<%]+/.source+ht+/\s*\/?>/.source,ze=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+ht+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+kt+"|"+Ee(/<\1/.source+ht+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+kt+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},se.languages.css.atrule.inside["selector-function-argument"].inside=we,se.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var Ie={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},De={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};se.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:Ie,number:De,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:Ie,number:De})})(oe)}},54212:function(_e){"use strict";_e.exports=be,be.displayName="css",be.aliases=[];function be(oe){(function(se){var Ce=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;se.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+Ce.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+Ce.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+Ce.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:Ce,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},se.languages.css.atrule.inside.rest=se.languages.css;var we=se.languages.markup;we&&(we.tag.addInlined("style","css"),we.tag.addAttribute("style","css"))})(oe)}},69820:function(_e){"use strict";_e.exports=be,be.displayName="csv",be.aliases=[];function be(oe){oe.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(_e){"use strict";_e.exports=be,be.displayName="cypher",be.aliases=[];function be(oe){oe.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(_e){"use strict";_e.exports=be,be.displayName="d",be.aliases=[];function be(oe){oe.languages.d=oe.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),oe.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),oe.languages.insertBefore("d","keyword",{property:/\B@\w*/}),oe.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(_e){"use strict";_e.exports=be,be.displayName="dart",be.aliases=[];function be(oe){(function(se){var Ce=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],we=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,Ie={pattern:RegExp(we+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};se.languages.dart=se.languages.extend("clike",{"class-name":[Ie,{pattern:RegExp(we+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:Ie.inside}],keyword:Ce,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),se.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:se.languages.dart}}},string:/[\s\S]+/}},string:void 0}),se.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),se.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":Ie,keyword:Ce,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(oe)}},22117:function(_e){"use strict";_e.exports=be,be.displayName="dataweave",be.aliases=[];function be(oe){(function(se){se.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(oe)}},95627:function(_e){"use strict";_e.exports=be,be.displayName="dax",be.aliases=[];function be(oe){oe.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(_e){"use strict";_e.exports=be,be.displayName="dhall",be.aliases=[];function be(oe){oe.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},oe.languages.dhall.string.inside.interpolation.inside.expression.inside=oe.languages.dhall}},50618:function(_e){"use strict";_e.exports=be,be.displayName="diff",be.aliases=[];function be(oe){(function(se){se.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var Ce={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(Ce).forEach(function(we){var Ie=Ce[we],De=[];/^\w+$/.test(we)||De.push(/\w+/.exec(we)[0]),we==="diff"&&De.push("bold"),se.languages.diff[we]={pattern:RegExp("^(?:["+Ie+`].*(?:\r +`,ue=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],me={},Se;function Ne(fn){var an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,it=fn.getAttribute("id")||fn.getAttribute("data-reactid")||fn.getAttribute("name");if(an&&me[it])return me[it];var Ve=window.getComputedStyle(fn),gt=Ve.getPropertyValue("box-sizing")||Ve.getPropertyValue("-moz-box-sizing")||Ve.getPropertyValue("-webkit-box-sizing"),Bt=parseFloat(Ve.getPropertyValue("padding-bottom"))+parseFloat(Ve.getPropertyValue("padding-top")),sn=parseFloat(Ve.getPropertyValue("border-bottom-width"))+parseFloat(Ve.getPropertyValue("border-top-width")),It=ue.map(function(En){return"".concat(En,":").concat(Ve.getPropertyValue(En))}).join(";"),en={sizingStyle:It,paddingSize:Bt,borderSize:sn,boxSizing:gt};return an&&it&&(me[it]=en),en}function ke(fn){var an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Se||(Se=document.createElement("textarea"),Se.setAttribute("tab-index","-1"),Se.setAttribute("aria-hidden","true"),document.body.appendChild(Se)),fn.getAttribute("wrap")?Se.setAttribute("wrap",fn.getAttribute("wrap")):Se.removeAttribute("wrap");var gt=Ne(fn,an),Bt=gt.paddingSize,sn=gt.borderSize,It=gt.boxSizing,en=gt.sizingStyle;Se.setAttribute("style","".concat(en,";").concat(ge)),Se.value=fn.value||fn.placeholder||"";var En=void 0,ei=void 0,An,Kn=Se.scrollHeight;if(It==="border-box"?Kn+=sn:It==="content-box"&&(Kn-=Bt),it!==null||Ve!==null){Se.value=" ";var jt=Se.scrollHeight-Bt;it!==null&&(En=jt*it,It==="border-box"&&(En=En+Bt+sn),Kn=Math.max(En,Kn)),Ve!==null&&(ei=jt*Ve,It==="border-box"&&(ei=ei+Bt+sn),An=Kn>ei?"":"hidden",Kn=Math.min(ei,Kn))}var Nn={height:Kn,overflowY:An,resize:"none"};return En&&(Nn.minHeight=En),ei&&(Nn.maxHeight=ei),Nn}var Te=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],We=0,$e=1,st=2,ut=kt.forwardRef(function(fn,an){var it=fn,Ve=it.prefixCls,gt=it.onPressEnter,Bt=it.defaultValue,sn=it.value,It=it.autoSize,en=it.onResize,En=it.className,ei=it.style,An=it.disabled,Kn=it.onChange,jt=it.onInternalAutoSize,Nn=(0,Ke.Z)(it,Te),Gn=(0,ht.Z)(Bt,{value:sn,postState:function(Si){return Si!=null?Si:""}}),ii=(0,De.Z)(Gn,2),Sn=ii[0],Yt=ii[1],Zt=function(Si){Yt(Si.target.value),Kn==null||Kn(Si)},St=kt.useRef();kt.useImperativeHandle(an,function(){return{textArea:St.current}});var rt=kt.useMemo(function(){return It&&(0,Ie.Z)(It)==="object"?[It.minRows,It.maxRows]:[]},[It]),Ft=(0,De.Z)(rt,2),Ot=Ft[0],ft=Ft[1],ct=!!It,Ge=function(){try{if(document.activeElement===St.current){var Si=St.current,Ri=Si.selectionStart,lr=Si.selectionEnd,dr=Si.scrollTop;St.current.setSelectionRange(Ri,lr),St.current.scrollTop=dr}}catch(ur){}},Ae=kt.useState(st),xe=(0,De.Z)(Ae,2),je=xe[0],Qe=xe[1],Oe=kt.useState(),xt=(0,De.Z)(Oe,2),hn=xt[0],Pn=xt[1],wt=function(){Qe(We)};(0,ee.Z)(function(){ct&&wt()},[sn,Ot,ft,ct]),(0,ee.Z)(function(){if(je===We)Qe($e);else if(je===$e){var Mi=ke(St.current,!1,Ot,ft);Qe(st),Pn(Mi)}else Ge()},[je]);var nn=kt.useRef(),Mn=function(){ne.Z.cancel(nn.current)},Zn=function(Si){je===st&&(en==null||en(Si),It&&(Mn(),nn.current=(0,ne.Z)(function(){wt()})))};kt.useEffect(function(){return Mn},[]);var li=ct?hn:null,xi=(0,Ce.Z)((0,Ce.Z)({},ei),li);return(je===We||je===$e)&&(xi.overflowY="hidden",xi.overflowX="hidden"),kt.createElement(ze.Z,{onResize:Zn,disabled:!(It||en)},kt.createElement("textarea",(0,se.Z)({},Nn,{ref:St,style:xi,className:Je()(Ve,En,(0,we.Z)({},"".concat(Ve,"-disabled"),An)),disabled:An,value:Sn,onChange:Zt})))}),Mt=ut,nt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function $t(fn,an){return(0,Ee.Z)(fn||"").slice(0,an).join("")}function Pt(fn,an,it,Ve){var gt=it;return fn?gt=$t(it,Ve):(0,Ee.Z)(an||"").lengthVe&&(gt=an),gt}var dn=kt.forwardRef(function(fn,an){var it,Ve=fn.defaultValue,gt=fn.value,Bt=fn.onFocus,sn=fn.onBlur,It=fn.onChange,en=fn.allowClear,En=fn.maxLength,ei=fn.onCompositionStart,An=fn.onCompositionEnd,Kn=fn.suffix,jt=fn.prefixCls,Nn=jt===void 0?"rc-textarea":jt,Gn=fn.classes,ii=fn.showCount,Sn=fn.className,Yt=fn.style,Zt=fn.disabled,St=fn.hidden,rt=fn.classNames,Ft=fn.styles,Ot=fn.onResize,ft=(0,Ke.Z)(fn,nt),ct=(0,ht.Z)(Ve,{value:gt,defaultValue:Ve}),Ge=(0,De.Z)(ct,2),Ae=Ge[0],xe=Ge[1],je=(0,kt.useRef)(null),Qe=kt.useState(!1),Oe=(0,De.Z)(Qe,2),xt=Oe[0],hn=Oe[1],Pn=kt.useState(!1),wt=(0,De.Z)(Pn,2),nn=wt[0],Mn=wt[1],Zn=kt.useRef(),li=kt.useRef(0),xi=kt.useState(null),Mi=(0,De.Z)(xi,2),Si=Mi[0],Ri=Mi[1],lr=function(){var ln;(ln=je.current)===null||ln===void 0||ln.textArea.focus()};(0,kt.useImperativeHandle)(an,function(){return{resizableTextArea:je.current,focus:lr,blur:function(){var ln;(ln=je.current)===null||ln===void 0||ln.textArea.blur()}}}),(0,kt.useEffect)(function(){hn(function(on){return!Zt&&on})},[Zt]);var dr=Number(En)>0,ur=function(ln){Mn(!0),Zn.current=Ae,li.current=ln.currentTarget.selectionStart,ei==null||ei(ln)},Sr=function(ln){Mn(!1);var qt=ln.currentTarget.value;if(dr){var Nt,On=li.current>=En+1||li.current===((Nt=Zn.current)===null||Nt===void 0?void 0:Nt.length);qt=Pt(On,Zn.current,qt,En)}qt!==Ae&&(xe(qt),(0,tt.rJ)(ln.currentTarget,ln,It,qt)),An==null||An(ln)},Wr=function(ln){var qt=ln.target.value;if(!nn&&dr){var Nt=ln.target.selectionStart>=En+1||ln.target.selectionStart===qt.length||!ln.target.selectionStart;qt=Pt(Nt,Ae,qt,En)}xe(qt),(0,tt.rJ)(ln.currentTarget,ln,It,qt)},Gi=function(ln){var qt=ft.onPressEnter,Nt=ft.onKeyDown;ln.key==="Enter"&&qt&&qt(ln),Nt==null||Nt(ln)},Zr=function(ln){hn(!0),Bt==null||Bt(ln)},Yi=function(ln){hn(!1),sn==null||sn(ln)},Ue=function(ln){var qt;xe(""),lr(),(0,tt.rJ)((qt=je.current)===null||qt===void 0?void 0:qt.textArea,ln,It)},no=(0,tt.D7)(Ae);!nn&&dr&>==null&&(no=$t(no,En));var pr=Kn,fo;if(ii){var Fo=(0,Ee.Z)(no).length;(0,Ie.Z)(ii)==="object"?fo=ii.formatter({value:no,count:Fo,maxLength:En}):fo="".concat(Fo).concat(dr?" / ".concat(En):""),pr=kt.createElement(kt.Fragment,null,pr,kt.createElement("span",{className:Je()("".concat(Nn,"-data-count"),rt==null?void 0:rt.count),style:Ft==null?void 0:Ft.count},fo))}var Vo=function(ln){var qt;Ot==null||Ot(ln),(qt=je.current)!==null&&qt!==void 0&&qt.textArea.style.height&&Ri(!0)},Io=!ft.autoSize&&!ii&&!en,Oi=kt.createElement(Ye.BaseInput,{value:no,allowClear:en,handleReset:Ue,suffix:pr,prefixCls:Nn,classes:{affixWrapper:Je()(Gn==null?void 0:Gn.affixWrapper,(it={},(0,we.Z)(it,"".concat(Nn,"-show-count"),ii),(0,we.Z)(it,"".concat(Nn,"-textarea-allow-clear"),en),it))},disabled:Zt,focused:xt,className:Sn,style:(0,Ce.Z)((0,Ce.Z)({},Yt),Si&&!Io?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof fo=="string"?fo:void 0}},hidden:St,inputElement:kt.createElement(Mt,(0,se.Z)({},ft,{onKeyDown:Gi,onChange:Wr,onFocus:Zr,onBlur:Yi,onCompositionStart:ur,onCompositionEnd:Sr,className:rt==null?void 0:rt.textarea,style:(0,Ce.Z)((0,Ce.Z)({},Ft==null?void 0:Ft.textarea),{},{resize:Yt==null?void 0:Yt.resize}),disabled:Zt,prefixCls:Nn,onResize:Vo,ref:je}))});return Oi}),zt=dn,Xt=zt},39417:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return $e}});var se=oe(5891),Ce=oe(80962),we=oe(19149),Ie=oe(57259),De=oe(79545),Ke=oe(68550),Ee=oe(21882),et=oe(17928),Je=oe(7711),Ye=oe(92310),tt=oe.n(Ye),ht=oe(36994),kt=oe(59301),ze=oe(39378),ee=function(ut){for(var Mt=ut.prefixCls,nt=ut.level,$t=ut.isStart,Pt=ut.isEnd,dn="".concat(Mt,"-indent-unit"),zt=[],Xt=0;Xt0&&arguments[0]!==void 0?arguments[0]:[],Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],St=Yt.length,rt=Zt.length;if(Math.abs(St-rt)!==1)return{add:!1,key:null};function Ft(Ot,ft){var ct=new Map;Ot.forEach(function(Ae){ct.set(Ae,!0)});var Ge=ft.filter(function(Ae){return!ct.has(Ae)});return Ge.length===1?Ge[0]:null}return St ").concat(Zt);return Zt}var En=ne.forwardRef(function(Yt,Zt){var St=Yt.prefixCls,rt=Yt.data,Ft=Yt.selectable,Ot=Yt.checkable,ft=Yt.expandedKeys,ct=Yt.selectedKeys,Ge=Yt.checkedKeys,Ae=Yt.loadedKeys,xe=Yt.loadingKeys,je=Yt.halfCheckedKeys,Qe=Yt.keyEntities,Oe=Yt.disabled,xt=Yt.dragging,hn=Yt.dragOverNodeKey,Pn=Yt.dropPosition,wt=Yt.motion,nn=Yt.height,Mn=Yt.itemHeight,Zn=Yt.virtual,li=Yt.focusable,xi=Yt.activeItem,Mi=Yt.focused,Si=Yt.tabIndex,Ri=Yt.onKeyDown,lr=Yt.onFocus,dr=Yt.onBlur,ur=Yt.onActiveChange,Sr=Yt.onListChangeStart,Wr=Yt.onListChangeEnd,Gi=(0,Ne.Z)(Yt,Xt),Zr=ne.useRef(null),Yi=ne.useRef(null);ne.useImperativeHandle(Zt,function(){return{scrollTo:function(yn){Zr.current.scrollTo(yn)},getIndentWidth:function(){return Yi.current.offsetWidth}}});var Ue=ne.useState(ft),no=(0,Se.Z)(Ue,2),pr=no[0],fo=no[1],Fo=ne.useState(rt),Vo=(0,Se.Z)(Fo,2),Io=Vo[0],Oi=Vo[1],on=ne.useState(rt),ln=(0,Se.Z)(on,2),qt=ln[0],Nt=ln[1],On=ne.useState([]),Un=(0,Se.Z)(On,2),Vt=Un[0],yt=Un[1],In=ne.useState(null),zn=(0,Se.Z)(In,2),mi=zn[0],Rn=zn[1],bt=ne.useRef(rt);bt.current=rt;function Ut(){var Gt=bt.current;Oi(Gt),Nt(Gt),yt([]),Rn(null),Wr()}(0,ke.Z)(function(){fo(ft);var Gt=dn(pr,ft);if(Gt.key!==null)if(Gt.add){var yn=Io.findIndex(function(Bn){var Vn=Bn.key;return Vn===Gt.key}),Qt=sn(zt(Io,rt,Gt.key),Zn,nn,Mn),un=Io.slice();un.splice(yn+1,0,Bt),Nt(un),yt(Qt),Rn("show")}else{var wn=rt.findIndex(function(Bn){var Vn=Bn.key;return Vn===Gt.key}),gn=sn(zt(rt,Io,Gt.key),Zn,nn,Mn),kn=rt.slice();kn.splice(wn+1,0,Bt),Nt(kn),yt(gn),Rn("hide")}else Io!==rt&&(Oi(rt),Nt(rt))},[ft,rt]),ne.useEffect(function(){xt||Ut()},[xt]);var Ln=wt?qt:rt,ni={expandedKeys:ft,selectedKeys:ct,loadedKeys:Ae,loadingKeys:xe,checkedKeys:Ge,halfCheckedKeys:je,dragOverNodeKey:hn,dropPosition:Pn,keyEntities:Qe};return ne.createElement(ne.Fragment,null,Mi&&xi&&ne.createElement("span",{style:fn,"aria-live":"assertive"},en(xi)),ne.createElement("div",null,ne.createElement("input",{style:fn,disabled:li===!1||Oe,tabIndex:li!==!1?Si:null,onKeyDown:Ri,onFocus:lr,onBlur:dr,value:"",onChange:an,"aria-label":"for screen reader"})),ne.createElement("div",{className:"".concat(St,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},ne.createElement("div",{className:"".concat(St,"-indent")},ne.createElement("div",{ref:Yi,className:"".concat(St,"-indent-unit")}))),ne.createElement(Te.Z,(0,se.Z)({},Gi,{data:Ln,itemKey:It,height:nn,fullHeight:!1,virtual:Zn,itemHeight:Mn,prefixCls:"".concat(St,"-list"),ref:Zr,onVisibleChange:function(yn,Qt){var un=new Set(yn),wn=Qt.filter(function(gn){return!un.has(gn)});wn.some(function(gn){return It(gn)===it})&&Ut()}}),function(Gt){var yn=Gt.pos,Qt=(0,se.Z)({},(me(Gt.data),Gt.data)),un=Gt.title,wn=Gt.key,gn=Gt.isStart,kn=Gt.isEnd,Bn=(0,ut.km)(wn,yn);delete Qt.key,delete Qt.children;var Vn=(0,ut.H8)(Bn,ni);return ne.createElement(Pt,(0,se.Z)({},Qt,Vn,{title:un,active:!!xi&&wn===xi.key,pos:yn,data:Gt.data,isStart:gn,isEnd:kn,motion:wt,motionNodes:wn===it?Vt:null,motionType:mi,onMotionStart:Sr,onMotionEnd:Ut,treeNodeRequiredProps:ni,onMouseMove:function(){ur(null)}}))}))});En.displayName="NodeList";var ei=En,An=oe(35654),Kn=oe(90782),jt=oe(67841),Nn=10,Gn=function(Yt){(0,Je.Z)(St,Yt);var Zt=(0,Ye.Z)(St);function St(){var rt;(0,Ke.Z)(this,St);for(var Ft=arguments.length,Ot=new Array(Ft),ft=0;ft2&&arguments[2]!==void 0?arguments[2]:!1,je=rt.state,Qe=je.dragChildrenKeys,Oe=je.dropPosition,xt=je.dropTargetKey,hn=je.dropTargetPos,Pn=je.dropAllowed;if(Pn){var wt=rt.props.onDrop;if(rt.setState({dragOverNodeKey:null}),rt.cleanDragState(),xt!==null){var nn=(0,Ie.Z)((0,Ie.Z)({},(0,ut.H8)(xt,rt.getTreeNodeRequiredProps())),{},{active:((Ae=rt.getActiveItem())===null||Ae===void 0?void 0:Ae.key)===xt,data:(0,jt.Z)(rt.state.keyEntities,xt).node}),Mn=Qe.indexOf(xt)!==-1;(0,ee.ZP)(!Mn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Zn=(0,An.yx)(hn),li={event:ct,node:(0,ut.F)(nn),dragNode:rt.dragNode?(0,ut.F)(rt.dragNode.props):null,dragNodesKeys:[rt.dragNode.props.eventKey].concat(Qe),dropToGap:Oe!==0,dropPosition:Oe+Number(Zn[Zn.length-1])};xe||wt==null||wt(li),rt.dragNode=null}}},rt.cleanDragState=function(){var ct=rt.state.draggingNodeKey;ct!==null&&rt.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),rt.dragStartMousePosition=null,rt.currentMouseOverDroppableNodeKey=null},rt.triggerExpandActionExpand=function(ct,Ge){var Ae=rt.state,xe=Ae.expandedKeys,je=Ae.flattenNodes,Qe=Ge.expanded,Oe=Ge.key,xt=Ge.isLeaf;if(!(xt||ct.shiftKey||ct.metaKey||ct.ctrlKey)){var hn=je.filter(function(wt){return wt.key===Oe})[0],Pn=(0,ut.F)((0,Ie.Z)((0,Ie.Z)({},(0,ut.H8)(Oe,rt.getTreeNodeRequiredProps())),{},{data:hn.data}));rt.setExpandedKeys(Qe?(0,An._5)(xe,Oe):(0,An.L0)(xe,Oe)),rt.onNodeExpand(ct,Pn)}},rt.onNodeClick=function(ct,Ge){var Ae=rt.props,xe=Ae.onClick,je=Ae.expandAction;je==="click"&&rt.triggerExpandActionExpand(ct,Ge),xe==null||xe(ct,Ge)},rt.onNodeDoubleClick=function(ct,Ge){var Ae=rt.props,xe=Ae.onDoubleClick,je=Ae.expandAction;je==="doubleClick"&&rt.triggerExpandActionExpand(ct,Ge),xe==null||xe(ct,Ge)},rt.onNodeSelect=function(ct,Ge){var Ae=rt.state.selectedKeys,xe=rt.state,je=xe.keyEntities,Qe=xe.fieldNames,Oe=rt.props,xt=Oe.onSelect,hn=Oe.multiple,Pn=Ge.selected,wt=Ge[Qe.key],nn=!Pn;nn?hn?Ae=(0,An.L0)(Ae,wt):Ae=[wt]:Ae=(0,An._5)(Ae,wt);var Mn=Ae.map(function(Zn){var li=(0,jt.Z)(je,Zn);return li?li.node:null}).filter(function(Zn){return Zn});rt.setUncontrolledState({selectedKeys:Ae}),xt==null||xt(Ae,{event:"select",selected:nn,node:Ge,selectedNodes:Mn,nativeEvent:ct.nativeEvent})},rt.onNodeCheck=function(ct,Ge,Ae){var xe=rt.state,je=xe.keyEntities,Qe=xe.checkedKeys,Oe=xe.halfCheckedKeys,xt=rt.props,hn=xt.checkStrictly,Pn=xt.onCheck,wt=Ge.key,nn,Mn={event:"check",node:Ge,checked:Ae,nativeEvent:ct.nativeEvent};if(hn){var Zn=Ae?(0,An.L0)(Qe,wt):(0,An._5)(Qe,wt),li=(0,An._5)(Oe,wt);nn={checked:Zn,halfChecked:li},Mn.checkedNodes=Zn.map(function(dr){return(0,jt.Z)(je,dr)}).filter(function(dr){return dr}).map(function(dr){return dr.node}),rt.setUncontrolledState({checkedKeys:Zn})}else{var xi=(0,Kn.S)([].concat((0,De.Z)(Qe),[wt]),!0,je),Mi=xi.checkedKeys,Si=xi.halfCheckedKeys;if(!Ae){var Ri=new Set(Mi);Ri.delete(wt);var lr=(0,Kn.S)(Array.from(Ri),{checked:!1,halfCheckedKeys:Si},je);Mi=lr.checkedKeys,Si=lr.halfCheckedKeys}nn=Mi,Mn.checkedNodes=[],Mn.checkedNodesPositions=[],Mn.halfCheckedKeys=Si,Mi.forEach(function(dr){var ur=(0,jt.Z)(je,dr);if(ur){var Sr=ur.node,Wr=ur.pos;Mn.checkedNodes.push(Sr),Mn.checkedNodesPositions.push({node:Sr,pos:Wr})}}),rt.setUncontrolledState({checkedKeys:Mi},!1,{halfCheckedKeys:Si})}Pn==null||Pn(nn,Mn)},rt.onNodeLoad=function(ct){var Ge=ct.key,Ae=new Promise(function(xe,je){rt.setState(function(Qe){var Oe=Qe.loadedKeys,xt=Oe===void 0?[]:Oe,hn=Qe.loadingKeys,Pn=hn===void 0?[]:hn,wt=rt.props,nn=wt.loadData,Mn=wt.onLoad;if(!nn||xt.indexOf(Ge)!==-1||Pn.indexOf(Ge)!==-1)return null;var Zn=nn(ct);return Zn.then(function(){var li=rt.state.loadedKeys,xi=(0,An.L0)(li,Ge);Mn==null||Mn(xi,{event:"load",node:ct}),rt.setUncontrolledState({loadedKeys:xi}),rt.setState(function(Mi){return{loadingKeys:(0,An._5)(Mi.loadingKeys,Ge)}}),xe()}).catch(function(li){if(rt.setState(function(Mi){return{loadingKeys:(0,An._5)(Mi.loadingKeys,Ge)}}),rt.loadingRetryTimes[Ge]=(rt.loadingRetryTimes[Ge]||0)+1,rt.loadingRetryTimes[Ge]>=Nn){var xi=rt.state.loadedKeys;(0,ee.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),rt.setUncontrolledState({loadedKeys:(0,An.L0)(xi,Ge)}),xe()}je(li)}),{loadingKeys:(0,An.L0)(Pn,Ge)}})});return Ae.catch(function(){}),Ae},rt.onNodeMouseEnter=function(ct,Ge){var Ae=rt.props.onMouseEnter;Ae==null||Ae({event:ct,node:Ge})},rt.onNodeMouseLeave=function(ct,Ge){var Ae=rt.props.onMouseLeave;Ae==null||Ae({event:ct,node:Ge})},rt.onNodeContextMenu=function(ct,Ge){var Ae=rt.props.onRightClick;Ae&&(ct.preventDefault(),Ae({event:ct,node:Ge}))},rt.onFocus=function(){var ct=rt.props.onFocus;rt.setState({focused:!0});for(var Ge=arguments.length,Ae=new Array(Ge),xe=0;xe1&&arguments[1]!==void 0?arguments[1]:!1,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!rt.destroyed){var xe=!1,je=!0,Qe={};Object.keys(ct).forEach(function(Oe){if(Oe in rt.props){je=!1;return}xe=!0,Qe[Oe]=ct[Oe]}),xe&&(!Ge||je)&&rt.setState((0,Ie.Z)((0,Ie.Z)({},Qe),Ae))}},rt.scrollTo=function(ct){rt.listRef.current.scrollTo(ct)},rt}return(0,Ee.Z)(St,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ft=this.props.activeKey;Ft!==void 0&&Ft!==this.state.activeKey&&(this.setState({activeKey:Ft}),Ft!==null&&this.scrollTo({key:Ft}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ft,Ot=this.state,ft=Ot.focused,ct=Ot.flattenNodes,Ge=Ot.keyEntities,Ae=Ot.draggingNodeKey,xe=Ot.activeKey,je=Ot.dropLevelOffset,Qe=Ot.dropContainerKey,Oe=Ot.dropTargetKey,xt=Ot.dropPosition,hn=Ot.dragOverNodeKey,Pn=Ot.indent,wt=this.props,nn=wt.prefixCls,Mn=wt.className,Zn=wt.style,li=wt.showLine,xi=wt.focusable,Mi=wt.tabIndex,Si=Mi===void 0?0:Mi,Ri=wt.selectable,lr=wt.showIcon,dr=wt.icon,ur=wt.switcherIcon,Sr=wt.draggable,Wr=wt.checkable,Gi=wt.checkStrictly,Zr=wt.disabled,Yi=wt.motion,Ue=wt.loadData,no=wt.filterTreeNode,pr=wt.height,fo=wt.itemHeight,Fo=wt.virtual,Vo=wt.titleRender,Io=wt.dropIndicatorRender,Oi=wt.onContextMenu,on=wt.onScroll,ln=wt.direction,qt=wt.rootClassName,Nt=wt.rootStyle,On=(0,ze.Z)(this.props,{aria:!0,data:!0}),Un;return Sr&&((0,we.Z)(Sr)==="object"?Un=Sr:typeof Sr=="function"?Un={nodeDraggable:Sr}:Un={}),ne.createElement(ge.k.Provider,{value:{prefixCls:nn,selectable:Ri,showIcon:lr,icon:dr,switcherIcon:ur,draggable:Un,draggingNodeKey:Ae,checkable:Wr,checkStrictly:Gi,disabled:Zr,keyEntities:Ge,dropLevelOffset:je,dropContainerKey:Qe,dropTargetKey:Oe,dropPosition:xt,dragOverNodeKey:hn,indent:Pn,direction:ln,dropIndicatorRender:Io,loadData:Ue,filterTreeNode:no,titleRender:Vo,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},ne.createElement("div",{role:"tree",className:ht()(nn,Mn,qt,(Ft={},(0,Ce.Z)(Ft,"".concat(nn,"-show-line"),li),(0,Ce.Z)(Ft,"".concat(nn,"-focused"),ft),(0,Ce.Z)(Ft,"".concat(nn,"-active-focused"),xe!==null),Ft)),style:Nt},ne.createElement(ei,(0,se.Z)({ref:this.listRef,prefixCls:nn,style:Zn,data:ct,disabled:Zr,selectable:Ri,checkable:!!Wr,motion:Yi,dragging:Ae!==null,height:pr,itemHeight:fo,virtual:Fo,focusable:xi,focused:ft,tabIndex:Si,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Oi,onScroll:on},this.getTreeNodeRequiredProps(),On))))}}],[{key:"getDerivedStateFromProps",value:function(Ft,Ot){var ft=Ot.prevProps,ct={prevProps:Ft};function Ge(xi){return!ft&&xi in Ft||ft&&ft[xi]!==Ft[xi]}var Ae,xe=Ot.fieldNames;if(Ge("fieldNames")&&(xe=(0,ut.w$)(Ft.fieldNames),ct.fieldNames=xe),Ge("treeData")?Ae=Ft.treeData:Ge("children")&&((0,ee.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ae=(0,ut.zn)(Ft.children)),Ae){ct.treeData=Ae;var je=(0,ut.I8)(Ae,{fieldNames:xe});ct.keyEntities=(0,Ie.Z)((0,Ce.Z)({},it,gt),je.keyEntities)}var Qe=ct.keyEntities||Ot.keyEntities;if(Ge("expandedKeys")||ft&&Ge("autoExpandParent"))ct.expandedKeys=Ft.autoExpandParent||!ft&&Ft.defaultExpandParent?(0,An.r7)(Ft.expandedKeys,Qe):Ft.expandedKeys;else if(!ft&&Ft.defaultExpandAll){var Oe=(0,Ie.Z)({},Qe);delete Oe[it],ct.expandedKeys=Object.keys(Oe).map(function(xi){return Oe[xi].key})}else!ft&&Ft.defaultExpandedKeys&&(ct.expandedKeys=Ft.autoExpandParent||Ft.defaultExpandParent?(0,An.r7)(Ft.defaultExpandedKeys,Qe):Ft.defaultExpandedKeys);if(ct.expandedKeys||delete ct.expandedKeys,Ae||ct.expandedKeys){var xt=(0,ut.oH)(Ae||Ot.treeData,ct.expandedKeys||Ot.expandedKeys,xe);ct.flattenNodes=xt}if(Ft.selectable&&(Ge("selectedKeys")?ct.selectedKeys=(0,An.BT)(Ft.selectedKeys,Ft):!ft&&Ft.defaultSelectedKeys&&(ct.selectedKeys=(0,An.BT)(Ft.defaultSelectedKeys,Ft))),Ft.checkable){var hn;if(Ge("checkedKeys")?hn=(0,An.E6)(Ft.checkedKeys)||{}:!ft&&Ft.defaultCheckedKeys?hn=(0,An.E6)(Ft.defaultCheckedKeys)||{}:Ae&&(hn=(0,An.E6)(Ft.checkedKeys)||{checkedKeys:Ot.checkedKeys,halfCheckedKeys:Ot.halfCheckedKeys}),hn){var Pn=hn,wt=Pn.checkedKeys,nn=wt===void 0?[]:wt,Mn=Pn.halfCheckedKeys,Zn=Mn===void 0?[]:Mn;if(!Ft.checkStrictly){var li=(0,Kn.S)(nn,!0,Qe);nn=li.checkedKeys,Zn=li.halfCheckedKeys}ct.checkedKeys=nn,ct.halfCheckedKeys=Zn}}return Ge("loadedKeys")&&(ct.loadedKeys=Ft.loadedKeys),ct}}]),St}(ne.Component);Gn.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:ue,allowDrop:function(){return!0},expandAction:!1},Gn.TreeNode=$e.Z;var ii=Gn,Sn=ii},35654:function(_e,be,oe){"use strict";oe.d(be,{BT:function(){return ne},E6:function(){return me},L0:function(){return Ye},OM:function(){return ee},_5:function(){return Je},r7:function(){return Se},wA:function(){return ht},yx:function(){return tt}});var se=oe(26390),Ce=oe(80665),we=oe(51395),Ie=oe(59301),De=oe(39417),Ke=oe(67841),Ee=oe(71430),et=null;function Je(Ne,ke){if(!Ne)return[];var Te=Ne.slice(),We=Te.indexOf(ke);return We>=0&&Te.splice(We,1),Te}function Ye(Ne,ke){var Te=(Ne||[]).slice();return Te.indexOf(ke)===-1&&Te.push(ke),Te}function tt(Ne){return Ne.split("-")}function ht(Ne,ke){var Te=[],We=(0,Ke.Z)(ke,Ne);function $e(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];st.forEach(function(ut){var Mt=ut.key,nt=ut.children;Te.push(Mt),$e(nt)})}return $e(We.children),Te}function kt(Ne){if(Ne.parent){var ke=tt(Ne.pos);return Number(ke[ke.length-1])===Ne.parent.children.length-1}return!1}function ze(Ne){var ke=tt(Ne.pos);return Number(ke[ke.length-1])===0}function ee(Ne,ke,Te,We,$e,st,ut,Mt,nt,$t){var Pt,dn=Ne.clientX,zt=Ne.clientY,Xt=Ne.target.getBoundingClientRect(),fn=Xt.top,an=Xt.height,it=($t==="rtl"?-1:1)*((($e==null?void 0:$e.x)||0)-dn),Ve=(it-12)/We,gt=(0,Ke.Z)(Mt,Te.props.eventKey);if(zt-1.5?st({dragNode:Nn,dropNode:Gn,dropPosition:1})?An=1:ii=!1:st({dragNode:Nn,dropNode:Gn,dropPosition:0})?An=0:st({dragNode:Nn,dropNode:Gn,dropPosition:1})?An=1:ii=!1:st({dragNode:Nn,dropNode:Gn,dropPosition:1})?An=1:ii=!1,{dropPosition:An,dropLevelOffset:Kn,dropTargetKey:gt.key,dropTargetPos:gt.pos,dragOverNodeKey:ei,dropContainerKey:An===0?null:((Pt=gt.parent)===null||Pt===void 0?void 0:Pt.key)||null,dropAllowed:ii}}function ne(Ne,ke){if(Ne){var Te=ke.multiple;return Te?Ne.slice():Ne.length?[Ne[0]]:Ne}}var ge=function(ke){return ke};function ue(Ne,ke){if(!Ne)return[];var Te=ke||{},We=Te.processProps,$e=We===void 0?ge:We,st=Array.isArray(Ne)?Ne:[Ne];return st.map(function(ut){var Mt=ut.children,nt=_objectWithoutProperties(ut,et),$t=ue(Mt,ke);return React.createElement(TreeNode,_extends({key:nt.key},$e(nt)),$t)})}function me(Ne){if(!Ne)return null;var ke;if(Array.isArray(Ne))ke={checkedKeys:Ne,halfCheckedKeys:void 0};else if((0,Ce.Z)(Ne)==="object")ke={checkedKeys:Ne.checked||void 0,halfCheckedKeys:Ne.halfChecked||void 0};else return(0,we.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ke}function Se(Ne,ke){var Te=new Set;function We($e){if(!Te.has($e)){var st=(0,Ke.Z)(ke,$e);if(st){Te.add($e);var ut=st.parent,Mt=st.node;Mt.disabled||ut&&We(ut.key)}}}return(Ne||[]).forEach(function($e){We($e)}),(0,se.Z)(Te)}},90782:function(_e,be,oe){"use strict";oe.d(be,{S:function(){return Ee}});var se=oe(51395),Ce=oe(67841);function we(et,Je){var Ye=new Set;return et.forEach(function(tt){Je.has(tt)||Ye.add(tt)}),Ye}function Ie(et){var Je=et||{},Ye=Je.disabled,tt=Je.disableCheckbox,ht=Je.checkable;return!!(Ye||tt)||ht===!1}function De(et,Je,Ye,tt){for(var ht=new Set(et),kt=new Set,ze=0;ze<=Ye;ze+=1){var ee=Je.get(ze)||new Set;ee.forEach(function(me){var Se=me.key,Ne=me.node,ke=me.children,Te=ke===void 0?[]:ke;ht.has(Se)&&!tt(Ne)&&Te.filter(function(We){return!tt(We.node)}).forEach(function(We){ht.add(We.key)})})}for(var ne=new Set,ge=Ye;ge>=0;ge-=1){var ue=Je.get(ge)||new Set;ue.forEach(function(me){var Se=me.parent,Ne=me.node;if(!(tt(Ne)||!me.parent||ne.has(me.parent.key))){if(tt(me.parent.node)){ne.add(Se.key);return}var ke=!0,Te=!1;(Se.children||[]).filter(function(We){return!tt(We.node)}).forEach(function(We){var $e=We.key,st=ht.has($e);ke&&!st&&(ke=!1),!Te&&(st||kt.has($e))&&(Te=!0)}),ke&&ht.add(Se.key),Te&&kt.add(Se.key),ne.add(Se.key)}})}return{checkedKeys:Array.from(ht),halfCheckedKeys:Array.from(we(kt,ht))}}function Ke(et,Je,Ye,tt,ht){for(var kt=new Set(et),ze=new Set(Je),ee=0;ee<=tt;ee+=1){var ne=Ye.get(ee)||new Set;ne.forEach(function(Se){var Ne=Se.key,ke=Se.node,Te=Se.children,We=Te===void 0?[]:Te;!kt.has(Ne)&&!ze.has(Ne)&&!ht(ke)&&We.filter(function($e){return!ht($e.node)}).forEach(function($e){kt.delete($e.key)})})}ze=new Set;for(var ge=new Set,ue=tt;ue>=0;ue-=1){var me=Ye.get(ue)||new Set;me.forEach(function(Se){var Ne=Se.parent,ke=Se.node;if(!(ht(ke)||!Se.parent||ge.has(Se.parent.key))){if(ht(Se.parent.node)){ge.add(Ne.key);return}var Te=!0,We=!1;(Ne.children||[]).filter(function($e){return!ht($e.node)}).forEach(function($e){var st=$e.key,ut=kt.has(st);Te&&!ut&&(Te=!1),!We&&(ut||ze.has(st))&&(We=!0)}),Te||kt.delete(Ne.key),We&&ze.add(Ne.key),ge.add(Ne.key)}})}return{checkedKeys:Array.from(kt),halfCheckedKeys:Array.from(we(ze,kt))}}function Ee(et,Je,Ye,tt){var ht=[],kt;tt?kt=tt:kt=Ie;var ze=new Set(et.filter(function(ue){var me=!!(0,Ce.Z)(Ye,ue);return me||ht.push(ue),me})),ee=new Map,ne=0;Object.keys(Ye).forEach(function(ue){var me=Ye[ue],Se=me.level,Ne=ee.get(Se);Ne||(Ne=new Set,ee.set(Se,Ne)),Ne.add(me),ne=Math.max(ne,Se)}),(0,se.ZP)(!ht.length,"Tree missing follow keys: ".concat(ht.slice(0,100).map(function(ue){return"'".concat(ue,"'")}).join(", ")));var ge;return Je===!0?ge=De(ze,ee,ne,kt):ge=Ke(ze,Je.halfCheckedKeys,ee,ne,kt),ge}},67841:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return se}});function se(Ce,we){return Ce[we]}},71430:function(_e,be,oe){"use strict";oe.d(be,{F:function(){return Se},H8:function(){return me},I8:function(){return ue},km:function(){return ht},oH:function(){return ne},w$:function(){return kt},zn:function(){return ee}});var se=oe(80665),Ce=oe(26390),we=oe(57259),Ie=oe(19149),De=oe(38298),Ke=oe(64002),Ee=oe(51395),et=oe(67841),Je=["children"];function Ye(Ne,ke){return"".concat(Ne,"-").concat(ke)}function tt(Ne){return Ne&&Ne.type&&Ne.type.isTreeNode}function ht(Ne,ke){return Ne!=null?Ne:ke}function kt(Ne){var ke=Ne||{},Te=ke.title,We=ke._title,$e=ke.key,st=ke.children,ut=Te||"title";return{title:ut,_title:We||[ut],key:$e||"key",children:st||"children"}}function ze(Ne,ke){var Te=new Map;function We($e){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";($e||[]).forEach(function(ut){var Mt=ut[ke.key],nt=ut[ke.children];warning(Mt!=null,"Tree node must have a certain key: [".concat(st).concat(Mt,"]"));var $t=String(Mt);warning(!Te.has($t)||Mt===null||Mt===void 0,"Same 'key' exist in the Tree: ".concat($t)),Te.set($t,!0),We(nt,"".concat(st).concat($t," > "))})}We(Ne)}function ee(Ne){function ke(Te){var We=(0,De.Z)(Te);return We.map(function($e){if(!tt($e))return(0,Ee.ZP)(!$e,"Tree/TreeNode can only accept TreeNode as children."),null;var st=$e.key,ut=$e.props,Mt=ut.children,nt=(0,Ie.Z)(ut,Je),$t=(0,we.Z)({key:st},nt),Pt=ke(Mt);return Pt.length&&($t.children=Pt),$t}).filter(function($e){return $e})}return ke(Ne)}function ne(Ne,ke,Te){var We=kt(Te),$e=We._title,st=We.key,ut=We.children,Mt=new Set(ke===!0?[]:ke),nt=[];function $t(Pt){var dn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Pt.map(function(zt,Xt){for(var fn=Ye(dn?dn.pos:"0",Xt),an=ht(zt[st],fn),it,Ve=0;Ve<$e.length;Ve+=1){var gt=$e[Ve];if(zt[gt]!==void 0){it=zt[gt];break}}var Bt=(0,we.Z)((0,we.Z)({},(0,Ke.Z)(zt,[].concat((0,Ce.Z)($e),[st,ut]))),{},{title:it,key:an,parent:dn,pos:fn,children:null,data:zt,isStart:[].concat((0,Ce.Z)(dn?dn.isStart:[]),[Xt===0]),isEnd:[].concat((0,Ce.Z)(dn?dn.isEnd:[]),[Xt===Pt.length-1])});return nt.push(Bt),ke===!0||Mt.has(an)?Bt.children=$t(zt[ut]||[],Bt):Bt.children=[],Bt})}return $t(Ne),nt}function ge(Ne,ke,Te){var We={};(0,se.Z)(Te)==="object"?We=Te:We={externalGetKey:Te},We=We||{};var $e=We,st=$e.childrenPropName,ut=$e.externalGetKey,Mt=$e.fieldNames,nt=kt(Mt),$t=nt.key,Pt=nt.children,dn=st||Pt,zt;ut?typeof ut=="string"?zt=function(an){return an[ut]}:typeof ut=="function"&&(zt=function(an){return ut(an)}):zt=function(an,it){return ht(an[$t],it)};function Xt(fn,an,it,Ve){var gt=fn?fn[dn]:Ne,Bt=fn?Ye(it.pos,an):"0",sn=fn?[].concat((0,Ce.Z)(Ve),[fn]):[];if(fn){var It=zt(fn,Bt),en={node:fn,index:an,pos:Bt,key:It,parentPos:it.node?it.pos:null,level:it.level+1,nodes:sn};ke(en)}gt&>.forEach(function(En,ei){Xt(En,ei,{node:fn,pos:Bt,level:it?it.level+1:-1},sn)})}Xt(null)}function ue(Ne){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Te=ke.initWrapper,We=ke.processEntity,$e=ke.onProcessFinished,st=ke.externalGetKey,ut=ke.childrenPropName,Mt=ke.fieldNames,nt=arguments.length>2?arguments[2]:void 0,$t=st||nt,Pt={},dn={},zt={posEntities:Pt,keyEntities:dn};return Te&&(zt=Te(zt)||zt),ge(Ne,function(Xt){var fn=Xt.node,an=Xt.index,it=Xt.pos,Ve=Xt.key,gt=Xt.parentPos,Bt=Xt.level,sn=Xt.nodes,It={node:fn,nodes:sn,index:an,key:Ve,pos:it,level:Bt},en=ht(Ve,it);Pt[it]=It,dn[en]=It,It.parent=Pt[gt],It.parent&&(It.parent.children=It.parent.children||[],It.parent.children.push(It)),We&&We(It,zt)},{externalGetKey:$t,childrenPropName:ut,fieldNames:Mt}),$e&&$e(zt),zt}function me(Ne,ke){var Te=ke.expandedKeys,We=ke.selectedKeys,$e=ke.loadedKeys,st=ke.loadingKeys,ut=ke.checkedKeys,Mt=ke.halfCheckedKeys,nt=ke.dragOverNodeKey,$t=ke.dropPosition,Pt=ke.keyEntities,dn=(0,et.Z)(Pt,Ne),zt={eventKey:Ne,expanded:Te.indexOf(Ne)!==-1,selected:We.indexOf(Ne)!==-1,loaded:$e.indexOf(Ne)!==-1,loading:st.indexOf(Ne)!==-1,checked:ut.indexOf(Ne)!==-1,halfChecked:Mt.indexOf(Ne)!==-1,pos:String(dn?dn.pos:""),dragOver:nt===Ne&&$t===0,dragOverGapTop:nt===Ne&&$t===-1,dragOverGapBottom:nt===Ne&&$t===1};return zt}function Se(Ne){var ke=Ne.data,Te=Ne.expanded,We=Ne.selected,$e=Ne.checked,st=Ne.loaded,ut=Ne.loading,Mt=Ne.halfChecked,nt=Ne.dragOver,$t=Ne.dragOverGapTop,Pt=Ne.dragOverGapBottom,dn=Ne.pos,zt=Ne.active,Xt=Ne.eventKey,fn=(0,we.Z)((0,we.Z)({},ke),{},{expanded:Te,selected:We,checked:$e,loaded:st,loading:ut,halfChecked:Mt,dragOver:nt,dragOverGapTop:$t,dragOverGapBottom:Pt,pos:dn,active:zt,key:Xt});return"props"in fn||Object.defineProperty(fn,"props",{get:function(){return(0,Ee.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Ne}}),fn}},8178:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return Ce}});var se=oe(4676);function Ce(we,Ie,De,Ke){var Ee=se.unstable_batchedUpdates?function(Je){se.unstable_batchedUpdates(De,Je)}:De;return we!=null&&we.addEventListener&&we.addEventListener(Ie,Ee,Ke),{remove:function(){we!=null&&we.removeEventListener&&we.removeEventListener(Ie,Ee,Ke)}}}},21783:function(_e,be,oe){"use strict";oe.d(be,{g1:function(){return tt},os:function(){return kt}});var se=/margin|padding|width|height|max|min|offset/,Ce={left:!0,top:!0},we={cssFloat:1,styleFloat:1,float:1};function Ie(ze){return ze.nodeType===1?ze.ownerDocument.defaultView.getComputedStyle(ze,null):{}}function De(ze,ee,ne){if(ee=ee.toLowerCase(),ne==="auto"){if(ee==="height")return ze.offsetHeight;if(ee==="width")return ze.offsetWidth}return ee in Ce||(Ce[ee]=se.test(ee)),Ce[ee]?parseFloat(ne)||0:ne}function Ke(ze,ee){var ne=arguments.length,ge=Ie(ze);return ee=we[ee]?"cssFloat"in ze.style?"cssFloat":"styleFloat":ee,ne===1?ge:De(ze,ee,ge[ee]||ze.style[ee])}function Ee(ze,ee,ne){var ge=arguments.length;if(ee=we[ee]?"cssFloat"in ze.style?"cssFloat":"styleFloat":ee,ge===3)return typeof ne=="number"&&se.test(ee)&&(ne="".concat(ne,"px")),ze.style[ee]=ne,ne;for(var ue in ee)ee.hasOwnProperty(ue)&&Ee(ze,ue,ee[ue]);return Ie(ze)}function et(ze){return ze===document.body?document.documentElement.clientWidth:ze.offsetWidth}function Je(ze){return ze===document.body?window.innerHeight||document.documentElement.clientHeight:ze.offsetHeight}function Ye(){var ze=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ee=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ze,height:ee}}function tt(){var ze=document.documentElement.clientWidth,ee=window.innerHeight||document.documentElement.clientHeight;return{width:ze,height:ee}}function ht(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function kt(ze){var ee=ze.getBoundingClientRect(),ne=document.documentElement;return{left:ee.left+(window.pageXOffset||ne.scrollLeft)-(ne.clientLeft||document.body.clientLeft||0),top:ee.top+(window.pageYOffset||ne.scrollTop)-(ne.clientTop||document.body.clientTop||0)}}},24387:function(_e,be,oe){"use strict";oe.d(be,{G:function(){return Ie}});var se=oe(87746),Ce=function(Ke){if((0,se.Z)()&&window.document.documentElement){var Ee=Array.isArray(Ke)?Ke:[Ke],et=window.document.documentElement;return Ee.some(function(Je){return Je in et.style})}return!1},we=function(Ke,Ee){if(!Ce(Ke))return!1;var et=document.createElement("div"),Je=et.style[Ke];return et.style[Ke]=Ee,et.style[Ke]!==Je};function Ie(De,Ke){return!Array.isArray(De)&&Ke!==void 0?we(De,Ke):Ce(De)}},21881:function(_e,be,oe){"use strict";oe.d(be,{Z:function(){return ii}});var se=oe(5891),Ce=oe(80665),we=oe(57259),Ie=oe(80962),De=oe(29043),Ke=oe(19149),Ee=oe(92310),et=oe.n(Ee),Je=oe(29301),Ye=oe(80764),tt=oe(28800),ht=oe(59301),kt=oe(4676),ze=ht.forwardRef(function(Sn,Yt){var Zt=Sn.height,St=Sn.offsetY,rt=Sn.offsetX,Ft=Sn.children,Ot=Sn.prefixCls,ft=Sn.onInnerResize,ct=Sn.innerProps,Ge=Sn.rtl,Ae=Sn.extra,xe={},je={display:"flex",flexDirection:"column"};return St!==void 0&&(xe={height:Zt,position:"relative",overflow:"hidden"},je=(0,we.Z)((0,we.Z)({},je),{},(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({transform:"translateY(".concat(St,"px)")},Ge?"marginRight":"marginLeft",-rt),"position","absolute"),"left",0),"right",0),"top",0))),ht.createElement("div",{style:xe},ht.createElement(Je.Z,{onResize:function(Oe){var xt=Oe.offsetHeight;xt&&ft&&ft()}},ht.createElement("div",(0,se.Z)({style:je,className:et()((0,Ie.Z)({},"".concat(Ot,"-holder-inner"),Ot)),ref:Yt},ct),Ft,Ae)))});ze.displayName="Filler";var ee=ze;function ne(Sn){var Yt=Sn.children,Zt=Sn.setRef,St=ht.useCallback(function(rt){Zt(rt)},[]);return ht.cloneElement(Yt,{ref:St})}function ge(Sn,Yt,Zt,St,rt,Ft,Ot,ft){var ct=ft.getKey;return Sn.slice(Yt,Zt+1).map(function(Ge,Ae){var xe=Yt+Ae,je=Ot(Ge,xe,{style:{width:St},offsetX:rt}),Qe=ct(Ge);return ht.createElement(ne,{key:Qe,setRef:function(xt){return Ft(Ge,xt)}},je)})}function ue(Sn,Yt,Zt,St){var rt=Zt-Sn,Ft=Yt-Zt,Ot=Math.min(rt,Ft)*2;if(St<=Ot){var ft=Math.floor(St/2);return St%2?Zt+ft+1:Zt-ft}return rt>Ft?Zt-(St-Ft):Zt+(St-rt)}function me(Sn,Yt,Zt){var St=Sn.length,rt=Yt.length,Ft,Ot;if(St===0&&rt===0)return null;St2&&arguments[2]!==void 0?arguments[2]:!1,xe=ct?Ge<0&&ft.current.left||Ge>0&&ft.current.right:Ge<0&&ft.current.top||Ge>0&&ft.current.bottom;return Ae&&xe?(clearTimeout(Ft.current),rt.current=!1):(!xe||rt.current)&&Ot(),!rt.current&&xe}};function $e(Sn,Yt,Zt,St,rt,Ft,Ot){var ft=(0,ht.useRef)(0),ct=(0,ht.useRef)(null),Ge=(0,ht.useRef)(null),Ae=(0,ht.useRef)(!1),xe=We(Yt,Zt,St,rt);function je(wt,nn){if(Ne.Z.cancel(ct.current),!xe(!1,nn)){var Mn=wt;if(!Mn._virtualHandled)Mn._virtualHandled=!0;else return;ft.current+=nn,Ge.current=nn,Te||Mn.preventDefault(),ct.current=(0,Ne.Z)(function(){var Zn=Ae.current?10:1;Ot(ft.current*Zn,!1),ft.current=0})}}function Qe(wt,nn){Ot(nn,!0),Te||wt.preventDefault()}var Oe=(0,ht.useRef)(null),xt=(0,ht.useRef)(null);function hn(wt){if(Sn){Ne.Z.cancel(xt.current),xt.current=(0,Ne.Z)(function(){Oe.current=null},2);var nn=wt.deltaX,Mn=wt.deltaY,Zn=wt.shiftKey,li=nn,xi=Mn;(Oe.current==="sx"||!Oe.current&&Zn&&Mn&&!nn)&&(li=Mn,xi=0,Oe.current="sx");var Mi=Math.abs(li),Si=Math.abs(xi);Oe.current===null&&(Oe.current=Ft&&Mi>Si?"x":"y"),Oe.current==="y"?je(wt,xi):Qe(wt,li)}}function Pn(wt){Sn&&(Ae.current=wt.detail===Ge.current)}return[hn,Pn]}function st(Sn,Yt,Zt,St){var rt=ht.useMemo(function(){return[new Map,[]]},[Sn,Zt.id,St]),Ft=(0,De.Z)(rt,2),Ot=Ft[0],ft=Ft[1],ct=function(Ae){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ae,je=Ot.get(Ae),Qe=Ot.get(xe);if(je===void 0||Qe===void 0)for(var Oe=Sn.length,xt=ft.length;xt0&&arguments[0]!==void 0?arguments[0]:!1;Ae();var Oe=function(){var Pn=!1;ft.current.forEach(function(wt,nn){if(wt&&wt.offsetParent){var Mn=(0,ut.ZP)(wt),Zn=Mn.offsetHeight,li=getComputedStyle(Mn),xi=li.marginTop,Mi=li.marginBottom,Si=dn(xi),Ri=dn(Mi),lr=Zn+Si+Ri;ct.current.get(nn)!==lr&&(ct.current.set(nn,lr),Pn=!0)}}),Pn&&Ot(function(wt){return wt+1})};if(Qe)Oe();else{Ge.current+=1;var xt=Ge.current;Promise.resolve().then(function(){xt===Ge.current&&Oe()})}}function je(Qe,Oe){var xt=Sn(Qe),hn=ft.current.get(xt);Oe?(ft.current.set(xt,Oe),xe()):ft.current.delete(xt),!hn!=!Oe&&(Oe?Yt==null||Yt(Qe):Zt==null||Zt(Qe))}return(0,ht.useEffect)(function(){return Ae},[]),[je,xe,ct.current,Ft]}var Xt=14/15;function fn(Sn,Yt,Zt){var St=(0,ht.useRef)(!1),rt=(0,ht.useRef)(0),Ft=(0,ht.useRef)(0),Ot=(0,ht.useRef)(null),ft=(0,ht.useRef)(null),ct,Ge=function(Qe){if(St.current){var Oe=Math.ceil(Qe.touches[0].pageX),xt=Math.ceil(Qe.touches[0].pageY),hn=rt.current-Oe,Pn=Ft.current-xt,wt=Math.abs(hn)>Math.abs(Pn);wt?rt.current=Oe:Ft.current=xt;var nn=Zt(wt,wt?hn:Pn,!1,Qe);nn&&Qe.preventDefault(),clearInterval(ft.current),nn&&(ft.current=setInterval(function(){wt?hn*=Xt:Pn*=Xt;var Mn=Math.floor(wt?hn:Pn);(!Zt(wt,Mn,!0)||Math.abs(Mn)<=.1)&&clearInterval(ft.current)},16))}},Ae=function(){St.current=!1,ct()},xe=function(Qe){ct(),Qe.touches.length===1&&!St.current&&(St.current=!0,rt.current=Math.ceil(Qe.touches[0].pageX),Ft.current=Math.ceil(Qe.touches[0].pageY),Ot.current=Qe.target,Ot.current.addEventListener("touchmove",Ge,{passive:!1}),Ot.current.addEventListener("touchend",Ae,{passive:!0}))};ct=function(){Ot.current&&(Ot.current.removeEventListener("touchmove",Ge),Ot.current.removeEventListener("touchend",Ae))},(0,tt.Z)(function(){return Sn&&Yt.current.addEventListener("touchstart",xe,{passive:!0}),function(){var je;(je=Yt.current)===null||je===void 0||je.removeEventListener("touchstart",xe),ct(),clearInterval(ft.current)}},[Sn])}function an(Sn){return Math.floor(Math.pow(Sn,.5))}function it(Sn,Yt){var Zt="touches"in Sn?Sn.touches[0]:Sn;return Zt[Yt?"pageX":"pageY"]-window[Yt?"scrollX":"scrollY"]}function Ve(Sn,Yt,Zt){ht.useEffect(function(){var St=Yt.current;if(Sn&&St){var rt=!1,Ft,Ot,ft=function(){Ne.Z.cancel(Ft)},ct=function je(){ft(),Ft=(0,Ne.Z)(function(){Zt(Ot),je()})},Ge=function(Qe){var Oe=Qe;Oe._virtualHandled||(Oe._virtualHandled=!0,rt=!0)},Ae=function(){rt=!1,ft()},xe=function(Qe){if(rt){var Oe=it(Qe,!1),xt=St.getBoundingClientRect(),hn=xt.top,Pn=xt.bottom;if(Oe<=hn){var wt=hn-Oe;Ot=-an(wt),ct()}else if(Oe>=Pn){var nn=Oe-Pn;Ot=an(nn),ct()}else ft()}};return St.addEventListener("mousedown",Ge),St.ownerDocument.addEventListener("mouseup",Ae),St.ownerDocument.addEventListener("mousemove",xe),function(){St.removeEventListener("mousedown",Ge),St.ownerDocument.removeEventListener("mouseup",Ae),St.ownerDocument.removeEventListener("mousemove",xe),ft()}}},[Sn])}var gt=10;function Bt(Sn,Yt,Zt,St,rt,Ft,Ot,ft){var ct=ht.useRef(),Ge=ht.useState(null),Ae=(0,De.Z)(Ge,2),xe=Ae[0],je=Ae[1];return(0,tt.Z)(function(){if(xe&&xe.times=0;Sr-=1){var Wr=rt(Yt[Sr]),Gi=Zt.get(Wr);if(Gi===void 0){wt=!0;break}if(ur-=Gi,ur<=0)break}switch(Zn){case"top":Mn=xi-hn;break;case"bottom":Mn=Mi-Pn+hn;break;default:{var Zr=Sn.current.scrollTop,Yi=Zr+Pn;xiYi&&(nn="bottom")}}Mn!==null&&Ot(Mn),Mn!==xe.lastTop&&(wt=!0)}wt&&je((0,we.Z)((0,we.Z)({},xe),{},{times:xe.times+1,targetAlign:nn,lastTop:Mn}))}},[xe,Sn.current]),function(Qe){if(Qe==null){ft();return}if(Ne.Z.cancel(ct.current),typeof Qe=="number")Ot(Qe);else if(Qe&&(0,Ce.Z)(Qe)==="object"){var Oe,xt=Qe.align;"index"in Qe?Oe=Qe.index:Oe=Yt.findIndex(function(wt){return rt(wt)===Qe.key});var hn=Qe.offset,Pn=hn===void 0?0:hn;je({times:0,index:Oe,offset:Pn,originAlign:xt})}}}var sn=ht.forwardRef(function(Sn,Yt){var Zt=Sn.prefixCls,St=Sn.rtl,rt=Sn.scrollOffset,Ft=Sn.scrollRange,Ot=Sn.onStartMove,ft=Sn.onStopMove,ct=Sn.onScroll,Ge=Sn.horizontal,Ae=Sn.spinSize,xe=Sn.containerSize,je=Sn.style,Qe=Sn.thumbStyle,Oe=ht.useState(!1),xt=(0,De.Z)(Oe,2),hn=xt[0],Pn=xt[1],wt=ht.useState(null),nn=(0,De.Z)(wt,2),Mn=nn[0],Zn=nn[1],li=ht.useState(null),xi=(0,De.Z)(li,2),Mi=xi[0],Si=xi[1],Ri=!St,lr=ht.useRef(),dr=ht.useRef(),ur=ht.useState(!1),Sr=(0,De.Z)(ur,2),Wr=Sr[0],Gi=Sr[1],Zr=ht.useRef(),Yi=function(){clearTimeout(Zr.current),Gi(!0),Zr.current=setTimeout(function(){Gi(!1)},3e3)},Ue=Ft-xe||0,no=xe-Ae||0,pr=ht.useMemo(function(){if(rt===0||Ue===0)return 0;var Nt=rt/Ue;return Nt*no},[rt,Ue,no]),fo=function(On){On.stopPropagation(),On.preventDefault()},Fo=ht.useRef({top:pr,dragging:hn,pageY:Mn,startTop:Mi});Fo.current={top:pr,dragging:hn,pageY:Mn,startTop:Mi};var Vo=function(On){Pn(!0),Zn(it(On,Ge)),Si(Fo.current.top),Ot(),On.stopPropagation(),On.preventDefault()};ht.useEffect(function(){var Nt=function(yt){yt.preventDefault()},On=lr.current,Un=dr.current;return On.addEventListener("touchstart",Nt,{passive:!1}),Un.addEventListener("touchstart",Vo,{passive:!1}),function(){On.removeEventListener("touchstart",Nt),Un.removeEventListener("touchstart",Vo)}},[]);var Io=ht.useRef();Io.current=Ue;var Oi=ht.useRef();Oi.current=no,ht.useEffect(function(){if(hn){var Nt,On=function(yt){var In=Fo.current,zn=In.dragging,mi=In.pageY,Rn=In.startTop;Ne.Z.cancel(Nt);var bt=lr.current.getBoundingClientRect(),Ut=xe/(Ge?bt.width:bt.height);if(zn){var Ln=(it(yt,Ge)-mi)*Ut,ni=Rn;!Ri&&Ge?ni-=Ln:ni+=Ln;var Gt=Io.current,yn=Oi.current,Qt=yn?ni/yn:0,un=Math.ceil(Qt*Gt);un=Math.max(un,0),un=Math.min(un,Gt),Nt=(0,Ne.Z)(function(){ct(un,Ge)})}},Un=function(){Pn(!1),ft()};return window.addEventListener("mousemove",On,{passive:!0}),window.addEventListener("touchmove",On,{passive:!0}),window.addEventListener("mouseup",Un,{passive:!0}),window.addEventListener("touchend",Un,{passive:!0}),function(){window.removeEventListener("mousemove",On),window.removeEventListener("touchmove",On),window.removeEventListener("mouseup",Un),window.removeEventListener("touchend",Un),Ne.Z.cancel(Nt)}}},[hn]),ht.useEffect(function(){return Yi(),function(){clearTimeout(Zr.current)}},[rt]),ht.useImperativeHandle(Yt,function(){return{delayHidden:Yi}});var on="".concat(Zt,"-scrollbar"),ln={position:"absolute",visibility:Wr?null:"hidden"},qt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return Ge?(ln.height=8,ln.left=0,ln.right=0,ln.bottom=0,qt.height="100%",qt.width=Ae,Ri?qt.left=pr:qt.right=pr):(ln.width=8,ln.top=0,ln.bottom=0,Ri?ln.right=0:ln.left=0,qt.width="100%",qt.height=Ae,qt.top=pr),ht.createElement("div",{ref:lr,className:et()(on,(0,Ie.Z)((0,Ie.Z)((0,Ie.Z)({},"".concat(on,"-horizontal"),Ge),"".concat(on,"-vertical"),!Ge),"".concat(on,"-visible"),Wr)),style:(0,we.Z)((0,we.Z)({},ln),je),onMouseDown:fo,onMouseMove:Yi},ht.createElement("div",{ref:dr,className:et()("".concat(on,"-thumb"),(0,Ie.Z)({},"".concat(on,"-thumb-moving"),hn)),style:(0,we.Z)((0,we.Z)({},qt),Qe),onMouseDown:Vo}))}),It=sn,en=20;function En(){var Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Zt=Sn/Yt*Sn;return isNaN(Zt)&&(Zt=0),Zt=Math.max(Zt,en),Math.floor(Zt)}var ei=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],An=[],Kn={overflowY:"auto",overflowAnchor:"none"};function jt(Sn,Yt){var Zt=Sn.prefixCls,St=Zt===void 0?"rc-virtual-list":Zt,rt=Sn.className,Ft=Sn.height,Ot=Sn.itemHeight,ft=Sn.fullHeight,ct=ft===void 0?!0:ft,Ge=Sn.style,Ae=Sn.data,xe=Sn.children,je=Sn.itemKey,Qe=Sn.virtual,Oe=Sn.direction,xt=Sn.scrollWidth,hn=Sn.component,Pn=hn===void 0?"div":hn,wt=Sn.onScroll,nn=Sn.onVirtualScroll,Mn=Sn.onVisibleChange,Zn=Sn.innerProps,li=Sn.extraRender,xi=Sn.styles,Mi=(0,Ke.Z)(Sn,ei),Si=ht.useCallback(function(Mr){return typeof je=="function"?je(Mr):Mr==null?void 0:Mr[je]},[je]),Ri=zt(Si,null,null),lr=(0,De.Z)(Ri,4),dr=lr[0],ur=lr[1],Sr=lr[2],Wr=lr[3],Gi=!!(Qe!==!1&&Ft&&Ot),Zr=ht.useMemo(function(){return Object.values(Sr.maps).reduce(function(Mr,mr){return Mr+mr},0)},[Sr.id,Sr.maps]),Yi=Gi&&Ae&&(Math.max(Ot*Ae.length,Zr)>Ft||!!xt),Ue=Oe==="rtl",no=et()(St,(0,Ie.Z)({},"".concat(St,"-rtl"),Ue),rt),pr=Ae||An,fo=(0,ht.useRef)(),Fo=(0,ht.useRef)(),Vo=(0,ht.useRef)(),Io=(0,ht.useState)(0),Oi=(0,De.Z)(Io,2),on=Oi[0],ln=Oi[1],qt=(0,ht.useState)(0),Nt=(0,De.Z)(qt,2),On=Nt[0],Un=Nt[1],Vt=(0,ht.useState)(!1),yt=(0,De.Z)(Vt,2),In=yt[0],zn=yt[1],mi=function(){zn(!0)},Rn=function(){zn(!1)},bt={getKey:Si};function Ut(Mr){ln(function(mr){var co;typeof Mr=="function"?co=Mr(mr):co=Mr;var Uo=hr(co);return fo.current.scrollTop=Uo,Uo})}var Ln=(0,ht.useRef)({start:0,end:pr.length}),ni=(0,ht.useRef)(),Gt=Se(pr,Si),yn=(0,De.Z)(Gt,1),Qt=yn[0];ni.current=Qt;var un=ht.useMemo(function(){if(!Gi)return{scrollHeight:void 0,start:0,end:pr.length-1,offset:void 0};if(!Yi){var Mr;return{scrollHeight:((Mr=Fo.current)===null||Mr===void 0?void 0:Mr.offsetHeight)||0,start:0,end:pr.length-1,offset:void 0}}for(var mr=0,co,Uo,ao,ra=pr.length,gr=0;gr=on&&co===void 0&&(co=gr,Uo=mr),bo>on+Ft&&ao===void 0&&(ao=gr),mr=bo}return co===void 0&&(co=0,Uo=0,ao=Math.ceil(Ft/Ot)),ao===void 0&&(ao=pr.length-1),ao=Math.min(ao+1,pr.length-1),{scrollHeight:mr,start:co,end:ao,offset:Uo}},[Yi,Gi,on,pr,Wr,Ft]),wn=un.scrollHeight,gn=un.start,kn=un.end,Bn=un.offset;Ln.current.start=gn,Ln.current.end=kn,ht.useLayoutEffect(function(){var Mr=Sr.getRecord();if(Mr.size===1){var mr=Array.from(Mr)[0],co=Si(pr[gn]);if(co===mr){var Uo=Sr.get(mr),ao=Uo-Ot;Ut(function(ra){return ra+ao})}}Sr.resetRecord()},[wn]);var Vn=ht.useState({width:0,height:Ft}),Jn=(0,De.Z)(Vn,2),Wn=Jn[0],gi=Jn[1],Fi=function(mr){gi({width:mr.offsetWidth,height:mr.offsetHeight})},ir=(0,ht.useRef)(),zi=(0,ht.useRef)(),tn=ht.useMemo(function(){return En(Wn.width,xt)},[Wn.width,xt]),Ai=ht.useMemo(function(){return En(Wn.height,wn)},[Wn.height,wn]),Bi=wn-Ft,Ti=(0,ht.useRef)(Bi);Ti.current=Bi;function hr(Mr){var mr=Mr;return Number.isNaN(Ti.current)||(mr=Math.min(mr,Ti.current)),mr=Math.max(mr,0),mr}var tr=on<=0,br=on>=Bi,Xi=On<=0,Hi=On>=xt,Ir=We(tr,br,Xi,Hi),Ht=function(){return{x:Ue?-On:On,y:on}},Kr=(0,ht.useRef)(Ht()),Fn=(0,Ye.useEvent)(function(Mr){if(nn){var mr=(0,we.Z)((0,we.Z)({},Ht()),Mr);(Kr.current.x!==mr.x||Kr.current.y!==mr.y)&&(nn(mr),Kr.current=mr)}});function kr(Mr,mr){var co=Mr;mr?((0,kt.flushSync)(function(){Un(co)}),Fn()):Ut(co)}function Go(Mr){var mr=Mr.currentTarget.scrollTop;mr!==on&&Ut(mr),wt==null||wt(Mr),Fn()}var Dr=function(mr){var co=mr,Uo=xt?xt-Wn.width:0;return co=Math.max(co,0),co=Math.min(co,Uo),co},po=(0,Ye.useEvent)(function(Mr,mr){mr?((0,kt.flushSync)(function(){Un(function(co){var Uo=co+(Ue?-Mr:Mr);return Dr(Uo)})}),Fn()):Ut(function(co){var Uo=co+Mr;return Uo})}),Do=$e(Gi,tr,br,Xi,Hi,!!xt,po),Ji=(0,De.Z)(Do,2),or=Ji[0],io=Ji[1];fn(Gi,fo,function(Mr,mr,co,Uo){var ao=Uo;return Ir(Mr,mr,co)?!1:!ao||!ao._virtualHandled?(ao&&(ao._virtualHandled=!0),or({preventDefault:function(){},deltaX:Mr?mr:0,deltaY:Mr?0:mr}),!0):!1}),Ve(Yi,fo,function(Mr){Ut(function(mr){return mr+Mr})}),(0,tt.Z)(function(){function Mr(co){var Uo=tr&&co.detail<0,ao=br&&co.detail>0;Gi&&!Uo&&!ao&&co.preventDefault()}var mr=fo.current;return mr.addEventListener("wheel",or,{passive:!1}),mr.addEventListener("DOMMouseScroll",io,{passive:!0}),mr.addEventListener("MozMousePixelScroll",Mr,{passive:!1}),function(){mr.removeEventListener("wheel",or),mr.removeEventListener("DOMMouseScroll",io),mr.removeEventListener("MozMousePixelScroll",Mr)}},[Gi,tr,br]),(0,tt.Z)(function(){if(xt){var Mr=Dr(On);Un(Mr),Fn({x:Mr})}},[Wn.width,xt]);var Gr=function(){var mr,co;(mr=ir.current)===null||mr===void 0||mr.delayHidden(),(co=zi.current)===null||co===void 0||co.delayHidden()},Ii=Bt(fo,pr,Sr,Ot,Si,function(){return ur(!0)},Ut,Gr);ht.useImperativeHandle(Yt,function(){return{nativeElement:Vo.current,getScrollInfo:Ht,scrollTo:function(mr){function co(Uo){return Uo&&(0,Ce.Z)(Uo)==="object"&&("left"in Uo||"top"in Uo)}co(mr)?(mr.left!==void 0&&Un(Dr(mr.left)),Ii(mr.top)):Ii(mr)}}}),(0,tt.Z)(function(){if(Mn){var Mr=pr.slice(gn,kn+1);Mn(Mr,pr)}},[gn,kn,pr]);var lt=st(pr,Si,Sr,Ot),Rr=li==null?void 0:li({start:gn,end:kn,virtual:Yi,offsetX:On,offsetY:Bn,rtl:Ue,getSize:lt}),Ko=ge(pr,gn,kn,xt,On,dr,xe,bt),Yr=null;Ft&&(Yr=(0,we.Z)((0,Ie.Z)({},ct?"height":"maxHeight",Ft),Kn),Gi&&(Yr.overflowY="hidden",xt&&(Yr.overflowX="hidden"),In&&(Yr.pointerEvents="none")));var yo={};return Ue&&(yo.dir="rtl"),ht.createElement("div",(0,se.Z)({ref:Vo,style:(0,we.Z)((0,we.Z)({},Ge),{},{position:"relative"}),className:no},yo,Mi),ht.createElement(Je.Z,{onResize:Fi},ht.createElement(Pn,{className:"".concat(St,"-holder"),style:Yr,ref:fo,onScroll:Go,onMouseEnter:Gr},ht.createElement(ee,{prefixCls:St,height:wn,offsetX:On,offsetY:Bn,scrollWidth:xt,onInnerResize:ur,ref:Fo,innerProps:Zn,rtl:Ue,extra:Rr},Ko))),Yi&&wn>Ft&&ht.createElement(It,{ref:ir,prefixCls:St,scrollOffset:on,scrollRange:wn,rtl:Ue,onScroll:kr,onStartMove:mi,onStopMove:Rn,spinSize:Ai,containerSize:Wn.height,style:xi==null?void 0:xi.verticalScrollBar,thumbStyle:xi==null?void 0:xi.verticalScrollBarThumb}),Yi&&xt>Wn.width&&ht.createElement(It,{ref:zi,prefixCls:St,scrollOffset:On,scrollRange:xt,rtl:Ue,onScroll:kr,onStartMove:mi,onStopMove:Rn,spinSize:tn,containerSize:Wn.width,horizontal:!0,style:xi==null?void 0:xi.horizontalScrollBar,thumbStyle:xi==null?void 0:xi.horizontalScrollBarThumb}))}var Nn=ht.forwardRef(jt);Nn.displayName="List";var Gn=Nn,ii=Gn},19524:function(_e,be,oe){"use strict";oe(84126);var se=oe(59301),Ce=60103;if(be.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var we=Symbol.for;Ce=we("react.element"),be.Fragment=we("react.fragment")}var Ie=se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,De=Object.prototype.hasOwnProperty,Ke={key:!0,ref:!0,__self:!0,__source:!0};function Ee(et,Je,Ye){var tt,ht={},kt=null,ze=null;Ye!==void 0&&(kt=""+Ye),Je.key!==void 0&&(kt=""+Je.key),Je.ref!==void 0&&(ze=Je.ref);for(tt in Je)De.call(Je,tt)&&!Ke.hasOwnProperty(tt)&&(ht[tt]=Je[tt]);if(et&&et.defaultProps)for(tt in Je=et.defaultProps,Je)ht[tt]===void 0&&(ht[tt]=Je[tt]);return{$$typeof:Ce,type:et,key:kt,ref:ze,props:ht,_owner:Ie.current}}be.jsx=Ee,be.jsxs=Ee},37712:function(_e,be,oe){"use strict";_e.exports=oe(19524)},95489:function(_e,be,oe){"use strict";var se=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof oe.g=="object"?oe.g:{},Ce=ke();se.Prism={manual:!0,disableWorkerMessageHandler:!0};var we=oe(43621),Ie=oe(12256),De=oe(68398),Ke=oe(70614),Ee=oe(54212),et=oe(9720),Je=oe(88786);Ce();var Ye={}.hasOwnProperty;function tt(){}tt.prototype=De;var ht=new tt;_e.exports=ht,ht.highlight=ee,ht.register=kt,ht.alias=ze,ht.registered=ne,ht.listLanguages=ge,kt(Ke),kt(Ee),kt(et),kt(Je),ht.util.encode=Se,ht.Token.stringify=ue;function kt(Te){if(typeof Te!="function"||!Te.displayName)throw new Error("Expected `function` for `grammar`, got `"+Te+"`");ht.languages[Te.displayName]===void 0&&Te(ht)}function ze(Te,We){var $e=ht.languages,st=Te,ut,Mt,nt,$t;We&&(st={},st[Te]=We);for(ut in st)for(Mt=st[ut],Mt=typeof Mt=="string"?[Mt]:Mt,nt=Mt.length,$t=-1;++$t]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(_e){"use strict";_e.exports=be,be.displayName="abnf",be.aliases=[];function be(oe){(function(se){var Ce="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";se.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+Ce+"|<"+Ce+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(oe)}},42746:function(_e){"use strict";_e.exports=be,be.displayName="actionscript",be.aliases=[];function be(oe){oe.languages.actionscript=oe.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),oe.languages.actionscript["class-name"].alias="function",delete oe.languages.actionscript.parameter,delete oe.languages.actionscript["literal-property"],oe.languages.markup&&oe.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:oe.languages.markup}})}},93281:function(_e){"use strict";_e.exports=be,be.displayName="ada",be.aliases=[];function be(oe){oe.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(_e){"use strict";_e.exports=be,be.displayName="agda",be.aliases=[];function be(oe){(function(se){se.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(oe)}},65924:function(_e){"use strict";_e.exports=be,be.displayName="al",be.aliases=[];function be(oe){oe.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(_e){"use strict";_e.exports=be,be.displayName="antlr4",be.aliases=["g4"];function be(oe){oe.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},oe.languages.g4=oe.languages.antlr4}},43556:function(_e){"use strict";_e.exports=be,be.displayName="apacheconf",be.aliases=[];function be(oe){oe.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(_e,be,oe){"use strict";var se=oe(69435);_e.exports=Ce,Ce.displayName="apex",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){var De=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,Ke=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return De.source});function Ee(Je){return RegExp(Je.replace(//g,function(){return Ke}),"i")}var et={keyword:De,punctuation:/[()\[\]{};,:.<>]/};Ie.languages.apex={comment:Ie.languages.clike.comment,string:Ie.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:Ie.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:Ee(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:et},{pattern:Ee(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:et},{pattern:Ee(/(?=\s*\w+\s*[;=,(){:])/.source),inside:et}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:De,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(we)}},4248:function(_e){"use strict";_e.exports=be,be.displayName="apl",be.aliases=[];function be(oe){oe.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(_e){"use strict";_e.exports=be,be.displayName="applescript",be.aliases=[];function be(oe){oe.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(_e){"use strict";_e.exports=be,be.displayName="aql",be.aliases=[];function be(oe){oe.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(_e,be,oe){"use strict";var se=oe(87071);_e.exports=Ce,Ce.displayName="arduino",Ce.aliases=["ino"];function Ce(we){we.register(se),we.languages.arduino=we.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),we.languages.ino=we.languages.arduino}},22956:function(_e){"use strict";_e.exports=be,be.displayName="arff",be.aliases=[];function be(oe){oe.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(_e){"use strict";_e.exports=be,be.displayName="asciidoc",be.aliases=["adoc"];function be(oe){(function(se){var Ce={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},we=se.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:Ce,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:Ce.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:Ce,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function Ie(De){De=De.split(" ");for(var Ke={},Ee=0,et=De.length;Ee>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(_e,be,oe){"use strict";var se=oe(87648);_e.exports=Ce,Ce.displayName="aspnet",Ce.aliases=[];function Ce(we){we.register(se),we.languages.aspnet=we.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:we.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:we.languages.csharp}}}),we.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,we.languages.insertBefore("inside","punctuation",{directive:we.languages.aspnet.directive},we.languages.aspnet.tag.inside["attr-value"]),we.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),we.languages.insertBefore("aspnet",we.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:we.languages.csharp||{}}})}},20803:function(_e){"use strict";_e.exports=be,be.displayName="autohotkey",be.aliases=[];function be(oe){oe.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(_e){"use strict";_e.exports=be,be.displayName="autoit",be.aliases=[];function be(oe){oe.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(_e){"use strict";_e.exports=be,be.displayName="avisynth",be.aliases=["avs"];function be(oe){(function(se){function Ce(Je,Ye){return Je.replace(/<<(\d+)>>/g,function(tt,ht){return Ye[+ht]})}function we(Je,Ye,tt){return RegExp(Ce(Je,Ye),tt||"")}var Ie=/bool|clip|float|int|string|val/.source,De=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),Ke=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),Ee=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),et=[De,Ke,Ee].join("|");se.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:we(/\b(?:<<0>>)\s+("?)\w+\1/.source,[Ie],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:we(/\b(?:<<0>>)\b/.source,[et],"i"),alias:"function"},"type-cast":{pattern:we(/\b(?:<<0>>)(?=\s*\()/.source,[Ie],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},se.languages.avs=se.languages.avisynth})(oe)}},79571:function(_e){"use strict";_e.exports=be,be.displayName="avroIdl",be.aliases=[];function be(oe){oe.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},oe.languages.avdl=oe.languages["avro-idl"]}},3058:function(_e){"use strict";_e.exports=be,be.displayName="bash",be.aliases=["shell"];function be(oe){(function(se){var Ce="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",we={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},Ie={bash:we,environment:{pattern:RegExp("\\$"+Ce),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+Ce),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};se.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+Ce),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:Ie},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:we}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:Ie},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:Ie.entity}}],environment:{pattern:RegExp("\\$?"+Ce),alias:"constant"},variable:Ie.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},we.inside=se.languages.bash;for(var De=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],Ke=Ie.variable[1].inside,Ee=0;Ee?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(_e){"use strict";_e.exports=be,be.displayName="batch",be.aliases=[];function be(oe){(function(se){var Ce=/%%?[~:\w]+%?|!\S+!/,we={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},Ie=/"(?:[\\"]"|[^"])*"(?!")/,De=/(?:\b|-)\d+\b/;se.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:Ie,parameter:we,variable:Ce,number:De,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:Ie,parameter:we,variable:Ce,number:De,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:Ie,parameter:we,variable:[Ce,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:De,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:Ie,parameter:we,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:Ce,number:De,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(oe)}},2505:function(_e){"use strict";_e.exports=be,be.displayName="bbcode",be.aliases=["shortcode"];function be(oe){oe.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},oe.languages.shortcode=oe.languages.bbcode}},51274:function(_e){"use strict";_e.exports=be,be.displayName="bicep",be.aliases=[];function be(oe){oe.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},oe.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=oe.languages.bicep}},23796:function(_e){"use strict";_e.exports=be,be.displayName="birb",be.aliases=[];function be(oe){oe.languages.birb=oe.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),oe.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(_e,be,oe){"use strict";var se=oe(79440);_e.exports=Ce,Ce.displayName="bison",Ce.aliases=[];function Ce(we){we.register(se),we.languages.bison=we.languages.extend("c",{}),we.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:we.languages.c}},comment:we.languages.c.comment,string:we.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(_e){"use strict";_e.exports=be,be.displayName="bnf",be.aliases=["rbnf"];function be(oe){oe.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},oe.languages.rbnf=oe.languages.bnf}},47035:function(_e){"use strict";_e.exports=be,be.displayName="brainfuck",be.aliases=[];function be(oe){oe.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(_e){"use strict";_e.exports=be,be.displayName="brightscript",be.aliases=[];function be(oe){oe.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},oe.languages.brightscript["directive-statement"].inside.expression.inside=oe.languages.brightscript}},85290:function(_e){"use strict";_e.exports=be,be.displayName="bro",be.aliases=[];function be(oe){oe.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(_e){"use strict";_e.exports=be,be.displayName="bsl",be.aliases=[];function be(oe){oe.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},oe.languages.oscript=oe.languages.bsl}},79440:function(_e){"use strict";_e.exports=be,be.displayName="c",be.aliases=[];function be(oe){oe.languages.c=oe.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),oe.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),oe.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},oe.languages.c.string],char:oe.languages.c.char,comment:oe.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:oe.languages.c}}}}),oe.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete oe.languages.c.boolean}},7110:function(_e){"use strict";_e.exports=be,be.displayName="cfscript",be.aliases=[];function be(oe){oe.languages.cfscript=oe.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),oe.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete oe.languages.cfscript["class-name"],oe.languages.cfc=oe.languages.cfscript}},73435:function(_e,be,oe){"use strict";var se=oe(87071);_e.exports=Ce,Ce.displayName="chaiscript",Ce.aliases=[];function Ce(we){we.register(se),we.languages.chaiscript=we.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[we.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),we.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),we.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:we.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(_e){"use strict";_e.exports=be,be.displayName="cil",be.aliases=[];function be(oe){oe.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(_e){"use strict";_e.exports=be,be.displayName="clike",be.aliases=[];function be(oe){oe.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(_e){"use strict";_e.exports=be,be.displayName="clojure",be.aliases=[];function be(oe){oe.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(_e){"use strict";_e.exports=be,be.displayName="cmake",be.aliases=[];function be(oe){oe.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(_e){"use strict";_e.exports=be,be.displayName="cobol",be.aliases=[];function be(oe){oe.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(_e){"use strict";_e.exports=be,be.displayName="coffeescript",be.aliases=["coffee"];function be(oe){(function(se){var Ce=/#(?!\{).+/,we={pattern:/#\{[^}]+\}/,alias:"variable"};se.languages.coffeescript=se.languages.extend("javascript",{comment:Ce,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:we}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),se.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:Ce,interpolation:we}}}),se.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:se.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:we}}]}),se.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete se.languages.coffeescript["template-string"],se.languages.coffee=se.languages.coffeescript})(oe)}},35348:function(_e){"use strict";_e.exports=be,be.displayName="concurnas",be.aliases=["conc"];function be(oe){oe.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},oe.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:oe.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:oe.languages.concurnas},string:/[\s\S]+/}}}),oe.languages.conc=oe.languages.concurnas}},26841:function(_e){"use strict";_e.exports=be,be.displayName="coq",be.aliases=[];function be(oe){(function(se){for(var Ce=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,we=0;we<2;we++)Ce=Ce.replace(//g,function(){return Ce});Ce=Ce.replace(//g,"[]"),se.languages.coq={comment:RegExp(Ce),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return Ce})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(Ce),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(oe)}},87071:function(_e,be,oe){"use strict";var se=oe(79440);_e.exports=Ce,Ce.displayName="cpp",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){var De=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,Ke=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return De.source});Ie.languages.cpp=Ie.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return De.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:De,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),Ie.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return Ke})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),Ie.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:Ie.languages.cpp}}}}),Ie.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),Ie.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:Ie.languages.extend("cpp",{})}}),Ie.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},Ie.languages.cpp["base-clause"])}(we)}},13652:function(_e,be,oe){"use strict";var se=oe(75308);_e.exports=Ce,Ce.displayName="crystal",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){Ie.languages.crystal=Ie.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,Ie.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),Ie.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:Ie.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:Ie.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(we)}},87648:function(_e){"use strict";_e.exports=be,be.displayName="csharp",be.aliases=["dotnet","cs"];function be(oe){(function(se){function Ce(an,it){return an.replace(/<<(\d+)>>/g,function(Ve,gt){return"(?:"+it[+gt]+")"})}function we(an,it,Ve){return RegExp(Ce(an,it),Ve||"")}function Ie(an,it){for(var Ve=0;Ve>/g,function(){return"(?:"+an+")"});return an.replace(/<>/g,"[^\\s\\S]")}var De={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function Ke(an){return"\\b(?:"+an.trim().replace(/ /g,"|")+")\\b"}var Ee=Ke(De.typeDeclaration),et=RegExp(Ke(De.type+" "+De.typeDeclaration+" "+De.contextual+" "+De.other)),Je=Ke(De.typeDeclaration+" "+De.contextual+" "+De.other),Ye=Ke(De.type+" "+De.typeDeclaration+" "+De.other),tt=Ie(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),ht=Ie(/\((?:[^()]|<>)*\)/.source,2),kt=/@?\b[A-Za-z_]\w*\b/.source,ze=Ce(/<<0>>(?:\s*<<1>>)?/.source,[kt,tt]),ee=Ce(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[Je,ze]),ne=/\[\s*(?:,\s*)*\]/.source,ge=Ce(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[ee,ne]),ue=Ce(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[tt,ht,ne]),me=Ce(/\(<<0>>+(?:,<<0>>+)+\)/.source,[ue]),Se=Ce(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[me,ee,ne]),Ne={keyword:et,punctuation:/[<>()?,.:[\]]/},ke=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,Te=/"(?:\\.|[^\\"\r\n])*"/.source,We=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;se.languages.csharp=se.languages.extend("clike",{string:[{pattern:we(/(^|[^$\\])<<0>>/.source,[We]),lookbehind:!0,greedy:!0},{pattern:we(/(^|[^@$\\])<<0>>/.source,[Te]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:we(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[ee]),lookbehind:!0,inside:Ne},{pattern:we(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[kt,Se]),lookbehind:!0,inside:Ne},{pattern:we(/(\busing\s+)<<0>>(?=\s*=)/.source,[kt]),lookbehind:!0},{pattern:we(/(\b<<0>>\s+)<<1>>/.source,[Ee,ze]),lookbehind:!0,inside:Ne},{pattern:we(/(\bcatch\s*\(\s*)<<0>>/.source,[ee]),lookbehind:!0,inside:Ne},{pattern:we(/(\bwhere\s+)<<0>>/.source,[kt]),lookbehind:!0},{pattern:we(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[ge]),lookbehind:!0,inside:Ne},{pattern:we(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Se,Ye,kt]),inside:Ne}],keyword:et,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),se.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),se.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:we(/([(,]\s*)<<0>>(?=\s*:)/.source,[kt]),lookbehind:!0,alias:"punctuation"}}),se.languages.insertBefore("csharp","class-name",{namespace:{pattern:we(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[kt]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:we(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[ht]),lookbehind:!0,alias:"class-name",inside:Ne},"return-type":{pattern:we(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Se,ee]),inside:Ne,alias:"class-name"},"constructor-invocation":{pattern:we(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Se]),lookbehind:!0,inside:Ne,alias:"class-name"},"generic-method":{pattern:we(/<<0>>\s*<<1>>(?=\s*\()/.source,[kt,tt]),inside:{function:we(/^<<0>>/.source,[kt]),generic:{pattern:RegExp(tt),alias:"class-name",inside:Ne}}},"type-list":{pattern:we(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[Ee,ze,kt,Se,et.source,ht,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:we(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[ze,ht]),lookbehind:!0,greedy:!0,inside:se.languages.csharp},keyword:et,"class-name":{pattern:RegExp(Se),greedy:!0,inside:Ne},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var $e=Te+"|"+ke,st=Ce(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[$e]),ut=Ie(Ce(/[^"'/()]|<<0>>|\(<>*\)/.source,[st]),2),Mt=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,nt=Ce(/<<0>>(?:\s*\(<<1>>*\))?/.source,[ee,ut]);se.languages.insertBefore("csharp","class-name",{attribute:{pattern:we(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[Mt,nt]),lookbehind:!0,greedy:!0,inside:{target:{pattern:we(/^<<0>>(?=\s*:)/.source,[Mt]),alias:"keyword"},"attribute-arguments":{pattern:we(/\(<<0>>*\)/.source,[ut]),inside:se.languages.csharp},"class-name":{pattern:RegExp(ee),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var $t=/:[^}\r\n]+/.source,Pt=Ie(Ce(/[^"'/()]|<<0>>|\(<>*\)/.source,[st]),2),dn=Ce(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Pt,$t]),zt=Ie(Ce(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[$e]),2),Xt=Ce(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[zt,$t]);function fn(an,it){return{interpolation:{pattern:we(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[an]),lookbehind:!0,inside:{"format-string":{pattern:we(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[it,$t]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:se.languages.csharp}}},string:/[\s\S]+/}}se.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:we(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[dn]),lookbehind:!0,greedy:!0,inside:fn(dn,Pt)},{pattern:we(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Xt]),lookbehind:!0,greedy:!0,inside:fn(Xt,zt)}],char:{pattern:RegExp(ke),greedy:!0}}),se.languages.dotnet=se.languages.cs=se.languages.csharp})(oe)}},10617:function(_e,be,oe){"use strict";var se=oe(87648);_e.exports=Ce,Ce.displayName="cshtml",Ce.aliases=["razor"];function Ce(we){we.register(se),function(Ie){var De=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,Ke=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function Ee(ge,ue){for(var me=0;me/g,function(){return"(?:"+ge+")"});return ge.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+Ke+")").replace(//g,"(?:"+De+")")}var et=Ee(/\((?:[^()'"@/]|||)*\)/.source,2),Je=Ee(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),Ye=Ee(/\{(?:[^{}'"@/]|||)*\}/.source,2),tt=Ee(/<(?:[^<>'"@/]|||)*>/.source,2),ht=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,kt=/(?!\d)[^\s>\/=$<%]+/.source+ht+/\s*\/?>/.source,ze=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+ht+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+kt+"|"+Ee(/<\1/.source+ht+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+kt+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},se.languages.css.atrule.inside["selector-function-argument"].inside=we,se.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var Ie={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},De={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};se.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:Ie,number:De,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:Ie,number:De})})(oe)}},54212:function(_e){"use strict";_e.exports=be,be.displayName="css",be.aliases=[];function be(oe){(function(se){var Ce=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;se.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+Ce.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+Ce.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+Ce.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:Ce,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},se.languages.css.atrule.inside.rest=se.languages.css;var we=se.languages.markup;we&&(we.tag.addInlined("style","css"),we.tag.addAttribute("style","css"))})(oe)}},69820:function(_e){"use strict";_e.exports=be,be.displayName="csv",be.aliases=[];function be(oe){oe.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(_e){"use strict";_e.exports=be,be.displayName="cypher",be.aliases=[];function be(oe){oe.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(_e){"use strict";_e.exports=be,be.displayName="d",be.aliases=[];function be(oe){oe.languages.d=oe.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),oe.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),oe.languages.insertBefore("d","keyword",{property:/\B@\w*/}),oe.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(_e){"use strict";_e.exports=be,be.displayName="dart",be.aliases=[];function be(oe){(function(se){var Ce=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],we=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,Ie={pattern:RegExp(we+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};se.languages.dart=se.languages.extend("clike",{"class-name":[Ie,{pattern:RegExp(we+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:Ie.inside}],keyword:Ce,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),se.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:se.languages.dart}}},string:/[\s\S]+/}},string:void 0}),se.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),se.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":Ie,keyword:Ce,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(oe)}},22117:function(_e){"use strict";_e.exports=be,be.displayName="dataweave",be.aliases=[];function be(oe){(function(se){se.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(oe)}},95627:function(_e){"use strict";_e.exports=be,be.displayName="dax",be.aliases=[];function be(oe){oe.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(_e){"use strict";_e.exports=be,be.displayName="dhall",be.aliases=[];function be(oe){oe.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},oe.languages.dhall.string.inside.interpolation.inside.expression.inside=oe.languages.dhall}},50618:function(_e){"use strict";_e.exports=be,be.displayName="diff",be.aliases=[];function be(oe){(function(se){se.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var Ce={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(Ce).forEach(function(we){var Ie=Ce[we],De=[];/^\w+$/.test(we)||De.push(/\w+/.exec(we)[0]),we==="diff"&&De.push("bold"),se.languages.diff[we]={pattern:RegExp("^(?:["+Ie+`].*(?:\r ?| |(?![\\s\\S])))+`,"m"),alias:De,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(we)[0]}}}}),Object.defineProperty(se.languages.diff,"PREFIXES",{value:Ce})})(oe)}},32126:function(_e,be,oe){"use strict";var se=oe(51478);_e.exports=Ce,Ce.displayName="django",Ce.aliases=["jinja2"];function Ce(we){we.register(se),function(Ie){Ie.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var De=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,Ke=Ie.languages["markup-templating"];Ie.hooks.add("before-tokenize",function(Ee){Ke.buildPlaceholders(Ee,"django",De)}),Ie.hooks.add("after-tokenize",function(Ee){Ke.tokenizePlaceholders(Ee,"django")}),Ie.languages.jinja2=Ie.languages.django,Ie.hooks.add("before-tokenize",function(Ee){Ke.buildPlaceholders(Ee,"jinja2",De)}),Ie.hooks.add("after-tokenize",function(Ee){Ke.tokenizePlaceholders(Ee,"jinja2")})}(we)}},26737:function(_e){"use strict";_e.exports=be,be.displayName="dnsZoneFile",be.aliases=[];function be(oe){oe.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},oe.languages["dns-zone"]=oe.languages["dns-zone-file"]}},90134:function(_e){"use strict";_e.exports=be,be.displayName="docker",be.aliases=["dockerfile"];function be(oe){(function(se){var Ce=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,we=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return Ce}),Ie=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,De=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return Ie}),Ke={pattern:RegExp(Ie),greedy:!0},Ee={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function et(Je,Ye){return Je=Je.replace(//g,function(){return De}).replace(//g,function(){return we}),RegExp(Je,Ye)}se.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:et(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[Ke,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:et(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:et(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:et(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:Ee,string:Ke,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:Ee},se.languages.dockerfile=se.languages.docker})(oe)}},51348:function(_e){"use strict";_e.exports=be,be.displayName="dot",be.aliases=["gv"];function be(oe){(function(se){var Ce="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",we={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:se.languages.markup}};function Ie(De,Ke){return RegExp(De.replace(//g,function(){return Ce}),Ke)}se.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:Ie(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:we},"attr-value":{pattern:Ie(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:we},"attr-name":{pattern:Ie(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:we},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:Ie(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:we},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},se.languages.gv=se.languages.dot})(oe)}},60841:function(_e){"use strict";_e.exports=be,be.displayName="ebnf",be.aliases=[];function be(oe){oe.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(_e){"use strict";_e.exports=be,be.displayName="editorconfig",be.aliases=[];function be(oe){oe.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(_e){"use strict";_e.exports=be,be.displayName="eiffel",be.aliases=[];function be(oe){oe.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(_e,be,oe){"use strict";var se=oe(51478);_e.exports=Ce,Ce.displayName="ejs",Ce.aliases=["eta"];function Ce(we){we.register(se),function(Ie){Ie.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:Ie.languages.javascript}},Ie.hooks.add("before-tokenize",function(De){var Ke=/<%(?!%)[\s\S]+?%>/g;Ie.languages["markup-templating"].buildPlaceholders(De,"ejs",Ke)}),Ie.hooks.add("after-tokenize",function(De){Ie.languages["markup-templating"].tokenizePlaceholders(De,"ejs")}),Ie.languages.eta=Ie.languages.ejs}(we)}},83125:function(_e){"use strict";_e.exports=be,be.displayName="elixir",be.aliases=[];function be(oe){oe.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},oe.languages.elixir.string.forEach(function(se){se.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:oe.languages.elixir}}}})}},9438:function(_e){"use strict";_e.exports=be,be.displayName="elm",be.aliases=[];function be(oe){oe.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(_e,be,oe){"use strict";var se=oe(75308),Ce=oe(51478);_e.exports=we,we.displayName="erb",we.aliases=[];function we(Ie){Ie.register(se),Ie.register(Ce),function(De){De.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:De.languages.ruby}},De.hooks.add("before-tokenize",function(Ke){var Ee=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;De.languages["markup-templating"].buildPlaceholders(Ke,"erb",Ee)}),De.hooks.add("after-tokenize",function(Ke){De.languages["markup-templating"].tokenizePlaceholders(Ke,"erb")})}(Ie)}},86549:function(_e){"use strict";_e.exports=be,be.displayName="erlang",be.aliases=[];function be(oe){oe.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(_e,be,oe){"use strict";var se=oe(29509),Ce=oe(51478);_e.exports=we,we.displayName="etlua",we.aliases=[];function we(Ie){Ie.register(se),Ie.register(Ce),function(De){De.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:De.languages.lua}},De.hooks.add("before-tokenize",function(Ke){var Ee=/<%[\s\S]+?%>/g;De.languages["markup-templating"].buildPlaceholders(Ke,"etlua",Ee)}),De.hooks.add("after-tokenize",function(Ke){De.languages["markup-templating"].tokenizePlaceholders(Ke,"etlua")})}(Ie)}},59250:function(_e){"use strict";_e.exports=be,be.displayName="excelFormula",be.aliases=[];function be(oe){oe.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},oe.languages.xlsx=oe.languages.xls=oe.languages["excel-formula"]}},81226:function(_e){"use strict";_e.exports=be,be.displayName="factor",be.aliases=[];function be(oe){(function(se){var Ce={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},we={number:/\\[^\s']|%\w/},Ie={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:Ce},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:Ce},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:Ce}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:we.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:we},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:we}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:we}},De=function(Je){return(Je+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},Ke=function(Je){return new RegExp("(^|\\s)(?:"+Je.map(De).join("|")+")(?=\\s|$)")},Ee={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(Ee).forEach(function(Je){Ie[Je].pattern=Ke(Ee[Je])});var et=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];Ie.combinators.pattern=Ke(et),se.languages.factor=Ie})(oe)}},65245:function(_e){"use strict";_e.exports=be,be.displayName="$false",be.aliases=[];function be(oe){(function(se){se.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete oe.languages["firestore-security-rules"]["class-name"],oe.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(_e){"use strict";_e.exports=be,be.displayName="flow",be.aliases=[];function be(oe){(function(se){se.languages.flow=se.languages.extend("javascript",{}),se.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),se.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete se.languages.flow.parameter,se.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(se.languages.flow.keyword)||(se.languages.flow.keyword=[se.languages.flow.keyword]),se.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(oe)}},39187:function(_e){"use strict";_e.exports=be,be.displayName="fortran",be.aliases=[];function be(oe){oe.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(_e){"use strict";_e.exports=be,be.displayName="fsharp",be.aliases=[];function be(oe){oe.languages.fsharp=oe.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),oe.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),oe.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),oe.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:oe.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(_e,be,oe){"use strict";var se=oe(51478);_e.exports=Ce,Ce.displayName="ftl",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){for(var De=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,Ke=0;Ke<2;Ke++)De=De.replace(//g,function(){return De});De=De.replace(//g,/[^\s\S]/.source);var Ee={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return De})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return De})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};Ee.string[1].inside.interpolation.inside.rest=Ee,Ie.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:Ee}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:Ee}}}},Ie.hooks.add("before-tokenize",function(et){var Je=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return De}),"gi");Ie.languages["markup-templating"].buildPlaceholders(et,"ftl",Je)}),Ie.hooks.add("after-tokenize",function(et){Ie.languages["markup-templating"].tokenizePlaceholders(et,"ftl")})}(we)}},33534:function(_e){"use strict";_e.exports=be,be.displayName="gap",be.aliases=[];function be(oe){oe.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},oe.languages.gap.shell.inside.gap.inside=oe.languages.gap}},9885:function(_e){"use strict";_e.exports=be,be.displayName="gcode",be.aliases=[];function be(oe){oe.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(_e){"use strict";_e.exports=be,be.displayName="gdscript",be.aliases=[];function be(oe){oe.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(_e){"use strict";_e.exports=be,be.displayName="gedcom",be.aliases=[];function be(oe){oe.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(_e){"use strict";_e.exports=be,be.displayName="gherkin",be.aliases=[];function be(oe){(function(se){var Ce=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;se.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+Ce+")(?:"+Ce+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(Ce),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(oe)}},58230:function(_e){"use strict";_e.exports=be,be.displayName="git",be.aliases=[];function be(oe){oe.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(_e,be,oe){"use strict";var se=oe(79440);_e.exports=Ce,Ce.displayName="glsl",Ce.aliases=[];function Ce(we){we.register(se),we.languages.glsl=we.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(_e){"use strict";_e.exports=be,be.displayName="gml",be.aliases=[];function be(oe){oe.languages.gamemakerlanguage=oe.languages.gml=oe.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(_e){"use strict";_e.exports=be,be.displayName="gn",be.aliases=["gni"];function be(oe){oe.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},oe.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=oe.languages.gn,oe.languages.gni=oe.languages.gn}},95769:function(_e){"use strict";_e.exports=be,be.displayName="goModule",be.aliases=[];function be(oe){oe.languages["go-mod"]=oe.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(_e){"use strict";_e.exports=be,be.displayName="go",be.aliases=[];function be(oe){oe.languages.go=oe.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),oe.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete oe.languages.go["class-name"]}},92823:function(_e){"use strict";_e.exports=be,be.displayName="graphql",be.aliases=[];function be(oe){oe.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:oe.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},oe.hooks.add("after-tokenize",function(Ce){if(Ce.language!=="graphql")return;var we=Ce.tokens.filter(function(ne){return typeof ne!="string"&&ne.type!=="comment"&&ne.type!=="scalar"}),Ie=0;function De(ne){return we[Ie+ne]}function Ke(ne,ge){ge=ge||0;for(var ue=0;ue0)){var kt=Ee(/^\{$/,/^\}$/);if(kt===-1)continue;for(var ze=Ie;ze=0&&et(ee,"variable-input")}}}}})}},63092:function(_e){"use strict";_e.exports=be,be.displayName="groovy",be.aliases=[];function be(oe){oe.languages.groovy=oe.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),oe.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),oe.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),oe.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),oe.hooks.add("wrap",function(se){if(se.language==="groovy"&&se.type==="string"){var Ce=se.content.value[0];if(Ce!="'"){var we=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;Ce==="$"&&(we=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),se.content.value=se.content.value.replace(/</g,"<").replace(/&/g,"&"),se.content=oe.highlight(se.content.value,{expression:{pattern:we,lookbehind:!0,inside:oe.languages.groovy}}),se.classes.push(Ce==="/"?"regex":"gstring")}}})}},21550:function(_e,be,oe){"use strict";var se=oe(75308);_e.exports=Ce,Ce.displayName="haml",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){Ie.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:Ie.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:Ie.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:Ie.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:Ie.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:Ie.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:Ie.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:Ie.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var De="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",Ke=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],Ee={},et=0,Je=Ke.length;et@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},Ie.hooks.add("before-tokenize",function(De){var Ke=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;Ie.languages["markup-templating"].buildPlaceholders(De,"handlebars",Ke)}),Ie.hooks.add("after-tokenize",function(De){Ie.languages["markup-templating"].tokenizePlaceholders(De,"handlebars")}),Ie.languages.hbs=Ie.languages.handlebars}(we)}},2050:function(_e){"use strict";_e.exports=be,be.displayName="haskell",be.aliases=["hs"];function be(oe){oe.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},oe.languages.hs=oe.languages.haskell}},67967:function(_e){"use strict";_e.exports=be,be.displayName="haxe",be.aliases=[];function be(oe){oe.languages.haxe=oe.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),oe.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:oe.languages.haxe}}},string:/[\s\S]+/}}}),oe.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:oe.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),oe.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(_e){"use strict";_e.exports=be,be.displayName="hcl",be.aliases=[];function be(oe){oe.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(_e,be,oe){"use strict";var se=oe(79440);_e.exports=Ce,Ce.displayName="hlsl",Ce.aliases=[];function Ce(we){we.register(se),we.languages.hlsl=we.languages.extend("c",{"class-name":[we.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(_e){"use strict";_e.exports=be,be.displayName="hoon",be.aliases=[];function be(oe){oe.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(_e){"use strict";_e.exports=be,be.displayName="hpkp",be.aliases=[];function be(oe){oe.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(_e){"use strict";_e.exports=be,be.displayName="hsts",be.aliases=[];function be(oe){oe.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(_e){"use strict";_e.exports=be,be.displayName="http",be.aliases=[];function be(oe){(function(se){function Ce(Ye){return RegExp("(^(?:"+Ye+"):[ ]*(?![ ]))[^]+","i")}se.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:se.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:Ce(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:se.languages.csp},{pattern:Ce(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:se.languages.hpkp},{pattern:Ce(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:se.languages.hsts},{pattern:Ce(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var we=se.languages,Ie={"application/javascript":we.javascript,"application/json":we.json||we.javascript,"application/xml":we.xml,"text/xml":we.xml,"text/html":we.html,"text/css":we.css,"text/plain":we.plain},De={"application/json":!0,"application/xml":!0};function Ke(Ye){var tt=Ye.replace(/^[a-z]+\//,""),ht="\\w+/(?:[\\w.-]+\\+)+"+tt+"(?![+\\w.-])";return"(?:"+Ye+"|"+ht+")"}var Ee;for(var et in Ie)if(Ie[et]){Ee=Ee||{};var Je=De[et]?Ke(et):et;Ee[et.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+Je+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:Ie[et]}}Ee&&se.languages.insertBefore("http","header",Ee)})(oe)}},72252:function(_e){"use strict";_e.exports=be,be.displayName="ichigojam",be.aliases=[];function be(oe){oe.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(_e){"use strict";_e.exports=be,be.displayName="icon",be.aliases=[];function be(oe){oe.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(_e){"use strict";_e.exports=be,be.displayName="icuMessageFormat",be.aliases=[];function be(oe){(function(se){function Ce(et,Je){return Je<=0?/[]/.source:et.replace(//g,function(){return Ce(et,Je-1)})}var we=/'[{}:=,](?:[^']|'')*'(?!')/,Ie={pattern:/''/,greedy:!0,alias:"operator"},De={pattern:we,greedy:!0,inside:{escape:Ie}},Ke=Ce(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return we.source}),8),Ee={pattern:RegExp(Ke),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};se.languages["icu-message-format"]={argument:{pattern:RegExp(Ke),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":Ee,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":Ee,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+Ce(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:Ie,string:De},Ee.inside.message.inside=se.languages["icu-message-format"],se.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=se.languages["icu-message-format"]})(oe)}},23328:function(_e,be,oe){"use strict";var se=oe(2050);_e.exports=Ce,Ce.displayName="idris",Ce.aliases=["idr"];function Ce(we){we.register(se),we.languages.idris=we.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),we.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),we.languages.idr=we.languages.idris}},74494:function(_e){"use strict";_e.exports=be,be.displayName="iecst",be.aliases=[];function be(oe){oe.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(_e){"use strict";_e.exports=be,be.displayName="ignore",be.aliases=["gitignore","hgignore","npmignore"];function be(oe){(function(se){se.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},se.languages.gitignore=se.languages.ignore,se.languages.hgignore=se.languages.ignore,se.languages.npmignore=se.languages.ignore})(oe)}},22152:function(_e){"use strict";_e.exports=be,be.displayName="inform7",be.aliases=[];function be(oe){oe.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},oe.languages.inform7.string.inside.substitution.inside.rest=oe.languages.inform7,oe.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(_e){"use strict";_e.exports=be,be.displayName="ini",be.aliases=[];function be(oe){oe.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(_e){"use strict";_e.exports=be,be.displayName="io",be.aliases=[];function be(oe){oe.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(_e){"use strict";_e.exports=be,be.displayName="java",be.aliases=[];function be(oe){(function(se){var Ce=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,we=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,Ie={pattern:RegExp(we+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};se.languages.java=se.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[Ie,{pattern:RegExp(we+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:Ie.inside}],keyword:Ce,function:[se.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),se.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),se.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":Ie,keyword:Ce,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return Ce.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(oe)}},4005:function(_e,be,oe){"use strict";var se=oe(7093),Ce=oe(53510);_e.exports=we,we.displayName="javadoc",we.aliases=[];function we(Ie){Ie.register(se),Ie.register(Ce),function(De){var Ke=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,Ee=/#\s*\w+(?:\s*\([^()]*\))?/.source,et=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return Ee});De.languages.javadoc=De.languages.extend("javadoclike",{}),De.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+et+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:De.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:Ke,lookbehind:!0,inside:De.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:Ke,lookbehind:!0,inside:{tag:De.languages.markup.tag,entity:De.languages.markup.entity,code:{pattern:/.+/,inside:De.languages.java,alias:"language-java"}}}}}],tag:De.languages.markup.tag,entity:De.languages.markup.entity}),De.languages.javadoclike.addSupport("java",De.languages.javadoc)}(Ie)}},53510:function(_e){"use strict";_e.exports=be,be.displayName="javadoclike",be.aliases=[];function be(oe){(function(se){var Ce=se.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function we(De,Ke){var Ee="doc-comment",et=se.languages[De];if(et){var Je=et[Ee];if(!Je){var Ye={};Ye[Ee]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},et=se.languages.insertBefore(De,"comment",Ye),Je=et[Ee]}if(Je instanceof RegExp&&(Je=et[Ee]={pattern:Je}),Array.isArray(Je))for(var tt=0,ht=Je.length;tt|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),oe.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,oe.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:oe.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:oe.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:oe.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:oe.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:oe.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),oe.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:oe.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),oe.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),oe.languages.markup&&(oe.languages.markup.tag.addInlined("script","javascript"),oe.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),oe.languages.js=oe.languages.javascript}},24799:function(_e){"use strict";_e.exports=be,be.displayName="javastacktrace",be.aliases=[];function be(oe){oe.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(_e){"use strict";_e.exports=be,be.displayName="jexl",be.aliases=[];function be(oe){oe.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(_e){"use strict";_e.exports=be,be.displayName="jolie",be.aliases=[];function be(oe){oe.languages.jolie=oe.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),oe.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(_e){"use strict";_e.exports=be,be.displayName="jq",be.aliases=[];function be(oe){(function(se){var Ce=/\\\((?:[^()]|\([^()]*\))*\)/.source,we=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return Ce})),Ie={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+Ce),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},De=se.languages.jq={comment:/#.*/,property:{pattern:RegExp(we.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:Ie},string:{pattern:we,lookbehind:!0,greedy:!0,inside:Ie},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};Ie.interpolation.inside.content.inside=De})(oe)}},89246:function(_e){"use strict";_e.exports=be,be.displayName="jsExtras",be.aliases=[];function be(oe){(function(se){se.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+se.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),se.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+se.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),se.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function Ce(et,Je){return RegExp(et.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),Je)}se.languages.insertBefore("javascript","keyword",{imports:{pattern:Ce(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:se.languages.javascript},exports:{pattern:Ce(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:se.languages.javascript}}),se.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),se.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),se.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:Ce(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var we=["function","function-variable","method","method-variable","property-access"],Ie=0;Ie=ke.length)return;var st=We[$e];if(typeof st=="string"||typeof st.content=="string"){var ut=ke[ue],Mt=typeof st=="string"?st:st.content,nt=Mt.indexOf(ut);if(nt!==-1){++ue;var $t=Mt.substring(0,nt),Pt=Ye(me[ut]),dn=Mt.substring(nt+ut.length),zt=[];if($t&&zt.push($t),zt.push(Pt),dn){var Xt=[dn];Te(Xt),zt.push.apply(zt,Xt)}typeof st=="string"?(We.splice.apply(We,[$e,1].concat(zt)),$e+=zt.length-1):st.content=zt}}else{var fn=st.content;Array.isArray(fn)?Te(fn):Te([fn])}}}return Te(Ne),new se.Token(ne,Ne,"language-"+ne,ze)}var ht={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};se.hooks.add("after-tokenize",function(ze){if(!(ze.language in ht))return;function ee(ne){for(var ge=0,ue=ne.length;ge\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return Ee})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+Ee),lookbehind:!0,inside:{string:Ke.string,number:Ke.number,boolean:Ke.boolean,keyword:De.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:Ke,alias:"language-javascript"}}}}),De.languages.javadoclike.addSupport("javascript",De.languages.jsdoc)}(Ie)}},15628:function(_e){"use strict";_e.exports=be,be.displayName="json",be.aliases=["webmanifest"];function be(oe){oe.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},oe.languages.webmanifest=oe.languages.json}},14320:function(_e,be,oe){"use strict";var se=oe(15628);_e.exports=Ce,Ce.displayName="json5",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){var De=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;Ie.languages.json5=Ie.languages.extend("json",{property:[{pattern:RegExp(De.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:De,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(we)}},73222:function(_e,be,oe){"use strict";var se=oe(15628);_e.exports=Ce,Ce.displayName="jsonp",Ce.aliases=[];function Ce(we){we.register(se),we.languages.jsonp=we.languages.extend("json",{punctuation:/[{}[\]();,.]/}),we.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(_e){"use strict";_e.exports=be,be.displayName="jsstacktrace",be.aliases=[];function be(oe){oe.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(_e){"use strict";_e.exports=be,be.displayName="jsx",be.aliases=[];function be(oe){(function(se){var Ce=se.util.clone(se.languages.javascript),we=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,Ie=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,De=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function Ke(Je,Ye){return Je=Je.replace(//g,function(){return we}).replace(//g,function(){return Ie}).replace(//g,function(){return De}),RegExp(Je,Ye)}De=Ke(De).source,se.languages.jsx=se.languages.extend("markup",Ce),se.languages.jsx.tag.pattern=Ke(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),se.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,se.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,se.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,se.languages.jsx.tag.inside.comment=Ce.comment,se.languages.insertBefore("inside","attr-name",{spread:{pattern:Ke(//.source),inside:se.languages.jsx}},se.languages.jsx.tag),se.languages.insertBefore("inside","special-attr",{script:{pattern:Ke(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:se.languages.jsx}}},se.languages.jsx.tag);var Ee=function(Je){return Je?typeof Je=="string"?Je:typeof Je.content=="string"?Je.content:Je.content.map(Ee).join(""):""},et=function(Je){for(var Ye=[],tt=0;tt0&&Ye[Ye.length-1].tagName===Ee(ht.content[0].content[1])&&Ye.pop():ht.content[ht.content.length-1].content==="/>"||Ye.push({tagName:Ee(ht.content[0].content[1]),openedBraces:0}):Ye.length>0&&ht.type==="punctuation"&&ht.content==="{"?Ye[Ye.length-1].openedBraces++:Ye.length>0&&Ye[Ye.length-1].openedBraces>0&&ht.type==="punctuation"&&ht.content==="}"?Ye[Ye.length-1].openedBraces--:kt=!0),(kt||typeof ht=="string")&&Ye.length>0&&Ye[Ye.length-1].openedBraces===0){var ze=Ee(ht);tt0&&(typeof Je[tt-1]=="string"||Je[tt-1].type==="plain-text")&&(ze=Ee(Je[tt-1])+ze,Je.splice(tt-1,1),tt--),Je[tt]=new se.Token("plain-text",ze,null,ze)}ht.content&&typeof ht.content!="string"&&et(ht.content)}};se.hooks.add("after-tokenize",function(Je){Je.language!=="jsx"&&Je.language!=="tsx"||et(Je.tokens)})})(oe)}},40604:function(_e){"use strict";_e.exports=be,be.displayName="julia",be.aliases=[];function be(oe){oe.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(_e){"use strict";_e.exports=be,be.displayName="keepalived",be.aliases=[];function be(oe){oe.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(_e){"use strict";_e.exports=be,be.displayName="keyman",be.aliases=[];function be(oe){oe.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(_e){"use strict";_e.exports=be,be.displayName="kotlin",be.aliases=["kt","kts"];function be(oe){(function(se){se.languages.kotlin=se.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete se.languages.kotlin["class-name"];var Ce={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:se.languages.kotlin}};se.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:Ce},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:Ce},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete se.languages.kotlin.string,se.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),se.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),se.languages.kt=se.languages.kotlin,se.languages.kts=se.languages.kotlin})(oe)}},37524:function(_e){"use strict";_e.exports=be,be.displayName="kumir",be.aliases=["kum"];function be(oe){(function(se){var Ce=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function we(Ie,De){return RegExp(Ie.replace(//g,Ce),De)}se.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:we(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:we(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:we(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:we(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:we(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:we(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:we(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:we(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},se.languages.kum=se.languages.kumir})(oe)}},6658:function(_e){"use strict";_e.exports=be,be.displayName="kusto",be.aliases=[];function be(oe){oe.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(_e){"use strict";_e.exports=be,be.displayName="latex",be.aliases=["tex","context"];function be(oe){(function(se){var Ce=/\\(?:[^a-z()[\]]|[a-z*]+)/i,we={"equation-command":{pattern:Ce,alias:"regex"}};se.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:we,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:we,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:Ce,alias:"selector"},punctuation:/[[\]{}&]/},se.languages.tex=se.languages.latex,se.languages.context=se.languages.latex})(oe)}},22776:function(_e,be,oe){"use strict";var se=oe(51478),Ce=oe(53852);_e.exports=we,we.displayName="latte",we.aliases=[];function we(Ie){Ie.register(se),Ie.register(Ce),function(De){De.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:De.languages.php}};var Ke=De.languages.extend("markup",{});De.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:De.languages.php}}}}}},Ke.tag),De.hooks.add("before-tokenize",function(Ee){if(Ee.language==="latte"){var et=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;De.languages["markup-templating"].buildPlaceholders(Ee,"latte",et),Ee.grammar=Ke}}),De.hooks.add("after-tokenize",function(Ee){De.languages["markup-templating"].tokenizePlaceholders(Ee,"latte")})}(Ie)}},89700:function(_e){"use strict";_e.exports=be,be.displayName="less",be.aliases=[];function be(oe){oe.languages.less=oe.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),oe.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(_e,be,oe){"use strict";var se=oe(48780);_e.exports=Ce,Ce.displayName="lilypond",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){for(var De=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,Ke=5,Ee=0;Ee/g,function(){return De});De=De.replace(//g,/[^\s\S]/.source);var et=Ie.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return De}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:Ie.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};et["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=et,Ie.languages.ly=et}(we)}},39940:function(_e,be,oe){"use strict";var se=oe(51478);_e.exports=Ce,Ce.displayName="liquid",Ce.aliases=[];function Ce(we){we.register(se),we.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},we.hooks.add("before-tokenize",function(Ie){var De=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,Ke=!1;we.languages["markup-templating"].buildPlaceholders(Ie,"liquid",De,function(Ee){var et=/^\{%-?\s*(\w+)/.exec(Ee);if(et){var Je=et[1];if(Je==="raw"&&!Ke)return Ke=!0,!0;if(Je==="endraw")return Ke=!1,!0}return!Ke})}),we.hooks.add("after-tokenize",function(Ie){we.languages["markup-templating"].tokenizePlaceholders(Ie,"liquid")})}},34973:function(_e){"use strict";_e.exports=be,be.displayName="lisp",be.aliases=[];function be(oe){(function(se){function Ce(ze){return RegExp(/(\()/.source+"(?:"+ze+")"+/(?=[\s\)])/.source)}function we(ze){return RegExp(/([\s([])/.source+"(?:"+ze+")"+/(?=[\s)])/.source)}var Ie=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,De="&"+Ie,Ke="(\\()",Ee="(?=\\))",et="(?=\\s)",Je=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,Ye={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+Ie+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+Ie),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+Ie),alias:"property"},splice:{pattern:RegExp(",@?"+Ie),alias:["symbol","variable"]},keyword:[{pattern:RegExp(Ke+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+et),lookbehind:!0},{pattern:RegExp(Ke+"(?:append|by|collect|concat|do|finally|for|in|return)"+et),lookbehind:!0}],declare:{pattern:Ce(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:Ce(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:we(/nil|t/.source),lookbehind:!0},number:{pattern:we(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(Ke+"def(?:const|custom|group|var)\\s+"+Ie),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(Ie)}},defun:{pattern:RegExp(Ke+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+Ie+/\s+\(/.source+Je+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+Ie),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(Ke+"lambda\\s+\\(\\s*(?:&?"+Ie+"(?:\\s+&?"+Ie+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(Ke+Ie),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},tt={"lisp-marker":RegExp(De),varform:{pattern:RegExp(/\(/.source+Ie+/\s+(?=\S)/.source+Je+/\)/.source),inside:Ye},argument:{pattern:RegExp(/(^|[\s(])/.source+Ie),lookbehind:!0,alias:"variable"},rest:Ye},ht="\\S+(?:\\s+\\S+)*",kt={pattern:RegExp(Ke+Je+Ee),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+ht),inside:tt},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+ht),inside:tt},keys:{pattern:RegExp("&key\\s+"+ht+"(?:\\s+&allow-other-keys)?"),inside:tt},argument:{pattern:RegExp(Ie),alias:"variable"},punctuation:/[()]/}};Ye.lambda.inside.arguments=kt,Ye.defun.inside.arguments=se.util.clone(kt),Ye.defun.inside.arguments.inside.sublist=kt,se.languages.lisp=Ye,se.languages.elisp=Ye,se.languages.emacs=Ye,se.languages["emacs-lisp"]=Ye})(oe)}},98135:function(_e){"use strict";_e.exports=be,be.displayName="livescript",be.aliases=[];function be(oe){oe.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},oe.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=oe.languages.livescript}},36907:function(_e){"use strict";_e.exports=be,be.displayName="llvm",be.aliases=[];function be(oe){(function(se){se.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(oe)}},3567:function(_e){"use strict";_e.exports=be,be.displayName="log",be.aliases=[];function be(oe){oe.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:oe.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(_e){"use strict";_e.exports=be,be.displayName="lolcode",be.aliases=[];function be(oe){oe.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},29509:function(_e){"use strict";_e.exports=be,be.displayName="lua",be.aliases=[];function be(oe){oe.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(_e){"use strict";_e.exports=be,be.displayName="magma",be.aliases=[];function be(oe){oe.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(_e){"use strict";_e.exports=be,be.displayName="makefile",be.aliases=[];function be(oe){oe.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},53885:function(_e){"use strict";_e.exports=be,be.displayName="markdown",be.aliases=["md"];function be(oe){(function(se){var Ce=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function we(tt){return tt=tt.replace(//g,function(){return Ce}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+tt+")")}var Ie=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,De=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return Ie}),Ke=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;se.languages.markdown=se.languages.extend("markup",{}),se.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:se.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+De+Ke+"(?:"+De+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+De+Ke+")(?:"+De+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(Ie),inside:se.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+De+")"+Ke+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+De+"$"),inside:{"table-header":{pattern:RegExp(Ie),alias:"important",inside:se.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:we(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:we(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:we(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:we(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(tt){["url","bold","italic","strike","code-snippet"].forEach(function(ht){tt!==ht&&(se.languages.markdown[tt].inside.content.inside[ht]=se.languages.markdown[ht])})}),se.hooks.add("after-tokenize",function(tt){if(tt.language!=="markdown"&&tt.language!=="md")return;function ht(kt){if(!(!kt||typeof kt=="string"))for(var ze=0,ee=kt.length;ze",quot:'"'},Je=String.fromCodePoint||String.fromCharCode;function Ye(tt){var ht=tt.replace(Ee,"");return ht=ht.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(kt,ze){if(ze=ze.toLowerCase(),ze[0]==="#"){var ee;return ze[1]==="x"?ee=parseInt(ze.slice(2),16):ee=Number(ze.slice(1)),Je(ee)}else{var ne=et[ze];return ne||kt}}),ht}se.languages.md=se.languages.markdown})(oe)}},51478:function(_e){"use strict";_e.exports=be,be.displayName="markupTemplating",be.aliases=[];function be(oe){(function(se){function Ce(we,Ie){return"___"+we.toUpperCase()+Ie+"___"}Object.defineProperties(se.languages["markup-templating"]={},{buildPlaceholders:{value:function(we,Ie,De,Ke){if(we.language===Ie){var Ee=we.tokenStack=[];we.code=we.code.replace(De,function(et){if(typeof Ke=="function"&&!Ke(et))return et;for(var Je=Ee.length,Ye;we.code.indexOf(Ye=Ce(Ie,Je))!==-1;)++Je;return Ee[Je]=et,Ye}),we.grammar=se.languages.markup}}},tokenizePlaceholders:{value:function(we,Ie){if(we.language!==Ie||!we.tokenStack)return;we.grammar=se.languages[Ie];var De=0,Ke=Object.keys(we.tokenStack);function Ee(et){for(var Je=0;Je=Ke.length);Je++){var Ye=et[Je];if(typeof Ye=="string"||Ye.content&&typeof Ye.content=="string"){var tt=Ke[De],ht=we.tokenStack[tt],kt=typeof Ye=="string"?Ye:Ye.content,ze=Ce(Ie,tt),ee=kt.indexOf(ze);if(ee>-1){++De;var ne=kt.substring(0,ee),ge=new se.Token(Ie,se.tokenize(ht,we.grammar),"language-"+Ie,ht),ue=kt.substring(ee+ze.length),me=[];ne&&me.push.apply(me,Ee([ne])),me.push(ge),ue&&me.push.apply(me,Ee([ue])),typeof Ye=="string"?et.splice.apply(et,[Je,1].concat(me)):Ye.content=me}}else Ye.content&&Ee(Ye.content)}return et}Ee(we.tokens)}}})})(oe)}},70614:function(_e){"use strict";_e.exports=be,be.displayName="markup",be.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function be(oe){oe.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},oe.languages.markup.tag.inside["attr-value"].inside.entity=oe.languages.markup.entity,oe.languages.markup.doctype.inside["internal-subset"].inside=oe.languages.markup,oe.hooks.add("wrap",function(se){se.type==="entity"&&(se.attributes.title=se.content.value.replace(/&/,"&"))}),Object.defineProperty(oe.languages.markup.tag,"addInlined",{value:function(Ce,we){var Ie={};Ie["language-"+we]={pattern:/(^$)/i,lookbehind:!0,inside:oe.languages[we]},Ie.cdata=/^$/i;var De={"included-cdata":{pattern://i,inside:Ie}};De["language-"+we]={pattern:/[\s\S]+/,inside:oe.languages[we]};var Ke={};Ke[Ce]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return Ce}),"i"),lookbehind:!0,greedy:!0,inside:De},oe.languages.insertBefore("markup","cdata",Ke)}}),Object.defineProperty(oe.languages.markup.tag,"addAttribute",{value:function(se,Ce){oe.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+se+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[Ce,"language-"+Ce],inside:oe.languages[Ce]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),oe.languages.html=oe.languages.markup,oe.languages.mathml=oe.languages.markup,oe.languages.svg=oe.languages.markup,oe.languages.xml=oe.languages.extend("markup",{}),oe.languages.ssml=oe.languages.xml,oe.languages.atom=oe.languages.xml,oe.languages.rss=oe.languages.xml}},16928:function(_e){"use strict";_e.exports=be,be.displayName="matlab",be.aliases=[];function be(oe){oe.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(_e){"use strict";_e.exports=be,be.displayName="maxscript",be.aliases=[];function be(oe){(function(se){var Ce=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;se.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+Ce.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+Ce.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:Ce,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(oe)}},37164:function(_e){"use strict";_e.exports=be,be.displayName="mel",be.aliases=[];function be(oe){oe.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},oe.languages.mel.code.inside.rest=oe.languages.mel}},25153:function(_e){"use strict";_e.exports=be,be.displayName="mermaid",be.aliases=[];function be(oe){oe.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(_e){"use strict";_e.exports=be,be.displayName="mizar",be.aliases=[];function be(oe){oe.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(_e){"use strict";_e.exports=be,be.displayName="mongodb",be.aliases=[];function be(oe){(function(se){var Ce=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],we=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];Ce=Ce.map(function(De){return De.replace("$","\\$")});var Ie="(?:"+Ce.join("|")+")\\b";se.languages.mongodb=se.languages.extend("javascript",{}),se.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+Ie+"(?:\\1)?$")}}}),se.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},se.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+we.join("|")+")\\b"),alias:"keyword"}})})(oe)}},65626:function(_e){"use strict";_e.exports=be,be.displayName="monkey",be.aliases=[];function be(oe){oe.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(_e){"use strict";_e.exports=be,be.displayName="moonscript",be.aliases=["moon"];function be(oe){oe.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},oe.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=oe.languages.moonscript,oe.languages.moon=oe.languages.moonscript}},40722:function(_e){"use strict";_e.exports=be,be.displayName="n1ql",be.aliases=[];function be(oe){oe.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(_e){"use strict";_e.exports=be,be.displayName="n4js",be.aliases=["n4jsd"];function be(oe){oe.languages.n4js=oe.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),oe.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),oe.languages.n4jsd=oe.languages.n4js}},41224:function(_e){"use strict";_e.exports=be,be.displayName="nand2tetrisHdl",be.aliases=[];function be(oe){oe.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(_e){"use strict";_e.exports=be,be.displayName="naniscript",be.aliases=[];function be(oe){(function(se){var Ce=/\{[^\r\n\[\]{}]*\}/,we={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:Ce,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};se.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:Ce,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:we}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:Ce,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:we},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},se.languages.nani=se.languages.naniscript,se.hooks.add("after-tokenize",function(Ke){var Ee=Ke.tokens;Ee.forEach(function(et){if(typeof et!="string"&&et.type==="generic-text"){var Je=De(et);Ie(Je)||(et.type="bad-line",et.content=Je)}})});function Ie(Ke){for(var Ee="[]{}",et=[],Je=0;Je=&|$!]/}}},32964:function(_e){"use strict";_e.exports=be,be.displayName="neon",be.aliases=[];function be(oe){oe.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(_e){"use strict";_e.exports=be,be.displayName="nevod",be.aliases=[];function be(oe){oe.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(_e){"use strict";_e.exports=be,be.displayName="nginx",be.aliases=[];function be(oe){(function(se){var Ce=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;se.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:Ce}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:Ce}},punctuation:/[{};]/}})(oe)}},66791:function(_e){"use strict";_e.exports=be,be.displayName="nim",be.aliases=[];function be(oe){oe.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(_e){"use strict";_e.exports=be,be.displayName="nix",be.aliases=[];function be(oe){oe.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},oe.languages.nix.string.inside.interpolation.inside=oe.languages.nix}},13490:function(_e){"use strict";_e.exports=be,be.displayName="nsis",be.aliases=[];function be(oe){oe.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(_e,be,oe){"use strict";var se=oe(79440);_e.exports=Ce,Ce.displayName="objectivec",Ce.aliases=["objc"];function Ce(we){we.register(se),we.languages.objectivec=we.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete we.languages.objectivec["class-name"],we.languages.objc=we.languages.objectivec}},66894:function(_e){"use strict";_e.exports=be,be.displayName="ocaml",be.aliases=[];function be(oe){oe.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(_e,be,oe){"use strict";var se=oe(79440);_e.exports=Ce,Ce.displayName="opencl",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){Ie.languages.opencl=Ie.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),Ie.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var De={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};Ie.languages.insertBefore("c","keyword",De),Ie.languages.cpp&&(De["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},Ie.languages.insertBefore("cpp","keyword",De))}(we)}},27734:function(_e){"use strict";_e.exports=be,be.displayName="openqasm",be.aliases=["qasm"];function be(oe){oe.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},oe.languages.qasm=oe.languages.openqasm}},91889:function(_e){"use strict";_e.exports=be,be.displayName="oz",be.aliases=[];function be(oe){oe.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(_e){"use strict";_e.exports=be,be.displayName="parigp",be.aliases=[];function be(oe){oe.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var se=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return se=se.map(function(Ce){return Ce.split("").join(" *")}).join("|"),RegExp("\\b(?:"+se+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(_e){"use strict";_e.exports=be,be.displayName="parser",be.aliases=[];function be(oe){(function(se){var Ce=se.languages.parser=se.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});Ce=se.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:Ce.keyword,variable:Ce.variable,function:Ce.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:Ce.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:Ce.punctuation}}}),se.languages.insertBefore("inside","punctuation",{expression:Ce.expression,keyword:Ce.keyword,variable:Ce.variable,function:Ce.function,escape:Ce.escape,"parser-punctuation":{pattern:Ce.punctuation,alias:"punctuation"}},Ce.tag.inside["attr-value"])})(oe)}},92949:function(_e){"use strict";_e.exports=be,be.displayName="pascal",be.aliases=["objectpascal"];function be(oe){oe.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},oe.languages.pascal.asm.inside=oe.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),oe.languages.objectpascal=oe.languages.pascal}},5681:function(_e){"use strict";_e.exports=be,be.displayName="pascaligo",be.aliases=[];function be(oe){(function(se){var Ce=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,we=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return Ce}),Ie=se.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return we}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return we}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return we})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},De=["comment","keyword","builtin","operator","punctuation"].reduce(function(Ke,Ee){return Ke[Ee]=Ie[Ee],Ke},{});Ie["class-name"].forEach(function(Ke){Ke.inside=De})})(oe)}},70696:function(_e){"use strict";_e.exports=be,be.displayName="pcaxis",be.aliases=["px"];function be(oe){oe.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},oe.languages.px=oe.languages.pcaxis}},35790:function(_e){"use strict";_e.exports=be,be.displayName="peoplecode",be.aliases=["pcode"];function be(oe){oe.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},oe.languages.pcode=oe.languages.peoplecode}},25777:function(_e){"use strict";_e.exports=be,be.displayName="perl",be.aliases=[];function be(oe){(function(se){var Ce=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;se.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,Ce].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,Ce].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,Ce+/\s*/.source+Ce].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(oe)}},65889:function(_e,be,oe){"use strict";var se=oe(53852);_e.exports=Ce,Ce.displayName="phpExtras",Ce.aliases=[];function Ce(we){we.register(se),we.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(_e,be,oe){"use strict";var se=oe(51478);_e.exports=Ce,Ce.displayName="php",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){var De=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,Ke=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],Ee=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,et=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,Je=/[{}\[\](),:;]/;Ie.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:De,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:Ke,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:Ee,operator:et,punctuation:Je};var Ye={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:Ie.languages.php},tt=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:Ye}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:Ye}}];Ie.languages.insertBefore("php","variable",{string:tt,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:De,string:tt,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:Ke,number:Ee,operator:et,punctuation:Je}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),Ie.hooks.add("before-tokenize",function(ht){if(/<\?/.test(ht.code)){var kt=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;Ie.languages["markup-templating"].buildPlaceholders(ht,"php",kt)}}),Ie.hooks.add("after-tokenize",function(ht){Ie.languages["markup-templating"].tokenizePlaceholders(ht,"php")})}(we)}},97719:function(_e,be,oe){"use strict";var se=oe(53852),Ce=oe(53510);_e.exports=we,we.displayName="phpdoc",we.aliases=[];function we(Ie){Ie.register(se),Ie.register(Ce),function(De){var Ke=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;De.languages.phpdoc=De.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+Ke+"\\s+)?)\\$\\w+"),lookbehind:!0}}),De.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+Ke),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),De.languages.javadoclike.addSupport("php",De.languages.phpdoc)}(Ie)}},63839:function(_e,be,oe){"use strict";var se=oe(69435);_e.exports=Ce,Ce.displayName="plsql",Ce.aliases=[];function Ce(we){we.register(se),we.languages.plsql=we.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),we.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(_e){"use strict";_e.exports=be,be.displayName="powerquery",be.aliases=[];function be(oe){oe.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},oe.languages.pq=oe.languages.powerquery,oe.languages.mscript=oe.languages.powerquery}},32530:function(_e){"use strict";_e.exports=be,be.displayName="powershell",be.aliases=[];function be(oe){(function(se){var Ce=se.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};Ce.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:Ce},boolean:Ce.boolean,variable:Ce.variable}})(oe)}},8938:function(_e){"use strict";_e.exports=be,be.displayName="processing",be.aliases=[];function be(oe){oe.languages.processing=oe.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),oe.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(_e){"use strict";_e.exports=be,be.displayName="prolog",be.aliases=[];function be(oe){oe.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(_e){"use strict";_e.exports=be,be.displayName="promql",be.aliases=[];function be(oe){(function(se){var Ce=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],we=["on","ignoring","group_right","group_left","by","without"],Ie=["offset"],De=Ce.concat(we,Ie);se.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+we.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+De.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(oe)}},15375:function(_e){"use strict";_e.exports=be,be.displayName="properties",be.aliases=[];function be(oe){oe.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(_e){"use strict";_e.exports=be,be.displayName="protobuf",be.aliases=[];function be(oe){(function(se){var Ce=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;se.languages.protobuf=se.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),se.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:Ce}},builtin:Ce,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(oe)}},83588:function(_e){"use strict";_e.exports=be,be.displayName="psl",be.aliases=[];function be(oe){oe.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(_e){"use strict";_e.exports=be,be.displayName="pug",be.aliases=[];function be(oe){(function(se){se.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:se.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:se.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:se.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:se.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:se.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:se.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:se.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:se.languages.javascript}],punctuation:/[.\-!=|]+/};for(var Ce=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,we=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],Ie={},De=0,Ke=we.length;De",function(){return Ee.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[Ee.language,"language-"+Ee.language],inside:se.languages[Ee.language]}}})}se.languages.insertBefore("pug","filter",Ie)})(oe)}},21294:function(_e){"use strict";_e.exports=be,be.displayName="puppet",be.aliases=[];function be(oe){(function(se){se.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var Ce=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:se.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];se.languages.puppet.heredoc[0].inside.interpolation=Ce,se.languages.puppet.string.inside["double-quoted"].inside.interpolation=Ce})(oe)}},38709:function(_e){"use strict";_e.exports=be,be.displayName="pure",be.aliases=[];function be(oe){(function(se){se.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var Ce=["c",{lang:"c++",alias:"cpp"},"fortran"],we=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;Ce.forEach(function(Ie){var De=Ie;if(typeof Ie!="string"&&(De=Ie.alias,Ie=Ie.lang),se.languages[De]){var Ke={};Ke["inline-lang-"+De]={pattern:RegExp(we.replace("",Ie.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:se.util.clone(se.languages.pure["inline-lang"].inside)},Ke["inline-lang-"+De].inside.rest=se.util.clone(se.languages[De]),se.languages.insertBefore("pure","inline-lang",Ke)}}),se.languages.c&&(se.languages.pure["inline-lang"].inside.rest=se.util.clone(se.languages.c))})(oe)}},15008:function(_e){"use strict";_e.exports=be,be.displayName="purebasic",be.aliases=[];function be(oe){oe.languages.purebasic=oe.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),oe.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete oe.languages.purebasic["class-name"],delete oe.languages.purebasic.boolean,oe.languages.pbfasm=oe.languages.purebasic}},96549:function(_e,be,oe){"use strict";var se=oe(2050);_e.exports=Ce,Ce.displayName="purescript",Ce.aliases=["purs"];function Ce(we){we.register(se),we.languages.purescript=we.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[we.languages.haskell.operator[0],we.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),we.languages.purs=we.languages.purescript}},5221:function(_e){"use strict";_e.exports=be,be.displayName="python",be.aliases=["py"];function be(oe){oe.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},oe.languages.python["string-interpolation"].inside.interpolation.inside.rest=oe.languages.python,oe.languages.py=oe.languages.python}},27447:function(_e){"use strict";_e.exports=be,be.displayName="q",be.aliases=[];function be(oe){oe.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(_e){"use strict";_e.exports=be,be.displayName="qml",be.aliases=[];function be(oe){(function(se){for(var Ce=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,we=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,Ie=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return Ce}).replace(//g,function(){return we}),De=0;De<2;De++)Ie=Ie.replace(//g,function(){return Ie});Ie=Ie.replace(//g,"[^\\s\\S]"),se.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return Ie}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:se.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return Ie}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:se.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(oe)}},75542:function(_e){"use strict";_e.exports=be,be.displayName="qore",be.aliases=[];function be(oe){oe.languages.qore=oe.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(_e){"use strict";_e.exports=be,be.displayName="qsharp",be.aliases=["qs"];function be(oe){(function(se){function Ce(kt,ze){return kt.replace(/<<(\d+)>>/g,function(ee,ne){return"(?:"+ze[+ne]+")"})}function we(kt,ze,ee){return RegExp(Ce(kt,ze),ee||"")}function Ie(kt,ze){for(var ee=0;ee>/g,function(){return"(?:"+kt+")"});return kt.replace(/<>/g,"[^\\s\\S]")}var De={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function Ke(kt){return"\\b(?:"+kt.trim().replace(/ /g,"|")+")\\b"}var Ee=RegExp(Ke(De.type+" "+De.other)),et=/\b[A-Za-z_]\w*\b/.source,Je=Ce(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[et]),Ye={keyword:Ee,punctuation:/[<>()?,.:[\]]/},tt=/"(?:\\.|[^\\"])*"/.source;se.languages.qsharp=se.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:we(/(^|[^$\\])<<0>>/.source,[tt]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:we(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[Je]),lookbehind:!0,inside:Ye},{pattern:we(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[Je]),lookbehind:!0,inside:Ye}],keyword:Ee,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),se.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var ht=Ie(Ce(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[tt]),2);se.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:we(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[ht]),greedy:!0,inside:{interpolation:{pattern:we(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[ht]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:se.languages.qsharp}}},string:/[\s\S]+/}}})})(oe),oe.languages.qs=oe.languages.qsharp}},44298:function(_e){"use strict";_e.exports=be,be.displayName="r",be.aliases=[];function be(oe){oe.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(_e,be,oe){"use strict";var se=oe(48780);_e.exports=Ce,Ce.displayName="racket",Ce.aliases=["rkt"];function Ce(we){we.register(se),we.languages.racket=we.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),we.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),we.languages.rkt=we.languages.racket}},75266:function(_e){"use strict";_e.exports=be,be.displayName="reason",be.aliases=[];function be(oe){oe.languages.reason=oe.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),oe.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete oe.languages.reason.function}},48139:function(_e){"use strict";_e.exports=be,be.displayName="regex",be.aliases=[];function be(oe){(function(se){var Ce={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},we=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,Ie={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},De={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},Ke="(?:[^\\\\-]|"+we.source+")",Ee=RegExp(Ke+"-"+Ke),et={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};se.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:Ee,inside:{escape:we,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":Ce,"char-set":De,escape:we}},"special-escape":Ce,"char-set":Ie,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":et}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:we,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(_e){"use strict";_e.exports=be,be.displayName="renpy",be.aliases=["rpy"];function be(oe){oe.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},oe.languages.rpy=oe.languages.renpy}},63919:function(_e){"use strict";_e.exports=be,be.displayName="rest",be.aliases=[];function be(oe){oe.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(_e){"use strict";_e.exports=be,be.displayName="rip",be.aliases=[];function be(oe){oe.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(_e){"use strict";_e.exports=be,be.displayName="roboconf",be.aliases=[];function be(oe){oe.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(_e){"use strict";_e.exports=be,be.displayName="robotframework",be.aliases=[];function be(oe){(function(se){var Ce={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},we={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function Ie(et,Je){var Ye={};Ye["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var tt in Je)Ye[tt]=Je[tt];return Ye.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},Ye.variable=we,Ye.comment=Ce,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return et}),"im"),alias:"section",inside:Ye}}var De={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},Ke={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:we}},Ee={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:we}};se.languages.robotframework={settings:Ie("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:Ie("Variables"),"test-cases":Ie("Test Cases",{"test-name":Ke,documentation:De,property:Ee}),keywords:Ie("Keywords",{"keyword-name":Ke,documentation:De,property:Ee}),tasks:Ie("Tasks",{"task-name":Ke,documentation:De,property:Ee}),comment:Ce},se.languages.robot=se.languages.robotframework})(oe)}},75308:function(_e){"use strict";_e.exports=be,be.displayName="ruby",be.aliases=["rb"];function be(oe){(function(se){se.languages.ruby=se.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),se.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var Ce={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:se.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete se.languages.ruby.function;var we="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",Ie=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;se.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+we+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:Ce,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:Ce,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+Ie),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+Ie+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),se.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+we),greedy:!0,inside:{interpolation:Ce,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:Ce,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:Ce,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+we),greedy:!0,inside:{interpolation:Ce,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:Ce,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete se.languages.ruby.string,se.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),se.languages.rb=se.languages.ruby})(oe)}},45315:function(_e){"use strict";_e.exports=be,be.displayName="rust",be.aliases=[];function be(oe){(function(se){for(var Ce=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,we=0;we<2;we++)Ce=Ce.replace(//g,function(){return Ce});Ce=Ce.replace(//g,function(){return/[^\s\S]/.source}),se.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+Ce),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},se.languages.rust["closure-params"].inside.rest=se.languages.rust,se.languages.rust.attribute.inside.string=se.languages.rust.string})(oe)}},13794:function(_e){"use strict";_e.exports=be,be.displayName="sas",be.aliases=[];function be(oe){(function(se){var Ce=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,we=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,Ie={pattern:RegExp(Ce+"[bx]"),alias:"number"},De={pattern:/&[a-z_]\w*/i},Ke={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},Ee={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},et=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],Je={pattern:RegExp(Ce),greedy:!0},Ye=/[$%@.(){}\[\];,\\]/,tt={pattern:/%?\b\w+(?=\()/,alias:"keyword"},ht={function:tt,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":De,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:we,"numeric-constant":Ie,punctuation:Ye,string:Je},kt={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},ze={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},ee={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},ne={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},ge=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,ue={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return ge}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return ge}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:et,function:tt,"arg-value":ht["arg-value"],operator:ht.operator,argument:ht.arg,number:we,"numeric-constant":Ie,punctuation:Ye,string:Je}},me={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};se.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return Ce}),"im"),alias:"language-sql",inside:se.languages.sql},"global-statements":ee,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:we,"numeric-constant":Ie,punctuation:Ye,string:Je}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:et,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return Ce}),"im"),lookbehind:!0,alias:"language-groovy",inside:se.languages.groovy},keyword:me,"submit-statement":ne,"global-statements":ee,number:we,"numeric-constant":Ie,punctuation:Ye,string:Je}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:et,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return Ce}),"im"),lookbehind:!0,alias:"language-lua",inside:se.languages.lua},keyword:me,"submit-statement":ne,"global-statements":ee,number:we,"numeric-constant":Ie,punctuation:Ye,string:Je}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:et,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:ht}},"cas-actions":ue,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:ht},step:Ee,keyword:me,function:tt,format:kt,altformat:ze,"global-statements":ee,number:we,"numeric-constant":Ie,punctuation:Ye,string:Je}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return Ce}),"im"),lookbehind:!0,inside:ht},"macro-keyword":Ke,"macro-variable":De,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":Ke,"macro-variable":De,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:Ye}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:et,number:we,"numeric-constant":Ie}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:ht},"cas-actions":ue,comment:et,function:tt,format:kt,altformat:ze,"numeric-constant":Ie,datetime:{pattern:RegExp(Ce+"(?:dt?|t)"),alias:"number"},string:Je,step:Ee,keyword:me,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:we,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:Ye}})(oe)}},41299:function(_e){"use strict";_e.exports=be,be.displayName="sass",be.aliases=[];function be(oe){(function(se){se.languages.sass=se.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),se.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete se.languages.sass.atrule;var Ce=/\$[-\w]+|#\{\$[-\w]+\}/,we=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];se.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:Ce,operator:we}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:Ce,operator:we,important:se.languages.sass.important}}}),delete se.languages.sass.property,delete se.languages.sass.important,se.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(oe)}},98177:function(_e,be,oe){"use strict";var se=oe(7093);_e.exports=Ce,Ce.displayName="scala",Ce.aliases=[];function Ce(we){we.register(se),we.languages.scala=we.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),we.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:we.languages.scala}}},string:/[\s\S]+/}}}),delete we.languages.scala["class-name"],delete we.languages.scala.function}},48780:function(_e){"use strict";_e.exports=be,be.displayName="scheme",be.aliases=[];function be(oe){(function(se){se.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(Ce({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function Ce(we){for(var Ie in we)we[Ie]=we[Ie].replace(/<[\w\s]+>/g,function(De){return"(?:"+we[De].trim()+")"});return we[Ie]}})(oe)}},79793:function(_e){"use strict";_e.exports=be,be.displayName="scss",be.aliases=[];function be(oe){oe.languages.scss=oe.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),oe.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),oe.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),oe.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),oe.languages.scss.atrule.inside.rest=oe.languages.scss}},52085:function(_e,be,oe){"use strict";var se=oe(3058);_e.exports=Ce,Ce.displayName="shellSession",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){var De=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");Ie.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return De}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:Ie.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},Ie.languages["sh-session"]=Ie.languages.shellsession=Ie.languages["shell-session"]}(we)}},65411:function(_e){"use strict";_e.exports=be,be.displayName="smali",be.aliases=[];function be(oe){oe.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(_e){"use strict";_e.exports=be,be.displayName="smalltalk",be.aliases=[];function be(oe){oe.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(_e,be,oe){"use strict";var se=oe(51478);_e.exports=Ce,Ce.displayName="smarty",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){Ie.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:Ie.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},Ie.languages.smarty["embedded-php"].inside.smarty.inside=Ie.languages.smarty,Ie.languages.smarty.string[0].inside.interpolation.inside.expression.inside=Ie.languages.smarty;var De=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,Ke=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return De.source}),"g");Ie.hooks.add("before-tokenize",function(Ee){var et="{literal}",Je="{/literal}",Ye=!1;Ie.languages["markup-templating"].buildPlaceholders(Ee,"smarty",Ke,function(tt){return tt===Je&&(Ye=!1),Ye?!1:(tt===et&&(Ye=!0),!0)})}),Ie.hooks.add("after-tokenize",function(Ee){Ie.languages["markup-templating"].tokenizePlaceholders(Ee,"smarty")})}(we)}},66433:function(_e){"use strict";_e.exports=be,be.displayName="sml",be.aliases=["smlnj"];function be(oe){(function(se){var Ce=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;se.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return Ce.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:Ce,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},se.languages.sml["class-name"][0].inside=se.languages.sml,se.languages.smlnj=se.languages.sml})(oe)}},34855:function(_e){"use strict";_e.exports=be,be.displayName="solidity",be.aliases=["sol"];function be(oe){oe.languages.solidity=oe.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),oe.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),oe.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),oe.languages.sol=oe.languages.solidity}},12998:function(_e){"use strict";_e.exports=be,be.displayName="solutionFile",be.aliases=[];function be(oe){(function(se){var Ce={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};se.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:Ce}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:Ce}},guid:Ce,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},se.languages.sln=se.languages["solution-file"]})(oe)}},10202:function(_e,be,oe){"use strict";var se=oe(51478);_e.exports=Ce,Ce.displayName="soy",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){var De=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,Ke=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;Ie.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:De,greedy:!0},number:Ke,punctuation:/[\[\].?]/}},string:{pattern:De,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:Ke,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},Ie.hooks.add("before-tokenize",function(Ee){var et=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,Je="{literal}",Ye="{/literal}",tt=!1;Ie.languages["markup-templating"].buildPlaceholders(Ee,"soy",et,function(ht){return ht===Ye&&(tt=!1),tt?!1:(ht===Je&&(tt=!0),!0)})}),Ie.hooks.add("after-tokenize",function(Ee){Ie.languages["markup-templating"].tokenizePlaceholders(Ee,"soy")})}(we)}},41186:function(_e,be,oe){"use strict";var se=oe(58710);_e.exports=Ce,Ce.displayName="sparql",Ce.aliases=["rq"];function Ce(we){we.register(se),we.languages.sparql=we.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),we.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),we.languages.rq=we.languages.sparql}},68963:function(_e){"use strict";_e.exports=be,be.displayName="splunkSpl",be.aliases=[];function be(oe){oe.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(_e){"use strict";_e.exports=be,be.displayName="sqf",be.aliases=[];function be(oe){oe.languages.sqf=oe.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),oe.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:oe.languages.sqf.comment}}}),delete oe.languages.sqf["class-name"]}},69435:function(_e){"use strict";_e.exports=be,be.displayName="sql",be.aliases=[];function be(oe){oe.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(_e){"use strict";_e.exports=be,be.displayName="squirrel",be.aliases=[];function be(oe){oe.languages.squirrel=oe.languages.extend("clike",{comment:[oe.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),oe.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),oe.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(_e){"use strict";_e.exports=be,be.displayName="stan",be.aliases=[];function be(oe){(function(se){var Ce=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;se.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+Ce.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,Ce],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},se.languages.stan.constraint.inside.expression.inside=se.languages.stan})(oe)}},89032:function(_e){"use strict";_e.exports=be,be.displayName="stylus",be.aliases=[];function be(oe){(function(se){var Ce={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},we={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},Ie={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:Ce,number:we,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:Ce,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:we,punctuation:/[{}()\[\];:,]/};Ie.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:Ie}},Ie.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:Ie}},se.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:Ie}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:Ie}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:Ie}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:Ie.interpolation}},rest:Ie}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:Ie.interpolation,comment:Ie.comment,punctuation:/[{},]/}},func:Ie.func,string:Ie.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:Ie.interpolation,punctuation:/[{}()\[\];:.]/}})(oe)}},40241:function(_e){"use strict";_e.exports=be,be.displayName="swift",be.aliases=[];function be(oe){oe.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},oe.languages.swift["string-literal"].forEach(function(se){se.inside.interpolation.inside=oe.languages.swift})}},24812:function(_e){"use strict";_e.exports=be,be.displayName="systemd",be.aliases=[];function be(oe){(function(se){var Ce={pattern:/^[;#].*/m,greedy:!0},we=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;se.languages.systemd={comment:Ce,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+we+`|(?=[^"\r ]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+we+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:Ce,quoted:{pattern:RegExp(/(^|\s)/.source+we),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(oe)}},16747:function(_e,be,oe){"use strict";var se=oe(73584),Ce=oe(87648);_e.exports=we,we.displayName="t4Cs",we.aliases=[];function we(Ie){Ie.register(se),Ie.register(Ce),Ie.languages.t4=Ie.languages["t4-cs"]=Ie.languages["t4-templating"].createT4("csharp")}},73584:function(_e){"use strict";_e.exports=be,be.displayName="t4Templating",be.aliases=[];function be(oe){(function(se){function Ce(Ie,De,Ke){return{pattern:RegExp("<#"+Ie+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+Ie+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:De,alias:Ke}}}}function we(Ie){var De=se.languages[Ie],Ke="language-"+Ie;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:Ce("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:Ce("=",De,Ke),"class-feature":Ce("\\+",De,Ke),standard:Ce("",De,Ke)}}}}se.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:we})})(oe)}},79243:function(_e,be,oe){"use strict";var se=oe(73584),Ce=oe(55686);_e.exports=we,we.displayName="t4Vb",we.aliases=[];function we(Ie){Ie.register(se),Ie.register(Ce),Ie.languages["t4-vb"]=Ie.languages["t4-templating"].createT4("vbnet")}},31788:function(_e,be,oe){"use strict";var se=oe(14409);_e.exports=Ce,Ce.displayName="tap",Ce.aliases=[];function Ce(we){we.register(se),we.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:we.languages.yaml,alias:"language-yaml"}}}},60871:function(_e){"use strict";_e.exports=be,be.displayName="tcl",be.aliases=[];function be(oe){oe.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(_e){"use strict";_e.exports=be,be.displayName="textile",be.aliases=[];function be(oe){(function(se){var Ce=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,we=/\)|\((?![^|()\n]+\))/.source;function Ie(tt,ht){return RegExp(tt.replace(//g,function(){return"(?:"+Ce+")"}).replace(//g,function(){return"(?:"+we+")"}),ht||"")}var De={css:{pattern:/\{[^{}]+\}/,inside:{rest:se.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},Ke=se.languages.textile=se.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:Ie(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:Ie(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:De},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:Ie(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:Ie(/(^[*#]+)+/.source),lookbehind:!0,inside:De},punctuation:/^[*#]+/}},table:{pattern:Ie(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:Ie(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:De},punctuation:/\||^\./}},inline:{pattern:Ie(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:Ie(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:Ie(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:Ie(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:Ie(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:Ie(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:Ie(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:Ie(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:Ie(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:De},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:Ie(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:Ie(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:Ie(/(^")+/.source),lookbehind:!0,inside:De},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:Ie(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:Ie(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:Ie(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:De},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),Ee=Ke.phrase.inside,et={inline:Ee.inline,link:Ee.link,image:Ee.image,footnote:Ee.footnote,acronym:Ee.acronym,mark:Ee.mark};Ke.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var Je=Ee.inline.inside;Je.bold.inside=et,Je.italic.inside=et,Je.inserted.inside=et,Je.deleted.inside=et,Je.span.inside=et;var Ye=Ee.table.inside;Ye.inline=et.inline,Ye.link=et.link,Ye.image=et.image,Ye.footnote=et.footnote,Ye.acronym=et.acronym,Ye.mark=et.mark})(oe)}},14693:function(_e){"use strict";_e.exports=be,be.displayName="toml",be.aliases=[];function be(oe){(function(se){var Ce=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function we(Ie){return Ie.replace(/__/g,function(){return Ce})}se.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(we(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(we(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(oe)}},8743:function(_e){"use strict";_e.exports=be,be.displayName="tremor",be.aliases=[];function be(oe){(function(se){se.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var Ce=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;se.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+Ce+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+Ce+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(Ce),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:se.languages.tremor}}},string:/[\s\S]+/}},se.languages.troy=se.languages.tremor,se.languages.trickle=se.languages.tremor})(oe)}},1689:function(_e,be,oe){"use strict";var se=oe(24103),Ce=oe(92784);_e.exports=we,we.displayName="tsx",we.aliases=[];function we(Ie){Ie.register(se),Ie.register(Ce),function(De){var Ke=De.util.clone(De.languages.typescript);De.languages.tsx=De.languages.extend("jsx",Ke),delete De.languages.tsx.parameter,delete De.languages.tsx["literal-property"];var Ee=De.languages.tsx.tag;Ee.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+Ee.pattern.source+")",Ee.pattern.flags),Ee.lookbehind=!0}(Ie)}},69210:function(_e,be,oe){"use strict";var se=oe(51478);_e.exports=Ce,Ce.displayName="tt2",Ce.aliases=[];function Ce(we){we.register(se),function(Ie){Ie.languages.tt2=Ie.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),Ie.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),Ie.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),Ie.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete Ie.languages.tt2.string,Ie.hooks.add("before-tokenize",function(De){var Ke=/\[%[\s\S]+?%\]/g;Ie.languages["markup-templating"].buildPlaceholders(De,"tt2",Ke)}),Ie.hooks.add("after-tokenize",function(De){Ie.languages["markup-templating"].tokenizePlaceholders(De,"tt2")})}(we)}},58710:function(_e){"use strict";_e.exports=be,be.displayName="turtle",be.aliases=[];function be(oe){oe.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},oe.languages.trig=oe.languages.turtle}},60452:function(_e,be,oe){"use strict";var se=oe(51478);_e.exports=Ce,Ce.displayName="twig",Ce.aliases=[];function Ce(we){we.register(se),we.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},we.hooks.add("before-tokenize",function(Ie){if(Ie.language==="twig"){var De=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;we.languages["markup-templating"].buildPlaceholders(Ie,"twig",De)}}),we.hooks.add("after-tokenize",function(Ie){we.languages["markup-templating"].tokenizePlaceholders(Ie,"twig")})}},92784:function(_e){"use strict";_e.exports=be,be.displayName="typescript",be.aliases=["ts"];function be(oe){(function(se){se.languages.typescript=se.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),se.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete se.languages.typescript.parameter,delete se.languages.typescript["literal-property"];var Ce=se.languages.extend("typescript",{});delete Ce["class-name"],se.languages.typescript["class-name"].inside=Ce,se.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:Ce}}}}),se.languages.ts=se.languages.typescript})(oe)}},36489:function(_e){"use strict";_e.exports=be,be.displayName="typoscript",be.aliases=["tsconfig"];function be(oe){(function(se){var Ce=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;se.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:Ce}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:Ce,number:/^\d+$/,punctuation:/[,|:]/}},keyword:Ce,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},se.languages.tsconfig=se.languages.typoscript})(oe)}},78380:function(_e){"use strict";_e.exports=be,be.displayName="unrealscript",be.aliases=["uc","uscript"];function be(oe){oe.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},oe.languages.uc=oe.languages.uscript=oe.languages.unrealscript}},10409:function(_e){"use strict";_e.exports=be,be.displayName="uorazor",be.aliases=[];function be(oe){oe.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(_e){"use strict";_e.exports=be,be.displayName="uri",be.aliases=["url"];function be(oe){oe.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},oe.languages.url=oe.languages.uri}},82028:function(_e){"use strict";_e.exports=be,be.displayName="v",be.aliases=[];function be(oe){(function(se){var Ce={pattern:/[\s\S]+/,inside:null};se.languages.v=se.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":Ce}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),Ce.inside=se.languages.v,se.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),se.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),se.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:se.languages.v.generic.inside}}}})})(oe)}},62282:function(_e){"use strict";_e.exports=be,be.displayName="vala",be.aliases=[];function be(oe){oe.languages.vala=oe.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),oe.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:oe.languages.vala}},string:/[\s\S]+/}}}),oe.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:oe.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(_e,be,oe){"use strict";var se=oe(51422);_e.exports=Ce,Ce.displayName="vbnet",Ce.aliases=[];function Ce(we){we.register(se),we.languages.vbnet=we.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(_e){"use strict";_e.exports=be,be.displayName="velocity",be.aliases=[];function be(oe){(function(se){se.languages.velocity=se.languages.extend("markup",{});var Ce={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};Ce.variable.inside={string:Ce.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:Ce.number,boolean:Ce.boolean,punctuation:Ce.punctuation},se.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:Ce}},variable:Ce.variable}),se.languages.velocity.tag.inside["attr-value"].inside.rest=se.languages.velocity})(oe)}},37116:function(_e){"use strict";_e.exports=be,be.displayName="verilog",be.aliases=[];function be(oe){oe.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(_e){"use strict";_e.exports=be,be.displayName="vhdl",be.aliases=[];function be(oe){oe.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(_e){"use strict";_e.exports=be,be.displayName="vim",be.aliases=[];function be(oe){oe.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(_e){"use strict";_e.exports=be,be.displayName="visualBasic",be.aliases=[];function be(oe){oe.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},oe.languages.vb=oe.languages["visual-basic"],oe.languages.vba=oe.languages["visual-basic"]}},17723:function(_e){"use strict";_e.exports=be,be.displayName="warpscript",be.aliases=[];function be(oe){oe.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(_e){"use strict";_e.exports=be,be.displayName="wasm",be.aliases=[];function be(oe){oe.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(_e){"use strict";_e.exports=be,be.displayName="webIdl",be.aliases=[];function be(oe){(function(se){var Ce=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,we="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+Ce+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,Ie={};se.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+Ce),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:Ie},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+we),lookbehind:!0,inside:Ie},{pattern:RegExp("("+/\bcallback\s+/.source+Ce+/\s*=\s*/.source+")"+we),lookbehind:!0,inside:Ie},{pattern:RegExp(/(\btypedef\b\s*)/.source+we),lookbehind:!0,inside:Ie},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+Ce),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+Ce),lookbehind:!0},RegExp(Ce+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+Ce),lookbehind:!0},{pattern:RegExp(we+"(?="+/\s*(?:\.{3}\s*)?/.source+Ce+/\s*[(),;=]/.source+")"),inside:Ie}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var De in se.languages["web-idl"])De!=="class-name"&&(Ie[De]=se.languages["web-idl"][De]);se.languages.webidl=se.languages["web-idl"]})(oe)}},8921:function(_e){"use strict";_e.exports=be,be.displayName="wiki",be.aliases=[];function be(oe){oe.languages.wiki=oe.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:oe.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),oe.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:oe.languages.markup.tag.inside}}}})}},13429:function(_e){"use strict";_e.exports=be,be.displayName="wolfram",be.aliases=["mathematica","wl","nb"];function be(oe){oe.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},oe.languages.mathematica=oe.languages.wolfram,oe.languages.wl=oe.languages.wolfram,oe.languages.nb=oe.languages.wolfram}},65197:function(_e){"use strict";_e.exports=be,be.displayName="wren",be.aliases=[];function be(oe){oe.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},oe.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:oe.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(_e){"use strict";_e.exports=be,be.displayName="xeora",be.aliases=["xeoracube"];function be(oe){(function(se){se.languages.xeora=se.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),se.languages.insertBefore("inside","punctuation",{variable:se.languages.xeora["function-inline"].inside.variable},se.languages.xeora["function-block"]),se.languages.xeoracube=se.languages.xeora})(oe)}},35:function(_e){"use strict";_e.exports=be,be.displayName="xmlDoc",be.aliases=[];function be(oe){(function(se){function Ce(Ke,Ee){se.languages[Ke]&&se.languages.insertBefore(Ke,"comment",{"doc-comment":Ee})}var we=se.languages.markup.tag,Ie={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:we}},De={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:we}};Ce("csharp",Ie),Ce("fsharp",Ie),Ce("vbnet",De)})(oe)}},86095:function(_e){"use strict";_e.exports=be,be.displayName="xojo",be.aliases=[];function be(oe){oe.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(_e){"use strict";_e.exports=be,be.displayName="xquery",be.aliases=[];function be(oe){(function(se){se.languages.xquery=se.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),se.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,se.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,se.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,se.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:se.languages.xquery,alias:"language-xquery"};var Ce=function(Ie){return typeof Ie=="string"?Ie:typeof Ie.content=="string"?Ie.content:Ie.content.map(Ce).join("")},we=function(Ie){for(var De=[],Ke=0;Ke0&&De[De.length-1].tagName===Ce(Ee.content[0].content[1])&&De.pop():Ee.content[Ee.content.length-1].content==="/>"||De.push({tagName:Ce(Ee.content[0].content[1]),openedBraces:0}):De.length>0&&Ee.type==="punctuation"&&Ee.content==="{"&&(!Ie[Ke+1]||Ie[Ke+1].type!=="punctuation"||Ie[Ke+1].content!=="{")&&(!Ie[Ke-1]||Ie[Ke-1].type!=="plain-text"||Ie[Ke-1].content!=="{")?De[De.length-1].openedBraces++:De.length>0&&De[De.length-1].openedBraces>0&&Ee.type==="punctuation"&&Ee.content==="}"?De[De.length-1].openedBraces--:Ee.type!=="comment"&&(et=!0)),(et||typeof Ee=="string")&&De.length>0&&De[De.length-1].openedBraces===0){var Je=Ce(Ee);Ke0&&(typeof Ie[Ke-1]=="string"||Ie[Ke-1].type==="plain-text")&&(Je=Ce(Ie[Ke-1])+Je,Ie.splice(Ke-1,1),Ke--),/^\s+$/.test(Je)?Ie[Ke]=Je:Ie[Ke]=new se.Token("plain-text",Je,null,Je)}Ee.content&&typeof Ee.content!="string"&&we(Ee.content)}};se.hooks.add("after-tokenize",function(Ie){Ie.language==="xquery"&&we(Ie.tokens)})})(oe)}},14409:function(_e){"use strict";_e.exports=be,be.displayName="yaml",be.aliases=["yml"];function be(oe){(function(se){var Ce=/[*&][^\s[\]{},]+/,we=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,Ie="(?:"+we.source+"(?:[ ]+"+Ce.source+")?|"+Ce.source+"(?:[ ]+"+we.source+")?)",De=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),Ke=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function Ee(et,Je){Je=(Je||"").replace(/m/g,"")+"m";var Ye=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return Ie}).replace(/<>/g,function(){return et});return RegExp(Ye,Je)}se.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return Ie})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return Ie}).replace(/<>/g,function(){return"(?:"+De+"|"+Ke+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:Ee(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:Ee(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:Ee(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:Ee(Ke),lookbehind:!0,greedy:!0},number:{pattern:Ee(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:we,important:Ce,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},se.languages.yml=se.languages.yaml})(oe)}},33460:function(_e){"use strict";_e.exports=be,be.displayName="yang",be.aliases=[];function be(oe){oe.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(_e){"use strict";_e.exports=be,be.displayName="zig",be.aliases=[];function be(oe){(function(se){function Ce(Je){return function(){return Je}}var we=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,Ie="\\b(?!"+we.source+")(?!\\d)\\w+\\b",De=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,Ke=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,Ce(De)),Ee=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,Ce(Ie)),et="(?!\\s)(?:!?\\s*(?:"+Ke+"\\s*)*"+Ee+")+";se.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,Ce(et)).replace(//g,Ce(De))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,Ce(et)).replace(//g,Ce(De))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:we,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},se.languages.zig["class-name"].forEach(function(Je){Je.inside===null&&(Je.inside=se.languages.zig)})})(oe)}},92848:function(_e,be){"use strict";var oe;be.Q=Ie,oe=De;var se="",Ce=" ",we=/[ \t\n\r\f]+/g;function Ie(Ke){var Ee=String(Ke||se).trim();return Ee===se?[]:Ee.split(we)}function De(Ke){return Ke.join(Ce).trim()}},58970:function(_e,be,oe){"use strict";var se=this&&this.__importDefault||function(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}};Object.defineProperty(be,"__esModule",{value:!0}),be.default=we;var Ce=se(oe(93193));function we(Ie,De){var Ke=null;if(!Ie||typeof Ie!="string")return Ke;var Ee=(0,Ce.default)(Ie),et=typeof De=="function";return Ee.forEach(function(Je){if(Je.type==="declaration"){var Ye=Je.property,tt=Je.value;et?De(Ye,tt,Je):tt&&(Ke=Ke||{},Ke[Ye]=tt)}}),Ke}},97270:function(_e){_e.exports=oe;var be=Object.prototype.hasOwnProperty;function oe(){for(var se={},Ce=0;Cetypeof Je=="object"&&Je!=null&&Je.nodeType===1,Ce=(Je,Ye)=>(!Ye||Je!=="hidden")&&Je!=="visible"&&Je!=="clip",we=(Je,Ye)=>{if(Je.clientHeight{const kt=(ze=>{if(!ze.ownerDocument||!ze.ownerDocument.defaultView)return null;try{return ze.ownerDocument.defaultView.frameElement}catch(ee){return null}})(ht);return!!kt&&(kt.clientHeightzeYe||ze>Je&&ee=Ye&&ne>=tt?ze-Je-ht:ee>Ye&&nett?ee-Ye+kt:0,De=Je=>{const Ye=Je.parentElement;return Ye==null?Je.getRootNode().host||null:Ye},Ke=(Je,Ye)=>{var tt,ht,kt,ze;if(typeof document=="undefined")return[];const{scrollMode:ee,block:ne,inline:ge,boundary:ue,skipOverflowHiddenElements:me}=Ye,Se=typeof ue=="function"?ue:sn=>sn!==ue;if(!se(Je))throw new TypeError("Invalid target");const Ne=document.scrollingElement||document.documentElement,ke=[];let Te=Je;for(;se(Te)&&Se(Te);){if(Te=De(Te),Te===Ne){ke.push(Te);break}Te!=null&&Te===document.body&&we(Te)&&!we(document.documentElement)||Te!=null&&we(Te,me)&&ke.push(Te)}const We=(ht=(tt=window.visualViewport)==null?void 0:tt.width)!=null?ht:innerWidth,$e=(ze=(kt=window.visualViewport)==null?void 0:kt.height)!=null?ze:innerHeight,{scrollX:st,scrollY:ut}=window,{height:Mt,width:nt,top:$t,right:Pt,bottom:dn,left:zt}=Je.getBoundingClientRect(),{top:Xt,right:fn,bottom:an,left:it}=(sn=>{const It=window.getComputedStyle(sn);return{top:parseFloat(It.scrollMarginTop)||0,right:parseFloat(It.scrollMarginRight)||0,bottom:parseFloat(It.scrollMarginBottom)||0,left:parseFloat(It.scrollMarginLeft)||0}})(Je);let Ve=ne==="start"||ne==="nearest"?$t-Xt:ne==="end"?dn+an:$t+Mt/2-Xt+an,gt=ge==="center"?zt+nt/2-it+fn:ge==="end"?Pt+fn:zt-it;const Bt=[];for(let sn=0;sn=0&&zt>=0&&dn<=$e&&Pt<=We&&(It===Ne&&!we(It)||$t>=ei&&dn<=Kn&&zt>=jt&&Pt<=An))return Bt;const Nn=getComputedStyle(It),Gn=parseInt(Nn.borderLeftWidth,10),ii=parseInt(Nn.borderTopWidth,10),Sn=parseInt(Nn.borderRightWidth,10),Yt=parseInt(Nn.borderBottomWidth,10);let Zt=0,St=0;const rt="offsetWidth"in It?It.offsetWidth-It.clientWidth-Gn-Sn:0,Ft="offsetHeight"in It?It.offsetHeight-It.clientHeight-ii-Yt:0,Ot="offsetWidth"in It?It.offsetWidth===0?0:En/It.offsetWidth:0,ft="offsetHeight"in It?It.offsetHeight===0?0:en/It.offsetHeight:0;if(Ne===It)Zt=ne==="start"?Ve:ne==="end"?Ve-$e:ne==="nearest"?Ie(ut,ut+$e,$e,ii,Yt,ut+Ve,ut+Ve+Mt,Mt):Ve-$e/2,St=ge==="start"?gt:ge==="center"?gt-We/2:ge==="end"?gt-We:Ie(st,st+We,We,Gn,Sn,st+gt,st+gt+nt,nt),Zt=Math.max(0,Zt+ut),St=Math.max(0,St+st);else{Zt=ne==="start"?Ve-ei-ii:ne==="end"?Ve-Kn+Yt+Ft:ne==="nearest"?Ie(ei,Kn,en,ii,Yt+Ft,Ve,Ve+Mt,Mt):Ve-(ei+en/2)+Ft/2,St=ge==="start"?gt-jt-Gn:ge==="center"?gt-(jt+En/2)+rt/2:ge==="end"?gt-An+Sn+rt:Ie(jt,An,En,Gn,Sn+rt,gt,gt+nt,nt);const{scrollLeft:ct,scrollTop:Ge}=It;Zt=ft===0?0:Math.max(0,Math.min(Ge+Zt/ft,It.scrollHeight-en/ft+Ft)),St=Ot===0?0:Math.max(0,Math.min(ct+St/Ot,It.scrollWidth-En/Ot+rt)),Ve+=Ge-Zt,gt+=ct-St}Bt.push({el:It,top:Zt,left:St})}return Bt},Ee=Je=>Je===!1?{block:"end",inline:"nearest"}:(Ye=>Ye===Object(Ye)&&Object.keys(Ye).length!==0)(Je)?Je:{block:"start",inline:"nearest"};function et(Je,Ye){if(!Je.isConnected||!(kt=>{let ze=kt;for(;ze&&ze.parentNode;){if(ze.parentNode===document)return!0;ze=ze.parentNode instanceof ShadowRoot?ze.parentNode.host:ze.parentNode}return!1})(Je))return;const tt=(kt=>{const ze=window.getComputedStyle(kt);return{top:parseFloat(ze.scrollMarginTop)||0,right:parseFloat(ze.scrollMarginRight)||0,bottom:parseFloat(ze.scrollMarginBottom)||0,left:parseFloat(ze.scrollMarginLeft)||0}})(Je);if((kt=>typeof kt=="object"&&typeof kt.behavior=="function")(Ye))return Ye.behavior(Ke(Je,Ye));const ht=typeof Ye=="boolean"||Ye==null?void 0:Ye.behavior;for(const{el:kt,top:ze,left:ee}of Ke(Je,Ee(Ye))){const ne=ze-tt.top+tt.bottom,ge=ee-tt.left+tt.right;kt.scroll({top:ne,left:ge,behavior:ht})}}},47854:function(_e){"use strict";_e.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(_e){"use strict";_e.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]); diff --git a/umi.f2a09eb7.js b/umi.280a9069.js similarity index 99% rename from umi.f2a09eb7.js rename to umi.280a9069.js index 7e7c3ce180..8fa4c153b5 100644 --- a/umi.f2a09eb7.js +++ b/umi.280a9069.js @@ -228,6 +228,6 @@ Add a component higher in the tree to provide a loading \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(i,d,e){"use strict";var t=e(65911),r=e(32621),n=e(68151),o=e(16332),s=e(58218),u=e(24538),c=e(44166),a=e(25576),f=e(7825),g=e(73068),p=e(61888),b=e(35454),h=e(16697);i.exports=function(E,P,A,I){var C="stackTraceLimit",O=I?2:1,T=E.split("."),D=T[T.length-1],k=t.apply(null,T);if(k){var L=k.prototype;if(!h&&r(L,"cause")&&delete L.cause,!A)return k;var M=t("Error"),R=P(function(U,N){var V=f(I?N:U,void 0),j=I?new k(U):new k;return V!==void 0&&n(j,"message",V),p(j,R,j.stack,2),this&&o(L,this)&&a(j,this,R),arguments.length>O&&g(j,arguments[O]),j});if(R.prototype=L,D!=="Error"?s?s(R,M):u(R,M,{name:!0}):b&&C in k&&(c(R,k,C),c(R,k,"prepareStackTrace")),u(R,k),!h)try{L.name!==D&&n(L,"name",D),L.constructor=R}catch(U){}return R}}},93074:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),o=e(3338),s=e(78540),u="AggregateError",c=r(u),a=!o(function(){return c([1]).errors[0]!==1})&&o(function(){return c([1],u,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:a},{AggregateError:s(u,function(f){return function(p,b){return n(f,this,arguments)}},a,!0)})},6555:function(i,d,e){"use strict";var t=e(94488),r=e(16332),n=e(53456),o=e(58218),s=e(24538),u=e(20132),c=e(68151),a=e(35012),f=e(73068),g=e(61888),p=e(62003),b=e(7825),h=e(59893),E=h("toStringTag"),P=Error,A=[].push,I=function(T,D){var k=r(C,this),L;o?L=o(new P,k?n(this):C):(L=k?this:u(C),c(L,E,"Error")),D!==void 0&&c(L,"message",b(D)),g(L,I,L.stack,1),arguments.length>2&&f(L,arguments[2]);var M=[];return p(T,A,{that:M}),c(L,"errors",M),L};o?o(I,P):s(I,P,{name:!0});var C=I.prototype=u(P.prototype,{constructor:a(1,I),message:a(1,""),name:a(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:I})},86357:function(i,d,e){"use strict";e(6555)},89170:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(91669),o=e(51996),s="ArrayBuffer",u=n[s],c=r[s];t({global:!0,constructor:!0,forced:c!==u},{ArrayBuffer:u}),o(s)},71012:function(i,d,e){"use strict";var t=e(94488),r=e(58261),n=r.NATIVE_ARRAY_BUFFER_VIEWS;t({target:"ArrayBuffer",stat:!0,forced:!n},{isView:r.isView})},84203:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(3338),o=e(91669),s=e(80449),u=e(51981),c=e(61578),a=e(60473),f=o.ArrayBuffer,g=o.DataView,p=g.prototype,b=r(f.prototype.slice),h=r(p.getUint8),E=r(p.setUint8),P=n(function(){return!new f(2).slice(1,void 0).byteLength});t({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:P},{slice:function(I,C){if(b&&C===void 0)return b(s(this),I);for(var O=s(this).byteLength,T=u(I,O),D=u(C===void 0?O:C,O),k=new(a(this,f))(c(D-T)),L=new g(this),M=new g(k),R=0;T=0?g:f+g;return p<0||p>=f?void 0:a[p]}}),s("at")},2924:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(18589),o=e(31946),s=e(94029),u=e(82762),c=e(66434),a=e(69392),f=e(81427),g=e(17480),p=e(59893),b=e(46573),h=p("isConcatSpreadable"),E=b>=51||!r(function(){var I=[];return I[h]=!1,I.concat()[0]!==I}),P=function(I){if(!o(I))return!1;var C=I[h];return C!==void 0?!!C:n(I)},A=!E||!g("concat");t({target:"Array",proto:!0,arity:1,forced:A},{concat:function(C){var O=s(this),T=f(O,0),D=0,k,L,M,R,U;for(k=-1,M=arguments.length;k1?arguments[1]:void 0)}})},16137:function(i,d,e){"use strict";var t=e(94488),r=e(75202),n=e(81181);t({target:"Array",proto:!0},{fill:r}),n("fill")},48435:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filter,n=e(17480),o=n("filter");t({target:"Array",proto:!0,forced:!o},{filter:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},70365:function(i,d,e){"use strict";var t=e(94488),r=e(90560).findIndex,n=e(81181),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{findIndex:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(o)},17482:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLastIndex,n=e(81181);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLastIndex")},33717:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLast,n=e(81181);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLast")},11553:function(i,d,e){"use strict";var t=e(94488),r=e(90560).find,n=e(81181),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{find:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(o)},65033:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(63335),o=e(94029),s=e(82762),u=e(81427);t({target:"Array",proto:!0},{flatMap:function(a){var f=o(this),g=s(f),p;return n(a),p=u(f,0),p.length=r(p,f,f,g,0,1,a,arguments.length>1?arguments[1]:void 0),p}})},23708:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(94029),o=e(82762),s=e(56902),u=e(81427);t({target:"Array",proto:!0},{flat:function(){var a=arguments.length?arguments[0]:void 0,f=n(this),g=o(f),p=u(f,0);return p.length=r(p,f,f,g,0,a===void 0?1:s(a)),p}})},52732:function(i,d,e){"use strict";var t=e(94488),r=e(59594);t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})},99382:function(i,d,e){"use strict";var t=e(94488),r=e(60255),n=e(35221),o=!n(function(s){Array.from(s)});t({target:"Array",stat:!0,forced:o},{from:r})},88437:function(i,d,e){"use strict";var t=e(94488),r=e(22999).includes,n=e(3338),o=e(81181),s=n(function(){return!Array(1).includes()});t({target:"Array",proto:!0,forced:s},{includes:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),o("includes")},68440:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(22999).indexOf,o=e(45601),s=r([].indexOf),u=!!s&&1/s([1],1,-0)<0,c=u||!o("indexOf");t({target:"Array",proto:!0,forced:c},{indexOf:function(f){var g=arguments.length>1?arguments[1]:void 0;return u?s(this,f,g)||0:n(this,f,g)}})},13412:function(i,d,e){"use strict";var t=e(94488),r=e(18589);t({target:"Array",stat:!0},{isArray:r})},11005:function(i,d,e){"use strict";var t=e(80524),r=e(81181),n=e(48074),o=e(94844),s=e(37691).f,u=e(24019),c=e(25587),a=e(16697),f=e(35454),g="Array Iterator",p=o.set,b=o.getterFor(g);i.exports=u(Array,"Array",function(E,P){p(this,{type:g,target:t(E),index:0,kind:P})},function(){var E=b(this),P=E.target,A=E.index++;if(!P||A>=P.length)return E.target=void 0,c(void 0,!0);switch(E.kind){case"keys":return c(A,!1);case"values":return c(P[A],!1)}return c([A,P[A]],!1)},"values");var h=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!a&&f&&h.name!=="values")try{s(h,"name",{value:"values"})}catch(E){}},70348:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(1835),o=e(80524),s=e(45601),u=r([].join),c=n!==Object,a=c||!s("join",",");t({target:"Array",proto:!0,forced:a},{join:function(g){return u(o(this),g===void 0?",":g)}})},19801:function(i,d,e){"use strict";var t=e(94488),r=e(55009);t({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},91550:function(i,d,e){"use strict";var t=e(94488),r=e(90560).map,n=e(17480),o=n("map");t({target:"Array",proto:!0,forced:!o},{map:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},85223:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(39812),o=e(69392),s=Array,u=r(function(){function c(){}return!(s.of.call(c)instanceof c)});t({target:"Array",stat:!0,forced:u},{of:function(){for(var a=0,f=arguments.length,g=new(n(this)?this:s)(f);f>a;)o(g,a,arguments[a++]);return g.length=f,g}})},7154:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(82762),o=e(39428),s=e(66434),u=e(3338),c=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),a=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},f=c||!a();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(p){var b=r(this),h=n(b),E=arguments.length;s(h+E);for(var P=0;P79&&o<83,c=u||!n("reduceRight");t({target:"Array",proto:!0,forced:c},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(i,d,e){"use strict";var t=e(94488),r=e(16370).left,n=e(45601),o=e(46573),s=e(90946),u=!s&&o>79&&o<83,c=u||!n("reduce");t({target:"Array",proto:!0,forced:c},{reduce:function(f){var g=arguments.length;return r(this,f,g,g>1?arguments[1]:void 0)}})},9402:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(18589),o=r([].reverse),s=[1,2];t({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),o(this)}})},62489:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=e(39812),o=e(31946),s=e(51981),u=e(82762),c=e(80524),a=e(69392),f=e(59893),g=e(17480),p=e(30867),b=g("slice"),h=f("species"),E=Array,P=Math.max;t({target:"Array",proto:!0,forced:!b},{slice:function(I,C){var O=c(this),T=u(O),D=s(I,T),k=s(C===void 0?T:C,T),L,M,R;if(r(O)&&(L=O.constructor,n(L)&&(L===E||r(L.prototype))?L=void 0:o(L)&&(L=L[h],L===null&&(L=void 0)),L===E||L===void 0))return p(O,D,k);for(M=new(L===void 0?E:L)(P(k-D,0)),R=0;D1?arguments[1]:void 0)}})},62837:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(63335),o=e(94029),s=e(82762),u=e(84233),c=e(69905),a=e(3338),f=e(63668),g=e(45601),p=e(78177),b=e(17687),h=e(46573),E=e(19684),P=[],A=r(P.sort),I=r(P.push),C=a(function(){P.sort(void 0)}),O=a(function(){P.sort(null)}),T=g("sort"),D=!a(function(){if(h)return h<70;if(!(p&&p>3)){if(b)return!0;if(E)return E<603;var M="",R,U,N,V;for(R=65;R<76;R++){switch(U=String.fromCharCode(R),R){case 66:case 69:case 70:case 72:N=3;break;case 68:case 71:N=4;break;default:N=2}for(V=0;V<47;V++)P.push({k:U+V,v:N})}for(P.sort(function(j,K){return K.v-j.v}),V=0;Vc(U)?1:-1}};t({target:"Array",proto:!0,forced:k},{sort:function(R){R!==void 0&&n(R);var U=o(this);if(D)return R===void 0?A(U):A(U,R);var N=[],V=s(U),j,K;for(K=0;KO-L+k;R--)g(C,R-1)}else if(k>L)for(R=O-L;R>T;R--)U=R+L-1,N=R+k-1,U in C?C[N]=C[U]:g(C,N);for(R=0;R=0&&f<=99?f+1900:f;return u(this,g)}})},71390:function(i,d,e){"use strict";var t=e(94488);t({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(i,d,e){"use strict";var t=e(94488),r=e(32494);t({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},83578:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),o=e(97954),s=r(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});t({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(c){var a=n(this),f=o(a,"number");return typeof f=="number"&&!isFinite(f)?null:a.toISOString()}})},69762:function(i,d,e){"use strict";var t=e(32621),r=e(2291),n=e(77119),o=e(59893),s=o("toPrimitive"),u=Date.prototype;t(u,s)||r(u,s,n)},76880:function(i,d,e){"use strict";var t=e(94237),r=e(2291),n=Date.prototype,o="Invalid Date",s="toString",u=t(n[s]),c=t(n.getTime);String(new Date(NaN))!==o&&r(n,s,function(){var f=c(this);return f===f?u(this):o})},31808:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(13743),o=e(78540),s="WebAssembly",u=r[s],c=new Error("e",{cause:7}).cause!==7,a=function(g,p){var b={};b[g]=o(g,p,c),t({global:!0,constructor:!0,arity:1,forced:c},b)},f=function(g,p){if(u&&u[g]){var b={};b[g]=o(s+"."+g,p,c),t({target:s,stat:!0,constructor:!0,arity:1,forced:c},b)}};a("Error",function(g){return function(b){return n(g,this,arguments)}}),a("EvalError",function(g){return function(b){return n(g,this,arguments)}}),a("RangeError",function(g){return function(b){return n(g,this,arguments)}}),a("ReferenceError",function(g){return function(b){return n(g,this,arguments)}}),a("SyntaxError",function(g){return function(b){return n(g,this,arguments)}}),a("TypeError",function(g){return function(b){return n(g,this,arguments)}}),a("URIError",function(g){return function(b){return n(g,this,arguments)}}),f("CompileError",function(g){return function(b){return n(g,this,arguments)}}),f("LinkError",function(g){return function(b){return n(g,this,arguments)}}),f("RuntimeError",function(g){return function(b){return n(g,this,arguments)}})},99953:function(i,d,e){"use strict";var t=e(2291),r=e(13367),n=Error.prototype;n.toString!==r&&t(n,"toString",r)},65009:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),o=r("".charAt),s=r("".charCodeAt),u=r(/./.exec),c=r(1 .toString),a=r("".toUpperCase),f=/[\w*+\-./@]/,g=function(p,b){for(var h=c(p,16);h.length9490626562425156e-8?o(g)+u:r(g-1+s(g-1)*s(g+1))}})},85660:function(i,d,e){"use strict";var t=e(94488),r=Math.asinh,n=Math.log,o=Math.sqrt;function s(c){var a=+c;return!isFinite(a)||a===0?a:a<0?-s(-a):n(a+o(a*a+1))}var u=!(r&&1/r(0)>0);t({target:"Math",stat:!0,forced:u},{asinh:s})},80031:function(i,d,e){"use strict";var t=e(94488),r=Math.atanh,n=Math.log,o=!(r&&1/r(-0)<0);t({target:"Math",stat:!0,forced:o},{atanh:function(u){var c=+u;return c===0?c:n((1+c)/(1-c))/2}})},34434:function(i,d,e){"use strict";var t=e(94488),r=e(37666),n=Math.abs,o=Math.pow;t({target:"Math",stat:!0},{cbrt:function(u){var c=+u;return r(c)*o(n(c),.3333333333333333)}})},83579:function(i,d,e){"use strict";var t=e(94488),r=Math.floor,n=Math.log,o=Math.LOG2E;t({target:"Math",stat:!0},{clz32:function(u){var c=u>>>0;return c?31-r(n(c+.5)*o):32}})},74307:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.cosh,o=Math.abs,s=Math.E,u=!n||n(710)===1/0;t({target:"Math",stat:!0,forced:u},{cosh:function(a){var f=r(o(a)-1)+1;return(f+1/(f*s*s))*(s/2)}})},97423:function(i,d,e){"use strict";var t=e(94488),r=e(10014);t({target:"Math",stat:!0,forced:r!==Math.expm1},{expm1:r})},93321:function(i,d,e){"use strict";var t=e(94488),r=e(14894);t({target:"Math",stat:!0},{fround:r})},82277:function(i,d,e){"use strict";var t=e(94488),r=Math.hypot,n=Math.abs,o=Math.sqrt,s=!!r&&r(1/0,NaN)!==1/0;t({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(c,a){for(var f=0,g=0,p=arguments.length,b=0,h,E;g0?(E=h/b,f+=E*E):f+=h;return b===1/0?1/0:b*o(f)}})},61425:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=Math.imul,o=r(function(){return n(4294967295,5)!==-5||n.length!==2});t({target:"Math",stat:!0,forced:o},{imul:function(u,c){var a=65535,f=+u,g=+c,p=a&f,b=a&g;return 0|p*b+((a&f>>>16)*b+p*(a&g>>>16)<<16>>>0)}})},61873:function(i,d,e){"use strict";var t=e(94488),r=e(53309);t({target:"Math",stat:!0},{log10:r})},9307:function(i,d,e){"use strict";var t=e(94488),r=e(25726);t({target:"Math",stat:!0},{log1p:r})},8821:function(i,d,e){"use strict";var t=e(94488),r=Math.log,n=Math.LN2;t({target:"Math",stat:!0},{log2:function(s){return r(s)/n}})},64385:function(i,d,e){"use strict";var t=e(94488),r=e(37666);t({target:"Math",stat:!0},{sign:r})},64099:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(10014),o=Math.abs,s=Math.exp,u=Math.E,c=r(function(){return Math.sinh(-2e-17)!==-2e-17});t({target:"Math",stat:!0,forced:c},{sinh:function(f){var g=+f;return o(g)<1?(n(g)-n(-g))/2:(s(g-1)-s(-g-1))*(u/2)}})},62455:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.exp;t({target:"Math",stat:!0},{tanh:function(s){var u=+s,c=r(u),a=r(-u);return c===1/0?1:a===1/0?-1:(c-a)/(n(u)+n(-u))}})},79965:function(i,d,e){"use strict";var t=e(94573);t(Math,"Math",!0)},59118:function(i,d,e){"use strict";var t=e(94488),r=e(3312);t({target:"Math",stat:!0},{trunc:r})},275:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(35454),o=e(92916),s=e(9699),u=e(94237),c=e(20865),a=e(32621),f=e(25576),g=e(16332),p=e(18446),b=e(97954),h=e(3338),E=e(80689).f,P=e(71256).f,A=e(37691).f,I=e(49228),C=e(52971).trim,O="Number",T=o[O],D=s[O],k=T.prototype,L=o.TypeError,M=u("".slice),R=u("".charCodeAt),U=function(J){var Y=b(J,"number");return typeof Y=="bigint"?Y:N(Y)},N=function(J){var Y=b(J,"number"),z,Z,$,B,Q,ee,oe,ue;if(p(Y))throw new L("Cannot convert a Symbol value to a number");if(typeof Y=="string"&&Y.length>2){if(Y=C(Y),z=R(Y,0),z===43||z===45){if(Z=R(Y,2),Z===88||Z===120)return NaN}else if(z===48){switch(R(Y,1)){case 66:case 98:$=2,B=49;break;case 79:case 111:$=8,B=55;break;default:return+Y}for(Q=M(Y,2),ee=Q.length,oe=0;oeB)return NaN;return parseInt(Q,$)}}return+Y},V=c(O,!T(" 0o1")||!T("0b1")||T("+0x1")),j=function(J){return g(k,J)&&h(function(){I(J)})},K=function(Y){var z=arguments.length<1?0:T(U(Y));return j(this)?f(Object(z),this,K):z};K.prototype=k,V&&!r&&(k.constructor=K),t({global:!0,constructor:!0,wrap:!0,forced:V},{Number:K});var G=function(J,Y){for(var z=n?E(Y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Z=0,$;z.length>Z;Z++)a(Y,$=z[Z])&&!a(J,$)&&A(J,$,P(Y,$))};r&&D&&G(s[O],D),(V||r)&&G(s[O],T)},31919:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(i,d,e){"use strict";var t=e(94488),r=e(1222);t({target:"Number",stat:!0},{isFinite:r})},10177:function(i,d,e){"use strict";var t=e(94488),r=e(62896);t({target:"Number",stat:!0},{isInteger:r})},85690:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0},{isNaN:function(n){return n!==n}})},92114:function(i,d,e){"use strict";var t=e(94488),r=e(62896),n=Math.abs;t({target:"Number",stat:!0},{isSafeInteger:function(s){return r(s)&&n(s)<=9007199254740991}})},1017:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({target:"Number",stat:!0,forced:Number.parseFloat!==r},{parseFloat:r})},76345:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({target:"Number",stat:!0,forced:Number.parseInt!==r},{parseInt:r})},7282:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),o=e(49228),s=e(71049),u=e(53309),c=e(3338),a=RangeError,f=String,g=isFinite,p=Math.abs,b=Math.floor,h=Math.pow,E=Math.round,P=r(1 .toExponential),A=r(s),I=r("".slice),C=P(-69e-12,4)==="-6.9000e-11"&&P(1.255,2)==="1.25e+0"&&P(12345,3)==="1.235e+4"&&P(25,0)==="3e+1",O=function(){return c(function(){P(1,1/0)})&&c(function(){P(1,-1/0)})},T=function(){return!c(function(){P(1/0,1/0),P(NaN,1/0)})},D=!C||!O()||!T();t({target:"Number",proto:!0,forced:D},{toExponential:function(L){var M=o(this);if(L===void 0)return P(M);var R=n(L);if(!g(M))return String(M);if(R<0||R>20)throw new a("Incorrect fraction digits");if(C)return P(M,R);var U="",N="",V=0,j="",K="";if(M<0&&(U="-",M=-M),M===0)V=0,N=A("0",R+1);else{var G=u(M);V=b(G);var J=0,Y=h(10,V-R);J=E(M/Y),2*M>=(2*J+1)*Y&&(J+=1),J>=h(10,R+1)&&(J/=10,V+=1),N=f(J)}return R!==0&&(N=I(N,0,1)+"."+I(N,1)),V===0?(j="+",K="0"):(j=V>0?"+":"-",K=f(p(V))),N+="e"+j+K,U+N}})},58055:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),o=e(49228),s=e(71049),u=e(3338),c=RangeError,a=String,f=Math.floor,g=r(s),p=r("".slice),b=r(1 .toFixed),h=function(O,T,D){return T===0?D:T%2===1?h(O,T-1,D*O):h(O*O,T/2,D)},E=function(O){for(var T=0,D=O;D>=4096;)T+=12,D/=4096;for(;D>=2;)T+=1,D/=2;return T},P=function(O,T,D){for(var k=-1,L=D;++k<6;)L+=T*O[k],O[k]=L%1e7,L=f(L/1e7)},A=function(O,T){for(var D=6,k=0;--D>=0;)k+=O[D],O[D]=f(k/T),k=k%T*1e7},I=function(O){for(var T=6,D="";--T>=0;)if(D!==""||T===0||O[T]!==0){var k=a(O[T]);D=D===""?k:D+g("0",7-k.length)+k}return D},C=u(function(){return b(8e-5,3)!=="0.000"||b(.9,0)!=="1"||b(1.255,2)!=="1.25"||b(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){b({})});t({target:"Number",proto:!0,forced:C},{toFixed:function(T){var D=o(this),k=n(T),L=[0,0,0,0,0,0],M="",R="0",U,N,V,j;if(k<0||k>20)throw new c("Incorrect fraction digits");if(D!==D)return"NaN";if(D<=-1e21||D>=1e21)return a(D);if(D<0&&(M="-",D=-D),D>1e-21)if(U=E(D*h(2,69,1))-69,N=U<0?D*h(2,-U,1):D/h(2,U,1),N*=4503599627370496,U=52-U,U>0){for(P(L,0,N),V=k;V>=7;)P(L,1e7,0),V-=7;for(P(L,h(10,V,1),0),V=U-1;V>=23;)A(L,8388608),V-=23;A(L,1<0?(j=R.length,R=M+(j<=k?"0."+g("0",k-j)+R:p(R,0,j-k)+"."+p(R,j-k))):R=M+R,R}})},93547:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(3338),o=e(49228),s=r(1 .toPrecision),u=n(function(){return s(1,void 0)!=="1"})||!n(function(){s({})});t({target:"Number",proto:!0,forced:u},{toPrecision:function(a){return a===void 0?s(o(this)):s(o(this),a)}})},31237:function(i,d,e){"use strict";var t=e(94488),r=e(80530);t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},17954:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(20132);t({target:"Object",stat:!0,sham:!r},{create:n})},58580:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineGetter__:function(a,f){u.f(s(this),a,{get:o(f),enumerable:!0,configurable:!0})}})},47146:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(55666).f;t({target:"Object",stat:!0,forced:Object.defineProperties!==n,sham:!r},{defineProperties:n})},40416:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(37691).f;t({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!r},{defineProperty:n})},7615:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineSetter__:function(a,f){u.f(s(this),a,{set:o(f),enumerable:!0,configurable:!0})}})},72820:function(i,d,e){"use strict";var t=e(94488),r=e(88698).entries;t({target:"Object",stat:!0},{entries:function(o){return r(o)}})},86070:function(i,d,e){"use strict";var t=e(94488),r=e(13247),n=e(3338),o=e(31946),s=e(2074).onFreeze,u=Object.freeze,c=n(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(f){return u&&o(f)?u(s(f)):f}})},23569:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(69392);t({target:"Object",stat:!0},{fromEntries:function(s){var u={};return r(s,function(c,a){n(u,c,a)},{AS_ENTRIES:!0}),u}})},55639:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(80524),o=e(71256).f,s=e(35454),u=!s||r(function(){o(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(a,f){return o(n(a),f)}})},63046:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(48662),o=e(80524),s=e(71256),u=e(69392);t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(a){for(var f=o(a),g=s.f,p=n(f),b={},h=0,E,P;p.length>h;)P=g(f,E=p[h++]),P!==void 0&&u(b,E,P);return b}})},464:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(53393).f,o=r(function(){return!Object.getOwnPropertyNames(1)});t({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:n})},67936:function(i,d,e){"use strict";var t=e(94488),r=e(42820),n=e(3338),o=e(92635),s=e(94029),u=!r||n(function(){o.f(1)});t({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(a){var f=o.f;return f?f(s(a)):[]}})},51082:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),o=e(53456),s=e(4870),u=r(function(){o(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(a){return o(n(a))}})},83850:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(94237),o=e(63335),s=e(95955),u=e(17818),c=e(62003),a=r("Object","create"),f=n([].push);t({target:"Object",stat:!0},{groupBy:function(p,b){s(p),o(b);var h=a(null),E=0;return c(p,function(P){var A=u(b(P,E++));A in h?f(h[A],P):h[A]=[P]}),h}})},41990:function(i,d,e){"use strict";var t=e(94488),r=e(32621);t({target:"Object",stat:!0},{hasOwn:r})},55888:function(i,d,e){"use strict";var t=e(94488),r=e(12477);t({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},53827:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),o=e(29076),s=e(51424),u=Object.isFrozen,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isFrozen:function(f){return!n(f)||s&&o(f)==="ArrayBuffer"?!0:u?u(f):!1}})},78143:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),o=e(29076),s=e(51424),u=Object.isSealed,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isSealed:function(f){return!n(f)||s&&o(f)==="ArrayBuffer"?!0:u?u(f):!1}})},15787:function(i,d,e){"use strict";var t=e(94488),r=e(5370);t({target:"Object",stat:!0},{is:r})},66419:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(7733),o=e(3338),s=o(function(){n(1)});t({target:"Object",stat:!0,forced:s},{keys:function(c){return n(r(c))}})},75765:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupGetter__:function(f){var g=o(this),p=s(f),b;do if(b=c(g,p))return b.get;while(g=u(g))}})},14645:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),o=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupSetter__:function(f){var g=o(this),p=s(f),b;do if(b=c(g,p))return b.set;while(g=u(g))}})},71122:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,o=e(13247),s=e(3338),u=Object.preventExtensions,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!o},{preventExtensions:function(f){return u&&r(f)?u(n(f)):f}})},42084:function(i,d,e){"use strict";var t=e(35454),r=e(64110),n=e(31946),o=e(94029),s=e(95955),u=Object.getPrototypeOf,c=Object.setPrototypeOf,a=Object.prototype,f="__proto__";if(t&&u&&c&&!(f in a))try{r(a,f,{configurable:!0,get:function(){return u(o(this))},set:function(p){var b=s(this);!n(p)&&p!==null||!n(b)||c(b,p)}})}catch(g){}},25070:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,o=e(13247),s=e(3338),u=Object.seal,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!o},{seal:function(f){return u&&r(f)?u(n(f)):f}})},77140:function(i,d,e){"use strict";var t=e(94488),r=e(58218);t({target:"Object",stat:!0},{setPrototypeOf:r})},15954:function(i,d,e){"use strict";var t=e(68527),r=e(2291),n=e(28488);t||r(Object.prototype,"toString",n,{unsafe:!0})},4266:function(i,d,e){"use strict";var t=e(94488),r=e(88698).values;t({target:"Object",stat:!0},{values:function(o){return r(o)}})},49988:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({global:!0,forced:parseFloat!==r},{parseFloat:r})},38823:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({global:!0,forced:parseInt!==r},{parseInt:r})},4045:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{allSettled:function(f){var g=this,p=o.f(g),b=p.resolve,h=p.reject,E=s(function(){var P=n(g.resolve),A=[],I=0,C=1;u(f,function(O){var T=I++,D=!1;C++,r(P,g,O).then(function(k){D||(D=!0,A[T]={status:"fulfilled",value:k},--C||b(A))},function(k){D||(D=!0,A[T]={status:"rejected",reason:k},--C||b(A))})}),--C||b(A)});return E.error&&h(E.value),p.promise}})},12785:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{all:function(f){var g=this,p=o.f(g),b=p.resolve,h=p.reject,E=s(function(){var P=n(g.resolve),A=[],I=0,C=1;u(f,function(O){var T=I++,D=!1;C++,r(P,g,O).then(function(k){D||(D=!0,A[T]=k,--C||b(A))},h)}),--C||b(A)});return E.error&&h(E.value),p.promise}})},50747:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(65911),s=e(73446),u=e(80734),c=e(62003),a=e(22093),f="No one promise resolved";t({target:"Promise",stat:!0,forced:a},{any:function(p){var b=this,h=o("AggregateError"),E=s.f(b),P=E.resolve,A=E.reject,I=u(function(){var C=n(b.resolve),O=[],T=0,D=1,k=!1;c(p,function(L){var M=T++,R=!1;D++,r(C,b,L).then(function(U){R||k||(k=!0,P(U))},function(U){R||k||(R=!0,O[M]=U,--D||A(new h(O,f)))})}),--D||A(new h(O,f))});return I.error&&A(I.value),E.promise}})},41902:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(82830).CONSTRUCTOR,o=e(2451),s=e(65911),u=e(55327),c=e(2291),a=o&&o.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(g){return this.then(void 0,g)}}),!r&&u(o)){var f=s("Promise").prototype.catch;a.catch!==f&&c(a,"catch",f,{unsafe:!0})}},90366:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(90946),o=e(92916),s=e(89945),u=e(2291),c=e(58218),a=e(94573),f=e(51996),g=e(63335),p=e(55327),b=e(31946),h=e(56472),E=e(60473),P=e(28887).set,A=e(72933),I=e(61810),C=e(80734),O=e(66790),T=e(94844),D=e(2451),k=e(82830),L=e(73446),M="Promise",R=k.CONSTRUCTOR,U=k.REJECTION_EVENT,N=k.SUBCLASSING,V=T.getterFor(M),j=T.set,K=D&&D.prototype,G=D,J=K,Y=o.TypeError,z=o.document,Z=o.process,$=L.f,B=$,Q=!!(z&&z.createEvent&&o.dispatchEvent),ee="unhandledrejection",oe="rejectionhandled",ue=0,pe=1,fe=2,et=1,He=2,qe,mt,bt,Et,ve=function(De){var Ge;return b(De)&&p(Ge=De.then)?Ge:!1},Be=function(De,Ge){var Ne=Ge.value,rt=Ge.state===pe,Xe=rt?De.ok:De.fail,kt=De.resolve,Ft=De.reject,_e=De.domain,Oe,St,dt;try{Xe?(rt||(Ge.rejection===He&&Le(Ge),Ge.rejection=et),Xe===!0?Oe=Ne:(_e&&_e.enter(),Oe=Xe(Ne),_e&&(_e.exit(),dt=!0)),Oe===De.promise?Ft(new Y("Promise-chain cycle")):(St=ve(Oe))?s(St,Oe,kt,Ft):kt(Oe)):Ft(Ne)}catch(ct){_e&&!dt&&_e.exit(),Ft(ct)}},ze=function(De,Ge){De.notified||(De.notified=!0,A(function(){for(var Ne=De.reactions,rt;rt=Ne.get();)Be(rt,De);De.notified=!1,Ge&&!De.rejection&&Dt(De)}))},st=function(De,Ge,Ne){var rt,Xe;Q?(rt=z.createEvent("Event"),rt.promise=Ge,rt.reason=Ne,rt.initEvent(De,!1,!0),o.dispatchEvent(rt)):rt={promise:Ge,reason:Ne},!U&&(Xe=o["on"+De])?Xe(rt):De===ee&&I("Unhandled promise rejection",Ne)},Dt=function(De){s(P,o,function(){var Ge=De.facade,Ne=De.value,rt=Ct(De),Xe;if(rt&&(Xe=C(function(){n?Z.emit("unhandledRejection",Ne,Ge):st(ee,Ge,Ne)}),De.rejection=n||Ct(De)?He:et,Xe.error))throw Xe.value})},Ct=function(De){return De.rejection!==et&&!De.parent},Le=function(De){s(P,o,function(){var Ge=De.facade;n?Z.emit("rejectionHandled",Ge):st(oe,Ge,De.value)})},ge=function(De,Ge,Ne){return function(rt){De(Ge,rt,Ne)}},Ce=function(De,Ge,Ne){De.done||(De.done=!0,Ne&&(De=Ne),De.value=Ge,De.state=fe,ze(De,!0))},$e=function(De,Ge,Ne){if(!De.done){De.done=!0,Ne&&(De=Ne);try{if(De.facade===Ge)throw new Y("Promise can't be resolved itself");var rt=ve(Ge);rt?A(function(){var Xe={done:!1};try{s(rt,Ge,ge($e,Xe,De),ge(Ce,Xe,De))}catch(kt){Ce(Xe,kt,De)}}):(De.value=Ge,De.state=pe,ze(De,!1))}catch(Xe){Ce({done:!1},Xe,De)}}};if(R&&(G=function(Ge){h(this,J),g(Ge),s(qe,this);var Ne=V(this);try{Ge(ge($e,Ne),ge(Ce,Ne))}catch(rt){Ce(Ne,rt)}},J=G.prototype,qe=function(Ge){j(this,{type:M,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:ue,value:void 0})},qe.prototype=u(J,"then",function(Ge,Ne){var rt=V(this),Xe=$(E(this,G));return rt.parent=!0,Xe.ok=p(Ge)?Ge:!0,Xe.fail=p(Ne)&&Ne,Xe.domain=n?Z.domain:void 0,rt.state===ue?rt.reactions.add(Xe):A(function(){Be(Xe,rt)}),Xe.promise}),mt=function(){var De=new qe,Ge=V(De);this.promise=De,this.resolve=ge($e,Ge),this.reject=ge(Ce,Ge)},L.f=$=function(De){return De===G||De===bt?new mt(De):B(De)},!r&&p(D)&&K!==Object.prototype)){Et=K.then,N||u(K,"then",function(Ge,Ne){var rt=this;return new G(function(Xe,kt){s(Et,rt,Xe,kt)}).then(Ge,Ne)},{unsafe:!0});try{delete K.constructor}catch(De){}c&&c(K,J)}t({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:G}),a(G,M,!1,!0),f(M)},43595:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(2451),o=e(3338),s=e(65911),u=e(55327),c=e(60473),a=e(15597),f=e(2291),g=n&&n.prototype,p=!!n&&o(function(){g.finally.call({then:function(){}},function(){})});if(t({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(h){var E=c(this,s("Promise")),P=u(h);return this.then(P?function(A){return a(E,h()).then(function(){return A})}:h,P?function(A){return a(E,h()).then(function(){throw A})}:h)}}),!r&&u(n)){var b=s("Promise").prototype.finally;g.finally!==b&&f(g,"finally",b,{unsafe:!0})}},24627:function(i,d,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{race:function(f){var g=this,p=o.f(g),b=p.reject,h=s(function(){var E=n(g.resolve);u(f,function(P){r(E,g,P).then(p.resolve,b)})});return h.error&&b(h.value),p.promise}})},95693:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(73446),o=e(82830).CONSTRUCTOR;t({target:"Promise",stat:!0,forced:o},{reject:function(u){var c=n.f(this);return r(c.reject,void 0,u),c.promise}})},81930:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(16697),o=e(2451),s=e(82830).CONSTRUCTOR,u=e(15597),c=r("Promise"),a=n&&!s;t({target:"Promise",stat:!0,forced:n||s},{resolve:function(g){return u(a&&this===c?o:this,g)}})},92324:function(i,d,e){"use strict";var t=e(94488),r=e(73446);t({target:"Promise",stat:!0},{withResolvers:function(){var o=r.f(this);return{promise:o.promise,resolve:o.resolve,reject:o.reject}}})},23551:function(i,d,e){"use strict";var t=e(94488),r=e(13743),n=e(63335),o=e(80449),s=e(3338),u=!s(function(){Reflect.apply(function(){})});t({target:"Reflect",stat:!0,forced:u},{apply:function(a,f,g){return r(n(a),f,o(g))}})},74521:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),o=e(4645),s=e(6086),u=e(80449),c=e(31946),a=e(20132),f=e(3338),g=r("Reflect","construct"),p=Object.prototype,b=[].push,h=f(function(){function A(){}return!(g(function(){},[],A)instanceof A)}),E=!f(function(){g(function(){})}),P=h||E;t({target:"Reflect",stat:!0,forced:P,sham:P},{construct:function(I,C){s(I),u(C);var O=arguments.length<3?I:s(arguments[2]);if(E&&!h)return g(I,C,O);if(I===O){switch(C.length){case 0:return new I;case 1:return new I(C[0]);case 2:return new I(C[0],C[1]);case 3:return new I(C[0],C[1],C[2]);case 4:return new I(C[0],C[1],C[2],C[3])}var T=[null];return n(b,T,C),new(n(o,I,T))}var D=O.prototype,k=a(c(D)?D:p),L=n(I,k,C);return c(L)?L:k}})},57891:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),o=e(17818),s=e(37691),u=e(3338),c=u(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});t({target:"Reflect",stat:!0,forced:c,sham:!r},{defineProperty:function(f,g,p){n(f);var b=o(g);n(p);try{return s.f(f,b,p),!0}catch(h){return!1}}})},84138:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(71256).f;t({target:"Reflect",stat:!0},{deleteProperty:function(s,u){var c=n(r(s),u);return c&&!c.configurable?!1:delete s[u]}})},37135:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),o=e(71256);t({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(u,c){return o.f(n(u),c)}})},6474:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(53456),o=e(4870);t({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(u){return n(r(u))}})},51832:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(31946),o=e(80449),s=e(60516),u=e(71256),c=e(53456);function a(f,g){var p=arguments.length<3?f:arguments[2],b,h;if(o(f)===p)return f[g];if(b=u.f(f,g),b)return s(b)?b.value:b.get===void 0?void 0:r(b.get,p);if(n(h=c(f)))return a(h,g,p)}t({target:"Reflect",stat:!0},{get:a})},40135:function(i,d,e){"use strict";var t=e(94488);t({target:"Reflect",stat:!0},{has:function(n,o){return o in n}})},7982:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(12477);t({target:"Reflect",stat:!0},{isExtensible:function(s){return r(s),n(s)}})},14893:function(i,d,e){"use strict";var t=e(94488),r=e(48662);t({target:"Reflect",stat:!0},{ownKeys:r})},49233:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(80449),o=e(13247);t({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(u){n(u);try{var c=r("Object","preventExtensions");return c&&c(u),!0}catch(a){return!1}}})},42844:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(557),o=e(58218);o&&t({target:"Reflect",stat:!0},{setPrototypeOf:function(u,c){r(u),n(c);try{return o(u,c),!0}catch(a){return!1}}})},92130:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),o=e(31946),s=e(60516),u=e(3338),c=e(37691),a=e(71256),f=e(53456),g=e(35012);function p(h,E,P){var A=arguments.length<4?h:arguments[3],I=a.f(n(h),E),C,O,T;if(!I){if(o(O=f(h)))return p(O,E,P,A);I=g(0)}if(s(I)){if(I.writable===!1||!o(A))return!1;if(C=a.f(A,E)){if(C.get||C.set||C.writable===!1)return!1;C.value=P,c.f(A,E,C)}else c.f(A,E,g(0,P))}else{if(T=I.set,T===void 0)return!1;r(T,A,P)}return!0}var b=u(function(){var h=function(){},E=c.f(new h,"a",{configurable:!0});return Reflect.set(h.prototype,"a",1,E)!==!1});t({target:"Reflect",stat:!0,forced:b},{set:p})},6536:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94573);t({global:!0},{Reflect:{}}),n(r.Reflect,"Reflect",!0)},27228:function(i,d,e){"use strict";var t=e(35454),r=e(92916),n=e(94237),o=e(20865),s=e(25576),u=e(68151),c=e(20132),a=e(80689).f,f=e(16332),g=e(44639),p=e(69905),b=e(81644),h=e(19286),E=e(44166),P=e(2291),A=e(3338),I=e(32621),C=e(94844).enforce,O=e(51996),T=e(59893),D=e(6041),k=e(51224),L=T("match"),M=r.RegExp,R=M.prototype,U=r.SyntaxError,N=n(R.exec),V=n("".charAt),j=n("".replace),K=n("".indexOf),G=n("".slice),J=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Y=/a/g,z=/a/g,Z=new M(Y)!==Y,$=h.MISSED_STICKY,B=h.UNSUPPORTED_Y,Q=t&&(!Z||$||D||k||A(function(){return z[L]=!1,M(Y)!==Y||M(z)===z||String(M(Y,"i"))!=="/a/i"})),ee=function(et){for(var He=et.length,qe=0,mt="",bt=!1,Et;qe<=He;qe++){if(Et=V(et,qe),Et==="\\"){mt+=Et+V(et,++qe);continue}!bt&&Et==="."?mt+="[\\s\\S]":(Et==="["?bt=!0:Et==="]"&&(bt=!1),mt+=Et)}return mt},oe=function(et){for(var He=et.length,qe=0,mt="",bt=[],Et=c(null),ve=!1,Be=!1,ze=0,st="",Dt;qe<=He;qe++){if(Dt=V(et,qe),Dt==="\\")Dt+=V(et,++qe);else if(Dt==="]")ve=!1;else if(!ve)switch(!0){case Dt==="[":ve=!0;break;case Dt==="(":N(J,G(et,qe+1))&&(qe+=2,Be=!0),mt+=Dt,ze++;continue;case(Dt===">"&&Be):if(st===""||I(Et,st))throw new U("Invalid capture group name");Et[st]=!0,bt[bt.length]=[st,ze],Be=!1,st="";continue}Be?st+=Dt:mt+=Dt}return[mt,bt]};if(o("RegExp",Q)){for(var ue=function(He,qe){var mt=f(R,this),bt=g(He),Et=qe===void 0,ve=[],Be=He,ze,st,Dt,Ct,Le,ge;if(!mt&&bt&&Et&&He.constructor===ue)return He;if((bt||f(R,He))&&(He=He.source,Et&&(qe=b(Be))),He=He===void 0?"":p(He),qe=qe===void 0?"":p(qe),Be=He,D&&"dotAll"in Y&&(st=!!qe&&K(qe,"s")>-1,st&&(qe=j(qe,/s/g,""))),ze=qe,$&&"sticky"in Y&&(Dt=!!qe&&K(qe,"y")>-1,Dt&&B&&(qe=j(qe,/y/g,""))),k&&(Ct=oe(He),He=Ct[0],ve=Ct[1]),Le=s(M(He,qe),mt?this:R,ue),(st||Dt||ve.length)&&(ge=C(Le),st&&(ge.dotAll=!0,ge.raw=ue(ee(He),ze)),Dt&&(ge.sticky=!0),ve.length&&(ge.groups=ve)),He!==Be)try{u(Le,"source",Be===""?"(?:)":Be)}catch(Ce){}return Le},pe=a(M),fe=0;pe.length>fe;)E(ue,M,pe[fe++]);R.constructor=ue,ue.prototype=R,P(r,"RegExp",ue,{constructor:!0})}O("RegExp")},62921:function(i,d,e){"use strict";var t=e(35454),r=e(6041),n=e(29076),o=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&o(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},44001:function(i,d,e){"use strict";var t=e(94488),r=e(88736);t({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},92262:function(i,d,e){"use strict";var t=e(92916),r=e(35454),n=e(64110),o=e(82163),s=e(3338),u=t.RegExp,c=u.prototype,a=r&&s(function(){var f=!0;try{u(".","d")}catch(I){f=!1}var g={},p="",b=f?"dgimsy":"gimsy",h=function(I,C){Object.defineProperty(g,I,{get:function(){return p+=C,!0}})},E={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};f&&(E.hasIndices="d");for(var P in E)h(P,E[P]);var A=Object.getOwnPropertyDescriptor(c,"flags").get.call(g);return A!==b||p!==b});a&&n(c,"flags",{configurable:!0,get:o})},54744:function(i,d,e){"use strict";var t=e(35454),r=e(19286).MISSED_STICKY,n=e(29076),o=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&o(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},38214:function(i,d,e){"use strict";e(44001);var t=e(94488),r=e(89945),n=e(55327),o=e(80449),s=e(69905),u=function(){var a=!1,f=/[ac]/;return f.exec=function(){return a=!0,/./.exec.apply(this,arguments)},f.test("abc")===!0&&a}(),c=/./.test;t({target:"RegExp",proto:!0,forced:!u},{test:function(a){var f=o(this),g=s(a),p=f.exec;if(!n(p))return r(c,f,g);var b=r(p,f,g);return b===null?!1:(o(b),!0)}})},12756:function(i,d,e){"use strict";var t=e(8090).PROPER,r=e(2291),n=e(80449),o=e(69905),s=e(3338),u=e(81644),c="toString",a=RegExp.prototype,f=a[c],g=s(function(){return f.call({source:"a",flags:"b"})!=="/a/b"}),p=t&&f.name!==c;(g||p)&&r(RegExp.prototype,c,function(){var h=n(this),E=o(h.source),P=o(u(h));return"/"+E+"/"+P},{unsafe:!0})},69772:function(i,d,e){"use strict";var t=e(48059),r=e(40942);t("Set",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},r)},93379:function(i,d,e){"use strict";e(69772)},34932:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(s){return r(this,"a","name",s)}})},62007:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),o=e(56902),s=e(69905),u=e(3338),c=r("".charAt),a=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});t({target:"String",proto:!0,forced:a},{at:function(g){var p=s(n(this)),b=p.length,h=o(g),E=h>=0?h:b+h;return E<0||E>=b?void 0:c(p,E)}})},81046:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("big")},{big:function(){return r(this,"big","","")}})},85744:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("blink")},{blink:function(){return r(this,"blink","","")}})},13494:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("bold")},{bold:function(){return r(this,"b","","")}})},90572:function(i,d,e){"use strict";var t=e(94488),r=e(13764).codeAt;t({target:"String",proto:!0},{codePointAt:function(o){return r(this,o)}})},37343:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(71256).f,o=e(61578),s=e(69905),u=e(41696),c=e(95955),a=e(86266),f=e(16697),g=r("".endsWith),p=r("".slice),b=Math.min,h=a("endsWith"),E=!f&&!h&&!!function(){var P=n(String.prototype,"endsWith");return P&&!P.writable}();t({target:"String",proto:!0,forced:!E&&!h},{endsWith:function(A){var I=s(c(this));u(A);var C=arguments.length>1?arguments[1]:void 0,O=I.length,T=C===void 0?O:b(o(C),O),D=s(A);return g?g(I,D,T):p(I,T-D.length,T)===D}})},56338:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fixed")},{fixed:function(){return r(this,"tt","","")}})},66755:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontcolor")},{fontcolor:function(s){return r(this,"font","color",s)}})},68709:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontsize")},{fontsize:function(s){return r(this,"font","size",s)}})},45945:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(51981),o=RangeError,s=String.fromCharCode,u=String.fromCodePoint,c=r([].join),a=!!u&&u.length!==1;t({target:"String",stat:!0,arity:1,forced:a},{fromCodePoint:function(g){for(var p=[],b=arguments.length,h=0,E;b>h;){if(E=+arguments[h++],n(E,1114111)!==E)throw new o(E+" is not a valid code point");p[h]=E<65536?s(E):s(((E-=65536)>>10)+55296,E%1024+56320)}return c(p,"")}})},75551:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(41696),o=e(95955),s=e(69905),u=e(86266),c=r("".indexOf);t({target:"String",proto:!0,forced:!u("includes")},{includes:function(f){return!!~c(s(o(this)),s(n(f)),arguments.length>1?arguments[1]:void 0)}})},32493:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),o=e(69905),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var c=o(n(this)),a=c.length,f=0;f=56320||++f>=a||(s(c,f)&64512)!==56320))return!1}return!0}})},4939:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("italics")},{italics:function(){return r(this,"i","","")}})},20852:function(i,d,e){"use strict";var t=e(13764).charAt,r=e(69905),n=e(94844),o=e(24019),s=e(25587),u="String Iterator",c=n.set,a=n.getterFor(u);o(String,"String",function(f){c(this,{type:u,string:r(f),index:0})},function(){var g=a(this),p=g.string,b=g.index,h;return b>=p.length?s(void 0,!0):(h=t(p,b),g.index+=h.length,s(h,!1))})},81927:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("link")},{link:function(s){return r(this,"a","href",s)}})},18827:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(34114),o=e(83126),s=e(25587),u=e(95955),c=e(61578),a=e(69905),f=e(80449),g=e(4112),p=e(29076),b=e(44639),h=e(81644),E=e(53776),P=e(2291),A=e(3338),I=e(59893),C=e(60473),O=e(52216),T=e(94338),D=e(94844),k=e(16697),L=I("matchAll"),M="RegExp String",R=M+" Iterator",U=D.set,N=D.getterFor(R),V=RegExp.prototype,j=TypeError,K=n("".indexOf),G=n("".matchAll),J=!!G&&!A(function(){G("a",/./)}),Y=o(function($,B,Q,ee){U(this,{type:R,regexp:$,string:B,global:Q,unicode:ee,done:!1})},M,function(){var $=N(this);if($.done)return s(void 0,!0);var B=$.regexp,Q=$.string,ee=T(B,Q);return ee===null?($.done=!0,s(void 0,!0)):$.global?(a(ee[0])===""&&(B.lastIndex=O(Q,c(B.lastIndex),$.unicode)),s(ee,!1)):($.done=!0,s(ee,!1))}),z=function(Z){var $=f(this),B=a(Z),Q=C($,RegExp),ee=a(h($)),oe,ue,pe;return oe=new Q(Q===RegExp?$.source:$,ee),ue=!!~K(ee,"g"),pe=!!~K(ee,"u"),oe.lastIndex=c($.lastIndex),new Y(oe,B,ue,pe)};t({target:"String",proto:!0,forced:J},{matchAll:function($){var B=u(this),Q,ee,oe,ue;if(g($)){if(J)return G(B,$)}else{if(b($)&&(Q=a(u(h($))),!~K(Q,"g")))throw new j("`.matchAll` does not allow non-global regexes");if(J)return G(B,$);if(oe=E($,L),oe===void 0&&k&&p($)==="RegExp"&&(oe=z),oe)return r(oe,$,B)}return ee=a(B),ue=new RegExp($,"g"),k?r(z,ue,ee):ue[L](ee)}}),k||L in V||P(V,L,z)},46302:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),o=e(4112),s=e(61578),u=e(69905),c=e(95955),a=e(53776),f=e(52216),g=e(94338);r("match",function(p,b,h){return[function(P){var A=c(this),I=o(P)?void 0:a(P,p);return I?t(I,P,A):new RegExp(P)[p](u(A))},function(E){var P=n(this),A=u(E),I=h(b,P,A);if(I.done)return I.value;if(!P.global)return g(P,A);var C=P.unicode;P.lastIndex=0;for(var O=[],T=0,D;(D=g(P,A))!==null;){var k=u(D[0]);O[T]=k,k===""&&(P.lastIndex=f(A,s(P.lastIndex),C)),T++}return T===0?null:O}]})},76718:function(i,d,e){"use strict";var t=e(94488),r=e(85571).end,n=e(98352);t({target:"String",proto:!0,forced:n},{padEnd:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},79172:function(i,d,e){"use strict";var t=e(94488),r=e(85571).start,n=e(98352);t({target:"String",proto:!0,forced:n},{padStart:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},32192:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(80524),o=e(94029),s=e(69905),u=e(82762),c=r([].push),a=r([].join);t({target:"String",stat:!0},{raw:function(g){var p=n(o(g).raw),b=u(p);if(!b)return"";for(var h=arguments.length,E=[],P=0;;){if(c(E,s(p[P++])),P===b)return a(E,"");PD.length?-1:k===""?L:A(D,k,L)};t({target:"String",proto:!0},{replaceAll:function(k,L){var M=o(this),R,U,N,V,j,K,G,J,Y,z=0,Z=0,$="";if(!u(k)){if(R=c(k),R&&(U=a(o(g(k))),!~A(U,"g")))throw new P("`.replaceAll` does not allow non-global regexes");if(N=f(k,E),N)return r(N,k,M,L);if(h&&R)return I(a(M),k,L)}for(V=a(M),j=a(k),K=s(L),K||(L=a(L)),G=j.length,J=O(1,G),z=T(V,j,0);z!==-1;)Y=K?a(L(j,z,V)):p(j,V,z,[],void 0,L),$+=C(V,Z,z)+Y,Z=z+G,z=T(V,j,z+J);return Z")!=="7"});o("replace",function(j,K,G){var J=N?"$":"$0";return[function(z,Z){var $=b(this),B=a(z)?void 0:E(z,C);return B?r(B,z,$,Z):r(K,p($),z,Z)},function(Y,z){var Z=u(this),$=p(Y);if(typeof z=="string"&&L(z,J)===-1&&L(z,"$<")===-1){var B=G(K,Z,$,z);if(B.done)return B.value}var Q=c(z);Q||(z=p(z));var ee=Z.global,oe;ee&&(oe=Z.unicode,Z.lastIndex=0);for(var ue=[],pe;pe=A(Z,$),!(pe===null||(k(ue,pe),!ee));){var fe=p(pe[0]);fe===""&&(Z.lastIndex=h($,g(Z.lastIndex),oe))}for(var et="",He=0,qe=0;qe=He&&(et+=M($,He,bt)+ve,He=bt+mt.length)}return et+M($,He)}]},!V||!U||N)},62925:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),o=e(4112),s=e(95955),u=e(5370),c=e(69905),a=e(53776),f=e(94338);r("search",function(g,p,b){return[function(E){var P=s(this),A=o(E)?void 0:a(E,g);return A?t(A,E,P):new RegExp(E)[g](c(P))},function(h){var E=n(this),P=c(h),A=b(p,E,P);if(A.done)return A.value;var I=E.lastIndex;u(I,0)||(E.lastIndex=0);var C=f(E,P);return u(E.lastIndex,I)||(E.lastIndex=I),C===null?-1:C.index}]})},60462:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("small")},{small:function(){return r(this,"small","","")}})},9595:function(i,d,e){"use strict";var t=e(13743),r=e(89945),n=e(94237),o=e(8662),s=e(80449),u=e(4112),c=e(44639),a=e(95955),f=e(60473),g=e(52216),p=e(61578),b=e(69905),h=e(53776),E=e(71698),P=e(94338),A=e(88736),I=e(19286),C=e(3338),O=I.UNSUPPORTED_Y,T=4294967295,D=Math.min,k=[].push,L=n(/./.exec),M=n(k),R=n("".slice),U=!C(function(){var N=/(?:)/,V=N.exec;N.exec=function(){return V.apply(this,arguments)};var j="ab".split(N);return j.length!==2||j[0]!=="a"||j[1]!=="b"});o("split",function(N,V,j){var K;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?K=function(G,J){var Y=b(a(this)),z=J===void 0?T:J>>>0;if(z===0)return[];if(G===void 0)return[Y];if(!c(G))return r(V,Y,G,z);for(var Z=[],$=(G.ignoreCase?"i":"")+(G.multiline?"m":"")+(G.unicode?"u":"")+(G.sticky?"y":""),B=0,Q=new RegExp(G.source,$+"g"),ee,oe,ue;(ee=r(A,Q,Y))&&(oe=Q.lastIndex,!(oe>B&&(M(Z,R(Y,B,ee.index)),ee.length>1&&ee.index=z)));)Q.lastIndex===ee.index&&Q.lastIndex++;return B===Y.length?(ue||!L(Q,""))&&M(Z,""):M(Z,R(Y,B)),Z.length>z?E(Z,0,z):Z}:"0".split(void 0,0).length?K=function(G,J){return G===void 0&&J===0?[]:r(V,this,G,J)}:K=V,[function(J,Y){var z=a(this),Z=u(J)?void 0:h(J,N);return Z?r(Z,J,z,Y):r(K,b(z),J,Y)},function(G,J){var Y=s(this),z=b(G),Z=j(K,Y,z,J,K!==V);if(Z.done)return Z.value;var $=f(Y,RegExp),B=Y.unicode,Q=(Y.ignoreCase?"i":"")+(Y.multiline?"m":"")+(Y.unicode?"u":"")+(O?"g":"y"),ee=new $(O?"^(?:"+Y.source+")":Y,Q),oe=J===void 0?T:J>>>0;if(oe===0)return[];if(z.length===0)return P(ee,z)===null?[z]:[];for(var ue=0,pe=0,fe=[];pe1?arguments[1]:void 0,I.length)),O=s(A);return g?g(I,O,C):p(I,C,C+O.length)===O}})},72571:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("strike")},{strike:function(){return r(this,"strike","","")}})},71200:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sub")},{sub:function(){return r(this,"sub","","")}})},70917:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),o=e(56902),s=e(69905),u=r("".slice),c=Math.max,a=Math.min,f=!"".substr||"ab".substr(-1)!=="b";t({target:"String",proto:!0,forced:f},{substr:function(p,b){var h=s(n(this)),E=h.length,P=o(p),A,I;return P===1/0&&(P=0),P<0&&(P=c(E+P,0)),A=b===void 0?E:o(b),A<=0||A===1/0?"":(I=a(P+A,E),P>=I?"":u(h,P,I))}})},85767:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sup")},{sup:function(){return r(this,"sup","","")}})},53427:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94237),o=e(95955),s=e(69905),u=e(3338),c=Array,a=n("".charAt),f=n("".charCodeAt),g=n([].join),p="".toWellFormed,b="\uFFFD",h=p&&u(function(){return r(p,1)!=="1"});t({target:"String",proto:!0,forced:h},{toWellFormed:function(){var P=s(o(this));if(h)return r(p,P);for(var A=P.length,I=c(A),C=0;C=56320||C+1>=A||(f(P,C+1)&64512)!==56320?I[C]=b:(I[C]=a(P,C),I[++C]=a(P,C))}return g(I,"")}})},49257:function(i,d,e){"use strict";e(20189);var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},93980:function(i,d,e){"use strict";var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},20189:function(i,d,e){"use strict";var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},72910:function(i,d,e){"use strict";e(93980);var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},70878:function(i,d,e){"use strict";var t=e(94488),r=e(52971).trim,n=e(18105);t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return r(this)}})},64003:function(i,d,e){"use strict";var t=e(94674);t("asyncIterator")},39161:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(89945),o=e(94237),s=e(16697),u=e(35454),c=e(42820),a=e(3338),f=e(32621),g=e(16332),p=e(80449),b=e(80524),h=e(17818),E=e(69905),P=e(35012),A=e(20132),I=e(7733),C=e(80689),O=e(53393),T=e(92635),D=e(71256),k=e(37691),L=e(55666),M=e(27597),R=e(2291),U=e(64110),N=e(77898),V=e(11898),j=e(54406),K=e(6145),G=e(59893),J=e(38282),Y=e(94674),z=e(14311),Z=e(94573),$=e(94844),B=e(90560).forEach,Q=V("hidden"),ee="Symbol",oe="prototype",ue=$.set,pe=$.getterFor(ee),fe=Object[oe],et=r.Symbol,He=et&&et[oe],qe=r.RangeError,mt=r.TypeError,bt=r.QObject,Et=D.f,ve=k.f,Be=O.f,ze=M.f,st=o([].push),Dt=N("symbols"),Ct=N("op-symbols"),Le=N("wks"),ge=!bt||!bt[oe]||!bt[oe].findChild,Ce=function(Oe,St,dt){var ct=Et(fe,St);ct&&delete fe[St],ve(Oe,St,dt),ct&&Oe!==fe&&ve(fe,St,ct)},$e=u&&a(function(){return A(ve({},"a",{get:function(){return ve(this,"a",{value:7}).a}})).a!==7})?Ce:ve,De=function(Oe,St){var dt=Dt[Oe]=A(He);return ue(dt,{type:ee,tag:Oe,description:St}),u||(dt.description=St),dt},Ge=function(St,dt,ct){St===fe&&Ge(Ct,dt,ct),p(St);var ot=h(dt);return p(ct),f(Dt,ot)?(ct.enumerable?(f(St,Q)&&St[Q][ot]&&(St[Q][ot]=!1),ct=A(ct,{enumerable:P(0,!1)})):(f(St,Q)||ve(St,Q,P(1,{})),St[Q][ot]=!0),$e(St,ot,ct)):ve(St,ot,ct)},Ne=function(St,dt){p(St);var ct=b(dt),ot=I(ct).concat(_e(ct));return B(ot,function(Je){(!u||n(Xe,ct,Je))&&Ge(St,Je,ct[Je])}),St},rt=function(St,dt){return dt===void 0?A(St):Ne(A(St),dt)},Xe=function(St){var dt=h(St),ct=n(ze,this,dt);return this===fe&&f(Dt,dt)&&!f(Ct,dt)?!1:ct||!f(this,dt)||!f(Dt,dt)||f(this,Q)&&this[Q][dt]?ct:!0},kt=function(St,dt){var ct=b(St),ot=h(dt);if(!(ct===fe&&f(Dt,ot)&&!f(Ct,ot))){var Je=Et(ct,ot);return Je&&f(Dt,ot)&&!(f(ct,Q)&&ct[Q][ot])&&(Je.enumerable=!0),Je}},Ft=function(St){var dt=Be(b(St)),ct=[];return B(dt,function(ot){!f(Dt,ot)&&!f(j,ot)&&st(ct,ot)}),ct},_e=function(Oe){var St=Oe===fe,dt=Be(St?Ct:b(Oe)),ct=[];return B(dt,function(ot){f(Dt,ot)&&(!St||f(fe,ot))&&st(ct,Dt[ot])}),ct};c||(et=function(){if(g(He,this))throw new mt("Symbol is not a constructor");var St=!arguments.length||arguments[0]===void 0?void 0:E(arguments[0]),dt=K(St),ct=function(ot){var Je=this===void 0?r:this;Je===fe&&n(ct,Ct,ot),f(Je,Q)&&f(Je[Q],dt)&&(Je[Q][dt]=!1);var vt=P(1,ot);try{$e(Je,dt,vt)}catch(me){if(!(me instanceof qe))throw me;Ce(Je,dt,vt)}};return u&&ge&&$e(fe,dt,{configurable:!0,set:ct}),De(dt,St)},He=et[oe],R(He,"toString",function(){return pe(this).tag}),R(et,"withoutSetter",function(Oe){return De(K(Oe),Oe)}),M.f=Xe,k.f=Ge,L.f=Ne,D.f=kt,C.f=O.f=Ft,T.f=_e,J.f=function(Oe){return De(G(Oe),Oe)},u&&(U(He,"description",{configurable:!0,get:function(){return pe(this).description}}),s||R(fe,"propertyIsEnumerable",Xe,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:et}),B(I(Le),function(Oe){Y(Oe)}),t({target:ee,stat:!0,forced:!c},{useSetter:function(){ge=!0},useSimple:function(){ge=!1}}),t({target:"Object",stat:!0,forced:!c,sham:!u},{create:rt,defineProperty:Ge,defineProperties:Ne,getOwnPropertyDescriptor:kt}),t({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Ft}),z(),Z(et,ee),j[Q]=!0},44852:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),o=e(94237),s=e(32621),u=e(55327),c=e(16332),a=e(69905),f=e(64110),g=e(24538),p=n.Symbol,b=p&&p.prototype;if(r&&u(p)&&(!("description"in b)||p().description!==void 0)){var h={},E=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:a(arguments[0]),L=c(b,this)?new p(k):k===void 0?p():p(k);return k===""&&(h[L]=!0),L};g(E,p),E.prototype=b,b.constructor=E;var P=String(p("description detection"))==="Symbol(description detection)",A=o(b.valueOf),I=o(b.toString),C=/^Symbol\((.*)\)[^)]+$/,O=o("".replace),T=o("".slice);f(b,"description",{configurable:!0,get:function(){var k=A(this);if(s(h,k))return"";var L=I(k),M=P?T(L,7,-1):O(L,C,"$1");return M===""?void 0:M}}),t({global:!0,constructor:!0,forced:!0},{Symbol:E})}},54524:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(32621),o=e(69905),s=e(77898),u=e(60798),c=s("string-to-symbol-registry"),a=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{for:function(f){var g=o(f);if(n(c,g))return c[g];var p=r("Symbol")(g);return c[g]=p,a[p]=g,p}})},17898:function(i,d,e){"use strict";var t=e(94674);t("hasInstance")},40902:function(i,d,e){"use strict";var t=e(94674);t("isConcatSpreadable")},2259:function(i,d,e){"use strict";var t=e(94674);t("iterator")},68557:function(i,d,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(i,d,e){"use strict";var t=e(94488),r=e(32621),n=e(18446),o=e(40593),s=e(77898),u=e(60798),c=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{keyFor:function(f){if(!n(f))throw new TypeError(o(f)+" is not a symbol");if(r(c,f))return c[f]}})},69811:function(i,d,e){"use strict";var t=e(94674);t("matchAll")},14589:function(i,d,e){"use strict";var t=e(94674);t("match")},18114:function(i,d,e){"use strict";var t=e(94674);t("replace")},23844:function(i,d,e){"use strict";var t=e(94674);t("search")},39581:function(i,d,e){"use strict";var t=e(94674);t("species")},40632:function(i,d,e){"use strict";var t=e(94674);t("split")},22690:function(i,d,e){"use strict";var t=e(94674),r=e(14311);t("toPrimitive"),r()},7786:function(i,d,e){"use strict";var t=e(65911),r=e(94674),n=e(94573);r("toStringTag"),n(t("Symbol"),"Symbol")},99062:function(i,d,e){"use strict";var t=e(94674);t("unscopables")},35246:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(56902),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(c){var a=o(this),f=r(a),g=n(c),p=g>=0?g:f+g;return p<0||p>=f?void 0:a[p]})},83470:function(i,d,e){"use strict";var t=e(94237),r=e(58261),n=e(92670),o=t(n),s=r.aTypedArray,u=r.exportTypedArrayMethod;u("copyWithin",function(a,f){return o(s(this),a,f,arguments.length>2?arguments[2]:void 0)})},79641:function(i,d,e){"use strict";var t=e(58261),r=e(90560).every,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("every",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},72397:function(i,d,e){"use strict";var t=e(58261),r=e(75202),n=e(93303),o=e(97607),s=e(89945),u=e(94237),c=e(3338),a=t.aTypedArray,f=t.exportTypedArrayMethod,g=u("".slice),p=c(function(){var b=0;return new Int8Array(2).fill({valueOf:function(){return b++}}),b!==1});f("fill",function(h){var E=arguments.length;a(this);var P=g(o(this),0,3)==="Big"?n(h):+h;return s(r,this,P,E>1?arguments[1]:void 0,E>2?arguments[2]:void 0)},p)},24860:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filter,n=e(27607),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("filter",function(c){var a=r(o(this),c,arguments.length>1?arguments[1]:void 0);return n(this,a)})},56233:function(i,d,e){"use strict";var t=e(58261),r=e(90560).findIndex,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("findIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},64344:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLastIndex,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("findLastIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},59419:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLast,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("findLast",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},19320:function(i,d,e){"use strict";var t=e(58261),r=e(90560).find,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("find",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},84432:function(i,d,e){"use strict";var t=e(69733);t("Float32",function(r){return function(o,s,u){return r(this,o,s,u)}})},59022:function(i,d,e){"use strict";var t=e(69733);t("Float64",function(r){return function(o,s,u){return r(this,o,s,u)}})},5316:function(i,d,e){"use strict";var t=e(58261),r=e(90560).forEach,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("forEach",function(u){r(n(this),u,arguments.length>1?arguments[1]:void 0)})},93744:function(i,d,e){"use strict";var t=e(59627),r=e(58261).exportTypedArrayStaticMethod,n=e(50706);r("from",n,t)},19299:function(i,d,e){"use strict";var t=e(58261),r=e(22999).includes,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("includes",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},15286:function(i,d,e){"use strict";var t=e(58261),r=e(22999).indexOf,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("indexOf",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},51054:function(i,d,e){"use strict";var t=e(69733);t("Int16",function(r){return function(o,s,u){return r(this,o,s,u)}})},60330:function(i,d,e){"use strict";var t=e(69733);t("Int32",function(r){return function(o,s,u){return r(this,o,s,u)}})},19363:function(i,d,e){"use strict";var t=e(69733);t("Int8",function(r){return function(o,s,u){return r(this,o,s,u)}})},91927:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),o=e(58261),s=e(11005),u=e(59893),c=u("iterator"),a=t.Uint8Array,f=n(s.values),g=n(s.keys),p=n(s.entries),b=o.aTypedArray,h=o.exportTypedArrayMethod,E=a&&a.prototype,P=!r(function(){E[c].call([1])}),A=!!E&&E.values&&E[c]===E.values&&E.values.name==="values",I=function(){return f(b(this))};h("entries",function(){return p(b(this))},P),h("keys",function(){return g(b(this))},P),h("values",I,P||!A,{name:"values"}),h(c,I,P||!A,{name:"values"})},27730:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=t.aTypedArray,o=t.exportTypedArrayMethod,s=r([].join);o("join",function(c){return s(n(this),c)})},58707:function(i,d,e){"use strict";var t=e(58261),r=e(13743),n=e(55009),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("lastIndexOf",function(c){var a=arguments.length;return r(n,o(this),a>1?[c,arguments[1]]:[c])})},41356:function(i,d,e){"use strict";var t=e(58261),r=e(90560).map,n=e(31384),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("map",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0,function(a,f){return new(n(a))(f)})})},51606:function(i,d,e){"use strict";var t=e(58261),r=e(59627),n=t.aTypedArrayConstructor,o=t.exportTypedArrayStaticMethod;o("of",function(){for(var u=0,c=arguments.length,a=new(n(this))(c);c>u;)a[u]=arguments[u++];return a},r)},38458:function(i,d,e){"use strict";var t=e(58261),r=e(16370).right,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("reduceRight",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},8966:function(i,d,e){"use strict";var t=e(58261),r=e(16370).left,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("reduce",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},71957:function(i,d,e){"use strict";var t=e(58261),r=t.aTypedArray,n=t.exportTypedArrayMethod,o=Math.floor;n("reverse",function(){for(var u=this,c=r(u).length,a=o(c/2),f=0,g;f1?arguments[1]:void 0,1),O=u(I);if(E)return r(p,this,O,C);var T=this.length,D=o(O),k=0;if(D+C>T)throw new a("Wrong length");for(;kh;)P[h]=p[h++];return P},c)},96519:function(i,d,e){"use strict";var t=e(58261),r=e(90560).some,n=t.aTypedArray,o=t.exportTypedArrayMethod;o("some",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},95576:function(i,d,e){"use strict";var t=e(92916),r=e(34114),n=e(3338),o=e(63335),s=e(63668),u=e(58261),c=e(78177),a=e(17687),f=e(46573),g=e(19684),p=u.aTypedArray,b=u.exportTypedArrayMethod,h=t.Uint16Array,E=h&&r(h.prototype.sort),P=!!E&&!(n(function(){E(new h(2),null)})&&n(function(){E(new h(2),{})})),A=!!E&&!n(function(){if(f)return f<74;if(c)return c<67;if(a)return!0;if(g)return g<602;var C=new h(516),O=Array(516),T,D;for(T=0;T<516;T++)D=T%4,C[T]=515-T,O[T]=T-2*D+3;for(E(C,function(k,L){return(k/4|0)-(L/4|0)}),T=0;T<516;T++)if(C[T]!==O[T])return!0}),I=function(C){return function(O,T){return C!==void 0?+C(O,T)||0:T!==T?-1:O!==O?1:O===0&&T===0?1/O>0&&1/T<0?1:-1:O>T}};b("sort",function(O){return O!==void 0&&o(O),A?E(this,O):s(p(this),I(O))},!A||P)},63079:function(i,d,e){"use strict";var t=e(58261),r=e(61578),n=e(51981),o=e(31384),s=t.aTypedArray,u=t.exportTypedArrayMethod;u("subarray",function(a,f){var g=s(this),p=g.length,b=n(a,p),h=o(g);return new h(g.buffer,g.byteOffset+b*g.BYTES_PER_ELEMENT,r((f===void 0?p:n(f,p))-b))})},8995:function(i,d,e){"use strict";var t=e(92916),r=e(13743),n=e(58261),o=e(3338),s=e(30867),u=t.Int8Array,c=n.aTypedArray,a=n.exportTypedArrayMethod,f=[].toLocaleString,g=!!u&&o(function(){f.call(new u(1))}),p=o(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!o(function(){u.prototype.toLocaleString.call([1,2])});a("toLocaleString",function(){return r(f,g?s(c(this)):c(this),s(arguments))},p)},23080:function(i,d,e){"use strict";var t=e(85903),r=e(58261),n=r.aTypedArray,o=r.exportTypedArrayMethod,s=r.getTypedArrayConstructor;o("toReversed",function(){return t(n(this),s(this))})},74701:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=e(63335),o=e(69478),s=t.aTypedArray,u=t.getTypedArrayConstructor,c=t.exportTypedArrayMethod,a=r(t.TypedArrayPrototype.sort);c("toSorted",function(g){g!==void 0&&n(g);var p=s(this),b=o(u(p),p);return a(b,g)})},91809:function(i,d,e){"use strict";var t=e(58261).exportTypedArrayMethod,r=e(3338),n=e(92916),o=e(94237),s=n.Uint8Array,u=s&&s.prototype||{},c=[].toString,a=o([].join);r(function(){c.call({})})&&(c=function(){return a(this)});var f=u.toString!==c;t("toString",c,f)},64336:function(i,d,e){"use strict";var t=e(69733);t("Uint16",function(r){return function(o,s,u){return r(this,o,s,u)}})},63914:function(i,d,e){"use strict";var t=e(69733);t("Uint32",function(r){return function(o,s,u){return r(this,o,s,u)}})},55234:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(o,s,u){return r(this,o,s,u)}})},88104:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(o,s,u){return r(this,o,s,u)}},!0)},77517:function(i,d,e){"use strict";var t=e(82041),r=e(58261),n=e(75406),o=e(56902),s=e(93303),u=r.aTypedArray,c=r.getTypedArrayConstructor,a=r.exportTypedArrayMethod,f=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(g){return g===8}}();a("with",function(g,p){var b=u(this),h=o(g),E=n(b)?s(p):+p;return t(b,c(b),h,E)},!f)},30149:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),o=String.fromCharCode,s=r("".charAt),u=r(/./.exec),c=r("".slice),a=/^[\da-f]{2}$/i,f=/^[\da-f]{4}$/i;t({global:!0},{unescape:function(p){for(var b=n(p),h="",E=b.length,P=0,A,I;P1?arguments[1]:void 0)}}),n("filterOut")},55885:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filterReject,n=e(81181);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("filterReject")},91130:function(i,d,e){"use strict";var t=e(94488),r=e(32278);t({target:"Array",stat:!0},{fromAsync:r})},64963:function(i,d,e){"use strict";var t=e(94488),r=e(45601),n=e(81181),o=e(33940),s=e(16697);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:o}),n("groupByToMap")},8604:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(45601),o=e(81181);t({target:"Array",proto:!0,forced:!n("groupBy")},{groupBy:function(u){var c=arguments.length>1?arguments[1]:void 0;return r(this,u,c)}}),o("groupBy")},25178:function(i,d,e){"use strict";var t=e(94488),r=e(81181),n=e(33940),o=e(16697);t({target:"Array",proto:!0,forced:o},{groupToMap:n}),r("groupToMap")},39034:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(81181);t({target:"Array",proto:!0},{group:function(s){var u=arguments.length>1?arguments[1]:void 0;return r(this,s,u)}}),n("group")},1905:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=Object.isFrozen,o=function(s,u){if(!n||!r(s)||!n(s))return!1;for(var c=0,a=s.length,f;c1?arguments[1]:!1);return n([c&255,c>>8&255],10)}})},93236:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return n(this,s)}})},42212:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),o=e(24225),s=e(61618).pack,u=e(35175),c=TypeError,a=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(g,p){if(n(this)!=="DataView")throw new c("Incorrect receiver");var b=o(g),h=s(u(p),10,2);return a(this,b,h[1]<<8|h[0],arguments.length>2?arguments[2]:!1)}})},63923:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),o=e(24225),s=e(86350),u=TypeError,c=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(f,g){if(n(this)!=="DataView")throw new u("Incorrect receiver");var p=o(f);return c(this,p,s(g))}})},2278:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(65911),o=e(63335),s=e(56472),u=e(2291),c=e(66477),a=e(64110),f=e(59893),g=e(94844),p=e(5978),b=n("SuppressedError"),h=ReferenceError,E=f("dispose"),P=f("toStringTag"),A="DisposableStack",I=g.set,C=g.getterFor(A),O="sync-dispose",T="disposed",D="pending",k=function(R){var U=C(R);if(U.state===T)throw new h(A+" already disposed");return U},L=function(){I(s(this,M),{type:A,state:D,stack:[]}),r||(this.disposed=!1)},M=L.prototype;c(M,{dispose:function(){var U=C(this);if(U.state!==T){U.state=T,r||(this.disposed=!0);for(var N=U.stack,V=N.length,j=!1,K;V;){var G=N[--V];N[V]=null;try{G()}catch(J){j?K=new b(J,K):(j=!0,K=J)}}if(U.stack=null,j)throw K}},use:function(U){return p(k(this),U,O),U},adopt:function(U,N){var V=k(this);return o(N),p(V,void 0,O,function(){N(U)}),U},defer:function(U){var N=k(this);o(U),p(N,void 0,O,U)},move:function(){var U=k(this),N=new L;return C(N).stack=U.stack,U.stack=[],U.state=T,r||(this.disposed=!0),N}}),r&&a(M,"disposed",{configurable:!0,get:function(){return C(this).state===T}}),u(M,E,M.dispose,{name:"dispose"}),u(M,P,A,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:L})},36955:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},77326:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(55327),o=e(15212),s=e(32621),u=e(35454),c=Object.getOwnPropertyDescriptor,a=/^\s*class\b/,f=r(a.exec),g=function(p){try{if(!u||!f(a,o(p)))return!1}catch(h){}var b=c(p,"prototype");return!!b&&s(b,"writable")&&!b.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(b){return n(b)&&!g(b)}})},53571:function(i,d,e){"use strict";var t=e(94488),r=e(39812);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},28670:function(i,d,e){"use strict";var t=e(59893),r=e(37691).f,n=t("metadata"),o=Function.prototype;o[n]===void 0&&r(o,n,{value:null})},31050:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},96364:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},25321:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(56472),o=e(80449),s=e(55327),u=e(53456),c=e(64110),a=e(69392),f=e(3338),g=e(32621),p=e(59893),b=e(46571).IteratorPrototype,h=e(35454),E=e(16697),P="constructor",A="Iterator",I=p("toStringTag"),C=TypeError,O=r[A],T=E||!s(O)||O.prototype!==b||!f(function(){O({})}),D=function(){if(n(this,b),u(this)===b)throw new C("Abstract class Iterator not directly constructable")},k=function(L,M){h?c(b,L,{configurable:!0,get:function(){return M},set:function(R){if(o(this),this===b)throw new C("You can't redefine this property");g(this,L)?this[L]=R:a(this,L,R)}}):b[L]=M};g(b,I)||k(I,A),(T||!g(b,P)||b[P]===Object)&&k(P,D),D.prototype=b,t({global:!0,constructor:!0,forced:T},{Iterator:D})},46304:function(i,d,e){"use strict";var t=e(89945),r=e(2291),n=e(53776),o=e(32621),s=e(59893),u=e(46571).IteratorPrototype,c=s("dispose");o(u,c)||r(u,c,function(){var a=n(this,"return");a&&t(a,this)})},55163:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),o=e(10731),s=e(2279),u=e(51358),c=e(20547),a=e(16697),f=c(function(){for(var g=this.iterator,p=this.next,b,h;this.remaining;)if(this.remaining--,b=n(r(p,g)),h=this.done=!!b.done,h)return;if(b=n(r(p,g)),h=this.done=!!b.done,!h)return b.value});t({target:"Iterator",proto:!0,real:!0,forced:a},{drop:function(p){n(this);var b=u(s(+p));return new f(o(this),{remaining:b})}})},78722:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{every:function(c){o(this),n(c);var a=s(this),f=0;return!r(a,function(g,p){if(!c(g,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(80449),s=e(10731),u=e(20547),c=e(46319),a=e(16697),f=u(function(){for(var g=this.iterator,p=this.predicate,b=this.next,h,E,P;;){if(h=o(r(b,g)),E=this.done=!!h.done,E)return;if(P=h.value,c(g,p,[P,this.counter++],!0))return P}});t({target:"Iterator",proto:!0,real:!0,forced:a},{filter:function(p){return o(this),n(p),new f(s(this),{predicate:p})}})},81848:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{find:function(c){o(this),n(c);var a=s(this),f=0;return r(a,function(g,p){if(c(g,f++))return p(g)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),o=e(80449),s=e(10731),u=e(7157),c=e(20547),a=e(67996),f=e(16697),g=c(function(){for(var p=this.iterator,b=this.mapper,h,E;;){if(E=this.inner)try{if(h=o(r(E.next,E.iterator)),!h.done)return h.value;this.inner=null}catch(P){a(p,"throw",P)}if(h=o(r(this.next,p)),this.done=!!h.done)return;try{this.inner=u(b(h.value,this.counter++),!1)}catch(P){a(p,"throw",P)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(b){return o(this),n(b),new g(s(this),{mapper:b,inner:null})}})},72211:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{forEach:function(c){o(this),n(c);var a=s(this),f=0;r(a,function(g){c(g,f++)},{IS_RECORD:!0})}})},84862:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94029),o=e(16332),s=e(46571).IteratorPrototype,u=e(20547),c=e(7157),a=e(16697),f=u(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:a},{from:function(p){var b=c(typeof p=="string"?n(p):p,!0);return o(s,b.iterator)?b.iterator:new f(b)}})},92381:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},19517:function(i,d,e){"use strict";var t=e(94488),r=e(2155),n=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:n},{map:r})},69667:function(i,d,e){"use strict";var t=e(94488),r=e(17243),n=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,u,c){if(typeof s=="number")return new r(s,u,c,"number",0,1);if(typeof s=="bigint")return new r(s,u,c,"bigint",BigInt(0),BigInt(1));throw new n("Incorrect Iterator.range arguments")}})},80820:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731),u=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(a){o(this),n(a);var f=s(this),g=arguments.length<2,p=g?void 0:arguments[1],b=0;if(r(f,function(h){g?(g=!1,p=h):p=a(p,h,b),b++},{IS_RECORD:!0}),g)throw new u("Reduce of empty iterator with no initial value");return p}})},87873:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),o=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{some:function(c){o(this),n(c);var a=s(this),f=0;return r(a,function(g,p){if(c(g,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),o=e(10731),s=e(2279),u=e(51358),c=e(20547),a=e(67996),f=e(16697),g=c(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,a(p,"normal",void 0);var b=n(r(this.next,p)),h=this.done=!!b.done;if(!h)return b.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(b){n(this);var h=u(s(+b));return new g(o(this),{remaining:h})}})},28566:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(62003),o=e(10731),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var c=[];return n(o(r(this)),s,{that:c,IS_RECORD:!0}),c}})},51697:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(57975),o=e(80025),s=e(10731),u=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:u},{toAsync:function(){return new o(s(new n(s(r(this)))))}})},61872:function(i,d,e){"use strict";var t=e(94488),r=e(82778),n=e(83502);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:n})},76077:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),o=e(65911),s=e(94237),u=e(89945),c=e(55327),a=e(31946),f=e(18589),g=e(32621),p=e(69905),b=e(82762),h=e(69392),E=e(3338),P=e(70913),A=e(42820),I=n.JSON,C=n.Number,O=n.SyntaxError,T=I&&I.parse,D=o("Object","keys"),k=Object.getOwnPropertyDescriptor,L=s("".charAt),M=s("".slice),R=s(/./.exec),U=s([].push),N=/^\d$/,V=/^[1-9]$/,j=/^(?:-|\d)$/,K=/^[\t\n\r ]$/,G=0,J=1,Y=function(oe,ue){oe=p(oe);var pe=new B(oe,0,""),fe=pe.parse(),et=fe.value,He=pe.skip(K,fe.end);if(He1?arguments[1]:void 0);return o(c,function(f,g){if(!a(f,g,c))return!1},!0)!==!1}})},28220:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(2786),s=e(95037),u=o.Map,c=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h,E){p(h,E,g)&&c(b,E,h)}),b}})},49350:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0),f=o(c,function(g,p){if(a(g,p,c))return{key:p}},!0);return f&&f.key}})},62060:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0),f=o(c,function(g,p){if(a(g,p,c))return{value:g}},!0);return f&&f.value}})},20126:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Map",stat:!0,forced:!0},{from:r})},18090:function(i,d,e){"use strict";var t=e(94488),r=e(88134),n=e(42683),o=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(u){return o(n(this),function(c){if(r(c,u))return!0},!0)===!0}})},14309:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(62003),o=e(55327),s=e(63335),u=e(2786).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(a,f){var g=o(this)?this:u,p=new g;s(f);var b=s(p.set);return n(a,function(h){r(b,p,f(h),h)}),p}})},17822:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var u=n(r(this),function(c,a){if(c===s)return{key:a}},!0);return u&&u.key}})},83543:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(2786),s=e(95037),u=o.Map,c=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h,E){c(b,p(h,E,g),h)}),b}})},13853:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),o=e(2786),s=e(95037),u=o.Map,c=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h,E){c(b,E,p(h,E,g))}),b}})},25188:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(62003),o=e(2786).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(u){for(var c=r(this),a=arguments.length,f=0;f1?arguments[1]:void 0);return o(c,function(f,g){if(a(f,g,c))return!0},!0)===!0}})},8774:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},6736:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(42683),o=e(2786),s=TypeError,u=o.get,c=o.has,a=o.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(g,p){var b=n(this),h=arguments.length;r(p);var E=c(b,g);if(!E&&h<3)throw new s("Updating absent value");var P=E?u(b,g):r(h>2?arguments[2]:void 0)(g,b);return a(b,g,p(P,g,b)),b}})},94065:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},93036:function(i,d,e){"use strict";var t=e(94488),r=Math.min,n=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,u,c){return r(c,n(u,s))}})},75708:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(i,d,e){"use strict";var t=e(94488),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(o){return o*r}})},43710:function(i,d,e){"use strict";var t=e(94488),r=e(35175);t({target:"Math",stat:!0},{f16round:r})},66233:function(i,d,e){"use strict";var t=e(94488),r=e(24619),n=e(14894);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,u,c,a,f){return n(r(s,u,c,a,f))}})},92762:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{iaddh:function(n,o,s,u){var c=n>>>0,a=o>>>0,f=s>>>0;return a+(u>>>0)+((c&f|(c|f)&~(c+f>>>0))>>>31)|0}})},24467:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{imulh:function(n,o){var s=65535,u=+n,c=+o,a=u&s,f=c&s,g=u>>16,p=c>>16,b=(g*f>>>0)+(a*f>>>16);return g*p+(b>>16)+((a*p>>>0)+(b&s)>>16)}})},68465:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{isubh:function(n,o,s,u){var c=n>>>0,a=o>>>0,f=s>>>0;return a-(u>>>0)-((~c&f|~(c^f)&c-f>>>0)>>>31)|0}})},77004:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(i,d,e){"use strict";var t=e(94488),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(o){return o*r}})},51117:function(i,d,e){"use strict";var t=e(94488),r=e(24619);t({target:"Math",stat:!0,forced:!0},{scale:r})},87236:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(1222),o=e(83126),s=e(25587),u=e(94844),c="Seeded Random",a=c+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',g=u.set,p=u.getterFor(a),b=TypeError,h=o(function(P){g(this,{type:a,seed:P%2147483647})},c,function(){var P=p(this),A=P.seed=(P.seed*1103515245+12345)%2147483647;return s((A&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(P){var A=r(P).seed;if(!n(A))throw new b(f);return new h(A)}})},83733:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{signbit:function(n){var o=+n;return o===o&&o===0?1/o===-1/0:o<0}})},92044:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{umulh:function(n,o){var s=65535,u=+n,c=+o,a=u&s,f=c&s,g=u>>>16,p=c>>>16,b=(g*f>>>0)+(a*f>>>16);return g*p+(b>>>16)+((a*p>>>0)+(b&s)>>>16)}})},29190:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),o="Invalid number representation",s="Invalid radix",u=RangeError,c=SyntaxError,a=TypeError,f=parseInt,g=Math.pow,p=/^[\d.a-z]+$/,b=r("".charAt),h=r(p.exec),E=r(1 .toString),P=r("".slice),A=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(C,O){var T=1;if(typeof C!="string")throw new a(o);if(!C.length)throw new c(o);if(b(C,0)==="-"&&(T=-1,C=P(C,1),!C.length))throw new c(o);var D=O===void 0?10:n(O);if(D<2||D>36)throw new u(s);if(!h(p,C))throw new c(o);var k=A(C,"."),L=f(k[0],D);if(k.length>1&&(L+=f(k[1],D)/g(D,k[1].length)),D===10&&E(L,D)!==C)throw new c(o);return T*L}})},10775:function(i,d,e){"use strict";var t=e(94488),r=e(17243);t({target:"Number",stat:!0,forced:!0},{range:function(o,s,u){return new r(o,s,u,"number",0,1)}})},19593:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(o){return new r(o,"entries")}})},26502:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(o){return new r(o,"keys")}})},10174:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(o){return new r(o,"values")}})},76867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(35454),o=e(51996),s=e(63335),u=e(80449),c=e(56472),a=e(55327),f=e(4112),g=e(31946),p=e(53776),b=e(2291),h=e(66477),E=e(64110),P=e(61810),A=e(59893),I=e(94844),C=A("observable"),O="Observable",T="Subscription",D="SubscriptionObserver",k=I.getterFor,L=I.set,M=k(O),R=k(T),U=k(D),N=function(J){this.observer=u(J),this.cleanup=void 0,this.subscriptionObserver=void 0};N.prototype={type:T,clean:function(){var J=this.cleanup;if(J){this.cleanup=void 0;try{J()}catch(Y){P(Y)}}},close:function(){if(!n){var J=this.facade,Y=this.subscriptionObserver;J.closed=!0,Y&&(Y.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var V=function(J,Y){var z=L(this,new N(J)),Z;n||(this.closed=!1);try{(Z=p(J,"start"))&&r(Z,J,this)}catch(ee){P(ee)}if(!z.isClosed()){var $=z.subscriptionObserver=new j(z);try{var B=Y($),Q=B;f(B)||(z.cleanup=a(B.unsubscribe)?function(){Q.unsubscribe()}:s(B))}catch(ee){$.error(ee);return}z.isClosed()&&z.clean()}};V.prototype=h({},{unsubscribe:function(){var Y=R(this);Y.isClosed()||(Y.close(),Y.clean())}}),n&&E(V.prototype,"closed",{configurable:!0,get:function(){return R(this).isClosed()}});var j=function(J){L(this,{type:D,subscriptionState:J}),n||(this.closed=!1)};j.prototype=h({},{next:function(Y){var z=U(this).subscriptionState;if(!z.isClosed()){var Z=z.observer;try{var $=p(Z,"next");$&&r($,Z,Y)}catch(B){P(B)}}},error:function(Y){var z=U(this).subscriptionState;if(!z.isClosed()){var Z=z.observer;z.close();try{var $=p(Z,"error");$?r($,Z,Y):P(Y)}catch(B){P(B)}z.clean()}},complete:function(){var Y=U(this).subscriptionState;if(!Y.isClosed()){var z=Y.observer;Y.close();try{var Z=p(z,"complete");Z&&r(Z,z)}catch($){P($)}Y.clean()}}}),n&&E(j.prototype,"closed",{configurable:!0,get:function(){return U(this).subscriptionState.isClosed()}});var K=function(Y){c(this,G),L(this,{type:O,subscriber:s(Y)})},G=K.prototype;h(G,{subscribe:function(Y){var z=arguments.length;return new V(a(Y)?{next:Y,error:z>1?arguments[1]:void 0,complete:z>2?arguments[2]:void 0}:g(Y)?Y:{},M(this).subscriber)}}),b(G,C,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:K}),o(O)},14548:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(89945),o=e(80449),s=e(39812),u=e(85428),c=e(53776),a=e(62003),f=e(59893),g=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(b){var h=s(this)?this:r("Observable"),E=c(o(b),g);if(E){var P=o(n(E,b));return P.constructor===h?P:new h(function(I){return P.subscribe(I)})}var A=u(b);return new h(function(I){a(A,function(C,O){if(I.next(C),I.closed)return O()},{IS_ITERATOR:!0,INTERRUPTED:!0}),I.complete()})}})},96378:function(i,d,e){"use strict";e(76867),e(14548),e(6053)},6053:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(39812),o=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var u=n(this)?this:r("Observable"),c=arguments.length,a=o(c),f=0;f?@[\\\\\\]^`{|}~"+o+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var g=n(f),p=s(g,0);return(p>47&&p<58?"\\x3":"")+u(g,c,"\\$&")}})},1220:function(i,d,e){"use strict";var t=e(94488),r=e(17442),n=e(19691).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),u=0,c=arguments.length;u1?arguments[1]:void 0);return o(c,function(f){if(!a(f,f,c))return!1},!0)!==!1}})},38487:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(19691),s=e(57002),u=o.Set,c=o.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h){p(h,h,g)&&c(b,h)}),b}})},29916:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0),f=o(c,function(g){if(a(g,g,c))return{value:g}},!0);return f&&f.value}})},25541:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Set",stat:!0,forced:!0},{from:r})},34926:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(16049);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(u){return r(o,this,n(u))}})},45612:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(16049),o=e(22627),s=!o("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:n})},68255:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(17616);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(u){return r(o,this,n(u))}})},98080:function(i,d,e){"use strict";var t=e(94488),r=e(17616),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isDisjointFrom")},{isDisjointFrom:r})},16450:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(84833);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(u){return r(o,this,n(u))}})},96351:function(i,d,e){"use strict";var t=e(94488),r=e(84833),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSubsetOf")},{isSubsetOf:r})},86921:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(51135);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(u){return r(o,this,n(u))}})},60244:function(i,d,e){"use strict";var t=e(94488),r=e(51135),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSupersetOf")},{isSupersetOf:r})},82928:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(17442),o=e(57002),s=e(69905),u=r([].join),c=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var g=n(this),p=f===void 0?",":s(f),b=[];return o(g,function(h){c(b,h)}),u(b,p)}})},42947:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(19691),s=e(57002),u=o.Set,c=o.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var g=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),b=new u;return s(g,function(h){c(b,p(h,h,g))}),b}})},71568:function(i,d,e){"use strict";var t=e(94488),r=e(48800);t({target:"Set",stat:!0,forced:!0},{of:r})},94194:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(17442),o=e(57002),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(c){var a=n(this),f=arguments.length<2,g=f?void 0:arguments[1];if(r(c),o(a,function(p){f?(f=!1,g=p):g=c(g,p,p,a)}),f)throw new s("Reduce of empty set with no initial value");return g}})},30556:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),o=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(u){var c=n(this),a=r(u,arguments.length>1?arguments[1]:void 0);return o(c,function(f){if(a(f,f,c))return!0},!0)===!0}})},93102:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(36312);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(u){return r(o,this,n(u))}})},32100:function(i,d,e){"use strict";var t=e(94488),r=e(36312),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("symmetricDifference")},{symmetricDifference:r})},82074:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),o=e(24667);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(u){return r(o,this,n(u))}})},1821:function(i,d,e){"use strict";var t=e(94488),r=e(24667),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("union")},{union:r})},13578:function(i,d,e){"use strict";var t=e(94488),r=e(13764).charAt,n=e(95955),o=e(56902),s=e(69905);t({target:"String",proto:!0,forced:!0},{at:function(c){var a=s(n(this)),f=a.length,g=o(c),p=g>=0?g:f+g;return p<0||p>=f?void 0:r(a,p)}})},62882:function(i,d,e){"use strict";var t=e(94488),r=e(83126),n=e(25587),o=e(95955),s=e(69905),u=e(94844),c=e(13764),a=c.codeAt,f=c.charAt,g="String Iterator",p=u.set,b=u.getterFor(g),h=r(function(P){p(this,{type:g,string:P,index:0})},"String",function(){var P=b(this),A=P.string,I=P.index,C;return I>=A.length?n(void 0,!0):(C=f(A,I),P.index+=C.length,n({codePoint:a(C,0),position:I},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new h(s(o(this)))}})},59348:function(i,d,e){"use strict";var t=e(94488),r=e(67410);t({target:"String",stat:!0,forced:!0},{cooked:r})},37457:function(i,d,e){"use strict";var t=e(13247),r=e(94488),n=e(86528),o=e(94237),s=e(13743),u=e(80449),c=e(94029),a=e(55327),f=e(82762),g=e(37691).f,p=e(71698),b=e(42530),h=e(67410),E=e(79204),P=e(19268),A=new b.WeakMap,I=b.get,C=b.has,O=b.set,T=Array,D=TypeError,k=Object.freeze||Object,L=Object.isFrozen,M=Math.min,R=o("".charAt),U=o("".slice),N=o("".split),V=o(/./.exec),j=/([\n\u2028\u2029]|\r\n?)/g,K=RegExp("^["+P+"]*"),G=RegExp("[^"+P+"]"),J="Invalid tag",Y="Invalid opening line",z="Invalid closing line",Z=function(ue){var pe=ue.raw;if(t&&!L(pe))throw new D("Raw template should be frozen");if(C(A,pe))return I(A,pe);var fe=$(pe),et=Q(fe);return g(et,"raw",{value:k(fe)}),k(et),O(A,pe,et),et},$=function(ue){var pe=c(ue),fe=f(pe),et=T(fe),He=T(fe),qe=0,mt,bt,Et,ve;if(!fe)throw new D(J);for(;qe0)throw new D(Y);mt[1]=""}if(ze){if(mt.length===1||V(G,mt[mt.length-1]))throw new D(z);mt[mt.length-2]="",mt[mt.length-1]=""}for(var st=2;st1?arguments[1]:void 0);return n(this,a)},!0)},16315:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filterReject,n=e(27607),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(c){var a=r(o(this),c,arguments.length>1?arguments[1]:void 0);return n(this,a)},!0)},56966:function(i,d,e){"use strict";var t=e(65911),r=e(6086),n=e(32278),o=e(58261),s=e(69478),u=o.aTypedArrayConstructor,c=o.exportTypedArrayStaticMethod;c("fromAsync",function(f){var g=this,p=arguments.length,b=p>1?arguments[1]:void 0,h=p>2?arguments[2]:void 0;return new(t("Promise"))(function(E){r(g),E(n(f,b,h))}).then(function(E){return s(u(g),E)})},!0)},60239:function(i,d,e){"use strict";var t=e(58261),r=e(36444),n=e(31384),o=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(c){var a=arguments.length>1?arguments[1]:void 0;return r(o(this),c,a,n)},!0)},49381:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(75406),o=e(51981),s=e(93303),u=e(56902),c=e(3338),a=t.aTypedArray,f=t.getTypedArrayConstructor,g=t.exportTypedArrayMethod,p=Math.max,b=Math.min,h=!c(function(){var E=new Int8Array([1]),P=E.toSpliced(1,0,{valueOf:function(){return E[0]=2,3}});return P[0]!==2||P[1]!==3});g("toSpliced",function(P,A){var I=a(this),C=f(I),O=r(I),T=o(P,O),D=arguments.length,k=0,L,M,R,U,N,V,j;if(D===0)L=M=0;else if(D===1)L=0,M=O-T;else if(M=b(p(u(A),0),O-T),L=D-2,L){U=new C(L),R=n(U);for(var K=2;K1?o(arguments[1]):void 0,L=f(k)==="base64"?g:p,M=k?!!k.strict:!1,R=M?D:P(D,C,"");if(R.length%4===0)A(R,-2)==="=="?R=A(R,0,-2):A(R,-1)==="="&&(R=A(R,0,-1));else if(M)throw new h("Input is not correctly padded");var U=R.length%4;switch(U){case 1:throw new h("Bad input length");case 2:R+="AA";break;case 3:R+="A"}for(var N=[],V=0,j=R.length,K=function(Y){var z=E(R,V+Y);if(!u(L,z))throw new h('Bad char in input: "'+z+'"');return L[z]<<18-6*Y};V>16&255,G>>8&255,G&255)}var J=N.length;if(U===2){if(M&&N[J-2]!==0)throw new h(O);J-=2}else if(U===3){if(M&&N[J-1]!==0)throw new h(O);J--}return c(b,N,J)}})},57151:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94237),o=e(79606),s=r.Uint8Array,u=r.SyntaxError,c=r.parseInt,a=/[^\da-f]/i,f=n(a.exec),g=n("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(b){o(b);var h=b.length;if(h%2)throw new u("String should have an even number of characters");if(f(a,b))throw new u("String should only contain hex characters");for(var E=new s(h/2),P=0;P>6*D&63)};I+2>(-2*j&6)));return N}})},55182:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),o=e(94237),s=e(89945),u=e(3338),c=e(69905),a=e(57106),f=e(66244).i2c,g=n("btoa"),p=o("".charAt),b=o("".charCodeAt),h=!!g&&!u(function(){return g("hi")!=="aGk="}),E=h&&!u(function(){g()}),P=h&&u(function(){return g(null)!=="bnVsbA=="}),A=h&&g.length!==1;t({global:!0,bind:!0,enumerable:!0,forced:!h||E||P||A},{btoa:function(C){if(a(arguments.length,1),h)return s(g,r,c(C));for(var O=c(C),T="",D=0,k=f,L,M;p(O,D)||(k="=",D%1);){if(M=b(O,D+=.75),M>255)throw new(n("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");L=L<<8|M,T+=p(k,63&L>>8-D%1*8)}return T}})},91472:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).clear;t({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==n},{clearImmediate:n})},34366:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),o=e(59594),s=e(68151),u=function(a){if(a&&a.forEach!==o)try{s(a,"forEach",o)}catch(f){a.forEach=o}};for(var c in r)r[c]&&u(t[c]&&t[c].prototype);u(n)},85425:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),o=e(11005),s=e(68151),u=e(94573),c=e(59893),a=c("iterator"),f=o.values,g=function(b,h){if(b){if(b[a]!==f)try{s(b,a,f)}catch(P){b[a]=f}if(u(b,h,!0),r[h]){for(var E in o)if(b[E]!==o[E])try{s(b,E,o[E])}catch(P){b[E]=o[E]}}}};for(var p in r)g(t[p]&&t[p].prototype,p);g(n,"DOMTokenList")},64522:function(i,d,e){"use strict";var t=e(94488),r=e(11270),n=e(65911),o=e(3338),s=e(20132),u=e(35012),c=e(37691).f,a=e(2291),f=e(64110),g=e(32621),p=e(56472),b=e(80449),h=e(13367),E=e(7825),P=e(52109),A=e(80739),I=e(94844),C=e(35454),O=e(16697),T="DOMException",D="DATA_CLONE_ERR",k=n("Error"),L=n(T)||function(){try{var He=n("MessageChannel")||r("worker_threads").MessageChannel;new He().port1.postMessage(new WeakMap)}catch(qe){if(qe.name===D&&qe.code===25)return qe.constructor}}(),M=L&&L.prototype,R=k.prototype,U=I.set,N=I.getterFor(T),V="stack"in new k(T),j=function(He){return g(P,He)&&P[He].m?P[He].c:0},K=function(){p(this,G);var qe=arguments.length,mt=E(qe<1?void 0:arguments[0]),bt=E(qe<2?void 0:arguments[1],"Error"),Et=j(bt);if(U(this,{type:T,name:bt,message:mt,code:Et}),C||(this.name=bt,this.message=mt,this.code=Et),V){var ve=new k(mt);ve.name=T,c(this,"stack",u(1,A(ve.stack,1)))}},G=K.prototype=s(R),J=function(He){return{enumerable:!0,configurable:!0,get:He}},Y=function(He){return J(function(){return N(this)[He]})};C&&(f(G,"code",Y("code")),f(G,"message",Y("message")),f(G,"name",Y("name"))),c(G,"constructor",u(1,K));var z=o(function(){return!(new L instanceof k)}),Z=z||o(function(){return R.toString!==h||String(new L(1,2))!=="2: 1"}),$=z||o(function(){return new L(1,"DataCloneError").code!==25}),B=z||L[D]!==25||M[D]!==25,Q=O?Z||$||B:z;t({global:!0,constructor:!0,forced:Q},{DOMException:Q?K:L});var ee=n(T),oe=ee.prototype;Z&&(O||L===ee)&&a(oe,"toString",h),$&&C&&L===ee&&f(oe,"code",J(function(){return j(b(this).name)}));for(var ue in P)if(g(P,ue)){var pe=P[ue],fe=pe.s,et=u(6,pe.c);g(ee,fe)||c(ee,fe,et),g(oe,fe)||c(oe,fe,et)}},41599:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),o=e(35012),s=e(37691).f,u=e(32621),c=e(56472),a=e(25576),f=e(7825),g=e(52109),p=e(80739),b=e(35454),h=e(16697),E="DOMException",P=n("Error"),A=n(E),I=function(){c(this,C);var K=arguments.length,G=f(K<1?void 0:arguments[0]),J=f(K<2?void 0:arguments[1],"Error"),Y=new A(G,J),z=new P(G);return z.name=E,s(Y,"stack",o(1,p(z.stack,1))),a(Y,this,I),Y},C=I.prototype=A.prototype,O="stack"in new P(E),T="stack"in new A(1,2),D=A&&b&&Object.getOwnPropertyDescriptor(r,E),k=!!D&&!(D.writable&&D.configurable),L=O&&!k&&!T;t({global:!0,constructor:!0,forced:h||L},{DOMException:L?I:A});var M=n(E),R=M.prototype;if(R.constructor!==M){h||s(R,"constructor",o(1,M));for(var U in g)if(u(g,U)){var N=g[U],V=N.s;u(M,V)||s(M,V,o(6,N.c))}}},86465:function(i,d,e){"use strict";var t=e(65911),r=e(94573),n="DOMException";r(t(n),n)},78437:function(i,d,e){"use strict";e(91472),e(91700)},73624:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(72933),o=e(63335),s=e(57106),u=e(90946),c=r.process;t({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(f){s(arguments.length,1),o(f);var g=u&&c.domain;n(g?g.bind(f):f)}})},62059:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(64110),o=e(35454),s=TypeError,u=Object.defineProperty,c=r.self!==r;try{if(o){var a=Object.getOwnPropertyDescriptor(r,"self");(c||!a||!a.get||!a.enumerable)&&n(r,"self",{get:function(){return r},set:function(g){if(this!==r)throw new s("Illegal invocation");u(r,"self",{value:g,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else t({global:!0,simple:!0,forced:c},{self:r})}catch(f){}},91700:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).set,o=e(93222),s=r.setImmediate?o(n,!1):n;t({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==s},{setImmediate:s})},88469:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),o=n(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==o},{setInterval:o})},91572:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),o=n(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==o},{setTimeout:o})},10305:function(i,d,e){"use strict";var t=e(16697),r=e(94488),n=e(92916),o=e(65911),s=e(94237),u=e(3338),c=e(6145),a=e(55327),f=e(39812),g=e(4112),p=e(31946),b=e(18446),h=e(62003),E=e(80449),P=e(97607),A=e(32621),I=e(69392),C=e(68151),O=e(82762),T=e(57106),D=e(81644),k=e(2786),L=e(19691),M=e(57002),R=e(39311),U=e(25406),N=e(80426),V=n.Object,j=n.Array,K=n.Date,G=n.Error,J=n.TypeError,Y=n.PerformanceMark,z=o("DOMException"),Z=k.Map,$=k.has,B=k.get,Q=k.set,ee=L.Set,oe=L.add,ue=L.has,pe=o("Object","keys"),fe=s([].push),et=s((!0).valueOf),He=s(1 .valueOf),qe=s("".valueOf),mt=s(K.prototype.getTime),bt=c("structuredClone"),Et="DataCloneError",ve="Transferring",Be=function(_e){return!u(function(){var Oe=new n.Set([7]),St=_e(Oe),dt=_e(V(7));return St===Oe||!St.has(7)||!p(dt)||+dt!=7})&&_e},ze=function(_e,Oe){return!u(function(){var St=new Oe,dt=_e({a:St,b:St});return!(dt&&dt.a===dt.b&&dt.a instanceof Oe&&dt.a.stack===St.stack)})},st=function(_e){return!u(function(){var Oe=_e(new n.AggregateError([1],bt,{cause:3}));return Oe.name!=="AggregateError"||Oe.errors[0]!==1||Oe.message!==bt||Oe.cause!==3})},Dt=n.structuredClone,Ct=t||!ze(Dt,G)||!ze(Dt,z)||!st(Dt),Le=!Dt&&Be(function(_e){return new Y(bt,{detail:_e}).detail}),ge=Be(Dt)||Le,Ce=function(_e){throw new z("Uncloneable type: "+_e,Et)},$e=function(_e,Oe){throw new z((Oe||"Cloning")+" of "+_e+" cannot be properly polyfilled in this engine",Et)},De=function(_e,Oe){return ge||$e(Oe),ge(_e)},Ge=function(){var _e;try{_e=new n.DataTransfer}catch(Oe){try{_e=new n.ClipboardEvent("").clipboardData}catch(St){}}return _e&&_e.items&&_e.files?_e:null},Ne=function(_e,Oe,St){if($(Oe,_e))return B(Oe,_e);var dt=St||P(_e),ct,ot,Je,vt,me,ft;if(dt==="SharedArrayBuffer")ge?ct=ge(_e):ct=_e;else{var tt=n.DataView;!tt&&!a(_e.slice)&&$e("ArrayBuffer");try{if(a(_e.slice)&&!_e.resizable)ct=_e.slice(0);else for(ot=_e.byteLength,Je=("maxByteLength"in _e)?{maxByteLength:_e.maxByteLength}:void 0,ct=new ArrayBuffer(ot,Je),vt=new tt(_e),me=new tt(ct),ft=0;ft1&&!g(arguments[1])?E(arguments[1]):void 0,dt=St?St.transfer:void 0,ct,ot;dt!==void 0&&(ct=new Z,ot=kt(dt,ct));var Je=Xe(Oe,ct);return ot&&Ft(ot),Je}})},41208:function(i,d,e){"use strict";e(88469),e(91572)},91340:function(i,d,e){"use strict";e(11005);var t=e(94488),r=e(92916),n=e(89945),o=e(94237),s=e(35454),u=e(3299),c=e(2291),a=e(64110),f=e(66477),g=e(94573),p=e(83126),b=e(94844),h=e(56472),E=e(55327),P=e(32621),A=e(80666),I=e(97607),C=e(80449),O=e(31946),T=e(69905),D=e(20132),k=e(35012),L=e(85428),M=e(26006),R=e(25587),U=e(57106),N=e(59893),V=e(63668),j=N("iterator"),K="URLSearchParams",G=K+"Iterator",J=b.set,Y=b.getterFor(K),z=b.getterFor(G),Z=Object.getOwnPropertyDescriptor,$=function(ct){if(!s)return r[ct];var ot=Z(r,ct);return ot&&ot.value},B=$("fetch"),Q=$("Request"),ee=$("Headers"),oe=Q&&Q.prototype,ue=ee&&ee.prototype,pe=r.RegExp,fe=r.TypeError,et=r.decodeURIComponent,He=r.encodeURIComponent,qe=o("".charAt),mt=o([].join),bt=o([].push),Et=o("".replace),ve=o([].shift),Be=o([].splice),ze=o("".split),st=o("".slice),Dt=/\+/g,Ct=Array(4),Le=function(ct){return Ct[ct-1]||(Ct[ct-1]=pe("((?:%[\\da-f]{2}){"+ct+"})","gi"))},ge=function(ct){try{return et(ct)}catch(ot){return ct}},Ce=function(ct){var ot=Et(ct,Dt," "),Je=4;try{return et(ot)}catch(vt){for(;Je;)ot=Et(ot,Le(Je--),ge);return ot}},$e=/[!'()~]|%20/g,De={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ge=function(ct){return De[ct]},Ne=function(ct){return Et(He(ct),$e,Ge)},rt=p(function(ot,Je){J(this,{type:G,target:Y(ot).entries,index:0,kind:Je})},K,function(){var ot=z(this),Je=ot.target,vt=ot.index++;if(!Je||vt>=Je.length)return ot.target=void 0,R(void 0,!0);var me=Je[vt];switch(ot.kind){case"keys":return R(me.key,!1);case"values":return R(me.value,!1)}return R([me.key,me.value],!1)},!0),Xe=function(ct){this.entries=[],this.url=null,ct!==void 0&&(O(ct)?this.parseObject(ct):this.parseQuery(typeof ct=="string"?qe(ct,0)==="?"?st(ct,1):ct:T(ct)))};Xe.prototype={type:K,bindURL:function(ct){this.url=ct,this.update()},parseObject:function(ct){var ot=this.entries,Je=M(ct),vt,me,ft,tt,Pt,Lt,hr;if(Je)for(vt=L(ct,Je),me=vt.next;!(ft=n(me,vt)).done;){if(tt=L(C(ft.value)),Pt=tt.next,(Lt=n(Pt,tt)).done||(hr=n(Pt,tt)).done||!n(Pt,tt).done)throw new fe("Expected sequence with length 2");bt(ot,{key:T(Lt.value),value:T(hr.value)})}else for(var nt in ct)P(ct,nt)&&bt(ot,{key:nt,value:T(ct[nt])})},parseQuery:function(ct){if(ct)for(var ot=this.entries,Je=ze(ct,"&"),vt=0,me,ft;vt0?arguments[0]:void 0,Je=J(this,new Xe(ot));s||(this.size=Je.entries.length)},Ft=kt.prototype;if(f(Ft,{append:function(ot,Je){var vt=Y(this);U(arguments.length,2),bt(vt.entries,{key:T(ot),value:T(Je)}),s||this.length++,vt.updateURL()},delete:function(ct){for(var ot=Y(this),Je=U(arguments.length,1),vt=ot.entries,me=T(ct),ft=Je<2?void 0:arguments[1],tt=ft===void 0?ft:T(ft),Pt=0;Ptvt.key?1:-1}),ot.updateURL()},forEach:function(ot){for(var Je=Y(this).entries,vt=A(ot,arguments.length>1?arguments[1]:void 0),me=0,ft;me1?St(arguments[1]):{})}}),E(Q)){var dt=function(ot){return h(this,oe),new Q(ot,arguments.length>1?St(arguments[1]):{})};oe.constructor=dt,dt.prototype=oe,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:dt})}}i.exports={URLSearchParams:kt,getState:Y}},4890:function(i,d,e){"use strict";var t=e(2291),r=e(94237),n=e(69905),o=e(57106),s=URLSearchParams,u=s.prototype,c=r(u.append),a=r(u.delete),f=r(u.forEach),g=r([].push),p=new s("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&t(u,"delete",function(b){var h=arguments.length,E=h<2?void 0:arguments[1];if(h&&E===void 0)return a(this,b);var P=[];f(this,function(L,M){g(P,{key:M,value:L})}),o(h,1);for(var A=n(b),I=n(E),C=0,O=0,T=!1,D=P.length,k;C?@[\\\]^|]/,Dt=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ct=/^[\u0000-\u0020]+/,Le=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ge=/[\t\n\r]/g,Ce,$e=function(gt){var Ze=Q(gt,"."),Ue,Re,Ke,Gt,Bt,xe,ar;if(Ze.length&&Ze[Ze.length-1]===""&&Ze.length--,Ue=Ze.length,Ue>4)return gt;for(Re=[],Ke=0;Ke1&&K(Gt,0)==="0"&&(Bt=G(Et,Gt)?16:8,Gt=ee(Gt,Bt===8?1:2)),Gt==="")xe=0;else{if(!G(Bt===10?Be:Bt===8?ve:ze,Gt))return gt;xe=N(Gt,Bt)}Z(Re,xe)}for(Ke=0;Ke=j(256,5-Ue))return null}else if(xe>255)return null;for(ar=z(Re),Ke=0;Ke6))return;for(xe=0;un();){if(ar=null,xe>0)if(un()==="."&&xe<4)Ke++;else return;if(!G(bt,un()))return;for(;G(bt,un());){if(Lr=N(un(),10),ar===null)ar=Lr;else{if(ar===0)return;ar=ar*10+Lr}if(ar>255)return;Ke++}Ze[Ue]=Ze[Ue]*256+ar,xe++,(xe===2||xe===4)&&Ue++}if(xe!==4)return;break}else if(un()===":"){if(Ke++,!un())return}else if(un())return;Ze[Ue++]=Gt}if(Re!==null)for(_n=Ue-Re,Ue=7;Ue!==0&&_n>0;)or=Ze[Ue],Ze[Ue--]=Ze[Re+_n-1],Ze[Re+--_n]=or;else if(Ue!==8)return;return Ze},Ge=function(gt){for(var Ze=null,Ue=1,Re=null,Ke=0,Gt=0;Gt<8;Gt++)gt[Gt]!==0?(Ke>Ue&&(Ze=Re,Ue=Ke),Re=null,Ke=0):(Re===null&&(Re=Gt),++Ke);return Ke>Ue&&(Ze=Re,Ue=Ke),Ze},Ne=function(gt){var Ze,Ue,Re,Ke;if(typeof gt=="number"){for(Ze=[],Ue=0;Ue<4;Ue++)ue(Ze,gt%256),gt=V(gt/256);return J(Ze,".")}else if(typeof gt=="object"){for(Ze="",Re=Ge(gt),Ue=0;Ue<8;Ue++)Ke&>[Ue]===0||(Ke&&(Ke=!1),Re===Ue?(Ze+=Ue?":":"::",Ke=!0):(Ze+=Y(gt[Ue],16),Ue<7&&(Ze+=":")));return"["+Ze+"]"}return gt},rt={},Xe=p({},rt,{" ":1,'"':1,"<":1,">":1,"`":1}),kt=p({},Xe,{"#":1,"?":1,"{":1,"}":1}),Ft=p({},kt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),_e=function(gt,Ze){var Ue=E(gt,0);return Ue>32&&Ue<127&&!g(Ze,gt)?gt:encodeURIComponent(gt)},Oe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},St=function(gt,Ze){var Ue;return gt.length===2&&G(qe,K(gt,0))&&((Ue=K(gt,1))===":"||!Ze&&Ue==="|")},dt=function(gt){var Ze;return gt.length>1&&St(ee(gt,0,2))&&(gt.length===2||(Ze=K(gt,2))==="/"||Ze==="\\"||Ze==="?"||Ze==="#")},ct=function(gt){return gt==="."||oe(gt)==="%2e"},ot=function(gt){return gt=oe(gt),gt===".."||gt==="%2e."||gt===".%2e"||gt==="%2e%2e"},Je={},vt={},me={},ft={},tt={},Pt={},Lt={},hr={},nt={},sr={},Ae={},Mt={},Te={},dr={},gr={},mr={},vr={},Zr={},Hr={},Xr={},qr={},cr=function(gt,Ze,Ue){var Re=A(gt),Ke,Gt,Bt;if(Ze){if(Gt=this.parse(Re),Gt)throw new U(Gt);this.searchParams=null}else{if(Ue!==void 0&&(Ke=new cr(Ue,!0)),Gt=this.parse(Re,null,Ke),Gt)throw new U(Gt);Bt=M(new L),Bt.bindURL(this),this.searchParams=Bt}};cr.prototype={type:"URL",parse:function(gt,Ze,Ue){var Re=this,Ke=Ze||Je,Gt=0,Bt="",xe=!1,ar=!1,Lr=!1,_n,or,un,on;for(gt=A(gt),Ze||(Re.scheme="",Re.username="",Re.password="",Re.host=null,Re.port=null,Re.path=[],Re.query=null,Re.fragment=null,Re.cannotBeABaseURL=!1,gt=$(gt,Ct,""),gt=$(gt,Le,"$1")),gt=$(gt,ge,""),_n=b(gt);Gt<=_n.length;){switch(or=_n[Gt],Ke){case Je:if(or&&G(qe,or))Bt+=oe(or),Ke=vt;else{if(Ze)return fe;Ke=me;continue}break;case vt:if(or&&(G(mt,or)||or==="+"||or==="-"||or==="."))Bt+=oe(or);else if(or===":"){if(Ze&&(Re.isSpecial()!==g(Oe,Bt)||Bt==="file"&&(Re.includesCredentials()||Re.port!==null)||Re.scheme==="file"&&!Re.host))return;if(Re.scheme=Bt,Ze){Re.isSpecial()&&Oe[Re.scheme]===Re.port&&(Re.port=null);return}Bt="",Re.scheme==="file"?Ke=dr:Re.isSpecial()&&Ue&&Ue.scheme===Re.scheme?Ke=ft:Re.isSpecial()?Ke=hr:_n[Gt+1]==="/"?(Ke=tt,Gt++):(Re.cannotBeABaseURL=!0,Z(Re.path,""),Ke=Hr)}else{if(Ze)return fe;Bt="",Ke=me,Gt=0;continue}break;case me:if(!Ue||Ue.cannotBeABaseURL&&or!=="#")return fe;if(Ue.cannotBeABaseURL&&or==="#"){Re.scheme=Ue.scheme,Re.path=h(Ue.path),Re.query=Ue.query,Re.fragment="",Re.cannotBeABaseURL=!0,Ke=qr;break}Ke=Ue.scheme==="file"?dr:Pt;continue;case ft:if(or==="/"&&_n[Gt+1]==="/")Ke=nt,Gt++;else{Ke=Pt;continue}break;case tt:if(or==="/"){Ke=sr;break}else{Ke=Zr;continue}case Pt:if(Re.scheme=Ue.scheme,or===Ce)Re.username=Ue.username,Re.password=Ue.password,Re.host=Ue.host,Re.port=Ue.port,Re.path=h(Ue.path),Re.query=Ue.query;else if(or==="/"||or==="\\"&&Re.isSpecial())Ke=Lt;else if(or==="?")Re.username=Ue.username,Re.password=Ue.password,Re.host=Ue.host,Re.port=Ue.port,Re.path=h(Ue.path),Re.query="",Ke=Xr;else if(or==="#")Re.username=Ue.username,Re.password=Ue.password,Re.host=Ue.host,Re.port=Ue.port,Re.path=h(Ue.path),Re.query=Ue.query,Re.fragment="",Ke=qr;else{Re.username=Ue.username,Re.password=Ue.password,Re.host=Ue.host,Re.port=Ue.port,Re.path=h(Ue.path),Re.path.length--,Ke=Zr;continue}break;case Lt:if(Re.isSpecial()&&(or==="/"||or==="\\"))Ke=nt;else if(or==="/")Ke=sr;else{Re.username=Ue.username,Re.password=Ue.password,Re.host=Ue.host,Re.port=Ue.port,Ke=Zr;continue}break;case hr:if(Ke=nt,or!=="/"||K(Bt,Gt+1)!=="/")continue;Gt++;break;case nt:if(or!=="/"&&or!=="\\"){Ke=sr;continue}break;case sr:if(or==="@"){xe&&(Bt="%40"+Bt),xe=!0,un=b(Bt);for(var dn=0;dn65535)return He;Re.port=Re.isSpecial()&&aa===Oe[Re.scheme]?null:aa,Bt=""}if(Ze)return;Ke=vr;continue}else return He;break;case dr:if(Re.scheme="file",or==="/"||or==="\\")Ke=gr;else if(Ue&&Ue.scheme==="file")switch(or){case Ce:Re.host=Ue.host,Re.path=h(Ue.path),Re.query=Ue.query;break;case"?":Re.host=Ue.host,Re.path=h(Ue.path),Re.query="",Ke=Xr;break;case"#":Re.host=Ue.host,Re.path=h(Ue.path),Re.query=Ue.query,Re.fragment="",Ke=qr;break;default:dt(J(h(_n,Gt),""))||(Re.host=Ue.host,Re.path=h(Ue.path),Re.shortenPath()),Ke=Zr;continue}else{Ke=Zr;continue}break;case gr:if(or==="/"||or==="\\"){Ke=mr;break}Ue&&Ue.scheme==="file"&&!dt(J(h(_n,Gt),""))&&(St(Ue.path[0],!0)?Z(Re.path,Ue.path[0]):Re.host=Ue.host),Ke=Zr;continue;case mr:if(or===Ce||or==="/"||or==="\\"||or==="?"||or==="#"){if(!Ze&&St(Bt))Ke=Zr;else if(Bt===""){if(Re.host="",Ze)return;Ke=vr}else{if(on=Re.parseHost(Bt),on)return on;if(Re.host==="localhost"&&(Re.host=""),Ze)return;Bt="",Ke=vr}continue}else Bt+=or;break;case vr:if(Re.isSpecial()){if(Ke=Zr,or!=="/"&&or!=="\\")continue}else if(!Ze&&or==="?")Re.query="",Ke=Xr;else if(!Ze&&or==="#")Re.fragment="",Ke=qr;else if(or!==Ce&&(Ke=Zr,or!=="/"))continue;break;case Zr:if(or===Ce||or==="/"||or==="\\"&&Re.isSpecial()||!Ze&&(or==="?"||or==="#")){if(ot(Bt)?(Re.shortenPath(),or!=="/"&&!(or==="\\"&&Re.isSpecial())&&Z(Re.path,"")):ct(Bt)?or!=="/"&&!(or==="\\"&&Re.isSpecial())&&Z(Re.path,""):(Re.scheme==="file"&&!Re.path.length&&St(Bt)&&(Re.host&&(Re.host=""),Bt=K(Bt,0)+":"),Z(Re.path,Bt)),Bt="",Re.scheme==="file"&&(or===Ce||or==="?"||or==="#"))for(;Re.path.length>1&&Re.path[0]==="";)B(Re.path);or==="?"?(Re.query="",Ke=Xr):or==="#"&&(Re.fragment="",Ke=qr)}else Bt+=_e(or,kt);break;case Hr:or==="?"?(Re.query="",Ke=Xr):or==="#"?(Re.fragment="",Ke=qr):or!==Ce&&(Re.path[0]+=_e(or,rt));break;case Xr:!Ze&&or==="#"?(Re.fragment="",Ke=qr):or!==Ce&&(or==="'"&&Re.isSpecial()?Re.query+="%27":or==="#"?Re.query+="%23":Re.query+=_e(or,rt));break;case qr:or!==Ce&&(Re.fragment+=_e(or,Xe));break}Gt++}},parseHost:function(gt){var Ze,Ue,Re;if(K(gt,0)==="["){if(K(gt,gt.length-1)!=="]"||(Ze=De(ee(gt,1,-1)),!Ze))return et;this.host=Ze}else if(this.isSpecial()){if(gt=P(gt),G(st,gt)||(Ze=$e(gt),Ze===null))return et;this.host=Ze}else{if(G(Dt,gt))return et;for(Ze="",Ue=b(gt),Re=0;Re1?arguments[1]:void 0,Ke=D(Ue,new cr(Ze,!1,Re));r||(Ue.href=Ke.serialize(),Ue.origin=Ke.getOrigin(),Ue.protocol=Ke.getProtocol(),Ue.username=Ke.getUsername(),Ue.password=Ke.getPassword(),Ue.host=Ke.getHost(),Ue.hostname=Ke.getHostname(),Ue.port=Ke.getPort(),Ue.pathname=Ke.getPathname(),Ue.search=Ke.getSearch(),Ue.searchParams=Ke.getSearchParams(),Ue.hash=Ke.getHash())},Vt=rr.prototype,Or=function(gt,Ze){return{get:function(){return k(this)[gt]()},set:Ze&&function(Ue){return k(this)[Ze](Ue)},configurable:!0,enumerable:!0}};if(r&&(a(Vt,"href",Or("serialize","setHref")),a(Vt,"origin",Or("getOrigin")),a(Vt,"protocol",Or("getProtocol","setProtocol")),a(Vt,"username",Or("getUsername","setUsername")),a(Vt,"password",Or("getPassword","setPassword")),a(Vt,"host",Or("getHost","setHost")),a(Vt,"hostname",Or("getHostname","setHostname")),a(Vt,"port",Or("getPort","setPort")),a(Vt,"pathname",Or("getPathname","setPathname")),a(Vt,"search",Or("getSearch","setSearch")),a(Vt,"searchParams",Or("getSearchParams")),a(Vt,"hash",Or("getHash","setHash"))),c(Vt,"toJSON",function(){return k(this).serialize()},{enumerable:!0}),c(Vt,"toString",function(){return k(this).serialize()},{enumerable:!0}),R){var Cr=R.createObjectURL,Tr=R.revokeObjectURL;Cr&&c(rr,"createObjectURL",s(Cr,R)),Tr&&c(rr,"revokeObjectURL",s(Tr,R))}I(rr,"URL"),t({global:!0,constructor:!0,forced:!n,sham:!r},{URL:rr})},25204:function(i,d,e){"use strict";e(13588)},47803:function(i,d,e){"use strict";var t=e(94488),r=e(89945);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})},73825:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){if(Array.isArray(r))return r}},65873:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(89878);function r(n,o,s){return o=(0,t.Z)(o),o in n?Object.defineProperty(n,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[o]=s,n}},38329:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var n=1;n=0)&&(s[c]=n[c]);return s}function r(n,o){if(n==null)return{};var s=t(n,o),u,c;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(s[u]=n[u])}return s}},87296:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(73825);function r(u,c){var a=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(a!=null){var f,g,p,b,h=[],E=!0,P=!1;try{if(p=(a=a.call(u)).next,c===0){if(Object(a)!==a)return;E=!1}else for(;!(E=(f=p.call(a)).done)&&(h.push(f.value),h.length!==c);E=!0);}catch(A){P=!0,g=A}finally{try{if(!E&&a.return!=null&&(b=a.return(),Object(b)!==b))return}finally{if(P)throw g}}return h}}var n=e(99227),o=e(66160);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,o.Z)()}},89878:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(8616);function r(o,s){if((0,t.Z)(o)!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var c=u.call(o,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(o)}function n(o){var s=r(o,"string");return(0,t.Z)(s)=="symbol"?s:String(s)}},8616:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},99227:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});function t(n,o){(o==null||o>n.length)&&(o=n.length);for(var s=0,u=new Array(o);sr.length)&&(n=r.length);for(var o=0,s=Array(n);o=0;--ee){var oe=this.tryEntries[ee],ue=oe.completion;if(oe.tryLoc==="root")return Q("end");if(oe.tryLoc<=this.prev){var pe=u.call(oe,"catchLoc"),fe=u.call(oe,"finallyLoc");if(pe&&fe){if(this.prev=0;--Q){var ee=this.tryEntries[Q];if(ee.tryLoc<=this.prev&&u.call(ee,"finallyLoc")&&this.prev=0;--B){var Q=this.tryEntries[B];if(Q.finallyLoc===$)return this.complete(Q.completion,Q.afterLoc),J(Q),O}},catch:function($){for(var B=this.tryEntries.length-1;B>=0;--B){var Q=this.tryEntries[B];if(Q.tryLoc===$){var ee=Q.completion;if(ee.type==="throw"){var oe=ee.arg;J(Q)}return oe}}throw Error("illegal catch attempt")},delegateYield:function($,B,Q){return this.delegate={iterator:z($),resultName:B,nextLoc:Q},this.method==="next"&&(this.arg=n),O}},o}},3378:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o},t(r,n)}},29043:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(86801);function r(u,c){var a=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(a!=null){var f,g,p,b,h=[],E=!0,P=!1;try{if(p=(a=a.call(u)).next,c===0){if(Object(a)!==a)return;E=!1}else for(;!(E=(f=p.call(a)).done)&&(h.push(f.value),h.length!==c);E=!0);}catch(A){P=!0,g=A}finally{try{if(!E&&a.return!=null&&(b=a.return(),Object(b)!==b))return}finally{if(P)throw g}}return h}}var n=e(36541),o=e(59341);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,o.Z)()}},17953:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(86801),r=e(16700),n=e(36541),o=e(59341);function s(u){return(0,t.Z)(u)||(0,r.Z)(u)||(0,n.Z)(u)||(0,o.Z)()}},26390:function(i,d,e){"use strict";e.d(d,{Z:function(){return u}});var t=e(89481);function r(c){if(Array.isArray(c))return(0,t.Z)(c)}var n=e(16700),o=e(36541);function s(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(c){return r(c)||(0,n.Z)(c)||(0,o.Z)(c)||s()}},45913:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(80665);function r(o,s){if((0,t.Z)(o)!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var c=u.call(o,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(o)}function n(o){var s=r(o,"string");return(0,t.Z)(s)=="symbol"?s:s+""}},80665:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},36541:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(89481);function r(n,o){if(n){if(typeof n=="string")return(0,t.Z)(n,o);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?(0,t.Z)(n,o):void 0}}},53280:function(i,d,e){"use strict";e.d(d,{D:function(){return r}});function t(n,o,s){var u=s||{},c=u.noTrailing,a=c===void 0?!1:c,f=u.noLeading,g=f===void 0?!1:f,p=u.debounceMode,b=p===void 0?void 0:p,h,E=!1,P=0;function A(){h&&clearTimeout(h)}function I(O){var T=O||{},D=T.upcomingOnly,k=D===void 0?!1:D;A(),E=!k}function C(){for(var O=arguments.length,T=new Array(O),D=0;Dn?g?(P=Date.now(),a||(h=setTimeout(b?R:M,n))):M():a!==!0&&(h=setTimeout(b?R:M,b===void 0?n-L:n))}return C.cancel=I,C}function r(n,o,s){var u=s||{},c=u.atBegin,a=c===void 0?!1:c;return t(n,o,{debounceMode:a!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var d=__webpack_module_cache__[i];if(d!==void 0)return d.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var d=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(d,{a:d}),d}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};d=d||[null,i({}),i([]),i(i)];for(var o=t&2&&e;typeof o=="object"&&!~d.indexOf(o);o=i(o))Object.getOwnPropertyNames(o).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,d){for(var e in d)__webpack_require__.o(d,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:d[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(d,e){return __webpack_require__.f[e](i,d),d},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"a3177e3c",67:"0356bd2f",75:"d110ce09",109:"3eb0c066",129:"265c499b",195:"7c0dffd8",264:"a83f6a9c",265:"fde5290b",292:"160bf11c",310:"7de73459",316:"1f60ada6",337:"1648a11e",342:"05289d89",354:"d4d139cf",479:"1762136d",485:"2d67fcb8",508:"10ac5849",532:"974eeab4",533:"126a54b8",547:"e2501473",556:"3cc0dffe",559:"01fd1001",576:"e9dfdbde",629:"44a1d9a5",643:"d3f666e5",671:"4a609b8d",680:"fe8262db",684:"f58e9f6e",700:"c99b2737",737:"da8288c7",741:"ac5fd360",799:"8ab156b9",869:"fedc962c",895:"77f43931",921:"211dfc93",928:"774f58dd",981:"24da50c7",1006:"fe3c7c27",1043:"7a2d7297",1045:"8b77ad02",1048:"d15f2a4b",1070:"0031b28f",1144:"c90eccaf",1148:"9e0c8a49",1154:"8cb80842",1211:"bbd3872f",1253:"d5d451b7",1257:"cdf77134",1265:"efd5ef36",1274:"5f6ea65a",1276:"c0280778",1343:"c46d1c64",1416:"37434b0b",1423:"de67528e",1427:"32ec1023",1450:"31ad54ac",1461:"79328011",1462:"fcf08abc",1470:"58998a72",1475:"c191f661",1482:"64e72085",1512:"d090896b",1520:"7754c71d",1545:"1cb24bf0",1578:"b766cbe2",1581:"c87c8dde",1582:"7a15005e",1646:"e6e27b60",1657:"1080a207",1660:"2bf666df",1674:"f30d1741",1702:"346eb1df",1713:"307b9e80",1717:"d4fccbfb",1727:"c582ad50",1783:"cc7cde60",1799:"ffee29c0",1810:"bd7bcaf7",1831:"bfb61940",1836:"d99fdaf1",1855:"1e75be4c",1880:"f7815fd0",1939:"f40fe5f8",1953:"ee44c4aa",1962:"a28b3a0c",2011:"59d51f98",2045:"115acd37",2076:"3adfce7a",2102:"e4127a39",2141:"5324c310",2216:"51208019",2240:"206623b0",2249:"f4830452",2254:"60fd0cd4",2300:"bc020f4e",2303:"a7b258fe",2307:"ddd5b169",2338:"9e722ba8",2339:"3e24919f",2386:"192e235c",2396:"9dfa8a98",2404:"d7988c70",2412:"d9171829",2425:"df4f8d61",2443:"bd37d7e4",2476:"20df4c83",2494:"68080a87",2501:"44452ec2",2529:"537c1db7",2538:"de4a3723",2539:"20cd996e",2548:"0b85ce47",2570:"19f7c0f8",2594:"e87d3761",2603:"916404e5",2659:"fcc6015a",2707:"c7d9716a",2806:"b2e7aacf",2819:"80463142",2823:"ec461f76",2826:"8f9a7f30",2829:"81154d8b",2837:"54a82605",2865:"7dc31b3c",2875:"865b4d02",2884:"e08b6d90",2969:"ab3357d7",2983:"0189ba5e",3006:"b0846b08",3133:"9bf3f89c",3141:"9b72df27",3157:"d2493053",3183:"e1fbc983",3198:"8e655451",3212:"ca367816",3220:"0181f340",3247:"73fad9e9",3260:"f560bbaa",3282:"7863217e",3317:"7c749d56",3332:"80c66eae",3355:"e97d8202",3356:"a8bfef5d",3391:"9abf4faa",3433:"287dd531",3442:"a4a5e608",3447:"ea14d49c",3451:"32a489c5",3468:"4b2ec344",3496:"58b660aa",3509:"25293fc9",3550:"3dc83156",3581:"ad695f54",3585:"0cbe6c96",3665:"233c1b5d",3668:"7739cedb",3697:"481a10d9",3745:"7ce05ea2",3747:"74b26f78",3777:"d5b0f2f1",3784:"52f03d58",3805:"9dbcb95e",3862:"226a0355",3873:"2ac240bc",3885:"f87f7f15",3910:"a493ef38",3935:"09db47b3",3951:"ac8b83e0",3985:"344a3358",3987:"5cecd51b",4014:"27a8e97c",4017:"27999042",4030:"036509c9",4056:"e41d8d4c",4058:"733be6bb",4078:"1e5a7be1",4088:"236723f3",4093:"69fc1327",4105:"0eb16164",4144:"2f36885d",4164:"f2badd74",4216:"86a46222",4217:"e295ab16",4227:"ffd89923",4259:"1f6ddc3d",4264:"8f5f3beb",4347:"08ede17f",4354:"140899b7",4360:"cf5efa52",4449:"2b366f77",4492:"3e6b693e",4496:"ebe6f143",4498:"93872bbc",4504:"7fdbb905",4514:"9465c290",4520:"b47db8cb",4546:"2edc501c",4565:"7fc1f44d",4572:"02d8c14b",4599:"61def4cb",4601:"853e5640",4610:"053487e1",4611:"fbdfc8a7",4621:"32278f67",4628:"ece2c60c",4662:"aa56a846",4685:"c33f1528",4715:"dc437849",4733:"54a1e7a0",4736:"a503a60e",4741:"fafb4021",4757:"41cc1db2",4762:"b009b098",4766:"02d2a4bb",4770:"d00a862e",4790:"619413e4",4795:"92048833",4797:"a24e92db",4800:"6fc40d35",4849:"f3e4015a",4850:"1edda4b7",4862:"765e93b9",4884:"44fcfde6",4889:"b8feca18",4900:"b5d89446",4928:"07ec9a3c",4973:"ed15835e",4994:"b544e416",5022:"a11200e7",5043:"f20ccf23",5048:"b532364a",5060:"85dafcc6",5096:"cedc9207",5111:"316d1386",5125:"a1d13405",5148:"eb48b8e5",5176:"3d8422b7",5179:"4584b9ee",5186:"d02a18a3",5191:"d30085b3",5238:"3d83ace5",5290:"5dabcdc2",5297:"3998b9d2",5319:"c02f4374",5321:"1163c84e",5335:"999f2773",5354:"7ae70604",5357:"7d66d12c",5359:"8df32532",5382:"cf22b87b",5402:"a6c74264",5416:"454536b7",5434:"38b302a6",5470:"2b73f7ea",5494:"d89549c4",5518:"cc181b27",5549:"2874833a",5572:"f3295ca6",5573:"646c8494",5599:"0f51d021",5624:"da0c9234",5631:"e00d3d36",5650:"1bdf551c",5679:"4a090bef",5705:"b3825926",5729:"61b02d3c",5764:"e0d7e586",5775:"71939544",5786:"c54ac85d",5798:"a2356364",5816:"3ed5c316",5825:"c80ebbce",5855:"8594ce9c",5876:"5eded409",5888:"2ac6b17c",5891:"98b7c334",5895:"9ce67d45",5902:"9f7737cc",5915:"9bc76553",5931:"caccee0e",5992:"6641b1ca",6029:"d9a58a96",6034:"67b85f30",6045:"d268f87f",6047:"3ce45acd",6052:"ef3d0361",6063:"1e348829",6069:"2c0dba4c",6076:"a037e7a3",6126:"99519171",6127:"bf5fb9f5",6170:"ba8df8d7",6265:"37c75bf9",6270:"39e422c8",6277:"f8eecaff",6328:"e74b78b3",6366:"5c45af01",6378:"7f3a946a",6411:"3ab53c02",6434:"7b190796",6444:"eebcf1d1",6452:"60c4681f",6531:"bde1c8f7",6541:"64450bb7",6583:"50810610",6587:"701049d3",6634:"a6728892",6651:"0ddd43ca",6685:"80cd7cdd",6729:"7894b4d1",6741:"dc638339",6758:"e3ba5ca2",6774:"59d4d618",6784:"2972341a",6788:"1184cc94",6796:"59e9c040",6805:"bd51c9c1",6820:"6d693552",6845:"cb1fbdff",6882:"cd04380b",6883:"dee73d98",6904:"f0883136",6913:"20a90da9",6949:"ee5870d5",6963:"eeec9fba",6982:"1455a668",7008:"ad82c087",7043:"7392b77d",7045:"b356f2d0",7046:"c2841bb6",7058:"3bff7dee",7062:"81641678",7084:"46ccce72",7156:"e7466006",7178:"c1a4d277",7182:"9f1506ed",7242:"6f1e9512",7260:"5d07310d",7331:"2e27a23b",7333:"b8a23e2b",7365:"1005464f",7374:"b2456c08",7395:"c6b6613c",7460:"31daa51a",7477:"45e43d8c",7482:"ef7d20f2",7527:"452fe09e",7545:"7749fa51",7560:"d5a437db",7589:"168bffe7",7591:"c8233ce9",7614:"f97e8fca",7622:"a8366a21",7686:"4fcec9f9",7706:"c2a79e40",7806:"aa05f908",7852:"d9521397",7855:"81a8b9c9",7857:"625d6f29",7878:"a0541b34",7884:"67244d00",7922:"f7dbc7f7",7964:"29aed9a1",8014:"198e75dd",8062:"76c294f9",8072:"4389f857",8077:"1ad12317",8085:"db312f55",8089:"d536b13a",8143:"ce7e9027",8155:"78e365b0",8161:"83c5fa9a",8237:"267bc0cf",8241:"24747b54",8302:"e1725079",8307:"d275f059",8340:"68d76bb1",8350:"07df8a75",8398:"96e54cea",8431:"f0a205df",8435:"0951bff1",8447:"380ac320",8517:"b277ae9c",8561:"333e8ec9",8563:"0416a4bf",8634:"4a88dac2",8639:"d77439de",8665:"9fdd7a5e",8688:"5c6dce57",8689:"b18f6859",8723:"f14351da",8737:"ce7dad23",8776:"0ad26240",8782:"3164c31f",8787:"6c8bc741",8797:"ef40b076",8823:"6ad1c71e",8827:"e5e31afa",8842:"9f25a3e2",8866:"b1c758b6",8882:"800d905b",8885:"0b66e02e",8898:"d002bcd8",8909:"075f46a7",8911:"35bde880",8920:"7f82440c",8963:"790aecdd",8982:"f1b55aee",8999:"69a48333",9076:"f5a17106",9104:"bbcb2345",9133:"2137ef3c",9205:"61005181",9215:"196dc4cd",9252:"0d791a59",9260:"cf5f8140",9271:"6b490a56",9332:"54ec98a9",9345:"444bc178",9360:"8ce73ff3",9366:"d229268d",9391:"7d8901a5",9404:"9fcc3d3e",9408:"31521818",9416:"29993edc",9487:"043b2ef8",9489:"728dbd49",9507:"47913470",9554:"ed358e7b",9559:"f794af19",9590:"ecb5a6da",9647:"c11af213",9649:"78a86deb",9674:"7017c8cc",9677:"5956d1bb",9695:"1c93546b",9715:"a15d4862",9716:"746fc8ce",9785:"d911aa4e",9788:"aa1e175e",9883:"2e3b3113",9890:"0dd719fb",9891:"f6de55d9",9895:"b8e31ff2",9921:"e48454b5",9922:"7e1733a4",9928:"5989f5e0",9944:"a3721c9c",9950:"74f6dfb2",9968:"17466785"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"37caba8b",67:"f7d4531e",109:"b9c23c40",195:"a428ab97",264:"5fd9b3fc",265:"d92c6f86",292:"d1b5e447",310:"5aef2d3a",337:"42106e18",342:"cf60ece5",479:"eecd68ba",485:"d63578fe",508:"a33ee1fd",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"8bf77b42",643:"0de52106",680:"e67e9e01",700:"0c10ce4d",737:"72eaccaa",799:"07246e8a",869:"4a5372a2",895:"ce8634e8",921:"b09f4288",928:"c6a8d38a",1006:"b9d07e6a",1043:"e8c0878b",1045:"ae10663c",1048:"c6c344e1",1070:"e67e9e01",1148:"754fff63",1211:"78863e5a",1253:"46aca33c",1257:"a56735e8",1265:"e23cc4a2",1276:"bbc6eeec",1343:"b7f33c89",1416:"735363dc",1423:"8a892e8a",1427:"f91322f7",1450:"97250446",1461:"1745934f",1470:"afcb0f79",1475:"d22fbaa0",1482:"25ffddc9",1512:"f3653a35",1520:"f7300d0e",1545:"06b540b8",1578:"7f4970e8",1581:"13815a71",1582:"838a0ef1",1657:"2575f23c",1674:"fdbc1e05",1702:"c68efb85",1713:"2d8d66d4",1717:"4630e95a",1727:"de83767d",1783:"47d0320e",1810:"03cdfb68",1831:"8d05bf11",1836:"5f0d3f7f",1855:"d782a698",1880:"f67d7892",1939:"48e30d48",1953:"02d7a645",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"bfe9c867",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"419e8cab",2303:"eb945f5f",2307:"b2c54321",2338:"acf4df99",2339:"6a610b14",2396:"8d2f98b7",2404:"94b1e0ac",2412:"b297b168",2425:"5f4fa40f",2443:"0b7370c9",2476:"cf85a190",2501:"2441982c",2529:"0d98d328",2539:"1d8aca24",2548:"75182034",2570:"5171e5c0",2603:"c6a8d38a",2659:"f6071a36",2707:"cabcb16e",2806:"fcaaf3d8",2819:"32083596",2823:"a13b21fb",2826:"0b6be43b",2829:"b9ad7ac4",2865:"6ef3cf6b",2875:"d6c8355d",2884:"c5bee69f",2983:"c8c482f7",3006:"7fce4e74",3141:"dd6cafec",3157:"88fc9ba0",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"3b28d50a",3260:"3dfb3424",3282:"26197f40",3317:"ca659cf0",3332:"3703cba2",3355:"39e3d07c",3356:"c6a4098f",3391:"89554b70",3433:"e1590a0b",3442:"e7509c82",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"25565b50",3585:"5f288e7b",3665:"f92ac422",3668:"d9f733e7",3747:"b02afc6b",3784:"c81d4a51",3873:"4b478424",3910:"658d457f",3935:"2eaea598",3951:"3f8b17f2",4030:"62612566",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"b08d4603",4144:"f10aa199",4164:"d16ebc23",4216:"c6a8d38a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"8d7bc0df",4449:"e68d8d58",4492:"584c0f06",4496:"15531849",4498:"67de2429",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"651938ce",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"559944d0",4715:"a73cc221",4736:"2968553b",4741:"bf469302",4757:"73b754d2",4766:"b5df5a8e",4770:"2ad0c1f9",4795:"0158719e",4800:"f50302a4",4849:"19e45ca3",4862:"d31cef66",4884:"bd293d3b",4889:"ddb6d0f9",4928:"b4ef3690",4973:"129c56e8",4994:"209581fa",5022:"81b1b86b",5043:"5faf1e2a",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"c519172e",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"86692bca",5297:"3a2685a1",5319:"945d1dd0",5335:"fec6fd9f",5357:"1fbb7d24",5359:"f608d447",5382:"2e9595b8",5402:"166c0400",5470:"f9f86e99",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"47668177",5650:"f8f63f4b",5705:"df6bf207",5729:"bd5eb487",5775:"f99db9ab",5786:"37a81eaa",5798:"ce1cf7da",5816:"df7b50cb",5825:"7e5f517b",5888:"1c5d8bad",5891:"3b7a128f",5895:"9ddd624a",5902:"d59edd35",5915:"bc9c3e69",5992:"e84da226",6029:"2ded5a5a",6052:"2fbc571d",6063:"a5f0409a",6069:"3ca528d4",6127:"f31505a8",6265:"778207a2",6270:"f3ba07ae",6277:"42f18e8c",6328:"1d366bbd",6366:"079fc2d8",6434:"0112f8db",6444:"bb471f47",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"fe524f32",6651:"b07fe216",6685:"f5f5b969",6729:"95c35d21",6741:"b838eb14",6758:"5608282e",6784:"1affe817",6788:"f9d7d0d7",6796:"14d05697",6805:"5b253c81",6820:"b05b7ced",6845:"1156a600",6882:"c2d2eada",6883:"7740a702",6904:"6503aa6b",6913:"51ddad41",6963:"84e145fa",6982:"3043a9c3",7008:"684637d4",7043:"da223bd7",7045:"80f45a41",7046:"c7301ded",7058:"e5da97d0",7062:"780c6ff6",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"a721a86d",7477:"66ecedaa",7482:"3a11c394",7527:"2f29a699",7545:"d8302013",7560:"d82e43ca",7589:"2a3e68f3",7614:"8e370373",7622:"2b7c8080",7806:"bd9accb9",7852:"91ea42af",7855:"6f036cf6",7857:"b0b4381d",7878:"8dfa25f5",7884:"47e0a5df",7922:"c1d9e2f3",8014:"9ef39203",8062:"8e384b9f",8072:"f3b6deb4",8077:"0b2c51d9",8085:"e1d982a1",8143:"7e86b55b",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"ecb314e7",8431:"92e46234",8435:"21d4dff0",8447:"9969522e",8517:"c6045f83",8563:"60f0a98e",8634:"317d0a2b",8665:"c52575bc",8688:"f98a445e",8689:"459af240",8723:"e4607fbb",8782:"918afc23",8787:"121de108",8797:"5e61c8a7",8823:"2a396857",8827:"15044628",8866:"da63c71f",8882:"04e458aa",8885:"de905169",8982:"8954ff41",8999:"a4844184",9076:"6a501148",9133:"03f6f6d3",9205:"1e43ebcb",9215:"f737e7e7",9332:"86dbe447",9360:"27c7d4f7",9366:"3f6c2582",9391:"473c2453",9404:"d8cf04f7",9408:"d3565b1a",9416:"40d09536",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9590:"29583579",9647:"3c89dab6",9649:"5e708a2c",9674:"09dd4aac",9677:"2583ec16",9695:"d365ea46",9715:"b8b1b7fe",9716:"d7a969b5",9785:"edbde9e9",9788:"4459d92d",9890:"d1e2bf36",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,d){return Object.prototype.hasOwnProperty.call(i,d)}}(),function(){var i={};__webpack_require__.l=function(d,e,t,r){if(i[d]){i[d].push(e);return}var n,o;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;un?g?(P=Date.now(),a||(h=setTimeout(b?R:M,n))):M():a!==!0&&(h=setTimeout(b?R:M,b===void 0?n-L:n))}return C.cancel=I,C}function r(n,o,s){var u=s||{},c=u.atBegin,a=c===void 0?!1:c;return t(n,o,{debounceMode:a!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var d=__webpack_module_cache__[i];if(d!==void 0)return d.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var d=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(d,{a:d}),d}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};d=d||[null,i({}),i([]),i(i)];for(var o=t&2&&e;typeof o=="object"&&!~d.indexOf(o);o=i(o))Object.getOwnPropertyNames(o).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,d){for(var e in d)__webpack_require__.o(d,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:d[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(d,e){return __webpack_require__.f[e](i,d),d},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"a3177e3c",67:"0356bd2f",75:"d110ce09",109:"3eb0c066",129:"265c499b",195:"7c0dffd8",264:"a83f6a9c",265:"fde5290b",292:"160bf11c",310:"7de73459",316:"1f60ada6",337:"1648a11e",342:"05289d89",354:"d4d139cf",479:"1762136d",485:"2d67fcb8",508:"10ac5849",532:"974eeab4",533:"126a54b8",547:"e2501473",556:"3cc0dffe",559:"01fd1001",576:"e9dfdbde",629:"44a1d9a5",643:"d3f666e5",671:"4a609b8d",680:"fe8262db",684:"f58e9f6e",700:"c99b2737",737:"da8288c7",741:"ac5fd360",799:"8ab156b9",869:"fedc962c",895:"77f43931",921:"211dfc93",928:"774f58dd",981:"24da50c7",1006:"fe3c7c27",1043:"7a2d7297",1045:"8b77ad02",1048:"d15f2a4b",1070:"0031b28f",1144:"c90eccaf",1148:"9e0c8a49",1154:"8cb80842",1211:"bbd3872f",1253:"d5d451b7",1257:"cdf77134",1265:"efd5ef36",1274:"5f6ea65a",1276:"c0280778",1343:"c46d1c64",1416:"37434b0b",1423:"de67528e",1427:"32ec1023",1450:"31ad54ac",1461:"79328011",1462:"fcf08abc",1470:"58998a72",1475:"c191f661",1482:"64e72085",1512:"d090896b",1520:"7754c71d",1545:"1cb24bf0",1578:"b766cbe2",1581:"c87c8dde",1582:"7a15005e",1646:"e6e27b60",1657:"1080a207",1660:"2bf666df",1674:"f30d1741",1702:"346eb1df",1713:"307b9e80",1717:"d4fccbfb",1727:"c582ad50",1783:"cc7cde60",1799:"ffee29c0",1810:"bd7bcaf7",1831:"bfb61940",1836:"d99fdaf1",1855:"1e75be4c",1880:"f7815fd0",1939:"f40fe5f8",1953:"ee44c4aa",1962:"a28b3a0c",2011:"59d51f98",2045:"115acd37",2076:"3adfce7a",2102:"e4127a39",2141:"5324c310",2216:"51208019",2240:"206623b0",2249:"f4830452",2254:"60fd0cd4",2300:"bc020f4e",2303:"a7b258fe",2307:"ddd5b169",2338:"32dc4da7",2339:"3e24919f",2386:"192e235c",2396:"9dfa8a98",2404:"d7988c70",2412:"d9171829",2425:"df4f8d61",2443:"bd37d7e4",2476:"20df4c83",2494:"68080a87",2501:"44452ec2",2529:"537c1db7",2538:"de4a3723",2539:"20cd996e",2548:"0b85ce47",2570:"19f7c0f8",2594:"e87d3761",2603:"916404e5",2659:"fcc6015a",2707:"c7d9716a",2806:"b2e7aacf",2819:"80463142",2823:"ec461f76",2826:"8f9a7f30",2829:"81154d8b",2837:"54a82605",2865:"7dc31b3c",2875:"865b4d02",2884:"e08b6d90",2969:"ab3357d7",2983:"0189ba5e",3006:"b0846b08",3133:"9bf3f89c",3141:"9b72df27",3157:"d2493053",3183:"e1fbc983",3198:"8e655451",3212:"ca367816",3220:"0181f340",3247:"73fad9e9",3260:"f560bbaa",3282:"7863217e",3317:"7c749d56",3332:"80c66eae",3355:"e97d8202",3356:"a8bfef5d",3391:"9abf4faa",3433:"287dd531",3442:"a4a5e608",3447:"ea14d49c",3451:"32a489c5",3468:"4b2ec344",3496:"58b660aa",3509:"25293fc9",3550:"3dc83156",3581:"ad695f54",3585:"0cbe6c96",3665:"233c1b5d",3668:"7739cedb",3697:"481a10d9",3745:"7ce05ea2",3747:"74b26f78",3777:"d5b0f2f1",3784:"52f03d58",3805:"9dbcb95e",3862:"226a0355",3873:"2ac240bc",3885:"f87f7f15",3910:"a493ef38",3935:"09db47b3",3951:"ac8b83e0",3985:"344a3358",3987:"5cecd51b",4014:"27a8e97c",4017:"27999042",4030:"036509c9",4056:"e41d8d4c",4058:"733be6bb",4078:"1e5a7be1",4088:"236723f3",4093:"69fc1327",4105:"0eb16164",4144:"2f36885d",4164:"f2badd74",4216:"86a46222",4217:"e295ab16",4227:"ffd89923",4259:"1f6ddc3d",4264:"8f5f3beb",4347:"08ede17f",4354:"140899b7",4360:"cf5efa52",4449:"2b366f77",4492:"3e6b693e",4496:"ebe6f143",4498:"93872bbc",4504:"7fdbb905",4514:"9465c290",4520:"b47db8cb",4546:"2edc501c",4565:"7fc1f44d",4572:"02d8c14b",4599:"61def4cb",4601:"853e5640",4610:"053487e1",4611:"fbdfc8a7",4621:"32278f67",4628:"ece2c60c",4662:"aa56a846",4685:"c33f1528",4715:"dc437849",4733:"54a1e7a0",4736:"a503a60e",4741:"fafb4021",4757:"41cc1db2",4762:"b009b098",4766:"02d2a4bb",4770:"d00a862e",4790:"619413e4",4795:"92048833",4797:"a24e92db",4800:"6fc40d35",4849:"f3e4015a",4850:"1edda4b7",4862:"765e93b9",4884:"44fcfde6",4889:"b8feca18",4900:"b5d89446",4928:"07ec9a3c",4973:"ed15835e",4994:"b544e416",5022:"a11200e7",5043:"f20ccf23",5048:"b532364a",5060:"85dafcc6",5096:"cedc9207",5111:"316d1386",5125:"a1d13405",5148:"eb48b8e5",5176:"3d8422b7",5179:"4584b9ee",5186:"d02a18a3",5191:"d30085b3",5238:"3d83ace5",5290:"5dabcdc2",5297:"3998b9d2",5319:"c02f4374",5321:"1163c84e",5335:"999f2773",5354:"7ae70604",5357:"7d66d12c",5359:"8df32532",5382:"cf22b87b",5402:"a6c74264",5416:"454536b7",5434:"38b302a6",5470:"2b73f7ea",5494:"d89549c4",5518:"cc181b27",5549:"2874833a",5572:"f3295ca6",5573:"646c8494",5599:"0f51d021",5624:"da0c9234",5631:"e00d3d36",5650:"1bdf551c",5679:"4a090bef",5705:"b3825926",5729:"61b02d3c",5764:"e0d7e586",5775:"71939544",5786:"c54ac85d",5798:"a2356364",5816:"3ed5c316",5825:"c80ebbce",5855:"8594ce9c",5876:"5eded409",5888:"2ac6b17c",5891:"98b7c334",5895:"9ce67d45",5902:"9f7737cc",5915:"9bc76553",5931:"caccee0e",5992:"6641b1ca",6029:"d9a58a96",6034:"67b85f30",6045:"d268f87f",6047:"3ce45acd",6052:"ef3d0361",6063:"1e348829",6069:"2c0dba4c",6076:"a037e7a3",6126:"99519171",6127:"bf5fb9f5",6170:"ba8df8d7",6265:"37c75bf9",6270:"39e422c8",6277:"f8eecaff",6328:"e74b78b3",6366:"5c45af01",6378:"7f3a946a",6411:"3ab53c02",6434:"7b190796",6444:"eebcf1d1",6452:"60c4681f",6531:"bde1c8f7",6541:"64450bb7",6583:"50810610",6587:"701049d3",6634:"a6728892",6651:"0ddd43ca",6685:"80cd7cdd",6729:"7894b4d1",6741:"dc638339",6758:"e3ba5ca2",6774:"59d4d618",6784:"2972341a",6788:"1184cc94",6796:"59e9c040",6805:"bd51c9c1",6820:"6d693552",6845:"cb1fbdff",6882:"cd04380b",6883:"dee73d98",6904:"f0883136",6913:"20a90da9",6949:"ee5870d5",6963:"eeec9fba",6982:"1455a668",7008:"ad82c087",7043:"7392b77d",7045:"b356f2d0",7046:"c2841bb6",7058:"3bff7dee",7062:"81641678",7084:"46ccce72",7156:"e7466006",7178:"c1a4d277",7182:"9f1506ed",7242:"6f1e9512",7260:"5d07310d",7331:"2e27a23b",7333:"b8a23e2b",7365:"1005464f",7374:"b2456c08",7395:"c6b6613c",7460:"31daa51a",7477:"45e43d8c",7482:"ef7d20f2",7527:"452fe09e",7545:"7749fa51",7560:"d5a437db",7589:"168bffe7",7591:"c8233ce9",7614:"f97e8fca",7622:"a8366a21",7686:"4fcec9f9",7706:"c2a79e40",7806:"aa05f908",7852:"d9521397",7855:"81a8b9c9",7857:"625d6f29",7878:"a0541b34",7884:"67244d00",7922:"f7dbc7f7",7964:"29aed9a1",8014:"198e75dd",8062:"76c294f9",8072:"4389f857",8077:"1ad12317",8085:"db312f55",8089:"d536b13a",8143:"ce7e9027",8155:"78e365b0",8161:"83c5fa9a",8237:"267bc0cf",8241:"24747b54",8302:"e1725079",8307:"d275f059",8340:"68d76bb1",8350:"07df8a75",8398:"96e54cea",8431:"f0a205df",8435:"0951bff1",8447:"380ac320",8517:"b277ae9c",8561:"333e8ec9",8563:"0416a4bf",8634:"4a88dac2",8639:"d77439de",8665:"9fdd7a5e",8688:"5c6dce57",8689:"b18f6859",8723:"f14351da",8737:"ce7dad23",8776:"0ad26240",8782:"3164c31f",8787:"6c8bc741",8797:"ef40b076",8823:"6ad1c71e",8827:"e5e31afa",8842:"9f25a3e2",8866:"b1c758b6",8882:"800d905b",8885:"0b66e02e",8898:"d002bcd8",8909:"075f46a7",8911:"35bde880",8920:"7f82440c",8963:"790aecdd",8982:"f1b55aee",8999:"69a48333",9076:"f5a17106",9104:"bbcb2345",9133:"2137ef3c",9205:"61005181",9215:"196dc4cd",9252:"0d791a59",9260:"cf5f8140",9271:"6b490a56",9332:"54ec98a9",9345:"444bc178",9360:"8ce73ff3",9366:"d229268d",9391:"7d8901a5",9404:"9fcc3d3e",9408:"31521818",9416:"29993edc",9487:"043b2ef8",9489:"728dbd49",9507:"47913470",9554:"ed358e7b",9559:"f794af19",9590:"ecb5a6da",9647:"c11af213",9649:"78a86deb",9674:"7017c8cc",9677:"5956d1bb",9695:"1c93546b",9715:"a15d4862",9716:"746fc8ce",9785:"d911aa4e",9788:"aa1e175e",9883:"2e3b3113",9890:"0dd719fb",9891:"f6de55d9",9895:"b8e31ff2",9921:"e48454b5",9922:"7e1733a4",9928:"5989f5e0",9944:"a3721c9c",9950:"74f6dfb2",9968:"17466785"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[i]||i)+"."+{26:"37caba8b",67:"f7d4531e",109:"b9c23c40",195:"a428ab97",264:"5fd9b3fc",265:"d92c6f86",292:"d1b5e447",310:"5aef2d3a",337:"42106e18",342:"cf60ece5",479:"eecd68ba",485:"d63578fe",508:"a33ee1fd",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"8bf77b42",643:"0de52106",680:"e67e9e01",700:"0c10ce4d",737:"72eaccaa",799:"07246e8a",869:"4a5372a2",895:"ce8634e8",921:"b09f4288",928:"c6a8d38a",1006:"b9d07e6a",1043:"e8c0878b",1045:"ae10663c",1048:"c6c344e1",1070:"e67e9e01",1148:"754fff63",1211:"78863e5a",1253:"46aca33c",1257:"a56735e8",1265:"e23cc4a2",1276:"bbc6eeec",1343:"b7f33c89",1416:"735363dc",1423:"8a892e8a",1427:"f91322f7",1450:"97250446",1461:"1745934f",1470:"afcb0f79",1475:"d22fbaa0",1482:"25ffddc9",1512:"f3653a35",1520:"f7300d0e",1545:"06b540b8",1578:"7f4970e8",1581:"13815a71",1582:"838a0ef1",1657:"2575f23c",1674:"fdbc1e05",1702:"c68efb85",1713:"2d8d66d4",1717:"4630e95a",1727:"de83767d",1783:"47d0320e",1810:"03cdfb68",1831:"8d05bf11",1836:"5f0d3f7f",1855:"d782a698",1880:"f67d7892",1939:"48e30d48",1953:"02d7a645",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"bfe9c867",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"419e8cab",2303:"eb945f5f",2307:"b2c54321",2338:"acf4df99",2339:"6a610b14",2396:"8d2f98b7",2404:"94b1e0ac",2412:"b297b168",2425:"5f4fa40f",2443:"0b7370c9",2476:"cf85a190",2501:"2441982c",2529:"0d98d328",2539:"1d8aca24",2548:"75182034",2570:"5171e5c0",2603:"c6a8d38a",2659:"f6071a36",2707:"cabcb16e",2806:"fcaaf3d8",2819:"32083596",2823:"a13b21fb",2826:"0b6be43b",2829:"b9ad7ac4",2865:"6ef3cf6b",2875:"d6c8355d",2884:"c5bee69f",2983:"c8c482f7",3006:"7fce4e74",3141:"dd6cafec",3157:"88fc9ba0",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"3b28d50a",3260:"3dfb3424",3282:"26197f40",3317:"ca659cf0",3332:"3703cba2",3355:"39e3d07c",3356:"c6a4098f",3391:"89554b70",3433:"e1590a0b",3442:"e7509c82",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"25565b50",3585:"5f288e7b",3665:"f92ac422",3668:"d9f733e7",3747:"b02afc6b",3784:"c81d4a51",3873:"4b478424",3910:"658d457f",3935:"2eaea598",3951:"3f8b17f2",4030:"62612566",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"b08d4603",4144:"f10aa199",4164:"d16ebc23",4216:"c6a8d38a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"8d7bc0df",4449:"e68d8d58",4492:"584c0f06",4496:"15531849",4498:"67de2429",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"651938ce",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"559944d0",4715:"a73cc221",4736:"2968553b",4741:"bf469302",4757:"73b754d2",4766:"b5df5a8e",4770:"2ad0c1f9",4795:"0158719e",4800:"f50302a4",4849:"19e45ca3",4862:"d31cef66",4884:"bd293d3b",4889:"ddb6d0f9",4928:"b4ef3690",4973:"129c56e8",4994:"209581fa",5022:"81b1b86b",5043:"5faf1e2a",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"c519172e",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"86692bca",5297:"3a2685a1",5319:"945d1dd0",5335:"fec6fd9f",5357:"1fbb7d24",5359:"f608d447",5382:"2e9595b8",5402:"166c0400",5470:"f9f86e99",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"47668177",5650:"f8f63f4b",5705:"df6bf207",5729:"bd5eb487",5775:"f99db9ab",5786:"37a81eaa",5798:"ce1cf7da",5816:"df7b50cb",5825:"7e5f517b",5888:"1c5d8bad",5891:"3b7a128f",5895:"9ddd624a",5902:"d59edd35",5915:"bc9c3e69",5992:"e84da226",6029:"2ded5a5a",6052:"2fbc571d",6063:"a5f0409a",6069:"3ca528d4",6127:"f31505a8",6265:"778207a2",6270:"f3ba07ae",6277:"42f18e8c",6328:"1d366bbd",6366:"079fc2d8",6434:"0112f8db",6444:"bb471f47",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"fe524f32",6651:"b07fe216",6685:"f5f5b969",6729:"95c35d21",6741:"b838eb14",6758:"5608282e",6784:"1affe817",6788:"f9d7d0d7",6796:"14d05697",6805:"5b253c81",6820:"b05b7ced",6845:"1156a600",6882:"c2d2eada",6883:"7740a702",6904:"6503aa6b",6913:"51ddad41",6963:"84e145fa",6982:"3043a9c3",7008:"684637d4",7043:"da223bd7",7045:"80f45a41",7046:"c7301ded",7058:"e5da97d0",7062:"780c6ff6",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"a721a86d",7477:"66ecedaa",7482:"3a11c394",7527:"2f29a699",7545:"d8302013",7560:"d82e43ca",7589:"2a3e68f3",7614:"8e370373",7622:"2b7c8080",7806:"bd9accb9",7852:"91ea42af",7855:"6f036cf6",7857:"b0b4381d",7878:"8dfa25f5",7884:"47e0a5df",7922:"c1d9e2f3",8014:"9ef39203",8062:"8e384b9f",8072:"f3b6deb4",8077:"0b2c51d9",8085:"e1d982a1",8143:"7e86b55b",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"ecb314e7",8431:"92e46234",8435:"21d4dff0",8447:"9969522e",8517:"c6045f83",8563:"60f0a98e",8634:"317d0a2b",8665:"c52575bc",8688:"f98a445e",8689:"459af240",8723:"e4607fbb",8782:"918afc23",8787:"121de108",8797:"5e61c8a7",8823:"2a396857",8827:"15044628",8866:"da63c71f",8882:"04e458aa",8885:"de905169",8982:"8954ff41",8999:"a4844184",9076:"6a501148",9133:"03f6f6d3",9205:"1e43ebcb",9215:"f737e7e7",9332:"86dbe447",9360:"27c7d4f7",9366:"3f6c2582",9391:"473c2453",9404:"d8cf04f7",9408:"d3565b1a",9416:"40d09536",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9590:"29583579",9647:"3c89dab6",9649:"5e708a2c",9674:"09dd4aac",9677:"2583ec16",9695:"d365ea46",9715:"b8b1b7fe",9716:"d7a969b5",9785:"edbde9e9",9788:"4459d92d",9890:"d1e2bf36",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,d){return Object.prototype.hasOwnProperty.call(i,d)}}(),function(){var i={};__webpack_require__.l=function(d,e,t,r){if(i[d]){i[d].push(e);return}var n,o;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;u0&&arguments[0]!==void 0?arguments[0]:"";return Dr.endsWith("/")?Dr:"".concat(Dr,"/")}var tc=__webpack_require__(38127),Su=__webpack_require__(38329),ru=__webpack_require__(8616),nu=["content"],zi=["content"],ki=/^(http:|https:)?\/\//;function rc(Dr){return ki.test(Dr)||Dr.startsWith("/")&&!Dr.startsWith("/*")||Dr.startsWith("./")||Dr.startsWith("../")}var Bu=function(){return ie.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},au=function(Jr){var Mn,va=Jr.loaderData,Nn=Jr.htmlPageOpts,Xn=Jr.manifest,ra=(Xn==null||(Mn=Xn.assets)===null||Mn===void 0?void 0:Mn["umi.css"])||"";return ie.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(va||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Nn||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ra,"'")}})};function as(Dr){var Jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Dr=="string")return rc(Dr)?(0,Vo.Z)({src:Dr},Jr):{content:Dr};if((0,ru.Z)(Dr)==="object")return(0,Vo.Z)((0,Vo.Z)({},Dr),Jr);throw new Error("Invalid script type: ".concat((0,ru.Z)(Dr)))}function wi(Dr){return rc(Dr)?{type:"link",href:Dr}:{type:"style",content:Dr}}var al=function(Jr){var Mn,va,Nn,Xn,ra,Ya,Zn=Jr.htmlPageOpts;return ie.createElement(ie.Fragment,null,(Zn==null?void 0:Zn.title)&&ie.createElement("title",null,Zn.title),Zn==null||(Mn=Zn.favicons)===null||Mn===void 0?void 0:Mn.map(function(Qa,_s){return ie.createElement("link",{key:_s,rel:"shortcut icon",href:Qa})}),(Zn==null?void 0:Zn.description)&&ie.createElement("meta",{name:"description",content:Zn.description}),(Zn==null||(va=Zn.keywords)===null||va===void 0?void 0:va.length)&&ie.createElement("meta",{name:"keywords",content:Zn.keywords.join(",")}),Zn==null||(Nn=Zn.metas)===null||Nn===void 0?void 0:Nn.map(function(Qa){return ie.createElement("meta",{key:Qa.name,name:Qa.name,content:Qa.content})}),Zn==null||(Xn=Zn.links)===null||Xn===void 0?void 0:Xn.map(function(Qa,_s){return ie.createElement("link",(0,Su.Z)({key:_s},Qa))}),Zn==null||(ra=Zn.styles)===null||ra===void 0?void 0:ra.map(function(Qa,_s){var vs=wi(Qa),$s=vs.type,js=vs.href,cu=vs.content;if($s==="link")return ie.createElement("link",{key:_s,rel:"stylesheet",href:js});if($s==="style")return ie.createElement("style",{key:_s},cu)}),Zn==null||(Ya=Zn.headScripts)===null||Ya===void 0?void 0:Ya.map(function(Qa,_s){var vs=as(Qa),$s=vs.content,js=(0,tc.Z)(vs,nu);return ie.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:$s},key:_s},js))}))};function Nu(Dr){var Jr,Mn=Dr.children,va=Dr.loaderData,Nn=Dr.manifest,Xn=Dr.htmlPageOpts,ra=Dr.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ya=Dr.mountElementId;if(ra!=null&&ra.pureHtml)return ie.createElement("html",null,ie.createElement("head",null),ie.createElement("body",null,ie.createElement(Bu,null),ie.createElement("div",{id:Ya},Mn),ie.createElement(au,{manifest:Nn,loaderData:va,htmlPageOpts:Xn})));if(ra!=null&&ra.pureApp)return ie.createElement(ie.Fragment,null,Mn);var Zn=typeof window=="undefined"?Nn==null?void 0:Nn.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ie.createElement("html",{suppressHydrationWarning:!0,lang:(Xn==null?void 0:Xn.lang)||"en"},ie.createElement("head",null,ie.createElement("meta",{charSet:"utf-8"}),ie.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Zn&&ie.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Zn}),ie.createElement(al,{htmlPageOpts:Xn})),ie.createElement("body",null,ie.createElement(Bu,null),ie.createElement("div",{id:Ya},Mn),ie.createElement(au,{manifest:Nn,loaderData:va,htmlPageOpts:Xn}),Xn==null||(Jr=Xn.scripts)===null||Jr===void 0?void 0:Jr.map(function(Qa,_s){var vs=as(Qa),$s=vs.content,js=(0,tc.Z)(vs,zi);return ie.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:$s},key:_s},js))})))}var ou=ie.createContext(void 0);function ol(){return ie.useContext(ou)}var Pu=["redirect"];function Ds(Dr){var Jr=Dr.routesById,Mn=Dr.parentId,va=Dr.routeComponents,Nn=Dr.useStream,Xn=Nn===void 0?!0:Nn;return Object.keys(Jr).filter(function(ra){return Jr[ra].parentId===Mn}).map(function(ra){var Ya=il((0,Vo.Z)((0,Vo.Z)({route:Jr[ra],routeComponent:va[ra],loadingComponent:Dr.loadingComponent,reactRouter5Compat:Dr.reactRouter5Compat},Dr.reactRouter5Compat&&{hasChildren:Object.keys(Jr).filter(function(Qa){return Jr[Qa].parentId===ra}).length>0}),{},{useStream:Xn})),Zn=Ds({routesById:Jr,routeComponents:va,parentId:Ya.id,loadingComponent:Dr.loadingComponent,reactRouter5Compat:Dr.reactRouter5Compat,useStream:Xn});return Zn.length>0&&(Ya.children=Zn,Ya.routes=Zn),Ya})}function Cc(Dr){var Jr=(0,mi.UO)(),Mn=(0,mi.Gn)(Dr.to,Jr),va=(0,Eu.T$)(),Nn=(0,mi.TH)();if(va!=null&&va.keepQuery){var Xn=Nn.search+Nn.hash;Mn+=Xn}var ra=(0,Vo.Z)((0,Vo.Z)({},Dr),{},{to:Mn});return ie.createElement(mi.Fg,(0,Su.Z)({replace:!0},ra))}function il(Dr){var Jr=Dr.route,Mn=Dr.useStream,va=Mn===void 0?!0:Mn,Nn=Jr.redirect,Xn=(0,tc.Z)(Jr,Pu),ra=Dr.reactRouter5Compat?ac:oc;return(0,Vo.Z)({element:Nn?ie.createElement(Cc,{to:Nn}):ie.createElement(ou.Provider,{value:{route:Dr.route}},ie.createElement(ra,{loader:ie.memo(Dr.routeComponent),loadingComponent:Dr.loadingComponent||nc,hasChildren:Dr.hasChildren,useStream:va}))},Xn)}function nc(){return ie.createElement("div",null)}function ac(Dr){var Jr=ol(),Mn=Jr.route,va=(0,Eu.Ov)(),Nn=va.history,Xn=va.clientRoutes,ra=(0,mi.UO)(),Ya={params:ra,isExact:!0,path:Mn.path,url:Nn.location.pathname},Zn=Dr.loader,Qa={location:Nn.location,match:Ya,history:Nn,params:ra,route:Mn,routes:Xn};return Dr.useStream?ie.createElement(ie.Suspense,{fallback:ie.createElement(Dr.loadingComponent,null)},ie.createElement(Zn,Qa,Dr.hasChildren&&ie.createElement(mi.j3,null))):ie.createElement(Zn,Qa,Dr.hasChildren&&ie.createElement(mi.j3,null))}function oc(Dr){var Jr=Dr.loader;return Dr.useStream?ie.createElement(ie.Suspense,{fallback:ie.createElement(Dr.loadingComponent,null)},ie.createElement(Jr,null)):ie.createElement(Jr,null)}var Cu=null;function Al(){return Cu}function ic(Dr){var Jr=Dr.history,Mn=ie.useState({action:Jr.action,location:Jr.location}),va=(0,Zi.Z)(Mn,2),Nn=va[0],Xn=va[1];return(0,ie.useLayoutEffect)(function(){return Jr.listen(Xn)},[Jr]),(0,ie.useLayoutEffect)(function(){function ra(Ya){Dr.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Dr.routes,clientRoutes:Dr.clientRoutes,location:Ya.location,action:Ya.action,basename:Dr.basename,isFirst:!!Ya.isFirst}})}return ra({location:Nn.location,action:Nn.action,isFirst:!0}),Jr.listen(ra)},[Jr,Dr.routes,Dr.clientRoutes]),ie.createElement(mi.F0,{navigator:Jr,location:Nn.location,basename:Dr.basename},Dr.children)}function Wi(){var Dr=(0,Eu.Ov)(),Jr=Dr.clientRoutes;return(0,mi.V$)(Jr)}var Zu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],sc=function(Jr,Mn){var va=Jr.basename||"/",Nn=Ds({routesById:Jr.routes,routeComponents:Jr.routeComponents,loadingComponent:Jr.loadingComponent,reactRouter5Compat:Jr.reactRouter5Compat,useStream:Jr.useStream});Jr.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Nn}});for(var Xn=ie.createElement(ic,{basename:va,pluginManager:Jr.pluginManager,routes:Jr.routes,clientRoutes:Nn,history:Jr.history},Mn),ra=0,Ya=Zu;ranew Promise((va,Nn)=>{var Xn=Zn=>{try{Ya(Mn.next(Zn))}catch(Qa){Nn(Qa)}},ra=Zn=>{try{Ya(Mn.throw(Zn))}catch(Qa){Nn(Qa)}},Ya=Zn=>Zn.done?va(Zn.value):Promise.resolve(Zn.value).then(Xn,ra);Ya((Mn=Mn.apply(Dr,Jr)).next())});function y(){return m(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId/template",parentId:"100",id:"156"},157:{path:"/competitions",parentId:"1",id:"157"},158:{path:"/competitions/index",parentId:"157",id:"158"},159:{path:"/competitions/:identifier/list",parentId:"157",id:"159"},160:{path:"/competitions/exports",parentId:"157",id:"160"},161:{path:"/competitions",parentId:"157",id:"161"},162:{path:"/competitions/:identifier",parentId:"157",id:"162"},163:{path:"/competitions/index/:identifier",parentId:"157",id:"163"},164:{path:"/competitions/:identifier/detail/enroll",parentId:"157",id:"164"},165:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"157",id:"165"},166:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"157",id:"166"},167:{path:"/competitions/detail/:identifier",parentId:"157",id:"167"},168:{path:"/forums",parentId:"1",id:"168"},169:{path:"/forums",parentId:"168",id:"169"},170:{path:"/forums/categories/:memoType",parentId:"168",id:"170"},171:{path:"/forums/new",parentId:"168",id:"171"},172:{path:"/forums/:memoId/edit",parentId:"168",id:"172"},173:{path:"/forums/:memoId",parentId:"168",id:"173"},174:{path:"/problemset",parentId:"1",id:"174"},175:{path:"/problemset",parentId:"174",id:"175"},176:{path:"/problemset/newitem",parentId:"174",id:"176"},177:{path:"/problemset/:type/:id",parentId:"174",id:"177"},178:{path:"/problemset/preview",parentId:"174",id:"178"},179:{path:"/problemset/preview_new",parentId:"174",id:"179"},180:{path:"/problemset/preview_select",parentId:"174",id:"180"},181:{path:"/shixuns",parentId:"1",id:"181"},182:{path:"/shixuns",parentId:"181",id:"182"},183:{path:"/shixuns/exports",parentId:"181",id:"183"},184:{path:"/shixuns/new",parentId:"181",id:"184"},185:{path:"/shixuns/new/CreateImg",parentId:"181",id:"185"},186:{path:"/shixuns/new/:id/imagepreview",parentId:"181",id:"186"},187:{path:"/shixuns/:id/Merge",parentId:"181",id:"187"},188:{path:"/shixuns/:id/Split",parentId:"181",id:"188"},189:{path:"/shixuns/:id/edit",parentId:"181",id:"189"},190:{path:"shixuns/:id/edit/warehouse",parentId:"189",id:"190"},191:{path:"/shixuns/:id/edit/newquestion",parentId:"189",id:"191"},192:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"189",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"189",id:"193"},194:{path:"/shixuns/:id/edit/new",parentId:"189",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"189",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"189",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"189",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"189",id:"198"},199:{path:"/shixuns/:id",parentId:"181",id:"199"},200:{path:"/shixuns/:id/challenges",parentId:"199",id:"200"},201:{path:"/shixuns/:id/repository",parentId:"199",id:"201"},202:{path:"/shixuns/:id/secret_repository",parentId:"199",id:"202"},203:{path:"/shixuns/:id/collaborators",parentId:"199",id:"203"},204:{path:"/shixuns/:id/dataset",parentId:"199",id:"204"},205:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"199",id:"205"},206:{path:"/shixuns/:id/shixun_discuss",parentId:"199",id:"206"},207:{path:"/shixuns/:id/ranking_list",parentId:"199",id:"207"},208:{path:"/shixuns/:id/settings",parentId:"199",id:"208"},209:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"199",id:"209"},210:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"199",id:"210"},211:{path:"/shixuns/:id/repository/upload_file",parentId:"199",id:"211"},212:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"199",id:"212"},213:{path:"/shixuns/:id/repository/add_file",parentId:"199",id:"213"},214:{path:"/shixuns/:id/secret_repository/add_file",parentId:"199",id:"214"},215:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"199",id:"215"},216:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"199",id:"216"},217:{path:"/shixuns/:id/audit_situation",parentId:"199",id:"217"},218:{path:"/shixuns/:id/fork_list",parentId:"199",id:"218"},219:{path:"/users",parentId:"1",id:"219"},220:{path:"/users/:username/videos/protocol",parentId:"219",id:"220"},221:{path:"/users/:username/videos/resourceProtocol",parentId:"219",id:"221"},222:{path:"/users/:username/videos/success",parentId:"219",id:"222"},223:{path:"/users/:username/topicbank/:topicstype",parentId:"219",id:"223"},224:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"219",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"219",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"219",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"219",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"219",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"219",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"219",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"219",id:"231"},232:{path:"/users/:username/experiment-img/add",parentId:"219",id:"232"},233:{path:"/users/:username",parentId:"219",id:"233"},234:{path:"/users/:username",parentId:"233",id:"234"},235:{path:"/users/:username/baseInfo/edit",parentId:"233",id:"235"},236:{path:"/users/:username/baseInfo",parentId:"233",id:"236"},237:{path:"/users/:username/realNameCertification",parentId:"233",id:"237"},238:{path:"/users/:username/careerCertification",parentId:"233",id:"238"},239:{path:"/users/:username/classrooms",parentId:"233",id:"239"},240:{path:"/users/:username/shixuns",parentId:"233",id:"240"},241:{path:"/users/:username/dataSet",parentId:"233",id:"241"},242:{path:"/users/:username/userPortrait",parentId:"233",id:"242"},243:{path:"/users/:username/learningPath",parentId:"233",id:"243"},244:{path:"/users/:username/teach-group",parentId:"233",id:"244"},245:{path:"/users/:username/competitions",parentId:"233",id:"245"},246:{path:"/users/:username/experiment-img",parentId:"233",id:"246"},247:{path:"/users/:username/experiment-img/:experid/detail",parentId:"233",id:"247"},248:{path:"/users/:username/certificate",parentId:"233",id:"248"},249:{path:"/users/:username/otherResources",parentId:"233",id:"249"},250:{path:"/users/:username/paths",parentId:"233",id:"250"},251:{path:"/users/:username/projects",parentId:"233",id:"251"},252:{path:"/users/:username/videos",parentId:"233",id:"252"},253:{path:"/users/:username/videos/upload",parentId:"233",id:"253"},254:{path:"/users/:username/topics/:topicstype",parentId:"233",id:"254"},255:{path:"/users/:username/vspaces",parentId:"233",id:"255"},256:{path:"/users/:username/resourcesCenter",parentId:"233",id:"256"},257:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"233",id:"257"},258:{path:"/users/:username/resourceGuarantee",parentId:"233",id:"258"},259:{path:"/users/:username/resourceAllocation",parentId:"233",id:"259"},260:{parentId:"1",id:"260"},261:{path:"/problems",parentId:"260",id:"261"},262:{path:"/problems",parentId:"261",id:"262"},263:{path:"/problems/batchAdd",parentId:"261",id:"263"},264:{path:"/problems/newcreate",parentId:"260",id:"264"},265:{path:"/problems/newedit/:id",exact:!0,parentId:"260",id:"265"},266:{path:"/problems/:id/edit",exact:!0,parentId:"260",id:"266"},267:{path:"/problems/new",exact:!0,parentId:"260",id:"267"},268:{path:"/problems/:id/oj/:save_identifier",parentId:"260",id:"268"},269:{path:"/problems/:id/record-detail/:submitId",parentId:"260",id:"269"},270:{path:"/problems/add",parentId:"260",id:"270"},271:{path:"/problems/:id/ojedit",parentId:"260",id:"271"},272:{path:"/engineering",parentId:"1",id:"272"},273:{path:"/engineering",parentId:"272",id:"273"},274:{path:"/engineering/teacherList",parentId:"273",id:"274"},275:{path:"/engineering/studentList",parentId:"273",id:"275"},276:{path:"/engineering/training/program",parentId:"273",id:"276"},277:{path:"/engineering/training/program/add",parentId:"273",id:"277"},278:{path:"/engineering/training/program/edit",parentId:"273",id:"278"},279:{path:"/engineering/training/objectives",parentId:"273",id:"279"},280:{path:"/engineering/graduated/index",parentId:"273",id:"280"},281:{path:"/engineering/graduated/matrix",parentId:"273",id:"281"},282:{path:"/engineering/course/list",parentId:"273",id:"282"},283:{path:"/engineering/course/setting",parentId:"273",id:"283"},284:{path:"/engineering/course/matrix",parentId:"273",id:"284"},285:{path:"/engineering/navigation",parentId:"273",id:"285"},286:{path:"/engineering/evaluate/course",parentId:"273",id:"286"},287:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"273",id:"287"},288:{path:"/engineering/evaluate/norm",parentId:"273",id:"288"},289:{path:"/engineering/evaluate/document",parentId:"273",id:"289"},290:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"273",id:"290"},291:{path:"/engineering/*",redirect:"/404",parentId:"273",id:"291"},292:{path:"/innovation",parentId:"1",id:"292"},293:{path:"/innovation/tasks/:taskId",parentId:"292",id:"293"},294:{path:"/innovation",parentId:"292",id:"294"},295:{path:"/innovation/project",parentId:"294",id:"295"},296:{path:"/innovation/dataset",parentId:"294",id:"296"},297:{path:"/innovation/mirror",parentId:"294",id:"297"},298:{path:"/innovation/my-project",parentId:"294",id:"298"},299:{path:"/innovation/my-dataset",parentId:"294",id:"299"},300:{path:"/innovation/my-mirror",parentId:"294",id:"300"},301:{path:"/innovation/project/create",parentId:"294",id:"301"},302:{path:"/innovation/project/edit/:id",parentId:"294",id:"302"},303:{path:"/innovation/project/detail/:taskId",parentId:"294",id:"303"},304:{path:"/tasks",parentId:"1",id:"304"},305:{path:"/tasks/:taskId",exact:!0,parentId:"304",id:"305"},306:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"304",id:"306"},307:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"304",id:"307"},308:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"304",id:"308"},309:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"304",id:"309"},310:{path:"/myproblems",parentId:"1",id:"310"},311:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"310",id:"311"},312:{path:"/myproblems/:id",exact:!0,parentId:"310",id:"312"},313:{path:"/account",parentId:"1",id:"313"},314:{path:"/account",parentId:"313",id:"314"},315:{path:"/account/profile",parentId:"314",id:"315"},316:{path:"/account/profile/edit",parentId:"314",id:"316"},317:{path:"/account/certification",parentId:"314",id:"317"},318:{path:"/account/secure",parentId:"314",id:"318"},319:{path:"/account/binding",parentId:"314",id:"319"},320:{path:"/account/Results",parentId:"314",id:"320"},321:{path:"/ch",parentId:"1",id:"321"},322:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"321",id:"322"},323:{path:"/ch/rest/",exact:!0,parentId:"321",id:"323"},324:{path:"/ch/rest/:id",exact:!0,parentId:"321",id:"324"},325:{path:"/order",parentId:"1",id:"325"},326:{path:"/order",parentId:"325",id:"326"},327:{path:"/order/invoice",parentId:"325",id:"327"},328:{path:"/order/records",parentId:"325",id:"328"},329:{path:"/order/apply",parentId:"325",id:"329"},330:{path:"/order/view",parentId:"325",id:"330"},331:{path:"/order/:courseId/information",parentId:"325",id:"331"},332:{path:"/order/:courseId/pay",parentId:"325",id:"332"},333:{path:"/order/:orderNum/result",parentId:"325",id:"333"},334:{path:"/messages",parentId:"1",id:"334"},335:{path:"/messages/:userId/user_tidings",parentId:"334",id:"335"},336:{path:"/messages/:userId/private_messages",parentId:"334",id:"336"},337:{path:"/messages/:userId/message_detail",parentId:"334",id:"337"},338:{path:"/vtrs",parentId:"1",id:"338"},339:{path:"/vtrs/:virtual_spacesId",parentId:"338",id:"339"},340:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"339",id:"340"},341:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"339",id:"341"},342:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"339",id:"342"},343:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"339",id:"343"},344:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"339",id:"344"},345:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"339",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"339",id:"346"},347:{path:"/vtrs/:virtual_spacesId/survey",parentId:"339",id:"347"},348:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"339",id:"348"},349:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"339",id:"349"},350:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"339",id:"350"},351:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"339",id:"351"},352:{path:"/vtrs/:virtual_spacesId/material",parentId:"339",id:"352"},353:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"339",id:"353"},354:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"339",id:"354"},355:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"339",id:"355"},356:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"339",id:"356"},357:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"339",id:"357"},358:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"339",id:"358"},359:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"339",id:"359"},360:{path:"/vtrs/:virtual_spacesId/settings",parentId:"339",id:"360"},361:{path:"/vtrs/:virtual_spacesId/resources",parentId:"339",id:"361"},362:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"339",id:"362"},363:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"339",id:"363"},364:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"339",id:"364"},365:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"339",id:"365"},366:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"339",id:"366"},367:{path:"/vtrs/:virtual_spacesId/*",parentId:"339",id:"367"},368:{path:"/101",parentId:"1",id:"368"},369:{path:"/101/:virtual_spacesId",parentId:"368",id:"369"},370:{path:"/101/:virtual_spacesId",exact:!0,parentId:"369",id:"370"},371:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"369",id:"371"},372:{path:"/101/:virtual_spacesId/experiment",parentId:"369",id:"372"},373:{path:"/101/:virtual_spacesId/announcement",parentId:"369",id:"373"},374:{path:"/101/:virtual_spacesId/announcement/add",parentId:"369",id:"374"},375:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"369",id:"375"},376:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"369",id:"376"},377:{path:"/101/:virtual_spacesId/survey",parentId:"369",id:"377"},378:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"369",id:"378"},379:{path:"/101/:virtual_spacesId/knowledge",parentId:"369",id:"379"},380:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"369",id:"380"},381:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"369",id:"381"},382:{path:"/101/:virtual_spacesId/material",parentId:"369",id:"382"},383:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"369",id:"383"},384:{path:"/101/:virtual_spacesId/lesson",parentId:"369",id:"384"},385:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"369",id:"385"},386:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"369",id:"386"},387:{path:"/101/:virtual_spacesId/discussion",parentId:"369",id:"387"},388:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"369",id:"388"},389:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"369",id:"389"},390:{path:"/101/:virtual_spacesId/settings",parentId:"369",id:"390"},391:{path:"/101/:virtual_spacesId/resources",parentId:"369",id:"391"},392:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"369",id:"392"},393:{path:"/101/:virtual_spacesId/Plan",parentId:"369",id:"393"},394:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"369",id:"394"},395:{path:"/101/:virtual_spacesId/digtal",parentId:"369",id:"395"},396:{path:"/101/:virtual_spacesId/homepage",parentId:"369",id:"396"},397:{path:"/101/:virtual_spacesId/*",parentId:"369",id:"397"},398:{path:"/administration",parentId:"1",id:"398"},399:{path:"/administration",parentId:"398",id:"399"},400:{path:"/administration/college",parentId:"399",id:"400"},401:{path:"/administration/student",parentId:"399",id:"401"},402:{path:"/administration/student/:studentId/edit",parentId:"399",id:"402"},403:{path:"/administration/profession",parentId:"399",id:"403"},404:{path:"/graduations",parentId:"1",id:"404"},405:{path:"/graduations",exact:!0,parentId:"404",id:"405"},406:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"404",id:"406"},407:{path:"/graduations/:id",parentId:"404",id:"407"},408:{path:"/graduations/:id/index",parentId:"407",id:"408"},409:{path:"/graduations/:id/topics",parentId:"407",id:"409"},410:{path:"/graduations/:id/student_selection",parentId:"407",id:"410"},411:{path:"/graduations/:id/tasks",parentId:"407",id:"411"},412:{path:"/graduations/:id/opening_report",parentId:"407",id:"412"},413:{path:"/graduations/:id/midterm_report",parentId:"407",id:"413"},414:{path:"/graduations/:id/thesis",parentId:"407",id:"414"},415:{path:"/graduations/:id/final_defense",parentId:"407",id:"415"},416:{path:"/graduations/:id/final_thesis",parentId:"407",id:"416"},417:{path:"/graduations/:id/settings",parentId:"407",id:"417"},418:{path:"/graduations/:id/teachers",parentId:"407",id:"418"},419:{path:"/graduations/:id/students",parentId:"407",id:"419"},420:{path:"/graduations/:id/archives",parentId:"407",id:"420"},421:{path:"/graduations/:id/grading_summary",parentId:"407",id:"421"},422:{path:"/dataset",parentId:"1",id:"422"},423:{path:"/dataset",exact:!0,parentId:"422",id:"423"},424:{path:"/dataset/:id/detail",exact:!0,parentId:"422",id:"424"},425:{path:"/knowledgegraph",parentId:"1",id:"425"},426:{path:"/knowledgegraph/:pathId",parentId:"425",id:"426"},427:{path:"/knowledgegraph/:pathId/statistics",parentId:"425",id:"427"},428:{path:"/educoder-demo",exact:!0,parentId:"1",id:"428"},429:{path:"/training",parentId:"1",id:"429"},430:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"429",id:"430"},431:{path:"/largeScreen",exact:!0,parentId:"1",id:"431"},432:{path:"/quality",parentId:"1",id:"432"},433:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"432",id:"433"},434:{path:"/otherlogin",exact:!0,parentId:"1",id:"434"},435:{path:"/otherloginqq",exact:!0,parentId:"1",id:"435"},436:{path:"/otherloginstart",exact:!0,parentId:"1",id:"436"},437:{path:"/pathsoverview",exact:!0,parentId:"1",id:"437"},438:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"438"},439:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"439"},440:{path:"/login",parentId:"1",id:"440"},441:{path:"/login",parentId:"440",id:"441"},442:{path:"/user",parentId:"1",id:"442"},443:{path:"/user/login",parentId:"442",id:"443"},444:{path:"/user/register",parentId:"442",id:"444"},445:{path:"/user/reset-password",parentId:"442",id:"445"},446:{path:"/colleges",parentId:"1",id:"446"},447:{path:"/colleges/:id/statistics",parentId:"446",id:"447"},448:{path:"/help",parentId:"1",id:"448"},449:{path:"/help/:id",parentId:"448",id:"449"},450:{path:"/video",parentId:"1",id:"450"},451:{path:"/video/:videoId",parentId:"450",id:"451"},452:{path:"/terminal",parentId:"1",id:"452"},453:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"453"},454:{path:"/",parentId:"1",id:"454"},455:{path:"/",exact:!0,parentId:"454",id:"455"},456:{path:"/api/*",exact:!0,parentId:"454",id:"456"},457:{path:"/search",exact:!0,parentId:"454",id:"457"},458:{path:"/moop_cases",exact:!0,parentId:"454",id:"458"},459:{path:"/moop_cases/new",exact:!0,parentId:"454",id:"459"},460:{path:"/moop_cases/:caseId",exact:!0,parentId:"454",id:"460"},461:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"454",id:"461"},462:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"454",id:"462"},463:{path:"/randompaper",exact:!0,parentId:"454",id:"463"},464:{path:"/randompaper/edit/:id",exact:!0,parentId:"454",id:"464"},465:{path:"/randompaper/detail/:id",exact:!0,parentId:"454",id:"465"},466:{path:"/403",parentId:"454",id:"466"},467:{path:"/500",parentId:"454",id:"467"},468:{path:"/404",parentId:"454",id:"468"},469:{path:"/download",parentId:"454",id:"469"},470:{path:"/iwce",parentId:"454",id:"470"},471:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"454",id:"471"},472:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"454",id:"472"},473:{path:"/Activities",parentId:"454",id:"473"},474:{path:"/iwce/:itemname",parentId:"454",id:"474"},475:{path:"/hpc-course",parentId:"454",id:"475"},476:{path:"/user_agents",parentId:"454",id:"476"},477:{path:"/three",parentId:"454",id:"477"},478:{path:"/introduction",parentId:"454",id:"478"},479:{path:"/chatgpt",parentId:"454",id:"479"},480:{path:"/*",parentId:"454",id:"480"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ie.lazy(()=>__webpack_require__.e(9883).then(__webpack_require__.bind(__webpack_require__,29883))),2:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),3:ie.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,72919))),4:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,9177))),5:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,9177))),6:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3247)]).then(__webpack_require__.bind(__webpack_require__,26443))),7:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(129),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,43794))),8:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(129),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,48635))),9:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),10:ie.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,28702))),11:ie.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,45220))),12:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,14688))),13:ie.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,81490))),14:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(6076),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,97237))),15:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,63401))),16:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,14688))),17:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(129),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,43794))),18:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(129),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,43794))),19:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),20:ie.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,65925))),21:ie.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,42409))),22:ie.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,59714))),23:ie.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,65925))),24:ie.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,76216))),25:ie.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,76216))),26:ie.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,55460))),27:ie.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,55460))),28:ie.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,48399))),29:ie.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,88166))),30:ie.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,28113))),31:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(5931),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,94465))),32:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,76518))),33:ie.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,15398))),34:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,81045))),35:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,74371))),36:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,30181))),37:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,28716))),38:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,96324))),39:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,26301))),40:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,94870))),41:ie.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,97666))),42:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(684),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,68474))),43:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(129),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,43794))),44:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(4733),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,66378))),45:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(4733),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,47651))),46:ie.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,47993))),47:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,4926))),48:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,80440))),49:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,83418))),50:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,83418))),51:ie.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,73896))),52:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(684),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,19269))),53:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(684),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,19269))),54:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8431)]).then(__webpack_require__.bind(__webpack_require__,29170))),55:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3745),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,39088))),56:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3745),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,9111))),57:ie.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,67440))),58:ie.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,67440))),59:ie.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,94357))),60:ie.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,94357))),61:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,26972))),62:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,87640))),63:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,38185))),64:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,84139))),65:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,68601))),66:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,79557))),67:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,11621))),68:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,27626))),69:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,33898))),70:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,34546))),71:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,53332))),72:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,64459))),73:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,97316))),74:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,86219))),75:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,47126))),76:ie.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,92781))),77:ie.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,42268))),78:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,34578))),79:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,8571))),80:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,91917))),81:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,69375))),82:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,30815))),83:ie.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,81490))),84:ie.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,60158))),85:ie.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,87654))),86:ie.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,76969))),87:ie.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,2935))),88:ie.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,19114))),89:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,41997))),90:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,41997))),91:ie.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,55775))),92:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,60008))),93:ie.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,49))),94:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,89166))),95:ie.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,5583))),96:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,4949))),97:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,73573))),98:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,64885))),99:ie.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,25466))),100:ie.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,28008))),101:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,12763))),102:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,12763))),103:ie.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,10634))),104:ie.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,32288))),105:ie.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,32288))),106:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,9477))),107:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,9477))),108:ie.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,48935))),109:ie.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,48935))),110:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,31817))),111:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,31817))),112:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,54516))),113:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,54516))),114:ie.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,30309))),115:ie.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,47869))),116:ie.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,8943))),117:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,97537))),118:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5931),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,97537))),119:ie.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,76207))),120:ie.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,14129))),121:ie.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,3701))),122:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,38316))),123:ie.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,75604))),124:ie.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,3256))),125:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,51287))),126:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,51287))),127:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6076),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,34937))),128:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6076),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,34937))),129:ie.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,22943))),130:ie.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,22943))),131:ie.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,96030))),132:ie.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,96030))),133:ie.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,74084))),134:ie.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,49686))),135:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,70396))),136:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,81031))),137:ie.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,43597))),138:ie.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,43597))),139:ie.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,78352))),140:ie.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23486))),141:ie.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23486))),142:ie.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,42185))),143:ie.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,42185))),144:ie.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,85923))),145:ie.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,92641))),146:ie.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,92641))),147:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,57815))),148:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,57815))),149:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,34267))),150:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,81924))),151:ie.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,37845))),152:ie.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,58692))),153:ie.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,41778))),154:ie.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,65936))),155:ie.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,19260))),156:ie.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,5859))),157:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),158:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,23052))),159:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,23052))),160:ie.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,69603))),161:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,23052))),162:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,72699))),163:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,72699))),164:ie.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,76095))),165:ie.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,66450))),166:ie.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,70375))),167:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,76083))),168:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),169:ie.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,48114))),170:ie.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,75332))),171:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,20281))),172:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,20281))),173:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,25334))),174:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),175:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(129),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,43794))),176:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,57789))),177:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,57789))),178:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1581)]).then(__webpack_require__.bind(__webpack_require__,65669))),179:ie.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,66866))),180:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(129),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,43794))),181:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),182:ie.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,20123))),183:ie.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,45771))),184:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,4560))),185:ie.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,6734))),186:ie.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,42463))),187:ie.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,749))),188:ie.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,51114))),189:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(9345),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,2785))),190:ie.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,67669))),191:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,37445))),192:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(75),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,47662))),193:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(75),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,47662))),194:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(75),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,90596))),195:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(75),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,90596))),196:ie.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,3561))),197:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,93709))),198:ie.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,55955))),199:ie.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,5297))),200:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,41922))),201:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,69444))),202:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,69444))),203:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,83337))),204:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,53266))),205:ie.lazy(()=>Promise.all([__webpack_require__.e(9345),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,32410))),206:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(3468),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,79490))),207:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,73474))),208:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,55264))),209:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,11805))),210:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,11805))),211:ie.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,12305))),212:ie.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,12305))),213:ie.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83540))),214:ie.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83540))),215:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,69444))),216:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,69444))),217:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,6615))),218:ie.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,23155))),219:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),220:ie.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,81681))),221:ie.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,60007))),222:ie.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,37665))),223:ie.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,7387))),224:ie.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,68661))),225:ie.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,68661))),226:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,96836))),227:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,4498))),228:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,58367))),229:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,35051))),230:ie.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,77008))),231:ie.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,59102))),232:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,28306))),233:ie.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,69182))),234:ie.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,27738))),235:ie.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,44227))),236:ie.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,3887))),237:ie.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,94666))),238:ie.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,94281))),239:ie.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,27738))),240:ie.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,69880))),241:ie.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,50985))),242:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,52983))),243:ie.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,866))),244:ie.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,55870))),245:ie.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,17796))),246:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4762),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,94891))),247:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4762),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,23396))),248:ie.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,28546))),249:ie.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,85503))),250:ie.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,11779))),251:ie.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,73525))),252:ie.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,97625))),253:ie.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,30105))),254:ie.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,41847))),255:ie.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,43328))),256:ie.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,39638))),257:ie.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,83219))),258:ie.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,60119))),259:ie.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,26662))),260:ie.lazy(()=>__webpack_require__.e(9883).then(__webpack_require__.bind(__webpack_require__,29883))),261:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),262:ie.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,55396))),263:ie.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,5479))),264:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4611),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,1096))),265:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4611),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,1096))),266:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4611),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,66880))),267:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4611),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,66880))),268:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,80677))),269:ie.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,61834))),270:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,36667))),271:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,36667))),272:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),273:ie.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,18087))),274:ie.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,82101))),275:ie.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,27098))),276:ie.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,12449))),277:ie.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,18955))),278:ie.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,51612))),279:ie.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,56192))),280:ie.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,76584))),281:ie.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,68173))),282:ie.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,4962))),283:ie.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,92100))),284:ie.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,51389))),285:ie.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,95083))),286:ie.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,53318))),287:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,30759))),288:ie.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,85722))),289:ie.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,89651))),290:ie.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,89243))),291:ie.lazy(()=>__webpack_require__.e(9883).then(__webpack_require__.bind(__webpack_require__,29883))),292:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),293:ie.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,19689))),294:ie.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,3074))),295:ie.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,43026))),296:ie.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,61382))),297:ie.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,41319))),298:ie.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,13232))),299:ie.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,57732))),300:ie.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,1741))),301:ie.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,75848))),302:ie.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,75848))),303:ie.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,78946))),304:ie.lazy(()=>__webpack_require__.e(9883).then(__webpack_require__.bind(__webpack_require__,29883))),305:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(3468),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,28281))),306:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,86581))),307:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(3468),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,28281))),308:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,86581))),309:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(3468),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,28281))),310:ie.lazy(()=>__webpack_require__.e(9883).then(__webpack_require__.bind(__webpack_require__,29883))),311:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,86145))),312:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,97655))),313:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),314:ie.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,15679))),315:ie.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,39752))),316:ie.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,24059))),317:ie.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,10769))),318:ie.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,20118))),319:ie.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,43751))),320:ie.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,35941))),321:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),322:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,81152))),323:ie.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,28287))),324:ie.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,28287))),325:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),326:ie.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,4034))),327:ie.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,71333))),328:ie.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,56856))),329:ie.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,70263))),330:ie.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,79178))),331:ie.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,40059))),332:ie.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,49877))),333:ie.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,95758))),334:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),335:ie.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,69453))),336:ie.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,38756))),337:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,49248))),338:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),339:ie.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,463))),340:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,49530))),341:ie.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,96482))),342:ie.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,16653))),343:ie.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,5339))),344:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,20988))),345:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,20988))),346:ie.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,89038))),347:ie.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61782))),348:ie.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,8513))),349:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,14569))),350:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,21405))),351:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,21405))),352:ie.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,339))),353:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,53470))),354:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,43524))),355:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,93691))),356:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,93691))),357:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,2682))),358:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,26193))),359:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,26193))),360:ie.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,77458))),361:ie.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,91541))),362:ie.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,98563))),363:ie.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,62041))),364:ie.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,34891))),365:ie.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,68365))),366:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,49530))),367:ie.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,16733))),368:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),369:ie.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,463))),370:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,49530))),371:ie.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,96482))),372:ie.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,16653))),373:ie.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,5339))),374:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,20988))),375:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,20988))),376:ie.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,89038))),377:ie.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61782))),378:ie.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,8513))),379:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,14569))),380:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,21405))),381:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,21405))),382:ie.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,339))),383:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,53470))),384:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,43524))),385:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,93691))),386:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,93691))),387:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,2682))),388:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,26193))),389:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,26193))),390:ie.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,77458))),391:ie.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,91541))),392:ie.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,98563))),393:ie.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,62041))),394:ie.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,34891))),395:ie.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,68365))),396:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,49530))),397:ie.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,16733))),398:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),399:ie.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,23810))),400:ie.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,6202))),401:ie.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,36605))),402:ie.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,31386))),403:ie.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,69446))),404:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),405:ie.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,46544))),406:ie.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,98851))),407:ie.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,82676))),408:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8911),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,69395))),409:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,70330))),410:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8911),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,39850))),411:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8911),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,76427))),412:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8911),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3125))),413:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8911),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3125))),414:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8911),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3125))),415:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8911),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3125))),416:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8911),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,3125))),417:ie.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,50587))),418:ie.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,23025))),419:ie.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,23025))),420:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8911),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,50964))),421:ie.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,87549))),422:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),423:ie.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,8497))),424:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,59230))),425:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),426:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,36119))),427:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,15370))),428:ie.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,34615))),429:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),430:ie.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,13190))),431:ie.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,33202))),432:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),433:ie.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,51443))),434:ie.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,26671))),435:ie.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,19039))),436:ie.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,5670))),437:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,45914))),438:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,82740))),439:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,35868))),440:ie.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,428))),441:ie.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,633))),442:ie.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,428))),443:ie.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,633))),444:ie.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,47397))),445:ie.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,31047))),446:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),447:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,76339))),448:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),449:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,14462))),450:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),451:ie.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,76428))),452:ie.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,76546))),453:ie.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,62642))),454:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(9271),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11256))),455:ie.lazy(()=>__webpack_require__.e(8866).then(__webpack_require__.bind(__webpack_require__,86175))),456:ie.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,85367))),457:ie.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,67488))),458:ie.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,60161))),459:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,84592))),460:ie.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,83916))),461:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,84592))),462:ie.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,73827))),463:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,4926))),464:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(684),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,4926))),465:ie.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,61889))),466:ie.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,13153))),467:ie.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,74039))),468:ie.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,65095))),469:ie.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,6281))),470:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,4883))),471:ie.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,65773))),472:ie.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,38316))),473:ie.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,87554))),474:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,4883))),475:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,4883))),476:ie.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,65216))),477:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,74347))),478:ie.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,39945))),479:ie.lazy(()=>Promise.all([__webpack_require__.e(5855),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,75326))),480:ie.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,65095))),"@@/global-layout":ie.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,63743)))}}})}var x=__webpack_require__(90),H=__webpack_require__(6307),ae=__webpack_require__(71418),_r=__webpack_require__(13631),br=()=>ie.createElement(ae.Z,{size:"middle",className:_r.Z.loading}),hn=__webpack_require__(42203),ln=__webpack_require__(61186),Fr=__webpack_require__.n(ln),ro=__webpack_require__(91392),Lo=__webpack_require__.n(ro),ta=__webpack_require__(34749),Uo=__webpack_require__.n(ta),ri=__webpack_require__(19277),Ou=__webpack_require__.n(ri),xo=__webpack_require__(10238),Oc=__webpack_require__.n(xo),Ic=__webpack_require__(33656),uc=__webpack_require__.n(Ic),Ac=__webpack_require__(90111),Rs=__webpack_require__.n(Ac),bn=__webpack_require__(74959),Tc=__webpack_require__.n(bn),kc=__webpack_require__(23250),la=__webpack_require__.n(kc),ao=__webpack_require__(58862),Ms=__webpack_require__.n(ao),Iu=__webpack_require__(58319),Dc=__webpack_require__.n(Iu),Tl=__webpack_require__(62053),iu=__webpack_require__.n(Tl),su=__webpack_require__(47477),ul=__webpack_require__.n(su),Rc=__webpack_require__(59717),uu=__webpack_require__.n(Rc);Fr().extend(Uo()),Fr().extend(Ou()),Fr().extend(Oc()),Fr().extend(uc()),Fr().extend(Rs()),Fr().extend(Tc()),Fr().extend(la()),Fr().extend(Ms()),Fr().extend(Dc()),Fr().extend(iu()),Fr().extend(ul()),Fr().extend(uu()),Fr().extend(Lo());var cl=Object.defineProperty,cc=Object.getOwnPropertySymbols,ll=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,Ls=(Dr,Jr,Mn)=>Jr in Dr?cl(Dr,Jr,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Dr[Jr]=Mn,Au=(Dr,Jr)=>{for(var Mn in Jr||(Jr={}))ll.call(Jr,Mn)&&Ls(Dr,Mn,Jr[Mn]);if(cc)for(var Mn of cc(Jr))Di.call(Jr,Mn)&&Ls(Dr,Mn,Jr[Mn]);return Dr},lc=(Dr,Jr,Mn)=>new Promise((va,Nn)=>{var Xn=Zn=>{try{Ya(Mn.next(Zn))}catch(Qa){Nn(Qa)}},ra=Zn=>{try{Ya(Mn.throw(Zn))}catch(Qa){Nn(Qa)}},Ya=Zn=>Zn.done?va(Zn.value):Promise.resolve(Zn.value).then(Xn,ra);Ya((Mn=Mn.apply(Dr,Jr)).next())});const Hi="https://www-cdn.educoder.net/",dc=!1;function Tu(){return lc(this,null,function*(){const Dr=(0,x.gD)(),{routes:Jr,routeComponents:Mn}=yield y(Dr);yield Dr.applyPlugins({key:"patchRoutes",type:hn.ApplyPluginsType.event,args:{routes:Jr,routeComponents:Mn}});const va=Dr.applyPlugins({key:"modifyContextOpts",type:hn.ApplyPluginsType.modify,initialValue:{}}),Nn=va.basename||"/",Xn=va.historyType||"browser",ra=(0,H.fi)(Au({type:Xn,basename:Nn},va.historyOpts));return Dr.applyPlugins({key:"render",type:hn.ApplyPluginsType.compose,initialValue(){const Ya={useStream:!0,routes:Jr,routeComponents:Mn,pluginManager:Dr,mountElementId:"root",rootElement:va.rootElement||document.getElementById("root"),loadingComponent:br,publicPath:Hi,runtimePublicPath:dc,history:ra,historyType:Xn,basename:Nn,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:va.callback},Zn=Dr.applyPlugins({key:"modifyClientRenderOpts",type:hn.ApplyPluginsType.modify,initialValue:Ya});return sl(Zn)}})()})}Tu(),typeof window!="undefined"&&(window.g_umi={version:"4.4.4"})})()})();