mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
535 lines
2.1 MiB
535 lines
2.1 MiB
(function(_){function M(e){for(var t=e[0],r=e[1],o,a,i=0,u=[];i<t.length;i++)a=t[i],Object.prototype.hasOwnProperty.call(A,a)&&A[a]&&u.push(A[a][0]),A[a]=0;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(_[o]=r[o]);for(n&&n(e);u.length;)u.shift()()}var l={},A={0:0};function C(e){return y.p+"bundle."+({}[e]||e)+".js"}function y(e){if(l[e])return l[e].exports;var t=l[e]={i:e,l:!1,exports:{}};return _[e].call(t.exports,t,t.exports,y),t.l=!0,t.exports}y.e=function(){return Promise.resolve()},y.m=_,y.c=l,y.d=function(e,t,r){y.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},y.r=function(e){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.t=function(e,t){if(t&1&&(e=y(e)),t&8||t&4&&typeof e=="object"&&e&&e.__esModule)return e;var r=Object.create(null);if(y.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),t&2&&typeof e!="string")for(var o in e)y.d(r,o,function(a){return e[a]}.bind(null,o));return r},y.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return y.d(t,"a",t),t},y.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},y.p="release/",y.oe=function(e){throw console.error(e),e};var m=window.webpackJsonp=window.webpackJsonp||[],h=m.push.bind(m);m.push=M,m=m.slice();for(var d=0;d<m.length;d++)M(m[d]);var n=h;return function(){function e(T,S){for(var I in S)T[I]=S[I];return T}function t(T,S,I){return s(T,S,I,0,t)}function r(T){if(t.absMidsById[T]&&(T=t.absMidsById[T]),!T)return t;var S=function(B,P,L){return s(B,P,L,T,t)};for(var I in t)t.hasOwnProperty(I)&&(S[I]=t[I]);return S.toUrl=function(B){return R(B,T?{mid:T}:null)},S.toAbsMid=function(B){return x(B,T?{mid:T}:null)},t.undef&&(S.undef=function(B){t.undef(B,T)}),S}function o(T){for(var S in T)t.absMids[S]=T[S],t.absMidsById[T[S]]||(t.absMidsById[T[S]]=S)}function a(T){var S=i("dojo/has",null,!1),I=S.normalize(T,function(B){return B});return I&&y(I)||void 0}function i(T,S,I,B){T=T.split("!").map(function(O){var W=O.charAt(0)===".";return W&&!S?O:x(O,S?{mid:S}:null)}).join("!");var P;if(T in t.absMids&&y.m[t.absMids[T]])if(I){var L=l[t.absMids[T]];P=L&&L.l&&(B?L:L.exports)}else P=y(t.absMids[T]);if(!P)throw new Error("Module not found: "+T);return P}function u(T){var S={i:T.i},I=t.absMidsById[T.i];return I&&(S.id=I),Object.defineProperty(S,"exports",{get:function(){return T.exports},set:function(B){T.exports=B},enumerable:!0,configurable:!0}),S}function s(T,S,I,B,P){var L={}.toString.call(T);if(L==="[object String]"){var O=I!==!1,W=i(T,B,O);if(typeof W=="object"&&W.__DOJO_WEBPACK_DEFINE_PROMISE__)throw new Error("Module not found: "+T);return W}else if(L==="[object Object]")throw new Error("Require config is not supported by WebPack");if(L==="[object Array]"){var j=[],K=S,H=[];if(T.forEach(function($){try{j.push(i($,B))}catch(G){H.push({mid:$,error:G})}}),H.length===0)K&&(p(j)?Promise.all(c(j)).then(function($){K.apply(this,f($))}.bind(this)).catch(function($){console.error($)}):K.apply(this,j));else{var V=new Error("findModules");V.src="dojo-webpack-plugin",V.info=H,P.signal("error",V)}return P}else throw new Error("Unsupported require call")}t.toUrl=R,t.toAbsMid=x,t.absMids={},t.absMidsById=[],t.async=1;function c(T){var S=(Array.isArray(T)?T:[T]).map(function(I){return I&&typeof I.then=="function"&&!I.__DOJO_WEBPACK_DEFINE_PROMISE__?{__DOJO_WEBPACK_PROMISE_VALUE__:I}:I});return Array.isArray(T)?S:S[0]}function f(T){var S=(Array.isArray(T)?T:[T]).map(function(I){return I&&I.__DOJO_WEBPACK_PROMISE_VALUE__||I});return Array.isArray(T)?S:S[0]}function p(T){return(Array.isArray(T)?T:[T]).some(function(S){return typeof S=="object"&&S.__DOJO_WEBPACK_DEFINE_PROMISE__})}function v(T,S,I,B){function P(O){return O.__DOJO_WEBPACK_DEFINE_PROMISE__=!0,O}function L(O){I&&(I.exports=B);var W=S.apply(null,O);return typeof I=="function"?I(W):W!==void 0?I.exports=W:W=I.exports,W}return p(T)?P(Promise.all(T).then(function(O){return c(L(f(O)))})):L(T)}var g=this||window;if(o({"dojo/_base/lang":0,"dojo/_base/declare":1,"mw-table/enums/StateEnum":3,"dojo/on":4,"mw-table/enums/EventEnum":5,"dojo/_base/kernel":6,"mw-data-model/rangeUtil":7,"dojo/has":8,"dojo/_base/array":9,"dojo/dom-construct":10,"dojo/dom-class":11,"dojo/dom":12,"mw-log/Log":13,"dojo/dom-style":14,"mw-tree/utils/EventEmitter":15,"mw-table/utils/Emitter":16,"dojo/aspect":17,"dojo/sniff":18,"mw-table/functional/FunctionalUtils":19,"dojo/Deferred":20,"dojo/_base/window":21,"mw-table/enums/DefaultsEnum":22,"mw-table/enums/KeyCodeEnum":23,"dojo/dom-geometry":24,"mw-table/view/TableUtils":25,"dojo/_base/config":26,"dojo/topic":27,"mw-table/enums/TableSectionEnum":28,"mw-tree/utils/KeyCodeEnum":29,"mw-table/view/utils/EventUtils":30,"mw-tree/utils/TreeUtils":31,"mw-table/treetable/utils/TreeTableUtils":32,"mw-gesture/events/Observable":33,"dojo/dom-attr":34,"dijit/registry":35,"dojo/query":36,"report/code_report/utils":37,"report/config/config":38,"dijit/_WidgetBase":39,"dojo/_base/Deferred":40,"report/code_report/message":41,"mw-table/enums/DnDEnum":42,"dojo/domReady":43,"dijit/main":44,"dojo/window":45,"dijit/_TemplatedMixin":46,"dojo/io-query":47,"mw-data-model/enums/dataStoreTypes":49,"report/code_report/Resources":50,"mw-gesture/functional/FunctionalUtils":51,"mw-gesture/util/RecognizerDataUtil":52,"dojo/mouse":54,"dojo/keys":55,"dojo/string":56,"mw-gesture/util/InputDataUtil":57,"mw-gesture/util/ActionDataUtil":58,"mw-gesture/gestures/_state/PositionTracker":59,"dojo/Evented":60,"dojo/when":61,"dojo/i18n":62,"mw-tree/view/CSSClassesEnum":63,"mw-tree/utils/Truncation":64,"mw-data-model/tree/utils/Cache":65,"mw-remote/RemoteEndPointsManager":66,"mw-utils/Utils":67,"mw-table/adaptors/AdaptorUtils":68,"mw-clipboard/enum/index":69,"mw-clipboard/DataTransfer":70,"mw-table/utils/TableUtils":71,"dojo/touch":72,"dojo/ready":73,"mw-tree/utils/ViewPortGeo":74,"mw-draganddrop/DragAndDrop":75,"mw-tree/plugins/dnd/DnDEnum":76,"put-selector/put":77,"mw-table/enums/MouseCodeEnum":78,"mw-table/parsing/table/TableConfigUtils":79,"mw-clipboard/utils/DataTransferUtils":80,"mw-table/enums/DataTestEnum":81,"mw-gesture/recognizers/RecognizerStates":82,"mw-gesture/util/GeomUtil":83,"mw-table/view/utils/DndUtils":84,"dojo/_base/connect":85,"dojo/_base/sniff":86,"dijit/_Widget":87,"dojo/json":88,"dojo/promise/all":89,"mw-tree/enums/PlatformEnum":90,"mw-data-model/utils/_arrayUtils":91,"mw-data-model/utils/rangeListFrom":92,"mw-messageservice/MessageService":93,"mw-mvm/impl/MVMConnection":94,"mw-popout/enum/StateEnum":95,"mw-table/enums/LogicalSizeEnum":96,"mw-table/treetable/enums/PlatformEnum":97,"mw-clipboard/enum/StatusEnum":98,"mw-table/enums/Flags":99,"mw-table/view/context/DnDContext":100,"mw-dialogs/controller/stopEvent":101,"report/language/lang":102,"dojo/global":103,"dojo/errors/CancelError":104,"dojo/promise/Promise":105,"dijit/a11y":106,"dojo/request/util":107,"dijit/Viewport":108,"dojo/_base/xhr":109,"mw-tree/view/DefaultsEnum":110,"mw-draganddrop/impl/HTML5DnDNativeTypes":111,"mw-draganddrop/utils/BrowserFeatureSupport":112,"mw-draganddrop/enum/DragEvents":113,"mw-data-model/On":114,"mw-data-model/enums/sortEnum":115,"mw-data-model/impl/_metaData/_MetaDataRule":116,"mw-remote/Remote":117,"mw-statemachine/statemachineimpl/Trigger":118,"mw-popout/utils/PopoutUtils":119,"mw-table/utils/RendererAndEditorUtils":120,"mw-table/enums/FieldEnum":121,"mw-table/utils/HighlightUtils":122,"mw-table/utils/CellUtils":123,"mw-table/utils/rangeInterface":124,"mw-table/treetable/enums/StateEnum":125,"mw-table/utils/ColumnUtils":126,"mw-table/adaptors/TreetableRowDnDService":127,"mw-clipboard/utils/ValidationUtils":128,"mw-table/parsing/table/HeaderConfigUtils":129,"mw-table/view/hooks/useTooltip":130,"mw-gesture/util/TimeUtils":131,"mw-gesture/util/DomUtils":132,"mw-gesture/timer/Timer":133,"mw-table/view/EditableColumnHeader":134,"report/language/cpp":135,"dojo/errors/create":137,"dijit/a11yclick":138,"dijit/focus":139,"dojo/request/default!":140,"dojo/request/xhr":140,"dojo/errors/RequestError":141,"dojo/request/watch":142,"dijit/layout/utils":143,"dojo/html":144,"dojo/parser":145,"mw-widget-api/defineWidget":146,"mw-widget-api/WidgetBase":147,"lit/lit-element/lit-element.bundled":148,"mw-draganddrop/impl/HTML5DnDListener":149,"mw-draganddrop/utils/HTML5DnDListenerUtils":150,"mw-draganddrop/impl/Avatar":151,"mw-draganddrop/utils/AvatarUtils":152,"mw-tree/enums/EventEnum":153,"mw-tree/renderers/utils/RendererUtils":154,"mw-tree/utils/TREE_NODE_STATES_ENUM":155,"mw-tree/enums/DefaultsEnum":156,"mw-data-model/tree/impl/_proxyNode":157,"mw-data-model/enums/saveEnum":158,"mw-data-model/table/impl/_criteriaUtils":159,"mw-data-model/enums/compareEnum":160,"mw-data-model/impl/_sort":161,"mw-remote/iframeproxy/IframeProxyClient":162,"mw-remote/impl/Transaction":163,"mw-remote/utils/SendMessageUtil":164,"mw-progress-indicator/enums/SizeEnum":165,"mw-progress-indicator/enums/TypeEnum":166,"dojo/store/Memory":167,"mw-messageservice/messageserviceimpl/instanceEnums":168,"mw-mvm/impl/RuntimeException":169,"mw-mvm/RunOptions":170,"mw-popout/enum/KeyCodeEnum":171,"mw-popout/enum/TriggerEnum":172,"report/code_report/Annotator":173,"mw-form/mixins/property/TextMixin":174,"mw-form/mixins/property/SizeMixin":175,"report/code_report/Coverage":176,"mw-table/enums/GridStyleEnum":177,"mw-table/treetable/enums/DefaultsEnum":178,"mw-table/controllers/navigation/CellNavigation":179,"mw-table/functional/Lens":180,"mw-table/enums/ResizeSelectionEnum":181,"mw-clipboard/utils/NavigatorServiceUtils":182,"mw-clipboard/utils/Base64StrToBlob":183,"mw-clipboard/utils/EventUtils":184,"mw-clipboard/utils/EventEmitter":185,"mw-clipboard/ClipboardCache":186,"mw-table/view/TableCell":187,"mw-gesture/events/RemovableGroup":188,"mw-gesture/recognizers/RecognizerStateUtil":189,"mw-gesture/util/Directions":190,"mw-table/utils/Throttle":191,"mw-table/view/ColumnHeader":192,"mw-table/view/hoc/withContextMenu":193,"report/code_report/Profiling":194,"CodeMirror/MW/clike":195,"dojo/Stateful":196,"dijit/_FocusMixin":197,"dijit/_Container":198,"dijit/_Contained":199,"dijit/layout/ContentPane":200,"slcoderRpt/message_dispatcher":201,"slcoderRpt/top_bar/model_navigator":202,"mw-tree/Tree":203,"mw-tree/view/TreeView":204,"mw-tree/view/TreePluginViewComponents":206,"mw-widget-api/facade/svg":207,"mw-tree/plugins/PluginEnum":208,"mw-tree/adaptors/utils/ContextMenuUtility":209,"mw-tree/plugins/dnd/DnD":210,"mw-tree/plugins/dnd/impl/DnDArchService":211,"mw-draganddrop/Context":212,"mw-draganddrop/utils/On":213,"mw-draganddrop/functional/FunctionalUtils":214,"mw-browser-utils/BrowserUtils":215,"mw-draganddrop/enum/EnumsConfig":216,"mw-log/impl/Modes":217,"mw-log/util/LogUtils":218,"mw-draganddrop/utils/PositionDetectorUtils":219,"mw-tree/view/BrowserFeatureSupport":220,"mw-tree/adaptors/DnDAdaptor":221,"mw-tree/plugins/dnd/ReorderEnum":222,"mw-tree/plugins/focus/Focus":223,"mw-tree/adaptors/SelectionAdaptor":224,"mw-tree/view/TreeBuilder":225,"mw-tree/view/TreeNodeRolesEnum":226,"mw-tree/view/useClickHandler":227,"mw-tree/utils/Highlight":228,"mw-tree/enums/RendererActionsEnum":229,"mw-tree/enums/StateEnum":230,"mw-tree/utils/ResponseEnums":231,"mw-tree/utils/ViewStateEnums":232,"mw-tree/utils/KeyboardUtils":233,"mw-tree/controller/actions/ActionEnum":234,"mw-data-model/DataStore":235,"mw-data-model/tree/_TreeDataStore":236,"mw-data-model/tree/impl/_parentNodeStore":237,"mw-data-model/tree/impl/_search":238,"mw-data-model/tree/impl/_filter":239,"mw-data-model/impl/_metaData/_MetaDataRules":240,"mw-data-model/enums/positionEnum":241,"mw-data-model/table/impl/_tableSearch":242,"mw-data-model/treeTable/impl/_treeTableParentNodeStore":243,"mw-data-model/DataModel":244,"mw-tree/editors/IconLabelEditor":245,"mw-html-utils/HtmlUtils":246,"mw-deprecation-utils/deprecation":247,"slcoderRpt/right_panel":248,"mw-progress-indicator/ProgressIndicator":249,"mw-progress-indicator/view/ViewStore":250,"mw-progress-indicator/view/ViewInterface":251,"dgrid/OnDemandList":252,"dgrid/List":253,"dgrid/util/misc":254,"dgrid/util/touch":255,"dijit/Tooltip":258,"dojo/_base/fx":259,"dijit/place":260,"dijit/BackgroundIframe":261,"mw-messageservice/messageserviceimpl/transportEnums":262,"dojox/cometd/cometd":263,"mw-mvm/impl/ConnectionData":264,"mw-popout/Popout":265,"mw-popout/impl/manager/PopoutsManager":266,"mw-popout/impl/manager/EntityManager":267,"mw-popout/impl/manager/StateManager":268,"mw-popout/enum/TypeEnum":269,"mw-ui-themes/ThemeEnum":270,"report/code_report/settings":271,"dijit/_CssStateMixin":272,"mw-form/mixins/property/IconMixin":273,"dojo/query!css2":274,"dojo/loaderProxy?loader=dojo%2Fquery&name=css2!":274,"mw-table/calc/BufferMath":275,"mw-table/renderers/enums/RendererAlignmentEnum":276,"mw-table/renderers/IconLabelRenderer":277,"mw-table/controllers/columns/ColConfigController":278,"mw-table/treetable/enums/EnumUtils":279,"mw-table/treetable/enums/EventEnum":280,"mw-table/treetable/utils/KeyboardUtils":281,"mw-table/enums/PluginEnum":282,"mw-table/functional/Monad":283,"mw-table/adaptors/RowSelectionAdaptor":284,"mw-table/plugins/headers/RowHeaders":285,"mw-clipboard/utils/MimeTypeToFileName":286,"mw-clipboard/enum/MimeTypes":287,"mw-clipboard/utils/Trigger":288,"mw-table/controllers/navigation/KeyController":289,"mw-table/enums/RenderTypeEnum":290,"mw-table/view/RendererComponent":291,"mw-table/view/EditorComponent":292,"mw-table/view/hoc/withEditor":293,"mw-table/renderers/DefaultRenderer":294,"mw-gesture/util/PointerUtil":295,"mw-gesture/util/PointerProperties":296,"mw-gesture/input/PointerInputUtil":297,"mw-gesture/gestures/_state/TapCount":298,"mw-table/view/HeaderRow":299,"mw-table/view/utils/DragTracking":300,"mw-table/view/hooks/useDrag":301,"mw-table/view/GroupedColumnHeader":302,"mw-table/view/ScrollComponent":303,"mw-table/view/context/HeaderContext":304,"mw-table/view/RowHeaderCellWithInteraction":305,"mw-table/view/hoc/withRowSelection":306,"mw-table/view/hoc/withDnDEnabled":307,"mw-table/view/utils/TableRowDndUtils":308,"mw-table/functional/IOMonad":309,"dojo/i18n!mw-dialogs/l10n/nls/dialog":310,"mw-dialogs/enums/RoleEnum":311,"mw-dialogs/ButtonEnum":312,"report/language/TK":313,"CodeMirror/MW/StringStream":314,"report/language/hdl":315,"report/language/verilog":316,"CodeMirror/MW/verilog":317,"report/language/parser":318,"dijit/layout/BorderContainer":323,"dojo/cookie":324,"dojo/regexp":325,"dojo/dom-prop":326,"dojo/_base/event":327,"dijit/Destroyable":328,"dijit/_BidiMixin":329,"dojo/selector/_loader":330,"dojo/selector/lite":331,"dojo/selector/_loader!default":331,"dijit/_OnDijitClickMixin":332,"dojo/uacss":333,"dijit/hccss":334,"dojo/hccss":335,"dojo/cache":336,"dojo/text":337,"dojo/request":338,"dojo/errors/RequestTimeoutError":339,"dojo/request/handlers":340,"dijit/_AttachMixin":341,"dijit/layout/LayoutContainer":342,"dijit/layout/_LayoutWidget":343,"dijit/layout/_ContentPaneResizeMixin":344,"dojo/_base/url":345,"dojo/date/stamp":346,"dojo/json5":347,"dojo/json5/parse":348,"dojo/json5/util":349,"dojo/json5/unicode":350,"dojo/dom-form":351,"dojo/_base/json":352,"dojo/i18n!dijit/nls/loading":353,"dijit/nls/bs/loading":354,"dijit/nls/mk/loading":355,"dijit/nls/sr/loading":356,"dijit/nls/zh/loading":357,"dijit/nls/zh-tw/loading":358,"dijit/nls/uk/loading":359,"dijit/nls/tr/loading":360,"dijit/nls/th/loading":361,"dijit/nls/sv/loading":362,"dijit/nls/sl/loading":363,"dijit/nls/sk/loading":364,"dijit/nls/ru/loading":365,"dijit/nls/ro/loading":366,"dijit/nls/pt/loading":367,"dijit/nls/pt-pt/loading":368,"dijit/nls/pl/loading":369,"dijit/nls/nl/loading":370,"dijit/nls/nb/loading":371,"dijit/nls/ko/loading":372,"dijit/nls/kk/loading":373,"dijit/nls/ja/loading":374,"dijit/nls/it/loading":375,"dijit/nls/id/loading":376,"dijit/nls/hu/loading":377,"dijit/nls/hr/loading":378,"dijit/nls/he/loading":379,"dijit/nls/fr/loading":380,"dijit/nls/fi/loading":381,"dijit/nls/eu/loading":382,"dijit/nls/es/loading":383,"dijit/nls/el/loading":384,"dijit/nls/de/loading":385,"dijit/nls/da/loading":386,"dijit/nls/cs/loading":387,"dijit/nls/ca/loading":388,"dijit/nls/bg/loading":389,"dijit/nls/az/loading":390,"dijit/nls/ar/loading":391,"dijit/nls/al/loading":392,"dijit/nls/loading":393,"slcoderRpt/main_application":394,"slcoderRpt/main":395,"slcoderRpt/top_bar/history_navigator":396,"mw-tree/utils/ViewEventHandlers":397,"mw-tree/utils/MouseCodeEnum":398,"mw-tree/view/EventsConfig":399,"mw-tree/view/DesignTimeEventsConfig":400,"mw-tree/view/TriStateCheckBox":401,"mw-tristate-checkbox/TristateCheckbox":402,"mw-widget-api/facade/LitElement":403,"lit/reactive-element/reactive-element":404,"lit/reactive-element/css-tag":405,"lit/reactive-element/custom-elements-es5-adapter":406,"lit/lit-html/lit-html":407,"mw-tristate-checkbox/enums/KeyCodeEnum":408,"mw-tristate-checkbox/enums/TriStateEnum":409,"mw-tristate-checkbox/template/TristateCheckboxTemplate":410,"mw-tree/plugins/checkboxTree/CheckboxTree":411,"mw-tree/adaptors/CheckboxTreeAdaptor":412,"mw-tree/plugins/contextMenu/ContextMenu":413,"mw-tree/adaptors/ContextMenuAdaptor":414,"mw-draganddrop/DragSource":415,"mw-draganddrop/DropTarget":416,"mw-draganddrop/impl/RegionsAdaptor":417,"mw-draganddrop/impl/ProcessHandleDragOver":418,"mw-log/impl/Levels":419,"mw-log/impl/Backlog":420,"mw-draganddrop/DragItem":421,"mw-draganddrop/utils/CanDropTracker":422,"mw-draganddrop/FileContext":423,"mw-draganddrop/impl/FileDnDListener":424,"mw-tree/plugins/dnd/impl/AutoScroll":425,"mw-tree/plugins/dnd/ReorderUtility":426,"mw-tree/plugins/filter/Filter":427,"mw-tree/adaptors/FilterAdaptor":428,"mw-tree/plugins/focus/DesignTimeFocus":429,"mw-tree/adaptors/FocusAdaptor":430,"mw-tree/plugins/search/Search":431,"mw-tree/adaptors/SearchAdaptor":432,"mw-tree/plugins/selection/SingleNodeSelection":433,"mw-tree/adaptors/RangeSelection":434,"mw-tree/plugins/selection/MultipleNodeSelection":435,"mw-tree/plugins/scrollsync/ScrollSync":436,"mw-tree/adaptors/ScrollSyncAdaptor":437,"mw-tree/plugins/dnd/_HTMLDnD":438,"mw-tree/view/TreeDisclosureNode":439,"mw-tree/view/TreeNode":440,"mw-tree/view/Gutters":441,"mw-tree/view/DataTip":442,"mw-tree/view/TreeContainer":443,"mw-tree/view/DisabledOverlay":444,"mw-tree/view/TreeRenderer":445,"mw-tree/renderers/IconLabelRenderer":446,"mw-tree/renderers/CheckboxRenderer":447,"mw-tree/functional/FunctionalUtils":448,"mw-tree/view/EditableTreeView":449,"mw-tree/view/EditableTreeBuilder":450,"mw-tree/view/TreeEditor":451,"mw-tree/controller/edit/EditController":452,"mw-tree/controller/TreeNodeController":453,"mw-tree/controller/navigation/KeyController":454,"mw-tree/controller/navigation/TreeNodeKeyNavigation":455,"mw-tree/controller/navigation/ActiveNodeHandler":456,"mw-tree/controller/CustomKeyController":457,"mw-tree/utils/KeyValidationUtils":458,"mw-tree/controller/scrolling/ScrollController":459,"mw-tree/controller/actions/ActionController":460,"mw-tree/controller/actions/DeleteActionImpl":461,"mw-tree/controller/interactive/InteractiveController":462,"mw-data-model/tree/impl/_expandCollapseToggle":463,"mw-data-model/tree/impl/_treeParentNodeStore":464,"mw-data-model/tree/utils/cacheImpl/StringCache":465,"mw-data-model/tree/utils/cacheImpl/MapCache":466,"mw-data-model/tree/impl/_treeSearch":467,"mw-data-model/tree/impl/_sortTree":468,"mw-data-model/treeTable/impl/_sortTreeTable":469,"mw-data-model/tree/utils/IndexCache":470,"mw-data-model/tree/impl/_treeFilter":471,"mw-data-model/impl/_metaData/_OrderedRules":472,"mw-data-model/impl/_metaData/_HierarchicalOrderedRules":473,"mw-data-model/utils/_criteriaUtils":474,"mw-data-model/table/_TableDataStore":475,"mw-data-model/table/impl/_sortTable":476,"mw-data-model/table/impl/_filter":477,"mw-data-model/table/impl/_Headers":478,"mw-data-model/treeTable/_TreeTableDataStore":479,"mw-data-model/treeTable/impl/_ArrayOfArraysStore":480,"mw-data-model/treeTable/impl/_treeTableFilter":481,"mw-data-model/treeTable/impl/_ArrayOfObjectsStore":482,"mw-data-model/treeTable/impl/_Group":483,"mw-data-model/impl/_PagedDataModel":484,"mw-tree/viewModel/ViewModel":485,"mw-tree/viewModel/LinkedList":486,"mw-tree/viewModel/DataMapper":487,"mw-tree/viewModel/Row":488,"mw-tree/viewModel/_RankMetaData":489,"mw-tree/editors/EditorEnum":490,"mw-tree/editors/EditorDecorator":491,"mw-tree/editors/DesignTimeEditor":492,"mw-tree/viewModel/DataEnum":493,"mw-tree/controller/events/DoubleClickController":494,"mw-remote/iframeproxy/CheckUrlService":495,"dojo/request/script":496,"mw-remote/iframeproxy/IframeProxyReplace":497,"mw-remote/impl/FaultManager":498,"mw-remote/impl/RequestManager":499,"mw-remote/EndPointsManager":500,"mw-remote/defaultMessageMapping":501,"mw-utils/deprecation":502,"mw-remote/impl/ResponseManager":503,"mw-remote/impl/AutoDetectedTransaction":504,"mw-remote/impl/JsonTransaction":505,"mw-remote/UploadToWorker":506,"mw-html-utils/_parseHtml/sanitize":507,"mw-remote/ReplaceUploadIframe":508,"mw-remote/utils/RemoteUrlUtils":509,"mw-remote/serviceRegistryLookup!":510,"mw-remote/serviceRegistryLookup":511,"slcoderRpt/internal_main":512,"slcoderRpt/left_panel":513,"report/code_report/code_report":514,"mw-overlay-utils/BusyOverlay":515,"mw-progress-indicator/view/ViewFactory":516,"mw-progress-indicator/view/SpinnerView":517,"mw-progress-indicator/util/ProgressIndicatorUtils":518,"dojo/text!mw-overlay-utils/templates/busyOverlayTemplate.html":519,"report/code_report/code":520,"dgrid/TouchScroll":521,"dgrid/util/has-css3":522,"xstyle/has-class":525,"dgrid/_StoreMixin":530,"dgrid/Selection":531,"dgrid/util/has-pointer":532,"dojo/store/util/QueryResults":533,"dojo/store/util/SimpleQueryEngine":534,"report/code_report/indicator":535,"dojo/i18n!report/resources/RTW/nls/traceInfo":536,"report/resources/RTW/nls/ja-jp/traceInfo":537,"report/resources/RTW/nls/ko-kr/traceInfo":538,"report/resources/RTW/nls/zh-cn/traceInfo":539,"report/resources/RTW/nls/traceInfo":540,"dojo/i18n!report/resources/SimulinkCoderApp/nls/report":541,"report/resources/SimulinkCoderApp/nls/ja-jp/report":542,"report/resources/SimulinkCoderApp/nls/zh-cn/report":543,"report/resources/SimulinkCoderApp/nls/report":544,"dojo/i18n!report/resources/coderdictionary/nls/mapping":545,"report/resources/coderdictionary/nls/ja-jp/mapping":546,"report/resources/coderdictionary/nls/zh-cn/mapping":547,"report/resources/coderdictionary/nls/mapping":548,"report/code_report/actions":549,"dojo/_base/Color":550,"dijit/_base/manager":551,"dojo/text!dijit/templates/Tooltip.html":552,"report/code_report/info":553,"mw-mvm/UserMvm":554,"mw-mvm/impl/MVM":555,"mw-messageservice/messageserviceimpl/createMessageServiceDefaultInstance":556,"mw-messageservice/messageserviceimpl/MessageServiceBase":557,"mw-messageservice/messageserviceimpl/MessageServiceState":558,"mw-statemachine/StateMachine":559,"mw-statemachine/statemachineimpl/State":560,"mw-statemachine/statemachineimpl/EventTrigger":561,"mw-statemachine/statemachineimpl/MessageTrigger":562,"mw-statemachine/statemachineimpl/RemoteTrigger":563,"mw-statemachine/statemachineimpl/TimeoutTrigger":564,"mw-statemachine/statemachineimpl/Transition":565,"mw-messageservice/messageserviceimpl/MessageServiceAsync":566,"dojox/cometd/AckExtension":567,"mw-messageservice/messageserviceimpl/messageServiceFactory":568,"mw-mvm/impl/AttachDetach":569,"mw-mvm/impl/StackFrame":570,"mw-mvm/ExecutionStatus":571,"mw-mvm/impl/Debugger":572,"mw-mvm/impl/EvalFevalCancel":573,"mw-mvm/impl/MVMPromise":574,"mw-mvm/impl/EventManager":575,"mw-mvm/impl/Connection":576,"mw-mvm/impl/MVMSink":577,"mw-fctrl/Features":578,"mw-mvm/impl/More":579,"mw-mvm/CapabilitiesList":580,"mw-mvm/Capability":581,"mw-mvm/WhenToDequeue":582,"mw-mvm/impl/Pause":583,"mw-mvm/impl/Bang":584,"report/code_report/tooltip":585,"mw-widget-api/facade/html":586,"mw-popout/impl/manager/FocusManager":587,"mw-popout/utils/FocusUtils":588,"mw-popout/enum/CustomAttributeEnum":589,"mw-popout/enum/ScreenReaderEnum":590,"mw-popout/enum/ScrollEnum":591,"mw-ui-themes/UIThemeManager":592,"popper/popper":593,"dijit/TooltipDialog":594,"dijit/_DialogMixin":595,"dijit/form/_FormMixin":596,"dojo/text!dijit/templates/TooltipDialog.html":597,"dijit/popup":598,"mw-form/PushButton":599,"mw-form/mixins/property/TagMixin":600,"mw-form/mixins/property/DescriptionMixin":601,"mw-event-utils/platformize":602,"mw-form/mixins/property/DisabledMixin":603,"mw-form/mixins/property/HorizontalAlignmentMixin":604,"mw-form/mixins/property/IconAlignmentMixin":605,"mw-icons/IconsFactory":606,"mw-icons/Icons":607,"mw-icons/IconUtils":608,"mw-icons/IconsFactoryEnum":609,"mw-icons/defaultConfig":610,"mw-form/mixins/property/VisualFamilyMixin":611,"mw-form/mixins/property/VerticalAlignmentMixin":612,"mw-form/mixins/IconAndTextSizingMixin":613,"mw-form/mixins/PreventSelectionMixin":614,"mw-form/mixins/mixinDependencyValidator":615,"mw-form/mixins/AriaLabelledByMixin":616,"dojo/text!mw-form/templates/PushButton.html":617,"mw-table/Table":618,"mw-table/controllers/data/IdController":619,"mw-table/controllers/geometry/GeometryController":620,"mw-table/controllers/scrolling/Scroll":621,"mw-table/controllers/resize/tableResize":622,"mw-table/controllers/events/EventsController":623,"mw-table/renderers/CheckboxRenderer":624,"mw-table/view/utils/Highlight":625,"mw-table/renderers/utils/RendererUtils":626,"mw-table/treetable/renderers/IconLabelRenderer":627,"mw-table/controllers/events/DoubleClickController":628,"mw-table/functional/Maybe":629,"mw-table/controllers/columns/ColConfigUtil":630,"mw-table/controllers/edit/EditControllerProxy":631,"mw-table/controllers/edit/EditController":632,"mw-table/controllers/edit/TableEditController":633,"mw-table/controllers/edit/TreetableEditController":634,"mw-table/controllers/interactive/InteractiveController":635,"mw-table/treetable/controllers/interactive/InteractiveController":636,"mw-table/treetable/enums/RadiobuttonRendererEnum":637,"mw-table/treetable/enums/RendererActionsEnum":638,"mw-table/controllers/edit/EditControllerInterface":639,"mw-table/controllers/edit/HeaderEditController":640,"mw-table/controllers/attributes/AttributesController":641,"mw-table/controllers/keyboard/CustomKeyController":642,"mw-table/treetable/utils/KeyValidationUtils":643,"mw-table/plugins/focus/CellFocus":644,"mw-table/controllers/navigation/UnbufferedCellNavigation":645,"mw-table/controllers/navigation/BufferedCellNavigation":646,"mw-table/adaptors/FocusAdaptor":647,"mw-table/plugins/selection/SingleRowSelection":648,"mw-table/plugins/selection/MultiRowSelection":649,"mw-table/plugins/selection/CellSelection":650,"mw-table/adaptors/selection/SelectionAdaptor":651,"mw-table/utils/ResizeSelection":652,"mw-table/plugins/colresize/ColResize":653,"mw-table/adaptors/ResizeAdaptor":654,"mw-table/plugins/sort/SingleColumnSort":655,"mw-table/adaptors/SortAdaptor":656,"mw-table/adaptors/RowHeaderAdaptor":657,"mw-table/plugins/dragAndDrop/DragAndDrop":658,"mw-table/adaptors/DragAndDropAdaptor":659,"mw-table/utils/ProxyUtils":660,"mw-table/adaptors/TableRowDnDService":661,"mw-table/plugins/menus/HeaderMenu":662,"mw-table/adaptors/MenuAdaptor":663,"mw-table/plugins/search/Search":664,"mw-table/adaptors/SearchAdaptor":665,"mw-table/plugins/clipboard/Clipboard":666,"mw-table/adaptors/ClipboardAdaptor":667,"mw-clipboard/ClipboardService":668,"mw-clipboard/server/ServerClipboardImpl":669,"mw-clipboard/server/ServerClipboardService":670,"mw-clipboard/enum/TypeMetaDataEnum":671,"mw-clipboard/enum/Actions":672,"mw-clipboard/enum/EventsEnum":673,"mw-clipboard/server/ConnectorService":674,"mw-clipboard/server/ServerClipboardChannels":675,"mw-clipboard/MWDataTransfer":676,"mw-clipboard/client/ClientClipboardImpl":677,"mw-clipboard/client/ClientClipboardService":678,"mw-clipboard/client/WriteUsingTextBox":679,"mw-clipboard/client/ReadClipboardDataFromEvent":680,"mw-clipboard/client/NavigatorService":681,"mw-clipboard/client/NavigatorReadService":682,"mw-clipboard/client/NavigatorWriteService":683,"mw-table/controllers/navigation/ActiveCell":684,"mw-table/controllers/navigation/SimplifiedKeyController":685,"mw-table/adaptors/CellSizingAdaptor":686,"mw-table/plugins/scrollsync/ScrollSync":687,"mw-table/adaptors/ScrollSyncAdaptor":688,"mw-table/enums/ReorderEnum":689,"mw-table/viewmodel/ViewModel":690,"mw-table/viewmodel/_LinkedList":691,"mw-table/viewmodel/_DataMapper":692,"mw-table/viewmodel/_Row":693,"mw-table/viewmodel/_RankMetaData":694,"mw-table/utils/FacadeUtils":695,"mw-table/view/DataCell":696,"mw-table/view/ResizeSelectionAffordance":697,"mw-table/view/RendererComponentWithMemo":698,"mw-table/treetable/utils/CellUtils":699,"mw-table/renderers/DefaultRendererComponent":700,"mw-table/editors/DefaultEditor":701,"mw-table/view/utilcomponent/LoadingComponent":702,"mw-table/view/InteractiveTableCell":703,"mw-table/view/hoc/withInteractiveCell":704,"mw-table/view/EditableTableCell":705,"mw-table/enums/EditEnum":706,"mw-table/view/TableRow":707,"mw-table/view/TbodyComponent":708,"mw-table/view/utils/EventDelegator":709,"mw-gesture/GestureRegistry":710,"mw-gesture/recognizers/GestureRecognizer":711,"mw-gesture/coordination/RecognizerCoordinator":712,"mw-gesture/util/PointerTypes":713,"mw-gesture/util/InputTypes":714,"mw-gesture/input/impl/pointer":715,"mw-gesture/input/impl/touch":716,"mw-gesture/input/impl/mouse":717,"mw-gesture/util/ButtonValues":718,"mw-gesture/gestures/tapmove":719,"mw-gesture/gestures/tap":720,"mw-gesture/gestures/click":721,"mw-gesture/gestures/flick":722,"mw-gesture/gestures/pan":723,"mw-gesture/gestures/rotate":724,"mw-gesture/gestures/pinch":725,"mw-gesture/gestures/wheel":726,"mw-gesture/gestures/hover":727,"mw-gesture/GestureDetector":728,"mw-gesture/input/PointerInput":729,"mw-gesture/input/WheelInput":730,"mw-table/view/Tooltip":731,"mw-table/view/TableView":732,"mw-table/utils/initialization":733,"mw-table/enums/ErrorEnum":734,"mw-table/utils/Registration":735,"mw-table/lifecycle/LifeCycle":736,"mw-table/lifecycle/BuildComponents":737,"mw-table/utils/PropManager":738,"mw-table/utils/TableHelper":739,"mw-table/utils/TreeTableHelper":740,"mw-table/view/ComponentFactory":741,"mw-table/renderers/MultiLineRenderer":742,"mw-table/view/ColResizeAffordance":743,"mw-table/view/utils/ResizeUtils":744,"mw-table/view/SortAffordance":745,"mw-table/utils/Sort":746,"mw-table/view/HeaderMenuAffordance":747,"mw-table/view/ColumnHeaderIndex":748,"mw-table/view/DragAffordance":749,"mw-table/view/utils/DnDColumnUtils":750,"mw-table/view/utils/AutoScroll":751,"mw-table/view/headers/HierarchicalColumnHeaders":752,"mw-table/view/SpanningColumnHeader":753,"mw-table/view/headers/TopLeftAffordance":754,"mw-table/view/TableComponent":755,"mw-table/view/utils/AriaUtils":756,"mw-table/view/utilcomponent/InsertionLineComponent":757,"mw-table/view/context/HeaderContextProvider":758,"mw-table/view/OuterWrapperComponent":759,"mw-table/view/DisableWrapperComponent":760,"mw-table/view/RowHeader":761,"mw-table/view/RowHeaders":762,"mw-table/view/EditableRowHeader":763,"mw-table/view/RowHeaderCell":764,"mw-table/view/IndexCellWithInteraction":765,"mw-table/view/IndexCell":766,"mw-table/view/hooks/ScrollNodeIntoView":767,"mw-table/view/ScrollComponentWithDnDEnabled":768,"mw-table/view/utils/TreetableRowDndUtils":769,"mw-table/view/utils/ReorderUtils":770,"mw-table/view/utils/TreetableOutsideDndUtils":771,"mw-table/view/HeaderRowWithDnDEnabled":772,"mw-table/view/context/DnDContextProvider":773,"mw-table/lifecycle/IncomingDataUpdates":774,"mw-table/lifecycle/Render":775,"mw-table/lifecycle/InteractionEvents":776,"mw-table/io/DataSize":777,"mw-table/io/ViewPortGeom":778,"report/code_report/navigator":779,"report/code_report/selector":780,"report/code_report/search":781,"report/code_report/highlightor":782,"report/code_report/reactions":783,"dijit/form/Button":784,"dijit/form/_FormWidget":785,"dijit/form/_FormWidgetMixin":786,"dijit/form/_ButtonMixin":787,"dojo/text!dijit/form/templates/Button.html":788,"dijit/_mw/utils/deprecation":789,"mw-notifications/Notifications":790,"mw-notifications/IconAndMessageWidget":791,"dojo/i18n!mw-notifications/l10n/nls/NotificationsResources":792,"mw-notifications/l10n/nls/NotificationsResources":793,"mw-notifications/BannerWidget":794,"dojo/fx":795,"mw-notifications/ProgressBar":796,"mw-notifications/_ProgressMixin":797,"dojo/text!mw-notifications/templates/ProgressBar.html":798,"mw-dialogs/Dialogs":799,"mw-dialogs/view/Dialog":800,"mw-dialogs/l10n/nls/ja-jp/dialog":801,"mw-dialogs/l10n/nls/ko-kr/dialog":802,"mw-dialogs/l10n/nls/zh-cn/dialog":803,"mw-dialogs/l10n/nls/dialog":804,"mw-dialogs/controller/DialogController":805,"mw-dialogs/controller/Draggable":806,"mw-dialogs/controller/Resizable":807,"mw-dialogs/view/ButtonBar":808,"mw-dialogs/view/ContentWidget":809,"mw-dialogs/utils/mixinDijitLifecycleMethods":810,"mw-dialogs/utils/preventShortCutKeys":811,"mw-dialogs/utils/SVGIcons":812,"mw-dialogs/controller/BrowserResizeHandler":813,"mw-dialogs/controller/Focus":814,"report/code_report/init":815,"report/language/tokenizer":816,"CodeMirror/MW/CodeMirror":817,"report/language/cuda":818,"report/language/xml":819,"CodeMirror/MW/xml":820,"report/language/a2l":821,"report/language/vhdl":822,"CodeMirror/MW/vhdl":823,"report/language/systemverilog":824,"report/language/text":825,"report/code_report/history":826,"dojo/domReady!":827}),g.require=t,(this||window).webpackJsonp.registerAbsMids=o,y.dj)throw new Error("__webpack_require__.dj name collision.");y.dj={r:t,c:r,m:u,h:a,d:v,w:c,u:f};var E=Object.create(g,{document:{value:g.document},window:{value:E},global:{value:E}});g.dojoConfig=g.dojoConfig||{};var D=e(g.dojoConfig,{baseUrl:".",packages:[{name:"dojo",location:"release/derived/3p/ui/dojo",lib:"."},{name:"mldo-embedded-client",location:"release/derived/ui/mldo-embedded-client",lib:"."},{name:"dijit",location:"release/derived/3p/ui/dijit",lib:"."},{name:"mw-log",location:"release/derived/ui/mw-log",lib:"."},{name:"mw-deprecation-utils",location:"release/derived/ui/mw-deprecation-utils",lib:"."},{name:"mw-html-utils",location:"release/derived/ui/mw-html-utils",lib:"."},{name:"mw-browser-utils",location:"release/derived/ui/mw-browser-utils",lib:"."},{name:"mw-login",location:"release/derived/ui/mw-login",lib:"."},{name:"mw-postmessagechannel",location:"release/derived/ui/mw-postmessagechannel",lib:"."},{name:"STIXfonts",location:"release/derived/3p/ui/STIXfonts",lib:"."},{name:"kineticjs",location:"release/derived/3p/ui/kineticjs",lib:"."},{name:"svg-intersections",location:"release/derived/3p/ui/svg-intersections",lib:"."},{name:"webfontloaderjs",location:"release/derived/3p/ui/webfontloaderjs",lib:"."},{name:"put-selector",location:"release/derived/3p/ui/put-selector",lib:"."},{name:"xstyle",location:"release/derived/3p/ui/xstyle",lib:"."},{name:"mw-module-loader",location:"release/derived/ui/mw-module-loader",lib:"."},{name:"dojox",location:"release/derived/3p/ui/dojox",lib:"."},{name:"mw-ui-themes",location:"release/derived/ui/mw-ui-themes",lib:"."},{name:"editor_application_interface",location:"release/toolbox/matlab/editor/application_interface/js",lib:"."},{name:"lit-html",location:"release/derived/3p/ui/lit-html",lib:"."},{name:"lit-element",location:"release/derived/3p/ui/lit-element",lib:"."},{name:"custom-elements",location:"release/derived/ui/custom-elements",lib:"."},{name:"lit",location:"release/derived/3p/ui/lit",lib:"."},{name:"mw-widget-api",location:"release/derived/ui/mw-widget-api",lib:"."},{name:"element_core",location:"release/ui/core/element_core/js",lib:"."},{name:"mw-utils",location:"release/derived/ui/mw-utils",lib:"."},{name:"mw-remote",location:"release/derived/ui/mw-remote",lib:"."},{name:"mw-icons",location:"release/derived/ui/mw-icons",lib:"."},{name:"sidebar",location:"release/ui/layout/sidebar/js",lib:"."},{name:"mw-statemachine",location:"release/derived/ui/mw-statemachine",lib:"."},{name:"mw-messageservice",location:"release/derived/ui/mw-messageservice",lib:"."},{name:"mw-ddux",location:"release/derived/ui/mw-ddux",lib:"."},{name:"mw-event-utils",location:"release/derived/ui/mw-event-utils",lib:"."},{name:"mw-dom-utils",location:"release/derived/ui/mw-dom-utils",lib:"."},{name:"mw-form",location:"release/derived/ui/mw-form",lib:"."},{name:"mw-slider",location:"release/derived/ui/mw-slider",lib:"."},{name:"mw-mda",location:"release/derived/toolbox/mw_mda",lib:"."},{name:"mw-perf",location:"release/derived/ui/mw-perf",lib:"."},{name:"settings",location:"release/toolbox/matlab/settings_service/src/js/settings",lib:"."},{name:"spinner",location:"release/derived/3p/ui/spinner",lib:"."},{name:"mw-dom-snapshot-utils",location:"release/derived/ui/mw-dom-snapshot-utils",lib:"."},{name:"mw-string-utils",location:"release/derived/ui/mw-string-utils",lib:"."},{name:"mw-deferred-utils",location:"release/derived/ui/mw-deferred-utils",lib:"."},{name:"mw-peermodel",location:"release/derived/ui/mw-peermodel",lib:"."},{name:"mw-actiondataservice",location:"release/derived/ui/mw-actiondataservice",lib:"."},{name:"mw-dnd",location:"release/derived/ui/mw-dnd",lib:"."},{name:"mw-store-utils",location:"release/derived/ui/mw-store-utils",lib:"."},{name:"mw-dialog-utils",location:"release/derived/ui/mw-dialog-utils",lib:"."},{name:"mw-keybindings",location:"release/derived/ui/mw-keybindings",lib:"."},{name:"CodeMirror",location:"release/derived/ui/CodeMirror",lib:"."},{name:"mw-progress-indicator",location:"release/derived/ui/mw-progress-indicator",lib:"."},{name:"mw-overlay-utils",location:"release/derived/ui/mw-overlay-utils",lib:"."},{name:"regenerator-runtime",location:"release/derived/3p/ui/regenerator-runtime",lib:"."},{name:"mw-promise",location:"release/derived/ui/mw-promise",lib:"."},{name:"lodash",location:"release/derived/3p/ui/lodash",lib:"."},{name:"uuid",location:"release/derived/3p/ui/uuid",lib:"."},{name:"performance",location:"release/derived/toolbox/performance/web",lib:"."},{name:"object-hash",location:"release/derived/3p/ui/object-hash",lib:"."},{name:"mf0",location:"release/derived/toolbox/modeling/mf0/web",lib:"."},{name:"mf0_sync",location:"release/derived/toolbox/modeling/mf0_sync/web",lib:"."},{name:"remoteproxy",location:"release/remote/proxy",lib:"."},{name:"mw-binarystream",location:"release/derived/ui/mw-binarystream",lib:"."},{name:"viewmodel_zml",location:"release/toolbox/shared/viewmodel/zml/json",lib:"."},{name:"mw-filename-utils",location:"release/derived/ui/mw-filename-utils",lib:"."},{name:"mw-dialogs",location:"release/derived/ui/mw-dialogs",lib:"."},{name:"mw-webwindow-dialogs",location:"release/derived/ui/mw-webwindow-dialogs",lib:"."},{name:"maven_component_ui",location:"release/derived/ui/maven_component_ui",lib:"."},{name:"react",location:"release/derived/3p/ui/react",lib:"."},{name:"popper",location:"release/derived/3p/ui/popper",lib:"."},{name:"Tippy",location:"release/derived/3p/ui/Tippy",lib:"."},{name:"mw-tooltip",location:"release/derived/ui/mw-tooltip",lib:"."},{name:"cajsservice",location:"release/toolbox/matlab/codeanalysis/jsapi/cajsservice",lib:"."},{name:"mw-scrollbar-slider",location:"release/derived/ui/mw-scrollbar-slider",lib:"."},{name:"mw-colorpicker",location:"release/derived/ui/mw-colorpicker",lib:"."},{name:"mw-popout",location:"release/derived/ui/mw-popout",lib:"."},{name:"dgrid",location:"release/derived/3p/ui/dgrid",lib:"."},{name:"mw-datepicker",location:"release/derived/ui/mw-datepicker",lib:"."},{name:"mw-gesture",location:"release/derived/ui/mw-gesture",lib:"."},{name:"viewmodel",location:"release/toolbox/shared/viewmodel/web/viewmodel",lib:"."},{name:"mw-notifications",location:"release/derived/ui/mw-notifications",lib:"."},{name:"mw-fctrl",location:"release/ui/fctrl/fctrl_js-lib",lib:"."},{name:"mw-mvm",location:"release/toolbox/mvm_javascript/mw-mvm/mw-mvm-lib",lib:"."},{name:"prefdir",location:"release/toolbox/matlab/prefdir_service/src/js/prefdir",lib:"."},{name:"mw-clipboard",location:"release/derived/ui/mw-clipboard",lib:"."},{name:"mw-navigationbar",location:"release/derived/ui/mw-navigationbar",lib:"."},{name:"mw-icons-store",location:"release/ui/icons",lib:"."},{name:"webwidgets_css",location:"release/ui/webwidgets/src/css",lib:"."},{name:"images",location:"release/ui/webwidgets/src/images",lib:"."},{name:"MW",location:"release/ui/webwidgets/src/js/MW",lib:"."},{name:"l10n",location:"release/ui/webwidgets/src/l10n",lib:"."},{name:"InstallServiceHandler",location:"release/install/installservicehandler/web/installservicehandler",lib:"."},{name:"matlab_login",location:"release/toolbox/matlab/matlab_login/web/matlab_login",lib:"."},{name:"mw-help-staticcontent",location:"release/toolbox/matlab/helptools_js/help_static_content/mw-help-staticcontent",lib:"."},{name:"htmltext",location:"release/ui/lightweightbrowser/htmltext/htmltext",lib:"."},{name:"equationrenderercore",location:"release/toolbox/matlab/equation_renderer_core/js",lib:"."},{name:"mw-data-model",location:"release/derived/ui/mw-data-model",lib:"."},{name:"mw-draganddrop",location:"release/derived/ui/mw-draganddrop",lib:"."},{name:"mw-tabular-data-model",location:"release/derived/ui/mw-tabular-data-model",lib:"."},{name:"registration_framework_js",location:"release/toolbox/matlab/registration_framework/reg_fw_js",lib:"."},{name:"systeminfoservice",location:"release/toolbox/matlab/systeminfoservice",lib:"."},{name:"userexecutionservice",location:"release/toolbox/matlab/userexecutionservice",lib:"."},{name:"configmanager",location:"release/toolbox/matlab/configmanager/js",lib:"."},{name:"executionstateservice",location:"release/toolbox/matlab/executionstateservice",lib:"."},{name:"busyidleservice",location:"release/toolbox/matlab/busyidleservice",lib:"."},{name:"findandreplace-ui",location:"release/ui/find_and_replace/findandreplace-ui",lib:"."},{name:"code_analyzer_ui_utils",location:"release/toolbox/matlab/editor/code_analyzer_ui_utils",lib:"."},{name:"mw-help-csh-base",location:"release/toolbox/matlab/helptools_js/csh_base/mw-help-csh-base",lib:"."},{name:"mw-help-csh",location:"release/toolbox/matlab/helptools_js/csh/mw-help-csh",lib:"."},{name:"reflectionserviceAPI",location:"release/toolbox/matlab/reflectionserviceAPI",lib:"."},{name:"commandwindowservices",location:"release/toolbox/matlab/commandwindowservices",lib:"."},{name:"equations",location:"release/toolbox/matlab/rich_text_component/src/js/equations",lib:"."},{name:"rtc",location:"release/toolbox/matlab/rich_text_component/src/js/rtc",lib:"."},{name:"rtcintegration",location:"release/toolbox/matlab/rich_text_component/src/js/rtcintegration",lib:"."},{name:"componentframework",location:"release/toolbox/matlab/uitools/componentframeworkjs",lib:"."},{name:"gbtshared",location:"release/toolbox/matlab/uitools/sharedjs",lib:"."},{name:"graphics",location:"release/toolbox/matlab/graphics/web/web/scene/js/MW/graphics",lib:"."},{name:"datatoolsservices",location:"release/toolbox/matlab/datatools/datatoolsservices/js/datatoolsservices/src",lib:"."},{name:"hmishared",location:"release/toolbox/shared/appdes/web/js/MW/hmishared",lib:"."},{name:"inspector_server",location:"release/toolbox/matlab/datatools/inspector/matlab",lib:"."},{name:"mw-diff",location:"release/toolbox/shared/comparisons/web/mw-diff/mw-diff",lib:"."},{name:"mw-tree-data-model",location:"release/derived/ui/mw-tree-data-model",lib:"."},{name:"mw-treetable-data-model",location:"release/derived/ui/mw-treetable-data-model",lib:"."},{name:"mw-tristate-checkbox",location:"release/derived/ui/mw-tristate-checkbox",lib:"."},{name:"prop-types",location:"release/derived/ui/prop-types",lib:"."},{name:"mw-table",location:"release/derived/ui/mw-table",lib:"."},{name:"mw-staticcontent",location:"release/toolbox/matlab/connector2/staticcontent/web/mw-staticcontent",lib:"."},{name:"filesystem-datamodel-base",location:"release/derived/toolbox/matlab/filesystem/datamodel/base",lib:"."},{name:"filesystem-datamodel-sourcecontrol",location:"release/derived/toolbox/matlab/filesystem/datamodel/sourcecontrol",lib:"."},{name:"filesystem-js-utils",location:"release/toolbox/matlab/filesystem/js_utils/js",lib:"."},{name:"filesystem-events",location:"release/toolbox/matlab/filesystem/events/js",lib:"."},{name:"filesystem_services",location:"release/toolbox/matlab/filesystem/services/client",lib:"."},{name:"pathdataservice-js",location:"release/toolbox/matlab/pathdataservice/pathdataservice-js",lib:"."},{name:"findfiles-ui",location:"release/toolbox/matlab/findfiles/js/findfiles-ui",lib:"."},{name:"mw-facade",location:"release/derived/ui/mw-facade",lib:"."},{name:"rendererseditors",location:"release/toolbox/matlab/datatools/rendererseditors/js/rendererseditors",lib:"."},{name:"variableeditor_client",location:"release/toolbox/matlab/datatools/variableeditor/js/client/variableeditor_client",lib:"."},{name:"gbtcomponents",location:"release/toolbox/matlab/uitools/componentsjs",lib:"."},{name:"variableeditor_peer",location:"release/toolbox/matlab/datatools/variableeditor/js/peer/variableeditor_peer",lib:"."},{name:"desktop_variableeditor",location:"release/toolbox/matlab/datatools/desktop_variableeditor/js",lib:"."},{name:"htmlviewer-ui",location:"release/toolbox/matlab/htmlviewer/web/htmlviewer/htmlviewer-ui",lib:"."},{name:"Vuejs",location:"release/derived/ui/Vuejs",lib:"."},{name:"helpwin-ui",location:"release/ui/help/helpwin/helpwin-ui",lib:"."},{name:"examplemanager",location:"release/toolbox/matlab/helptools/examplemanager/examplemanager",lib:"."},{name:"importtool_client",location:"release/toolbox/matlab/datatools/importtool/js/client/importtool_client",lib:"."},{name:"importtool_peer",location:"release/toolbox/matlab/datatools/importtool/js/peer/importtool_peer",lib:"."},{name:"desktop_workspacebrowser",location:"release/toolbox/matlab/datatools/desktop_workspacebrowser/js",lib:"."},{name:"desktop_importtool",location:"release/toolbox/matlab/datatools/desktop_importtool/desktop_importtool",lib:"."},{name:"uitest",location:"release/toolbox/matlab/testframework/uiautomation_web/uitest",lib:"."},{name:"uifigure_interface",location:"release/toolbox/matlab/uitools/uifigureinterfacejs",lib:"."},{name:"gbtcomponents_plugin_uifigure",location:"release/toolbox/matlab/uitools/componentspluginjs",lib:"."},{name:"mw-tree",location:"release/derived/ui/mw-tree",lib:"."},{name:"inspector_client",location:"release/toolbox/matlab/datatools/inspector/js/client/inspector_client",lib:"."},{name:"inspector_peer",location:"release/toolbox/matlab/datatools/inspector/js/peer/inspector_peer",lib:"."},{name:"datatools_plugin_uifigure",location:"release/toolbox/matlab/datatools/uicomponents/js",lib:"."},{name:"visualcomponents",location:"release/toolbox/matlab/uicomponents/web/components",lib:"."},{name:"aerocomponents",location:"release/toolbox/aero/aeroshared/web/aerocomponents",lib:"."},{name:"aerocomponents_plugin_uifigure",location:"release/toolbox/aero/aeroshared/web/plugin/uifigure",lib:"."},{name:"uicomponents_plugin_uifigure",location:"release/toolbox/matlab/uicomponents/web/plugin/uifigure",lib:"."},{name:"rtc_plugin_uifigure",location:"release/toolbox/matlab/rich_text_component/rtc_figure_integration/web/plugin/uifigure",lib:"."},{name:"mw-style-utils",location:"release/derived/ui/mw-style-utils",lib:"."},{name:"variableeditor",location:"release/toolbox/matlab/codetools/uicomponents/web/datatools/variableeditor/js",lib:"."},{name:"gbtclient",location:"release/toolbox/matlab/uitools/uifigureappjs/js",lib:"."},{name:"gbtdivfigure",location:"release/toolbox/matlab/uitools/divfigurejs/js",lib:"."},{name:"D3js",location:"release/derived/ui/D3js",lib:"."},{name:"matlab_toolbox_indentcode",location:"release/toolbox/matlab/indentcode/web/matlab_toolbox_indentcode",lib:"."},{name:"datatools-cfb-preview",location:"release/toolbox/matlab/datatools/matlab_integration/cfb/js/datatools_cfb_preview/datatools_cfb_preview",lib:"."},{name:"mw-webwindow",location:"release/toolbox/matlab/connector2/webwindow/web/mw-webwindow",lib:"."},{name:"toolstrip",location:"release/toolbox/matlab/toolstrip/web",lib:"."},{name:"sidepanel-ui",location:"release/toolbox/matlab/plottools/sidepanel/sidepanel-ui",lib:"."},{name:"codegenwidget-ui",location:"release/toolbox/matlab/plottools/codegenwidget/codegenwidget-ui",lib:"."},{name:"gbtfigure_uicontainer",location:"release/toolbox/matlab/uitools/figureuicontainerjs/js",lib:"."},{name:"appcontainer_dojo",location:"release/toolbox/matlab/appcontainer_dojo/appcontainer",lib:"."},{name:"appcontainer",location:"release/toolbox/matlab/appcontainer/web/appcontainer_ui",lib:"."},{name:"mm_tree_node_ui",location:"release/src/mm_tree_node/web/mm_tree_node_ui",lib:"."},{name:"ccr",location:"release/toolbox/matlab/codeanalysis/reports/view/ccr",lib:"."},{name:"analyzerrpt-ui",location:"release/toolbox/matlab/codeanalysis/analyzerrpt/web/analyzerrpt/analyzerrpt-ui",lib:"."},{name:"mw-filebrowser",location:"release/derived/ui/mw-filebrowser",lib:"."},{name:"datatools_cfbactions-ui",location:"release/toolbox/matlab/datatools/matlab_integration/cfbactions/datatools_cfbactions-ui",lib:"."},{name:"mldatx_file_label_filter_plugin",location:"release/toolbox/shared/mldatx/file_label_filter_plugin/js/mldatx_file_label_filter_plugin",lib:"."},{name:"mldatx_file_preview_plugin",location:"release/toolbox/shared/mldatx/file_preview_plugin/js/mldatx_file_preview_plugin",lib:"."},{name:"matlab_sourcecontrol_javascript-ui",location:"release/toolbox/matlab/matlab_sourcecontrol_javascript/matlab_sourcecontrol_javascript-ui",lib:"."},{name:"mldriveecjsservices",location:"release/toolbox/matlab/storage/mldriveecservices/client",lib:"."},{name:"mldosharing-js",location:"release/toolbox/matlab/mldosharing/js/mldosharing-js",lib:"."},{name:"filebrowser_utils-ui",location:"release/toolbox/matlab/filebrowser_utils/filebrowser_utils-ui",lib:"."},{name:"computils-shared",location:"release/toolbox/shared/computils/shared_web",lib:"."},{name:"computils-ui",location:"release/toolbox/shared/computils/view_web/computils-ui",lib:"."},{name:"clone",location:"release/toolbox/shared/cmlink/view/clone_web/clone-lib",lib:"."},{name:"cmlink-util-ui",location:"release/toolbox/shared/cmlink/view/util_web/cmlink-util-ui",lib:"."},{name:"cmlink-git-lib",location:"release/toolbox/shared/cmlink/view/git_web/cmlink-git-lib",lib:"."},{name:"cmlink-credentials-lib",location:"release/toolbox/shared/cmlink/view/credentials_web/cmlink-credentials-lib",lib:"."},{name:"cmlink-core-ui",location:"release/toolbox/shared/cmlink/view/core_web/cmlink-core-ui",lib:"."},{name:"fsui-config",location:"release/toolbox/matlab/filesystem/fsui_config/js",lib:"."},{name:"richcontent_preview_plugin",location:"release/toolbox/matlab/richcontent_preview/js/richcontent_preview_plugin",lib:"."},{name:"matlabdrive_js",location:"release/toolbox/matlab/storage/mldrivejsplugins/matlabdrive_js/matlabdrive_js",lib:"."},{name:"share_folder_preview",location:"release/toolbox/matlab/storage/mldrivejsplugins/share_folder_preview/js",lib:"."},{name:"sharing_actions",location:"release/toolbox/matlab/storage/mldrivejsplugins/sharing_actions/sharing_actions",lib:"."},{name:"tripwire_button",location:"release/toolbox/matlab/storage/mldrivejsplugins/tripwire_button/tripwire_button",lib:"."},{name:"folder_icon_plugin",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/folder_icon_plugin/impl",lib:"."},{name:"folder_label_plugin",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/folder_label_plugin/impl",lib:"."},{name:"filetype_plugin_utils",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/utils",lib:"."},{name:"currentfolderbrowser-ui",location:"release/toolbox/matlab/currentfolderbrowser/currentfolderbrowser-ui",lib:"."},{name:"filechooser-ui",location:"release/toolbox/matlab/filechooser/filechooser-ui",lib:"."},{name:"file_chooser_service_js",location:"release/toolbox/matlab/file_chooser/service/file_chooser_service_js",lib:"."},{name:"mlc",location:"release/toolbox/coder/coder/web/mlc",lib:"."},{name:"mlc-lib",location:"release/toolbox/coder/coder/web/mlc-lib",lib:"."},{name:"mlc-resources",location:"release/toolbox/coder/coder/web/mlc-resources",lib:"."},{name:"reportviewer",location:"release/toolbox/coder/coder/web/reportviewer/reportviewer",lib:"."},{name:"rtc_clike_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_clike_language_support/js/src",lib:"."},{name:"coderapp-form",location:"release/toolbox/coder/coderapp/form/web/coderapp-form",lib:"."},{name:"coderapp_jsbuild",location:"release/toolbox/coder/coderapp/buildtools/jsbuild",lib:"."},{name:"coderapp-common",location:"release/toolbox/coder/coderapp/common/web/coderapp-common",lib:"."},{name:"coderapp-resources",location:"release/toolbox/coder/coderapp/common/web/coderapp-resources",lib:"."},{name:"coderapp_screener_ui",location:"release/toolbox/coder/coderapp/screener/web/coderapp_screener_ui",lib:"."},{name:"ActionHandlers",location:"release/derived/ui/mw-diagnostic-widgets/ActionHandlers",lib:"."},{name:"DV",location:"release/derived/ui/mw-diagnostic-widgets/DV",lib:"."},{name:"DiagnosticObj",location:"release/derived/ui/mw-diagnostic-widgets/DiagnosticObj",lib:"."},{name:"compositeDVWidget",location:"release/derived/ui/mw-diagnostic-widgets/compositeDVWidget",lib:"."},{name:"mdom",location:"release/toolbox/mdom/web/mdom",lib:"."},{name:"matlabeditor",location:"release/toolbox/shared/dastudio/web/matlabeditor/js",lib:"."},{name:"viewmarks",location:"release/toolbox/shared/dastudio/web/viewmarks/viewmarks",lib:"."},{name:"viewmarksmanager",location:"release/toolbox/shared/dastudio/web/viewmarksmanager/viewmarksmanager",lib:"."},{name:"rtcaddon_simulink_requirements",location:"release/toolbox/matlab/rtc_addons/vnv/req/js",lib:"."},{name:"navigation_services",location:"release/toolbox/matlab/editor/navigation/services/client",lib:"."},{name:"common_features",location:"release/toolbox/matlab/editor/common/features/js",lib:"."},{name:"plaincode_saveload",location:"release/toolbox/matlab/rtc_addons/rtcsaveload/plaincode",lib:"."},{name:"plaincode_features",location:"release/toolbox/matlab/editor/plaincode/features/js",lib:"."},{name:"appdesigner_build",location:"release/toolbox/matlab/appdesigner/appdesigner/build",lib:"."},{name:"livecode_saveload",location:"release/toolbox/matlab/livecode/saveload",lib:"."},{name:"codingui",location:"release/toolbox/matlab/rtc_addons/shared/codingui/js",lib:"."},{name:"widgets",location:"release/toolbox/matlab/datatools/widgets/js/widgets",lib:"."},{name:"livecontrol",location:"release/toolbox/matlab/rtc_addons/livecontrol/js",lib:"."},{name:"livetask",location:"release/toolbox/matlab/rtc_addons/livetask/js",lib:"."},{name:"mw-diff3",location:"release/toolbox/comparisons/view/web3/mw-diff3/mw-diff3",lib:"."},{name:"mlapp_actions",location:"release/toolbox/matlab/appdesigner/matlab_integration/cfb/mlapp_actions/mlapp_actions",lib:"."},{name:"mlapp_preview",location:"release/toolbox/matlab/appdesigner/matlab_integration/cfb/mlapp_preview/mlapp_preview",lib:"."},{name:"dependency-refactoring",location:"release/toolbox/matlab/dependency/refactoring/web/dependency-refactoring",lib:"."},{name:"equation_renderer-ui",location:"release/toolbox/shared/mlreportgen/widgets/equation/js/equation_renderer-ui",lib:"."},{name:"installer_login",location:"release/install/components/installer_login/web/installer_login",lib:"."},{name:"installjscommon",location:"release/install/components/installjscommon/web/installjscommon",lib:"."},{name:"supportsoftwareinstaller",location:"release/install/components/supportsoftwareinstaller/web",lib:"."},{name:"supportsoftwareclient",location:"release/install/components/supportsoftwareclient/web/supportsoftwareclient",lib:"."},{name:"matlab_login_framework",location:"release/toolbox/matlab/matlab_login_framework/web/matlab_login_framework",lib:"."},{name:"addons-ui",location:"release/toolbox/matlab/addons/addons-ui",lib:"."},{name:"mw-serviceframework",location:"release/derived/ui/mw-serviceframework",lib:"."},{name:"mw-value-engine",location:"release/derived/ui/mw-value-engine",lib:"."},{name:"mw-value-engine-utils",location:"release/ui/mw-value-engine-utils",lib:"."},{name:"mw-storage-service",location:"release/ui/mw-storage-service",lib:"."},{name:"addressbar-ui",location:"release/toolbox/matlab/addressbar/addressbar-ui",lib:"."},{name:"project-util-ui",location:"release/toolbox/matlab/project/views/util_web/project-util-ui",lib:"."},{name:"project-fromfile-ui",location:"release/toolbox/matlab/project/views/fromfile_web/project-fromfile-ui",lib:"."},{name:"dependency-widget-progress",location:"release/toolbox/matlab/dependency/widget/progress_web/dependency-widget-progress",lib:"."},{name:"graderui-adapter",location:"release/derived/toolbox/grader/views/graderui-adapter",lib:"."},{name:"graderpanel-lib",location:"release/toolbox/grader/views/panel/graderpanel-lib",lib:"."},{name:"analyzer",location:"release/toolbox/matlab/system/editor/analyzer/analyzer",lib:"."},{name:"livecode_features",location:"release/toolbox/matlab/editor/livecode/features/js",lib:"."},{name:"liveeditor",location:"release/toolbox/matlab/editor/application/js",lib:"."},{name:"preprocessing",location:"release/toolbox/matlab/datatools/preprocessing/js",lib:"."},{name:"sourcecontrol-ui",location:"release/toolbox/matlab/sourcecontrol/sourcecontrol-ui",lib:"."},{name:"vor",location:"release/derived/toolbox/modeling/vor/web",lib:"."},{name:"classbrowser-ui",location:"release/toolbox/classdiagram/classbrowser/classbrowser-ui",lib:"."},{name:"dagre",location:"release/derived/3p/ui/dagre",lib:"."},{name:"wigl",location:"release/derived/toolbox/diagram/editor/web/transpiled",lib:"."},{name:"export-ui",location:"release/toolbox/diagram/editor/web/export/export-ui",lib:"."},{name:"editor-ui",location:"release/toolbox/classdiagram/editor/editor-ui",lib:"."},{name:"cmlink-jni-lib",location:"release/toolbox/shared/cmlink/view/jni_web/cmlink-jni-lib",lib:"."},{name:"project-labels-ui",location:"release/toolbox/matlab/project/views/labels_web/project-labels-ui",lib:"."},{name:"project-action-ui",location:"release/toolbox/matlab/project/views/action_web/project-action-ui/project-action-ui",lib:"."},{name:"project-file-ui",location:"release/toolbox/matlab/project/views/file_web/project-file-ui",lib:"."},{name:"project-open-ui",location:"release/toolbox/matlab/project/views/open_web/project-open-ui",lib:"."},{name:"project-cfbextension-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-extension/project-cfbextension-ui",lib:"."},{name:"project-cfbicon-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-icon/project-cfbicon-ui",lib:"."},{name:"project-cfbpreview-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-preview/project-cfbpreview-ui",lib:"."},{name:"project-core-ui",location:"release/toolbox/matlab/project/views/core_web/project-core-ui",lib:"."},{name:"cmlink-action-ui",location:"release/toolbox/shared/cmlink/view/action_web/cmlink-action-ui/cmlink-action-ui",lib:"."},{name:"project-references-ui",location:"release/toolbox/matlab/project/views/references_web/project-references-ui",lib:"."},{name:"dependency-app",location:"release/toolbox/matlab/dependency/app/web/dependency-app",lib:"."},{name:"project-creation",location:"release/toolbox/matlab/project/views/creation_web/project-creation",lib:"."},{name:"project-sharing-validation",location:"release/toolbox/matlab/project/sharing/validationview_web",lib:"."},{name:"project-sharing-widgets",location:"release/toolbox/matlab/project/sharing/widgets_web",lib:"."},{name:"project-sharing-profiles",location:"release/toolbox/matlab/project/sharing/profilesview_web/project-sharing-profiles",lib:"."},{name:"project-sharing-toarchive",location:"release/toolbox/matlab/project/sharing/toarchive_web",lib:"."},{name:"codefileviewer_shared",location:"release/toolbox/matlab/codefileviewer/shared/shared",lib:"."},{name:"plaincodefileviewer",location:"release/toolbox/matlab/codefileviewer/plaincode/widget",lib:"."},{name:"livecodefileviewer",location:"release/toolbox/matlab/codefileviewer/livecode/widget",lib:"."},{name:"web",location:"release/toolbox/matlab/codefileviewer/standalone/web/js",lib:"."},{name:"sf_file_preview_plugin",location:"release/toolbox/stateflow/sf_file_preview_plugin/js-preview/sf_file_preview_plugin",lib:"."},{name:"install_core_services",location:"release/install/core_services/web",lib:"."},{name:"online_license_management",location:"release/src/olm/web/online_license_management",lib:"."},{name:"csview",location:"release/toolbox/shared/configset_view/web/csview",lib:"."},{name:"equationrenderer",location:"release/ui/equationrenderer/equationrenderer-ui",lib:"."},{name:"AxesView",location:"release/toolbox/shared/sdi/web/AxesView/js",lib:"."},{name:"SDI2",location:"release/toolbox/shared/sdi/web/MainView/SDI2",lib:"."},{name:"TableView",location:"release/toolbox/shared/sdi/web/TableView/js",lib:"."},{name:"matlab_favorite_commands",location:"release/toolbox/matlab/matlab_favorite_commands/web/matlab_favorite_commands",lib:"."},{name:"dig-ui",location:"release/toolbox/dig_web/dig/ui",lib:"."},{name:"slexec_mm_display-derived",location:"release/derived/toolbox/simulink/timinglegend",lib:"."},{name:"report",location:"release/toolbox/coder/simulinkcoder_app/report/web/report",lib:"."},{name:"slcoderRpt",location:"release/toolbox/coder/simulinkcoder_app/slcoderRpt/src/slcoderRpt_js/slcoderRpt",lib:"."}],deps:["bootstrap"],async:!1,has:{"config-deferredInstrumentation":!1},supportedLocales:["ja-jp","ko-kr","zh-cn","en-us"]}),F={hasCache:{webpack:1,"host-browser":1,dom:1,"dojo-loader":1,"dojo-has-api":1,"dojo-dom-ready-api":1,"dojo-sniff":1,"dojo-test-sniff":1,"config-deferredInstrumentation":1,"config-tlmSiblingOfDojo":1}},w=y(136);w.call(E,D,F,E,E),Object.keys(E.require.packs).forEach(function(T){var S=E.require.packs[T];(/(^\/)|(\:)/.test(S.main)||S.main.split("/").reduce(function(I,B){return I<0||B==="."?I:B===".."?--I:++I},0)<=0)&&typeof S.realMain=="undefined"&&(S.realMain=S.main,S.main="")});function x(T,S){var I=E.require.originalToAbsMid(T,S);if(I.indexOf("/")===I.length-1){var B=I.substring(0,I.length-1),P=E.require.packs[B];P&&P.realMain&&(I=B)}return I}function R(T,S){var I=E.require.originalToUrl(T,S),B=E.require.packs[T];if(B&&B.realMain){var P=I.split("?");/(^\/)|(\:)/.test(B.realMain)?P[0]=B.realMain:P[0]=P[0]+"/"+B.realMain,I=P.join("?")}return I}E.require.originalToAbsMid=E.require.toAbsMid,E.require.originalToUrl=E.require.toUrl,E.require.toAbsMid=x,E.require.toUrl=R,["baseUrl","has","rawConfig","on","signal"].forEach(function(T){t[T]=E.require[T]})}(),y(y.s=319)})([function(_,M,l){var A,C;A=[l(6),l(8),l(18)],C=l.dj.d(A,function(y,m){m.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;return 1});var h=m("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],d=h.length,n=function(a,i,u){u||(a[0]&&y.scopeMap[a[0]]?u=y.scopeMap[a.shift()][1]:u=y.global);try{for(var s=0;s<a.length;s++){var c=a[s];if(c==="__proto__"||c==="constructor")return;if(!(c in u))if(i)u[c]={};else return;u=u[c]}return u}catch(f){}},e=Object.prototype.toString,t=function(a,i,u){return(u||[]).concat(Array.prototype.slice.call(a,i||0))},r=/\{([^\}]+)\}/g,o={_extraNames:h,_mixin:function(a,i,u){var s,c,f,p={};for(s in i)c=i[s],(!(s in a)||a[s]!==c&&(!(s in p)||p[s]!==c))&&(a[s]=u?u(c):c);if(m("bug-for-in-skips-shadowed")&&i)for(f=0;f<d;++f)s=h[f],c=i[s],(!(s in a)||a[s]!==c&&(!(s in p)||p[s]!==c))&&(a[s]=u?u(c):c);return a},mixin:function(a,i){a||(a={});for(var u=1,s=arguments.length;u<s;u++)o._mixin(a,arguments[u]);return a},setObject:function(a,i,u){var s=a.split("."),c=s.pop(),f=n(s,!0,u);return f&&c?f[c]=i:void 0},getObject:function(a,i,u){return a?n(a.split("."),i,u):u},exists:function(a,i){return o.getObject(a,!1,i)!==void 0},isString:function(a){return typeof a=="string"||a instanceof String},isArray:Array.isArray||function(a){return e.call(a)=="[object Array]"},isFunction:function(a){return e.call(a)==="[object Function]"},isObject:function(a){return a!==void 0&&(a===null||typeof a=="object"||o.isArray(a)||o.isFunction(a))},isArrayLike:function(a){return!!a&&!o.isString(a)&&!o.isFunction(a)&&!(a.tagName&&a.tagName.toLowerCase()=="form")&&(o.isArray(a)||isFinite(a.length))},isAlien:function(a){return a&&!o.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(String(a))},extend:function(a,i){for(var u=1,s=arguments.length;u<s;u++)o._mixin(a.prototype,arguments[u]);return a},_hitchArgs:function(a,i){var u=o._toArray(arguments,2),s=o.isString(i);return function(){var c=o._toArray(arguments),f=s?(a||y.global)[i]:i;return f&&f.apply(a||this,u.concat(c))}},hitch:function(a,i){if(arguments.length>2)return o._hitchArgs.apply(y,arguments);if(i||(i=a,a=null),o.isString(i)){if(a=a||y.global,!a[i])throw['lang.hitch: scope["',i,'"] is null (scope="',a,'")'].join("");return function(){return a[i].apply(a,arguments||[])}}return a?function(){return i.apply(a,arguments||[])}:i},delegate:function(){function a(){}return function(i,u){a.prototype=i;var s=new a;return a.prototype=null,u&&o._mixin(s,u),s}}(),_toArray:m("ie")?function(){function a(i,u,s){for(var c=s||[],f=u||0;f<i.length;f++)c.push(i[f]);return c}return function(i){return(i.item?a:t).apply(this,arguments)}}():t,partial:function(a){var i=[null];return o.hitch.apply(y,i.concat(o._toArray(arguments)))},clone:function(a){if(!a||typeof a!="object"||o.isFunction(a))return a;if(a.nodeType&&"cloneNode"in a)return a.cloneNode(!0);if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return new RegExp(a);var i,u,s;if(o.isArray(a))for(i=[],u=0,s=a.length;u<s;++u)u in a&&(i[u]=o.clone(a[u]));else i=a.constructor?new a.constructor:{};return o._mixin(i,a,o.clone)},trim:String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,i,u){return a.replace(u||r,o.isFunction(i)?i:function(s,c){return o.getObject(c,!1,i)})}};return m("extend-dojo")&&o.mixin(y,o),o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(8),l(0)],C=l.dj.d(A,function(y,m,h){var d=h.mixin,n=Object.prototype,e=n.toString,t,r=0,o="constructor";m("csp-restrictions")?t=function(){}:t=new Function;function a(B,P){throw new Error("declare"+(P?" "+P:"")+": "+B)}function i(B,P){for(var L=[],O=[{cls:0,refs:[]}],W={},j=1,K=B.length,H=0,V,$,G,Q,J,Y,X,Z;H<K;++H){for(G=B[H],G?e.call(G)!="[object Function]"&&a("mixin #"+H+" is not a callable constructor.",P):a("mixin #"+H+" is unknown. Did you use dojo.require to pull it in?",P),$=G._meta?G._meta.bases:[G],Q=0,V=$.length-1;V>=0;--V)J=$[V].prototype,J.hasOwnProperty("declaredClass")||(J.declaredClass="uniqName_"+r++),X=J.declaredClass,W.hasOwnProperty(X)||(W[X]={count:0,refs:[],cls:$[V]},++j),Y=W[X],Q&&Q!==Y&&(Y.refs.push(Q),++Q.count),Q=Y;++Q.count,O[0].refs.push(Q)}for(;O.length;){for(Q=O.pop(),L.push(Q.cls),--j;Z=Q.refs,Z.length==1;){if(Q=Z[0],!Q||--Q.count){Q=0;break}L.push(Q.cls),--j}if(Q)for(H=0,K=Z.length;H<K;++H)Q=Z[H],--Q.count||O.push(Q)}return j&&a("can't build consistent linearization",P),G=B[0],L[0]=G?G._meta&&G===L[L.length-G._meta.bases.length]?G._meta.bases.length:1:0,L}function u(B,P,L,O){var W,j,K,H,V,$,G,Q,J,Y=this._inherited=this._inherited||{};if(typeof B=="string"&&(W=B,B=P,P=L,L=O),typeof B=="function")H=B,B=P,P=L;else try{H=B.callee}catch(X){if(X instanceof TypeError)a("strict mode inherited() requires the caller function to be passed before arguments",this.declaredClass);else throw X}if(W=W||H.nom,W||a("can't deduce a name to call inherited()",this.declaredClass),L=O=0,V=this.constructor._meta,K=V.bases,J=Y.p,W!=o){if(Y.c!==H&&(J=0,$=K[0],V=$._meta,V.hidden[W]!==H)){j=V.chains,j&&typeof j[W]=="string"&&a("calling chained method with inherited: "+W,this.declaredClass);do if(V=$._meta,G=$.prototype,V&&(G[W]===H&&G.hasOwnProperty(W)||V.hidden[W]===H))break;while($=K[++J]);J=$?J:-1}if($=K[++J],$)if(G=$.prototype,$._meta&&G.hasOwnProperty(W))L=G[W];else{Q=n[W];do if(G=$.prototype,L=G[W],L&&($._meta?G.hasOwnProperty(W):L!==Q))break;while($=K[++J])}L=$&&L||n[W]}else{if(Y.c!==H&&(J=0,V=K[0]._meta,V&&V.ctor!==H)){for(j=V.chains,(!j||j.constructor!=="manual")&&a("calling chained constructor with inherited",this.declaredClass);($=K[++J])&&(V=$._meta,!(V&&V.ctor===H)););J=$?J:-1}for(;($=K[++J])&&(V=$._meta,L=V?V.ctor:$,!L););L=$&&L}if(Y.c=L,Y.p=J,L)return P===!0?L:L.apply(this,P||B)}function s(B,P,L){return typeof B=="string"?typeof P=="function"?this.__inherited(B,P,L,!0):this.__inherited(B,P,!0):typeof B=="function"?this.__inherited(B,P,!0):this.__inherited(B,!0)}function c(B,P,L,O){var W=this.getInherited(B,P,L);if(W)return W.apply(this,O||L||P||B)}var f=y.config.isDebug?c:u;function p(B){for(var P=this.constructor._meta.bases,L=0,O=P.length;L<O;++L)if(P[L]===B)return!0;return this instanceof B}function v(B,P){for(var L in P)L!=o&&P.hasOwnProperty(L)&&(B[L]=P[L]);if(m("bug-for-in-skips-shadowed"))for(var O=h._extraNames,W=O.length;W;)L=O[--W],L!=o&&P.hasOwnProperty(L)&&(B[L]=P[L])}function g(B,P){var L,O;for(L in P)O=P[L],(O!==n[L]||!(L in n))&&L!=o&&(e.call(O)=="[object Function]"&&(O.nom=L),B[L]=O);if(m("bug-for-in-skips-shadowed")&&P)for(var W=h._extraNames,j=W.length;j;)L=W[--j],O=P[L],(O!==n[L]||!(L in n))&&L!=o&&(e.call(O)=="[object Function]"&&(O.nom=L),B[L]=O);return B}function E(B){return I.safeMixin(this.prototype,B),this}function D(B,P){return B instanceof Array||typeof B=="function"||(P=B,B=void 0),P=P||{},B=B||[],I([this].concat(B),P)}function F(B,P){return function(){var L=arguments,O=L,W=L[0],j,K,H,V=B.length,$;if(!(this instanceof L.callee))return S(L);if(P&&(W&&W.preamble||this.preamble))for($=new Array(B.length),$[0]=L,K=0;W=L[0],W&&(j=W.preamble,j&&(L=j.apply(this,L)||L)),j=B[K].prototype,j=j.hasOwnProperty("preamble")&&j.preamble,j&&(L=j.apply(this,L)||L),++K!=V;)$[K]=L;for(K=V-1;K>=0;--K)j=B[K],H=j._meta,j=H?H.ctor:j,j&&j.apply(this,$?$[K]:L);j=this.postscript,j&&j.apply(this,O)}}function w(B,P){return function(){var L=arguments,O=L,W=L[0],j;if(!(this instanceof L.callee))return S(L);P&&(W&&(j=W.preamble,j&&(O=j.apply(this,O)||O)),j=this.preamble,j&&j.apply(this,O)),B&&B.apply(this,L),j=this.postscript,j&&j.apply(this,L)}}function x(B){return function(){var P=arguments,L=0,O,W;if(!(this instanceof P.callee))return S(P);for(;O=B[L];++L)if(W=O._meta,O=W?W.ctor:O,O){O.apply(this,P);break}O=this.postscript,O&&O.apply(this,P)}}function R(B,P,L){return function(){var O,W,j,K=0,H=1;for(L&&(K=P.length-1,H=-1);O=P[K];K+=H)W=O._meta,j=(W?W.hidden:O.prototype)[B],j&&j.apply(this,arguments)}}function T(B){t.prototype=B.prototype;var P=new t;return t.prototype=null,P}function S(B){var P=B.callee,L=T(P);return P.apply(L,B),L}function I(B,P,L){typeof B!="string"&&(L=P,P=B,B=""),L=L||{};var O,W,j,K,H,V,$,G=1,Q=P;if(e.call(P)=="[object Array]"?(V=i(P,B),j=V[0],G=V.length-j,P=V[G]):(V=[0],P?e.call(P)=="[object Function]"?(j=P._meta,V=V.concat(j?j.bases:P)):a("base class is not a callable constructor.",B):P!==null&&a("unknown base class. Did you use dojo.require to pull it in?",B)),P)for(W=G-1;O=T(P),!!W;--W)j=V[W],(j._meta?v:d)(O,j.prototype),m("csp-restrictions")?K=function(){}:K=new Function,K.superclass=P,K.prototype=O,P=O.constructor=K;else O={};for(I.safeMixin(O,L),j=L.constructor,j!==n.constructor&&(j.nom=o,O.constructor=j),W=G-1;W;--W)j=V[W]._meta,j&&j.chains&&($=d($||{},j.chains));if(O["-chains-"]&&($=d($||{},O["-chains-"])),P&&P.prototype&&P.prototype["-chains-"]&&($=d($||{},P.prototype["-chains-"])),j=!$||!$.hasOwnProperty(o),V[0]=K=$&&$.constructor==="manual"?x(V):V.length==1?w(L.constructor,j):F(V,j),K._meta={bases:V,hidden:L,chains:$,parents:Q,ctor:L.constructor},K.superclass=P&&P.prototype,K.extend=E,K.createSubclass=D,K.prototype=O,O.constructor=K,O.getInherited=s,O.isInstanceOf=p,O.inherited=f,O.__inherited=u,B&&(O.declaredClass=B,h.setObject(B,K)),$)for(H in $)O[H]&&typeof $[H]=="string"&&H!=o&&(j=O[H]=R(H,V,$[H]==="after"),j.nom=H);return K}return y.safeMixin=I.safeMixin=g,y.declare=I,I},_,M),_.exports=C},function(_,M,l){"use strict";/** @license React v16.11.0
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/(function(A,C){_.exports=C()})(this,function(){function A(ie){for(var ge="https://reactjs.org/docs/error-decoder.html?invariant="+ie,Ae=1;Ae<arguments.length;Ae++)ge+="&args[]="+encodeURIComponent(arguments[Ae]);return"Minified React error #"+ie+"; visit "+ge+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function C(ie,ge,Ae){this.props=ie,this.context=ge,this.refs=X,this.updater=Ae||Y}function y(){}function m(ie,ge,Ae){this.props=ie,this.context=ge,this.refs=X,this.updater=Ae||Y}function h(ie,ge,Ae){var we,Ne={},He=null,tt=null;if(ge!=null)for(we in ge.ref!==void 0&&(tt=ge.ref),ge.key!==void 0&&(He=""+ge.key),ge)ee.call(ge,we)&&!re.hasOwnProperty(we)&&(Ne[we]=ge[we]);var Xe=arguments.length-2;if(Xe===1)Ne.children=Ae;else if(1<Xe){for(var it=Array(Xe),Nt=0;Nt<Xe;Nt++)it[Nt]=arguments[Nt+2];Ne.children=it}if(ie&&ie.defaultProps)for(we in Xe=ie.defaultProps,Xe)Ne[we]===void 0&&(Ne[we]=Xe[we]);return{$$typeof:T,type:ie,key:He,ref:tt,props:Ne,_owner:q.current}}function d(ie,ge){return{$$typeof:T,type:ie.type,key:ge,ref:ie.ref,props:ie.props,_owner:ie._owner}}function n(ie){return typeof ie=="object"&&ie!==null&&ie.$$typeof===T}function e(ie){var ge={"=":"=0",":":"=2"};return"$"+(""+ie).replace(/[=:]/g,function(Ae){return ge[Ae]})}function t(ie,ge,Ae,we){if(me.length){var Ne=me.pop();return Ne.result=ie,Ne.keyPrefix=ge,Ne.func=Ae,Ne.context=we,Ne.count=0,Ne}return{result:ie,keyPrefix:ge,func:Ae,context:we,count:0}}function r(ie){ie.result=null,ie.keyPrefix=null,ie.func=null,ie.context=null,ie.count=0,10>me.length&&me.push(ie)}function o(ie,ge,Ae,we){var Ne=typeof ie;(Ne==="undefined"||Ne==="boolean")&&(ie=null);var He=!1;if(ie===null)He=!0;else switch(Ne){case"string":case"number":He=!0;break;case"object":switch(ie.$$typeof){case T:case S:He=!0}}if(He)return Ae(we,ie,ge===""?"."+i(ie,0):ge),1;if(He=0,ge=ge===""?".":ge+":",Array.isArray(ie))for(var tt=0;tt<ie.length;tt++){Ne=ie[tt];var Xe=ge+i(Ne,tt);He+=o(Ne,Xe,Ae,we)}else if(ie===null||typeof ie!="object"?Xe=null:(Xe=V&&ie[V]||ie["@@iterator"],Xe=typeof Xe=="function"?Xe:null),typeof Xe=="function")for(ie=Xe.call(ie),tt=0;!(Ne=ie.next()).done;)Ne=Ne.value,Xe=ge+i(Ne,tt++),He+=o(Ne,Xe,Ae,we);else if(Ne==="object")throw Ae=""+ie,Error(A(31,Ae==="[object Object]"?"object with keys {"+Object.keys(ie).join(", ")+"}":Ae,""));return He}function a(ie,ge,Ae){return ie==null?0:o(ie,"",ge,Ae)}function i(ie,ge){return typeof ie=="object"&&ie!==null&&ie.key!=null?e(ie.key):ge.toString(36)}function u(ie,ge,Ae){ie.func.call(ie.context,ge,ie.count++)}function s(ie,ge,Ae){var we=ie.result,Ne=ie.keyPrefix;ie=ie.func.call(ie.context,ge,ie.count++),Array.isArray(ie)?c(ie,we,Ae,function(He){return He}):ie!=null&&(n(ie)&&(ie=d(ie,Ne+(!ie.key||ge&&ge.key===ie.key?"":(""+ie.key).replace(he,"$&/")+"/")+Ae)),we.push(ie))}function c(ie,ge,Ae,we,Ne){var He="";Ae!=null&&(He=(""+Ae).replace(he,"$&/")+"/"),ge=t(ge,He,we,Ne),a(ie,s,ge),r(ge)}function f(){var ie=Z.current;if(ie===null)throw Error(A(321));return ie}function p(ie,ge){var Ae=ie.length;ie.push(ge);e:for(;;){var we=Math.floor((Ae-1)/2),Ne=ie[we];if(Ne!==void 0&&0<E(Ne,ge))ie[we]=ge,ie[Ae]=Ne,Ae=we;else break e}}function v(ie){return ie=ie[0],ie===void 0?null:ie}function g(ie){var ge=ie[0];if(ge!==void 0){var Ae=ie.pop();if(Ae!==ge){ie[0]=Ae;e:for(var we=0,Ne=ie.length;we<Ne;){var He=2*(we+1)-1,tt=ie[He],Xe=He+1,it=ie[Xe];if(tt!==void 0&&0>E(tt,Ae))it!==void 0&&0>E(it,tt)?(ie[we]=it,ie[Xe]=Ae,we=Xe):(ie[we]=tt,ie[He]=Ae,we=He);else if(it!==void 0&&0>E(it,Ae))ie[we]=it,ie[Xe]=Ae,we=Xe;else break e}}return ge}return null}function E(ie,ge){var Ae=ie.sortIndex-ge.sortIndex;return Ae!==0?Ae:ie.id-ge.id}function D(ie){for(var ge=v(kt);ge!==null;){if(ge.callback===null)g(kt);else if(ge.startTime<=ie)g(kt),ge.sortIndex=ge.expirationTime,p(Bt,ge);else break;ge=v(kt)}}function F(ie){if(le=!1,D(ie),!Vt)if(v(Bt)!==null)Vt=!0,Se(w);else{var ge=v(kt);ge!==null&&Be(F,ge.startTime-ie)}}function w(ie,ge){Vt=!1,le&&(le=!1,ke()),Ut=!0;var Ae=At;try{for(D(ge),st=v(Bt);st!==null&&(!(st.expirationTime>ge)||ie&&!Ge());){var we=st.callback;if(we!==null){st.callback=null,At=st.priorityLevel;var Ne=we(st.expirationTime<=ge);ge=ve(),typeof Ne=="function"?st.callback=Ne:st===v(Bt)&&g(Bt),D(ge)}else g(Bt);st=v(Bt)}if(st!==null)var He=!0;else{var tt=v(kt);tt!==null&&Be(F,tt.startTime-ge),He=!1}return He}finally{st=null,At=Ae,Ut=!1}}function x(ie){switch(ie){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var R=typeof Symbol=="function"&&Symbol.for,T=R?Symbol.for("react.element"):60103,S=R?Symbol.for("react.portal"):60106,I=R?Symbol.for("react.fragment"):60107,B=R?Symbol.for("react.strict_mode"):60108,P=R?Symbol.for("react.profiler"):60114,L=R?Symbol.for("react.provider"):60109,O=R?Symbol.for("react.context"):60110,W=R?Symbol.for("react.forward_ref"):60112,j=R?Symbol.for("react.suspense"):60113;R&&Symbol.for("react.suspense_list");var K=R?Symbol.for("react.memo"):60115,H=R?Symbol.for("react.lazy"):60116;R&&Symbol.for("react.fundamental"),R&&Symbol.for("react.responder"),R&&Symbol.for("react.scope");var V=typeof Symbol=="function"&&Symbol.iterator,$=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,J=function(){try{if(!Object.assign)return!1;var ie=new String("abc");if(ie[5]="de",Object.getOwnPropertyNames(ie)[0]==="5")return!1;var ge={};for(ie=0;10>ie;ie++)ge["_"+String.fromCharCode(ie)]=ie;if(Object.getOwnPropertyNames(ge).map(function(we){return ge[we]}).join("")!=="0123456789")return!1;var Ae={};return"abcdefghijklmnopqrst".split("").forEach(function(we){Ae[we]=we}),Object.keys(Object.assign({},Ae)).join("")==="abcdefghijklmnopqrst"}catch(we){return!1}}()?Object.assign:function(ie,ge){if(ie==null)throw new TypeError("Object.assign cannot be called with null or undefined");for(var Ae=Object(ie),we,Ne=1;Ne<arguments.length;Ne++){var He=Object(arguments[Ne]);for(var tt in He)G.call(He,tt)&&(Ae[tt]=He[tt]);if($){we=$(He);for(var Xe=0;Xe<we.length;Xe++)Q.call(He,we[Xe])&&(Ae[we[Xe]]=He[we[Xe]])}}return Ae},Y={isMounted:function(ie){return!1},enqueueForceUpdate:function(ie,ge,Ae){},enqueueReplaceState:function(ie,ge,Ae,we){},enqueueSetState:function(ie,ge,Ae,we){}},X={};C.prototype.isReactComponent={},C.prototype.setState=function(ie,ge){if(typeof ie!="object"&&typeof ie!="function"&&ie!=null)throw Error(A(85));this.updater.enqueueSetState(this,ie,ge,"setState")},C.prototype.forceUpdate=function(ie){this.updater.enqueueForceUpdate(this,ie,"forceUpdate")},y.prototype=C.prototype,R=m.prototype=new y,R.constructor=m,J(R,C.prototype),R.isPureReactComponent=!0;var Z={current:null},q={current:null},ee=Object.prototype.hasOwnProperty,re={key:!0,ref:!0,__self:!0,__source:!0},he=/\/+/g,me=[],se;if(typeof window=="undefined"||typeof MessageChannel!="function"){var te=null,oe=null,ue=function(){if(te!==null)try{var ie=ve();te(!0,ie),te=null}catch(ge){throw setTimeout(ue,0),ge}},ce=Date.now(),ve=function(){return Date.now()-ce},Se=function(ie){te!==null?setTimeout(Se,0,ie):(te=ie,setTimeout(ue,0))},Be=function(ie,ge){oe=setTimeout(ie,ge)},ke=function(){clearTimeout(oe)},Ge=function(){return!1};R=se=function(){}}else{var rt=window.performance,ut=window.Date,ht=window.setTimeout,dt=window.clearTimeout;R=window.requestAnimationFrame;var Tt=window.cancelAnimationFrame;if(typeof console!="undefined"&&(typeof R!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof Tt!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),typeof rt=="object"&&typeof rt.now=="function")ve=function(){return rt.now()};else{var Ot=ut.now();ve=function(){return ut.now()-Ot}}var Ct=!1,jt=null,Lt=-1,Qt=5,bt=0;Ge=function(){return ve()>=bt},R=function(){},se=function(ie){0>ie||125<ie?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):Qt=0<ie?Math.floor(1e3/ie):33.33},Tt=new MessageChannel;var pt=Tt.port2;Tt.port1.onmessage=function(){if(jt!==null){var ie=ve();bt=ie+Qt;try{jt(!0,ie)?pt.postMessage(null):(Ct=!1,jt=null)}catch(ge){throw pt.postMessage(null),ge}}else Ct=!1},Se=function(ie){jt=ie,Ct||(Ct=!0,pt.postMessage(null))},Be=function(ie,ge){Lt=ht(function(){ie(ve())},ge)},ke=function(){dt(Lt),Lt=-1}}var Bt=[],kt=[],sn=1,st=null,At=3,Ut=!1,Vt=!1,le=!1,De=0;return Tt={ReactCurrentDispatcher:Z,ReactCurrentOwner:q,IsSomeRendererActing:{current:!1},assign:J},J(Tt,{Scheduler:{unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(ie,ge){switch(ie){case 1:case 2:case 3:case 4:case 5:break;default:ie=3}var Ae=At;At=ie;try{return ge()}finally{At=Ae}},unstable_next:function(ie){switch(At){case 1:case 2:case 3:var ge=3;break;default:ge=At}var Ae=At;At=ge;try{return ie()}finally{At=Ae}},unstable_scheduleCallback:function(ie,ge,Ae){var we=ve();if(typeof Ae=="object"&&Ae!==null){var Ne=Ae.delay;Ne=typeof Ne=="number"&&0<Ne?we+Ne:we,Ae=typeof Ae.timeout=="number"?Ae.timeout:x(ie)}else Ae=x(ie),Ne=we;return Ae=Ne+Ae,ie={id:sn++,callback:ge,priorityLevel:ie,startTime:Ne,expirationTime:Ae,sortIndex:-1},Ne>we?(ie.sortIndex=Ne,p(kt,ie),v(Bt)===null&&ie===v(kt)&&(le?ke():le=!0,Be(F,Ne-we))):(ie.sortIndex=Ae,p(Bt,ie),Vt||Ut||(Vt=!0,Se(w))),ie},unstable_cancelCallback:function(ie){ie.callback=null},unstable_wrapCallback:function(ie){var ge=At;return function(){var Ae=At;At=ge;try{return ie.apply(this,arguments)}finally{At=Ae}}},unstable_getCurrentPriorityLevel:function(){return At},unstable_shouldYield:function(){var ie=ve();D(ie);var ge=v(Bt);return ge!==st&&st!==null&&ge!==null&&ge.callback!==null&&ge.startTime<=ie&&ge.expirationTime<st.expirationTime||Ge()},unstable_requestPaint:R,unstable_continueExecution:function(){Vt||Ut||(Vt=!0,Se(w))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return v(Bt)},get unstable_now(){return ve},get unstable_forceFrameRate(){return se},unstable_Profiling:null},SchedulerTracing:{get __interactionsRef(){return null},get __subscriberRef(){return null},unstable_clear:function(ie){return ie()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++De},unstable_trace:function(ie,ge,Ae){return Ae()},unstable_wrap:function(ie){return ie},unstable_subscribe:function(ie){},unstable_unsubscribe:function(ie){}}}),I={Children:{map:function(ie,ge,Ae){if(ie==null)return ie;var we=[];return c(ie,we,null,ge,Ae),we},forEach:function(ie,ge,Ae){if(ie==null)return ie;ge=t(null,null,ge,Ae),a(ie,u,ge),r(ge)},count:function(ie){return a(ie,function(){return null},null)},toArray:function(ie){var ge=[];return c(ie,ge,null,function(Ae){return Ae}),ge},only:function(ie){if(!n(ie))throw Error(A(143));return ie}},createRef:function(){return{current:null}},Component:C,PureComponent:m,createContext:function(ie,ge){return ge===void 0&&(ge=null),ie={$$typeof:O,_calculateChangedBits:ge,_currentValue:ie,_currentValue2:ie,_threadCount:0,Provider:null,Consumer:null},ie.Provider={$$typeof:L,_context:ie},ie.Consumer=ie},forwardRef:function(ie){return{$$typeof:W,render:ie}},lazy:function(ie){return{$$typeof:H,_ctor:ie,_status:-1,_result:null}},memo:function(ie,ge){return{$$typeof:K,type:ie,compare:ge===void 0?null:ge}},useCallback:function(ie,ge){return f().useCallback(ie,ge)},useContext:function(ie,ge){return f().useContext(ie,ge)},useEffect:function(ie,ge){return f().useEffect(ie,ge)},useImperativeHandle:function(ie,ge,Ae){return f().useImperativeHandle(ie,ge,Ae)},useDebugValue:function(ie,ge){},useLayoutEffect:function(ie,ge){return f().useLayoutEffect(ie,ge)},useMemo:function(ie,ge){return f().useMemo(ie,ge)},useReducer:function(ie,ge,Ae){return f().useReducer(ie,ge,Ae)},useRef:function(ie){return f().useRef(ie)},useState:function(ie){return f().useState(ie)},Fragment:I,Profiler:P,StrictMode:B,Suspense:j,createElement:h,cloneElement:function(ie,ge,Ae){if(ie==null)throw Error(A(267,ie));var we=J({},ie.props),Ne=ie.key,He=ie.ref,tt=ie._owner;if(ge!=null){if(ge.ref!==void 0&&(He=ge.ref,tt=q.current),ge.key!==void 0&&(Ne=""+ge.key),ie.type&&ie.type.defaultProps)var Xe=ie.type.defaultProps;for(it in ge)ee.call(ge,it)&&!re.hasOwnProperty(it)&&(we[it]=ge[it]===void 0&&Xe!==void 0?Xe[it]:ge[it])}var it=arguments.length-2;if(it===1)we.children=Ae;else if(1<it){Xe=Array(it);for(var Nt=0;Nt<it;Nt++)Xe[Nt]=arguments[Nt+2];we.children=Xe}return{$$typeof:T,type:ie.type,key:Ne,ref:He,props:we,_owner:tt}},createFactory:function(ie){var ge=h.bind(null,ie);return ge.type=ie,ge},isValidElement:n,version:"16.11.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Tt},I=(B={default:I},I||B),I.default||I})},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({CELL:"cellComponent",ROW:"rowComponent",TBODY:"tbodyComponent",TOOLTIP:"TooltipComponent"}),m=Object.freeze({ACTIVE_RANGE:"activerange",SELECT_HEADERS:"selectHeaders",SELECT_ROW_HEADERS:"selectRowHeaders",SELECT_CELLS:"selectCells",ROW_HEIGHT:"rowHeight",COL_WIDTH:"colWidth",tableFlexWidth:"tableFlexWidth",origHeaders:"origHeaders",tableBottomLeftAffordanceHeight:"tableBottomLeftAffordanceHeight",TABLE_AFFORDANCE_WIDTH:"tableAffordanceWidth",COLUMN_RESIZED:"columnResized",colResize:"colResize",displaySearch:"displaySearch",dragAndDrop:"dragAndDrop",dragColumns:"dragColumns",dragRows:"dragRows",setDragData:"setDragData",setAvatar:"setAvatar",receiveDrop:"receiveDrop",dragInProgress:"dragInProgress",displayRowHeader:"displayRowHeader",HIDE_COLUMN_HEADER:"hideColumnHeader",DISPLAY_COLUMN_INDEX:"displayColumnIndex",DISPLAY_COLUMN_LABEL:"displayColumnLabel",DISPLAY_ROW_HEADER_INDICES:"displayIndices",rowHeaderWidth:"rowHeaderWidth",CAN_SCROLL_HORIZONTAL:"scrollHorizontal",INTERACTIVE_CHANGE:"interactiveChange",ROW_HEADER_NODE:"rowHeaderNode",VIEWPORT_CHANGED:"viewportChanged",SET_SCROLL_TOP:"setScrollTop",SCROLL_COMPONENT_WIDTH:"scrollComponentWidth",SCROLL_CONTAINER:"scrollComponent",TOTAL_COLUMN_WIDTH:"totalColumnWidth",TBODY:"tbody",TABLE_WIDTH:"tableWidth",VIEWPORT_CONTAINER:"viewportContainer",TRANSLATE_X:"translateX",LOGICAL_VIEWPORT:"logicalViewport",TABLE_DISABLED:"tableDisabled",REGISTRATION:"registration",state:{VIEWPORT_CHANGED:"viewportChanged"},publisher:{ROW_HEADER:"rowHeader",SCROLL_BAR_HEIGHT:"scrollBarHeight",SCROLL_BAR_WIDTH:"scrollBarWidth",TOOLTIP_DISMISS:"tooltipDismiss",HEADER_TRANSX:"headerTranslateX",HEADER_ROW_HEIGHT:"headerRowHeight",HEADER_ROW_WIDTH:"headerRowWidth",TOP_LEFT_ROW_HEADER:"topLeftHeaderWidth",SCROLL_COMPONENT_LEFT:"scrollComponentLeft",TRANSFORM_Y_AND_HEIGHT:"translatyeY_Height"},subscriber:{ROW_HEADER_PARENT:"rowHeaderParent",ROW_HEADER:"rowHeader",TOP_LEFT:"topLeft",TOOLTIP_ENTER:"tooltipEnter",TOOLTIP_LEAVE:"tooltipLeave",TOOLTIP_GLOBAL_LEAVE:"tooltipGlobalLeave",INSERTION_TABLE_BODY:"insertionBody",INSERTION_COLUMN_HEADER:"insertionColumnHeader",DRAG_LEAVE:"dragLeave",DND_START:"dndStart",TABLE_BOTTOM_LEFT_AFFORDANCE:"tableBottomLeftAffordance",HEADER_RIGHT_AFFORDANCE:"headerRightAffordance",TABLE_HAS_VERT_SCROLL:"tableHasVertScroll",HEADER_MIN_HEIGHT:"headerMinHeight",HEADER_TRANSFORMX:"headerTransformX",TBODY_TRANSFORM:"tbodyTransform",TABLE_WIDTH:"tableWidth",HEADER_WIDTH:"headerWidth",TBODY_TRANSFORM_Y:"tBodytransformY",TABLE_HEIGHT:"tableHeight"},protected:{VIEW_DATA:"viewData",ROW_METADATA:"rowMetaData",FIT_LAST_COLUMN:"fitLastColumn",COLLAPSE_COLUMN:"collapseColumn",component:y,UPDATE_CUSTOM_PROPS_FUNC:"updateCUstomPropsFunction",INIT_CUSTOM_PROPS_FUNC:"initializeCustomPropsFunction",PENDING_FOCUS_FUNC:"pendingFuncForView",FOCUSED:"focused",SELECTED:"selected",testId:"data-test-id",SORTED:"_sortIndicator",SORTABLE:"sortable",SORT_BEHAVIOUR:"sortBehaviour",DATASTORE_MANAGE_SELECTION:"dataStoreManageSelection",CLEAR_SORT:"clearSort",WIDGET_TYPE:"widgetType",TYPE:{TABLE:"Table",TREETABLE:"TreeTable"},HEADER_MENU_AFFORDANCE:"headerMenuAffordance",ACTIVE_CELL:"activeCell",PIVOT:"pivot",EDIT_STATE:"editState",EDIT_TRIGGER:"editTrigger",publisher:{CELL_ENTER:"cellEnter",DND_IN_ACTION:"dndInAction"},GRID_STYLE:"gridStyle",GROUPED_COLUMN_HEADERS:"groupedColumnHeaders",COLUMN_CONFIG:"colconfig",COL_EDIT_STATE:"colEditState",ROW_HEADER_EDIT_STATE:"rowEditState",EDIT_VALIDATION:"editValidation",EDIT_PROCESSING:"editProcessing",USE_DATA_FIELDS:"useEditorRendererDataFields",RESIZE_SELECTION:"resizeSelection",REORDER_ROWS:"reorderRows",REPARENT_ROWS:"reparentRows",CAN_DRAG:"canDrag",CAN_DROP:"canDrop",TREE_COLUMN_INFO:"treeColumnInfo"}});return m},_,M),_.exports=C},function(_,M,l){var A,C;A=[l.dj.h("dom-addeventlistener?:17"),l(6),l(18)],C=l.dj.d(A,function(y,m,h){"use strict";if(h("dom")){var d=window.ScriptEngineMajorVersion;h.add("jscript",d&&d()+ScriptEngineMinorVersion()/10),h.add("event-orientationchange",h("touch")&&!h("android")),h.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),h.add("event-focusin",function(T,S,I){return"onfocusin"in I}),h("touch")&&h.add("touch-can-modify-event-delegate",function(){var T=function(){};T.prototype=document.createEvent("MouseEvents");try{var S=new T;return S.target=null,S.target===null}catch(I){return!1}})}var n=function(T,S,I,B){return typeof T.on=="function"&&typeof S!="function"&&!T.nodeType?T.on(S,I):n.parse(T,S,I,t,B,this)};n.pausable=function(T,S,I,B){var P,L=n(T,S,function(){if(!P)return I.apply(this,arguments)},B);return L.pause=function(){P=!0},L.resume=function(){P=!1},L},n.once=function(T,S,I,B){var P=n(T,S,function(){return P.remove(),I.apply(this,arguments)});return P},n.parse=function(T,S,I,B,P,L){var O;if(S.call)return S.call(L,T,I);if(S instanceof Array?O=S:S.indexOf(",")>-1&&(O=S.split(/\s*,\s*/)),O){for(var W=[],j=0,K;K=O[j++];)W.push(n.parse(T,K,I,B,P,L));return W.remove=function(){for(var H=0;H<W.length;H++)W[H].remove()},W}return B(T,S,I,P,L)};var e=/^touch/;function t(T,S,I,B,P){var L=S.match(/(.*):(.*)/);if(L)return S=L[2],L=L[1],n.selector(L,S).call(P,T,I);if(h("touch")&&(e.test(S)&&(I=R(I)),!h("event-orientationchange")&&S=="orientationchange"&&(S="resize",T=window,I=R(I))),c&&(I=c(I)),T.addEventListener){var O=S in u,W=O?u[S]:S;return T.addEventListener(W,I,O),{remove:function(){T.removeEventListener(W,I,O)}}}if(S="on"+S,g&&T.attachEvent)return g(T,S,I);throw new Error("Target must be an event emitter")}n.matches=function(T,S,I,B,P){for(P=P&&typeof P.matches=="function"?P:m.query,B=B!==!1,T.nodeType!=1&&(T=T.parentNode);!P.matches(T,S,I);)if(T==I||B===!1||!(T=T.parentNode)||T.nodeType!=1)return!1;return T},n.selector=function(T,S,I){return function(B,P){var L=typeof T=="function"?{matches:T}:this,O=S.bubble;function W(j){return n.matches(j,T,B,I,L)}return O?n(B,O(W),P):n(B,S,function(j){var K=W(j.target);if(K)return j.selectorTarget=K,P.call(K,j)})}};function r(){this.cancelable=!1,this.defaultPrevented=!0}function o(){this.bubbles=!1}var a=[].slice,i=n.emit=function(T,S,I){var B=a.call(arguments,2),P="on"+S;if("parentNode"in T){var L=B[0]={};for(var O in I)L[O]=I[O];L.preventDefault=r,L.stopPropagation=o,L.target=T,L.type=S,I=L}do T[P]&&T[P].apply(T,B);while(I&&I.bubbles&&(T=T.parentNode));return I&&I.cancelable&&I},u=h("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!h("event-stopimmediatepropagation"))var s=function(){this.immediatelyStopped=!0,this.modified=!0},c=function(T){return function(S){if(!S.immediatelyStopped)return S.stopImmediatePropagation=s,T.apply(this,arguments)}};if(h("dom-addeventlistener"))n.emit=function(T,S,I){if(T.dispatchEvent&&document.createEvent){var B=T.ownerDocument||document,P=B.createEvent("HTMLEvents");P.initEvent(S,!!I.bubbles,!!I.cancelable);for(var L in I)L in P||(P[L]=I[L]);return T.dispatchEvent(P)&&P}return i.apply(n,arguments)};else{n._fixEvent=function(T,S){if(!T){var I=S&&(S.ownerDocument||S.document||S).parentWindow||window;T=I.event}if(!T)return T;try{f&&T.type==f.type&&T.srcElement==f.target&&(T=f)}catch(P){}if(!T.target)switch(T.target=T.srcElement,T.currentTarget=S||T.srcElement,T.type=="mouseover"&&(T.relatedTarget=T.fromElement),T.type=="mouseout"&&(T.relatedTarget=T.toElement),T.stopPropagation||(T.stopPropagation=D,T.preventDefault=F),T.type){case"keypress":var B="charCode"in T?T.charCode:T.keyCode;B==10?(B=0,T.keyCode=13):B==13||B==27?B=0:B==3&&(B=99),T.charCode=B,E(T);break}return T};var f,p=function(T){this.handle=T};p.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var v=function(T){return function(S){S=n._fixEvent(S,this);var I=T.call(this,S);return S.modified&&(f||setTimeout(function(){f=null}),f=S),I}},g=function(T,S,I){if(I=v(I),((T.ownerDocument?T.ownerDocument.parentWindow:T.parentWindow||T.window||window)!=top||h("jscript")<5.8)&&!h("config-_allow_leaks")){typeof _dojoIEListeners_=="undefined"&&(_dojoIEListeners_=[]);var B=T[S];if(!B||!B.listeners){var P=B;B=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}"),B.listeners=[],T[S]=B,B.global=this,P&&B.listeners.push(_dojoIEListeners_.push(P)-1)}var L;return B.listeners.push(L=B.global._dojoIEListeners_.push(I)-1),new p(L)}return y.after(T,S,I,!0)},E=function(T){T.keyChar=T.charCode?String.fromCharCode(T.charCode):"",T.charOrCode=T.keyChar||T.keyCode},D=function(){this.cancelBubble=!0},F=n._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(T){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}}if(h("touch"))var w=function(){},x=window.orientation,R=function(T){return function(S){var I=S.corrected;if(!I){var B=S.type;try{delete S.type}catch(W){}if(S.type){if(h("touch-can-modify-event-delegate"))w.prototype=S,I=new w;else{I={};for(var P in S)I[P]=S[P]}I.preventDefault=function(){S.preventDefault()},I.stopPropagation=function(){S.stopPropagation()}}else I=S,I.type=B;if(S.corrected=I,B=="resize")return x==window.orientation?null:(x=window.orientation,I.type="orientationchange",T.call(this,I));if("rotation"in I||(I.rotation=0,I.scale=1),window.TouchEvent&&S instanceof TouchEvent){var L=I.changedTouches[0];for(var O in L)delete I[O],I[O]=L[O]}}return T.call(this,I)}};return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({ScrollComponentMounted:"scrollMounted",internal:{SCROLL_COMPONENT_MOUNTED:"scrollMounted",SCROLL_COMPONENT_UPDATED:"scrollUpdated",INTERACTIVE_CELL_CLICK:"interactiveCellClick",TABLE_RESIZE:"tableResized",COL_RESIZE_DONE:"colResized",TABLE_MOUNT:"tableMounted",TABLE_SCROLL:"tableScroll",NODE_PUBLISH:"nodePublish",NODE_SUBSCRIBE:"nodeSubscribe",NODE_UNSUBSCRIBE:"nodeUnsubscribe",BUFFER_DATA:"viewDataChanged",DATA_SIZE:"dataSizeChanged",ROW_META:"pagedRowMetaDataChanged",TBODY_MOUNT:"tbodyMount",COL_HEADER_UPDATE:"colHeaderUpdate",SET_LAST_COLUMN:"setLastColumn",COMPUTE_TRANSLATEX:"computeTranslateX",COMPUTE_TRANSLATEY_AND_HEIGHT:"computeTranslateY_Height",TABLE_WIDTH:"tableWidth",TABLE_RIGHT_CLICK:"tableRightClick",SELECTION_EVENT:"selectionEvent",DRAG_STARTED:"dragStarted",DRAG_END:"dragEnd",COLUMN_REORDERED:"columnReordered",ROW_DROPPED:"rowDropped",TABLE_KEY_PRESS:"tableKeyPress",CLIPBOARD_CUT:"clipboardCut",CLIPBOARD_COPY:"clipboardCopy",CLIPBOARD_PASTE:"clipboardPaste",DATA_SORTED:"dataSorted",DATASTORE_SELECTION:"dataStoreSelection",UPDATE_SORTSTATE:"_updateSortState",SCROLL_CHANGED:"scrollChanged"},exposed:{SELECTION_CHANGED:"selectionChanged",HEADER_MENU:"headerMenuRequested",SELECTED_ACTION:"selectedAction",CONTEXT_MENU:"contextMenu",COLUMN_RESIZED:"columnResized",DOUBLE_CLICKED:"doubleClicked",ICON_ACTION:"iconAction",DROP_IN_PROGRESS:"dropInProgress",DROP_COMPLETED:"dropCompleted",DROP_FAILED:"dropFailed",SCROLL_VIEW_CHANGED:"scrollViewChanged"},protected:{TABLE_CELL_CLICK:"tableCellClick",TABLE_DBL_CLICK:"tableDblClick",KEY_PRESS:"keyPress",TABLE_CELL_FOCUS:"tableCellFocus",CELL_DOM_FOCUS_CACHE:"cellDomFocusCache",CELL_FOCUS_KEY:"cellFocusKeyPress",CELL_FOCUS_CLICK:"cellFocusClick",CELL_SELECTION_CLICK:"cellSelectionClick",CELL_SELECTION_KEY:"cellSelectionKeyPress",CELL_DBL_CLICK:"cellDoubleClick",TABLE_SELECTED_ACTION:"tableSelectedAction",NODE_NOTIFY:"nodeNotify",FORCE_LAYOUT:"forceLayout",HEADER_RECTS:"headerRects",ROW_CELL_RECTS:"rowCellRects",ROW_RECTS:"rowRects",COL_HEADER_CLICK:"colHeaderClick",ROW_SELECTION_CLICK:"rowSelectionClick",HEADER_CLICKED:"headerClicked",DOCUMENT_MOUSE_MOVE_INTERVAL:"docMouseMoveInterval",DATA_AREA_MOUSE_MOVE:"dataAreaMouseMove",DOCUMENT_MOUSE_UP:"docMouseUp",SORT_AFFORDANCE_CLICKED:"sortAffordanceClicked",TABLE_COLUMN_SORT:"tableColumnSort",COL_RESIZE:"colResize",COL_HEADER_MOUNT:"colHeaderDidMount",RESIZE_SELECTION_BEGIN:"ResizeSelectionBegin",RESIZE_SELECTION_END:"ResizeSelectionEnd"}});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(103),l(8),l(26),l.dj.c(_.i),l.dj.m(_)],C=l.dj.d(A,function(y,m,h,d,n){var e,t,r={},o={},a={config:h,global:y,dijit:r,dojox:o},i={dojo:["dojo",a],dijit:["dijit",r],dojox:["dojox",o]},u=d.map&&d.map[n.id.match(/[^\/]+/)[0]],s;for(t in u)i[t]?i[t][0]=u[t]:i[t]=[u[t],{}];for(t in i)s=i[t],s[1]._scopeName=s[0],h.noGlobals||(y[s[0]]=s[1]);a.scopeMap=i,a.baseUrl=a.config.baseUrl=d.baseUrl,a.isAsync=!m("dojo-loader")||d.async,a.locale=h.locale;var c="$Rev:$".match(/[0-9a-f]{7,}/);if(a.version={major:1,minor:17,patch:1,flag:"",revision:c?c[0]:NaN,toString:function(){var g=a.version;return g.major+"."+g.minor+"."+g.patch+g.flag+" ("+g.revision+")"}},m.add("extend-dojo",1),m("csp-restrictions")||Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(a),m("host-rhino")?a.exit=function(g){quit(g)}:a.exit=function(){},m("host-webworker")||m.add("dojo-guarantee-console",1),m("dojo-guarantee-console")){m.add("console-as-object",function(){return Function.prototype.bind&&console&&typeof console.log=="object"}),typeof console!="undefined"||(console={});var f=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"],p;for(e=0;p=f[e++];)console[p]?m("console-as-object")&&(console[p]=Function.prototype.bind.call(console[p],console)):function(){var g=p+"";console[g]="log"in console?function(){var E=Array.prototype.slice.call(arguments);E.unshift(g+":"),console.log(E.join(" "))}:function(){},console[g]._fake=!0}()}if(m.add("dojo-debug-messages",!!h.isDebug),a.deprecated=a.experimental=function(){},m("dojo-debug-messages")&&(a.deprecated=function(g,E,D){var F="DEPRECATED: "+g;E&&(F+=" "+E),D&&(F+=" -- will be removed in version: "+D),console.warn(F)},a.experimental=function(g,E){var D="EXPERIMENTAL: "+g+" -- APIs subject to change without notice.";E&&(D+=" "+E),console.warn(D)}),m.add("dojo-modulePaths",1),m("dojo-modulePaths")&&h.modulePaths){a.deprecated("dojo.modulePaths","use paths configuration");var v={};for(t in h.modulePaths)v[t.replace(/\./g,"/")]=h.modulePaths[t];d({paths:v})}return m.add("dojo-moduleUrl",1),m("dojo-moduleUrl")&&(a.moduleUrl=function(g,E){a.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var D=null;return g&&(D=d.toUrl(g.replace(/\./g,"/")+(E?"/"+E:"")+"/*.*").replace(/\/\*\.\*/,"")+(E?"":"/")),D}),a._hasResource={},a},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(i){return i===0||i>0},d=function(i,u){if(!h(i))throw new Error("Invalid start value set");if(!h(u)&&(i!==0||u!==-1))throw new Error("Invalid end value set");var s={};return Object.defineProperty(s,"start",{value:i,enumerable:!0}),Object.defineProperty(s,"end",{value:u,enumerable:!0}),Object.defineProperty(s,"count",{value:u-i+1,enumerable:!0}),s},n=function(i,u){return u.start<=i.end&&u.end>=i.start},e=function(i,u,s,c){return new r(s,c,i,u)},t=function(i,u,s,c){return new r(i,u,s,c)},r=function(){function a(i,u,s,c){m(this,a),Object.defineProperties(this,{rows:{value:d(i,u),enumerable:!0},columns:{value:d(s,c),enumerable:!0}})}return y(a,[{key:"setEntireColumns",value:function(u,s){return s===void 0&&(s=u),new a(0,1/0,u,s)}},{key:"setEntireRows",value:function(u,s){return s===void 0&&(s=u),new a(u,s,0,1/0)}},{key:"setColumns",value:function(u,s){return new a(this.rows.start,this.rows.end,u,s)}},{key:"setRows",value:function(u,s){return new a(u,s,this.columns.start,this.columns.end)}},{key:"column",get:function(){return this.columns.start===this.columns.end&&this.rows.start===0&&this.rows.end===1/0?this.columns.start:null}},{key:"row",get:function(){return this.rows.start===this.rows.end&&this.columns.start===0&&this.columns.end===1/0?this.rows.start:null}}]),a}();Object.defineProperty(r.prototype,"row",{enumerable:!0}),Object.defineProperty(r.prototype,"column",{enumerable:!0});var o=function(){function a(){m(this,a)}return y(a,null,[{key:"range",value:function(){return new r(0,-1,0,-1)}},{key:"doesRangeListIntersect",value:function(u,s){for(var c=0;c<u.length;c+=1)for(var f=0;f<s.length;f+=1)if(a.doesRangeIntersect(u[c],s[f]))return!0;return!1}},{key:"doesRangeIntersect",value:function(u,s){return u.columns.start<=s.columns.end&&u.columns.end>=s.columns.start&&u.rows.start<=s.rows.end&&u.rows.end>=s.rows.start}},{key:"isRangeEqual",value:function(u,s){return u===s||u.columns.start===s.columns.start&&u.columns.end===s.columns.end&&u.rows.start===s.rows.start&&u.rows.end===s.rows.end}},{key:"isRangeInside",value:function(u,s){return u===s||u.columns.start<=s.columns.start&&u.columns.end>=s.columns.end&&u.rows.start<=s.rows.start&&u.rows.end>=s.rows.end}},{key:"isRowRange",value:function(u){return u.columns.start===0&&u.columns.end===1/0}},{key:"isColumnRange",value:function(u){return u.rows.start===0&&u.rows.end===1/0}},{key:"groupRangeListByRow",value:function(u){return a._groupRangeList(u,"rows")}},{key:"groupRangeListByColumn",value:function(u){return a._groupRangeList(u,"columns")}},{key:"removeRowsFromRangeList",value:function(u,s){return a._removeIntervalFromRank("rows",u,s,t)}},{key:"removeColumnsFromRangeList",value:function(u,s){return a._removeIntervalFromRank("columns",u,s,e)}},{key:"removeRangeFromRangeList",value:function(u,s){for(var c=[],f=0;f<u.length;f+=1)c=c.concat(a._removeIntersection(u[f],s));return c}},{key:"isRangeInsideRangeList",value:function(u,s){for(var c=[u],f=0;f<s.length&&c.length>0;f+=1){var p=s[f];c=a.removeRangeFromRangeList(c,p)}return c.length===0}},{key:"_removeIntersection",value:function(u,s){var c=[{rank:"columns",secondaryRank:"rows",makeRange:e},{rank:"rows",secondaryRank:"columns",makeRange:t}],f=u,p=[];return a.doesRangeIntersect(u,s)?c.forEach(function(v){var g=v.rank,E=v.secondaryRank,D=v.makeRange,F=f[g],w=s[g],x=[f[E].start,f[E].end];F.start<w.start&&(p.push(D.apply(void 0,[F.start,w.start-1].concat(x))),f=D.apply(void 0,[w.start,F.end].concat(x))),w.end<F.end&&(p.push(D.apply(void 0,[w.end+1,F.end].concat(x))),f=D.apply(void 0,[f[g].start,w.end].concat(x)))}):p=[u],p}},{key:"_removeIntervalFromRank",value:function(u,s,c,f){var p="columns",v=[];u==="columns"&&(p="rows");for(var g=0;g<s.length;g+=1){var E=s[g],D=E[u],F=D.start,w=D.end,x=[E[p].start,E[p].end];n(E[u],c)?E[u].end<=c.end&&E[u].start>=c.start||(E[u].start>=c.start?v.push(f.apply(void 0,[c.end+1,w].concat(x))):E[u].end<=c.end?v.push(f.apply(void 0,[F,c.start-1].concat(x))):(v.push(f.apply(void 0,[F,c.start-1].concat(x))),v.push(f.apply(void 0,[c.end+1,w].concat(x))))):v.push(E)}return v}},{key:"_groupRangeList",value:function(u,s){var c=[],f={};return u.forEach(function(p){var v=a._hashRankFromRange(p,s),g=f[v];g>=0?c[g].push(p):(g=c.length,f[v]=g,c[g]=[p])}),c}},{key:"_hashRankFromRange",value:function(u,s){var c=u[s].start,f=u[s].end,p=u[s].count;return p===0?-1:f*f+f+c}}]),a}();return o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(103),l.dj.c(_.i),l.dj.m(_)],C=l.dj.d(A,function(y,m,h){var d=m.has||function(){};if(!d("dojo-has-api")){var n=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,e=n&&document,t=e&&e.createElement("DiV"),r=h.config&&h.config()||{};d=function(a){return typeof r[a]=="function"?r[a]=r[a](y,e,t):r[a]},d.cache=r,d.add=function(a,i,u,s){return(typeof r[a]=="undefined"||s)&&(r[a]=i),u&&d(a)},d.add("host-browser",n),d.add("host-node",typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8),d.add("host-rhino",typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")),d.add("dom",n),d.add("dojo-dom-ready-api",1),d.add("dojo-sniff",1)}if(d("host-browser")){d.add("dom-addeventlistener",!!document.addEventListener),d.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),d.add("touch-events","ontouchstart"in document),d.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window),d.add("MSPointer",window.navigator.msPointerEnabled),d.add("touch-action",d("touch")&&d("pointer-events")),d.add("device-width",screen.availWidth||innerWidth);var o=document.createElement("form");d.add("dom-attributes-explicit",o.attributes.length==0),d.add("dom-attributes-specified-flag",o.attributes.length>0&&o.attributes.length<40)}return d.clearElement=function(a){return a.innerHTML="",a},d.normalize=function(a,i){var u=a.match(/[\?:]|[^:\?]*/g),s=0,c=function(f){var p=u[s++];return p==":"?0:u[s++]=="?"?!f&&d(p)?c():(c(!0),c(f)):p||0};return a=c(),a&&i(a)},d.load=function(a,i,u){a?i([a],u):u()},d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(8),l(0)],C=l.dj.d(A,function(y,m,h){var d={},n,e;m("csp-restrictions")||(e=function(a){return d[a]=new Function("item","index","array",a)});function t(a){var i=!a;return function(u,s,c){var f=0,p=u&&u.length||0,v;if(p&&typeof u=="string"&&(u=u.split("")),typeof s=="string"){if(m("csp-restrictions"))throw new TypeError("callback must be a function");s=d[s]||e(s)}if(c){for(;f<p;++f)if(v=!s.call(c,u[f],f,u),a^v)return!v}else for(;f<p;++f)if(v=!s(u[f],f,u),a^v)return!v;return i}}function r(a){var i=1,u=0,s=0;return a||(i=u=s=-1),function(c,f,p,v){if(v&&i>0)return o.lastIndexOf(c,f,p);var g=c&&c.length||0,E=a?g+s:u,D;for(p===n?D=a?u:g+s:p<0?(D=g+p,D<0&&(D=u)):D=p>=g?g+s:p,g&&typeof c=="string"&&(c=c.split(""));D!=E;D+=i)if(c[D]==f)return D;return-1}}var o={every:t(!1),some:t(!0),indexOf:r(!0),lastIndexOf:r(!1),forEach:function(a,i,u){var s=0,c=a&&a.length||0;if(c&&typeof a=="string"&&(a=a.split("")),typeof i=="string"){if(m("csp-restrictions"))throw new TypeError("callback must be a function");i=d[i]||e(i)}if(u)for(;s<c;++s)i.call(u,a[s],s,a);else for(;s<c;++s)i(a[s],s,a)},map:function(a,i,u,s){var c=0,f=a&&a.length||0,p=new(s||Array)(f);if(f&&typeof a=="string"&&(a=a.split("")),typeof i=="string"){if(m("csp-restrictions"))throw new TypeError("callback must be a function");i=d[i]||e(i)}if(u)for(;c<f;++c)p[c]=i.call(u,a[c],c,a);else for(;c<f;++c)p[c]=i(a[c],c,a);return p},filter:function(a,i,u){var s=0,c=a&&a.length||0,f=[],p;if(c&&typeof a=="string"&&(a=a.split("")),typeof i=="string"){if(m("csp-restrictions"))throw new TypeError("callback must be a function");i=d[i]||e(i)}if(u)for(;s<c;++s)p=a[s],i.call(u,p,s,a)&&f.push(p);else for(;s<c;++s)p=a[s],i(p,s,a)&&f.push(p);return f},clearCache:function(){d={}}};return m("extend-dojo")&&h.mixin(y,o),o},_,M),_.exports=C},function(_,M,l){var A,C;A=[M,l(6),l(18),l(21),l(12),l(34)],C=l.dj.d(A,function(y,m,h,d,n,e){var t={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},r=/<\s*([\w\:]+)/,o={},a=0,i="__"+m._scopeName+"ToDomId";for(var u in t)if(t.hasOwnProperty(u)){var s=t[u];s.pre=u=="option"?'<select multiple="multiple">':"<"+s.join("><")+">",s.post="</"+s.reverse().join("></")+">"}var c;h("ie")<=8&&(c=function(F){F.__dojo_html5_tested="yes";var w=v("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},F.body);w.childNodes.length!==1&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,function(x){F.createElement(x)}),D(w)});function f(F,w){var x=w.parentNode;x&&x.insertBefore(F,w)}function p(F,w){var x=w.parentNode;x&&(x.lastChild==w?x.appendChild(F):x.insertBefore(F,w.nextSibling))}y.toDom=function(w,x){x=x||d.doc;var R=x[i];R||(x[i]=R=++a+"",o[R]=x.createElement("div")),h("ie")<=8&&!x.__dojo_html5_tested&&x.body&&c(x),w+="";var T=w.match(r),S=T?T[1].toLowerCase():"",I=o[R],B,P,L,O;if(T&&t[S])for(B=t[S],I.innerHTML=B.pre+w+B.post,P=B.length;P;--P)I=I.firstChild;else I.innerHTML=w;if(I.childNodes.length==1)return I.removeChild(I.firstChild);for(O=x.createDocumentFragment();L=I.firstChild;)O.appendChild(L);return O},y.place=function(w,x,R){if(x=n.byId(x),typeof w=="string"&&(w=/^\s*</.test(w)?y.toDom(w,x.ownerDocument):n.byId(w)),typeof R=="number"){var T=x.childNodes;!T.length||T.length<=R?x.appendChild(w):f(w,T[R<0?0:R])}else switch(R){case"before":f(w,x);break;case"after":p(w,x);break;case"replace":x.parentNode.replaceChild(w,x);break;case"only":y.empty(x),x.appendChild(w);break;case"first":if(x.firstChild){f(w,x.firstChild);break}default:x.appendChild(w)}return w};var v=y.create=function(w,x,R,T){var S=d.doc;return R&&(R=n.byId(R),S=R.ownerDocument),typeof w=="string"&&(w=S.createElement(w)),x&&e.set(w,x),R&&y.place(w,R,T),w};function g(F){if("innerHTML"in F)try{F.innerHTML="";return}catch(x){}for(var w;w=F.lastChild;)F.removeChild(w)}y.empty=function(w){g(n.byId(w))};function E(F,w){F.firstChild&&g(F),w&&(h("ie")&&w.canHaveChildren&&"removeNode"in F?F.removeNode(!1):w.removeChild(F))}var D=y.destroy=function(w){w=n.byId(w),!!w&&E(w,w.parentNode)}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0),l(9),l(12)],C=l.dj.d(A,function(y,m,h){var d="className",n,e=/\s+/,t=[""];function r(a){if(typeof a=="string"||a instanceof String){if(a&&!e.test(a))return t[0]=a,t;var i=a.split(e);return i.length&&!i[0]&&i.shift(),i.length&&!i[i.length-1]&&i.pop(),i}return a?m.filter(a,function(u){return u}):[]}var o={};return n={contains:function(i,u){return(" "+h.byId(i)[d]+" ").indexOf(" "+u+" ")>=0},add:function(i,u){i=h.byId(i),u=r(u);var s=i[d],c;s=s?" "+s+" ":" ",c=s.length;for(var f=0,p=u.length,v;f<p;++f)v=u[f],v&&s.indexOf(" "+v+" ")<0&&(s+=v+" ");c<s.length&&(i[d]=s.substr(1,s.length-2))},remove:function(i,u){i=h.byId(i);var s;if(u!==void 0){u=r(u),s=" "+i[d]+" ";for(var c=0,f=u.length;c<f;++c)s=s.replace(" "+u[c]+" "," ");s=y.trim(s)}else s="";i[d]!=s&&(i[d]=s)},replace:function(i,u,s){i=h.byId(i),o[d]=i[d],n.remove(o,s),n.add(o,u),i[d]!==o[d]&&(i[d]=o[d])},toggle:function(i,u,s){if(i=h.byId(i),s===void 0){u=r(u);for(var c=0,f=u.length,p;c<f;++c)p=u[c],n[n.contains(i,p)?"remove":"add"](i,p)}else n[s?"add":"remove"](i,u);return s}},n},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(18),l(21),l(6)],C=l.dj.d(A,function(y,m,h){if(y("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(t){}var d={};y("ie")?d.byId=function(t,r){if(typeof t!="string")return t||null;var o=r||m.doc,a=t&&o.getElementById(t);if(a&&(a.attributes.id.value==t||a.id==t))return a;var i=o.all[t];(!i||i.nodeName)&&(i=[i]);for(var u=0;a=i[u++];)if(a.attributes&&a.attributes.id&&a.attributes.id.value==t||a.id==t)return a;return null}:d.byId=function(t,r){return(typeof t=="string"?(r||m.doc).getElementById(t):t)||null};var n=h.global.document||null;y.add("dom-contains",!!(n&&n.contains)),d.isDescendant=function(t,r){try{for(t=d.byId(t),r=d.byId(r);t;){if(t==r)return!0;t=t.parentNode}}catch(o){}return!1},y.add("css-user-select",function(t,r,o){if(!o)return!1;var a=o.style,i=["Khtml","O","Moz","Webkit"],u=i.length,s="userSelect",c;do if(typeof a[s]!="undefined")return s;while(u--&&(s=i[u]+"UserSelect"));return!1});var e=y("css-user-select");return d.setSelectable=e?function(t,r){d.byId(t).style[e]=r?"":"none"}:function(t,r){t=d.byId(t);var o=t.getElementsByTagName("*"),a=o.length;if(r)for(t.removeAttribute("unselectable");a--;)o[a].removeAttribute("unselectable");else for(t.setAttribute("unselectable","on");a--;)o[a].setAttribute("unselectable","on")},d},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(217),l(419),l(420),l(218)],C=l.dj.d(A,function(y,m,h,d){const n="DEFAULT",e=100,t=h.create(e),r={debug:4,log:3,dir:3,table:3,trace:3,time:3,timeEnd:3,group:3,groupCollapsed:3,groupEnd:3,info:2,warn:1,assert:0,error:0};let o={},a=0,i=m.DEBUG,u=y.DEVELOPMENT,s=[],c={};class f{constructor(v){if(c[v]!=null){c[n].error("a logger with the name '"+v+"' already exists - change the name to prevent interference");return}d.makeReadOnlyProperty(this,"name",v),c[this.name]=this,this._timers={},this._threshold=m.DEBUG,this._showTimestamp=!0,d.makeReadOnlyProperty(this,"modes",y),d.makeReadOnlyProperty(this,"levels",m)}static _sanitizeLevel(v){return typeof v=="number"?v:m.DEBUG}static _sanitizeMode(v){return d.objectValues(y).indexOf(v)>-1?v:y.development}get threshold(){return this._threshold}set threshold(v){this._threshold=f._sanitizeLevel(v)}get showTimestamp(){return this._showTimestamp}set showTimestamp(v){this._showTimestamp=!!v}get globalThreshold(){return i}set globalThreshold(v){i=f._sanitizeLevel(v)}get mode(){return u}set mode(v){u=f._sanitizeMode(v)}_shouldLog(v){return i>v&&this._threshold>v}_nameAndTime(){let v=[];return this.name!==n&&v.push(this.name),this._showTimestamp&&v.push(d.currentTimeString()),v}table(v){if(this._shouldLog(r.table)){const g={namespace:this.name,type:"table",message:[v],time:new Date};t.add(g),d.printToConsole("log",this._nameAndTime(),u),d.printToConsole("table",[v],u),d.execCallbacks(o,g)}}trace(){if(this._shouldLog(r.trace)){const v={namespace:this.name,type:"trace",message:null,time:new Date};let E=new Error().stack.split(`
|
||
`);for(E[0]==="Error"&&E.shift();E[0].includes("Log.js")||E[0].includes("logger.trace")||E[0]==="trace";)E.shift();E=E.join(`
|
||
`),v.message=[E],t.add(v),d.printToConsole("log",this._nameAndTime(),u),d.printToConsole("trace",[],u),d.execCallbacks(o,v)}}time(v){this._shouldLog(r.time)&&(this._timers[v]==null?this._timers[v]=new Date().getTime():this.warn('timer "'+v+'" already exists.'))}timeEnd(v){if(this._shouldLog(r.timeEnd)){const g={namespace:this.name,type:"timeEnd",message:null,time:new Date};if(this._timers[v]!=null){const E=new Date().getTime()-this._timers[v];g.message=[v+": "+E+"ms - timer ended"],t.add(g),d.printToConsole("log",this._nameAndTime().concat(g.message),u),d.execCallbacks(o,g),this._timers[v]=null}else this.warn('timer "'+v+`" doesn't exist.`)}}_group(v,g){if(this._shouldLog(r.group)){const E=g?"groupCollapsed":"group",D={namespace:this.name,type:E,message:[v],time:new Date};s.push(v),t.add(D),d.printToConsole(E,[v],u),d.execCallbacks(o,D)}}groupCollapsed(v){this._group(v,!0)}group(v){this._group(v,!1)}groupEnd(){if(this._shouldLog(r.groupEnd)){const v=s.pop(),g={namespace:this.name,type:"groupEnd",message:[v],time:new Date};t.add(g),d.printToConsole("groupEnd",[],u),d.execCallbacks(o,g)}}assert(v,g){if(this._shouldLog(r.assert)&&!v){const E={namespace:this.name,type:"assert",message:["Assertion failed:",g],time:new Date};t.add(E),E.message.shift();let D=[!1].concat(this._nameAndTime().concat(E.message));d.printToConsole("assert",D,u),d.execCallbacks(o,E)}}_basicLogMethod(v,g,E){if(this._shouldLog(g)){const D={namespace:this.name,type:v,message:E,time:new Date};E=this._nameAndTime().concat(E),t.add(D),d.printToConsole(v,E,u),d.execCallbacks(o,D)}}debug(v){const g=Array.prototype.slice.call(arguments);this._basicLogMethod("debug",r.debug,g)}log(v){const g=Array.prototype.slice.call(arguments);this._basicLogMethod("log",r.log,g)}dir(v){const g=Array.prototype.slice.call(arguments);this._basicLogMethod("dir",r.dir,g)}info(v){const g=Array.prototype.slice.call(arguments);this._basicLogMethod("info",r.info,g)}warn(v){const g=Array.prototype.slice.call(arguments);this._basicLogMethod("warn",r.warn,g)}error(v){const g=Array.prototype.slice.call(arguments);this._basicLogMethod("error",r.error,g)}addCallback(v,g){o[a]=v,g&&t.applyCallback(v);let E={};const D=a;return E.remove=()=>{delete o[D]},a++,E}createLogger(v){const g=new f(v);return g.name?g:c[v]}}return new f(n)},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(18),l(12),l(21)],C=l.dj.d(A,function(y,m,h){var d,n={};y("webkit")?d=function(f){var p;if(f.nodeType==1){var v=f.ownerDocument.defaultView;p=v.getComputedStyle(f,null),!p&&f.style&&(f.style.display="",p=v.getComputedStyle(f,null))}return p||{}}:y("ie")&&(y("ie")<9||y("quirks"))?d=function(f){return f.nodeType==1&&f.currentStyle?f.currentStyle:{}}:d=function(f){if(f.nodeType===1){var p=f.ownerDocument.defaultView,v=p.opener?p:h.global.window;return v.getComputedStyle(f,null)||{}}return{}},n.getComputedStyle=d;var e;y("ie")?e=function(f,p){if(!p)return 0;if(p=="medium")return 4;if(p.slice&&p.slice(-2)=="px")return parseFloat(p);var v=f.style,g=f.runtimeStyle,E=f.currentStyle,D=v.left,F=g.left;g.left=E.left;try{v.left=p,p=v.pixelLeft}catch(w){p=0}return v.left=D,g.left=F,p}:e=function(f,p){return parseFloat(p)||0},n.toPixelValue=e;var t="DXImageTransform.Microsoft.Alpha",r=function(f,p){try{return f.filters.item(t)}catch(v){return p?{}:null}},o=y("ie")<9||y("ie")<10&&y("quirks")?function(f){try{return r(f).Opacity/100}catch(p){return 1}}:function(f){return d(f).opacity},a=y("ie")<9||y("ie")<10&&y("quirks")?function(f,p){p===""&&(p=1);var v=p*100,g=p===1;if(g?(f.style.zoom="",r(f)&&(f.style.filter=f.style.filter.replace(new RegExp("\\s*progid:"+t+"\\([^\\)]+?\\)","i"),""))):(f.style.zoom=1,r(f)?r(f,1).Opacity=v:f.style.filter+=" progid:"+t+"(Opacity="+v+")",r(f,1).Enabled=!0),f.tagName.toLowerCase()=="tr")for(var E=f.firstChild;E;E=E.nextSibling)E.tagName.toLowerCase()=="td"&&a(E,p);return p}:function(f,p){return f.style.opacity=p},i={left:!0,top:!0},u=/margin|padding|width|height|max|min|offset/;function s(f,p,v){if(p=p.toLowerCase(),v=="auto"){if(p=="height")return f.offsetHeight;if(p=="width")return f.offsetWidth}if(p=="fontweight")switch(v){case 700:return"bold";case 400:default:return"normal"}return p in i||(i[p]=u.test(p)),i[p]?e(f,v):v}var c={cssFloat:1,styleFloat:1,float:1};return n.get=function(p,v){var g=m.byId(p),E=arguments.length,D=v=="opacity";if(E==2&&D)return o(g);v=c[v]?"cssFloat"in g.style?"cssFloat":"styleFloat":v;var F=n.getComputedStyle(g);return E==1?F:s(g,v,F[v]||g.style[v])},n.set=function(p,v,g){var E=m.byId(p),D=arguments.length,F=v=="opacity";if(v=c[v]?"cssFloat"in E.style?"cssFloat":"styleFloat":v,D==3)return F?a(E,g):E.style[v]=g;for(var w in v)n.set(p,w,v[w]);return n.getComputedStyle(E)},n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h=function(){function d(n){m(this,d),this._events=[]}return y(d,[{key:"on",value:function(e,t){var r=this;this._events[e]||(this._events[e]=[]),this._events[e].push(t);var o={};return o.remove=function(){var a=r._events[e].indexOf(t);r._events[e].splice(a,1),o.remove=function(){return null}},o}},{key:"emit",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this._events[e],o=Object.getOwnPropertyNames(t),a={};o.forEach(function(u){a[u]=t[u]});var i=function(s){s&&s.forEach(function(c){c(a)})};i(r)}}]),d}();return h},_,M),_.exports=C},function(_,M,l){var A,C;function y(m,h){if(!(m instanceof h))throw new TypeError("Cannot call a class as a function")}A=[l(60),l(1)],C=l.dj.d(A,function(m,h){var d=h([m],{}),n=function e(){y(this,e);var t=new d;this.emit=t.emit.bind(t),this.on=t.on.bind(t)};return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y;function m(t,r,o,a){var i=t[r],u=r=="around",s;if(u){var c=o(function(){return i.advice(this,arguments)});s={remove:function(){c&&(c=t=o=null)},advice:function(f,p){return c?c.apply(f,p):i.advice(f,p)}}}else s={remove:function(){if(s.advice){var f=s.previous,p=s.next;!p&&!f?delete t[r]:(f?f.next=p:t[r]=p,p&&(p.previous=f)),t=o=s.advice=null}},id:t.nextId++,advice:o,receiveArguments:a};if(i&&!u)if(r=="after"){for(;i.next&&(i=i.next););i.next=s,s.previous=i}else r=="before"&&(t[r]=s,s.next=i,i.previous=s);else t[r]=s;return s}function h(t){return function(r,o,a,i){var u=r[o],s;(!u||u.target!=r)&&(r[o]=s=function(){for(var f=s.nextId,p=arguments,v=s.before;v;)v.advice&&(p=v.advice.apply(this,p)||p),v=v.next;if(s.around)var g=s.around.advice(this,p);for(var E=s.after;E&&E.id<f;){if(E.advice)if(E.receiveArguments){var D=E.advice.apply(this,p);g=D===y?g:D}else g=E.advice.call(this,g,p);E=E.next}return g},u&&(s.around={advice:function(f,p){return u.apply(f,p)}}),s.target=r,s.nextId=s.nextId||0);var c=m(s||u,t,a,i);return a=null,c}}var d=h("after"),n=h("before"),e=h("around");return{before:n,around:e,after:d}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(8)],C=l.dj.d(A,function(y){if(y("host-browser")){var m=navigator,h=m.userAgent,d=m.appVersion,n=parseFloat(d);if(y.add("air",h.indexOf("AdobeAIR")>=0),y.add("wp",parseFloat(h.split("Windows Phone")[1])||void 0),y.add("msapp",parseFloat(h.split("MSAppHost/")[1])||void 0),y.add("khtml",d.indexOf("Konqueror")>=0?n:void 0),y.add("edge",parseFloat(h.split("Edge/")[1])||void 0),y.add("opr",parseFloat(h.split("OPR/")[1])||void 0),y.add("webkit",!y("wp")&&!y("edge")&&parseFloat(h.split("WebKit/")[1])||void 0),y.add("chrome",!y("edge")&&!y("opr")&&parseFloat(h.split("Chrome/")[1])||void 0),y.add("android",!y("wp")&&parseFloat(h.split("Android ")[1])||void 0),y.add("safari",d.indexOf("Safari")>=0&&!y("wp")&&!y("chrome")&&!y("android")&&!y("edge")&&!y("opr")?parseFloat(d.split("Version/")[1]):void 0),y.add("mac",d.indexOf("Macintosh")>=0),y.add("quirks",document.compatMode=="BackCompat"),!y("wp")&&h.match(/(iPhone|iPod|iPad)/)){var e=RegExp.$1.replace(/P/,"p"),t=h.match(/OS ([\d_]+)/)?RegExp.$1:"1",r=parseFloat(t.replace(/_/,".").replace(/_/g,""));y.add(e,r),y.add("ios",r)}if(y.add("bb",(h.indexOf("BlackBerry")>=0||h.indexOf("BB10")>=0)&&parseFloat(h.split("Version/")[1])||void 0),y.add("trident",parseFloat(d.split("Trident/")[1])||void 0),y.add("svg",typeof SVGAngle!="undefined"),!y("webkit")){if(h.indexOf("Opera")>=0&&y.add("opera",n>=9.8&&parseFloat(h.split("Version/")[1])||n),h.indexOf("Gecko")>=0&&!y("wp")&&!y("khtml")&&!y("trident")&&!y("edge")&&y.add("mozilla",n),y("mozilla")&&y.add("ff",parseFloat(h.split("Firefox/")[1]||h.split("Minefield/")[1])||void 0),document.all&&!y("opera")){var o=parseFloat(d.split("MSIE ")[1])||void 0,a=document.documentMode;a&&a!=5&&Math.floor(o)!=a&&(o=a),y.add("ie",o)}y.add("wii",typeof opera!="undefined"&&opera.wiiremote)}}return y},_,M),_.exports=C},function(_,M,l){var A,C,y=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},m=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function h(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e<n.length;e++)t[e]=n[e];return t}else return Array.from(n)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var n=function(){function e(){d(this,e)}return m(e,null,[{key:"curry",value:function(r){return function o(){var a=arguments;return a.length>=r.length?r.apply(null,a):function(){var i=[];return Array.prototype.push.apply(i,a),Array.prototype.push.apply(i,arguments),o.apply(null,i)}}}},{key:"find",value:function(r,o){for(var a=0;a<r.length&&!o(r[a]);)a++;var i=a<r.length?r[a]:null;return i}},{key:"flatten",value:function(r){var o=[];return r.forEach(function(a){a=Array.isArray(a)?a:[a],Array.prototype.push.apply(o,a)}),o}},{key:"dedupe",value:function(r){return r.reduce(function(o,a){return o.indexOf(a)<0&&o.push(a),o},[])}},{key:"getNestedProp",value:function(r,o){var a=0,i=r;if(!!i){for(;a<o.length;){if(!i.hasOwnProperty(o[a]))return;i=i[o[a]],a+=1}return i}}},{key:"compose",value:function(){var r=[].concat(Array.prototype.slice.call(arguments)).reverse();return function(){for(var o=r[0].apply(this,arguments),a=1;a<r.length;a+=1)o=r[a].call(this,o);return o}}},{key:"fork",value:function(r,o,a){return function(i){return r(o(i),a(i))}}},{key:"canConvertToNumber",value:function(r){return!isNaN(r)}},{key:"transpose",value:function(r){if(Array.isArray(r)&&r.length>0)return r[0].map(function(o,a){return r.map(function(i){return i[a]})})}},{key:"values",value:function(r){var o=[];for(var a in r)r.hasOwnProperty(a)&&o.push(r[a]);return o}},{key:"range",value:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return[].concat(h(Array(r).keys())).map(function(a){return a+o})}},{key:"rangeArray",value:function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(r>=0&&o>=0){var a=o-r+1;return e.range(a,r)}}},{key:"arrayMerge",value:function(r,o){return[].concat(h(r),h(o))}},{key:"toPromise",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(o,a){return setTimeout(o,r)})}},{key:"convertSyncFunctionToPromise",value:function(r){var o=arguments;return new Promise(function(a,i){try{var u=r?r.apply(null,o):void 0;return a(u)}catch(s){return i(s)}})}},{key:"deepEqual",value:function(r,o){var a=Object.keys(r),i=Object.keys(o);if(a.length!==i.length)return!1;var u=!0,s=!1,c=void 0;try{for(var f=a[Symbol.iterator](),p;!(u=(p=f.next()).done);u=!0){var v=p.value,g=r[v],E=o[v],D=e.isObject(g)&&e.isObject(E);if(D&&!e.deepEqual(g,E)||!D&&g!==E)return!1}}catch(F){s=!0,c=F}finally{try{!u&&f.return&&f.return()}finally{if(s)throw c}}return!0}},{key:"isObject",value:function(r){return r!=null&&(typeof r=="undefined"?"undefined":y(r))==="object"}},{key:"classNameArrayEqual",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=r.length;if(a!==o.length)return!1;for(var i=a-1;i>=0;i--)if(r[i]!==o[i])return!1;return!0}},{key:"isPromise",value:function(r){return!!r&&typeof r.then=="function"}},{key:"asyncWrapper",value:function(r,o){var a=new Promise(function(i,u){if(!r)i(!0);else{var s=r(o);typeof s=="boolean"?i(s):s.then(function(c){return i(c)})}});return a}},{key:"alt",get:function(){return e.curry(function(r,o,a){return r(a)||o(a)})}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(8),l(0),l(104),l(105),l(53)],C=l.dj.d(A,function(y,m,h,d,n){"use strict";var e=0,t=1,r=2,o="This deferred has already been fulfilled.",a=Object.freeze||function(){},i=function(p,v,g,E,D){y("config-deferredInstrumentation")&&v===r&&f.instrumentRejected&&p.length===0&&f.instrumentRejected(g,!1,E,D);for(var F=0;F<p.length;F++)u(p[F],v,g,E)},u=function(p,v,g,E){var D=p[v],F=p.deferred;if(D)try{var w=D(g);if(v===e)typeof w!="undefined"&&c(F,v,w);else{if(w&&typeof w.then=="function"){p.cancel=w.cancel,w.then(s(F,t),s(F,r),s(F,e));return}c(F,t,w)}}catch(x){c(F,r,x)}else c(F,v,g);y("config-deferredInstrumentation")&&v===r&&f.instrumentRejected&&f.instrumentRejected(g,!!D,E,F.promise)},s=function(p,v){return function(g){c(p,v,g)}},c=function(p,v,g){if(!p.isCanceled())switch(v){case e:p.progress(g);break;case t:p.resolve(g);break;case r:p.reject(g);break}},f=function(p){var v=this.promise=new d,g=this,E,D,F,w=!1,x=[];y("config-deferredInstrumentation")&&Error.captureStackTrace&&(Error.captureStackTrace(g,f),Error.captureStackTrace(v,f)),this.isResolved=v.isResolved=function(){return E===t},this.isRejected=v.isRejected=function(){return E===r},this.isFulfilled=v.isFulfilled=function(){return!!E},this.isCanceled=v.isCanceled=function(){return w},this.progress=function(T,S){if(E){if(S===!0)throw new Error(o);return v}else return i(x,e,T,null,g),v},this.resolve=function(T,S){if(E){if(S===!0)throw new Error(o);return v}else return i(x,E=t,D=T,null,g),x=null,v};var R=this.reject=function(T,S){if(E){if(S===!0)throw new Error(o);return v}else return y("config-deferredInstrumentation")&&Error.captureStackTrace&&Error.captureStackTrace(F={},R),i(x,E=r,D=T,F,g),x=null,v};this.then=v.then=function(T,S,I){var B=[I,T,S];return B.cancel=v.cancel,B.deferred=new f(function(P){return B.cancel&&B.cancel(P)}),E&&!x?u(B,E,D,F):x.push(B),B.deferred.promise},this.cancel=v.cancel=function(T,S){if(E){if(S===!0)throw new Error(o)}else{if(p){var I=p(T);T=typeof I=="undefined"?T:I}if(w=!0,E){if(E===r&&D===T)return T}else return typeof T=="undefined"&&(T=new h),R(T),T}},a(v)};return f.prototype.toString=function(){return"[object Deferred]"},n&&n(f),f},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(0),l(18)],C=l.dj.d(A,function(y,m,h){var d={global:y.global,doc:y.global.document||null,body:function(n){return n=n||y.doc,n.body||n.getElementsByTagName("body")[0]},setContext:function(n,e){y.global=d.global=n,y.doc=d.doc=e},withGlobal:function(n,e,t,r){var o=y.global;try{return y.global=d.global=n,d.withDoc.call(null,n.document,e,t,r)}finally{y.global=d.global=o}},withDoc:function(n,e,t,r){var o=d.doc,a=h("quirks"),i=h("ie"),u,s,c;try{return y.doc=d.doc=n,y.isQuirks=h.add("quirks",y.doc.compatMode=="BackCompat",!0,!0),h("ie")&&(c=n.parentWindow)&&c.navigator&&(u=parseFloat(c.navigator.appVersion.split("MSIE ")[1])||void 0,s=n.documentMode,s&&s!=5&&Math.floor(u)!=s&&(u=s),y.isIE=h.add("ie",u,!0,!0)),t&&typeof e=="string"&&(e=t[e]),e.apply(t,r||[])}finally{y.doc=d.doc=o,y.isQuirks=h.add("quirks",a,!0,!0),y.isIE=h.add("ie",i,!0,!0)}}};return h("extend-dojo")&&m.mixin(y,d),d},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({COL_WIDTH:82,ROW_HEIGHT:22,MIN_ROW_HEADER_WIDTH:40,MIN_LEFT_HEADER_WIDTH:27,TOOLTIP_MIN_WIDTH:300,ABSOLUTE_MIN:10,COLLAPSE_COLUMN_ABSOLUTE_MIN:1,COLLAPSE_COLUMN_AFFORDANCE_MIN:10,MAX_ROW_HEADER_WIDTH:250}),m=Object.freeze({ROW_OVERSCAN:4,COL_OVERSCAN:3,UNPAGED_COL_LIMIT:12}),h=Object.freeze({EDITABLE_TABLE_CELL:"EditableTableCell",EDITABLE_TREE_CELL:"EditableTreeCell",INTERACTIVE_TABLE_CELL:"InteractiveTableCell"}),d=Object.freeze({ROW:"row",COLUMN:"column",CELL:"cell"}),n=Object.freeze({dimensions:y,buffers:m,cellType:h,rangeType:d,ZERO_HEIGHT_ROWS:12,ZERO_WIDTH_COLS:12});return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({BACKSPACE:8,NUM_START:48,NUM_END:57,SPACE:32,ENTER:13,ALPHA_START:65,ALPHA_END:91,NUMPAD_START:95,NUMPAD_END:112,SYM1_START:185,SYM1_END:193,SYM2_START:219,SYM2_END:222,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,F2:113,CTRL:17,SHIFT:16,META:91,ALT:18,ESCAPE:27,DELETE:46,A:65,C:67,V:86,X:88});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(18),l(21),l(12),l(14)],C=l.dj.d(A,function(y,m,h,d){var n={};n.boxModel="content-box",y("ie")&&(n.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box"),n.getPadExtents=function(s,c){s=h.byId(s);var f=c||d.getComputedStyle(s),p=d.toPixelValue,v=p(s,f.paddingLeft),g=p(s,f.paddingTop),E=p(s,f.paddingRight),D=p(s,f.paddingBottom);return{l:v,t:g,r:E,b:D,w:v+E,h:g+D}};var e="none";n.getBorderExtents=function(s,c){s=h.byId(s);var f=d.toPixelValue,p=c||d.getComputedStyle(s),v=p.borderLeftStyle!=e?f(s,p.borderLeftWidth):0,g=p.borderTopStyle!=e?f(s,p.borderTopWidth):0,E=p.borderRightStyle!=e?f(s,p.borderRightWidth):0,D=p.borderBottomStyle!=e?f(s,p.borderBottomWidth):0;return{l:v,t:g,r:E,b:D,w:v+E,h:g+D}},n.getPadBorderExtents=function(s,c){s=h.byId(s);var f=c||d.getComputedStyle(s),p=n.getPadExtents(s,f),v=n.getBorderExtents(s,f);return{l:p.l+v.l,t:p.t+v.t,r:p.r+v.r,b:p.b+v.b,w:p.w+v.w,h:p.h+v.h}},n.getMarginExtents=function(s,c){s=h.byId(s);var f=c||d.getComputedStyle(s),p=d.toPixelValue,v=p(s,f.marginLeft),g=p(s,f.marginTop),E=p(s,f.marginRight),D=p(s,f.marginBottom);return{l:v,t:g,r:E,b:D,w:v+E,h:g+D}},n.getMarginBox=function(s,c){s=h.byId(s);var f=c||d.getComputedStyle(s),p=n.getMarginExtents(s,f),v=s.offsetLeft-p.l,g=s.offsetTop-p.t,E=s.parentNode,D=d.toPixelValue,F;if(y("mozilla")){var w=parseFloat(f.left),x=parseFloat(f.top);!isNaN(w)&&!isNaN(x)?(v=w,g=x):E&&E.style&&(F=d.getComputedStyle(E),F.overflow!="visible"&&(v+=F.borderLeftStyle!=e?D(s,F.borderLeftWidth):0,g+=F.borderTopStyle!=e?D(s,F.borderTopWidth):0))}else(y("opera")||y("ie")==8&&!y("quirks"))&&E&&(F=d.getComputedStyle(E),v-=F.borderLeftStyle!=e?D(s,F.borderLeftWidth):0,g-=F.borderTopStyle!=e?D(s,F.borderTopWidth):0);return{l:v,t:g,w:s.offsetWidth+p.w,h:s.offsetHeight+p.h}},n.getContentBox=function(s,c){s=h.byId(s);var f=c||d.getComputedStyle(s),p=s.clientWidth,v,g=n.getPadExtents(s,f),E=n.getBorderExtents(s,f);return p?(v=s.clientHeight,E.w=E.h=0):(p=s.offsetWidth,v=s.offsetHeight),y("opera")&&(g.l+=E.l,g.t+=E.t),{l:g.l,t:g.t,w:p-g.w-E.w,h:v-g.h-E.h}};function t(u,s,c,f,p,v){v=v||"px";var g=u.style;isNaN(s)||(g.left=s+v),isNaN(c)||(g.top=c+v),f>=0&&(g.width=f+v),p>=0&&(g.height=p+v)}function r(u){return u.tagName.toLowerCase()=="button"||u.tagName.toLowerCase()=="input"&&(u.getAttribute("type")||"").toLowerCase()=="button"}function o(u){return n.boxModel=="border-box"||u.tagName.toLowerCase()=="table"||r(u)}function a(u){var s={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0},c;try{c=u.getBoundingClientRect()}catch(f){return s}return typeof c.left=="undefined"?s:c}n.setContentSize=function(s,c,f){s=h.byId(s);var p=c.w,v=c.h;if(o(s)){var g=n.getPadBorderExtents(s,f);p>=0&&(p+=g.w),v>=0&&(v+=g.h)}t(s,NaN,NaN,p,v)};var i={l:0,t:0,w:0,h:0};return n.setMarginBox=function(s,c,f){s=h.byId(s);var p=f||d.getComputedStyle(s),v=c.w,g=c.h,E=o(s)?i:n.getPadBorderExtents(s,p),D=n.getMarginExtents(s,p);if(y("webkit")&&r(s)){var F=s.style;v>=0&&!F.width&&(F.width="4px"),g>=0&&!F.height&&(F.height="4px")}v>=0&&(v=Math.max(v-E.w-D.w,0)),g>=0&&(g=Math.max(g-E.h-D.h,0)),t(s,c.l,c.t,v,g)},n.isBodyLtr=function(s){return s=s||m.doc,(m.body(s).dir||s.documentElement.dir||"ltr").toLowerCase()=="ltr"},n.docScroll=function(s){s=s||m.doc;var c=s.parentWindow||s.defaultView;return"pageXOffset"in c?{x:c.pageXOffset,y:c.pageYOffset}:(c=y("quirks")?m.body(s):s.documentElement)&&{x:n.fixIeBiDiScrollLeft(c.scrollLeft||0,s),y:c.scrollTop||0}},n.getIeDocumentElementOffset=function(u){return{x:0,y:0}},n.fixIeBiDiScrollLeft=function(s,c){c=c||m.doc;var f=y("ie");if(f&&!n.isBodyLtr(c)){var p=y("quirks"),v=p?m.body(c):c.documentElement,g=m.global;return f==6&&!p&&g.frameElement&&v.scrollHeight>v.clientHeight&&(s+=v.clientLeft),f<8||p?s+v.clientWidth-v.scrollWidth:-s}return s},n.position=function(u,s){u=h.byId(u);var c=m.body(u.ownerDocument),f=a(u);if(f={x:f.left,y:f.top,w:f.right-f.left,h:f.bottom-f.top},y("ie")<9&&(f.x-=y("quirks")?c.clientLeft+c.offsetLeft:0,f.y-=y("quirks")?c.clientTop+c.offsetTop:0),s){var p=n.docScroll(u.ownerDocument);f.x+=p.x,f.y+=p.y}return f},n.getMarginSize=function(s,c){s=h.byId(s);var f=n.getMarginExtents(s,c||d.getComputedStyle(s)),p=a(s);return{w:p.right-p.left+f.w,h:p.bottom-p.top+f.h}},n.normalizeEvent=function(u){if("layerX"in u||(u.layerX=u.offsetX,u.layerY=u.offsetY),!("pageX"in u)){var s=u.target,c=s&&s.ownerDocument||document,f=y("quirks")?c.body:c.documentElement;u.pageX=u.clientX+n.fixIeBiDiScrollLeft(f.scrollLeft||0,c),u.pageY=u.clientY+(f.scrollTop||0)}},n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(22),l(3),l(7)],C=l.dj.d(A,function(h,d,n){"use strict";var e=function(o,a,i){return i>=o.columns.start&&i<=o.columns.end&&a>=o.rows.start&&a<=o.rows.end},t=function(){function r(){m(this,r)}return y(r,null,[{key:"getFocusedCell",value:function(a){var i={},u=void 0;if(a&&a.rangeList&&a.rangeList[0]&&(u=a.rangeList[0]),u&&u.rows&&u.columns){var s=u.rows.start,c=u.columns.start,f=[s,c].join(",");i[f]="mw-table-cell-focused"}return i}},{key:"getContentFor",value:function(a,i,u){for(var s=a.rangeList||[],c=0;c<s.length;c++)if(e(s[c],i,u)&&a.value[c])return a.value[c];return null}},{key:"getInteractiveRendererFor",value:function(a,i,u){for(var s=a.rangeList||[],c=0;c<s.length;c++)if(e(s[c],i,u))return a.value[c]?{renderer:a.value[c],range:s[c]}:null;return null}},{key:"getTableHeaderStyle",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments[1],u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h.dimensions.COL_WIDTH,s=arguments[3],c={},f=a.width,p=a.unit,v=a.fillContainerWidth;switch(isNaN(f)&&(f=u,p="px"),p===""&&(p="px"),p){case"percent":case"%":i?c={maxWidth:"none",minWidth:u,width:Math.min(100,Math.abs(f))+"%"}:c={minWidth:u,maxWidth:u};break;case"px":s&&(u=h.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN),Number.isInteger(f)||(f=u),f=Math.max(u,f),v?c={maxWidth:"none",minWidth:f,width:v}:c={maxWidth:f,minWidth:f};break;default:break}return c}},{key:"computeTableHeight",value:function(a,i){var u=Math.max(a*i,1)||1;return u+"px"}},{key:"renderUpdate",value:function(a,i){i=i||a.viewPortList[0].getBufferedViewPort(),a.viewBuffer={size:null,rangeList:[i]}}},{key:"getState",value:function(a,i){return i.getStateByKey(a)}},{key:"getViewAndDataRange",value:function(a,i,u){var s=n.range().setRows(a,a).setColumns(i,i),c=r.viewRangeToDataRange(s,u);return{viewRange:s,dataRange:c}}},{key:"viewRangeToDataRange",value:function(a,i){var u=i.viewRangeListToDataRangeList([a]);if(u.length>1)throw new Error("Single viewRange cell mapped to multiple ranges");return u[0]}},{key:"isFocusedRange",value:function(a,i){var u=r.getState(d.protected.FOCUSED,i)||!1,s=u.rangeList,c=s===void 0?[{}]:s;return n.isRangeEqual(c[0],a)}},{key:"getValidationInfo",value:function(a){return{isValid:a.success,validationMessage:a.message,type:"ERROR"}}},{key:"setOriginalValuePromise",value:function(a,i){var u=i.getData([a]).then(function(s){return s[0][a.rows.start][a.columns.start]});return u}},{key:"getViewIndex",value:function(a){var i=a&&a.rangeList[0],u=i&&i.columns.start,s=i&&i.rows.start;return{viewRange:i,viewColIndex:u,viewRowIndex:s}}},{key:"getColumnConfig",value:function(a,i){var u=a.getColumnHeaders()[Number(i)]||{dataIndex:i};return u}},{key:"isReadOnly",value:function(a){return a&&a.readonly===!0||!1}},{key:"isInteractive",value:function(a){return a&&a.interactiveRenderer===!0||!1}},{key:"isColumnHeaderHidden",value:function(a){var i=a.getStateByKey(d.HIDE_COLUMN_HEADER);return i?i.value:!1}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(103),l(8),l.dj.c(_.i)],C=l.dj.d(A,function(y,m,h){var d={};if(m("dojo-config-api")){var n=h.rawConfig,e;for(e in n)d[e]=n[e]}else{var t=function(o,a,i){for(e in o)e!="has"&&m.add(a+e,o[e],0,i)};d=m("dojo-loader")?h.rawConfig:y.dojoConfig||y.djConfig||{},t(d,"config",1),t(d.has,"",1)}if(d.updateLocale=function(o,a){var i,u,s="en-us";if(o.indexOf(a)>=0&&a!=="zh"){d.locale=a;return}if(i=a.split("-")[0],i==="zh"){d.locale=s.toLocaleLowerCase();return}for(var c=0;c<o.length;c=c+1)if(u=o[c].split("-")[0],i===u){d.locale=o[c];break}d.locale||(d.locale=s.toLowerCase())},!d.locale&&typeof navigator!="undefined"){var r=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage;r=d._testLanguageOverride||r,r&&(r=r.toLowerCase(),d.supportedLocales&&d.updateLocale(d.supportedLocales,r))}return d.locale||(d.locale="en-us"),d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(60)],C=l.dj.d(A,function(y){var m=new y;return{publish:function(h,d){return m.emit.apply(m,arguments)},subscribe:function(h,d){return m.on.apply(m,arguments)}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({ROW_HEADER:"ROW_HEADER",COLUMN_HEADER:"COLUMN_HEADER",TABLE_CELL:"TABLE_CELL",TREE_CELL:"TREE_CELL",TABLE:"TABLE",TABLE_ROW:"TABLE_ROW",EMPTY_ROW:"EMPTY_ROW",EMPTY_ROW_HEADER:"EMPTY_ROW_HEADER",TREETABLE:"TREETABLE",TREETABLE_ROW:"TREETABLE_ROW",TOPLEFT_HEADER:"TOPLEFT_HEADER",GROUPED_COLUMN_HEADER:"GROUPED_COLUMN_HEADER",SPANNING_COLUMN_HEADER:"SPANNING_COLUMN_HEADER"});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({BACKSPACE:8,NUM_START:48,NUM_END:57,F2:113,SPACE:32,ENTER:13,ESCAPE:27,ALPHA_START:65,ALPHA_END:90,NUMPAD_START:95,NUMPAD_END:112,SYM1_START:185,SYM1_END:193,SYM2_START:219,SYM2_END:222,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,CTRL:17,SHIFT:16,META:91,ALT:18});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(78),l(5),l(28),l(624),l(277),l(627),l(123)],C=l.dj.d(A,function(h,d,n,e,t,r,o){"use strict";var a=function(){function u(){m(this,u)}return y(u,null,[{key:"isSyntheticRightClick",value:function(c){return c&&c.button&&c.button===h.MOUSE_RIGHT_BUTTON||!1}},{key:"emitDoubleClickEvent",value:function(c,f,p){!c||(f.defaultFn=p,c(d.protected.CELL_DBL_CLICK,f))}},{key:"validateContextMenuEventInfo",value:function(c){c.isEditing&&c.target&&c.target.hasOwnProperty("isWhiteSpace")&&delete c.target.isWhiteSpace}},{key:"eventCallbackForContextMenu",value:function(c,f,p){c.preventDefault();var v=c.pageX,g=c.pageY,E=p.type,D=p.rowIndex,F=p.colIndex,w=p.colEnd,x=p.isEditable,R=D>=0?D:-1,T=F>=0?F:-1,S=p.isWhiteSpace;S===void 0&&(S=u.isWhiteSpace(c.target,c.clientX,c.clientY));var I={type:E,isWhiteSpace:S,isEditable:x},B={left:v,top:g,row:R,col:T,target:I,colEnd:w};return f(d.internal.TABLE_RIGHT_CLICK,B)}},{key:"isElementOverflow",value:function(c){return c.scrollWidth>c.offsetWidth}},{key:"getTreeCellTargetNode",value:function(c){return c.firstElementChild.firstChild}},{key:"getTreetableIconLabelRendererTargetNode",value:function(c,f){return c&&c.querySelector(".mw-data-label-renderer")?c.querySelector(".mw-data-label-renderer"):f}},{key:"getTableRendererTargetNode",value:function(c){return c.firstElementChild}},{key:"isHeaderCell",value:function(c){return c===n.COLUMN_HEADER||c===n.TOPLEFT_HEADER}},{key:"isIconLabelCheckboxBoxRenderer",value:function(c){return c instanceof t||c instanceof e}},{key:"getTargetNode",value:function(c,f,p,v){return c==="treeCell"&&(f=this.getTreeCellTargetNode(f)),this.isHeaderCell(c)&&Object.keys(v).length!==0&&(f=p.firstChild),this.isIconLabelCheckboxBoxRenderer(v)&&(f=this.getTableRendererTargetNode(p)),this.isHeaderCell(c)&&this.isIconLabelCheckboxBoxRenderer(v)&&(f=p),v instanceof r&&(f=this.getTreetableIconLabelRendererTargetNode(p,f)),f}},{key:"getCellInfo",value:function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"mw-table-cell",p=void 0,v=c.path||c.composedPath&&c.composedPath();if(v&&v.length>0){var g=!0,E=!1,D=void 0;try{for(var F=v[Symbol.iterator](),w;!(g=(w=F.next()).done);g=!0){var x=w.value;if(x&&x.classList&&x.classList.contains(f)){p=i(x);break}else if(x&&x.classList&&x.classList.contains("mw-table-component"))break}}catch(T){E=!0,D=T}finally{try{!g&&F.return&&F.return()}finally{if(E)throw D}}}else for(var R=document.elementFromPoint(c.clientX,c.clientY);R&&!R.classList.contains("mw-table-component")&&R!==document.body;){if(R.classList.contains(f)){p=i(R);break}R=R.parentNode}return p}},{key:"_isPointInsideRect",value:function(c,f,p){return c>=p.left&&f>=p.top&&c<=p.right&&f<=p.bottom}},{key:"setFocusCache",value:function(c){c(d.protected.CELL_DOM_FOCUS_CACHE)}},{key:"_isNodeTypeText",value:function(c){if(c){if(c.nodeType===3)return!0;if(c.nodeType===1&&c.innerText)return!0}else return!1;return!1}},{key:"_isPointInTextNode",value:function(c,f,p){if(!this._isNodeTypeText(p))return!1;var v=document.createRange();v.selectNodeContents(p);var g=v.getBoundingClientRect();return!!this._isPointInsideRect(c,f,g)}},{key:"_isClassInClassList",value:function(c,f){if(c&&typeof c=="string"){for(var p=0;p<f.length;p++)if(c.includes(f[p]))return!0}return!1}},{key:"_isNonWhiteSpaceClass",value:function(c){var f=["mwCheckBoxRadioIconNode"];return u._isClassInClassList(c,f)}},{key:"isWhiteSpace",value:function(c,f,p){if(!c)return!0;if(this._isNonWhiteSpaceClass(c.className))return!1;var v=c.childNodes;if(v.length===0)return!1;for(var g=!0,E=0;E<v.length;E++){var D=v[E];this._isPointInTextNode(f,p,D)&&(g=!1)}return g}},{key:"handleContextmenu",value:function(c,f,p){var v=f.eventCallback,g=f.rowIndex,E=f.colIndex,D=f.colEnd,F=f.handleEditComplete,w=!!F,x={type:p,colEnd:D,rowIndex:g,colIndex:E,isEditable:w};return u.eventCallbackForContextMenu(c,v,x)}}]),u}();return a;function i(u){var s=Number(u.getAttribute("data-row")),c=Number(u.getAttribute("data-col")),f=u.getAttribute("data-row-id");return{rowIndex:s,colIndex:c,id:f,cellNode:u,cellType:u.getAttribute("data-cell-type")}}},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(7),l(18),l(90)],C=l.dj.d(A,function(d,n,e){"use strict";var t=function(){function r(){h(this,r)}return m(r,null,[{key:"generateUuid",value:function(){return"xxxxxxxx".replace(/[xy]/g,function(a){var i=Math.random()*16|0,u=a==="x"?i:i&3|8;return u.toString(16)}).toUpperCase()}},{key:"getRangeListForRange",value:function(a,i,u){var s=Math.max(i,a.dataSize.rows.start),c=Math.min(u,a.dataSize.rows.end);return[d.range().setRows(s,c).setColumns(0,0)]}},{key:"getSelectedNodes",value:function(a){var i=void 0,u=a.getStateByKey("selected");if(u&&(i=u.rangeList[0]),i&&i.length){var s=i.map(function(c){return{id:c.id}});if(s.length>0)return s}return[]}},{key:"removeNodeSelectionState",value:function(a,i){var u=void 0,s=a.getStateByKey("selected");if(s&&(u=s.rangeList[0]),u&&u.length){var c=u.filter(function(f){return f.id!==i.id});a.setState("selected",!0,[c])}}},{key:"removeNodeFocusState",value:function(a,i){var u=a.getStateByKey("focused");u&&u.value&&(u=u.value,i.id===u.id&&a.deleteState("focused"))}},{key:"isArrayMatching",value:function(a,i){if(Array.isArray(a)&&Array.isArray(i)){var u=Object.assign([],a),s=Object.assign([],i);if(u.sort(function(f,p){return f-p}),s.sort(function(f,p){return f-p}),u.length!==s.length)return!1;for(var c=0;c<a.length;c++)if(u[c]!==s[c])return!1;return!0}return!1}},{key:"containsKeyCode",value:function(a,i){return i&&Array.isArray(i)&&a?i.includes(a):!1}},{key:"isPropertyInTheObject",value:function(a,i,u){return a&&i&&u?a.some(function(s){if(s&&s[i])return s[i]===u}):!1}},{key:"hasDuplicates",value:function(a){return a&&Array.isArray(a)&&a.length>0?new Set(a).size!==a.length:!1}},{key:"isArrayEmpty",value:function(a){return!!(a&&Array.isArray(a)&&a.length<=0)}},{key:"getUsersPlaform",value:function(){var a=navigator.userAgent.toLowerCase();if(n(e.exposed.MAC))return e.exposed.MAC;if(a.includes(e.exposed.WINDOWS))return e.exposed.WINDOWS;if(a.includes(e.exposed.LINUX))return e.exposed.LINUX}},{key:"getKeyByValue",value:function(a,i){if(a&&i){for(var u in a)if(a.hasOwnProperty(u)&&a[u]===i)return u}return!1}},{key:"shallowEqual",value:function(a,i){var u=Object.keys(a),s=Object.keys(i);if(u.length!==s.length)return!1;var c=!0,f=!1,p=void 0;try{for(var v=u[Symbol.iterator](),g;!(c=(g=v.next()).done);c=!0){var E=g.value,D=this.isObject(a[E])&&this.isObject(i[E]);if(!D&&a[E]!==i[E])return!1}}catch(F){f=!0,p=F}finally{try{!c&&v.return&&v.return()}finally{if(f)throw p}}return!0}},{key:"isObject",value:function(a){return a!=null&&(typeof a=="undefined"?"undefined":y(a))==="object"}},{key:"throttle",value:function(a,i){var u=void 0,s=void 0,c=void 0;return function(){var f=this,p=arguments;u?(clearTimeout(s),s=setTimeout(function(){Date.now()-c>=i&&(a.apply(f,p),c=Date.now())},Math.max(i-(Date.now()-c),0))):(a.apply(f,p),c=Date.now(),u=!0)}}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(125),l(7),l(97),l(18)],C=l.dj.d(A,function(d,n,e,t){"use strict";var r=function(){function o(){h(this,o)}return m(o,null,[{key:"getFocusedCellForTreeTable",value:function(i,u,s){var c={},f=void 0;if(u&&u.rangeList.length>0&&u.rangeList[0]){var p=u.rangeList[0],v=p.rows.start,g=p.columns.start,E=[v,g].join(",");if(u.value?(f=u.value,E=[f,g].join(",")):v<=i.rangeList[0].rows.end&&v>=i.rangeList[0].rows.start&&(f=i.rowMetaData[0](v).value.id,E=[f,g].join(","),o._updateActiveStateWhenFocusCellPageIntoView(f,u.rangeList,s)),v<=i.rangeList[0].rows.end&&v>=i.rangeList[0].rows.start){var D=i.rowMetaData[0](v).value.groupRow;o.isGroupedRow(D)&&(E=f)}c[E]="mw-table-cell-focused"}return[f,c]}},{key:"_areRangeListsEqual",value:function(i,u){if(!i&&!u&&i===u)return!0;if(!i||!u||i.length!==u.length)return!1;for(var s=0;s<i.length;s+=1)if(!n.isRangeEqual(i[s],u[s]))return!1;return!0}},{key:"_updateActiveStateWhenFocusCellPageIntoView",value:function(i,u,s){var c=s.getStateByKey(d.protected.FOCUSED),f=s.getStateByKey(d.protected.ACTIVE_CELL);(!c||c.value!==i)&&(!c||!o._areRangeListsEqual(u,c.rangeList))&&s.setState(d.protected.FOCUSED,i,u),(!f||!f.value||f.value.id!==i)&&(!f||!o._areRangeListsEqual(u,f.rangeList))&&s.setState(d.protected.ACTIVE_CELL,{id:i},u)}},{key:"_updateSelectionStateWhenSelectionPageIntoView",value:function(i,u){var s=u.getStateByKey(d.protected.SELECTED),c=u.getStateByKey(d.protected.PIVOT);(!s||!s.value||s.value[0]!==i)&&u.setState(d.protected.SELECTED,[i]),c&&c.value!==i&&u.setState(d.protected.PIVOT,i)}},{key:"getIdsFromProxyNodes",value:function(i){return i.map(function(u){return u.id})}},{key:"createProxyNodesWithIds",value:function(i){return i.map(function(u){return{id:u}})}},{key:"_setInitialSelectionPivot",value:function(i,u){if(i.rangeList[0].rows.count!==0&&i.rangeList[0].rows.start===0&&!u.getStateByKey(d.protected.PIVOT)){var s=i.rowMetaData[0](0).value.id;s!==void 0&&u.setState(d.protected.PIVOT,s)}}},{key:"getSelectionIdList",value:function(i,u,s){var c={},f=void 0,p=void 0;if(u){if(f=u.value,f&&f.length!==0)for(var v=0;v<f.length;v++)c[f[v]]=!0;else if(!s.getStateByKey(d.treetable.SELETION_CLEARED)){var g=s.getStateByKey(d.protected.ACTIVE_CELL);g&&g.value&&(p=g.value.id,p!==void 0&&(c[p]=!0),o._updateSelectionStateWhenSelectionPageIntoView(p,s))}}else o._setInitialSelectionPivot(i,s);return c}},{key:"isObjectEmpty",value:function(i){for(var u in i)if(i.hasOwnProperty(u))return!1;return!0}},{key:"isGroupedRow",value:function(i){return i!==null&&(typeof i=="undefined"?"undefined":y(i))==="object"&&i.constructor===Object}},{key:"getActiveCell",value:function(i){var u=i.getStateByKey(d.protected.ACTIVE_CELL);if(!u){var s=[n.range().setRows(0,0).setColumns(0,0)];u={value:null,rangeList:s}}return u}},{key:"hasModifierKey",value:function(i){var u=i.ctrlKey,s=i.meta,c=i.shiftKey,f=i.altKey;return u||f||s||c}},{key:"shallowEqual",value:function(i,u){if(i===u)return!0;for(var s in i)if(!(s in u)||i[s]!==u[s])return!1;for(var c in u)if(!(c in i))return!1;return!0}},{key:"containsKeyCode",value:function(i,u){return u&&Array.isArray(u)&&i?u.includes(i):!1}},{key:"hasDuplicates",value:function(i){return i&&Array.isArray(i)&&i.length>0?new Set(i).size!==i.length:!1}},{key:"isArrayEmpty",value:function(i){return!!(i&&Array.isArray(i)&&i.length<=0)}},{key:"isArrayMatching",value:function(i,u){if(Array.isArray(i)&&Array.isArray(u)){var s=Object.assign([],i),c=Object.assign([],u);if(s.sort(function(p,v){return p-v}),c.sort(function(p,v){return p-v}),s.length!==c.length)return!1;for(var f=0;f<i.length;f++)if(s[f]!==c[f])return!1;return!0}return!1}},{key:"isPropertyInTheObject",value:function(i,u,s){return i&&u&&s?i.some(function(c){if(c&&c[u])return c[u]===s}):!1}},{key:"getUsersPlaform",value:function(){var i=navigator.userAgent.toLowerCase();if(t(e.exposed.MAC))return e.exposed.MAC;if(i.includes(e.exposed.WINDOWS))return e.exposed.WINDOWS;if(i.includes(e.exposed.LINUX))return e.exposed.LINUX}},{key:"getKeyByValue",value:function(i,u){if(i&&u){for(var s in i)if(i.hasOwnProperty(s)&&i[s]===u)return s}return!1}},{key:"getColumnId",value:function(i,u){var s=i.find(function(c){return c._index===u});return s?s.columnId:""}},{key:"getCheckboxTreetableAriaLabel",value:function(i){if(i){var u=i.check===!0?"checked":i.check?i.check:"unchecked",s="checkbox "+u;return s}}},{key:"getFocusState",value:function(i){return i.getStateByKey(d.protected.FOCUSED)||null}},{key:"getTreeColumnIndex",value:function(i){return i.getStateByKey(d.treetable.treeColumnIndex)||null}},{key:"getCheckboxTreetableState",value:function(i){return i.getStateByKey(d.treetable.CHECKBOX_TREETABLE)||null}},{key:"isCheckboxTreetable",value:function(i){return!!(i&&i.isCheckboxTree)}},{key:"getCellInfo",value:function(i){var u=i.row,s=i.column,c=i.columnId,f=i.evt,p=i.node,v=f.ctrlKey,g=f.shiftKey,E=f.altKey,D=f.target,F=p.id,w=f.metaKey,x=D.hasAttribute("data-disclosure-id"),R={id:F,node:p,row:u,column:s,columnId:c,meta:w,ctrlKey:v,shiftKey:g,altKey:E};return{isDisclosureTarget:x,cellInfo:R}}},{key:"isDraggedItemInTheNodePath",value:function(i,u){var s=i.sourceIds,c=i.path,f=[];f=u||c;var p=s.some(function(v){return f.includes(v)});return p}},{key:"_isMouseOnTopOfTarget",value:function(i,u,s){var c=i.getBoundingClientRect(),f=c.left,p=c.right,v=c.bottom,g=c.top,E=u.getBoundingClientRect(),D=E.left,F=E.top,w=D+s.xOffset,x=F+s.yOffset;return w>=f&&w<=p&&x>=g&&x<=v}},{key:"isDragTargetDisclosureIcon",value:function(i,u){var s=i.querySelector(".disclosureIcon");return s?o._isMouseOnTopOfTarget(s,i,u):!1}},{key:"isTargetOnScrollBar",value:function(i,u){return i.clientWidth<=u.xOffset||i.clientHeight<=u.yOffset}},{key:"isDragTargetCheckboxTree",value:function(i,u){var s=i.querySelector(".mw-checkbox-tree");return s?o._isMouseOnTopOfTarget(s,i,u):!1}},{key:"isNextSiblingItsChild",value:function(i){var u=i.level,s=i.nextSibling;return s.level===u+1}}]),o}();return r},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(17)],C=l.dj.d(A,function(y){return function(){var m={emit:function(d){}};return{subscribe:function(d){var n=y.after(m,"emit",d,!0);return{unsubscribe:function(){n.remove()}}},emit:function(d){m.emit(d)}}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[M,l(18),l(0),l(12),l(14),l(326)],C=l.dj.d(A,function(y,m,h,d,n,e){var t={innerHTML:1,textContent:1,className:1,htmlFor:m("ie")?1:0,value:1},r={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function o(a,i){var u=a.getAttributeNode&&a.getAttributeNode(i);return!!u&&u.specified}y.has=function(i,u){var s=u.toLowerCase();return!!t[e.names[s]||u]||o(d.byId(i),r[s]||u)},y.get=function(i,u){i=d.byId(i);var s=u.toLowerCase(),c=e.names[s]||u,f=t[c],p=i[c];if(f&&typeof p!="undefined")return p;if(c=="textContent")return e.get(i,c);if(c!="href"&&(typeof p=="boolean"||h.isFunction(p)))return p;var v=r[s]||u;return o(i,v)?i.getAttribute(v):null},y.set=function(i,u,s){if(i=d.byId(i),arguments.length==2){for(var c in u)y.set(i,c,u[c]);return i}var f=u.toLowerCase(),p=e.names[f]||u,v=t[p];return p=="style"&&typeof s!="string"?(n.set(i,s),i):v||typeof s=="boolean"||h.isFunction(s)?e.set(i,u,s):(i.setAttribute(r[f]||u,s),i)},y.remove=function(i,u){d.byId(i).removeAttribute(r[u.toLowerCase()]||u)},y.getNodeProp=function(i,u){i=d.byId(i);var s=u.toLowerCase(),c=e.names[s]||u;if(c in i&&c!="href")return i[c];var f=r[s]||u;return o(i,f)?i.getAttribute(f):null}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(21),l(44)],C=l.dj.d(A,function(y,m,h){var d={},n={},e={length:0,add:function(t){if(n[t.id])throw new Error("Tried to register widget with id=="+t.id+" but that id is already registered");n[t.id]=t,this.length++},remove:function(t){n[t]&&(delete n[t],this.length--)},byId:function(t){return typeof t=="string"?n[t]:t},byNode:function(t){return n[t.getAttribute("widgetId")]},toArray:function(){var t=[];for(var r in n)t.push(n[r]);return t},getUniqueId:function(t){var r;do r=t+"_"+(t in d?++d[t]:d[t]=0);while(n[r]);return h._scopeName=="dijit"?r:h._scopeName+"_"+r},findWidgets:function(t,r){var o=[];function a(i){for(var u=i.firstChild;u;u=u.nextSibling)if(u.nodeType==1){var s=u.getAttribute("widgetId");if(s){var c=n[s];c&&o.push(c)}else u!==r&&a(u)}}return a(t),o},_destroyAll:function(){h._curFocus=null,h._prevFocus=null,h._activeStack=[],y.forEach(e.findWidgets(m.body()),function(t){t._destroyed||(t.destroyRecursive?t.destroyRecursive():t.destroy&&t.destroy())})},getEnclosingWidget:function(t){for(;t;){var r=t.nodeType==1&&t.getAttribute("widgetId");if(r)return n[r];t=t.parentNode}return null},_hash:n};return h.registry=e,e},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(8),l(12),l(4),l(9),l(0),l(330),l(331)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){"use strict";m.add("array-extensible",function(){return e.delegate([],{length:1}).length==1&&!m("bug-for-in-skips-shadowed")});var o=Array.prototype,a=o.slice,i=o.concat,u=n.forEach,s=function(R,T,S){var I=new(S||this._NodeListCtor||D)(R);return T?I._stash(T):I},c=function(R,T,S){return T=[0].concat(a.call(T,0)),S=S||y.global,function(I){return T[0]=I,R.apply(S,T)}},f=function(R,T){return function(){return this.forEach(c(R,arguments,T)),this}},p=function(R,T){return function(){return this.map(c(R,arguments,T))}},v=function(R,T){return function(){return this.filter(c(R,arguments,T))}},g=function(R,T,S){return function(){var I=arguments,B=c(R,I,S);return T.call(S||y.global,I)?this.map(B):(this.forEach(B),this)}},E=function(R){var T=this instanceof D&&m("array-extensible");typeof R=="number"&&(R=Array(R));var S=R&&"length"in R?R:arguments;if(T||!S.sort){for(var I=T?this:[],B=I.length=S.length,P=0;P<B;P++)I[P]=S[P];if(T)return I;S=I}return e._mixin(S,F),S._NodeListCtor=function(L){return D(L)},S},D=E,F=D.prototype=m("array-extensible")?[]:{};D._wrap=F._wrap=s,D._adaptAsMap=p,D._adaptAsForEach=f,D._adaptAsFilter=v,D._adaptWithCondition=g,u(["slice","splice"],function(R){var T=o[R];F[R]=function(){return this._wrap(T.apply(this,arguments),R=="slice"?this:null)}}),u(["indexOf","lastIndexOf","every","some"],function(R){var T=n[R];F[R]=function(){return T.apply(y,[this].concat(a.call(arguments,0)))}}),e.extend(E,{constructor:D,_NodeListCtor:D,toString:function(){return this.join(",")},_stash:function(R){return this._parent=R,this},on:function(R,T){var S=this.map(function(I){return d(I,R,T)});return S.remove=function(){for(var I=0;I<S.length;I++)S[I].remove()},S},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(R){var T=a.call(this,0),S=n.map(arguments,function(I){return a.call(I,0)});return this._wrap(i.apply(T,S),this)},map:function(R,T){return this._wrap(n.map(this,R,T),this)},forEach:function(R,T){return u(this,R,T),this},filter:function(R){var T=arguments,S=this,I=0;if(typeof R=="string"){if(S=x._filterResult(this,T[0]),T.length==1)return S._stash(this);I=1}return this._wrap(n.filter(S,T[I],T[I+1]),this)},instantiate:function(R,T){var S=e.isFunction(R)?R:e.getObject(R);return T=T||{},this.forEach(function(I){new S(T,I)})},at:function(){var R=new this._NodeListCtor(0);return u(arguments,function(T){T<0&&(T=this.length+T),this[T]&&R.push(this[T])},this),R._stash(this)}});function w(R,T){var S=function(B,P){if(typeof P=="string"&&(P=h.byId(P),!P))return new T([]);var L=typeof B=="string"?R(B,P):B?B.end&&B.on?B:[B]:[];return L.end&&L.on?L:new T(L)};if(S.matches=R.match||function(B,P,L){return S.filter([B],P,L).length>0},S.filter=R.filter||function(B,P,L){return S(P,L).filter(function(O){return n.indexOf(B,O)>-1})},typeof R!="function"){var I=R.search;R=function(B,P){return I(P||document,B)}}return S}var x=w(r,E);return y.query=w(r,function(R){return E(R)}),x.load=function(R,T,S){t.load(R,T,function(I){S(w(I,E))})},y._filterQueryResult=x._filterResult=function(R,T,S){return new E(x.filter(R,T,S))},y.NodeList=x.NodeList=E,x},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(554),l(41)],C=l.dj.d(A,function(y,m){const h=document.createElement("span"),d=document.createElement("span");return d.classList.add("hl"),{text2html:e,html2text:t,highlightText:r,updateData:a,expandToLine:o,expandAll:i,getUnitData:u,getLineData:s,getHDLLineData:c,createUnit:f,markChar:p,mvm:y.getMVM(),start:v};function e(g){return h.innerText=g,h.innerHTML}function t(g){return h.innerHTML=g,h.innerText}function r(g,E){if(!E)return e(g);const D=g.match(E);if(!D)return e(g);const F=g.split(E),w=e(F[0]);return D.reduce(function(R,T,S){d.innerText=T;const I=d.outerHTML,B=e(F[S+1]);return R+I+B},w)}function o(g,E){const D=g[E-1];D&&D.up&&(D.up.forEach(function(F){g[F-1].expand=!0}),a(g))}function a(g){g.forEach(function(E){E.up?E.show=E.up.every(function(D){return g[D-1].expand}):E.show=!0})}function i(g){const E=window.cr;E.data.files.data.forEach(function(D){const F=D.codeList;F.forEach(function(w){w.expand=g}),a(F)}),E.refresh()}function u(g,E){const D=E.id,F=g.records.get(D);if(F)return{file:F.file,line:F.line,col:F.col,code:F.token,sids:F.sid?[...F.sid]:[]}}function s(g,E){const D=g.currentFile,F=g.files.get(D).codeList[E-1],w=F.rawCode,x=[...F.sid];return{file:D,line:E,code:w,sids:x}}function c(g,E){const D=g.currentFile,w=g.files.get(D).codeList[E-1],x=w.rawCode,R=[];return w.id===E&&w.isTraceable&&R.push(w.sid),{file:D,line:E,code:x,sids:R}}function f(g){const E=document.createElement("span");return E.classList.add("typedef"),typeof g=="string"?(E.setAttribute("type","string"),E.textContent=g):(E.setAttribute("type",g.type),E.textContent=g.text,E.onclick=function(D){if(D.stopPropagation(),g.sid)m.publish({action:"blk2mdl",sids:[g.sid]});else{const F=g.file,w=g.line;window.cr.show(F,w,!0)}}),E}function p(g){const E=g.childNodes;for(let D=0,F=E.length;D<F;D++){const w=E[D];if(w.nodeType===1)p(w);else if(w.nodeType===3){const x=document.createElement("text"),R=w.textContent;let T="";for(let S=0,I=R.length;S<I;S++)T+="<c>"+R[S]+"</c>";x.innerHTML=T,g.replaceChild(x,w)}}}function v(){m.publish({action:"start"})}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(47)],C=l.dj.d(A,function(y){const m=window.location.search.substr(1),h=y.queryToObject(m);return h.channel="/report",h.uid=Date.now()+"-"+Math.random(),h.hasOwnProperty("features")?h.features=JSON.parse(h.features):h.features={},h.model||(h.model=h.top),h.hasOwnProperty("readonly")?h.readonly=JSON.parse(h.readonly):h.readonly=!1,window.config=h,h},_,M),_.exports=C},function(_,M,l){var A,C;A=[l.dj.c(_.i),l(9),l(17),l(26),l(85),l(1),l(12),l(34),l(11),l(10),l(24),l(14),l(8),l(6),l(0),l(4),l(73),l(196),l(27),l(21),l(328),l.dj.h("dojo-bidi?329"),l(35)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p,v,g,E,D,F,w,x){s.add("dijit-legacy-requires",!c.isAsync),s.add("dojo-bidi",!1),s("dijit-legacy-requires")&&v(0,function(){var P=["dijit/_base/manager"];y(P)});var R={};function T(P){var L={};for(var O in P)L[O.toLowerCase()]=!0;return L}function S(P){return function(L){r[L?"set":"remove"](this.domNode,P,L),this._set(P,L)}}function I(P,L){return P===L||P!==P&&L!==L}var B=e("dijit._WidgetBase",[g,F],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:S("lang"),dir:"",_setDirAttr:S("dir"),class:"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(P){this._set("ownerDocument",P)},attributeMap:{},_blankGif:d.blankGif||y.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var P=this.constructor;if(!P._setterAttrs){var L=P.prototype,O=P._setterAttrs=[],W=P._onMap={};for(var j in L.attributeMap)O.push(j);for(j in L)/^on/.test(j)&&(W[j.substring(2).toLowerCase()]=j),/^_set[A-Z](.*)Attr$/.test(j)&&(j=j.charAt(4).toLowerCase()+j.substr(5,j.length-9),(!L.attributeMap||!(j in L.attributeMap))&&O.push(j))}},postscript:function(P,L){this.create(P,L)},create:function(P,L){this._introspect(),this.srcNodeRef=t.byId(L),this._connects=[],this._supportingWidgets=[],this.srcNodeRef&&this.srcNodeRef.id&&typeof this.srcNodeRef.id=="string"&&(this.id=this.srcNodeRef.id),P&&(this.params=P,f.mixin(this,P)),this.postMixInProperties(),this.id||(this.id=x.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id),this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document),this.ownerDocumentBody=D.body(this.ownerDocument),x.add(this),this.buildRendering();var O;if(this.domNode){this._applyAttributes();var W=this.srcNodeRef;W&&W.parentNode&&this.domNode!==W&&(W.parentNode.replaceChild(this.domNode,W),O=!0),this.domNode.setAttribute("widgetId",this.id)}this.postCreate(),O&&delete this.srcNodeRef,this._created=!0},_applyAttributes:function(){var P={};for(var L in this.params||{})P[L]=this._get(L);m.forEach(this.constructor._setterAttrs,function(O){if(!(O in P)){var W=this._get(O);W&&this.set(O,W)}},this);for(L in P)this.set(L,P[L])},postMixInProperties:function(){},buildRendering:function(){if(this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div")),this.baseClass){var P=this.baseClass.split(" ");this.isLeftToRight()||(P=P.concat(m.map(P,function(L){return L+"Rtl"}))),o.add(this.domNode,P)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,m.forEach(this.getChildren(),function(P){!P._started&&!P._destroyed&&f.isFunction(P.startup)&&(P.startup(),P._started=!0)}))},destroyRecursive:function(P){this._beingDestroyed=!0,this.destroyDescendants(P),this.destroy(P)},destroy:function(P){this._beingDestroyed=!0,this.uninitialize();function L(O){O.destroyRecursive?O.destroyRecursive(P):O.destroy&&O.destroy(P)}m.forEach(this._connects,f.hitch(this,"disconnect")),m.forEach(this._supportingWidgets,L),this.domNode&&m.forEach(x.findWidgets(this.domNode,this.containerNode),L),this.destroyRendering(P),x.remove(this.id),this._destroyed=!0},destroyRendering:function(P){this.bgIframe&&(this.bgIframe.destroy(P),delete this.bgIframe),this.domNode&&(P?r.remove(this.domNode,"widgetId"):a.destroy(this.domNode),delete this.domNode),this.srcNodeRef&&(P||a.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(P){m.forEach(this.getChildren(),function(L){L.destroyRecursive&&L.destroyRecursive(P)})},uninitialize:function(){return!1},_setStyleAttr:function(P){var L=this.domNode;f.isObject(P)?u.set(L,P):L.style.cssText?L.style.cssText+="; "+P:L.style.cssText=P,this._set("style",P)},_attrToDom:function(P,L,O){O=arguments.length>=3?O:this.attributeMap[P],m.forEach(f.isArray(O)?O:[O],function(W){var j=this[W.node||W||"domNode"],K=W.type||"attribute";switch(K){case"attribute":f.isFunction(L)&&(L=f.hitch(this,L));var H=W.attribute?W.attribute:/^on[A-Z][a-zA-Z]*$/.test(P)?P.toLowerCase():P;j.tagName?r.set(j,H,L):j.set(H,L);break;case"innerText":j.innerHTML="",j.appendChild(this.ownerDocument.createTextNode(L));break;case"textContent":j.textContent=L;break;case"innerHTML":j.innerHTML=L;break;case"class":o.replace(j,L,this[P]);break;case"toggleClass":o.toggle(j,W.className||P,L);break}},this)},get:function(P){var L=this._getAttrNames(P);return this[L.g]?this[L.g]():this._get(P)},set:function(P,L){if(typeof P=="object"){for(var O in P)this.set(O,P[O]);return this}var W=this._getAttrNames(P),j=this[W.s];if(f.isFunction(j))var K=j.apply(this,Array.prototype.slice.call(arguments,1));else{var H=this.focusNode&&!f.isFunction(this.focusNode)?"focusNode":"domNode",V=this[H]&&this[H].tagName,$=V&&(R[V]||(R[V]=T(this[H]))),G=P in this.attributeMap?this.attributeMap[P]:W.s in this?this[W.s]:$&&W.l in $&&typeof L!="function"||/^aria-|^data-|^role$/.test(P)?H:null;G!=null&&this._attrToDom(P,L,G),this._set(P,L)}return K||this},_attrPairNames:{},_getAttrNames:function(P){var L=this._attrPairNames;if(L[P])return L[P];var O=P.replace(/^[a-z]|-[a-zA-Z]/g,function(W){return W.charAt(W.length-1).toUpperCase()});return L[P]={n:P+"Node",s:"_set"+O+"Attr",g:"_get"+O+"Attr",l:O.toLowerCase()}},_set:function(P,L){var O=this[P];this[P]=L,this._created&&!I(O,L)&&(this._watchCallbacks&&this._watchCallbacks(P,O,L),this.emit("attrmodified-"+P,{detail:{prevValue:O,newValue:L}}))},_get:function(P){return this[P]},emit:function(P,L,O){L=L||{},L.bubbles===void 0&&(L.bubbles=!0),L.cancelable===void 0&&(L.cancelable=!0),L.detail||(L.detail={}),L.detail.widget=this;var W,j=this["on"+P];return j&&(W=j.apply(this,O||[L])),this._started&&!this._beingDestroyed&&p.emit(this.domNode,P.toLowerCase(),L),W},on:function(P,L){var O=this._onMap(P);return O?h.after(this,O,L,!0):this.own(p(this.domNode,P,L))[0]},_onMap:function(P){var L=this.constructor,O=L._onMap;if(!O){O=L._onMap={};for(var W in L.prototype)/^on/.test(W)&&(O[W.replace(/^on/,"").toLowerCase()]=W)}return O[typeof P=="string"&&P.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?x.findWidgets(this.containerNode):[]},getParent:function(){return x.getEnclosingWidget(this.domNode.parentNode)},connect:function(P,L,O){return this.own(n.connect(P,L,this,O))[0]},disconnect:function(P){P.remove()},subscribe:function(P,L){return this.own(E.subscribe(P,f.hitch(this,L)))[0]},unsubscribe:function(P){P.remove()},isLeftToRight:function(){return this.dir?this.dir.toLowerCase()=="ltr":i.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&u.get(this.domNode,"display")!="none"},placeAt:function(P,L){var O=!P.tagName&&x.byId(P);if(O&&O.addChild&&(!L||typeof L=="number"))O.addChild(this,L);else{var W=O&&"domNode"in O?O.containerNode&&!/after|before|replace/.test(L||"")?O.containerNode:O.domNode:t.byId(P,this.ownerDocument);a.place(this.domNode,W,L),!this._started&&(this.getParent()||{})._started&&this.startup()}return this},defer:function(P,L){var O=setTimeout(f.hitch(this,function(){!O||(O=null,this._destroyed||f.hitch(this,P)())}),L||0);return{remove:function(){return O&&(clearTimeout(O),O=null),null}}}});return s("dojo-bidi")&&B.extend(w),B},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(20),l(105),l(104),l(8),l(0),l(61)],C=l.dj.d(A,function(y,m,h,d,n,e,t){var r=function(){},o=Object.freeze||function(){},a=y.Deferred=function(i){var u,s,c,f,p,v,g,E=this.promise=new h;function D(x){if(s)throw new Error("This deferred has already been resolved");u=x,s=!0,F()}function F(){for(var x;!x&&g;){var R=g;g=g.next,(x=R.progress==r)&&(s=!1);var T=p?R.error:R.resolved;if(n("config-useDeferredInstrumentation")&&p&&m.instrumentRejected&&m.instrumentRejected(u,!!T),T)try{var S=T(u);if(S&&typeof S.then=="function"){S.then(e.hitch(R.deferred,"resolve"),e.hitch(R.deferred,"reject"),e.hitch(R.deferred,"progress"));continue}var I=x&&S===void 0;x&&!I&&(p=S instanceof Error),R.deferred[I&&p?"reject":"resolve"](I?u:S)}catch(B){R.deferred.reject(B)}else p?R.deferred.reject(u):R.deferred.resolve(u)}}this.isResolved=E.isResolved=function(){return f==0},this.isRejected=E.isRejected=function(){return f==1},this.isFulfilled=E.isFulfilled=function(){return f>=0},this.isCanceled=E.isCanceled=function(){return c},this.resolve=this.callback=function(x){this.fired=f=0,this.results=[x,null],D(x)},this.reject=this.errback=function(x){p=!0,this.fired=f=1,n("config-useDeferredInstrumentation")&&m.instrumentRejected&&m.instrumentRejected(x,!!g),D(x),this.results=[null,x]},this.progress=function(x){for(var R=g;R;){var T=R.progress;T&&T(x),R=R.next}},this.addCallbacks=function(x,R){return this.then(x,R,r),this},E.then=this.then=function(x,R,T){var S=T==r?this:new a(E.cancel),I={resolved:x,error:R,progress:T,deferred:S};return g?v=v.next=I:g=v=I,s&&F(),S.promise};var w=this;E.cancel=this.cancel=function(){if(!s){var x=i&&i(w);s||(x instanceof Error||(x=new d(x)),x.log=!1,w.reject(x))}c=!0},o(E)};return e.extend(a,{addCallback:function(i){return this.addCallbacks(e.hitch.apply(y,arguments))},addErrback:function(i){return this.addCallbacks(null,e.hitch.apply(y,arguments))},addBoth:function(i){var u=e.hitch.apply(y,arguments);return this.addCallbacks(u,u)},fired:-1}),a.when=y.when=t,a},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(93),l(38),l(27)],C=l.dj.d(A,function(y,m,h){const d={};let n;return y.start(),y.subscribe(m.channel,function(o){const a=o.data;if(a.uid&&a.uid!==m.uid||a.cid&&a.cid!==m.cid||a.cid===void 0&&a.mdl!==m.model)return;a.mdl!==m.model&&(window.cr.history.save(),m.model=a.mdl,m.build=a.mdl);const i=d[a.action];i&&i(a.data)}),{publish:t,subscribe:r};function e(){if(n===void 0||n===!1)h.subscribe("/webviewStatus",function(o){return o===!0&&(n=!0),o});else return!0}function t(o){e()===!0?h.publish("/codeviewToWebview",o):(o.top=m.top,o.model=m.model,o.build=m.build,o.uid=m.uid,o.cid=m.cid,y.publish(m.channel,o))}function r(o,a){d[o]=a}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({SOURCE_SELECTOR:"mw-table-dnd-source",TARGET_SELECTOR_TABLE_BODY:".mw-table-cell",TARGET_SELECTOR_TABLE_HEADER:".mw-table-header-column",TARGET_SELECTOR_TABLE_ROW:".mw-table-row",ROW_VALID_HOVER:"mw-table-dnd-valid-hover",ROW_INVALID_HOVER:"mw-table-dnd-invalid-hover",CONTAINER:"mw-scrolling-div",INSERTION_LINE_CLASS:"mw-table-insertion-line",WHITESPACE:"WHITESPACE",AUTO_EXPAND_TIME:1e3,MARGIN_LEFT_FOR_ROOT:18,ROW_REGIONS:{ROWS:"5 auto 5",CONTAINER:"0 auto 0",INSERT_AS_ROW:"50% 50%"},COLUMN_REGIONS:"50% 50%",dataType:{JSON:"json",TEXT:"text"},targetLifeCycle:{ENTER:"enter",HOVER:"hover",LEAVE:"leave"},modes:["columns","rowSelection"],REORDER:{INSERT_ABOVE:0,INSERT_BELOW:2,INSERT_AS_CHILD:1,ROWS:"reorderRows",VALID_LINE:"mw-table-horizontal-line",INVALID_LINE:"mw-table-horizontal-line-invalid"},REPARENT:{ROWS:"reparentRows"},DROP_TARGET:{TABLE_CELL:"tableCell",CONTAINER:"scrollComponent",INSERTION_LINE:"insertionLine"},TABLE_DEFAULT_TYPE:"mw-table-default-type",TABLE_SOURCE_COLUMN:"TABLE_COLUMN",TREETABLE_SOURCE_COLUMN:"TREETABLE_COLUMN",TABLE_SOURCE_ROW:"TABLE_ROW",TREETABLE_DEFAULT_TYPE:"mw-treetable-default-type",getDragSourceType:m});return y;function m(h,d){if(h===y.modes[0]&&d===y.TABLE_DEFAULT_TYPE)return y.TABLE_SOURCE_COLUMN;if(h===y.modes[0]&&d===y.TREETABLE_DEFAULT_TYPE)return y.TREETABLE_SOURCE_COLUMN}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(103),l(8)],C=l.dj.d(A,function(y,m){var h=document,d={loaded:1,complete:1},n=typeof h.readyState!="string",e=!!d[h.readyState],t=[],r;function o(p){t.push(p),e&&a()}o.load=function(p,v,g){o(g)},o._Q=t,o._onQEmpty=function(){},n&&(h.readyState="loading");function a(){if(!r){for(r=!0;t.length;)try{t.shift()(h)}catch(p){console.error(p,"in domReady callback",p.stack)}r=!1,o._onQEmpty()}}if(!e){var i=[],u=function(p){p=p||y.event,!(e||p.type=="readystatechange"&&!d[h.readyState])&&(n&&(h.readyState="complete"),e=1,a())},s=function(p,v){p.addEventListener(v,u,!1),t.push(function(){p.removeEventListener(v,u,!1)})};if(!m("dom-addeventlistener")){s=function(p,v){v="on"+v,p.attachEvent(v,u),t.push(function(){p.detachEvent(v,u)})};var c=h.createElement("div");try{c.doScroll&&y.frameElement===null&&i.push(function(){try{return c.doScroll("left"),1}catch(p){}})}catch(p){}}if(s(h,"DOMContentLoaded"),s(y,"load"),"onreadystatechange"in h?s(h,"readystatechange"):n||i.push(function(){return d[h.readyState]}),i.length){var f=function(){if(!e){for(var p=i.length;p--;)if(i[p]()){u("poller");return}setTimeout(f,30)}};f()}}return o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6)],C=l.dj.d(A,function(y){return y.dijit},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0),l(18),l(21),l(12),l(24),l(14),l(10)],C=l.dj.d(A,function(y,m,h,d,n,e,t){m.add("rtl-adjust-position-for-verticalScrollBar",function(o,a){var i=h.body(a),u=t.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},i,"last"),s=t.create("div",{style:{overflow:"hidden",direction:"ltr"}},u,"last"),c=n.position(s).x!=0;return u.removeChild(s),i.removeChild(u),c}),m.add("position-fixed-support",function(o,a){var i=h.body(a),u=t.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},i,"last"),s=t.create("span",{style:{position:"fixed",left:"0",top:"0"}},u,"last"),c=n.position(s).x!=n.position(u).x;return u.removeChild(s),i.removeChild(u),c});var r={getBox:function(o){o=o||h.doc;var a=o.compatMode=="BackCompat"?h.body(o):o.documentElement,i=n.docScroll(o),u,s;if(m("touch")){var c=r.get(o);u=c.innerWidth||a.clientWidth,s=c.innerHeight||a.clientHeight}else u=a.clientWidth,s=a.clientHeight;return{l:i.x,t:i.y,w:u,h:s}},get:function(o){if(m("ie")&&r!==document.parentWindow){o.parentWindow.execScript("document._parentWindow = window;","Javascript");var a=o._parentWindow;return o._parentWindow=null,a}return o.parentWindow||o.defaultView},scrollIntoView:function(o,a){try{o=d.byId(o);var i=o.ownerDocument||h.doc,u=h.body(i),s=i.documentElement||u.parentNode,c=m("ie")||m("trident"),f=m("webkit");if(o==u||o==s)return;if(!(m("mozilla")||c||f||m("opera")||m("trident")||m("edge"))&&"scrollIntoView"in o){o.scrollIntoView(!1);return}var p=i.compatMode=="BackCompat",v=Math.min(u.clientWidth||s.clientWidth,s.clientWidth||u.clientWidth),g=Math.min(u.clientHeight||s.clientHeight,s.clientHeight||u.clientHeight),E=f||p?u:s,D=a||n.position(o),F=o.parentNode,w=function($){return c<=6||c==7&&p?!1:m("position-fixed-support")&&e.get($,"position").toLowerCase()=="fixed"},x=this,R=function($,G,Q){$.tagName=="BODY"||$.tagName=="HTML"?x.get($.ownerDocument).scrollBy(G,Q):(G&&($.scrollLeft+=G),Q&&($.scrollTop+=Q))};if(w(o))return;for(;F;){F==u&&(F=E);var T=n.position(F),S=w(F),I=e.getComputedStyle(F).direction.toLowerCase()=="rtl";if(F==E)T.w=v,T.h=g,E==s&&(c||m("trident"))&&I&&(T.x+=E.offsetWidth-T.w),T.x=0,T.y=0;else{var B=n.getPadBorderExtents(F);T.w-=B.w,T.h-=B.h,T.x+=B.l,T.y+=B.t;var P=F.clientWidth,L=T.w-P;P>0&&L>0&&(I&&m("rtl-adjust-position-for-verticalScrollBar")&&(T.x+=L),T.w=P),P=F.clientHeight,L=T.h-P,P>0&&L>0&&(T.h=P)}S&&(T.y<0&&(T.h+=T.y,T.y=0),T.x<0&&(T.w+=T.x,T.x=0),T.y+T.h>g&&(T.h=g-T.y),T.x+T.w>v&&(T.w=v-T.x));var O=D.x-T.x,W=D.y-T.y,j=O+D.w-T.w,K=W+D.h-T.h,H,V;j*O>0&&(!!F.scrollLeft||F==E||F.scrollWidth>F.offsetHeight)&&(H=Math[O<0?"max":"min"](O,j),I&&(c==8&&!p||m("trident")>=5)&&(H=-H),V=F.scrollLeft,R(F,H,0),H=F.scrollLeft-V,D.x-=H),K*W>0&&(!!F.scrollTop||F==E||F.scrollHeight>F.offsetHeight)&&(H=Math.ceil(Math[W<0?"max":"min"](W,K)),V=F.scrollTop,R(F,0,H),H=F.scrollTop-V,D.y-=H),F=F!=E&&!S&&F.parentNode}}catch($){console.error("scrollIntoView: "+$),o.scrollIntoView(!1)}}};return m("extend-dojo")&&y.setObject("dojo.window",r),r},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(336),l(1),l(10),l(0),l(4),l(18),l(56),l(341)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){var o=m("dijit._TemplatedMixin",r,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(a){var i=this.declaredClass,u=this;return t.substitute(a,this,function(s,c){if(c.charAt(0)=="!"&&(s=d.getObject(c.substr(1),!1,u)),typeof s=="undefined")throw new Error(i+" template:"+c);return s==null?"":c.charAt(0)=="!"?s:this._escapeValue(""+s)},this)},_escapeValue:function(a){return a.replace(/["'<>&]/g,function(i){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[i]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=y(this.templatePath,{sanitize:!0}));var a=o.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument),i;if(d.isString(a)){if(i=h.toDom(this._stringRepl(a),this.ownerDocument),i.nodeType!=1)throw new Error("Invalid template: "+a)}else i=a.cloneNode(!0);this.domNode=i}this.inherited(arguments),this._rendered||this._fillContent(this.srcNodeRef),this._rendered=!0},_fillContent:function(a){var i=this.containerNode;if(a&&i)for(;a.hasChildNodes();)i.appendChild(a.firstChild)}});return o._templateCache={},o.getCachedTemplate=function(a,i,u){var s=o._templateCache,c=a,f=s[c];if(f){try{if(!f.ownerDocument||f.ownerDocument==(u||document))return f}catch(v){}h.destroy(f)}if(a=t.trim(a),i||a.match(/\$\{([^\}]+)\}/g))return s[c]=a;var p=h.toDom(a,u);if(p.nodeType!=1)throw new Error("Invalid template: "+a);return s[c]=p},e("ie")&&n(window,"unload",function(){var a=o._templateCache;for(var i in a){var u=a[i];typeof u=="object"&&h.destroy(u),delete a[i]}}),o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0)],C=l.dj.d(A,function(y){var m={};return{objectToQuery:function(d){var n=encodeURIComponent,e=[];for(var t in d){var r=d[t];if(r!=m[t]){var o=n(t)+"=";if(y.isArray(r))for(var a=0,i=r.length;a<i;++a)e.push(o+n(r[a]));else e.push(o+n(r))}}return e.join("&")},queryToObject:function(d){for(var n=decodeURIComponent,e=d.split("&"),t={},r,o,a=0,i=e.length,u;a<i;++a)if(u=e[a],u.length){var s=u.indexOf("=");s<0?(r=n(u),o=""):(r=n(u.slice(0,s)),o=n(u.slice(s+1))),typeof t[r]=="string"&&(t[r]=[t[r]]),y.isArray(t[r])?t[r].push(o):t[r]=o}return t}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return function(y,m,h,d){var n,e,t;if(y.load(m,h,function(r){e=r,t=!0,n&&n(r)},{isBuild:!0}),t)return e;if(!d)throw new Error(m+" unavailable");return e=new Promise(function(r){n=r}),e.__DOJO_WEBPACK_DEFINE_PROMISE__=!0,e}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";return{TREE:"TREE",TREETABLE:"TREETABLE",TABLE:"TABLE"}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(536),l(541),l(545)],C=l.dj.d(A,function(y,m,h){const d={};return d["RTW:traceInfo"]=y,d["SimulinkCoderApp:report"]=m,d["coderdictionary:mapping"]=h,d.getString=function(n){if(n){const e=n.lastIndexOf(":");if(~e){const t=n.substring(0,e),r=n.substring(e+1),o=this[t];if(o)return o[r]}}},d},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){var y=location.href.slice(-1)==="d";return{sequence:function(){var h=arguments;return function(d){y&&(console.log("~~~~~~~~~~~"),console.log(d));for(var n=0;n<h.length;n++)d=h[n].call(this,d),y&&console.log(d.internalData);return y&&console.log(d),d}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(82),l(189),l(57)],C=l.dj.d(A,function(y,m,h){var d=y.RECOGNIZED,n=y.BEGAN,e=y.PROGRESS,t=y.INACTIVE,r=y.POSSIBLE,o=y.CANCELLED,a=m.isActiveState,i=m.isEndedState,u=m.isInactiveState,s={createRecognizerData:function(f,p,v){return{type:f,currentState:p.currentState,inputData:p.inputData,targetState:null,actionData:{},internalData:v}},applyWhen:function(f,p){return function(v){return f(v)?p(v):v}},applyIfUndetermined:function(f){return s.applyWhen(s.isUndetermined,f)},applyIfDetermined:function(f){return s.applyWhen(s.isDetermined,f)},applyIfActive:function(f){return s.applyWhen(function(p){return m.isActiveState(p.currentState)},f)},applyIfBegun:function(f){return s.applyWhen(function(p){return m.hasBegun(p.currentState)},f)},applyIfPossible:function(f){return s.applyWhen(function(p){return m.isPossibleState(p.currentState)},f)},applyIfTargetStateBegun:function(f){return s.applyWhen(function(p){return m.hasBegun(p.targetState)},f)},applyIfTargetStateIsActive:function(f){return s.applyWhen(function(p){return m.isActiveState(p.targetState)},f)},applyIfTargetStateIsComplete:function(f){return s.applyWhen(function(p){return u(p.targetState)||i(p.targetState)},f)},applyIfInactive:function(f){return s.applyWhen(function(p){return!m.isActiveState(p.currentState)},f)},applyOnUp:function(f){return s.applyWhen(function(p){return h.isUp(p.inputData)},f)},applyOnDown:function(f){return s.applyWhen(function(p){return h.isDown(p.inputData)},f)},applyOnMove:function(f){return s.applyWhen(function(p){return h.isMove(p.inputData)},f)},applyOnCancel:function(f){return s.applyWhen(function(p){return h.isCancel(p.inputData)},f)},applyOnTimeout:function(f){return s.applyWhen(function(p){return h.isTimeout(p.inputData)},f)},applyOnWheel:function(f){return s.applyWhen(function(p){return h.isWheel(p.inputData)},f)},applyWhenNotSinglePrimary:function(f){return s.applyWhen(function(p){return!h.isSinglePrimary(p.inputData)},f)},isDetermined:function(f){return!!f.targetState},isUndetermined:function(f){return!f.targetState},markAsNoChange:function(f){return f.targetState=f.currentState,f},markAsPossible:function(f){return f.targetState=r,f},markAsRecognized:function(f){return f.targetState=d,f},markAsInactive:function(f){return f.targetState=t,f},markAsCancelled:function(f){return f.targetState=o,f},markAsProgress:function(f){return f.targetState=e,f},markAsBegan:function(f){return f.targetState=n,f},resetWhenComplete:function(f){var p=f.targetState,v=f.internalData;return(u(p)||i(p))&&v&&v.reset&&v.reset(),f}};return s},_,M),_.exports=C},function(_,M){_.exports=void 0},function(_,M,l){var A,C;A=[l(6),l(4),l(8),l(12),l(21)],C=l.dj.d(A,function(y,m,h,d,n){h.add("dom-quirks",n.doc&&n.doc.compatMode=="BackCompat"),h.add("events-mouseenter",n.doc&&"onmouseenter"in n.doc.createElement("div")),h.add("events-mousewheel",n.doc&&"onmousewheel"in n.doc);var e;h("dom-quirks")&&h("ie")||!h("dom-addeventlistener")?e={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(o,a){return o.button&a},isLeft:function(o){return o.button&1},isMiddle:function(o){return o.button&4},isRight:function(o){return o.button&2}}:e={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(o,a){return o.button==a},isLeft:function(o){return o.button==0},isMiddle:function(o){return o.button==1},isRight:function(o){return o.button==2}},y.mouseButtons=e;function t(o,a){var i=function(u,s){return m(u,o,function(c){if(a)return a(c,s);if(!d.isDescendant(c.relatedTarget,u))return s.call(this,c)})};return i.bubble=function(u){return t(o,function(s,c){var f=u(s.target),p=s.relatedTarget;if(f&&f!=(p&&p.nodeType==1&&u(p)))return c.call(f,s)})},i}var r;return h("events-mousewheel")?r="mousewheel":r=function(o,a){return m(o,"DOMMouseScroll",function(i){i.wheelDelta=-i.detail,a.call(this,i)})},{_eventHandler:t,enter:t("mouseover"),leave:t("mouseout"),wheel:r,isLeft:e.isLeft,isMiddle:e.isMiddle,isRight:e.isRight}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(18)],C=l.dj.d(A,function(y,m){return y.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:m("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:m("mac")&&!m("air")?m("safari")?91:224:17}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(0)],C=l.dj.d(A,function(y,m){var h=/[&<>'"\/]/g,d={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},n={};return m.setObject("dojo.string",n),n.escape=function(e){return e?e.replace(h,function(t){return d[t]}):""},n.codePointAt=String.prototype.codePointAt?function(e,t){return String.prototype.codePointAt.call(e,t)}:function(e,t){if(e==null)throw new TypeError("codePointAt called on null or undefined");var r,o,a,i;if(e=String(e),r=e.length,i=t?Number(t):0,i!=i&&(i=0),!(i<0||i>=r))return o=e.charCodeAt(i),o>=55296&&o<=56319&&r>i+1&&(a=e.charCodeAt(i+1),a>=56320&&a<=57343)?(o-55296)*1024+a-56320+65536:o},n.fromCodePoint=String.fromCodePoint||function(){var e=[],t=0,r="",o,a;for(a=0,len=arguments.length;a!==len;++a){if(o=+arguments[a],!(o<1114111&&o>>>0===o))throw RangeError("Invalid code point: "+o);o<=65535?t=e.push(o):(o-=65536,t=e.push((o>>10)+55296,o%1024+56320)),t>=16383&&(r+=String.fromCharCode.apply(null,e),e.length=0)}return r+String.fromCharCode.apply(null,e)},n.rep=function(e,t){if(t<=0||!e)return"";for(var r=[];t&1&&r.push(e),!!(t>>=1);)e+=e;return r.join("")},n.pad=function(e,t,r,o){r||(r="0");var a=String(e),i=n.rep(r,Math.ceil((t-a.length)/r.length));return o?a+i:i+a},n.substitute=function(e,t,r,o){return o=o||y.global,r=r?m.hitch(o,r):function(a){return a},e.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(a,i,u){if(i=="")return"$";var s=m.getObject(i,!1,t);u&&(s=m.getObject(u,!1,o).call(o,s,i));var c=r(s,i);if(typeof c=="undefined")throw new Error('string.substitute could not find key "'+i+'" in template');return c.toString()})},n.trim=String.prototype.trim?m.trim:function(e){e=e.replace(/^\s+/,"");for(var t=e.length-1;t>=0;t--)if(/\S/.test(e.charAt(t))){e=e.substring(0,t+1);break}return e},n},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(714),l(295),l(296),l(297)],C=l.dj.d(A,function(y,m,h){var d=m.isPrimary,n=m.getXY,e=h.calculateProperties,t={pointerdown:y.DOWN,pointermove:y.MOVE,pointerup:y.UP,pointercancel:y.CANCEL,touchstart:y.DOWN,touchmove:y.MOVE,touchend:y.UP,touchcancel:y.CANCEL,mousedown:y.DOWN,mousemove:y.MOVE,mouseup:y.UP,"":y.CANCEL},r=function(i){var u=null;return i&&i.srcEvent&&(u=t[i.srcEvent.type]),u},o=function(i){var u=i?i.target:null;return u||(i.touches&&i.touches[0]?u=i.touches[0].target:i.changedTouches&&i.changedTouches[0]&&(u=i.changedTouches[0].target)),u};return{createFromPointers:function(i,u,s){u._softTimestamp=Date.now()+(u.detail?u.detail:0);var c=i.slice();return{type:"inputData",pointers:c,properties:e(c,u),changedPointers:[u],srcEvent:u,target:o(u),srcNode:s}},createTimeout:function(){return{type:"inputData",isTimeout:!0}},isSinglePrimary:function(i){return i.pointers&&i.pointers.length===1&&d(i.pointers[0])},isDown:function(i){return r(i)===y.DOWN},isMove:function(i){return r(i)===y.MOVE},isUp:function(i){return r(i)===y.UP},isCancel:function(i){return r(i)===y.CANCEL},isTimeout:function(i){return!!i.isTimeout},isWheel:function(i){var u=i.srcEvent;return u&&u.type==="wheel"},getInputType:r,getCenterPoint:function(i){var u={x:NaN,y:NaN};return i&&i.properties&&(u=i.properties.center),u},getPointerLocations:function(i){return i.pointers.map(n)},getTimestamp:function(i){return i&&i.srcEvent?i.srcEvent._softTimestamp:NaN}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{setActionData:function(m){return m.actionData={type:m.type,srcEvent:m.inputData.srcEvent,pointers:m.inputData.pointers,properties:m.internalData.positionTracker.getActionProperties()},m},trackInitial:function(m){var h=m.inputData,d=m.internalData.positionTracker;return d.setInitial(h),m},trackFinal:function(m){var h=m.inputData,d=m.internalData.positionTracker;return d.setFinal(h),m},trackUpdate:function(m){var h=m.inputData,d=m.internalData.positionTracker;return d.setUpdated(h),m},resetTracker:function(m){var h=m.internalData.positionTracker;return h.reset(),m}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(296)],C=l.dj.d(A,function(h){var d=h.compareProperties,n=function(){function e(){m(this,e),this.reset()}return y(e,[{key:"setInitial",value:function(r){this.initialProperties=r.properties,this.currentProperties=r.properties,this.previousProperties=null,this.finalProperties=null,this.updateActionProperties()}},{key:"setUpdated",value:function(r){this.previousProperties=this.currentProperties,this.currentProperties=r.properties,this.updateActionProperties()}},{key:"setFinal",value:function(r){this.previousProperties=this.currentProperties,this.currentProperties=r.properties,this.finalProperties=r.properties,this.updateActionProperties()}},{key:"updateActionProperties",value:function(){this.actionProperties=d(this.currentProperties,this.initialProperties,this.previousProperties,this.actionProperties)}},{key:"reset",value:function(){this.initialProperties=null,this.finalProperties=null,this.currentProperties=null,this.previousProperties=null,this.actionProperties=null}},{key:"getActionProperties",value:function(){return this.actionProperties}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(17),l(4)],C=l.dj.d(A,function(y,m){"use strict";var h=y.after;function d(){}return d.prototype={on:function(n,e){return m.parse(this,n,e,function(t,r){return h(t,"on"+r,e,!0)})},emit:function(n,e){var t=[this];return t.push.apply(t,arguments),m.emit.apply(m,t)}},d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(20),l(105)],C=l.dj.d(A,function(y,m){"use strict";return function(d,n,e,t){var r=d&&typeof d.then=="function",o=r&&d instanceof m;if(r){if(!o){var a=new y(d.cancel);d.then(a.resolve,a.reject,a.progress),d=a.promise}}else return arguments.length>1?n?n(d):d:new y().resolve(d);return n||e||t?d.then(n,e,t):d}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l.dj.c(_.i),l(8),l(9),l(26),l(0),l(109),l(88),l.dj.m(_)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){h.add("dojo-preload-i18n-Api",1),h.add("dojo-v1x-i18n-Api",1);var a=y.i18n={},i=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,u=function(O,W,j,K){for(var H=[j+K],V=W.split("-"),$="",G=0;G<V.length;G++)$+=($?"-":"")+V[G],(!O||O[$])&&(H.push(j+$+"/"+K),H.specificity=$);return H},s={},c=function(O,W,j){return j=j?j.toLowerCase():y.locale,O=O.replace(/\./g,"/"),W=W.replace(/\./g,"/"),/root/i.test(j)?O+"/nls/"+W:O+"/nls/"+j+"/"+W},f=y.getL10nName=function(O,W,j){return O=o.id+"!"+c(O,W,j)},p=function(O,W,j,K,H,V){O([W],function($){var G=e.clone($.root||$.ROOT),Q=u(!$._v1x&&$,H,j,K);O(Q,function(){for(var J=1;J<Q.length;J++)G=e.mixin(e.clone(G),arguments[J]);var Y=W+"/"+H;s[Y]=G,G.$locale=Q.specificity,V()})})},v=function(O,W){return/^\./.test(O)?W(O):O},g=function(O){var W=n.extraLocale||[];return W=e.isArray(W)?W:[W],W.push(O),W},E=function(O,W,j){var K=i.exec(O),H=K[1]+"/",V=K[5]||K[4],$=H+V,G=K[5]&&K[4],Q=G||y.locale||"",J=$+"/"+Q,Y=G?[Q]:g(Q),X=Y.length,Z=function(){--X||j(e.delegate(s[J]))},q=O.split("*"),ee=q[1]=="preload";if(h("dojo-preload-i18n-Api")){if(ee&&(s[O]||(s[O]=1,R(q[2],r.parse(q[3]),1,W)),j(1)),ee||T(O,W,j)&&!s[J])return}else if(ee){j(1);return}d.forEach(Y,function(re){var he=$+"/"+re;h("dojo-preload-i18n-Api")&&S(he),s[he]?Z():p(W,$,H,V,re,Z)})};if(h("dojo-preload-i18n-Api")||h("dojo-v1x-i18n-Api"))var D=a.normalizeLocale=function(O){var W=O?O.toLowerCase():y.locale;return W=="root"?"ROOT":W},F=function(O,W){return h("dojo-sync-loader")&&h("dojo-v1x-i18n-Api")?W.isXdUrl(m.toUrl(O+".js")):!0},w=0,x=[],R=a._preloadLocalizations=function(O,W,j,K){K=K||m;function H(Y,X){F(Y,K)||j?K([Y],X):L([Y],X,K)}function V(Y,X){for(var Z=Y.split("-");Z.length;){if(X(Z.join("-")))return;Z.pop()}X("ROOT")}function $(){w++}function G(){for(--w;!w&&x.length;)E.apply(null,x.shift())}function Q(Y,X,Z,q){return q.toAbsMid(Y+X+"/"+Z)}function J(Y){Y=D(Y),V(Y,function(X){if(d.indexOf(W,X)>=0){var Z=O.replace(/\./g,"/")+"_"+X;return $(),H(Z,function(q){for(var ee in q){var re=q[ee],he=ee.match(/(.+)\/([^\/]+)$/),me,se;if(!!he&&(me=he[2],se=he[1]+"/",!!re._localized)){var te;if(X==="ROOT"){var oe=te=re._localized;delete re._localized,oe.root=re,s[m.toAbsMid(ee)]=oe}else te=re._localized,s[Q(se,me,X,m)]=re;if(X!==Y){var ue=function(ve,Se,Be,ke){var Ge=[],rt=[];V(Y,function(ut){ke[ut]&&(Ge.push(m.toAbsMid(ve+ut+"/"+Se)),rt.push(Q(ve,Se,ut,m)))}),Ge.length?($(),K(Ge,function(){for(var ut=Ge.length-1;ut>=0;ut--)Be=e.mixin(e.clone(Be),arguments[ut]),s[rt[ut]]=Be;s[Q(ve,Se,Y,m)]=e.clone(Be),G()})):s[Q(ve,Se,Y,m)]=Be};ue(se,me,re,te)}}}G()}),!0}return!1})}J(),d.forEach(y.config.extraLocale,J)},T=function(O,W,j){return w&&x.push([O,W,j]),w},S=function(){};if(h("dojo-v1x-i18n-Api")){var I={},B={},P,L=function(O,W,j){var K=[];d.forEach(O,function(H){var V=j.toUrl(H+".js");function $(Q){P||(P=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;}, require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return __amdValue;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}"));var J=P(Q,S,H,I);J===I?K.push(s[V]=I.result):(J instanceof Error&&(console.error("failed to evaluate i18n bundle; url="+V,J),J={}),K.push(s[V]=/nls\/[^\/]+\/[^\/]+$/.test(V)?J:{root:J,_v1x:1}))}if(s[V])K.push(s[V]);else{var G=j.syncLoadNls(H);if(G||(G=S(H.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"))),G)K.push(G);else if(t)t.get({url:V,sync:!0,load:$,error:function(){K.push(s[V]={})}});else try{j.getText(V,!0,$)}catch(Q){K.push(s[V]={})}}}),W&&W.apply(null,K)};S=function(O){for(var W,j=O.split("/"),K=y.global[j[0]],H=1;K&&H<j.length-1;K=K[j[H++]]);return K&&(W=K[j[H]],W||(W=K[j[H].replace(/-/g,"_")]),W&&(s[O]=W)),W},a.getLocalization=function(O,W,j){var K,H=c(O,W,j);return B[H]?B[H]:(E(H,F(H,m)?m:function(V,$){L(V,$,m)},function(V){B[H]=V,K=V}),K)}}else a.getLocalization=function(O,W,j){var K=O.replace(/\./g,"/")+"/nls/"+W+"/"+(j||n.locale);return this.cache[K]};return e.mixin(a,{dynamic:!0,normalize:v,load:E,cache:s,getL10nName:f})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=["tree-list-item","treeNode"],m=["mw-treeNode-renderer-container"],h=["mw-tree-drag-hover"],d=["mw-tree-node-hover"],n="mw-tree-node-strike-through",e="mw-tree-node-gutter",t="mw-tree-node-gutter-wrapper",r="mw-tree-node-gutter-item",o="invalid",a="reordering",i="valid",u="dragged-node",s={invalid:"mw-tree-dnd-invalid"},c="blank",f="readonly",p="non-interactive",v=Object.freeze({get TREENODE(){return[].concat(y)},get TREENODE_CONTENT(){return[].concat(m)},get TREENODE_DRAG_HOVER(){return[].concat(h)},get TREENODE_HOVER(){return[].concat(d)},get TREENODE_STRIKETHROUGH(){return n},get TREENODE_GUTTER(){return e},get TREENODE_GUTTER_WRAPPER(){return t},get TREENODE_GUTTER_ITEM(){return r},get VALID_REORDERING(){return i},get REORDERING(){return a},get INVALID_REORDERING(){return o},get DRAGGED_NODE_CLASS(){return u},get DnD_AVATAR_ICON_CLASSES(){return s},get BLANK_NODE_CLASS(){return c},get READ_ONLY_NODE_CLASS(){return f},get NON_INTERACTIVE_NODE_CLASS(){return p}});return v},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=Object.freeze({LEFT:"left",RIGHT:"right",NONE:"none"}),d=function(){function n(){m(this,n),this._truncation=h.NONE}return y(n,[{key:"getMode",value:function(){return this._truncation}},{key:"setMode",value:function(t){this._truncation=t===h.LEFT?h.LEFT:t===h.RIGHT?h.RIGHT:h.NONE}},{key:"isTruncated",value:function(){return this._truncation!==h.NONE}},{key:"isLeft",value:function(){return this._truncation===h.LEFT}},{key:"isRight",value:function(){return this._truncation===h.RIGHT}}]),n}();return new d},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(465),l(466)],C=l.dj.d(A,function(h,d){return function(){function n(){m(this,n),this._caches=[],this._caches.push(new h),typeof Map!="undefined"&&Map.prototype.keys&&this._caches.push(new d);var e=function(){var t=[];return{set:function(o,a){for(var i=0;i<t.length;i+=1){var u=t[i];if(u.key===o){u.value=a;return}}t.push({key:o,value:a})},get:function(o){for(var a=0;a<t.length;a+=1){var i=t[a];if(i.key===o)return i.value}},has:function(o){for(var a=0;a<t.length;a+=1){var i=t[a];if(i.key===o)return!0}return!1},remove:function(o){for(var a=0;a<t.length;a+=1){var i=t[a];if(i.key===o){t.splice(a,1);break}}},keys:function(){return t.map(function(o){return o.key})},canIndex:function(){return!0}}}();this._caches.push(e)}return y(n,[{key:"getCache",value:function(t){for(var r=0;r<this._caches.length;r+=1)if(this._caches[r].canIndex(t))return this._caches[r]}},{key:"set",value:function(t,r){this.getCache(t).set(t,r)}},{key:"get",value:function(t){return this.getCache(t).get(t)}},{key:"has",value:function(t){return this.getCache(t).has(t)}},{key:"remove",value:function(t){return this.getCache(t).remove(t)}},{key:"canIndex",value:function(t){return this.getCache(t).canIndex(t)}},{key:"keys",value:function(){for(var t=[],r=0;r<this._caches.length;r+=1)Array.prototype.push.apply(t,this._caches[r].keys());return t}}]),n}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(500)],C=l.dj.d(A,function(y){var m=null,h=function(){return m===null&&(m=new y),m};return h()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(21),l(502)],C=l.dj.d(A,function(y,m,h){return{generateUuid:function(){return"xxxxxxxx".replace(/[xy]/g,function(n){var e=Math.random()*16|0,t=n==="x"?e:e&3|8;return t.toString(16)}).toUpperCase()},isImageData:function(n){return!!n&&(m.global.ImageData&&n instanceof m.global.ImageData||n.hasOwnProperty("width")&&n.hasOwnProperty("height")&&n.hasOwnProperty("data"))},isArray:function(n){return h.deprecated({deprecated:{module:"MW/utils/Utils",method:"isArray"},geckNumber:1444368}),Array.isArray(n)},getArrayLength:function(n){var e=0;return y.isArray(n)?(n.forEach(function(t){t&&(e+=1)}),e):!1},isWhitespace:function(n){var e=/^\s+$/;return e.test(n)},removeSurroundingNewLines:function(n){for(;n.charAt(0)===`
|
||
`;)n=n.substring(1);for(;n.charAt(n.length-1)===`
|
||
`;)n=n.substring(0,n.length-1);return n},getFirstUniqueElement:function(n,e){var t=null;return e.some(function(r){if(n.indexOf(r)===-1)return t=r,!0}),t},unionOfWordSets:function(n,e,t){n=this._stringToArray(n),e=this._stringToArray(e);var r=this.unionOfArrays(n,e);return t?r.join(" "):r},intersectionOfWordSets:function(n,e,t){n=this._stringToArray(n),e=this._stringToArray(e);var r=this.intersectionOfArrays(n,e);return t?r.join(" "):r},differenceOfWordSets:function(n,e,t){n=this._stringToArray(n),e=this._stringToArray(e);var r=this.unique(this.differenceOfArrays(n,e));return t?r.join(" "):r},unionOfArrays:function(n,e){return this.unique(n.concat(e))},intersectionOfArrays:function(n,e){return this.nonunique(n.concat(e))},differenceOfArrays:function(n,e){if(window.Map===void 0)return this._legacyDifferenceOfArrays(n,e);var t,r,o,a=new Map,i=[];for(o=0;o<e.length;o++)a.set(e[o],null);for(o=0;o<n.length;o++)r=n[o],t=a.has(r),t||i.push(r);return i},_legacyDifferenceOfArrays:function(n,e){return this.unique(n.filter(function(t){return e.indexOf(t)===-1}))},unique:function(n){return n.filter(function(e,t){return n.indexOf(e)===t})},nonunique:function(n){return this.unique(n.filter(function(e,t){return n.indexOf(e)!==t}))},arrayEquals:function(n,e,t){if(n===e)return!0;if(n.length!==e.length)return!1;t||(t=function(i,u){return i===u});for(var r=0,o=n.length;r<o;r++)if(!t(n[r],e[r]))return!1;return!0},removeEmptyElements:function(n){return n.filter(function(e){return!(e===""||e===null||e===void 0)})},_stringToArray:function(n){return this._isString(n)?this.removeEmptyElements(n.split(" ")):n},_isString:function(n){return typeof n=="string"||n instanceof String}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7),l(22),l(3),l(19)],C=l.dj.d(A,function(h,d,n,e){"use strict";var t=function(i,u){return i<u?-1:i>u?1:0},r=function(i,u){var s=t(i.rows.start,u.rows.start);return s===0?t(i.rows.end,u.rows.end):s},o=function(){function a(){m(this,a)}return y(a,null,[{key:"fitRangeToBounds",value:function(u,s,c){var f={rows:{},columns:{}};return c.rows.start>u||c.columns.start>s||c.rows.end<0||c.columns.end<0?null:(f.rows.start=Math.max(Math.min(c.rows.start,u),0),f.columns.start=Math.max(Math.min(c.columns.start,s),0),f.rows.end=c.rows.end===1/0?1/0:Math.max(Math.min(c.rows.end,u),f.rows.start),f.columns.end=c.columns.end===1/0?1/0:Math.max(Math.min(c.columns.end,s),f.columns.start),h.range().setRows(f.rows.start,f.rows.end).setColumns(f.columns.start,f.columns.end))}},{key:"getActiveCell",value:function(u){var s=u.getStateByKey(n.protected.ACTIVE_CELL);return s?s.rangeList[0]:[]}},{key:"getValidStartPoint",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return u<0?0:u}},{key:"isCellInRanges",value:function(u,s,c){if(!Array.isArray(u)||u.length===0)return!1;var f=h.range().setRows(s,s).setColumns(c,c);return h.isRangeInsideRangeList(f,u)}},{key:"isRangeVisible",value:function(u,s){return!s||!u?!1:h.isRangeInside(s,u)}},{key:"isIdInSelections",value:function(u,s){return u in s}},{key:"getSelectionCountByRanges",value:function(u){var s=void 0,c=function(v,g){return g?h.isRowRange(g)?(s=d.rangeType.ROW,v+g.rows.count):h.isColumnRange(g)?(s=d.rangeType.COLUMN,v+g.columns.count):(s=d.rangeType.CELL,v+g.rows.count*g.columns.count):v},f=u.reduce(c,0);return{count:f,type:s}}},{key:"getSelectionCountByIDs",value:function(u){var s="rows",c=Object.keys(u).length;return{count:c,type:s}}},{key:"areSelectionRangesDifferent",value:function(u,s){var c=!0;return s.length===u.length&&(s.sort(r),u.sort(r),c=u.reduce(function(f,p,v){return f||!h.isRangeEqual(p,s[v])},!1)),c}},{key:"areSelectionIdsDifferent",value:function(u,s){return!e.deepEqual(u,s)}},{key:"isDataTransferValid",value:function(u){if(!u)return!1;var s=u.types;if(!Array.isArray(s)||s.length===0)return!1;var c=s[0];if(!c)return!1;var f=u.getData(c);return!!f}},{key:"getDataTransferString",value:function(u){if(!u)return"dataTransfer is null";var s=u.types;if(!s||s.length===0||!s[0])return"dataTransfer has no mime types";for(var c="",f=0;f<s.length;f++){var p=s[f],v=u.getData(p);c+=" type = "+p+" value = "+v}return c}},{key:"getRangeAsString",value:function(u){function s(p){var v="";return p&&p.rows&&p.columns&&(v="[R"+p.rows.start+","+p.rows.end,v+="|C"+p.columns.start+","+p.columns.end,v+="|T"+p.columns.count*p.rows.count+"]"),v}if(!u)return"range undefined";if(u.length){for(var c="",f=0;f<u.length;f++)c+=f+"="+s(u[f])+",";return c}return s(u)}},{key:"getFirstVisibleColumn",value:function(u,s,c){var f=u.getFirstVisibleColumn(),p=s.getColumnCount()-1,v=u.getLastBufferedColumn();if(p===v){var g=u.getBoundingRect().left;for(var E in c)if(c[E].left-g<=0&&c[E].right-g>0){f=Number(E);break}}return f}}]),a}();return o},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(98),l(671),l(287),l(672),l(673)],C=l.dj.d(A,function(y,m,h,d,n){return{StatusEnum:y,TypeMetaDataEnum:m,MIME_TYPES:h,ACTIONS:d,EventsEnum:n}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(80),l(676),l(183),l(69),l(13)],C=l.dj.d(A,function(y,m,h,d,n){class e{constructor(){y.isDataTransferConstructor()?this._dataTransfer=new window.DataTransfer:this._dataTransfer=new m}getData(...r){return this._dataTransfer.getData(...r)}setData(r,o){return o=String(o),this._dataTransfer.setData(r,o)}get types(){return this._dataTransfer.types}get files(){return this._dataTransfer.files}get items(){return this._dataTransfer.items}static createInstance(r){return r}static isDataTransferValid(r){return y.isDataTransferValid(r)}static getDataTransferString(r){return y.getDataTransferString(r)}static convertBase64ToBlob(r,o){return h.convert(r,o)}setUrls(r){if(!Array.isArray(r)){n.warn("DataTransfer setUrls accepts array format");return}this._urlList=r;let o="";r.length>0&&(o=r.reduce((a,i)=>"".concat(a,`\r
|
||
`).concat(i))),this.setData(d.MIME_TYPES.TEXT_URI_LIST,o)}getUrls(){let r=this.getData(d.MIME_TYPES.TEXT_URI_LIST),o=[];return r?(r.includes(`\r
|
||
`)?o=r.split(`\r
|
||
`):r.includes(`
|
||
`)?o=r.split(`
|
||
`):o=[r],o.filter(a=>a.trim().charAt("0")!=="#")):o}setAction(r){r=r.toLowerCase(),Object.values(d.ACTIONS.DataTransfer).includes(r)||n.warn("Pass move or copy actions to dataTransfer.setAction"),this.setData(d.MIME_TYPES.ACTION,r)}getAction(){return this.getData(d.MIME_TYPES.ACTION)||d.ACTIONS.DataTransfer.UNINITIALIZED}static printDataTransfer(r,o){n.debug("From ",o),n.debug("All types",r.types);for(let a=0;a<r.items.length;a++){let i=r.items[a];i.kind==="string"&&i.getAsString(function(u){n.debug("type",i.type,"kind",i.kind,"data",u)})}}}return e},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(215)],C=l.dj.d(A,function(d){"use strict";var n=function(){function e(){h(this,e)}return m(e,null,[{key:"hasModifierKey",value:function(r){var o=r.ctrlKey,a=r.meta,i=r.shiftKey,u=r.altKey;return o||u||a||i}},{key:"isStrikeThrough",value:function(r){return r&&r.metaData&&r.metaData.strikeThrough===!0}},{key:"isSafari",value:function(){var r=/safari/i;return r.test((d.getSystemInfo()||{}).BROWSER)}},{key:"isDeepEqual",value:function(r,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(r===o)return!0;if(a=a+1,(typeof r=="undefined"?"undefined":y(r))!=="object"||(typeof o=="undefined"?"undefined":y(o))!=="object"||r===null||o===null)return!1;var i=Object.keys(r),u=Object.keys(o);if(i.length!==u.length)return!1;var s=!0,c=!1,f=void 0;try{for(var p=i[Symbol.iterator](),v;!(s=(v=p.next()).done);s=!0){var g=v.value;if(!u.includes(g)||(typeof r[g]=="function"||typeof o[g]=="function")&&r[g].toString()!==o[g].toString()||a>=5||!e.isDeepEqual(r[g],o[g],a))return!1}}catch(E){c=!0,f=E}finally{try{!s&&p.return&&p.return()}finally{if(c)throw f}}return!0}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(17),l(12),l(11),l(0),l(4),l(8),l(54),l(43),l(21)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a){var i=t("ios")<5,u=t("pointer-events")||t("MSPointer"),s=function(){var L={};for(var O in{down:1,move:1,up:1,cancel:1,over:1,out:1})L[O]=t("MSPointer")?"MSPointer"+O.charAt(0).toUpperCase()+O.slice(1):"pointer"+O;return L}(),c=t("touch-events"),f,p,v=!1,g,E,D,F,w,x,R;function T(L,O,W){return u&&W?function(j,K){return e(j,W,K)}:c?function(j,K){var H=e(j,O,function($){K.call(this,$),R=new Date().getTime()}),V=e(j,L,function($){(!R||new Date().getTime()>R+1e3)&&K.call(this,$)});return{remove:function(){H.remove(),V.remove()}}}:function(j,K){return e(j,L,K)}}function S(L){do if(L.dojoClick!==void 0)return L;while(L=L.parentNode)}function I(L,O,W){if(!r.isRight(L)){var j=S(L.target);if(p=!L.target.disabled&&j&&j.dojoClick,p&&(v=p=="useTarget",g=v?j:L.target,v&&L.preventDefault(),E=L.changedTouches?L.changedTouches[0].pageX-a.global.pageXOffset:L.clientX,D=L.changedTouches?L.changedTouches[0].pageY-a.global.pageYOffset:L.clientY,F=(typeof p=="object"?p.x:typeof p=="number"?p:0)||4,w=(typeof p=="object"?p.y:typeof p=="number"?p:0)||4,!f)){f=!0;var K=function($){v?p=h.isDescendant(a.doc.elementFromPoint($.changedTouches?$.changedTouches[0].pageX-a.global.pageXOffset:$.clientX,$.changedTouches?$.changedTouches[0].pageY-a.global.pageYOffset:$.clientY),g):p=p&&($.changedTouches?$.changedTouches[0].target:$.target)==g&&Math.abs(($.changedTouches?$.changedTouches[0].pageX-a.global.pageXOffset:$.clientX)-E)<=F&&Math.abs(($.changedTouches?$.changedTouches[0].pageY-a.global.pageYOffset:$.clientY)-D)<=w};a.doc.addEventListener(O,function(V){r.isRight(V)||(K(V),v&&V.preventDefault())},!0),a.doc.addEventListener(W,function(V){if(!r.isRight(V)&&(K(V),p)){x=new Date().getTime();var $=v?g:V.target;$.tagName==="LABEL"&&($=h.byId($.getAttribute("for"))||$);var G=V.changedTouches?V.changedTouches[0]:V,Q=function(q){var ee=document.createEvent("MouseEvents");return ee._dojo_click=!0,ee.initMouseEvent(q,!0,!0,V.view,V.detail,G.screenX,G.screenY,G.clientX,G.clientY,V.ctrlKey,V.altKey,V.shiftKey,V.metaKey,0,null),ee},J=Q("mousedown"),Y=Q("mouseup"),X=Q("click");setTimeout(function(){e.emit($,"mousedown",J),e.emit($,"mouseup",Y),e.emit($,"click",X),x=new Date().getTime()},0)}},!0);var H=function($){a.doc.addEventListener($,function(G){var Q=G.target;p&&!G._dojo_click&&new Date().getTime()<=x+1e3&&!(Q.tagName=="INPUT"&&d.contains(Q,"dijitOffScreen"))&&(G.stopPropagation(),G.stopImmediatePropagation&&G.stopImmediatePropagation(),$=="click"&&(Q.tagName!="INPUT"||Q.type=="radio"&&(d.contains(Q,"dijitCheckBoxInput")||d.contains(Q,"mblRadioButton"))||Q.type=="checkbox"&&(d.contains(Q,"dijitCheckBoxInput")||d.contains(Q,"mblCheckBox")))&&Q.tagName!="TEXTAREA"&&Q.tagName!="AUDIO"&&Q.tagName!="VIDEO"&&G.preventDefault())},!0)};H("click"),H("mousedown"),H("mouseup")}}}var B;t("touch")&&o(u?function(){a.doc.addEventListener(s.down,function(L){I(L,s.move,s.up)},!0)}:function(){B=a.body(),a.doc.addEventListener("touchstart",function(O){R=new Date().getTime();var W=B;B=O.target,e.emit(W,"dojotouchout",{relatedTarget:B,bubbles:!0}),e.emit(B,"dojotouchover",{relatedTarget:W,bubbles:!0}),I(O,"touchmove","touchend")},!0);function L(O){var W=n.delegate(O,{bubbles:!0});return t("ios")>=6&&(W.touches=O.touches,W.altKey=O.altKey,W.changedTouches=O.changedTouches,W.ctrlKey=O.ctrlKey,W.metaKey=O.metaKey,W.shiftKey=O.shiftKey,W.targetTouches=O.targetTouches),W}e(a.doc,"touchmove",function(O){R=new Date().getTime();var W=a.doc.elementFromPoint(O.pageX-(i?0:a.global.pageXOffset),O.pageY-(i?0:a.global.pageYOffset));W&&(B!==W&&(e.emit(B,"dojotouchout",{relatedTarget:W,bubbles:!0}),e.emit(W,"dojotouchover",{relatedTarget:B,bubbles:!0}),B=W),e.emit(W,"dojotouchmove",L(O))||O.preventDefault())}),e(a.doc,"touchend",function(O){R=new Date().getTime();var W=a.doc.elementFromPoint(O.pageX-(i?0:a.global.pageXOffset),O.pageY-(i?0:a.global.pageYOffset))||a.body();e.emit(W,"dojotouchend",L(O))})});var P={press:T("mousedown","touchstart",s.down),move:T("mousemove","dojotouchmove",s.move),release:T("mouseup","dojotouchend",s.up),cancel:T(r.leave,"touchcancel",u?s.cancel:null),over:T("mouseover","dojotouchover",s.over),out:T("mouseout","dojotouchout",s.out),enter:r._eventHandler(T("mouseover","dojotouchover",s.over)),leave:r._eventHandler(T("mouseout","dojotouchout",s.out))};return t("extend-dojo")&&(y.touch=P),P},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(8),l.dj.c(_.i),l(43),l(0)],C=l.dj.d(A,function(y,m,h,d,n){var e=0,t=[],r=0,o=function(){e=1,y._postLoad=y.config.afterOnLoad=!0,a()},a=function(){if(!r){for(r=1;e&&(!d||d._Q.length==0)&&(h.idle?h.idle():!0)&&t.length;){var s=t.shift();try{s()}catch(c){if(c.info=c.message,h.signal)h.signal("error",c);else throw c}}r=0}};h.on&&h.on("idle",a),d&&(d._onQEmpty=a);var i=y.ready=y.addOnLoad=function(s,c,f){var p=n._toArray(arguments);typeof s!="number"?(f=c,c=s,s=1e3):p.shift(),f=f?n.hitch.apply(y,p):function(){c()},f.priority=s;for(var v=0;v<t.length&&s>=t[v].priority;v++);t.splice(v,0,f),a()};if(m.add("dojo-config-addOnLoad",1),m("dojo-config-addOnLoad")){var u=y.config.addOnLoad;u&&i[n.isArray(u)?"apply":"call"](y,u)}return m("dojo-sync-loader")&&y.config.parseOnLoad&&!y.isAsync&&i(99,function(){y.parser||(y.deprecated("Add explicit require(['dojo/parser']);","","2.0"),Promise.resolve().then(function(){l(145)}).catch(l.oe))}),d?d(o):o(),i},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function d(n,e){var t=[],r=!0,o=!1,a=void 0;try{for(var i=n[Symbol.iterator](),u;!(r=(u=i.next()).done)&&(t.push(u.value),!(e&&t.length===e));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&i.return&&i.return()}finally{if(o)throw a}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(7),l(110)],C=l.dj.d(A,function(d,n){"use strict";var e=function(){function t(){h(this,t)}return m(t,null,[{key:"isViewPortRangeInDataBuffer",value:function(o){var a=o.viewPort.rangeList[0],i=o.viewBuffer.rangeList[0],u=Math.max(0,a.rows.start-4),s=a.rows.end+4;return u>=i.rows.start&&s<=i.rows.end}},{key:"getRangeListForRange",value:function(o,a,i){var u=Math.max(a,o.dataSize.rows.start),s=Math.min(i,o.dataSize.rows.end);return[d.range().setRows(u,s).setColumns(0,0)]}},{key:"dynamicScrollTopCalculator",value:function(o,a){var i=this,u=function(c){c.top=a.viewPort.size.top,c.left=a.viewPort.size.left,i.calculateAndUpdateLogicalViewPort(a,c);var f=a.viewPort.size.height,p=a.getStateByKey("maxScrollHeight");p=p?p.value:a.dataSize.rows.count*n.nodeHeight;var v=f<p?p-f:0,g=i.getFirstVisibleRow(v,a),E=g.index;if(o>=E)return v;if(i.allRowInView(a.dataSize,a.viewBuffer)){for(var D=a.getStateByKey("bufferDataRendererd").value,F=o,w=0,x=0;D[x].index!==F&&F<a.dataSize.rows.count;)w=D[x].height+w,x++;var R=a.getStateByKey("maxScrollHeight");R=R&&R.value;var T=f<R?R-f:0;return w=T>w?w:T,w}var S=v<o*n.nodeHeight?v:o*n.nodeHeight;return S};return u}},{key:"dynamicScrollTopForBottomNodeCalculator",value:function(o,a){var i=this,u=function(c){c.top=a.viewPort.size.top,c.left=a.viewPort.size.left,i.calculateAndUpdateLogicalViewPort(a,c);var f=a.getStateByKey("bufferDataRendererd").value,p=a.viewPort.size.height;if(i.allRowInView(a.dataSize,a.viewBuffer)){for(var v=0,g=0,E=f[g].index,D=g+(o-E);D>=0;)v=f[D].height+v,D--;return v=v>p?v-p:0,v}for(var F=a.viewPort.size.top,w=0,x=f[w].index,R=w+(o-x),T=0,S=0,I=void 0;p>S&&R>=0;)T=f[R].height,S=T+S,I=f[R].index,R--;var B=S-p;B=B>0?B:0;var P=B>-1?I:0,L=T,O=n.nodeHeight/L*B;return F=P*n.nodeHeight+O,F};return u}},{key:"ArrayOfBufferNodeHeight",value:function(o){var a=[],i=o.getStateByKey("bufferDataRendererd");if(!i){for(var u=o.viewBuffer.rangeList[0],s=o.viewBuffer.rangeList[0].rows.end,c=o.dataSize.rows.end,f=c<s?c:s,p=u.rows.start;p<=f;p++){var v={index:p,height:n.nodeHeight};a.push(v)}return a}return i.value}},{key:"getMaxHeight",value:function(o){var a=o.viewBuffer.rangeList,i=a[0].rows.count,u=o.viewPort.size.height,s=0,c=this.ArrayOfBufferNodeHeight(o);if(c.length===0)return 0;if(this.allRowInView(o.dataSize,o.viewBuffer)){var f=0;if(i>0)for(var p=0;p<c.length;p=p+1)f=c[p].height+f;s=f}else if(s=o.dataSize.rows.count*n.nodeHeight,this.lastPageInView(o.dataSize,o.viewBuffer)){var v=this._calcMaxHeight(c,u),g=y(v,2),E=g[0],D=g[1];this.maxScroll=D,s=Math.floor(E)}return o.setState("maxScrollHeight",s),s}},{key:"allRowInView",value:function(o,a){var i=o.rows.end,u=o.rows.start,s=a.rangeList[0],c=s.rows.end,f=s.rows.start;return f===u&&i<=c}},{key:"lastPageInView",value:function(o,a){var i=a.rangeList[0],u=i.rows.end,s=o.rows.count-1;return u>=s}},{key:"_calcMaxHeight",value:function(o,a){for(var i=0,u=void 0,s=void 0,c=o.length-1;c>=0&&(u=o[c].index,s=o[c].height,i+=s,!(i>a));c-=1);u=Math.max(u,0);var f=(i-a)/s,p=u,v=Math.floor(n.nodeHeight*(f+p));return[v+a,v]}},{key:"computeTranslateY",value:function(o){var a=o.viewBuffer.rangeList,i=Math.max(a[0].rows.start,0),u=o.viewPort.size.top,s=Math.floor(u/n.nodeHeight),c=s-i,f=this.ArrayOfBufferNodeHeight(o);if(f.length===0||this.allRowInView(o.dataSize,o.viewBuffer))return 0;for(var p=f.find(function(x){return x.index===s}),v=p?p.height:n.nodeHeight,g=0,E=0;E<c;E+=1)f[E]&&(g+=f[E].height-n.nodeHeight);var D=v/n.nodeHeight-1,F=u%n.nodeHeight,w=Math.floor(i*n.nodeHeight-g-D*F);return w}},{key:"getExpectedTranslateTopValue",value:function(o){var a=o.viewBuffer.rangeList[0].rows.start*n.nodeHeight;return a}},{key:"calculateAndUpdateLogicalViewPort",value:function(o,a){var i=0,u=0,s=o.getStateByKey("nodeHeightInPx");s&&(s=s.value,i=Math.round(a.height/s),u=Math.round(a.top/s));var c=o.dataSize.rows.end-(i-1);u=u>c?c:u,t.updateLogicalViewPort(o,u,i,a)}},{key:"updateLogicalViewPort",value:function(o,a,i,u){var s=o.viewPort,c=0,f=0;if(u&&(s.size=u),typeof a=="number"&&a>=0){var p=o.dataSize.rows.end-(s.rangeList[0].rows.count-1),v=a>p?p:a;c=Math.max(v,o.dataSize.rows.start)}typeof i=="number"&&i>0?f=Math.max(0,c+i-1):f=Math.max(0,c+s.rangeList[0].rows.count-1);var g=s.rangeList;g[0]=g[0].setRows(c,f).setColumns(0,0),s.rangeList=g,o.viewPort=s}},{key:"getViewPortCount",value:function(o){for(var a=o.getStateByKey("bufferDataRendererd").value,i=o.viewPort.size.height,u=o.viewPort.size.top,s=this.getFirstVisibleRow(u,o),c=s.index,f=0,p=0,v=void 0,g=0;g<a.length&&(f=a[g].index,v=a[g].height,f>=c&&(p+=v),!(p>i));g++);var E=p-i;if(E>0){var D=f-(c-1)-Math.round(E/v);return D}return f+1}},{key:"getPreviousViewPortCount",value:function(o,a){var i=o.getStateByKey("bufferDataRendererd");i=i&&i.value;var u=o.viewPort.size.height,s=0,c=0,f=!1,p=void 0,v=0;for(v=i.length-1;v>=0;v--)if(s=i[v].index,p=i[v].height,s<=a&&(c+=p),c>=u){f=!0;break}if(f){var g=a-(s-1),E=c-u;return g=g-Math.round(E/p),g}var D=u-c,F=Math.round(D/p),w=a+1-(s-F);return w}},{key:"getNextViewPortCount",value:function(o,a){var i=o.getStateByKey("bufferDataRendererd");i=i&&i.value;var u=o.viewPort.size.height,s=0,c=0,f=!1,p=void 0,v=0;for(v=0;v<i.length;v++)if(s=i[v].index,p=i[v].height,s>=a&&(c+=p),c>=u){f=!0;break}if(f){var g=s-a+1,E=c-u;return g=g-Math.round(E/p),g}var D=u-c,F=Math.round(D/p),w=s+F+1-a;return w}},{key:"getIndexForScrollTop",value:function(o,a){for(var i=0,u=0,s=0;s<a.length&&(i=a[s].index,u=a[s].height,u<=o);s++)o=o-u;var c=o;return{rowIndex:i,rowHeight:u,diff:c}}},{key:"getPhysicalHeightTillLastRow",value:function(o,a,i){for(var u=Math.floor(o/n.nodeHeight),s=0,c=0,f=0,p=0;p<a.length;p++){if(s=a[p].index,c=a[p].height,s===u){var v=n.nodeHeight-o%n.nodeHeight;f+=c*(v/n.nodeHeight)}else s>u&&(f+=c);if(f>=i)break}return{physicalTotal:f,rowIndex:s,rowHeight:c}}},{key:"getFirstVisibleRow",value:function(o,a){var i=void 0;if(this.allRowInView(a.dataSize,a.viewBuffer)){var u=a.getStateByKey("bufferDataRendererd").value,s=t.getIndexForScrollTop(o,u),c=s.rowIndex,f=s.rowHeight,p=s.diff;return i=p%f!==0,{index:c+Math.round(p/f),isPartialVisible:i}}var v=Math.round(o/n.nodeHeight);return i=o%n.nodeHeight!==0,{index:v,isPartialVisible:i}}},{key:"getLastVisibleRow",value:function(o,a){var i=a.getStateByKey("bufferDataRendererd").value,u=a.viewPort.size.height,s=void 0;if(t.allRowInView(a.dataSize,a.viewBuffer)){var c=o+u,f=t.getIndexForScrollTop(c,i),p=f.rowIndex,v=f.rowHeight,g=f.diff,E=1-Math.round(g/v);return s=g%v!==0,{index:p-E,isPartialVisible:s}}else{var D=t.getPhysicalHeightTillLastRow(o,i,u),F=D.physicalTotal,w=D.rowIndex,x=D.rowHeight,R=Math.max(F-u,0);return s=R%x!==0,{index:w-Math.round(R/x),isPartialVisible:s}}}},{key:"updateDataBuffer",value:function(o,a){if(!(!a&&t.isViewPortRangeInDataBuffer(o))){var i=o.getStateByKey("lookAheadNodeBuffer").value,u=Math.max(o.dataSize.rows.start,o.viewPort.rangeList[0].rows.start-i),s=o.viewPort.rangeList[0].rows.end+i;o.viewBuffer={size:null,rangeList:[d.range().setRows(u,s).setColumns(0,0)]}}}},{key:"isTreeNodeCompletelyInsideViewPort",value:function(o,a){var i=t.getFirstVisibleRow(a.viewPort.size.top,a),u=i.index,s=i.isPartialVisible,c=t.getLastVisibleRow(a.viewPort.size.top,a),f=c.index,p=c.isPartialVisible;return o===u?!s:o===f?!p:o>u&&o<f}}]),t}();return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(212),l(423),l(149)],C=l.dj.d(A,function(h,d,n){var e=function(a){return a instanceof Node},t=!1,r=function(){function o(){m(this,o)}return y(o,null,[{key:"createContext",value:function(i){if(t||(o._enableDNDinCEFAndHandleFiles(),t=!0),i&&e(i.context)){var u=new h(i);return u}else throw new Error("Expected: config.context should be of type Node")}},{key:"_createFileContext",value:function(i){if(i){var u=new d(i);return u}else throw new Error("Expected: config.context should be of type Node")}},{key:"_enableDNDinCEFAndHandleFiles",value:function(){window.cefclient&&window.cefclient.sendMessage&&typeof window.cefclient.sendMessage=="function"&&(window.cefclient.sendMessage("enable-dragndrop-all"),o._createFileContext({context:document}).createDropTarget({dropTarget:document,lifecycle:{enter:function(){return!1},drop:function(){}}}))}},{key:"NativeType",get:function(){return n.TYPES}}]),o}();return r},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({TYPE_TREENODE:"TREENODE",TYPE_TREE:"TREE",MODE:{REORDER:"REORDER",REPARENT:"REPARENT",REORDER_WITHOUT_REPARENT:"REORDER_WITHOUT_REPARENT"},Events:{registerDnDSource:"registerDnDSource",syncDnDSource:"syncDnDSource",moveCompleted:"moveCompleted",moveFailed:"moveFailed"}});return y},_,M),_.exports=C},function(_,M,l){var A,C;(function(y){var m,h=/[-+,> ]/;y([],m=function(a,n){"use strict";h=n||h;var e=/(?:\s*([-+ ,<>]))?\s*(\.|!\.?|#)?([-\w\u00A0-\uFFFF%$|]+)?(?:\[([^\]=]+)=?['"]?([^\]'"]*)['"]?\])?/g,t,r,o=!1,a=a||document,i=typeof a.createElement=="object";function u(c,f){c.appendChild(a.createTextNode(f))}function s(c){var f,p,v,g,E,D=arguments,F=D[0];function w(){E&&g&&E!=g&&(g==c&&(f||(f=h.test(R)&&a.createDocumentFragment()))?f:g).insertBefore(E,v||null)}for(var x=0;x<D.length;x++){var R=D[x];if(typeof R=="object"){if(p=!1,R instanceof Array){E=a.createDocumentFragment();for(var T=0;T<R.length;T++)E.appendChild(s(R[T]));R=E}if(R.nodeType)E=R,w(),g=R,v=0;else for(var T in R)E[T]=R[T]}else if(p)p=!1,u(E,R);else{x<1&&(c=null),p=!0;var S=R.replace(e,function(I,B,P,L,O,W){B&&(w(),B=="-"||B=="+"?(g=(v=E||g).parentNode,E=null,B=="+"&&(v=v.nextSibling)):(B=="<"?g=E=(E||g).parentNode:(B==","?g=c:E&&(g=E),E=null),v=0),E&&(g=E));var j=!P&&L;if(j||!E&&(P||O))if(j=="$")u(g,D[++x]);else{j=j||s.defaultTag;var K=i&&D[x+1]&&D[x+1].name;K&&(j="<"+j+' name="'+K+'">'),E=o&&~(r=j.indexOf("|"))?a.createElementNS(o[j.slice(0,r)],j.slice(r+1)):a.createElement(j)}if(P)if(L=="$"&&(L=D[++x]),P=="#")E.id=L;else{var H=E.className,V=H&&(" "+H+" ").replace(" "+L+" "," ");if(P==".")E.className=H?(V+L).substring(1):L;else if(R=="!"){var $;i?s("div",E,"<").innerHTML="":($=E.parentNode)&&$.removeChild(E)}else V=V.substring(1,V.length-1),V!=H&&(E.className=V)}if(O)if(W=="$"&&(W=D[++x]),O=="style")E.style.cssText=W;else{var G=O.charAt(0)=="!"?(O=O.substring(1))&&"removeAttribute":"setAttribute";W=W===""?O:W,o&&~(r=O.indexOf("|"))?E[G+"NS"](o[O.slice(0,r)],O.slice(r+1),W):E[G](O,W)}return""});if(S)throw new SyntaxError("Unexpected char "+S+" in "+R);w(),g=F=E||g}}return c&&f&&c.appendChild(f),F}return s.addNamespace=function(c,f){a.createElementNS?(o||(o={}))[c]=f:a.namespaces.add(c,f)},s.defaultTag="div",s.forDocument=m,s})})(function(y,m,h){h=h||m,A=[],C=l.dj.d(A,function(){return h()},_,M),_.exports=C})},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({MOUSE_LEFT_BUTTON:0,MOUSE_MIDDLE_BUTTON:1,MOUSE_RIGHT_BUTTON:2});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function d(n,e){var t=[],r=!0,o=!1,a=void 0;try{for(var i=n[Symbol.iterator](),u;!(r=(u=i.next()).done)&&(t.push(u.value),!(e&&t.length===e));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&i.return&&i.return()}finally{if(o)throw a}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(19),l(629),l(22),l(3),l(177)],C=l.dj.d(A,function(d,n,e,t,r){"use strict";var o=0,a=Object.freeze({displayIndices:!1,displayColumnLabel:!0,hideColumnHeader:!1});function i(){return o}function u(E,D,F){var w={columns:[],spanningConfig:[]},x={generatedId:F};if(E.children){if(o=o+1,D!==void 0){var R=E.label,T=E.columnId,S=E.headerEditor,I=E.headerRenderer,B=E.sortType,P=E.sortFirst,L=E.headerMenu,O=E.groupLength,W=E.colStartIndex,j=E.colEndIndex,K=E.reorder,H=E.resizable,V=F===void 0?"."+D:F+"."+D;x={generatedId:T||V,columnId:T||V,label:R,parentId:F,headerEditor:S,headerRenderer:I,sortType:B,sortFirst:P,headerMenu:L,groupLength:O,colStartIndex:W,colEndIndex:j,reorder:K,resizable:H},w.spanningConfig.push(x)}E.children.forEach(function($,G){var Q=u($,G,x.generatedId);w.columns=w.columns.concat(Q.columns),w.spanningConfig=w.spanningConfig.concat(Q.spanningConfig)})}else E.parentId=F,w.columns=[E];return w}function s(E){for(var D={},F=0;F<E.length;F+=1){var w=E[F],x=w.label,R=w.parentId,T=w.columnId,S=w.headerRenderer,I=w.headerEditor,B=w.sortType,P=w.sortFirst,L=w.headerMenu,O=w.groupLength,W=w.colStartIndex,j=w.colEndIndex,K=w.reorder,H=w.resizable;D[w.generatedId]={label:x,parentId:R,columnId:T,headerRenderer:S,headerEditor:I,sortType:B,sortFirst:P,headerMenu:L,groupLength:O,colStartIndex:W,colEndIndex:j,reorder:K,resizable:H}}return D}var c=function(D){return D.length>0},f=function(D){return D.dataIndex>=0},p=function(D){return D.width.unit==="px"||D.width.unit==="%"&&!D.parentId||D.width.unit===""||!D.width.value&&!D.width.unit},v=function(){function E(){h(this,E)}return m(E,null,[{key:"getLevelsOfHeaders",value:function(){return i()}},{key:"parseViewModelWithConfig",value:function(F){var w=F.columnModel,x=w===void 0?{}:w,R=F.viewModel,T=R===void 0?{}:R,S=F.attributes,I=S===void 0?{}:S,B=d.alt(E.initializeConfiguredHeaders,function(){return{columns:[]}},{columnConfig:x.columnConfig}),P=B.spanning,L=B.columns,O=L||[],W=E.validateColPct(O),j=y(W,2),K=j[0],H=j[1],V=E.initialColumnHeaderConfig(x.columnHeaderConfig);return g(O,H,K),T.setColumnHeaderConfig(V),T.setColumnHeaders(O),T.setSpanningHeaders(P),E.setAttributes(T,I),T}},{key:"initialColumnHeaderConfig",value:function(F){return Object.assign({},a,F)}},{key:"enoughColumnsToPage",value:function(F){return F>=e.buffers.UNPAGED_COL_LIMIT}},{key:"notEnoughColumnsToPage",value:function(F){return!E.enoughColumnsToPage(F)}},{key:"parseHeaderConfig",value:function(F,w){var x=F.label,R=x===void 0?null:x,T=F.dataIndex,S=T===void 0?-1:T,I=F.width,B=I===void 0?{}:I,P=F.renderer,L=P===void 0?null:P,O=F.editor,W=O===void 0?null:O,j=F.interactiveRenderer,K=j===void 0?null:j,H=F.sortType,V=H===void 0?"":H,$=F.sortFirst,G=$===void 0?void 0:$,Q=F.hidden,J=Q===void 0?!1:Q,Y=F.hideable,X=Y===void 0?!0:Y,Z=F.readonly,q=Z===void 0?!1:Z,ee=F.columnId,re=ee===void 0?null:ee,he=F.headerMenu,me=he===void 0?!1:he,se=F.headerRenderer,te=se===void 0?null:se,oe=F.headerEditor,ue=oe===void 0?null:oe,ce=F.parentId,ve=ce===void 0?void 0:ce,Se=F.colStartIndex,Be=Se===void 0?-1:Se,ke=F.colEndIndex,Ge=ke===void 0?-1:ke,rt=F.reorder,ut=rt===void 0?!0:rt,ht=F.columnHeaderIndex,dt=ht===void 0?-1:ht,Tt=F.resizable,Ot=Tt===void 0?void 0:Tt;K&&(W=null,L=null);var Ct={label:R,dataIndex:S,width:B,renderer:L,editor:W,interactiveRenderer:K,sortType:V,sortFirst:G,hidden:J,hideable:X,readonly:q,columnId:re!==null?re.toString():w.toString(),headerMenu:me,headerRenderer:te,headerEditor:ue,colStartIndex:Be,colEndIndex:Ge,parentId:ve,reorder:ut,columnHeaderIndex:dt,resizable:Ot};return n.fromType(f,Ct).filter(p).orElse(null)}},{key:"initializeConfiguredHeaders",value:function(F){var w=F.columnConfig,x=w===void 0?[]:w,R=u({children:x}),T=s(R.spanningConfig),S=n.fromType(c,R.columns).chain(function(I){return I.map(E.parseHeaderConfig)}).chain(function(I){return I.filter(function(B){return B})});return{spanning:T,columns:S.orElse(null)}}},{key:"validateColPct",value:function(F){var w=0,x=0,R=-1;F.forEach(function(S,I){if(S.width&&E.validateGeoVal(S.width,"%")){var B=Math.abs(S.width.value);w+=B,B>x&&(R=I,x=B)}});var T=100-w;return T<1&&(R=-1),[T,R]}},{key:"getTbodyHeaderClass",value:function(F){return F?"mw-tbody-all-columns":"mw-tbody-paged-columns"}},{key:"getTableHeaderClass",value:function(F){return F?"":"mw-table-paged-columns"}},{key:"getPercentColumnPageWidth",value:function(F){var w=F.headers,x=w===void 0?[]:w,R=F.allColumnsRendered,T=R===void 0?!1:R;function S(I){if(I.width)return I.width.unit==="%"}return T&&d.find(x,S)?"100%":null}},{key:"validateGeoVal",value:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=F.value,x=F.unit,R=arguments[1];return!isNaN(parseFloat(w))&&w!==1/0&&(!R||x===R)}},{key:"validateForNaturalNumber",value:function(F){var w=function(){return!(F!==void 0&&(typeof F!="number"||!Number.isInteger(F)||F<=0))}();if(!w)throw new Error("Error: Invalid numberOfGutters option, numberOfGutters should be a natural number")}},{key:"setAttributes",value:function(F,w){function x(K,H){H=Math.max(e.dimensions.ABSOLUTE_MIN,H),E.validateGeoVal({value:H})&&F.setState(K,H)}function R(K,H){r.hasOwnProperty(H)&&F.setState(K,H)}function T(K,H){F.setState(K,H)}function S(K,H){F.setState(K,H)}function I(K,H){F.setState(K,H)}function B(K,H){E.validateForNaturalNumber(H),F.setState(K,H)}for(var P=function(H){switch(H){case"minColWidth":return x.bind(this,t.COL_WIDTH);case"minRowHeight":return x.bind(this,t.ROW_HEIGHT);case"gridStyle":return R.bind(this,t.protected.GRID_STYLE);case"groupedColumns":return I.bind(this,t.protected.GROUPED_COLUMN_HEADERS);case"numberOfGutters":return B.bind(this,"numberOfGutters");case"useEditorRendererDataFields":return T.bind(this,t.protected.USE_DATA_FIELDS);case"resizeSelection":return S.bind(this,t.protected.RESIZE_SELECTION);default:return function(V){return V}}},L=Object.keys(w),O=L.length,W=void 0,j=0;j<O;j++)W=L[j],P(W)(w[W])}}]),E}();return v;function g(E){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,F=arguments[2];return D>-1&&(E[D].width.value+=F),E}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(182),l(184),l(183),l(286),l(69)],C=l.dj.d(A,function(y,m,h,d,n){let{MIME_TYPES:e,TypeMetaDataEnum:t}=n;const r={setEventClipboardData(o,a){let i={[e.KIND_FILE]:u=>{let s=u.getAsFile();o.add(s)},[e.KIND_STRING]:u=>{o.add(a.getData(u.type),u.type)}};for(let u=0;u<a.items.length;u++){let s=a.items[u];i[s.kind]&&i[s.kind](s)}},hasOnlyTextMimeType(o){let a=o.types;return a.length===1&&a.includes(n.MIME_TYPES.TEXT_PLAIN)},hasImageMimeType(o){return o.items&&Array.from(o.items).some(a=>y.checkImageType(a.type))},getMimeMetaData(o,a,i){return i?t.useNavigatorClipboard:a&&m.isCopyEvent(a)&&m.isEventRunningNow(a)?t.FROM_COPY_EVENT:r.hasOnlyTextMimeType(o)?t.ONLY_TEXT:r.hasImageMimeType(o)?t.CONTAINS_IMAGE:t.OTHERS},isDataTransferConstructor(){try{new window.DataTransfer}catch(o){return!1}return!0},isDataTransferValid(o){if(!o)return!1;let a=o.types;return!(!a||(!Array.isArray(a)||a.length===0)&&o.items&&o.items.length===0)},getDataTransferString(o){if(!o)return"dataTransfer is null";let a=o.types;if(!a||a.length===0||!a[0])return"dataTransfer has no mime types";let i="";for(let u=0;u<a.length;u++){let s=a[u],c=o.getData(s);i+=" type = "+s+" value = "+c}return i},readBase64FromImage(o,a){return new Promise(i=>{let u=new FileReader;u.addEventListener("load",function(s){i({flavor:a,content:u.result})}),u.readAsDataURL(o)})},convertDataTransferToServerFormat(o){let a={[e.KIND_FILE]:u=>y.checkImageType(u.type)?r.readBase64FromImage(u.getAsFile(),u.type):Promise.resolve(null),[e.KIND_STRING]:u=>{let s=o.getData(u.type);return u.type===e.TEXT_URI_LIST?a[e.TEXT_URI_LIST](u):Promise.resolve({flavor:u.type,content:s})},[e.TEXT_URI_LIST]:u=>Promise.resolve({flavor:u.type,content:o.getUrls(),mode:o.getAction()})},i=[];for(let u=0;u<o.items.length;u++){let s=o.items[u];i.push(a[s.kind](s))}return Promise.all(i).then(u=>({contents:u.filter(c=>!!c)}))},convertServerFormatToDataTransfer(o,a){let i=o.contents||[],u=Object.keys(i),s={[e.IMAGE]:(c,f)=>{if(typeof f!="object")return;let p;if(f.__value__&&(p=f.__value__),f instanceof Image&&(p=f.src),!p)return;let v=p.split(",");if(v.length<2)return;let g=v[1],E=h.convert(g),D=d.convert(c);a.items.add(new File([E],D,{type:"image/png"}))},[e.TEXT_URI_LIST]:(c,f)=>{a.setUrls(f)}};return u.forEach(c=>{let f=i[c];if(y.checkImageType(c)){s[e.IMAGE](c,f);return}if(s[c]){s[c](c,f);return}a.items.add(f,c)}),a},compareStringData(o,a){let i=Array.from(o.types),u=Array.from(a.types);if(i.length!==u.length||!i.every(s=>u.includes(s)))return!1;if(o.files.length===0&&a.files.length===0)return i.every(s=>o.getData(s)===a.getData(s))},compare(o,a){const i=r.compareStringData(o,a);return typeof i=="boolean"?Promise.resolve(i):r.compareFiles(o.files,a.files)},compareFiles(o,a){const i=[];for(let u=0;u<o.length;u++){const s=o[u],c=a[u];i.push(r._compareFile(s,c))}return Promise.all(i).then(u=>u.every(s=>s))},_compareFile(o,a){return o.size!==a.size?Promise.resolve(!1):Promise.all([r._readFileAsDataURL(o),r._readFileAsDataURL(a)]).then(i=>{let u=i[0],s=i[1];return u===s})},_readFileAsDataURL(o){return new Promise(a=>{const i=new FileReader;i.onload=function(){a(i.result)},i.readAsDataURL(o)})}};return r},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({HEADER_LABEL:"mw-header-label",HEADER_INDEX:"mw-header-index",ROW_HEADER_LABEL:"mw-row-header-label",RESIZE_AFFORDANCE:"mw-table-resize-affordance",RESIZE_SELECTION_AFFORDANCE:"mw-table-resize-selection",RESIZE_AFFORDANCE_PLACEHOLDER:"mwTableHeaderAffordancePlaceholder"});return y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{INACTIVE:"inactive",POSSIBLE:"possible",WAITING:"waiting",BEGAN:"began",PROGRESS:"progress",RECOGNIZED:"recognized",CANCELLED:"cancelled",DISABLED:"disabled"}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(190)],C=l.dj.d(A,function(y){var m=y.DIRECTION_UP,h=y.DIRECTION_RIGHT,d=y.DIRECTION_DOWN,n=y.DIRECTION_LEFT,e=y.DIRECTION_NONE,t=function(v){return v.x},r=function(v){return v.y},o=function(v){return{max:{x:Math.max.apply(null,v.map(t)),y:Math.max.apply(null,v.map(r))},min:{x:Math.min.apply(null,v.map(t)),y:Math.min.apply(null,v.map(r))}}},a=function(v,g){return{x:g.x-v.x,y:g.y-v.y}},i=function(v,g){return u(a(v,g))},u=function(v){var g=Math.pow(v.x,2),E=Math.pow(v.y,2);return Math.sqrt(g+E)},s=function(v,g){var E=Math.atan2(v.y-g.y,v.x-g.x);return E*(180/Math.PI)},c=function(v,g){return{x:(v.x+g.x)/2,y:(v.y+g.y)/2}},f=function(v,g){var E=e,D=g.x-v.x,F=g.y-v.y;return(D!==0||F!==0)&&(Math.abs(D)>Math.abs(F)?E=D<0?n:h:E=F<0?m:d),E};return{arePointsWithinRadius:function(v,g,E){var D=void 0,F=void 0,w=void 0;return!v||!g?!1:(D=v.x-g.x,F=v.y-g.y,w=Math.sqrt(D*D+F*F),w<E)},getCenter:function(v){var g=o(v),E=g.max,D=g.min;return c(E,D)},getAngle:function(v){var g=o(v),E=g.max,D=g.min;return s(E,D)},getSpread:function(v){var g=o(v),E=g.max,D=g.min;return i(E,D)},computeDistance:a,computeMagnitude:u,computeDistanceMagnitude:i,computeDirection:f}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(75),l(71),l(751),l(5),l(3),l(42)],C=l.dj.d(A,function(h,d,n,e,t,r){"use strict";var o="."+r.SOURCE_SELECTOR,a=300,i=function(){function c(){m(this,c)}return y(c,null,[{key:"createDnDContext",value:function(p){var v=h.createContext({context:p});return v}},{key:"startDnD",value:function(p,v,g){var E=c.createDnDContext(p);return u(E,o,v,g),E._mouseupFn=function(){return c.clearDnDContext(E,g)},document.addEventListener("mouseup",E._mouseupFn),E}},{key:"addDnDContextTarget",value:function(p,v,g){var E=v.dropTarget,D=v.columnRegions,F=v.lifecycle,w=v.allowGlobal,x=v.rowRegions;return E&&(F=c.targetLifecycleDecorator(F,g),p.createDropTarget({allowGlobal:w,dropTarget:E,columnRegions:D,lifecycle:F,rowRegions:x})),p}},{key:"getVerticalPosition",value:function(p,v,g,E){var D=v.getBoundingClientRect(),F=D.top,w=D.bottom,x=c.onTargetPosition(g,E);return x.bottom&&(F=w),{top:F,targetPosition:x}}},{key:"getHorizontalPosition",value:function(p,v,g){var E=v.getBoundingClientRect(),D=E.left,F=E.right,w=D;return c.onTargetRight(g)&&(w=F),{left:w}}},{key:"setDropPosition",value:function(p,v){v(e.protected.NODE_NOTIFY,{publisherFn:function(){return p},publisherId:t.protected.publisher.DND_IN_ACTION,noRender:!0})}},{key:"getContextCacheInfo",value:function(p,v,g,E){return p.cachedData||(p.cachedData={}),E||(p.cachedData[v]=g),p.cachedData[v]}},{key:"removeInsertionLine",value:function(p){return c.setDropPosition({},p)}},{key:"getDragScroll",value:function(p){if(!!d.isSafari()){var v=function(E,D){window.requestAnimationFrame(function(){n.scroll(D,p,E.getXYCoordinates())})};return v}}},{key:"lifecycleAddOn",value:function(p){for(var v=arguments.length,g=Array(v>1?v-1:0),E=1;E<v;E++)g[E-1]=arguments[E];return function(){var D=this,F=arguments;g.forEach(function(x){x&&x.apply(D,F)});var w=p?p.apply(this,arguments):void 0;return w}}},{key:"targetLifecycleDecorator",value:function(p,v){var g=c.getDragScroll(v);return p.hover=c.lifecycleAddOn(p.hover,g),p}},{key:"sourceLifecycleDecorator",value:function(p,v,g){var E=function(){return c.clearDnDContext(v,g)};return p.end=c.lifecycleAddOn(p.end,E),p}},{key:"onTargetRight",value:function(p){var v=p&&p.column===1;return v}},{key:"onTargetPosition",value:function(p,v){var g=p&&p.row===v?!0:void 0,E=p&&p.row===0?!0:void 0,D=!g&&!E?!0:void 0;return{bottom:g,top:E,middle:D}}},{key:"isWhitespace",value:function(p){return p.classList.contains(r.CONTAINER)}},{key:"isInsertionLine",value:function(p){return p.classList.contains(r.INSERTION_LINE_CLASS)}},{key:"getHorizontalLineClassByValidation",value:function(p){return p?"mw-table-horizontal-line":"mw-table-horizontal-line-invalid"}},{key:"removeRowTargetStyle",value:function(p,v,g,E){E===r.targetLifeCycle.LEAVE&&g&&g.row!==1||(v.classList.contains(r.ROW_VALID_HOVER)&&v.classList.remove(r.ROW_VALID_HOVER),v.classList.contains(r.ROW_INVALID_HOVER)&&v.classList.remove(r.ROW_INVALID_HOVER))}},{key:"getRowOnDrop",value:function(p,v){return function(g,E,D){var F={dataTransferItem:g,target:v.cachedData.targetInfo};return c.removeRowTargetStyle(g,E,D),p(F)}}},{key:"getRowTargetList",value:function(p,v){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,E=["."+r.INSERTION_LINE_CLASS,"."+r.CONTAINER],D={allowGlobal:g,dropTarget:r.TARGET_SELECTOR_TABLE_ROW,rowRegions:v,lifecycle:p},F=E.map(function(w){return{allowGlobal:g,dropTarget:w,lifecycle:p}});return F.concat(D)}},{key:"debounceCheckForDragOut",value:function(p,v,g){return function(){p.currentDndLifeCycle=v,p.checktimer&&clearTimeout(p.checktimer),p.checktimer=setTimeout(function(){return c.removeInsertionLineOnLastTarget(p,g)},a)}}},{key:"removeInsertionLineOnLastTarget",value:function(p,v){p.currentDndLifeCycle===r.targetLifeCycle.LEAVE&&c.removeInsertionLine(v)}},{key:"clearDnDContext",value:function(p,v){return document.removeEventListener("mouseup",p._mouseupFn),p._mouseupFn=null,v(e.internal.DRAG_END),p.destroy()}},{key:"setAvatar",value:function(p,v,g,E){var D=c.getAvatarNode(p,v,g,E),F=D.avatarNode,w=D.count;g.setAvatar(F,w)}},{key:"getAvatarNode",value:function(p,v,g,E){var D=void 0,F=s(v);if(E){var w=E({dataTransferItem:g});w&&w.node&&(D=w.node)}return D=D||document.createTextNode(p.textContent),{avatarNode:D,count:F}}},{key:"startAction",value:function(p,v){v(e.internal.DRAG_STARTED,p)}},{key:"endAction",value:function(p){c.removeInsertionLine(p),p(e.internal.DRAG_END)}}]),c}();return i;function u(c,f,p,v){var g=p.allowGlobal,E=g===void 0?!1:g,D=p.lifecycle;return i.sourceLifecycleDecorator(D,c,v),c.createDragSource({dragSource:f,allowGlobal:E,lifecycle:D}),c}function s(c){var f=c.dndSourceDataToDropOutside,p=c.internalRowDndSourceData,v=c.columnDnDSourceData,g=1;return v?g=v.count:(f&&(g=f.count),p&&(g=p.count)),g}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(4),l(27),l(17),l(327),l(54),l(86),l(0),l(55)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){t.add("events-keypress-typed",function(){var v={charCode:0};try{v=document.createEvent("KeyboardEvent"),(v.initKeyboardEvent||v.initKeyEvent).call(v,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(g){}return v.charCode==0&&!t("opera")});function o(v,g,E,D,F){if(D=r.hitch(E,D),!v||!(v.addEventListener||v.attachEvent))return d.after(v||y.global,g,D,!0);if(typeof g=="string"&&g.substring(0,2)=="on"&&(g=g.substring(2)),v||(v=y.global),!F)switch(g){case"keypress":g=c;break;case"mouseenter":g=e.enter;break;case"mouseleave":g=e.leave;break}return m(v,g,D,F)}var a={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},i=t("mac")?"metaKey":"ctrlKey",u=function(v,g){var E=r.mixin({},v,g);return s(E),E.preventDefault=function(){v.preventDefault()},E.stopPropagation=function(){v.stopPropagation()},E};function s(v){v.keyChar=v.charCode?String.fromCharCode(v.charCode):"",v.charOrCode=v.keyChar||v.keyCode}var c;if(t("events-keypress-typed")){var f=function(v,g){try{return v.keyCode=g}catch(E){return 0}};c=function(v,g){var E=m(v,"keydown",function(F){var w=F.keyCode,x=w!=13&&w!=32&&(w!=27||!t("ie"))&&(w<48||w>90)&&(w<96||w>111)&&(w<186||w>192)&&(w<219||w>222)&&w!=229;if(x||F.ctrlKey){var R=x?0:w;if(F.ctrlKey){if(w==3||w==13)return g.call(F.currentTarget,F);R>95&&R<106?R-=48:!F.shiftKey&&R>=65&&R<=90?R+=32:R=a[R]||R}var T=u(F,{type:"keypress",faux:!0,charCode:R});g.call(F.currentTarget,T),t("ie")&&f(F,T.keyCode)}}),D=m(v,"keypress",function(F){var w=F.charCode;return w=w>=32?w:0,F=u(F,{charCode:w,faux:!0}),g.call(this,F)});return{remove:function(){E.remove(),D.remove()}}}}else t("opera")?c=function(v,g){return m(v,"keypress",function(E){var D=E.which;return D==3&&(D=99),D=D<32&&!E.shiftKey?0:D,E.ctrlKey&&!E.shiftKey&&D>=65&&D<=90&&(D+=32),g.call(this,u(E,{charCode:D}))})}:c=function(v,g){return m(v,"keypress",function(E){return s(E),g.call(this,E)})};var p={_keypress:c,connect:function(v,g,E,D,F){var w=arguments,x=[],R=0;x.push(typeof w[0]=="string"?null:w[R++],w[R++]);var T=w[R+1];x.push(typeof T=="string"||typeof T=="function"?w[R++]:null,w[R++]);for(var S=w.length;R<S;R++)x.push(w[R]);return o.apply(this,x)},disconnect:function(v){v&&v.remove()},subscribe:function(v,g,E){return h.subscribe(v,r.hitch(g,E))},publish:function(v,g){return h.publish.apply(h,[v].concat(g))},connectPublisher:function(v,g,E){var D=function(){p.publish(v,arguments)};return E?p.connect(g,E,D):p.connect(g,D)},isCopyKey:function(v){return v[i]}};return p.unsubscribe=p.disconnect,t("extend-dojo")&&r.mixin(y,p),p},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(0),l(18)],C=l.dj.d(A,function(y,m,h){return h("host-browser")&&(y._name="browser",m.mixin(y,{isBrowser:!0,isFF:h("ff"),isIE:h("ie"),isKhtml:h("khtml"),isWebKit:h("webkit"),isMozilla:h("mozilla"),isMoz:h("mozilla"),isOpera:h("opera"),isSafari:h("safari"),isChrome:h("chrome"),isMac:h("mac"),isIos:h("ios"),isAndroid:h("android"),isWii:h("wii"),isQuirks:h("quirks"),isAir:h("air")})),h},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(17),l(26),l(85),l(1),l(8),l(6),l(0),l(36),l(73),l(35),l(39),l(332),l(197),l(333),l(334)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s){function c(){}function f(v){return function(g,E,D,F){return g&&typeof E=="string"&&g[E]==c?g.on(E.substring(2).toLowerCase(),t.hitch(D,F)):v.apply(h,arguments)}}y.around(h,"connect",f),e.connect&&y.around(e,"connect",f);var p=d("dijit._Widget",[i,u,s],{onClick:c,onDblClick:c,onKeyDown:c,onKeyPress:c,onKeyUp:c,onMouseDown:c,onMouseMove:c,onMouseOut:c,onMouseOver:c,onMouseLeave:c,onMouseEnter:c,onMouseUp:c,constructor:function(v){this._toConnect={};for(var g in v)this[g]===c&&(this._toConnect[g.replace(/^on/,"").toLowerCase()]=v[g],delete v[g])},postCreate:function(){this.inherited(arguments);for(var v in this._toConnect)this.on(v,this._toConnect[v]);delete this._toConnect},on:function(v,g){return this[this._onMap(v)]===c?h.connect(this.domNode,v.toLowerCase(),this,g):this.inherited(arguments)},_setFocusedAttr:function(v){this._focused=v,this._set("focused",v)},setAttribute:function(v,g){e.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0"),this.set(v,g)},attr:function(v,g){var E=arguments.length;return E>=2||typeof v=="object"?this.set.apply(this,arguments):this.get(v)},getDescendants:function(){return e.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0"),this.containerNode?r("[widgetId]",this.containerNode).map(a.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});return n("dijit-legacy-requires")&&o(0,function(){var v=["dijit/_base"];require(v)}),p},_,M),_.exports=C},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(8)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(has){"use strict";var hasJSON=typeof JSON!="undefined";if(has.add("json-parse",hasJSON),has.add("json-stringify",hasJSON&&JSON.stringify({a:0},function(_,M){return M||1})=='{"a":1}'),has("json-stringify"))return JSON;var escapeString=function(_){return('"'+_.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:has("json-parse")?JSON.parse:function(str,strict){if(strict&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str))throw new SyntaxError("Invalid characters in JSON");return eval("("+str+")")},stringify:function(_,M,l){var A;typeof M=="string"&&(l=M,M=null);function C(y,m,h){M&&(y=M(h,y));var d,n=typeof y;if(n=="number")return isFinite(y)?y+"":"null";if(n=="boolean")return y+"";if(y===null)return"null";if(typeof y=="string")return escapeString(y);if(n=="function"||n=="undefined")return A;if(typeof y.toJSON=="function")return C(y.toJSON(h),m,h);if(y instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(c,f,p){var v=y["getUTC"+f]()+(p?1:0);return v<10?"0"+v:v});if(y.valueOf()!==y)return C(y.valueOf(),m,h);var e=l?m+l:"",t=l?" ":"",r=l?`
|
||
`:"";if(y instanceof Array){var o=y.length,a=[];for(h=0;h<o;h++){var i=y[h];d=C(i,e,h),typeof d!="string"&&(d="null"),a.push(r+e+d)}return"["+a.join(",")+r+m+"]"}var u=[];for(h in y){var s;if(y.hasOwnProperty(h)){if(typeof h=="number")s='"'+h+'"';else if(typeof h=="string")s=escapeString(h);else continue;if(d=C(y[h],e,h),typeof d!="string")continue;u.push(r+e+s+":"+t+d)}}return"{"+u.join(",")+r+m+"}"}return C(_,"","")}}},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},function(_,M,l){var A,C;A=[l(9),l(0),l(20),l(61)],C=l.dj.d(A,function(y,m,h,d){"use strict";var n=y.some;return function(t){var r,o;m.isArray(t)?o=t:t&&typeof t=="object"&&(r=t);var a,i=[];if(r){o=[];for(var u in r)Object.hasOwnProperty.call(r,u)&&(i.push(u),o.push(r[u]));a={}}else o&&(a=[]);if(!o||!o.length)return new h().resolve(a);var s=new h;s.promise.always(function(){a=i=null});var c=o.length;return n(o,function(f,p){return r||i.push(p),d(f,function(v){s.isFulfilled()||(a[i[p]]=v,--c===0&&s.resolve(a))},s.reject),s.isFulfilled()}),s.promise}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";return Object.freeze({internal:{ALL:"all"},exposed:{WINDOWS:"windows",MAC:"mac",LINUX:"linux"}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){var y=function(e,t){for(var r=e.length,o=0;o<r;o+=1)if(t(e[o]))return o;return-1},m=function(e,t){for(var r=e.length,o=0;o<r;o+=1){var a=e[o];if(t(a))return a}},h=function(e,t,r){return e.every(t,r)},d=function(e,t,r){return e.some(t,r)};return{findIndex:y,find:m,every:h,some:d}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(7)],C=l.dj.d(A,function(y){var m=function(n){return n==="row"?function(e,t,r){return e.setRows(t,r)}:function(e,t,r){return e.setColumns(t,r)}},h=function(n,e){var t=void 0,r=void 0,o=void 0;n==="row"?(t=m("row"),r=m("column"),o="row"):(t=m("column"),r=m("row"),o="column"),e.sort(function(s,c){return s-c});var a=[];if(e.length>0){var i=r(y.range(),0,1/0);i=t(i,e[0],e[0]);for(var u=0;u<e.length;u+=1)i[o].end+1===e[u]?i[o].end=e[u]:(a.push(i),i=r(y.range(),0,1/0),i=t(i,e[0],e[0]));a.push(i)}return a};return{columnArray:function(n){return h("column",n)},rowArray:function(n){return h("row",n)}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(556),l(566),l(168),l(568),l(117)],C=l.dj.d(A,function(y,m,h,d,n){function e(i,u){const s=u._startFunction||u.start,c=u.stop,f=i._startFunction||i.start,p=i.stop,v=function(){f.call(i,[]),s.call(u,[])},g=function(){c.call(u,[]),p.call(i,[])};u._startFunction?u._startFunction=v:u.start=v,i._startFunction?i._startFunction=v:i.start=v,u.stop=g,i.stop=g}const t=y(new m(n,null,null,null,{instanceType:h.MATLAB_SERVICE_HOST.name})),r=new m(n,null,null,null,{instanceType:h.APP_SERVICE_HOST.name});let o;n.enableServerOnWorkerAsync=function(){},n.disableServerOnWorkerAsync=function(){};const a={};return a[h.APP_SERVICE_HOST.name]=()=>(o||(o=y(r),t.isStarted()&&o.start(),e(t,o)),o),a[h.MATLAB_SERVICE_HOST.name]=()=>t,t.create=function(i){return d(a,i)},t},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(169),l(13),l(571),l(67)],C=l.dj.d(A,function(y,m,h,d,n){const e=function(){let t,r;return{promise:new Promise(function(a,i){t=a,r=i}),resolve:t,reject:r}};return y(null,{constructor:function(t,r){h.assert(t!==void 0,"connectionData must be defined"),h.assert(r!==void 0,"channelPostfix must be defined"),this._subscriptionPromises=[],this._subscribeArgs=[],this._requestPromiseMap={},this._connectionData=t,this._connectionData.onChannelPrefix().then(function(o){this._channelPrefix=o+"/"+r,this._requestChannel=this._channelPrefix+"/request"}.bind(this),function(o){}),this._subscribeImpl("response","_handleResponse",this).catch(function(o){}),this._cancelPendingSubscriptions=!1},subscribe:function(t,r,o){const a=function(i){Promise.resolve(i).then(function(u){o?o[r](u):r(u)})};return this._subscribeImpl(t,a)},makeRequest:function(t,r,o){const a=n.generateUuid(),i=function(){a in this._requestPromiseMap&&delete this._requestPromiseMap[a]}.bind(this),u=e();let s=u.promise.then(function(c){return i(),c},function(c){throw i(),c});if(this._requestPromiseMap[a]={resolve:u.resolve,reject:u.reject},t.requestID=a,this._connectionData.queueRequest(this._subscriptionPromises,function(){this._connectionData.getMessageService().publish(this._requestChannel,t).catch(function(c){u.reject(new m(d.inCOMM_ERROR,c))})}.bind(this),function(c){u.reject(c)}),r!==void 0){const c=setTimeout(this._handleTimeout.bind(this,a,o),r);s=s.finally(function(){clearTimeout(c)})}return s},destroy:function(t){if(t===void 0&&(t=!0),t)for(const r in this._requestPromiseMap)this._requestPromiseMap[r].reject("mvm is being destroyed");for(this._cancelPendingSubscriptions=!0;this._subscribeArgs.length>0;){const r=this._subscribeArgs.shift();this._connectionData.getMessageService().unsubscribe(...r).then(function(){},function(a){})}},_subscribeImpl:function(t,r,o){const a=e();return this._subscriptionPromises.push(a.promise),this._connectionData.onChannelPrefix().then(async function(){if(this._cancelPendingSubscriptions){a.resolve();return}let i;o?i=[this._channelPrefix+"/"+t,r,o]:i=[this._channelPrefix+"/"+t,r],this._subscribeArgs.push(i);try{await this._connectionData.getMessageService().subscribe(...i),a.resolve()}catch(u){a.reject(u)}}.bind(this),function(i){a.reject(i)}),a.promise},_handleTimeout:function(t,r){if(t in this._requestPromiseMap){const o=this._requestPromiseMap[t];delete this._requestPromiseMap[t],o.reject("Canceled because of timeout")}r!==void 0&&r(t,!0)},_handleResponse:function(t){const r=t.data;if(r.requestID in this._requestPromiseMap)if(r.error===void 0)this._requestPromiseMap[r.requestID].resolve(r);else{const o=new m(r.error.status,r.error.msg,r.error.id,r.error.functionName,r.error.frames,r.error.causes);this._requestPromiseMap[r.requestID].reject(o)}}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({SHOW:"show",IDLE:"idle",WAITING:"waiting",CURRENT_ACTIVE_ELEMENT:"activeElement",CLOSED_EXTERNALLY:"closedExternally",FOCUS_WITHIN:"focusWithin"})},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(22),l(3)],C=l.dj.d(A,function(h,d){var n=function(){function e(t){m(this,e),this._viewModel=t}return y(e,[{key:"COL_WIDTH",get:function(){var r=this._viewModel.getStateByKey(d.COL_WIDTH),o=h.dimensions.COL_WIDTH;return r&&r.value&&(o=r.value),o}},{key:"ROW_HEIGHT",get:function(){var r=this._viewModel.getStateByKey(d.ROW_HEIGHT),o=h.dimensions.ROW_HEIGHT;return r&&r.value&&(o=r.value),o}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";return Object.freeze({internal:{ALL:"all"},exposed:{WINDOWS:"windows",MAC:"mac",LINUX:"linux"}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({navigator:{successMessage:"Action success using navigator.clipboard",failureMessage:"Action failure using navigator.clipboard"},browserEvents:{successMessage:"Action success using browser copy event",failureMessage:"Action failure using browser copy event"},messageService:{successMessage:"Action success using message service",failureMessage:"Action failure using message service"},success:{writeGlobal:"CLIPBOARD_WRITE_SUCCESS_GLOBAL",writeLocal:"CLIPBOARD_WRITE_SUCCESS_LOCAL",readLocal:"CLIPBOARD_READ_SUCCESS_LOCAL",readGlobal:"CLIPBOARD_READ_SUCCESS_GLOBAL"}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({ACTIVE_RIGHT_BORDER:1,SELECTED:2,ACTIVE_SELECTED:4}),m=Object.freeze({selection:y});return m},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(2)],C=l.dj.d(A,function(y){var m=y.createContext({});return m},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return y=>(y.stopPropagation(),y.preventDefault(),!1)},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(817),l(314),l(37),l(313)],C=l.dj.d(A,function(y,m,h,d){return{comment:{style:"comment"},blockBegin:[],blockEnd:[],parse:function(n){const e=this,t=new y,r=e.setup(t),o=t.splitLines(n),a=t.startState(r);return o.map(function(u,s){const c=e.parseLineForTokens(u,r,a),f=c.map(function(g){return g.token}).join(""),p=c.filter(function(g){return g.style!==e.comment.style}).map(function(g){return g.token}).join(""),v=Boolean(p.trim());return{id:s+1,rawCode:f,tokens:c,cutoff:p.length,isCodeLine:v}})},parseLineForTokens:function(n,e,t){const r=this,o=new m(n);!o.streing&&e.blankLine&&e.blankLine(t);let a=[];for(;!o.eol();){const i=e.token(o,t),u=new d(o.current(),i),s=r.slHook(u,e,t);a=a.concat(s),o.start=o.pos}return a},createNodes:function(n){return n.map(e=>{const t=document.createElement("span"),r=e.token,o=e.style;o&&o.trim().split(" ").forEach(i=>t.classList.add(i));for(let a=0;a<r.length;a++){const i=document.createElement("c");i.innerText=r[a],t.appendChild(i)}return t})},createNoComment:function(n){let e="";const t=this;return n.forEach(function(r){r.style!==t.comment.style&&(e+=r.token)}),e},createTokenScope:function(n){},createScope:function(n){this.createTokenScope(n);const e=n.length,t=[];for(let r=0;r<e;++r){const o=n[r],a=o.tokens,i=a.length;for(let s=0;s<i;s++){const c=a[s];if(c.token.trim())if(this.isBlockEnd(c)){o.indent=t.length-1;break}else{o.indent=t.length;break}else continue}const u=a[0];u&&!u.token.trim()?o.indentSpace=u.token.length:o.indentSpace=0,this.assignLineScope(a,i,o,n,t),o.up=t.filter(s=>s!==o.id),o.spaces=o.up.map(s=>{const c=n[s-1],f=c.tokens;let p=f[0];for(;p&&!p.token.trim();)p=p.next;let v=f[f.length-1];for(;v&&!v.token.trim();)v=v.prev;if(p.scope===v.scope)return c.indentSpace;{let g=p.prev;for(;g&&g.scope>v.scope;)g=g.prev;return g?n[g.line-1].indentSpace:c.indentSpace}})}},assignLineScope:function(n,e,t,r,o){for(let a=0;a<e;a++){const i=n[a];if(this.isBlockBegin(i))o.push(t.id);else if(this.isBlockEnd(i)){const u=o.pop();if(u!==void 0){const s=r[u-1];s.to=t.id,t.from=s.id}}}},slHook:function(n){return n},isBlockBegin(n){return this.isEq(n,this.blockBegin)},isBlockEnd(n){return this.isEq(n,this.blockEnd)},isEq(n,e){Array.isArray(e)||(e=[e]);const t=n.style,r=n.token;for(let o=0;o<e.length;o++){const a=e[o],i=a.style,u=a.token;let s=!1;if(t!==void 0&&i!==void 0&&(s=t===i),r!==void 0&&u!==void 0&&(s=s&&r===u),s)return!0}return!1},replaceNonAscii:n=>{const e=n.token,t=/&#\w+;/g;n.token=e.replace(t,h.html2text)},detectPattern:(n,e,t,r)=>{const o=n.token,a=o.match(e);if(a===null)return[n];const i=a[0];let u=a.index,s=u+i.length;u+=r,s-=r;const c=o.slice(0,u),f=o.slice(u,s),p=o.slice(s),v={token:c,style:n.style},g={token:f,style:n.style,type:t},E={token:p,style:n.style};return[v,g,E].filter(function(F){return F.token})}}},_,M),_.exports=C},function(_,M,l){var A;A=function(){return typeof global!="undefined"&&typeof global!="function"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:this}.call(null,l,M,_),A!==void 0&&(_.exports=A)},function(_,M,l){var A,C;A=[l(137)],C=l.dj.d(A,function(y){return y("CancelError",null,null,{dojoType:"cancel",log:!1})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0)],C=l.dj.d(A,function(y){"use strict";function m(){throw new TypeError("abstract")}return y.extend(function(){},{then:function(h,d,n){m()},cancel:function(h,d){m()},isResolved:function(){m()},isRejected:function(){m()},isFulfilled:function(){m()},isCanceled:function(){m()},finally:function(h){return this.then(function(d){var n=h();return n&&typeof n.then=="function"?n.then(function(){return d}):d},function(d){var n=h();if(n&&typeof n.then=="function")return n.then(function(){throw d});throw d})},always:function(h){return this.then(h,h)},catch:function(h){return this.then(null,h)},otherwise:function(h){return this.then(null,h)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(12),l(34),l(14),l(0),l(18),l(44)],C=l.dj.d(A,function(y,m,h,d,n,e,t){var r,o={_isElementShown:function(a){var i=d.get(a);return i.visibility!="hidden"&&i.visibility!="collapsed"&&i.display!="none"&&h.get(a,"type")!="hidden"},hasDefaultTabStop:function(a){switch(a.nodeName.toLowerCase()){case"a":return h.has(a,"href");case"area":case"button":case"input":case"object":case"select":case"textarea":return!0;case"iframe":var i;try{var u=a.contentDocument;if("designMode"in u&&u.designMode=="on")return!0;i=u.body}catch(s){try{i=a.contentWindow.document.body}catch(c){return!1}}return i&&(i.contentEditable=="true"||i.firstChild&&i.firstChild.contentEditable=="true");default:return a.contentEditable=="true"}},effectiveTabIndex:function(a){return h.get(a,"disabled")?r:h.has(a,"tabIndex")?+h.get(a,"tabIndex"):o.hasDefaultTabStop(a)?0:r},isTabNavigable:function(a){return o.effectiveTabIndex(a)>=0},isFocusable:function(a){return o.effectiveTabIndex(a)>=-1},_getTabNavigable:function(a){var i,u,s,c,f,p,v={};function g(x){return x&&x.tagName.toLowerCase()=="input"&&x.type&&x.type.toLowerCase()=="radio"&&x.name&&x.name.toLowerCase()}var E=o._isElementShown,D=o.effectiveTabIndex,F=function(x){for(var R=x.firstChild;R;R=R.nextSibling)if(!(R.nodeType!=1||e("ie")<=9&&R.scopeName!=="HTML"||!E(R))){var T=D(R);if(T>=0){T==0?(i||(i=R),u=R):T>0&&((!s||T<c)&&(c=T,s=R),(!f||T>=p)&&(p=T,f=R));var S=g(R);h.get(R,"checked")&&S&&(v[S]=R)}R.nodeName.toUpperCase()!="SELECT"&&F(R)}};E(a)&&F(a);function w(x){return v[g(x)]||x}return{first:w(i),last:w(u),lowest:w(s),highest:w(f)}},getFirstInTabbingOrder:function(a,i){var u=o._getTabNavigable(m.byId(a,i));return u.lowest?u.lowest:u.first},getLastInTabbingOrder:function(a,i){var u=o._getTabNavigable(m.byId(a,i));return u.last?u.last:u.highest}};return e("extend-dojo")&&n.mixin(t,o),o},_,M),_.exports=C},function(_,M,l){var A,C;A=[M,l(141),l(104),l(20),l(47),l(9),l(0),l(105),l(8)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){function a(g){return o("native-arraybuffer")&&g instanceof ArrayBuffer}function i(g){return o("native-blob")&&g instanceof Blob}function u(g){return typeof Element!="undefined"?g instanceof Element:g.nodeType===1}function s(g){return o("native-formdata")&&g instanceof FormData}function c(g){return g&&typeof g=="object"&&!s(g)&&!u(g)&&!i(g)&&!a(g)}y.deepCopy=function(g,E){for(var D in E){var F=g[D],w=E[D];D!=="__proto__"&&F!==w&&(c(w)?Object.prototype.toString.call(w)==="[object Date]"?g[D]=new Date(w):t.isArray(w)?g[D]=y.deepCopyArray(w):F&&typeof F=="object"?y.deepCopy(F,w):g[D]=y.deepCopy({},w):g[D]=w)}return g},y.deepCopyArray=function(g){for(var E=[],D=0,F=g.length;D<F;D++){var w=g[D];typeof w=="object"?E.push(y.deepCopy({},w)):E.push(w)}return E},y.deepCreate=function(E,D){D=D||{};var F=t.delegate(E),w,x;for(w in E)x=E[w],x&&typeof x=="object"&&(F[w]=y.deepCreate(x,D[w]));return y.deepCopy(F,D)};var f=Object.freeze||function(g){return g};function p(g){return f(g)}function v(g){return g.data!==void 0?g.data:g.text}y.deferred=function(E,D,F,w,x,R){var T=new d(function(O){return D&&D(T,E),!O||!(O instanceof m)&&!(O instanceof h)?new h("Request canceled",E):O});T.response=E,T.isValid=F,T.isReady=w,T.handleResponse=x;function S(O){throw O.response=E,O}var I=T.then(p).otherwise(S);y.notify&&I.then(t.hitch(y.notify,"emit","load"),t.hitch(y.notify,"emit","error"));var B=I.then(v),P=new r;for(var L in B)B.hasOwnProperty(L)&&(P[L]=B[L]);return P.response=I,f(P),R&&T.then(function(O){R.call(T,O)},function(O){R.call(T,E,O)}),T.promise=P,T.then=P.then,T},y.addCommonMethods=function(E,D){e.forEach(D||["GET","POST","PUT","DELETE"],function(F){E[(F==="DELETE"?"DEL":F).toLowerCase()]=function(w,x){return x=t.delegate(x||{}),x.method=F,E(w,x)}})},y.parseArgs=function(E,D,F){var w=D.data,x=D.query;return w&&!F&&typeof w=="object"&&(!o("native-xhr2")||!(a(w)||i(w)))&&(D.data=n.objectToQuery(w)),x?(typeof x=="object"&&(x=n.objectToQuery(x)),D.preventCache&&(x+=(x?"&":"")+"request.preventCache="+ +new Date)):D.preventCache&&(x="request.preventCache="+ +new Date),E&&x&&(E+=(~E.indexOf("?")?"&":"?")+x),{url:E,options:D,getHeader:function(R){return null}}},y.checkStatus=function(g){return g=g||0,g>=200&&g<300||g===304||g===1223||!g}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(60),l(4),l(43),l(18),l(45)],C=l.dj.d(A,function(y,m,h,d,n){var e=new y,t;return h(function(){var r=n.getBox();if(e._rlh=m(window,"resize",function(){var a=n.getBox();r.h==a.h&&r.w==a.w||(r=a,e.emit("resize"))}),d("ie")==8){var o=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=o&&(o=screen.deviceXDPI,e.emit("resize"))},500)}d("ios")&&(m(document,"focusin",function(a){t=a.target}),m(document,"focusout",function(a){t=null}))}),e.getEffectiveBox=function(r){var o=n.getBox(r),a=t&&t.tagName&&t.tagName.toLowerCase();if(d("ios")&&t&&!t.readOnly&&(a=="textarea"||a=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(t.type))){o.h*=orientation==0||orientation==180?.66:.4;var i=t.getBoundingClientRect();o.h=Math.max(o.h,i.top+i.height)}return o},e},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(86),l.dj.c(_.i),l(47),l(12),l(351),l(40),l(26),l(352),l(0),l(9),l(4),l(17),l(142),l(140),l(107)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p){y._xhrObj=f._create;var v=y.config;y.objectToQuery=d.objectToQuery,y.queryToObject=d.queryToObject,y.fieldToObject=e.fieldToObject,y.formToObject=e.toObject,y.formToQuery=e.toQuery,y.formToJson=e.toJson,y._blockAsync=!1;var g=y._contentHandlers=y.contentHandlers={text:function(R){return R.responseText},json:function(R){return o.fromJson(R.responseText||null)},"json-comment-filtered":function(R){r.useCommentedJson||console.warn(`Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&
|
||
Use djConfig.useCommentedJson=true to turn off this message.`);var T=R.responseText,S=T.indexOf("/*"),I=T.lastIndexOf("*/");if(S==-1||I==-1)throw new Error("JSON was not comment filtered");return o.fromJson(T.substring(S+2,I))},javascript:function(R){return y.eval(R.responseText)},xml:function(R){var T=R.responseXML;if(T&&m("dom-qsa2.1")&&!T.querySelectorAll&&m("dom-parser")&&(T=new DOMParser().parseFromString(R.responseText,"application/xml")),m("ie")&&(!T||!T.documentElement)){var S=function(B){return"MSXML"+B+".DOMDocument"},I=["Microsoft.XMLDOM",S(6),S(4),S(3),S(2)];i.some(I,function(B){try{var P=new ActiveXObject(B);P.async=!1,P.loadXML(R.responseText),T=P}catch(L){return!1}return!0})}return T},"json-comment-optional":function(R){return R.responseText&&/^[^{\[]*\/\*/.test(R.responseText)?g["json-comment-filtered"](R):g.json(R)}};y._ioSetArgs=function(R,T,S,I){var B={args:R,url:R.url},P=null;if(R.form){var L=n.byId(R.form),O=L.getAttributeNode("action");B.url=B.url||(O?O.value:y.doc?y.doc.URL:null),P=e.toObject(L)}var W={};P&&a.mixin(W,P),R.content&&a.mixin(W,R.content),R.preventCache&&(W["dojo.preventCache"]=new Date().valueOf()),B.query=d.objectToQuery(W),B.handleAs=R.handleAs||"text";var j=new t(function($){$.canceled=!0,T&&T($);var G=$.ioArgs.error;return G||(G=new Error("request cancelled"),G.dojoType="cancel",$.ioArgs.error=G),G});j.addCallback(S);var K=R.load;K&&a.isFunction(K)&&j.addCallback(function($){return K.call(R,$,B)});var H=R.error;H&&a.isFunction(H)&&j.addErrback(function($){return H.call(R,$,B)});var V=R.handle;return V&&a.isFunction(V)&&j.addBoth(function($){return V.call(R,$,B)}),j.addErrback(function($){return I($,j)}),v.ioPublish&&y.publish&&B.args.ioPublish!==!1&&(j.addCallbacks(function($){return y.publish("/dojo/io/load",[j,$]),$},function($){return y.publish("/dojo/io/error",[j,$]),$}),j.addBoth(function($){return y.publish("/dojo/io/done",[j,$]),$})),j.ioArgs=B,j};var E=function(R){var T=g[R.ioArgs.handleAs](R.ioArgs.xhr);return T===void 0?null:T},D=function(R,T){return T.ioArgs.args.failOk||console.error(R),R},F=function(R){w<=0&&(w=0,v.ioPublish&&y.publish&&(!R||R&&R.ioArgs.args.ioPublish!==!1)&&y.publish("/dojo/io/stop"))},w=0;s.after(c,"_onAction",function(){w-=1}),s.after(c,"_onInFlight",F),y._ioCancelAll=c.cancelAll,y._ioNotifyStart=function(R){v.ioPublish&&y.publish&&R.ioArgs.args.ioPublish!==!1&&(w||y.publish("/dojo/io/start"),w+=1,y.publish("/dojo/io/send",[R]))},y._ioWatch=function(R,T,S,I){var B=R.ioArgs.options=R.ioArgs.args;a.mixin(R,{response:R.ioArgs,isValid:function(P){return T(R)},isReady:function(P){return S(R)},handleResponse:function(P){return I(R)}}),c(R),F(R)};var x="application/x-www-form-urlencoded";return y._ioAddQueryToUrl=function(R){R.query.length&&(R.url+=(R.url.indexOf("?")==-1?"?":"&")+R.query,R.query=null)},y.xhr=function(R,T,S){var I,B=y._ioSetArgs(T,function(O){I&&I.cancel()},E,D),P=B.ioArgs;"postData"in T?P.query=T.postData:"putData"in T?P.query=T.putData:"rawBody"in T?P.query=T.rawBody:(arguments.length>2&&!S||"POST|PUT".indexOf(R.toUpperCase())===-1)&&y._ioAddQueryToUrl(P);var L={method:R,handleAs:"text",timeout:T.timeout,withCredentials:T.withCredentials,ioArgs:P};typeof T.headers!="undefined"&&(L.headers=T.headers),typeof T.contentType!="undefined"&&(L.headers||(L.headers={}),L.headers["Content-Type"]=T.contentType),typeof P.query!="undefined"&&(L.data=P.query),typeof T.sync!="undefined"&&(L.sync=T.sync),y._ioNotifyStart(B);try{I=f(P.url,L,!0)}catch(O){return B.cancel(),B}return B.ioArgs.xhr=I.response.xhr,I.then(function(){B.resolve(B)}).otherwise(function(O){P.error=O,O.response&&(O.status=O.response.status,O.responseText=O.response.text,O.xhr=O.response.xhr),B.reject(O)}),B},y.xhrGet=function(R){return y.xhr("GET",R)},y.rawXhrPost=y.xhrPost=function(R){return y.xhr("POST",R,!0)},y.rawXhrPut=y.xhrPut=function(R){return y.xhr("PUT",R,!0)},y.xhrDelete=function(R){return y.xhr("DELETE",R)},y._isDocumentOk=function(R){return p.checkStatus(R.status)},y._getText=function(R){var T;return y.xhrGet({url:R,sync:!0,load:function(S){T=S}}),T},a.mixin(y.xhr,{_xhrObj:y._xhrObj,fieldToObject:e.fieldToObject,formToObject:e.toObject,objectToQuery:d.objectToQuery,formToQuery:e.toQuery,formToJson:e.toJson,queryToObject:d.queryToObject,contentHandlers:g,_ioSetArgs:y._ioSetArgs,_ioCancelAll:y._ioCancelAll,_ioNotifyStart:y._ioNotifyStart,_ioWatch:y._ioWatch,_ioAddQueryToUrl:y._ioAddQueryToUrl,_isDocumentOk:y._isDocumentOk,_getText:y._getText,get:y.xhrGet,post:y.xhrPost,put:y.xhrPut,del:y.xhrDelete}),y.xhr},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({nodeHeight:22,lookAheadNodeBuffer:10});return y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({TEXT_PLAIN:"text/plain",FILES:"Files"});return{dndDefaultTypeEnum:"__mw__dnd__native__default__type",getTypes:function(){return{TEXT:y.TEXT_PLAIN,FILES:y.FILES}},getNativeDataTypes:function(h,d){return d?this.getNativeDataTypesGlobal(h):this.getNativeDataTypesLocal(h)},getNativeDataTypesLocal:function(h){var d=this;return Array.from(h.types).filter(function(n){return(n===y.TEXT_PLAIN||n===y.FILES)&&n!==d.dndDefaultTypeEnum})},getNativeDataTypesGlobal:function(h){var d=this,n=Array.from(h.types);return n.filter(function(e){return e!==d.dndDefaultTypeEnum})},getNativeTextData:function(h){return h.getData("text/plain")},setNativeTextData:function(h,d){h.setData("text/plain",d)},getNativeFileData:function(h){return{items:h.items,files:h.files}},setNativeDataByType:function(h,d,n){h.setData(d,n)},getNativeDataByType:function(h,d){return h.getData(d)},hasFileContent:function(h){for(var d=h.items,n=0;n<d.length;n++){var e=d[n];if(e.kind==="file")return!0}var t=h.types;return t.some(function(r){return r===y.FILES})}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(215)],C=l.dj.d(A,function(y){var m=y.getSystemInfo(),h=m.PLATFORM.toUpperCase(),d=m.BROWSER.toUpperCase(),n=h.includes("WIN"),e=h.includes("MAC"),t=h.includes("MAC"),r=h.includes("MAC")&&d.includes("SAFARI");return Object.freeze({showsNotAllowedPointerOnInvalidDnD:n,supportsAltKeyForCopy:e,notSupportNativeElementAvatarOveride:r,isMac:t})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({dragOverCoordinates:"dragOverCoordinates",dragOver:"dragOver",dragStart:"dragStart",dragEnd:"dragEnd",dragEnter:"dragEnter",dragLeave:"dragLeave",drop:"drop"})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(){function d(){m(this,d),this._events={}}return y(d,[{key:"on",value:function(e,t){var r=this;this._events[e]||(this._events[e]=[]),this._events[e].push(t);var o={};return o.remove=function(){var a=r._events[e].indexOf(t);r._events[e].splice(a,1),o.remove=function(){return null}},o}},{key:"emit",value:function(e,t){var r=this._events[e],o=Object.getOwnPropertyNames(t),a={};a.eventName=e,o.forEach(function(u){a[u]=t[u]});var i=function(s){s&&s.forEach(function(c){c(a)})};i(r)}}]),d}();return h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";return{order:{ASC:"ASC",DESC:"DESC"},compare:{NUMERIC:"NUMERIC",STRING:"STRING"}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(7),l(49)],C=l.dj.d(A,function(y,m){var h=[y.range().setRows(0,1/0).setColumns(0,1/0)],d=function(){return!0},n=function(a){if(isNaN(a)||a<=0)throw new Error("'value' for Nth-type dataSelectorsmust be numeric and a positive number.")},e={node:"node",rangeList:"rangeList",nthRow:"nthRow",nthColumn:"nthColumn",hierarchy:"hierarchy",all:"all"},t=[];t[m.TREE]=[e.node,e.rangeList,e.nthRow,e.nthColumn,e.hierarchy,e.all],t[m.TREETABLE]=[e.rangeList,e.nthRow,e.nthColumn],t[m.TABLE]=[e.rangeList,e.nthRow,e.nthColumn];var r={node:{validator:function(a,i){if(!a.node)throw new Error("Metadata property should contain nodeproperty to set metadata on Tree Nodes")},getRangeList:function(a){return h},makeApplyMetaDataFunction:function(a){return d}},rangeList:{validator:function(a,i){var u=i.value;if(!Array.isArray(u))throw new Error("'rangeList' must be an array");if(a.row&&!u.every(y.isRowRange))throw new Error("Cannot set row meta data on 'non-row' ranges");if(a.column&&!u.every(y.isColumnRange))throw new Error("Cannot set column meta data on 'non-column' ranges")},getRangeList:function(a){var i=a.value;return i},makeApplyMetaDataFunction:function(a){return d}},nthRow:{validator:function(a,i){var u=i.value;if(a.column)throw new Error("Cannot set column meta data on 'non-column' dataSelectors");n(u)},getRangeList:function(a){return h},makeApplyMetaDataFunction:function(a){var i=a.value;return function(u,s){return u%i===0}}},nthColumn:{validator:function(a,i){var u=i.value;if(a.row)throw new Error("Cannot set row meta data on 'non-row' dataSelectors");n(u)},getRangeList:function(a){return h},makeApplyMetaDataFunction:function(a){var i=a.value;return function(u,s){return s%i===0}}},hierarchy:{validator:function(a,i){if(a.column)throw new Error("Error in hierarchy: Cannot set column meta data on hierarchy dataSelector");if(!(typeof i.value=="string"||Array.isArray(i.value)))throw new Error("Error in hierarchy: Node id must be either a string or an array")},getRangeList:function(a){return h},makeApplyMetaDataFunction:function(a){return function(i){return!i.dynamic||typeof i.dynamic.path=="undefined"?!1:Array.isArray(a.value)?i.dynamic.path.some(function(u){return a.value.includes(u)}):i.dynamic.path.includes(a.value)}}},all:{validator:function(a,i){var u=i.value;if(u!==void 0)throw new Error("all dataselector does not take a value")},getRangeList:function(a){return h},makeApplyMetaDataFunction:function(a){return d}}};return{create:function(a,i,u){if(t[u].indexOf(i.type)===-1)throw new Error("The dataSelector type "+i.type+" is not valid for "+u+" DataStore");var s=r[i.type];if(!s)throw new Error("dataSelector type is unknown: "+i.type);s.validator(a,i);var c=!1;(typeof a.cell=="function"||typeof a.row=="function"||typeof a.column=="function")&&(c=!0);var f=s.getRangeList(i),p=s.makeApplyMetaDataFunction(i);return{getDataSelector:function(){return i},getMetaData:function(){return a},isDynamic:c,_getRangeList:function(){return f.slice(0)},_applyMetaDataFunction:p,dataSelector:i}},dataSelectorTypes:e}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(17),l(162),l(498),l(499),l(503),l(163),l(504),l(66),l(164),l(506),l(13),l(509),l(510)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c){var f;return f={reset:function(){var v=[],g=new d,E=new e({faultManager:g}),D=new n({responseManager:E});f.faultManager=g,f.responseManager=E,f.requestManager=D,f._serviceRegistryLookup=c,f._uploadIframeProxyUrlParameters=["?computeToken=","","&routingkey=",""];var F=f.proxyClient=new h;f.createUploadIframeTarget=y.hitch(F,F.createUploadIframeTarget),f.cancelUpload=y.hitch(F,F.cancelUpload),o.setIframeProxyClientForEndPoint(o.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT,F),o.setIframeProxyClientForEndPoint(o.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT,F),t.construct=function(w){return w=w||{},o.getRoutingHost(o.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT)||f.setEndpoint(),w.allowedMessages=v,w.sendMessage=f.sendMessage,w.computeSessionId=f.getComputeSessionId,new r(w)},f.registerEndpointLevelFaultHandler=y.hitch(g,g.registerEndpointLevelFaultHandler),f.sendMessage=y.hitch(D,D.sendMessage),f.sendPayload=a.sendPayload,f.registerDefaultMessageFactory=y.hitch(D,D.registerDefaultMessageFactory),f.deregisterDefaultMessageFactory=y.hitch(D,D.deregisterDefaultMessageFactory),f.registerResponseHandler=y.hitch(E,E.registerResponseHandler),f.deregisterResponseHandler=y.hitch(E,E.deregisterResponseHandler),f.registerFaultHandler=y.hitch(g,g.registerFaultHandler),f.deregisterFaultHandler=y.hitch(g,g.deregisterFaultHandler),f.registerTopLevelFaultHandler=y.hitch(g,g.registerTopLevelFaultHandler),f.deregisterTopLevelFaultHandler=y.hitch(g,g.deregisterTopLevelFaultHandler),f.setServiceEndPoint=function(w,x,R){o.setRoutingHostAndRoutingKey(w,x,R)},f.setDirectXhrCommunicationState=function(w){o._setDirectXhrCommunicationState(w)},f.setServicePathSuffixForEndPoint=function(w,x){o.setPathSuffixForEndPoint(w,x)},f.ignoreTopLevelFault=f.registerTopLevelFaultHandler,f.setComputeToken=function(w){f._uploadIframeProxyUrlParameters[1]=w.computeSessionId,D.computeToken=w},f.setWorkerEndpoint=function(w,x){f._uploadIframeProxyUrlParameters[3]=x,o.setRoutingHostAndRoutingKey(o.getEndPointNames().WORKER_ENDPOINT,w,x)},f.setEndpoint=function(w){if(!w){var x=f._serviceRegistryLookup.getServiceRegistryEndpoint("primary");x?w=x:(u.info("ServiceRegistryLookup is empty, falling back to localhost"),w="/")}if(!w||w==="/"){var R=(document.getElementsByTagName("base")[0]||{}).href;if(R!==void 0){var T=document.createElement("a");T.display="none",T.href=R,w=T.protocol+"//"+T.hostname+(T.port?":"+T.port:"")+"/"}else w=window.location.protocol+"//"+window.location.host+"/"}o.setRoutingHostAndRoutingKey(o.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT,w),o.setRoutingHostAndRoutingKey(o.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT,w),F.setRemotePageHost(w,void 0,void 0,void 0,{withCredentials:o.endPointsCollection[o.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT].withCredentials})},f.setAllowedMessages=function(w){v=w},f.allowAllMessages=function(){v=[]},f.getEndPoint=function(){return o.getRoutingHost(o.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT)},f.getUploadIframeProxyUrl=function(){var w=f.getWorkerRoutingHost(),x=w.slice(-1);return x==="/"&&(w=w.slice(0,-1)),w+F.getUploadIframeProxyUrlPath()+f._uploadIframeProxyUrlParameters.join("")},f.getComputeSessionId=function(){return D.computeToken?D.computeToken.computeSessionId:null},f.getWorkerRoutingHost=function(){var w=o.getRoutingHost(o.getEndPointNames().WORKER_ENDPOINT);if(w)return w;if(w=f._serviceRegistryLookup.getServiceRegistryEndpoint("primary"),!w||w==="/"){var x=(document.getElementsByTagName("base")[0]||{}).href;if(x!==void 0){var R=document.createElement("a");R.display="none",R.href=x,w=R.protocol+"//"+R.hostname+(R.port?":"+R.port:"")+"/"}else w=window.location.protocol+"//"+window.location.host+"/"}return w},f.getWorkerRoutingKey=function(){return o.getRoutingKey(o.getEndPointNames().WORKER_ENDPOINT)},f.upload=function(w,x){return new i().upload(w,x,{endpoint:f.getWorkerRoutingHost(),uploadIframeProxyUrl:f.getUploadIframeProxyUrl()})},f.createWorkerRoutingHostUrl=function(w){return s.createWorkerRoutingHostUrl(w,{host:f.getWorkerRoutingHost(),sessionId:f.getComputeSessionId(),routingKey:f.getWorkerRoutingKey()})},f.getServiceRegistryEndpoint=function(w){return f._serviceRegistryLookup.getServiceRegistryEndpoint(w)},f.enableServerOnWorkerAsync=function(){o.enableEndPoint(o.getEndPointNames().WORKER_ASYNC_ENDPOINT)},f.disableServerOnWorkerAsync=function(){o.disableEndPoint(o.getEndPointNames().WORKER_ASYNC_ENDPOINT)},f.isServerOnWorkerAsyncEnabled=function(){return o.isEndPointEnabled(o.getEndPointNames().WORKER_ASYNC_ENDPOINT)},f.enableServerOnWorker=function(){o.enableEndPoint(o.getEndPointNames().WORKER_ENDPOINT)},f.disableServerOnWorker=function(){o.disableEndPoint(o.getEndPointNames().WORKER_ENDPOINT)},f.isWorkerEndpointEnabled=function(){return o.isEndPointEnabled(o.getEndPointNames().WORKER_ENDPOINT)},f.setWorkerOnlyMessageTypes=function(w){o.setMessageTypesToEndPoint(o.getEndPointNames().WORKER_ENDPOINT,w)},m.after(F,"onError",function(w){w&&g.handleNonTransactionFault(w)},!0),f.createNewEndPoint=function(w,x,R,T,S){var I=this.getEndPointByName(w);I||o.setUpNewEndPoint(w,x,R,T,S)},f.getUrlForEndPoint=function(w){return o.getRemoteUrlForEndPoint(w)},f.getEndPointByName=function(w){return o.getEndPointNames()[w]},f.getEndPointAllowsDirectXhr=function(w){return o.getEndPointAllowsDirectXhr(w)}}},f.reset(),f},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1)],C=l.dj.d(A,function(y){return y([],{constructor:function(m){this.name="",this.context={},this.triggerHandler=m.triggerHandler||function(){},y.safeMixin(this,m)},enable:function(){},disable:function(){}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(266),l(95)],C=l.dj.d(A,function(y,m){"use strict";class h{static isElement(n){return n instanceof window.Element||n instanceof window.HTMLElement}static isSelectorValid(n){return n.substring(0,1)==="."}static observeElementInDom(n){let e,t=document.body.contains(n),r=new Promise(function(a,i){e=a}),o=new window.MutationObserver(function(a){document.body.contains(n)?t=!0:t&&(t=!1,e(n))});return o.observe(document.body,{childList:!0,subtree:!0}),{promise:r,observer:o}}static stopObservingElement(n){n.disconnect()}static generateUuid(){return"xxxxxxxx".replace(/[xy]/g,function(n){let e=Math.random()*16|0;return(n==="x"?e:e&3|8).toString(16)}).toUpperCase()}static _getElementZindex(n){return window.getComputedStyle(n).getPropertyValue("z-index")}static calculateZindex(n){let e=h.getEffectiveZindex(n.referenceNode),t=h._getElementZindex(n);return e==="auto"||t==="auto"||e<t?"auto":e+1}static getEffectiveZindex(n){let e=0,t,r=!0;for(;n&&h.isElement(n);)t=h._getElementZindex(n),t!=="auto"&&(t=parseInt(t,10),t>e&&(r=!1,e=t)),n=n.parentNode;return r?"auto":e}static isPlacementValid(n){return["top","left","bottom","right","auto"].includes(n)}static isTriggerValid(n){return n==="click"||n==="hover"}static isSectionValid(n,e){let t=document.createElement("div");if(t.setAttribute("slot",e),n)switch(typeof n){case"string":return!!n;default:return n.hasChildNodes()||n.textContent||!n.isEqualNode(t)}return!1}static getOppositePlacement(n){return{left:["right","right-start","right-end"],right:["left","left-start","left-end"],bottom:["top","top-start","top-end"],top:["bottom","bottom-start","bottom-end"]}[n]}static getPlacementVariations(n){return[`${n}-start`,`${n}-end`]}static getAltPlacement(n){return{left:["bottom","bottom-start","bottom-end","top","top-start","top-end"],right:["bottom","bottom-start","bottom-end","top","top-start","top-end"],bottom:["right","right-start","right-end","left","left-start","left-end"],top:["right","right-start","right-end","left","left-start","left-end"]}[n]}static getPopperModifiers(n){let e,t=["right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end","top","top-start","top-end"];return n==="auto"?e=t:e=h.getPlacementVariations(n).concat(h.getOppositePlacement(n)).concat(h.getAltPlacement(n)),[{name:"offset",options:{offset:[0,5]}},{name:"preventOverflow",options:{altAxis:!0,padding:20,rootBoundary:"viewport"}},{name:"flip",options:{fallbackPlacements:e,allowedAutoPlacements:t,rootBoundary:"viewport",flipVariations:"true"}},{name:"arrow",options:{padding:5}}]}}return h},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m};A=[l(121)],C=l.dj.d(A,function(m){"use strict";var h=function(){var n=function(a){var i={};if(a!==null&&(typeof a=="undefined"?"undefined":y(a))==="object"&&!Array.isArray(a)){for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(i[u]=a[u]);return i}return a},e=function(a,i){return!!(i&&i.value&&(typeof a=="undefined"?"undefined":y(a))==="object"&&(m.EDITOR in a||m.RENDERER in a))},t=function(a,i,u){var s=a;return e(a,u)&&(i in a||(a[i]=""),s=a[i]),s},r=function(a,i,u,s){var c=i;return e(a,s)?(c=n(a),c[u]=i,{oldValue:a,valueToSave:c}):{oldValue:a,valueToSave:c}};return{getDisplayValue:t,shallowCopy:n,getValueToSave:r}};return h},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({EDITOR:"editorValue",RENDERER:"rendererValue"});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(625),l(2)],C=l.dj.d(A,function(h,d){"use strict";var n=function(){function e(){m(this,e)}return y(e,null,[{key:"appendHighlightDom",value:function(r,o,a){if(this.metaHasHighlightMatches(a)){var i=a.searchHighlight.matches;return this.appendHighlightDomMatches(r,o,i)}else return!1}},{key:"appendHighlightDomMatches",value:function(r,o,a){if(!this._isHighlightMatchesValid(a))return!1;r.setAttribute("data-region",!0);var i=h.getHighlightedTextDOM(o.toString(),a,"mw-table-highlight");return i.forEach(function(u){u.setAttribute&&u.setAttribute("data-region",!0),r.appendChild(u)}),!0}},{key:"appendHighlightDomReact",value:function(r,o,a){if(this.metaHasHighlightMatches(a)){var i=a.searchHighlight.matches;return this.appendHighlightDomMatchesReact(r,o,i)}else return!1}},{key:"appendHighlightDomMatchesReact",value:function(r,o,a){if(!this._isHighlightMatchesValid(a))return!1;r.props["data-test-id"]="highlightText",r.props["data-region"]=!0;var i=h.getHighlightedReact(o.toString(),a,"mw-table-highlight");return r.props.children=i,!0}},{key:"metaHasHighlightMatches",value:function(r){return Boolean(r&&r.searchHighlight&&r.searchHighlight.matches)}},{key:"_isHighlightMatchesValid",value:function(r){return Array.isArray(r)?r.reduce(function(o,a){var i=a.hasOwnProperty("start")&&a.hasOwnProperty("count");return o&&i},!0):!1}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){function y(m,h,d,n){var e=d.style.display;d.style.display="none",m.insertBefore(h,n),setTimeout(function(){d.parentNode&&(d.parentNode.removeChild(d),d.style.display==="none"&&(d.style.display=e))},0)}return{shouldCellUpdate:function(h,d,n,e){if(h.editState!==d.editState||h.focusClass!==d.focusClass||h.renderer!==d.renderer||h.interactiveRenderer!==d.interactiveRenderer||h.editor!==d.editor)return!0;var t=h.cellData.isEqual(d.cellData);return!t},replaceFirstNode:function(h,d,n){y(h,d,n,h.firstChild)},replaceLastNode:function(h,d,n){y(h,d,n,null)},getCellType:function(h){return h.type&&h.type.cellType?h.type.cellType:"TableCell"},getBaseStyle:function(h){return h.type&&h.type.baseStyle?h.type.baseStyle:"mw-table-cell mw-table-cell-background"}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7)],C=l.dj.d(A,function(h){var d=function(){function n(){m(this,n)}return y(n,null,[{key:"addMetadataToCol",value:function(t,r,o,a){var i=[],u=[],s=r.getStateByKey(o);s&&(u=s.value,i=s.rangeList),u.push(a),i.push(h.range().setEntireColumns(t)),r.setState(o,u,i)}},{key:"addMetadataToRow",value:function(t,r,o,a){var i=[],u=[],s=r.getStateByKey(o);s&&(i=s.rangeList,u=s.value),u.push(a),i.push(h.range().setEntireRows(t)),r.setState(o,u,i)}},{key:"addMetadataToRange",value:function(t,r,o,a,i,u,s){var c=[],f=[],p=i.getStateByKey(u);p&&(c=p.rangeList,f=p.value),f.push(s),c.push(h.range().setRows(t,r).setColumns(o,a)),i.setState(u,f,c)}},{key:"getRangeForCell",value:function(t,r){return h.range().setRows(t,t).setColumns(r,r)}},{key:"getRangeForRow",value:function(t){return h.range().setEntireRows(t)}},{key:"getRangeForColumn",value:function(t){return h.range().setEntireColumns(t)}},{key:"getStateForKey",value:function(t,r){var o=t.getStateByKey(r);return o?{rangeList:o.rangeList,value:o.value}:{rangeList:null,value:null}}},{key:"updateDataForCell",value:function(t,r,o,a){r=Number(r),o=Number(o);var i=h.range().setRows(r,r).setColumns(o,o);t.update(i,[[a]])}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(279),l(3)],C=l.dj.d(A,function(y,m){var h=y.mergeEnums({treetable:{treeColumnIndex:"treeColumnIndex",POTENTIAL_ACTIVE_CELL:"potentialNextActiveCell",POTENTIAL_PIVOT:"potentialPivot",SELETION_CLEARED:"selectionCleared",CHECKBOX_TREETABLE:"checkboxTreetable",WIDGET_TYPE:"TreeTable"},protected:{WIDTH_CHANGED:"widthChanged",COLUMN_CONFIG:"colconfig"}},m);return Object.freeze(h)},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h=function(){function n(){m(this,n)}return y(n,null,[{key:"getFirstIndexAfterReorder",value:function(t,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=o.colEndIndex,i=o.colStartIndex,u=a?a-i:0;return t>r?r:r-u}},{key:"getColRangeIndicesForView",value:function(t,r,o,a){if(!r)return{startIndex:t,endIndex:t};var i=t,u=o,s=r.colEndIndex,c=r.colStartIndex,f=s-c||0;return u=u||t+f,o-t<f&&(a===t?i=u-f:u=t+f),{startIndex:i,endIndex:u}}},{key:"isGroupColumn",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.colEndIndex,o=t.colStartIndex;return r&&r-o>0||!1}},{key:"getGroupCellAttribute",value:function(t,r){var o=t.parentId,a=t.colIndex,i=t.startCol,u=t.endCol,s=t.headerIndex;if(!!o){if(a===i)return"group-"+o+"-start";if(a===u)return"group-"+o+"-end";var c=r[s-1],f=r[s+1];return c&&c.parentId!==o?"group-"+o+"-start":f&&f.parentId!==o?"group-"+o+"-end":"group-"+o}}},{key:"cellInsideGroup",value:function(t){if(!(typeof t!="string"||t.length<=0)){var r=t.split("-");return Array.isArray(r)&&r.length===2?"middle":r[2]}}},{key:"headerInsideGroup",value:function(t,r){var o=t.getAttribute("data-col-index");if(!!o){var a=r&&r.column===1;return a?"end":"start"}}},{key:"columnDropValidation",value:function(t,r,o,a,i,u,s,c){t=Number(t);var f=r.targetIndex,p=r.rightTargetIndex,v=r.rightTargetIndex||r.targetIndex,g=(p||f)-t;if(v===c||t<c&&v>c||t>c&&v<c||u&&!u({dataTransferItem:i,target:{type:s,index:v}})||g===0||g===1)return!1;if(o&&o.colEndIndex>=0){var E=n.getColRangeIndicesForView(t,o),D=E.endIndex;if(g>0&&f<=D||(p||f)-D===1)return!1}return a?d(r,a):!0}}]),n}();return h;function d(n,e){var t=n.rightTargetIndex;return!!(e==="start"&&!t||e==="end"&&t)}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(28),l(3),l(42),l(32)],C=l.dj.d(A,function(h,d,n,e){"use strict";var t=function(){function r(){m(this,r),this._dataStore=null,this._viewModel=null,this._defaultType=n.TREETABLE_DEFAULT_TYPE,this.dropInProgress=!1}return y(r,[{key:"setConfig",value:function(a){this._dataStore=a.dataStore,this._viewModel=a.viewModel}},{key:"expandNode",value:function(a){this._dataStore.expand([{id:a.id}])}},{key:"getTreeColumnWidth",value:function(){var a=this._viewModel.getStateByKey(d.protected.TREE_COLUMN_INFO).value;return a.maxWidth||0}},{key:"hasHorizontalScroll",value:function(){var a=this._viewModel.getStateByKey(d.VIEWPORT_CONTAINER).value,i=a.scrollWidth>a.clientWidth;return i}},{key:"getRowMetaDataFn",value:function(){return this._viewModel.getStateByKey(d.protected.ROW_METADATA).value}},{key:"getCurrentRowMetaData",value:function(a){var i={};if(a===null)return i.path=[],i;var u=this.getRowMetaDataFn();return u[0](a)._dataMetaData.metaData}},{key:"getNodeValue",value:function(a){var i=this.getRowMetaDataFn();return i[0](a).value}},{key:"getNodeInfo",value:function(a,i){if(a&&i===h.TREETABLE_ROW){var u=parseInt(a.getAttribute("data-row"));return this.getNodeValue(u)}return{id:null}}},{key:"isInternalDrag",value:function(){var a=this._viewModel.getStateByKey(d.dragInProgress).value,i=a?a.dragItem:null;return!!(i&&i.getDataByType(this._defaultType))}},{key:"getDropTarget",value:function(a){var i=void 0,u=void 0;return a&&a.length>1?(i=a[a.length-2],u={proxyNode:{id:i},type:h.TREETABLE_ROW}):u={proxyNode:{id:null},type:h.TREETABLE},u}},{key:"getOptions",value:function(a,i){var u={};return a===n.REORDER.INSERT_BELOW?u.place="after":a===n.REORDER.INSERT_ABOVE?u.place="before":u.place=i.type==="TREETABLE"?"last":"first",u.node={id:i.proxyNode.id},u}},{key:"handleDataMove",value:function(a,i,u,s){var c=this.getOptions(u,i),f=i;return s&&(f=this.getDropTarget(s)),this.moveData(a,f,c)}},{key:"putData",value:function(a){var i=a.proxyNodes,u=a.currentNodeInfo,s=u.path,c=u.nextSibling,f=u.target,p=u.insertionPosition;switch(p){case n.REORDER.INSERT_AS_CHILD:return this.handleDataMove(i,f,p);case n.REORDER.INSERT_ABOVE:return this.handleDataMove(i,f,p,s);case n.REORDER.INSERT_BELOW:if(e.isNextSiblingItsChild(u)){var v=c.rowNode,g=this.getNodeInfo(v.firstElementChild,f.type),E=this.getCurrentRowMetaData(v.firstElementChild.getAttribute("data-row")).path||[];return f={proxyNode:{id:g.id},type:f.type},this.handleDataMove(i,f,n.REORDER.INSERT_ABOVE,E)}return this.handleDataMove(i,f,p,s)}}},{key:"_isNodeInDragList",value:function(a,i){var u=a.some(function(s){return s===i.id});return u}},{key:"_finishDataUpdate",value:function(a){var i=a.resolve,u=a.movedNodeIds,s=a.failedReasons,c=a.target,f=[],p={type:c.type};c.proxyNode.id!==null&&(p.proxyNode=c.proxyNode),c=p,s.forEach(function(g){var E=e.createProxyNodesWithIds(g.ids);f.push({source:{proxyNodes:E,type:h.TREETABLE_ROW},target:c,error:g.error})});var v=void 0;u.length!==0&&(v={source:{proxyNodes:e.createProxyNodesWithIds(u),type:h.TREETABLE_ROW},target:c}),i({dropSuccessInfo:v,dropFailInfo:f})}},{key:"_saveNodeInfo",value:function(a,i){var u=a.movedNodeIds,s=a.failedReasons,c=a.nodeId,f=a.isSuccess;if(f)u.push(c);else{var p=s.find(function(v){return v.error.reason===i.reason});p||(p={ids:[],error:{reason:i.reason,message:i.message}},s.push(p)),p.ids.push(c)}}},{key:"moveData",value:function(a,i,u){var s=this,c=[],f=[],p=[],v=[],g=e.getIdsFromProxyNodes(a);return new Promise(function(E,D){g.forEach(function(F){var w=s._dataStore.getParentNode({id:F}).then(function(x){var R=x?x.node:{id:null},T=R!==null&&s._isNodeInDragList(g,R);if(!T){var S=s._dataStore.move({id:F},{id:i.proxyNode.id},u).then(s._saveNodeInfo.bind(s,{nodeId:F,isSuccess:!0,movedNodeIds:p,failedReasons:v}),s._saveNodeInfo.bind(s,{nodeId:F,isSuccess:!1,movedNodeIds:p,failedReasons:v}));f.push(S)}});c.push(w)}),Promise.all(c).then(function(){Promise.all(f).then(function(){s._finishDataUpdate({resolve:E,movedNodeIds:p,failedReasons:v,target:i})})})})}}]),r}();return new t},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(80)],C=l.dj.d(A,function(y){"use strict";let m={argumentsLimit:(d,n,e)=>"Expected : ".concat(d," expects ").concat(e," arguments, but ").concat(n.length," arguments were passed"),dataTransfer:()=>"Expected: clipboard.write API should have dataTransfer with at least a mime-type set",emptyDataTransfer:()=>"Expected: clipboard.write API should have dataTransfer with DataTransfer object",clipboardConfig:d=>"Expected: clipboard.".concat(d," expects object")};return{validateArguments(d,n,e){if(d.length<n)throw new Error(m.argumentsLimit(e,d,n))},validateWrite(d){let n="write";if(!d)throw new Error(m.clipboardConfig(n));if(!d.dataTransfer)throw new Error(m.emptyDataTransfer());if(!y.isDataTransferValid(d.dataTransfer))throw new Error(m.dataTransfer());return!0}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(285),l(99),l(22)],C=l.dj.d(A,function(h,d,n){"use strict";var e={enableEdit:!1,topLeftRowHeaderLabel:{}},t={displayIndices:!0},r=3,o=function(u){if(Array.isArray(u.features)){var s=u.features.find(function(c){return c instanceof h});if(s)return t}},a=function(){function i(){m(this,i)}return y(i,null,[{key:"getRowHeaderConfig",value:function(s){var c=o(s);if(!(!c&&!s.rowModel)){var f=Object.assign({},e,c);return s.rowModel&&s.rowModel.rowHeaderConfig?Object.assign({},f,s.rowModel.rowHeaderConfig):f}}},{key:"getLabels",value:function(s,c,f){var p=[],v=f-c+1;if(v>0){p.length=v;for(var g=c;g<=f;g++){var E=s[0](g);if(E&&E.value&&E.value.label!==void 0){var D=E.value.label||"";p[g-c]={label:D,rowIndex:g}}}}return p}},{key:"getHeaderPaddingSize",value:function(){return r}},{key:"getRowHeaderMaxWidth",value:function(){return n.dimensions.MAX_ROW_HEADER_WIDTH}},{key:"getSelectedRows",value:function(s,c,f){for(var p=Math.max(s.rows.start,c.rows.start),v=Math.min(s.rows.end,c.rows.end),g=p;g<=v;g+=1)f.mapping[g]=d.selection.SELECTED}},{key:"getSelectionMap",value:function(s){for(var c=s.metadata,f=c===void 0?{selections:[]}:c,p=s.viewBuffer,v=f.selections,g={count:0,mapping:[]},E=0;E<v.length;E+=1)v[E].rows.start<=p.rows.end&&v[E].rows.end>=p.rows.start&&i.getSelectedRows(v[E],p,g);return function(D){return g.mapping[D]||0}}}]),i}();return a},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(5),l(3),l(28),l(30),l(2)],C=l.dj.d(A,function(y,m,h,d,n){"use strict";var e=function(r){var o=function(c,f,p){r(y.protected.NODE_NOTIFY,{publisherFn:function(){return{node:c,id:f,content:p}},publisherId:m.protected.publisher.CELL_ENTER,noRender:!0})},a=function(c,f,p){if(d.isElementOverflow(c))return o(c,f,p)},i=function(c,f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},g=arguments[4];c=d.getTargetNode(f,c,g,v);var E=v.showTooltip||d.isElementOverflow(c);if(g=g||c,E){if(v.getTooltip){var D=v.getTooltip(p);D&&D.text&&(p=D.text)}return o(g,f,p)}};return n.useEffect(function(){return function(){return u()}},[]),{setTooltip:o,setTooltipWhenOverflow:a,handleMouseOverWithRenderer:i};function u(){r(y.protected.NODE_NOTIFY,{publisherFn:function(){return!0},publisherId:m.publisher.TOOLTIP_DISMISS,noRender:!0})}};return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{isWithinTimeout:function(m,h,d){return Math.abs(m-h)<d},getTimestamp:function(m){return m._softTimestamp?m._softTimestamp:m.timestamp}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{isAncestorNode:function(m,h){for(var d=!1;h;){if(h===m){d=!0;break}h=h.parentNode}return d},addDomListener:function(m,h,d,n){return m.addEventListener(h,d,n),{remove:function(){m.removeEventListener(h,d,n)}}},preventDefault:function(m){m.preventDefault()},stopPropagation:function(m){m.stopPropagation()}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return function(y,m){var h=null,d=function(){n(),h=window.setTimeout(y,m)},n=function(){h&&window.clearTimeout(h),h=null};return{start:d,clear:n}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),m=function e(t,r,o){t===null&&(t=Function.prototype);var a=Object.getOwnPropertyDescriptor(t,r);if(a===void 0){var i=Object.getPrototypeOf(t);return i===null?void 0:e(i,r,o)}else{if("value"in a)return a.value;var u=a.get;return u===void 0?void 0:u.call(o)}};function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(192),l(78),l(123)],C=l.dj.d(A,function(e,t,r){"use strict";var o=function(a){n(i,a);function i(u){h(this,i);var s=d(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,u));return s._handleEditComplete=s._handleEditComplete.bind(s),s._handleDoubleClick=s._handleDoubleClick.bind(s),s._handleMouseEnter=s._handleMouseEnter.bind(s),s}return y(i,[{key:"_handleDoubleClick",value:function(s){var c=this.props,f=c.columnId,p=c.eventCallback,v=c.headerEditor,g=c.scrollNodeIntoView;if(p&&f&&v){var E=this.renderNode.getBoundingClientRect();g.scrollIntoView(E).then(function(D){D.isEditable&&p("enterColEditMode",{columnId:f})})}}},{key:"_handleMouseEnter",value:function(s,c){this.props.colEditState||m(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"_handleMouseEnter",this).call(this,s,c)}},{key:"_handleEditComplete",value:function(s){if(!!this._content){this._handleLeaveEdit();var c=this.props,f=c.columnId,p=c.eventCallback;p&&p("colEditComplete",{newValue:s,columnId:f,oldValue:this.props.name})}}},{key:"_handleMouseEvent",value:function(s,c){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"tableCellClick",p=Number(c.rowIndex),v=Number(c.colIndex);s.button===t.MOUSE_LEFT_BUTTON&&this.props.eventCallback&&this.props.eventCallback(f,{row:p,column:v,meta:s.metaKey,ctrlKey:s.ctrlKey,shiftKey:s.shiftKey,altKey:s.altKey})}},{key:"_handleEditCanceled",value:function(){!this._content||(this._handleLeaveEdit(),this.props.eventCallback&&this.props.eventCallback("leaveColEditMode",{}))}},{key:"_handleLeaveEdit",value:function(){if(this.renderNode){var s=this.renderNode.contains(document.activeElement)||document.activeElement===this._previousActiveElement;this._dismount(),s&&this._previousActiveElement.focus()}}},{key:"_dismount",value:function(){this._listeners.forEach(function(s){s.remove()}),this._listeners=[],this._content.destroy(),this._content=void 0}},{key:"_mountContent",value:function(){var s=this,c=this.renderNode,f=this.props,p=f.headerEditor,v=f.name,g=f.colEditState,E=this.state.headerRenderer,D=void 0,F=[];if(g){c.removeAttribute("data-title");try{D=new p(v,{}),this._content=D,this._previousActiveElement=document.activeElement}catch(w){return E}return F.push(D.on("editComplete",function(w){s._handleEditComplete(w.newValue)})),F.push(D.on("editCanceled",this._handleEditCanceled.bind(this))),this._listeners=F,D}else return E}},{key:"_focusMe",value:function(s){this.renderNode.setAttribute("data-edit",this.props.colEditState||!1),this.props.colEditState&&(this._previousActiveElement=document.activeElement,s.setFocus())}},{key:"componentWillUnmount",value:function(){this.props.colEditState&&this.props.focusClass&&this._handleEditCanceled()}},{key:"componentDidMount",value:function(){var s=this.props,c=s.name,f=s.displayColumnIndexOnly;if(!f){var p=this._mountContent();this.renderNode.appendChild(p.getDomNode(c)),this._focusMe(p)}}},{key:"componentDidUpdate",value:function(s){var c=this.props.name===s.name;if((s.colEditState!==this.props.colEditState||!this.props.colEditState&&!c)&&!this.props.displayColumnIndexOnly){var f=this.props.name,p=this._mountContent(),v=!1;this.renderNode&&(v=this.renderNode.contains(document.activeElement)||document.activeElement===this._previousActiveElement),r.replaceFirstNode(this.renderNode,p.getDomNode(f),this.renderNode.firstChild),v&&this._previousActiveElement&&this._previousActiveElement.focus(),this._focusMe(p)}}},{key:"cellType",get:function(){return"EditableColumnHeader"}},{key:"baseStyle",get:function(){return"mw-table-cell"}}]),i}(e);return o},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(314),l(195),l(102),l(37)],C=l.dj.d(A,function(y,m,h,d){return{__proto__:h,name:"C/C++",blockBegin:{style:null,token:"{"},blockEnd:{style:null,token:"}"},comment:{style:"comment"},setup:function(e){m(e);const t={name:"text/x-c++src"};return e.getMode({},t)},createNodes:function(e){return e.map(t=>{const r=document.createElement("span"),o=t.token,a=t.style;r.setAttribute("scope",t.scope),t.def&&r.setAttribute("def",t.def),t.type&&r.setAttribute("type",t.type),t.define&&r.setAttribute("defid",t.define.id),r.classList.add("cpp"),a===null?(o==="{"||o==="}")&&r.classList.add("br"):r.classList.add(a);const i=t.id;r.setAttribute("id",i),r.setAttribute("name",i),a==="variable"||a==="def"||a==="operator"||a==="number"?r.classList.add("tk"):a==="variable-3"||a==="keyword"||a==="atom"?(r.classList.add("tk"),r.classList.add("kw")):a==="comment"&&(r.classList.add("ct"),t.type==="blk"?r.classList.add("blk"):t.type==="req"?(r.classList.add("req"),r.setAttribute("req_id",t.req_id),r.setAttribute("blockpath",t.blockpath)):t.type==="libblk"&&r.classList.add("libblk")),r.setAttribute("cstyle",a);for(let u=0;u<o.length;u++){const s=document.createElement("c");s.innerText=o[u],r.appendChild(s)}return r})},slHook:function(e,t,r){if(h=this,e.style==="meta")return n(e,t,r);if(e.style==="comment"){h.replaceNonAscii(e);let o=h.detectBlockPath(e);if(o.length>1||(o=h.detectLibBlockPath(e),o.length>1)||(o=h.detectRequirementID(e),o.length>1))return o}return e},createTokenScope:function(e){const t=u=>{const s=u.token,c=s.length;for(let f=0;f<c;f++)if(s[f]!==">")return;return c},r=(u,s,c)=>{let f;for(let p=0;p<c;p++)if(f=u.pop(),!f)return;for(let p=f;p!==s.next;p=p.next)p.template=!0};let o=0,a=[],i=e.firstTk;for(;i;){if(i.scope=o,!i.meta&&i.style===null)i.token==="{"||i.token==="("||i.token==="["?(o++,a=[]):i.token==="}"||i.token===")"||i.token==="]"?(o--,i.scope=o,a=[]):i.token===";"&&(a=[]);else if(i.style==="operator")i.token==="<"?a.push(i):i.token===">"?r(a,i,1):i.token===">>"&&r(a,i,2);else if(i.style==="invalid_operator"){const u=t(i);u&&r(a,i,u)}i=i.next}},detectRequirementID:function(e){const t=/\d+\.\s+\w+.+/;return this.detectPattern(e,t,"req",0)},detectBlockPath:function(e){const t=/'<.+>.*?'/;return this.detectPattern(e,t,"blk",1)},detectLibBlockPath:function(e){const t=/\('.+:\d+'\)/;return this.detectPattern(e,t,"libblk",2)}};function n(e,t,r){const o=/#\s*\w+\s/,a=e.token;if(a.slice(0,8)==="#include")return[e];const i=a.match(o);if(i===null)return[e];const u=i[0],c=i.index+u.length,f={style:"meta",token:u},p=a.slice(c),v=new y(p),g=[f];for(;!v.eol();){const E=t.token(v,r),D={token:v.current(),style:E,meta:!0};g.push(D),v.start=v.pos}return g}},_,M),_.exports=C},function(_,M,l){_.exports=function(A,C,y,m){this.loaderVersion="1.17.1",function(h,d){var n=function(){return typeof g!="undefined"&&typeof g!="function"?g:typeof m!="undefined"?this&&this.dojoConfig&&!m.dojoConfig?this:m:typeof self!="undefined"?self:this}(),e=function(){},t=function(ye){for(var Pe in ye)return 0;return 1},r={}.toString,o=function(ye){return r.call(ye)=="[object Function]"},a=function(ye){return r.call(ye)=="[object String]"},i=function(ye){return r.call(ye)=="[object Array]"},u=function(ye,Pe){if(ye)for(var We=0;We<ye.length;)Pe(ye[We++])},s=function(ye,Pe){for(var We in Pe)ye[We]=Pe[We];return ye},c=function(ye,Pe){return s(new Error(ye),{src:"dojoLoader",info:Pe})},f=1,p=function(){return"_"+f++},v=function(ye,Pe,We){return Vt(ye,Pe,We,0,v)},g=n,E=g.document,D=E&&E.createElement("DiV"),F=v.has=function(ye){return o(w[ye])?w[ye]=w[ye](g,E,D):w[ye]},w=F.cache=d.hasCache;if(o(h)&&(h=h(n)),F.add=function(ye,Pe,We,Ue){return(w[ye]===void 0||Ue)&&(w[ye]=Pe),We&&F(ye)},0)var x,R,T,S;for(var I in h.has)F.add(I,h.has[I],0,1);var B=1,P=2,L=3,O=4,W=5,j=0,K="sync",H="xd",V=[],$=0,G=e,Q=e,J;if(0)var Y,X,S,Z,q;else v.async=1;var ee=function(){};v.eval=function(ye,Pe){return ee(ye+`\r
|
||
//# sourceURL=`+Pe)};var re={},he="error",me=v.signal=function(ye,Pe){var We=re[ye];u(We&&We.slice(0),function(Ue){Ue.apply(null,i(Pe)?Pe:[Pe])})},se=v.on=function(ye,Pe){var We=re[ye]||(re[ye]=[]);return We.push(Pe),{remove:function(){for(var Ue=0;Ue<We.length;Ue++)if(We[Ue]===Pe){We.splice(Ue,1);return}}}},te=[],oe={},ue=[],ce={},ve=v.map={},Se=[],Be={},ke="",Ge={},rt="url:",ut={},ht={},dt=0;if(!1)var Tt;var Ot=function(ye){return ye.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(Pe){return"\\"+Pe})},Ct=function(ye,Pe){Pe.splice(0,Pe.length);for(var We in ye)Pe.push([We,ye[We],new RegExp("^"+Ot(We)+"(/|$)"),We.length]);return Pe.sort(function(Ue,gt){return gt[3]-Ue[3]}),Pe},jt=function(ye,Pe){u(ye,function(We){Pe.push([a(We[0])?new RegExp("^"+Ot(We[0])+"$"):We[0],We[1]])})},Lt=function(ye){var Pe=ye.name;Pe||(Pe=ye,ye={name:Pe}),ye=s({main:"main"},ye),ye.location=ye.location?ye.location:Pe,ye.packageMap&&(ve[Pe]=ye.packageMap),ye.main.indexOf("./")||(ye.main=ye.main.substring(2)),ce[Pe]=ye},Qt=[],bt=function(ye,Pe,We){for(var Ue in ye){if(Ue=="waitSeconds"&&(v.waitms=(ye[Ue]||0)*1e3),Ue=="cacheBust"&&(ke=ye[Ue]?a(ye[Ue])?ye[Ue]:new Date().getTime()+"":""),(Ue=="baseUrl"||Ue=="combo")&&(v[Ue]=ye[Ue]),!1)var gt;ye[Ue]!==w&&(v.rawConfig[Ue]=ye[Ue],Ue!="has"&&F.add("config-"+Ue,ye[Ue],0,Pe))}v.baseUrl||(v.baseUrl="./"),/\/$/.test(v.baseUrl)||(v.baseUrl+="/");for(Ue in ye.has)F.add(Ue,ye.has[Ue],0,Pe);u(ye.packages,Lt);for(var mt in ye.packagePaths)u(ye.packagePaths[mt],function(yt){var St=mt+"/"+yt;a(yt)&&(yt={name:yt}),yt.location=St,Lt(yt)});if(Ct(s(ve,ye.map),Se),u(Se,function(yt){yt[1]=Ct(yt[1],[]),yt[0]=="*"&&(Se.star=yt)}),Ct(s(oe,ye.paths),ue),jt(ye.aliases,te),!1)var Wt;me("config",[ye,v.rawConfig])};if(!1)var pt,S,Bt,kt,sn,st;if(0)var At;if(v.rawConfig={},bt(d,1),bt(h,1),bt(ht,1),!1)var Ut,Vt,le,De,ie,ge,Ae,we,Ne,He,tt,Xe;var it=function(ye,Pe){if(Pe){for(var We=0;We<Pe.length;We++)if(Pe[We][2].test(ye))return Pe[We]}return 0},Nt=function(ye){var Pe=[],We,Ue;for(ye=ye.replace(/\\/g,"/").split("/");ye.length;)We=ye.shift(),We==".."&&Pe.length&&Ue!=".."?(Pe.pop(),Ue=Pe[Pe.length-1]):We!="."&&Pe.push(Ue=We);return Pe.join("/")},fn=function(ye,Pe,We,Ue){if(0)var gt;else return{pid:ye,mid:Pe,pack:We,url:Ue,executed:0,def:0}},Gt=function(ye,Pe,We,Ue,gt,mt,Wt,yt,St,Ht){var Kt,Ft,hn,Rt,Jt,Zt,qt,en;if(en=ye,qt=/^\./.test(ye),/(^\/)|(\:)|(\.js$)/.test(ye)||qt&&!Pe)return fn(0,ye,0,ye);if(ye=Nt(qt?Pe.mid+"/../"+ye:ye),/^\./.test(ye))throw c("irrationalPath",ye);!Ht&&!qt&&mt.star&&(Rt=it(ye,mt.star[1])),!Rt&&Pe&&(Rt=it(Pe.mid,mt),Rt=Rt&&it(ye,Rt[1])),Rt&&(ye=Rt[1]+ye.substring(Rt[3])),st=ye.match(/^([^\/]+)(\/(.+))?$/),Kt=st?st[1]:"",(Ft=We[Kt])?ye=Kt+"/"+(hn=st[3]||Ft.main):Kt="";var vn=0,Cn=0;return u(yt,function(Mt){var $t=ye.match(Mt[0]);$t&&$t.length>vn&&(Cn=o(Mt[1])?ye.replace(Mt[0],Mt[1]):Mt[1])}),Cn?Gt(Cn,0,We,Ue,gt,mt,Wt,yt,St):(Zt=Ue[ye],Zt?St?fn(Zt.pid,Zt.mid,Zt.pack,Zt.url):Ue[ye]:(Rt=it(ye,Wt),Rt?Jt=Rt[1]+ye.substring(Rt[3]):Kt?Jt=(Ft.location.slice(-1)==="/"?Ft.location.slice(0,-1):Ft.location)+"/"+hn:Jt=ye,/(^\/)|(\:)/.test(Jt)||(Jt=gt+Jt),Jt+=".js",fn(Kt,ye,Ft,Nt(Jt))))},ln=function(ye,Pe,We){return Gt(ye,Pe,ce,Be,v.baseUrl,Se,ue,te,void 0,We)};if(!1)var Gn,Nr,ri;var ii=v.toAbsMid=function(ye,Pe){return ln(ye,Pe).mid},xr=v.toUrl=function(ye,Pe){var We=ln(ye+"/x",Pe),Ue=We.url;return pe(We.pid===0?ye:Ue.substring(0,Ue.length-5))};if(!1)var oi,Ln,ai,hr,kn,ui,Xn,Wn,bn,vr,si,Br,li,Vi,ci,di;var pe=typeof h.fixupUrl=="function"?h.fixupUrl:function(ye){return ye+="",ye+(ke?(/\?/.test(ye)?"&":"?")+ke:"")};if(!1)var fe,Ee,Re,Ie,je,Ke,Le,ze;var Ze=0,$e=e,ft=e;if(!1)var pt,S,Bt,_t,Qe;if(v.log=e,0)var Je;else v.trace=e;if(!1)var lt;else var lt=e;if(s(s(v,d.loaderPatch),h.loaderPatch),se(he,function(ye){try{if(console.error(ye),ye instanceof Error){for(var Pe in ye)console.log(Pe+":",ye[Pe]);console.log(".")}}catch(We){}}),s(v,{uid:p,cache:Ge,packs:ce}),!g.define){if(g.define=lt,g.require=v,!1)var qe,Dt;if(!1)var Et,wt}}.call(this,A,C)}},function(_,M,l){var A,C;A=[l(0)],C=l.dj.d(A,function(y){return function(m,h,d,n){d=d||Error;var e=function(t){if(d===Error){Error.captureStackTrace&&Error.captureStackTrace(this,e);var r=Error.call(this,t),o;for(o in r)r.hasOwnProperty(o)&&(this[o]=r[o]);this.message=t,this.stack=r.stack}else d.apply(this,arguments);h&&h.apply(this,arguments)};return e.prototype=y.delegate(d.prototype,n),e.prototype.name=m,e.prototype.constructor=e,e}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(55),l(54),l(4),l(72)],C=l.dj.d(A,function(y,m,h,d){function n(r){if((r.keyCode===y.ENTER||r.keyCode===y.SPACE)&&!/input|button|textarea/i.test(r.target.nodeName)){for(var o=r.target;o;o=o.parentNode)if(o.dojoClick)return!0}}var e;h(document,"keydown",function(r){n(r)?(e=r.target,r.preventDefault()):e=null}),h(document,"keyup",function(r){n(r)&&r.target==e&&(e=null,h.emit(r.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:r.ctrlKey,shiftKey:r.shiftKey,metaKey:r.metaKey,altKey:r.altKey,_origType:r.type}))});var t=function(r,o){return r.dojoClick=!0,h(r,"click",o)};return t.click=t,t.press=function(r,o){var a=h(r,d.press,function(u){u.type=="mousedown"&&!m.isLeft(u)||o(u)}),i=h(r,"keydown",function(u){(u.keyCode===y.ENTER||u.keyCode===y.SPACE)&&o(u)});return{remove:function(){a.remove(),i.remove()}}},t.release=function(r,o){var a=h(r,d.release,function(u){u.type=="mouseup"&&!m.isLeft(u)||o(u)}),i=h(r,"keyup",function(u){(u.keyCode===y.ENTER||u.keyCode===y.SPACE)&&o(u)});return{remove:function(){a.remove(),i.remove()}}},t.move=d.move,t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(17),l(1),l(12),l(34),l(11),l(10),l(60),l(0),l(4),l(43),l(18),l(196),l(21),l(45),l(106),l(35),l(44)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p,v){var g,E,D=m([u,t],{curNode:null,activeStack:[],constructor:function(){var x=r.hitch(this,function(R){h.isDescendant(this.curNode,R)&&this.set("curNode",null),h.isDescendant(this.prevNode,R)&&this.set("prevNode",null)});y.before(e,"empty",x),y.before(e,"destroy",x)},registerIframe:function(x){return this.registerWin(x.contentWindow,x)},registerWin:function(x,R){var T=this,S=x.document&&x.document.body;if(S){var I=i("pointer-events")?"pointerdown":i("MSPointer")?"MSPointerDown":i("touch-events")?"mousedown, touchstart":"mousedown",B=o(x.document,I,function(O){O&&O.target&&O.target.parentNode==null||T._onTouchNode(R||O.target,"mouse")}),P=o(S,"focusin",function(O){if(!!O.target.tagName){var W=O.target.tagName.toLowerCase();W=="#document"||W=="body"||(f.isFocusable(O.target)?T._onFocusNode(R||O.target):T._onTouchNode(R||O.target))}}),L=o(S,"focusout",function(O){T._onBlurNode(R||O.target)});return{remove:function(){B.remove(),P.remove(),L.remove(),B=P=L=null,S=null}}}},_onBlurNode:function(x){var R=new Date().getTime();R<g+100||(this._clearFocusTimer&&clearTimeout(this._clearFocusTimer),this._clearFocusTimer=setTimeout(r.hitch(this,function(){this.set("prevNode",this.curNode),this.set("curNode",null)}),0),this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),!(R<E+100)&&(this._clearActiveWidgetsTimer=setTimeout(r.hitch(this,function(){delete this._clearActiveWidgetsTimer,this._setStack([])}),0)))},_onTouchNode:function(x,R){E=new Date().getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),n.contains(x,"dijitPopup")&&(x=x.firstChild);var T=[];try{for(;x;){var S=d.get(x,"dijitPopupParent");if(S)x=p.byId(S).domNode;else if(x.tagName&&x.tagName.toLowerCase()=="body"){if(x===s.body())break;x=c.get(x.ownerDocument).frameElement}else{var I=x.getAttribute&&x.getAttribute("widgetId"),B=I&&p.byId(I);B&&!(R=="mouse"&&B.get("disabled"))&&T.unshift(I),x=x.parentNode}}}catch(P){}this._setStack(T,R)},_onFocusNode:function(x){!x||x.nodeType!=9&&(g=new Date().getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(x),x!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",x)))},_setStack:function(x,R){var T=this.activeStack,S=T.length-1,I=x.length-1;if(x[I]!=T[S]){this.set("activeStack",x);var B,P;for(P=S;P>=0&&T[P]!=x[P];P--)B=p.byId(T[P]),B&&(B._hasBeenBlurred=!0,B.set("focused",!1),B._focusManager==this&&B._onBlur(R),this.emit("widget-blur",B,R));for(P++;P<=I;P++)B=p.byId(x[P]),B&&(B.set("focused",!0),B._focusManager==this&&B._onFocus(R),this.emit("widget-focus",B,R))}},focus:function(x){if(x)try{x.focus()}catch(R){}}}),F=new D;a(function(){var x=F.registerWin(c.get(document));i("ie")&&o(window,"unload",function(){x&&(x.remove(),x=null)})}),v.focus=function(x){F.focus(x)};for(var w in F)/^_/.test(w)||(v.focus[w]=typeof F[w]=="function"?r.hitch(F,w):F[w]);return F.watch(function(x,R,T){v.focus[x]=T}),F},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(141),l(142),l(340),l(107),l(8)],C=l.dj.d(A,function(y,m,h,d,n){n.add("native-xhr",function(){return typeof XMLHttpRequest!="undefined"}),n.add("dojo-force-activex-xhr",function(){return n("activex")&&window.location.protocol==="file:"}),n.add("native-xhr2",function(){if(!(!n("native-xhr")||n("dojo-force-activex-xhr"))){var p=new XMLHttpRequest;return typeof p.addEventListener!="undefined"&&(typeof opera=="undefined"||typeof p.upload!="undefined")}}),n.add("native-formdata",function(){return typeof FormData!="undefined"}),n.add("native-blob",function(){return typeof Blob!="undefined"}),n.add("native-arraybuffer",function(){return typeof ArrayBuffer!="undefined"}),n.add("native-response-type",function(){return n("native-xhr")&&typeof new XMLHttpRequest().responseType!="undefined"}),n.add("native-xhr2-blob",function(){if(!!n("native-response-type"))return!0});var e={blob:n("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"};function t(p,v){var g=p.xhr;p.status=p.xhr.status;try{p.text=g.responseText}catch(D){}p.options.handleAs==="xml"&&(p.data=g.responseXML);var E;if(v)this.reject(v);else{try{h(p)}catch(D){E=D}d.checkStatus(g.status)?E?this.reject(E):this.resolve(p):E?(v=new y("Unable to load "+p.url+" status: "+g.status+" and an error in handleAs: transformation of response",p),this.reject(v)):(v=new y("Unable to load "+p.url+" status: "+g.status,p),this.reject(v))}}var r,o,a,i;n("native-xhr2")?(r=function(p){return!this.isFulfilled()},i=function(p,v){v.xhr.abort()},a=function(p,v,g,E){function D(T){v.handleResponse(g)}function F(T){var S=T.target,I=new y("Unable to load "+g.url+" status: "+S.status,g);v.handleResponse(g,I)}function w(T,S){g.transferType=T,S.lengthComputable?(g.loaded=S.loaded,g.total=S.total,v.progress(g)):g.xhr.readyState===3&&(g.loaded="loaded"in S?S.loaded:S.position,v.progress(g))}function x(T){return w("download",T)}function R(T){return w("upload",T)}return p.addEventListener("load",D,!1),p.addEventListener("error",F,!1),p.addEventListener("progress",x,!1),E&&p.upload&&p.upload.addEventListener("progress",R,!1),function(){p.removeEventListener("load",D,!1),p.removeEventListener("error",F,!1),p.removeEventListener("progress",x,!1),p.upload.removeEventListener("progress",R,!1),p=null}}):(r=function(p){return p.xhr.readyState},o=function(p){return p.xhr.readyState===4},i=function(p,v){var g=v.xhr,E=typeof g.abort;(E==="function"||E==="object"||E==="unknown")&&g.abort()});function u(p){return this.xhr.getResponseHeader(p)}var s,c={data:null,query:null,sync:!1,method:"GET"};function f(p,v,g){var E=n("native-formdata")&&v&&v.data&&v.data instanceof FormData,D=d.parseArgs(p,d.deepCreate(c,v),E);p=D.url,v=D.options;var F=!v.data&&v.method!=="POST"&&v.method!=="PUT";n("ie")<=10&&(p=p.split("#")[0]);var w,x=function(){w&&w()},R=d.deferred(D,i,r,o,t,x),T=D.xhr=f._create();if(!T)return R.cancel(new y("XHR was not created")),g?R:R.promise;D.getHeader=u,a&&(w=a(T,R,D,v.uploadProgress));var S=typeof v.data=="undefined"?null:v.data,I=!v.sync,B=v.method;try{T.open(B,p,I,v.user||s,v.password||s),v.withCredentials&&(T.withCredentials=v.withCredentials),n("native-response-type")&&v.handleAs in e&&(T.responseType=e[v.handleAs]);var P=v.headers,L=E||F?!1:"application/x-www-form-urlencoded";if(P)for(var O in P)O.toLowerCase()==="content-type"?L=P[O]:P[O]&&T.setRequestHeader(O,P[O]);L&&L!==!1&&T.setRequestHeader("Content-Type",L),(!P||!("X-Requested-With"in P))&&T.setRequestHeader("X-Requested-With","XMLHttpRequest"),d.notify&&d.notify.emit("send",D,R.promise.cancel),T.send(S)}catch(W){R.reject(W)}return m(R),T=null,g?R:R.promise}if(f._create=function(){throw new Error("XMLHTTP not available")},n("native-xhr")&&!n("dojo-force-activex-xhr"))f._create=function(){return new XMLHttpRequest};else if(n("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),f._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(p){try{new ActiveXObject("Microsoft.XMLHTTP"),f._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(v){}}return d.addCommonMethods(f),f},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(137)],C=l.dj.d(A,function(y){return y("RequestError",function(m,h){this.response=h})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(107),l(339),l(104),l(9),l(21),l.dj.h("dom-addeventlistener?:4")],C=l.dj.d(A,function(y,m,h,d,n,e){var t=null,r=[];function o(){for(var i=+new Date,u=0,s;u<r.length&&(s=r[u]);u++){var c=s.response,f=c.options;s.isCanceled&&s.isCanceled()||s.isValid&&!s.isValid(c)?(r.splice(u--,1),a._onAction&&a._onAction()):s.isReady&&s.isReady(c)?(r.splice(u--,1),s.handleResponse(c),a._onAction&&a._onAction()):s.startTime&&s.startTime+(f.timeout||0)<i&&(r.splice(u--,1),s.cancel(new m("Timeout exceeded",c)),a._onAction&&a._onAction())}a._onInFlight&&a._onInFlight(s),r.length||(clearInterval(t),t=null)}function a(i){i.response.options.timeout&&(i.startTime=+new Date),!i.isFulfilled()&&(r.push(i),t||(t=setInterval(o,50)),i.response.options.sync&&o())}return a.cancelAll=function(){try{d.forEach(r,function(u){try{u.cancel(new h("All requests canceled."))}catch(s){}})}catch(u){}},n&&e&&n.doc.attachEvent&&e(n.global,"unload",function(){a.cancelAll()}),a},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(11),l(24),l(14),l(0)],C=l.dj.d(A,function(y,m,h,d,n){function e(o){return o.substring(0,1).toUpperCase()+o.substring(1)}function t(o,a){var i=o.resize?o.resize(a):h.setMarginBox(o.domNode,a);i?n.mixin(o,i):(n.mixin(o,h.getMarginBox(o.domNode)),n.mixin(o,a))}var r={marginBox2contentBox:function(o,a){var i=d.getComputedStyle(o),u=h.getMarginExtents(o,i),s=h.getPadBorderExtents(o,i);return{l:d.toPixelValue(o,i.paddingLeft),t:d.toPixelValue(o,i.paddingTop),w:a.w-(u.w+s.w),h:a.h-(u.h+s.h)}},layoutChildren:function(o,a,i,u,s){a=n.mixin({},a),m.add(o,"dijitLayoutContainer"),i=y.filter(i,function(c){return c.region!="center"&&c.layoutAlign!="client"}).concat(y.filter(i,function(c){return c.region=="center"||c.layoutAlign=="client"})),y.forEach(i,function(c){var f=c.domNode,p=c.region||c.layoutAlign;if(!p)throw new Error("No region setting for "+c.id);var v=f.style;v.left=a.l+"px",v.top=a.t+"px",v.position="absolute",m.add(f,"dijitAlign"+e(p));var g={};u&&u==c.id&&(g[c.region=="top"||c.region=="bottom"?"h":"w"]=s),p=="leading"&&(p=c.isLeftToRight()?"left":"right"),p=="trailing"&&(p=c.isLeftToRight()?"right":"left"),p=="top"||p=="bottom"?(g.w=a.w,t(c,g),a.h-=c.h,p=="top"?a.t+=c.h:v.top=a.t+a.h+"px"):p=="left"||p=="right"?(g.h=a.h,t(c,g),a.w-=c.w,p=="left"?a.l+=c.w:v.left=a.l+a.w+"px"):(p=="client"||p=="center")&&t(c,a)})}};return n.setObject("dijit.layout.utils",r),r},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(0),l(9),l(1),l(12),l(10),l(145)],C=l.dj.d(A,function(y,m,h,d,n,e,t){var r=0,o={_secureForInnerHtml:function(a){return a.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"")},_emptyNode:e.empty,_setNodeContent:function(a,i){if(e.empty(a),i)if(typeof i=="number"&&(i=i.toString()),typeof i=="string"&&(i=e.toDom(i,a.ownerDocument)),!i.nodeType&&m.isArrayLike(i))for(var u=i.length,s=0;s<i.length;s=u==i.length?s+1:0)e.place(i[s],a,"last");else e.place(i,a,"last");return a},_ContentSetter:d("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:!1,extractContent:!1,parseContent:!1,parserScope:y._scopeName,startup:!0,constructor:function(a,i){m.mixin(this,a||{}),i=this.node=n.byId(this.node||i),this.id||(this.id=["Setter",i?i.id||i.tagName:"",r++].join("_"))},set:function(a,i){a!==void 0&&(this.content=a),typeof a=="number"&&(a=a.toString()),i&&this._mixin(i),this.onBegin(),this.setContent();var u=this.onEnd();return u&&u.then?u:this.node},setContent:function(){var a=this.node;if(!a)throw new Error(this.declaredClass+": setContent given no node");try{a=o._setNodeContent(a,this.content)}catch(u){var i=this.onContentError(u);try{a.innerHTML=i}catch(s){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+s.message,s)}}this.node=a},empty:function(){this.parseDeferred&&(this.parseDeferred.isResolved()||this.parseDeferred.cancel(),delete this.parseDeferred),this.parseResults&&this.parseResults.length&&(h.forEach(this.parseResults,function(a){a.destroy&&a.destroy()}),delete this.parseResults),e.empty(this.node)},onBegin:function(){var a=this.content;if(m.isString(a)&&(this.cleanContent&&(a=o._secureForInnerHtml(a)),this.extractContent)){var i=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);i&&(a=i[1])}return this.empty(),this.content=a,this.node},onEnd:function(){return this.parseContent&&this._parse(),this.node},tearDown:function(){delete this.parseResults,delete this.parseDeferred,delete this.node,delete this.content},onContentError:function(a){return"Error occurred setting content: "+a},onExecError:function(a){return"Error occurred executing scripts: "+a},_mixin:function(a){var i={},u;for(u in a)u in i||(this[u]=a[u])},_parse:function(){var a=this.node;try{var i={};h.forEach(["dir","lang","textDir"],function(s){this[s]&&(i[s]=this[s])},this);var u=this;this.parseDeferred=t.parse({rootNode:a,noStart:!this.startup,inherited:i,scope:this.parserScope}).then(function(s){return u.parseResults=s},function(s){u._onError("Content",s,"Error parsing in _ContentSetter#"+u.id)})}catch(s){this._onError("Content",s,"Error parsing in _ContentSetter#"+this.id)}},_onError:function(a,i,u){var s=this["on"+a+"Error"].call(this,i);u?console.error(u,i):s&&o._setNodeContent(this.node,s,!0)}}),set:function(a,i,u){if(i==null&&(console.warn("dojo.html.set: no cont argument provided, using empty string"),i=""),typeof i=="number"&&(i=i.toString()),u){var s=new o._ContentSetter(m.mixin(u,{content:i,node:a}));return s.set()}else return o._setNodeContent(a,i,!0)}};return m.setObject("dojo.html",o),o},_,M),_.exports=C},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,require;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__.dj.c(module.i),__webpack_require__(6),__webpack_require__(0),__webpack_require__(9),__webpack_require__(26),__webpack_require__(12),__webpack_require__(21),__webpack_require__(345),__webpack_require__(17),__webpack_require__(89),__webpack_require__(346),__webpack_require__(20),__webpack_require__(8),__webpack_require__(347),__webpack_require__(36),__webpack_require__(4),__webpack_require__(73)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(require,dojo,dlang,darray,config,dom,dwindow,_Url,aspect,all,dates,Deferred,has,json5,query,don,ready){new Date("X");var myEval;has("csp-restrictions")?myEval=json5.parse:myEval=function(text){return eval("("+text+")")};var extendCnt=0;aspect.after(dlang,"extend",function(){extendCnt++},!0);function getNameMap(_){var M=_._nameCaseMap,l=_.prototype;if(!M||M._extendCnt<extendCnt){M=_._nameCaseMap={};for(var A in l)A.charAt(0)!=="_"&&(M[A.toLowerCase()]=A);M._extendCnt=extendCnt}return M}function getCtor(_,M){M||(M=require);var l=M._dojoParserCtorMap||(M._dojoParserCtorMap={}),A=_.join();if(!l[A]){for(var C=[],y=0,m=_.length;y<m;y++){var h=_[y];C[C.length]=l[h]=l[h]||dlang.getObject(h)||~h.indexOf("/")&&M(h)}var d=C.shift();l[A]=C.length?d.createSubclass?d.createSubclass(C):d.extend.apply(d,C):d}return l[A]}var parser={_clearCache:function(){extendCnt++,_ctorMap={}},_functionFromScript:function(_,M){var l="",A="",C=_.getAttribute(M+"args")||_.getAttribute("args"),y=_.getAttribute("with"),m=(C||"").split(/\s*,\s*/);return y&&y.length&&darray.forEach(y.split(/\s*,\s*/),function(h){l+="with("+h+"){",A+="}"}),new Function(m,l+_.innerHTML+A)},instantiate:function(_,M,l){M=M||{},l=l||{};var A=(l.scope||dojo._scopeName)+"Type",C="data-"+(l.scope||dojo._scopeName)+"-",y=C+"type",m=C+"mixins",h=[];return darray.forEach(_,function(d){var n=A in M?M[A]:d.getAttribute(y)||d.getAttribute(A);if(n){var e=d.getAttribute(m),t=e?[n].concat(e.split(/\s*,\s*/)):[n];h.push({node:d,types:t})}}),this._instantiate(h,M,l)},_instantiate:function(_,M,l,A){var C=darray.map(_,function(m){var h=m.ctor||getCtor(m.types,l.contextRequire);if(!h)throw new Error("Unable to resolve constructor for: '"+m.types.join()+"'");return this.construct(h,m.node,M,l,m.scripts,m.inherited)},this);function y(m){return!M._started&&!l.noStart&&darray.forEach(m,function(h){typeof h.startup=="function"&&!h._started&&h.startup()}),m}return A?all(C).then(y):y(C)},construct:function(_,M,l,A,C,y){var m=_&&_.prototype;A=A||{};var h={};A.defaults&&dlang.mixin(h,A.defaults),y&&dlang.mixin(h,y);var d;if(has("dom-attributes-explicit"))d=M.attributes;else if(has("dom-attributes-specified-flag"))d=darray.filter(M.attributes,function(V){return V.specified});else{var n=/^input$|^img$/i.test(M.nodeName)?M:M.cloneNode(!1),e=n.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");d=darray.map(e.split(/\s+/),function(V){var $=V.toLowerCase();return{name:V,value:M.nodeName=="LI"&&V=="value"||$=="enctype"?M.getAttribute($):M.getAttributeNode($).value}})}var t=A.scope||dojo._scopeName,r="data-"+t+"-",o={};t!=="dojo"&&(o[r+"props"]="data-dojo-props",o[r+"type"]="data-dojo-type",o[r+"mixins"]="data-dojo-mixins",o[t+"type"]="dojotype",o[r+"id"]="data-dojo-id");for(var a=0,i,u=[],s,c;i=d[a++];){var f=i.name,p=f.toLowerCase(),v=i.value;switch(o[p]||p){case"data-dojo-type":case"dojotype":case"data-dojo-mixins":break;case"data-dojo-props":c=v;break;case"data-dojo-id":case"jsid":s=v;break;case"data-dojo-attach-point":case"dojoattachpoint":h.dojoAttachPoint=v;break;case"data-dojo-attach-event":case"dojoattachevent":h.dojoAttachEvent=v;break;case"class":h.class=M.className;break;case"style":h.style=M.style&&M.style.cssText;break;default:if(!(f in m)){var g=getNameMap(_);f=g[p]||f}if(f in m)switch(typeof m[f]){case"string":h[f]=v;break;case"number":h[f]=v.length?Number(v):NaN;break;case"boolean":h[f]=v.toLowerCase()!="false";break;case"function":v===""||v.search(/[^\w\.]+/i)!=-1?h[f]=new Function(v):h[f]=dlang.getObject(v,!1)||new Function(v),u.push(f);break;default:var E=m[f];try{h[f]=E&&"length"in E?v?v.split(/\s*,\s*/):[]:E instanceof Date?v==""?new Date(""):v=="now"?new Date:dates.fromISOString(v):E instanceof _Url?dojo.baseUrl+v:myEval(v)}catch(V){console.error(V)}}else h[f]=v}}for(var D=0;D<u.length;D++){var F=u[D].toLowerCase();M.removeAttribute(F),M[F]=null}if(c)try{c=myEval.call(A.propsThis,"{"+c+"}"),dlang.mixin(h,c)}catch(V){throw new Error(V.toString()+" in data-dojo-props='"+c+"'")}dlang.mixin(h,l),C||(C=_&&(_._noScript||m._noScript)?[]:query("> script[type^='dojo/']",M));var w=[],x=[],R=[],T=[];if(C)for(a=0;a<C.length;a++){var S=C[a];M.removeChild(S);var I=S.getAttribute(r+"event")||S.getAttribute("event"),B=S.getAttribute(r+"prop"),P=S.getAttribute(r+"method"),L=S.getAttribute(r+"advice"),O=S.getAttribute("type"),W=this._functionFromScript(S,r);I?O=="dojo/connect"?w.push({method:I,func:W}):O=="dojo/on"?T.push({event:I,func:W}):h[I]=W:O=="dojo/aspect"?w.push({method:P,advice:L,func:W}):O=="dojo/watch"?R.push({prop:B,func:W}):x.push(W)}var j=_.markupFactory||m.markupFactory,K=j?j(h,M,_):new _(h,M);function H(V){for(s&&dlang.setObject(s,V),a=0;a<w.length;a++)aspect[w[a].advice||"after"](V,w[a].method,dlang.hitch(V,w[a].func),!0);for(a=0;a<x.length;a++)x[a].call(V);for(a=0;a<R.length;a++)V.watch(R[a].prop,R[a].func);for(a=0;a<T.length;a++)don(V,T[a].event,T[a].func);return V}return K.then?K.then(H):H(K)},scan:function(_,M){var l=[],A=[],C={},y=(M.scope||dojo._scopeName)+"Type",m="data-"+(M.scope||dojo._scopeName)+"-",h=m+"type",d=m+"textdir",n=m+"mixins",e=_.firstChild,t=M.inherited;if(!t){var r=function x(R,T){return R.getAttribute&&R.getAttribute(T)||R.parentNode&&x(R.parentNode,T)};t={dir:r(_,"dir"),lang:r(_,"lang"),textDir:r(_,d)};for(var o in t)t[o]||delete t[o]}var a={inherited:t},i,u;function s(x){if(!x.inherited){x.inherited={};var R=x.node,T=s(x.parent),S={dir:R.getAttribute("dir")||T.dir,lang:R.getAttribute("lang")||T.lang,textDir:R.getAttribute(d)||T.textDir};for(var I in S)S[I]&&(x.inherited[I]=S[I])}return x.inherited}for(;;){if(!e){if(!a||!a.node)break;e=a.node.nextSibling,u=!1,a=a.parent,i=a.scripts;continue}if(e.nodeType!=1){e=e.nextSibling;continue}if(i&&e.nodeName.toLowerCase()=="script"){c=e.getAttribute("type"),c&&/^dojo\/\w/i.test(c)&&i.push(e),e=e.nextSibling;continue}if(u){e=e.nextSibling;continue}var c=e.getAttribute(h)||e.getAttribute(y),f=e.firstChild;if(!c&&(!f||f.nodeType==3&&!f.nextSibling)){e=e.nextSibling;continue}var p,v=null;if(c){var g=e.getAttribute(n),E=g?[c].concat(g.split(/\s*,\s*/)):[c];try{v=getCtor(E,M.contextRequire)}catch(x){}v||darray.forEach(E,function(x){~x.indexOf("/")&&!C[x]&&(C[x]=!0,A[A.length]=x)});var D=v&&!v.prototype._noScript?[]:null;p={types:E,ctor:v,parent:a,node:e,scripts:D},p.inherited=s(p),l.push(p)}else p={node:e,scripts:i,parent:a};i=D,u=e.stopParser||v&&v.prototype.stopParser&&!M.template,a=p,e=f}var F=new Deferred;if(A.length){has("dojo-debug-messages")&&console.warn("WARNING: Modules being Auto-Required: "+A.join(", "));var w=M.contextRequire||require;w(A,function(){F.resolve(darray.filter(l,function(x){if(!x.ctor)try{x.ctor=getCtor(x.types,M.contextRequire)}catch(S){}for(var R=x.parent;R&&!R.types;)R=R.parent;var T=x.ctor&&x.ctor.prototype;return x.instantiateChildren=!(T&&T.stopParser&&!M.template),x.instantiate=!R||R.instantiate&&R.instantiateChildren,x.instantiate}))})}else F.resolve(l);return F.promise},_require:function(_,M){var l=myEval("{"+_.innerHTML+"}"),A=[],C=[],y=new Deferred,m=M&&M.contextRequire||require;for(var h in l)A.push(h),C.push(l[h]);return m(C,function(){for(var d=0;d<A.length;d++)dlang.setObject(A[d],arguments[d]);y.resolve(arguments)}),y.promise},_scanAmd:function(_,M){var l=new Deferred,A=l.promise;l.resolve(!0);var C=this;return query("script[type='dojo/require']",_).forEach(function(y){A=A.then(function(){return C._require(y,M)}),y.parentNode.removeChild(y)}),A},parse:function(_,M){_&&typeof _!="string"&&!("nodeType"in _)&&(M=_,_=M.rootNode);var l=_?dom.byId(_):dwindow.body();M=M||{};var A=M.template?{template:!0}:{},C=[],y=this,m=this._scanAmd(l,M).then(function(){return y.scan(l,M)}).then(function(h){return y._instantiate(h,A,M,!0)}).then(function(h){return C=C.concat(h)}).otherwise(function(h){throw console.error("dojo/parser::parse() error",h),h});return dlang.mixin(C,m),C}};return has("extend-dojo")&&(dojo.parser=parser),config.parseOnLoad&&ready(100,parser,"parse"),parser},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";return function(m){if(!m.widgetClass)throw new Error("The widgetClass object must have a widget widgetClass property");if(!m.name)throw new Error("The widgetDefinition object must have a name property");if(m.name.length<3||m.name.substring(0,3)!=="mw-")throw new Error("The widgetDefinition object must have a nameproperty starting with 'mw-'");let h=m.widgetClass;if(h._observedAttributes){let d=h._observedAttributes.slice(0);Object.defineProperty(h,"observedAttributes",{enumerable:!1,get:function(){return d}})}return customElements.define(m.name,h),function d(n){if(this instanceof d)throw new Error("Do not use 'w = new Widget()' to create a widget instance. Just use 'w = Widget()'");let e=new h;for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(403)],C=l.dj.d(A,function(y){"use strict";const m=function(){};class h extends y{createRenderRoot(){return window.ShadowRoot&&this._experimentalUseShadowDom?super.createRenderRoot():this}emit(n,e,t={}){let r=t.bubbles||!1,o=t.cancelable||!1,a=new CustomEvent(n,{detail:e||{},bubbles:r,cancelable:o});this.dispatchEvent(a)}on(n,e,t={}){this.addEventListener(n,e,t);let r=this.removeEventListener.bind(this,n,e,t);return{remove:function(){r(),r=m}}}}return h},_,M),_.exports=C},function(_,M,l){var A,C;A=[M,l(404),l(407)],C=l.dj.d(A,function(y,m,h){"use strict";/**
|
||
* @license
|
||
* Copyright 2017 Google LLC
|
||
* SPDX-License-Identifier: BSD-3-Clause
|
||
*/var d,n;const e=m.ReactiveElement,t=m.ReactiveElement;class r extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var i,u;const s=super.createRenderRoot();return(i=(u=this.renderOptions).renderBefore)!==null&&i!==void 0||(u.renderBefore=s.firstChild),s}update(i){const u=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(i),this._$Dt=h.render(u,this.renderRoot,this.renderOptions)}connectedCallback(){var i;super.connectedCallback(),(i=this._$Dt)===null||i===void 0||i.setConnected(!0)}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this._$Dt)===null||i===void 0||i.setConnected(!1)}render(){return h.noChange}}r.finalized=!0,r._$litElement$=!0,(d=globalThis.litElementHydrateSupport)===null||d===void 0||d.call(globalThis,{LitElement:r});const o=globalThis.litElementPolyfillSupport;o==null||o({LitElement:r}),((n=globalThis.litElementVersions)!==null&&n!==void 0?n:globalThis.litElementVersions=[]).push("3.0.1"),y.LitElement=r,y.UpdatingElement=e,y.t={_$AK:(a,i,u)=>{a._$AK(i,u)},_$AL:a=>a._$AL},Object.keys(m).forEach(function(a){a==="default"||y.hasOwnProperty(a)||Object.defineProperty(y,a,{enumerable:!0,get:function(){return m[a]}})}),Object.keys(h).forEach(function(a){a==="default"||y.hasOwnProperty(a)||Object.defineProperty(y,a,{enumerable:!0,get:function(){return h[a]}})}),Object.defineProperty(y,"i",{value:!0})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(213),l(111),l(214),l(150),l(112),l(418),l(113)],C=l.dj.d(A,function(h,d,n,e,t,r,o){var a=function(){function i(u,s,c,f,p,v){m(this,i),this._on=new h,this._isDragStartedInContext=f,this._listeners=[],this._getDragSources=s,this._getDropTargets=c,this._dragEnterLeaveCounterMap=new WeakMap,this._getDropStatus=p,this._getDragOperations=v,this._removeDragSourceListeners=this._attachDragSourceEvents(u,["dragstart"]),this._removeDropTargetListeners=this._attachDropTargetEvents(u,["dragenter","drop","dragover","dragleave"]),this._contextDOM=u}return y(i,[{key:"destroy",value:function(){this._listeners.forEach(function(s){s.remove()}),this._removeDragSourceListeners(),this._removeDropTargetListeners()}},{key:"_attachDragEndEvent",value:function(s){this._dragEndRemoveListener=this._attachDragSourceEvents(s,["dragend"])}},{key:"_removeDragEndEvent",value:function(){this._dragEndRemoveListener()}},{key:"_attachDragSourceEvents",value:function(s,c){var f=this,p=c.map(function(F){return f.handleEventsEnum[F]}),v=n.pipe(e.addHandlersForEvents,e.addListeners,e.removeListenerHandler),g={attachDragEndEvent:this._attachDragEndEvent.bind(this),removeDragEndEvent:this._removeDragEndEvent.bind(this)},E=this._on,D=this._getDragSources;return v({html5DnDEvents:c,handleEvents:p,on:E,domNode:s,getDragSources:D,handleDragEndListener:g})}},{key:"_getDropTargetPipeLine",value:function(){return n.pipe(e.addHandlersForEvents,e.addListeners,e.removeListenerHandler)}},{key:"_attachDropTargetEvents",value:function(s,c){var f=this,p=c.map(function(R){return f.handleEventsEnum[R]}),v=this._getDropTargetPipeLine(),g=this._on,E=this._getDropTargets,D=this._dragEnterLeaveCounterMap,F=this._isDragStartedInContext,w=this._getDropStatus,x=this._getDragOperations;return v({html5DnDEvents:c,handleEvents:p,on:g,domNode:s,getDropTargets:E,dragEnterLeaveCounterMap:D,isDragStartedInContext:F,getDropStatus:w,getDragOperations:x})}},{key:"_handleDragEnter",value:function(s){var c=s.event,f=s.domNode,p=s.on,v=s.getDropTargets,g=s.dragEnterLeaveCounterMap,E=s.isDragStartedInContext,D=s.getDropStatus,F=s.getDragOperations,w=e.validateDrag({getDropTargets:v,event:c,isDragStartedInContext:E,contextDOM:f});if(!!w){c.dataTransfer.dropEffect=e.getDropEffect(c,D,F),c.preventDefault();var x=w.matchedDragElement,R=w.matchedParentDOM;if(g.has(R)){var T=g.get(R);T++,g.set(R,T)}else g.set(R,1),p.emit(o.dragEnter,{type:o.dragEnter,dropEffect:c.dataTransfer.dropEffect,dropTarget:x,target:R,getNativeDataByType:e.createNativeDataByType(c),nativeTypes:i.TYPES,getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,x.allowGlobal)},xCoord:c.pageX,yCoord:c.pageY,getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}})}}},{key:"_handleDragLeave",value:function(s){var c=s.event,f=s.domNode,p=s.on,v=s.getDropTargets,g=s.dragEnterLeaveCounterMap,E=s.isDragStartedInContext,D=s.getDropStatus,F=s.getDragOperations,w=e.validateDrag({getDropTargets:v,event:c,isDragStartedInContext:E,contextDOM:f});if(!!w){c.preventDefault();var x=w.matchedDragElement,R=w.matchedParentDOM;c.dataTransfer.dropEffect=e.getDropEffect(c,D,F);var T=g.get(R);T>1?(T--,g.set(R,T)):(g.delete(R),p.emit(o.dragLeave,{type:o.dragLeave,xCoord:c.pageX,yCoord:c.pageY,dropEffect:c.dataTransfer.dropEffect,dropTarget:x,target:R,getNativeDataByType:e.createNativeDataByType(c),getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,x.allowGlobal)},nativeTypes:i.TYPES,getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}}))}}},{key:"_handleDrop",value:function(s){var c=s.event,f=s.domNode,p=s.on,v=s.getDropTargets,g=s.dragEnterLeaveCounterMap,E=s.isDragStartedInContext,D=s.getDropStatus,F=s.getDragOperations,w=e.validateDrag({getDropTargets:v,event:c,isDragStartedInContext:E,contextDOM:f});if(!!w){c.preventDefault();var x=w.matchedDragElement,R=w.matchedParentDOM;c.dataTransfer.dropEffect=e.getDropEffect(c,D,F),g.delete(R),p.emit(o.drop,{type:o.drop,xCoord:c.pageX,yCoord:c.pageY,dropEffect:c.dataTransfer.dropEffect,dropTarget:x,target:R,getNativeDataByType:e.createNativeDataByType(c),getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,x.allowGlobal)},nativeTypes:i.TYPES,getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}})}}},{key:"_handleDragOver",value:function(s){var c=new r(s);c.handleDragOver()}},{key:"_handleDragStart",value:function(s){var c=s.event,f=s.on,p=s.getDragSources,v=s.handleDragEndListener,g=p(),E=e.matchDragSourceFromEvent(c,g);if(!!E){var D=E.matchedDragElement,F=E.matchedParentDOM;c.dataTransfer.setData(d.dndDefaultTypeEnum,""),v.attachDragEndEvent(F,f,g),f.emit(o.dragStart,{type:o.dragStart,dragSource:D,target:F,xCoord:c.pageX,yCoord:c.pageY,setNativeDataByType:function(x,R){switch(x){case i.TYPES.TEXT:{d.setNativeTextData(c.dataTransfer,R);break}default:D.allowGlobal&&d.setNativeDataByType(c.dataTransfer,x,R);break}},getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,D.allowGlobal)},getNativeDataByType:e.createNativeDataByType(c),setValidDragItem:function(x){x?c.dataTransfer.effectAllowed="all":(c.dataTransfer.effectAllowed="none",c.preventDefault())},canSetNativeAvatar:!!c.dataTransfer.setDragImage,setEmptyNativeAvatar:function(){var x=document.createElement("div");x.classList.add("mw-dnd-empty-avatar"),x.appendChild(document.createTextNode("\xA0")),document.body.appendChild(x),c.dataTransfer.setDragImage(x,0,0),setTimeout(function(){document.body.removeChild(x)},0)},nativeTypes:i.TYPES,getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}}),e.stopPropagationforDojoDnDParent(c)}}},{key:"_handleDragEnd",value:function(s){var c=s.event,f=s.on,p=s.getDragSources,v=s.handleDragEndListener,g=p(),E=e.matchDragSourceFromEvent(c,g);if(!!E){var D=E.matchedDragElement,F=E.matchedParentDOM;D&&(v.removeDragEndEvent(),f.emit(o.dragEnd,{type:o.dragEnd,dragSource:D,xCoord:c.pageX,yCoord:c.pageY,target:F,getNativeDataByType:e.createNativeDataByType(c),nativeTypes:i.TYPES,getNativeDataTypes:function(){return d.getNativeDataTypes(c.dataTransfer,D.allowGlobal)},getDropOperation:function(){return e.getDropOperationFromDropEffect(c.dataTransfer.dropEffect)}}))}}},{key:"handleDynamicDragSources",value:function(){this._getDragSources().length>0&&this._getDragSources().forEach(this.setDraggableAttribute,this)}},{key:"setDraggableAttribute",value:function(s){switch(s.type){case"SELECTOR":this._setDraggableAttribute(s.selector);break;case"DOM":s.domNode.setAttribute("draggable",!0),this._setDraggableAttrChildren(s.domNode);break;default:break}}},{key:"removeDraggableAttribute",value:function(s){switch(s.type){case"SELECTOR":this._removeDraggableAttribute(s.selector);break;case"DOM":s.domNode.removeAttribute("draggable"),this._removeDraggableAttrChildren(s.domNode);break;default:break}}},{key:"_setDraggableAttributeToNodeList",value:function(s){for(var c=0;c<s.length;c++){var f=s[c];f.setAttribute("draggable",!0)}}},{key:"_removeDraggableAttributeToNodeList",value:function(s){for(var c=0;c<s.length;c++){var f=s[c];f.removeAttribute("draggable")}}},{key:"_setDraggableAttribute",value:function(s){for(var c=this._getDragSourcesFromContext(s),f=0;f<c.length;f++){var p=c[f];p.setAttribute("draggable",!0),this._setDraggableAttrChildren(p)}}},{key:"_setDraggableAttrChildren",value:function(s){if(t.notSupportNativeElementAvatarOveride){var c=s.querySelectorAll("img");this._setDraggableAttributeToNodeList(c);var f=s.querySelectorAll("a");this._setDraggableAttributeToNodeList(f)}}},{key:"_removeDraggableAttribute",value:function(s){for(var c=this._getDragSourcesFromContext(s),f=0;f<c.length;f++){var p=c[f];p.removeAttribute("draggable"),this._removeDraggableAttrChildren(p)}}},{key:"_getDragSourcesFromContext",value:function(s){var c=Array.from(this._contextDOM.querySelectorAll(s));return this._contextDOM.matches(s)&&c.push(this._contextDOM),c}},{key:"_removeDraggableAttrChildren",value:function(s){if(t.notSupportNativeElementAvatarOveride){var c=s.querySelectorAll("img");this._removeDraggableAttributeToNodeList(c);var f=s.querySelectorAll("a");this._removeDraggableAttributeToNodeList(f)}}},{key:"on",value:function(s,c){var f=this._on.on(s,c);return this._listeners.push(f),f}},{key:"handleEventsEnum",get:function(){return{dragstart:this._handleDragStart,dragend:this._handleDragEnd,dragenter:this._handleDragEnter,dragover:this._handleDragOver,drop:this._handleDrop,dragleave:this._handleDragLeave}}}],[{key:"TYPES",get:function(){return d.getTypes()}}]),i}();return a},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;function y(m,h,d){return h in m?Object.defineProperty(m,h,{value:d,enumerable:!0,configurable:!0,writable:!0}):m[h]=d,m}A=[l(111),l(151),l(112),l(216)],C=l.dj.d(A,function(m,h,d,n){"use strict";var e={get TYPES(){return m.getTypes()},createNativeDataByType:function(r){var o,a=(o={},y(o,e.TYPES.TEXT,m.getNativeTextData),y(o,e.TYPES.FILES,m.getNativeFileData),o);return function(i){return a[i]?a[i](r.dataTransfer):m.getNativeDataByType(r.dataTransfer,i)}},traverseAndMatchDragElements:function(r,o,a,i){for(var u=void 0,s=0;s<i.length;s++){var c=i[s];if(u=e.matchDOMtoDragElements(a,c),u||c===o)return u}},matchDOMtoDragElements:function(r,o){for(var a=void 0,i=void 0,u=!1,s=0;s<r.length;s++){var c=r[s];e.reachedConfiguredDOM(c,o)&&(a=c,i=o,u=!0)}if(u)return{matchedDragElement:a,matchedParentDOM:i}},reachedConfiguredDOM:function(r,o){var a={SELECTOR:function(){return e.anySelectorMatched(o,[r.selector])},DOM:function(){return o&&o===r.domNode}};return a[r.type]()},anySelectorMatched:function(r,o){return r&&r.matches?o.some(function(a){return r.matches(a)}):!1},addHandlersForEvents:function(r){var o=r.handleEvents,a=r.html5DnDEvents,i=r.domNode,u=r.useCapture,s=o.map(function(c){return function(f){r.event=f,c(r)}});return{handlers:s,html5DnDEvents:a,domNode:i,useCapture:u}},reduceDragOperations:function(r,o){if(o.length===0)return r;var a=[];return r.includes(n.COPY)&&o.includes(n.COPY)&&a.push(n.COPY),r.includes(n.MOVE)&&o.includes(n.MOVE)&&a.push(n.MOVE),r.includes(n.LINK)&&o.includes(n.LINK)&&a.push(n.LINK),a},containsModifierKeys:function(){for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return o.reduce(function(i,u){return i||u},!1)},supportsAltKeyForCopy:function(){return d.supportsAltKeyForCopy},getEffectBasedOnPlatform:function(r,o){var a=r.isAltKey,i=r.isCtrlKey;function u(c){var f=e.supportsAltKeyForCopy();return f&&a||!f&&i?"copy":c}var s={copy:function(){return"copy"},move:function(){return"move"},copyMove:function(){return u("copyMove")},all:function(){return u("all")},uninitialized:function(){return u("uninitialized")}};return s[o]?s[o]():o},getDropEffect:function(r,o,a,i){return o()===h.StatusEnum.VALID?e.calculateDropEffect(r,a):i?"move":"none"},calculateDropEffect:function(r,o){var a=m.hasFileContent(r.dataTransfer);if(a)return"copy";var i=r.dataTransfer,u=i.effectAllowed,s=i.dropEffect;if(u==="uninitialized"&&s!=="none")return s;var c=o();c.includes(n.ALL)&&(c=[n.COPY,n.MOVE]);var f=r.altKey,p=r.ctrlKey;if(e.containsModifierKeys(f,p)){var v={isAltKey:f,isCtrlKey:p};u=e.getEffectBasedOnPlatform(v,u)}var g=e.getDragOperationsFromEffectsAllowed(u);return c=e.reduceDragOperations(g,c),c.includes(n.MOVE)?"move":c.includes(n.COPY)?"copy":"none"},addListenersUseCapture:function(r){return r.useCapture=!0,e.addListeners(r)},addListeners:function(r){var o=r.handlers,a=r.html5DnDEvents,i=r.domNode,u=r.useCapture;return a.forEach(function(s,c){switch(s){case"dragover":document.addEventListener(s,o[c],Boolean(u));break;default:i.addEventListener(s,o[c],Boolean(u));break}}),{handlers:o,html5DnDEvents:a,domNode:i,useCapture:u}},isTargetPresentInContext:function(r,o){return r.contains(o.target)},removeListenerHandlerUseCapture:function(r){return r.useCapture=!0,e.removeListenerHandler(r)},removeListenerHandler:function(r){var o=r.handlers,a=r.html5DnDEvents,i=r.domNode,u=r.useCapture;return function(){o.forEach(function(s,c){var f=a[c];switch(f){case"dragover":document.removeEventListener(f,s,Boolean(u));break;default:i.removeEventListener(f,s,Boolean(u));break}})}},validateDrag:function(r){var o=r.getDropTargets,a=r.event,i=r.isDragStartedInContext,u=r.contextDOM;if(!!e.isTargetPresentInContext(u,a)){var s=o(),c=e.containsAllowGlobalDropTargets(s);return c?e._validateAllowGlobal({event:a,contextDOM:u,dropTargets:s,isDragStartedInContext:i}):e._validateWithoutAllowGlobal({event:a,contextDOM:u,dropTargets:s,isDragStartedInContext:i})}},_validateAllowGlobal:function(r){var o=r.event,a=r.contextDOM,i=r.dropTargets,u=r.isDragStartedInContext,s=m.getNativeDataTypesGlobal(o.dataTransfer);if(!(s.length===0&&!u())){var c=e.matchDragElements({event:o,contextDOM:a,dragElements:i});if(!!c){var f=c.matchedDragElement;if(!f.allowGlobal&&!u()){var p=m.getNativeDataTypesLocal(o.dataTransfer);if(p.length===0)return}return c}}},matchDragSourceFromEvent:function(r,o){return e.matchDragElements({event:r,contextDOM:r.currentTarget,dragElements:o})},_validateWithoutAllowGlobal:function(r){var o=r.event,a=r.contextDOM,i=r.dropTargets,u=r.isDragStartedInContext,s=m.getNativeDataTypesLocal(o.dataTransfer);if(!(!u()&&s.length===0)){var c=e.matchDragElements({event:o,contextDOM:a,dragElements:i});if(!!c)return c}},matchDragElements:function(r){var o=r.event,a=r.contextDOM,i=r.dragElements,u=e.getComposedPath(o),s=e.traverseAndMatchDragElements(o.target,a,i,u);return s},getDragOperationsFromEffectsAllowed:function(r){var o={copy:[n.COPY],move:[n.MOVE],link:[n.LINK],copyLink:[n.COPY,n.LINK],copyMove:[n.MOVE,n.COPY],linkMove:[n.MOVE,n.LINK],all:[n.MOVE,n.COPY,n.LINK],uninitialized:[n.MOVE,n.COPY,n.LINK],none:[n.NONE]};return o[r]||[]},getDropOperationFromDropEffect:function(r){var o={copy:n.COPY,move:n.MOVE,link:n.LINK,none:n.NONE};return o[r]},containsAllowGlobalDropTargets:function(r){return r.some(function(o){return o.allowGlobal})},getComposedPath:function(r){if(r.composedPath)return r.composedPath();var o=[],a=r.target;for(o.push(a);a.parentNode;)a=a.parentNode,o.push(a);return o.concat(window)},stopPropagationforDojoDnDParent:function(r){var o=[".dojoDndContainer",".dojoDndSource",".dojoDndTarget"],a=function(s){return e.anySelectorMatched(s,o)},i=e.getComposedPath(r);i.some(a)&&r.stopPropagation()}};return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(112)],C=l.dj.d(A,function(h){"use strict";var d=`<div class ='mw-dnd-avatar-container-1'>
|
||
<div class='mw-dnd-avatar-container-2'>
|
||
<div class='mw-dnd-avatar-child'>
|
||
<div class='mw-dnd-avatar-child-content'> </div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>`,n=function(){y(e,null,[{key:"StatusEnum",get:function(){return{VALID:"VALID",INVALID:"INVALID"}}}]);function e(t,r,o,a){m(this,e),this._singleSelect=!1,this._validate(t,a),this._avatarContainer=this._decorateAvatar(t,a),this._updatePosition(r,o),document.body.appendChild(this._avatarContainer)}return y(e,[{key:"_validate",value:function(r,o){if(r instanceof Node){if(o&&isNaN(o))throw new Error("Expected: count should be of type Number");return!0}else throw new Error("Expected: avatar should be of type Node")}},{key:"_decorateAvatar",value:function(r,o){var a=document.createElement("div");a.classList.add("mw-dnd-avatar"),h.showsNotAllowedPointerOnInvalidDnD&&a.classList.add("mw-dnd-pointer-not-allowed-support"),a.setAttribute("data-test-id","avatarElement");var i=new DOMParser().parseFromString(d,"text/html");return a.appendChild(i.querySelector(".mw-dnd-avatar-container-1")),!o||o<=1?(a.classList.add("mw-dnd-single-select","mw-dnd-invalid-target"),this._singleSelect=!0):(a.classList.add("mw-dnd-multi-select","mw-dnd-invalid-target"),a.setAttribute("data-multi-select-count",o),this._singleSelect=!1),a.querySelector(".mw-dnd-avatar-child-content").appendChild(r),a}},{key:"enterValidDropTarget",value:function(){this._avatarContainer.classList.remove("mw-dnd-invalid-target"),this._avatarContainer.classList.add("mw-dnd-valid-target")}},{key:"leaveValidDropTarget",value:function(){this._avatarContainer.classList.remove("mw-dnd-valid-target"),this._avatarContainer.classList.add("mw-dnd-invalid-target")}},{key:"updatePosition",value:function(r,o){window.requestAnimationFrame(function(){this._updatePosition(r,o)}.bind(this))}},{key:"_updatePosition",value:function(r,o){var a=void 0;this._singleSelect?a=15:a=25,this._avatarContainer.style.transform="translate("+(r+a)+"px, "+(o-5)+"px)"}},{key:"remove",value:function(){document.body.removeChild(this._avatarContainer)}},{key:"avatarContainer",get:function(){return this._avatarContainer}}]),e}();return n},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(151)],C=l.dj.d(A,function(h){var d=void 0,n=function(){function e(){m(this,e)}return y(e,null,[{key:"createAvatar",value:function(r,o,a){d||(d=new h(r,o.xCoord,o.yCoord,a))}},{key:"clearAvatar",value:function(){d=null}},{key:"customAvatar",get:function(){return d}},{key:"isAvatarPresent",get:function(){return!!d}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({INTERACTIVE_RENDERER_CLICK:"interactiveClick",KEYUP_TOGGLE_CHECKED_STATE:"keyUpToggleCheckedState",KEY_PRESS:"keyDown",DOUBLE_CLICKED:"doubleClicked",EDIT_COMPLETED:"editCompleted",TREE_NODE_DOUBLE_CLICKED:"treeNodeDoubleClicked"});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var d=function(){function n(){h(this,n)}return m(n,null,[{key:"shallowCopy",value:function(t){var r={};if(t!==null&&(typeof t=="undefined"?"undefined":y(t))==="object"&&!Array.isArray(t)){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r}else return t}},{key:"isTypeObject",value:function(t){return(typeof t=="undefined"?"undefined":y(t))==="object"}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({ACTIVE_EDIT:"ACTIVE_EDIT",ACTIVE_EDIT_IN_PROGRESS:"ACTIVE_EDIT_IN_PROGRESS",INACTIVE_EDIT_IN_PROGRESS:"EDIT_IN_PROGRESS"});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({KEY_HANDLER_NAME:"keyHandlerName",KEY_CODE:"keyCode",KEY_HANDLER:"keyHandler",PLATFORMS:"platforms",MODIFIER_KEY_LIST:"modifierKeyList",ALT_KEY:"altKey",CTRL_KEY:"ctrlKey",META:"metaKey",SHIFT_KEY:"shiftKey"});return y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";return{validate:function(m){if(m){if(!m.hasOwnProperty("id"))throw new Error("id is required for proxyNode. Path property not implimented yet.")}else throw new Error("proxyNode is required")},normalize:function(m){return this.validate(m),m}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";return{ERROR_CIRCULAR_REF:"ERROR_CIRCULAR_REF",ERROR_SAVE_FAILED:"ERROR_SAVE_FAILED",ERROR_VALIDATION:"ERROR_VALIDATION",ERROR_UNKNOWN:"ERROR_UNKNOWN",ERROR_NODE_NON_EXISTENT:"ERROR_NODE_NON_EXISTENT"}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h};function m(h){if(Array.isArray(h)){for(var d=0,n=Array(h.length);d<h.length;d++)n[d]=h[d];return n}else return Array.from(h)}A=[l(160)],C=l.dj.d(A,function(h){var d=function(te,oe,ue){var ce=void 0;switch(ue){case h.type.EQUAL:ce=te===oe;break;case h.type.NOT_EQUAL:ce=te!==oe;break;case h.type.GREATER_THAN:ce=te>oe;break;case h.type.GREATER_THAN_EQUAL_TO:ce=te>=oe;break;case h.type.LESS_THAN:ce=te<oe;break;case h.type.LESS_THAN_EQUAL_TO:ce=te<=oe;break;default:ce=!1}return ce},n=function(te,oe,ue){var ce=te,ve=oe,Se=!1;return typeof te=="string"&&(ce=Number(te)),typeof oe=="string"&&(ve=Number(oe)),Se=d(ce,ve,ue),Se},e=function(te,oe,ue){var ce=!1,ve=Boolean(te),Se=Boolean(oe);return ce=d(ve,Se,ue),ce},t=function(te,oe,ue){var ce=Z(ue),ve=T(ue);if(ce===h.type.FUNCTION){var Se=!1,Be=S(ue);if(F(Be))try{Se=Be(te,oe)}catch(rt){Se=!1}return Se}if(ve===h.dataType.NUMBER)return n(te,oe,ce);if(ve===h.dataType.BOOLEAN)return e(te,oe,ce);if(ve===h.dataType.STRING){var ke=p(ue),Ge=o(te,oe,ke);return d(Ge.cellString,Ge.findString,ce)}return!1},r=function(te){return te===""},o=function(te,oe,ue){var ce=te.toString(),ve=oe.toString();return ue||(ce=ce.toLowerCase(),ve=ve.toLowerCase()),{cellString:ce,findString:ve}},a=function(te,oe,ue){var ce=o(te,oe,ue);return ce.cellString.indexOf(ce.findString)!==-1},i=function(te,oe,ue){var ce=o(te,oe,ue);return ce.cellString.startsWith(ce.findString)},u=function(te,oe,ue){var ce=o(te,oe,ue);return ce.cellString.endsWith(ce.findString)},s=function(te,oe,ue){for(var ce=o(te,oe,ue),ve=[],Se=ce.cellString.indexOf(ce.findString);Se!==-1;)ve.push(Object.assign({},I(Se,ce.findString.length),{value:oe})),Se=ce.cellString.indexOf(ce.findString,Se+ce.findString.length);return ve},c=function(te,oe,ue){var ce=[],ve=o(te,oe,ue);return i(ve.cellString,ve.findString,ue)&&ce.push(Object.assign({},I(0,ve.findString.length),{value:oe})),ce},f=function(te,oe,ue){var ce=[],ve=o(te,oe,ue);if(u(ve.cellString,ve.findString,ue)){var Se=ve.cellString.length-ve.findString.length;ce.push(Object.assign({},I(Se,ve.findString.length),{value:oe}))}return ce},p=function(te){var oe=te[h.COMPARE_PROPERTY];return oe&&oe.hasOwnProperty(h.CASE_SENSITIVE)?oe[h.CASE_SENSITIVE]:h.caseSensitive.DEFAULT_CASE_SENSITIVE},v=function(te){var oe=!1;return(te===h.type.STARTS_WITH||te===h.type.ENDS_WITH||te===h.type.CONTAINS)&&(oe=!0),oe},g=function(te){var oe=!0;return te==null&&(oe=!1),oe},E=function(te){var oe=!0;switch(te){case h.type.CONTAINS:case h.type.STARTS_WITH:case h.type.ENDS_WITH:case h.type.EQUAL:case h.type.NOT_EQUAL:case h.type.GREATER_THAN:case h.type.GREATER_THAN_EQUAL_TO:case h.type.LESS_THAN:case h.type.LESS_THAN_EQUAL_TO:case h.type.FUNCTION:break;default:oe=!1;break}return oe},D=function(te){var oe=!0;return te!=="string"&&te!=="number"&&te!=="boolean"&&(oe=!1),oe},F=function(te){var oe=!0;return te||(oe=!1),te&&typeof te!="function"&&(oe=!1),oe},w=function(te){var oe=!0,ue=te?te[h.COMPARE_PROPERTY]:null;if(ue){var ce=ue[h.COMPARE_TYPE];ce&&!E(ce)&&(oe=!1);var ve=ue[h.DATA_TYPE];ve&&!D(ve)&&(oe=!1);var Se=ue[h.PARAM];ce&&ce===h.type.FUNCTION&&!F(Se)&&(oe=!1);var Be=ue[h.CASE_SENSITIVE];Be&&typeof Be!="boolean"&&(oe=!1)}return oe},x=function(te){return!!(te&&te.hasOwnProperty(h.VALUE)&&te.hasOwnProperty(h.COLUMN_INDEX))},R=function(te){var oe=!1;return te&&(te.and||te.or||te.exclude)&&(oe=!0),oe},T=function(te){var oe=h.dataType.DEFAULT_DATA_TYPE,ue=Z(te);if(!v(ue)){var ce=te[h.COMPARE_PROPERTY];ce&&ce.hasOwnProperty(h.DATA_TYPE)&&(oe=ce[h.DATA_TYPE],D(oe)||(oe=h.dataType.DEFAULT_DATA_TYPE))}return oe},S=function(te){var oe=null,ue=te[h.COMPARE_PROPERTY];return ue&&ue.hasOwnProperty(h.PARAM)&&(oe=ue[h.PARAM]),oe},I=function(te,oe){var ue={start:te,count:oe};return te===void 0&&(te=0),(oe===void 0||oe<1)&&(oe=0),ue},B=function(te){var oe=te.toString(),ue=oe.length;return(ue===void 0||ue<1)&&(ue=0),I(0,ue)},P=function(te){te.hasOwnProperty(h.COMPARE_PROPERTY)||(te[h.COMPARE_PROPERTY]={})},L=function(te,oe,ue){var ce=oe.or||oe.and;if(ue&&ce||!oe.and&&!oe.or)return!O(te,oe.exclude,!0)},O=function(te,oe){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return oe.length===0&&ue?!1:K(te,oe,!0)},W=function(te,oe){return K(te,oe,!1)},j=function(te,oe){var ue=!1;return oe.and?ue=W(te,oe.and):oe.or&&(ue=O(te,oe.or)),oe.exclude&&(ue=L(te,oe,ue)),ue},K=function(te,oe,ue){for(var ce=!0,ve=0;ve<oe.length;ve=ve+1){if(x(oe[ve])){var Se=Y(oe[ve]),Be=te[Se];ce=H(Be,oe[ve])}else R(oe[ve])?ce=j(te,oe[ve]):ce=!0;if(ce===ue)return ue}return ce},H=function(te,oe){var ue=Q(te,J(oe)),ce=X(oe),ve=Z(oe);if(!g(ce))return!0;if(!g(ue))return!1;if(!w(oe))return!0;if(r(ce))return r(ue);if(!v(ve))return t(ue,ce,oe);var Se=p(oe);return ve===h.type.CONTAINS?a(ue,ce,Se):ve===h.type.STARTS_WITH?i(ue,ce,Se):ve===h.type.ENDS_WITH?u(ue,ce,Se):!1},V=function(te,oe){var ue=Q(te,J(oe)),ce=X(oe),ve=[];if(Array.isArray(ce)||(typeof ce=="undefined"?"undefined":y(ce))==="object")return ve;var Se=Z(oe);if(!g(ce)||!g(ue)||!w(oe))return ve;if(r(ce))return r(ue)&&ve.push(I(0,0)),ve;if(!v(Se))return t(ue,ce,oe)&&ve.push(B(ue)),ve;var Be=p(oe);return Se===h.type.CONTAINS?s(ue,ce,Be):Se===h.type.STARTS_WITH?c(ue,ce,Be):Se===h.type.ENDS_WITH?f(ue,ce,Be):ve},$=function(te,oe){return R(oe)?j(te,oe):K(te,[oe],!1)},G=function(te){if(te&&(te.and||te.or))return!0;var oe=X(te),ue=Y(te);return!(!g(oe)||typeof ue!="number"||Math.floor(ue)!==ue||!w(te))},Q=function(te,oe){var ue=te;if(te&&(typeof te=="undefined"?"undefined":y(te))==="object")if(oe){for(var ce=ue,ve=oe.split("."),Se=0;Se<ve.length;Se=Se+1){var Be=ve[Se];ce=ce[Be]}ce===null?ue=null:ue=ce}else ue=null;else te&&oe&&(ue=null);return ue},J=function(te){return te?te.field:null},Y=function(te){return te?te.columnIndex:null},X=function(te){return te?te.value:null},Z=function(te){var oe=h.type.DEFAULT_COMPARE_TYPE,ue=te?te[h.COMPARE_PROPERTY]:null;if(ue&&ue.hasOwnProperty(h.COMPARE_TYPE)){var ce=ue[h.COMPARE_TYPE];E(ce)&&(oe=ce)}return oe},q=function(te,oe){P(te),te[h.COMPARE_PROPERTY][h.COMPARE_TYPE]=oe},ee=function(te,oe){P(te),te[h.COMPARE_PROPERTY][h.DATA_TYPE]=oe},re=function(te,oe){P(te),te[h.COMPARE_PROPERTY][h.CASE_SENSITIVE]=oe},he=function(te,oe){P(te),te[h.COMPARE_PROPERTY][h.PARAM]=oe},me=function(te,oe,ue){var ce={};if(te===null||te.length===0)return ce;for(var ve=0;ve<=te.length-1;ve++)if(te[ve].field===oe)if(ce.searchHighlight){var Se;(Se=ce.searchHighlight.matches).push.apply(Se,m(te[ve].matches))}else ce.searchHighlight={matches:[].concat(m(te[ve].matches))};return ce.searchHighlight&&ue&&(ce.searchHighlight.field=ue),ce};return{searchColumn:V,filterRow:$,isValid:G,getField:J,getColumn:Y,getValue:X,getCellValue:Q,getCompareType:Z,setCompareType:q,setCompareDataType:ee,setCaseSensitive:re,setCompareParam:he,_createCellHighlightInfo:me}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";return{dataType:{BOOLEAN:"boolean",STRING:"string",NUMBER:"number",DEFAULT_DATA_TYPE:"string"},COLUMN_INDEX:"columnIndex",VALUE:"value",COMPARE_PROPERTY:"compare",COMPARE_TYPE:"type",DATA_TYPE:"dataType",CASE_SENSITIVE:"caseSensitive",PARAM:"param",type:{CONTAINS:"contains",STARTS_WITH:"startsWith",ENDS_WITH:"endsWith",EQUAL:"equalTo",NOT_EQUAL:"notEqualTo",LESS_THAN:"lessThan",GREATER_THAN:"greaterThan",LESS_THAN_EQUAL_TO:"lessThanEqualTo",GREATER_THAN_EQUAL_TO:"greaterThanEqualTo",FUNCTION:"function",DEFAULT_COMPARE_TYPE:"contains"},caseSensitive:{TRUE:!0,FALSE:!1,DEFAULT_CASE_SENSITIVE:!1}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(115)],C=l.dj.d(A,function(h){var d=void 0,n="en-US",e={caseFirst:"lower",ignorePunctuation:!1,numeric:!1,sensitivity:"variant",usage:"sort"};if(typeof Intl!="undefined"&&Intl.Collator){var t=new Intl.Collator(n,e);d=function(a,i){return t.compare(a,i)}}else d=function(a,i){return String.prototype.localeCompare.call(a,i,n,e)};var r={STRING:d,NUMERIC:function(a,i){typeof a!="number"&&(a=parseFloat(a)),typeof i!="number"&&(i=parseFloat(i));var u=a-i;return isNaN(u)?isNaN(a)&&isNaN(i)?0:isNaN(a)?-1:1:u}};return function(){function o(){m(this,o),this._sorted=!1,this._sortOptions=[]}return y(o,[{key:"removePersistentSort",value:function(){this._sorted=!1,this._sortOptions=[]}},{key:"sort",value:function(i,u){if(u)throw new Error("Sort is not implimented with arbitrary options");if(!this._sorted)throw new Error("Sort is only available when sort is maintained on Tree using the 'sorted' option");u=u||this._sortOptions;var s=this.generateCompareFunctionFromList(u);i.sort(s)}},{key:"getInsertIndex",value:function(i,u){if(!this._sorted)throw new Error("getInsertIndex is only available when sort is maintained on Tree using the 'sorted' option");for(var s=this._sortOptions,c=this.generateCompareFunctionFromList(s),f=0,p=i.length,v=void 0,g=void 0,E=void 0;f<p;){if(v=Math.floor((p+f)/2),g=i[v],E=c(u,g),E===0)return v;E<0?p=v:f=v+1}return f}},{key:"generateCompareFunctionFromList",value:function(i){for(var u=[],s=0;s<i.length;s+=1){var c=i[s];u.push(this._generateCompareFunctionFromItem(c))}var f=function(v,g){for(var E=0;E<u.length;E+=1){var D=u[E](v,g);if(D!==0)return D}return 0};return f}},{key:"_generateCompareFunctionFromItem",value:function(i){var u=1;i.order===h.order.DESC&&(u=-1);var s=r[i.compare],c=this._getSortField(i);return function(f,p){var v=f[c],g=p[c];if(typeof v=="undefined"||typeof g=="undefined")throw new Error("A valid field must be specified");return s(v,g)*u}}},{key:"_validateSortOption",value:function(i,u){if(this._validateFieldToSort(i,u),!r[i.compare])throw new Error("A valid compare type must be specified!");if(!h.order[i.order])throw new Error("A valid sort order must be specified!")}},{key:"validateCustomSortName",value:function(i){if(h.compare[i])throw new Error(i+" is already a built-in sort type. Please provide a unique name.")}},{key:"addCustomCompare",value:function(i,u){r[i]=u}},{key:"sorted",get:function(){return this._sorted}},{key:"sortOptions",get:function(){return this._sortOptions}}]),o}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(85),l(1),l(40),l(0),l(17),l(10),l(13),l(495),l(497)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){var a="use_latest",i=m([],{IFRAME_TIMEOUT:2e4,LATEST_VERSION:"1.6",REMOTE_PROXY:"/remote/proxy/",constructor:function(s){this.iframeId=s||"remoteProducer",this._version=null,this._messageId=0,this._loaded=!1,this._pendingQueue=[],this._transactions={},this._uploadTargetCallbacks={},this._checkUrl=null,this._loadTimeoutHandle=null,this._checkUrlTimeout=null,this._errorRate=0},setRemotePageHost:function(s,c,f,p){var v=this,g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};s=this._combineUriPaths(s||"","/"),c=c||"",p=p||"",this.computeToken=f,this._withCredentials=this._withCredentials||!1,typeof g.withCredentials=="undefined"||g.withCredentials===null||(this._withCredentials=!!g.withCredentials),!(s===this._host&&c===this._key&&p===this._proxyUrl)&&(this._loaded=!1,this._errorLoading=!1,this._host=s,this._key=c,this._proxyUrl=p,window.MW_USE_IFRAME_OUT_OF_MODEL?(this._version=null,this._setVersion(a)):(this._version=a,this._iframeProxyReplace=new o({parent:{postMessage:function(D){v._handleMessage({data:D})}},withCredentials:this._withCredentials})))},_setVersion:function(s){if((!s||s===a)&&(s=this.LATEST_VERSION),!(this._loaded||s===this._version)){this._version=s;var c=this._calculateUrls(this._host,this._key,s,this._proxyUrl);this._createIframe(c)}},_calculateUrls:function(s,c,f,p){var v=this.REMOTE_PROXY+f+"/iframeProxyRelease.html",g=this.REMOTE_PROXY+f+"/CheckJsFile.js";return p&&(v=p),v=this._combineUriPaths(s,v).split("?")[0],v+=c?"?routingkey="+c:"",g=this._combineUriPaths(s,g),c?g+="?routingkey="+c:g+="?time="+new Date().getTime(),{fastFailUrl:g,iFrameUrl:v}},_createIframe:function(s){var c=s.fastFailUrl,f=this;this._url=s.iFrameUrl,this.remoteIframe&&e.destroy(this.remoteIframe),this.remoteIframe=e.create("iframe",{id:this.iframeId,src:this._url,width:0,height:0,style:"visibility: hidden; display: none;"}),document.body.appendChild(this.remoteIframe),this._checkUrl=null,this._checkUrlTimeout=setTimeout(function(){f._checkUrl=new r(c).then(function(){f._checkUrl=null},function(p){f._checkUrl=null,!(p.dojoType==="cancel"||p.name==="CancelError")&&f._handleLoadTimeoutHitch()})},this.IFRAME_TIMEOUT*.15),this._loadTimeoutHandle=setTimeout(function(){f._handleLoadTimeoutHitch()},this.IFRAME_TIMEOUT),this._messageConnection||(this._messageConnection=y.connect(window,"message",this,this._handleMessage))},_handleLoadTimeoutHitch:function(){if(this._cleanupFailureChecks(),!this._loaded)if(this._version==="1.0")this._handleLoadTimeout();else{var s=(parseFloat(this._version)-.1).toFixed(1).toString();t.info("Unable to load proxy version "+this._version+", trying "+s+"."),this._setVersion(s)}},createUploadIframeTarget:function(s,c,f){this._uploadTargetCallbacks[s]=d.hitch(f||this,c),this._postMessage("createUploadIframe;"+s)},cancelUpload:function(s){this._postMessage("cancelUpload;"+s)},getUploadIframeProxyUrlPath:function(){return this.REMOTE_PROXY+this._version+"/uploadIframeProxy.html"},sendMessage:function(s,c,f){var p=this,v,g,E;this.computeToken&&(f=f||{},f.headers=f.headers||{},f.headers.computeToken=this.computeToken),v=this._getNewMessageId(),g="sendMessage;"+v+";"+c+";",g+=f?JSON.stringify(f,null,0):"{}",g+=";"+s;function D(){p._version==="1.0"?t.warn("Cancelling is not supported by the 1.0 remote proxy."):p._postMessage("abort;"+v)}return E={deferred:new h(D),id:v},this._errorLoading?E.deferred.reject("The iFrame did not load properly: "+this._url):(this._transactions[v]=E,this._postMessage(g)),E.deferred},setLatency:function(s){this._latency=s},setErrorRate:function(s){this._errorRate=s},_postMessage:function(s){this._loaded?this._postMessageNow(s):this._pendingQueue.push(s)},_handleMessage:function(s){var c,f,p,v,g,E,D,F,w,x=!0;if(window.MW_USE_IFRAME_OUT_OF_MODEL&&(x=s.source===this.remoteIframe.contentWindow),x){if(f=s.data.indexOf(";"),p=s.data.substring(0,f),!p)throw new Error("Client unable to parse message, no action specified: "+s.data);switch(p){case"ready":this._cleanupFailureChecks(),this._loaded=!0,this._flushPending();break;case"sendMessageResponse":this._sendMessageResponse(s,f);break;case"uploadIframeMessage":c=s.data.indexOf(";",f+1),v=s.data.substring(f+1,c),g=s.data.substring(c+1,s.data.length),this._uploadTargetCallbacks[v](g);break;case"websocketOpened":this.onWebsocketOpen();break;case"websocketClosed":E=s.data.substring(f+1,s.data.length),D=JSON.parse(E),this.onWebsocketClose(D);break;case"websocketMsg":F=s.data.substring(f+1,s.data.length),w=JSON.parse(F),this.onWebsocketMsg(w);break;case"websocketError":this.onWebsocketError();break;default:throw new Error("Unknown action: "+p+", data: "+s.data)}}},_sendMessageResponse:function(s,c){var f,p,v=s.data.indexOf(";",c+1),g=s.data.indexOf(";",v+1),E=s.data.substring(c+1,v),D=s.data.substring(v+1,g),F=s.data.substring(g+1,s.data.length);if(!E||!D)throw new Error("Invalid message from remote iframe: "+s.data);if(f=this._transactions[E],!f)throw new Error("Unknown transaction id: "+E+", from remote iframe: "+s.data);if(delete this._transactions[E],!f.deferred.isCanceled()){if(D==="success"){try{p=F&&JSON.parse(F)}catch(w){p=F}p=p===""?{}:p,f.deferred.resolve(p);return}this.onError(F),f.deferred.reject(F)}},_cleanupFailureChecks:function(){this._checkUrlTimeout&&clearTimeout(this._checkUrlTimeout),this._loadTimeoutHandle&&clearTimeout(this._loadTimeoutHandle),this._checkUrl&&!this._checkUrl.isFulfilled()&&this._checkUrl.cancel("Timeout Occurred or iFrame Was Loaded before CheckUrl",!1),this._checkUrlTimeout=null,this._loadTimeoutHandle=null,this._checkUrl=null},_handleLoadTimeout:function(){var s,c,f;if(!this._loaded){s={code:"IframeLoadTimeout",description:"Iframe proxy loading failed due to an HTTP error",message:""},f=this._transactions,this._transactions={},this._pendingQueue=[];for(c in f)f.hasOwnProperty(c)&&f[c].deferred.reject("Timeout while loading the iFrame "+this._url+" at "+new Date);this._errorLoading=!0,this.onError(s)}},_postMessageNow:function(s){var c=this,f,p;function v(){if(c._errorRate>0&&Math.random()<c._errorRate&&s.indexOf("sendMessage;")===0){if(f=s.split(";",2)[1],p=c._transactions[f],p){delete c._transactions[f],t.error("Generating simulated error. Request was: ",s);var g="403 Forbidden;403";c.onError(g),p.deferred.reject(g)}}else window.MW_USE_IFRAME_OUT_OF_MODEL?c.remoteIframe.contentWindow.postMessage(s,c._url):c._iframeProxyReplace.handleMessage({data:s})}this._latency?setTimeout(v,this._latency):v()},_flushPending:function(){this._pendingQueue.forEach(this._postMessageNow,this),this._pendingQueue=[]},_getNewMessageId:function(){return this._messageId+=1,this._messageId.toString()},onError:function(){},onWebsocketOpen:function(){},onWebsocketMsg:function(){},onWebsocketClose:function(){},onWebsocketError:function(){},_combineUriPaths:function(){var s=Array.prototype.slice.call(arguments),c=s.reduce(function(f,p){return f.length===0?p:(p.length>0&&(p[0]==="/"&&f.lastIndexOf("/")===f.length-1?p=p.substring(1):p[0]!=="/"&&f.lastIndexOf("/")!==f.length-1&&(f+="/")),f+p)});return c}});return i.WebSocket=m([],{constructor:function(s){var c=this;this.proxyClient=i.WebSocket.proxyClient,this.proxyClient.computeToken&&s.indexOf("?")>=0&&(s=s+"&computeToken="+this.proxyClient.computeToken),this.proxyClient._postMessage("connectWebsocket;"+s),n.after(this.proxyClient,"onWebsocketOpen",function(){c.onopen.apply(c,arguments)},!0),n.after(this.proxyClient,"onWebsocketMsg",function(){c.onmessage.apply(c,arguments)},!0),n.after(this.proxyClient,"onWebsocketClose",function(){c.onclose.apply(c,arguments)},!0),n.after(this.proxyClient,"onWebsocketError",function(){c.onerror.apply(c,arguments),c.proxyClient.onError.apply(c.proxyClient,arguments)},!0)},onopen:function(){},onmessage:function(){},onclose:function(){},onerror:function(){},send:function(s){this.proxyClient._postMessage("websocketSend;"+s)},close:function(){this.proxyClient._postMessage("closeWebsocket;")}}),i},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(40),l(0),l(66),l(67)],C=l.dj.d(A,function(y,m,h,d,n){return y([],{constructor:function(t){t=t||{},this.requestMessages=t.requestMessages||{},this.responseMessages=t.responseMessages||{},this.context=t.context,this.computeToken=t.computeToken,this.uuidClassifierMap=t.uuidClassifierMap||{},this.endPointName=t.endPointName||null,this.allowedMessages=t.allowedMessages||[],this.ignoreMessageTypes=t.ignoreMessageTypes||[],this.sendMessage=t.sendMessage},addRequestMessage:function(t,r,o){if(!!r){var a=d.isEndpointMessageContainerBased(this.endPointName);this.requestMessages[t]||(this.requestMessages[t]=[]),h.isArray(r)?r.forEach(function(i){this.addRequestMessage(t,i,o)},this):a?(r.uuid=r.uuid||this._generateUuid(),o&&(this.uuidClassifierMap[r.uuid]=o),this.requestMessages[t].push(r)):this.requestMessages[t]=r,this.requestMessages=this._filterMessages(this.requestMessages)}},_filterMessages:function(t){var r={};return this.getRequestMessageTypes().forEach(function(o){(this.allowedMessages.length===0||this.allowedMessages.indexOf(o)>=0)&&(r[o]=t[o])},this),r},getResponseMessageTypes:function(){var t,r=[];for(t in this.responseMessages)this.responseMessages.hasOwnProperty(t)&&r.push(t);return r},getRequestMessageTypes:function(){var t,r=[];for(t in this.requestMessages)this.requestMessages.hasOwnProperty(t)&&r.push(t);return r},getMessageClassifier:function(t){return t&&t.uuid&&this.uuidClassifierMap.hasOwnProperty(t.uuid)?this.uuidClassifierMap[t.uuid]:""},send:function(){this._removeEmptyMessages(),this._isEmpty(this.requestMessages)?(this.deferred=new m,this.deferred.callback()):(this.startTime=new Date().getTime(),this.deferred=this._doSend(this._getRequest(this.requestMessages)),this.deferred.addCallback(this,this._processResponse),this.deferred.addErrback(this,this._processFault))},addIgnoreMessageType:function(t,r){if(this.getRequestMessageTypes().indexOf(t)>-1)if(r){var o;for(o in this.uuidClassifierMap)this.uuidClassifierMap.hasOwnProperty(o)&&r&&this.uuidClassifierMap[o]===r&&this.ignoreMessageTypes.push(t+":"+r)}else this.ignoreMessageTypes.push(t)},_removeEmptyMessages:function(){if(!this._isEmpty(this.requestMessages)){var t;for(t in this.requestMessages)this.requestMessages.hasOwnProperty(t)&&h.isArray(this.requestMessages[t])&&n.getArrayLength(this.requestMessages[t])===0&&delete this.requestMessages[t]}},_isEmpty:function(t){var r;for(r in t)if(t.hasOwnProperty(r))return!1;return!0},_generateUuid:function(){return n.generateUuid()}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(66),l(109),l(40)],C=l.dj.d(A,function(y,m,h){var d=function(t,r,o){var a=y.getIframeProxyClientForEndPoint(r);return a.sendMessage(t,y.getRemoteUrlForEndPoint(r),o)},n=function(t,r,o){var a=o&&o.headers?o.headers:null;return m.post({url:y.getRemoteUrlForEndPoint(r),contentType:"application/json",handleAs:"json",headers:a,postData:t})};return{sendPayload:function(t,r,o){var a=y.getEndPointAllowsDirectXhr(r),i=new h;return a.then(function(u){var s;u.status===y.DirectXhrConstants.ENABLED?s=n(t,r,o):s=d(t,r,o),s.then(function(c){i.resolve(c)})}),i}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";return Object.freeze({XSMALL:"xsmall",SMALL:"small",MEDIUM:"medium",LARGE:"large",XLARGE:"xlarge"})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";return Object.freeze({SPINNER:"spinner"})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(533),l(534)],C=l.dj.d(A,function(y,m,h){var d=null;return y("dojo.store.Memory",d,{constructor:function(n){for(var e in n)this[e]=n[e];this.setData(this.data||[])},data:null,idProperty:"id",index:null,queryEngine:h,get:function(n){return this.data[this.index[n]]},getIdentity:function(n){return n[this.idProperty]},put:function(n,e){var t=this.data,r=this.index,o=this.idProperty,a=n[o]=e&&"id"in e?e.id:o in n?n[o]:Math.random(),i=t.length,u,s,c=a in r?"update":"add";if(c==="update"){if(e&&e.overwrite===!1)throw new Error("Object already exists");s=r[a],i=s}return e&&"before"in e?e.before==null?(u=t.length,c==="update"&&--u):(u=r[this.getIdentity(e.before)],s<u&&--u):u=i,u===s?t[u]=n:(s!==void 0&&t.splice(s,1),t.splice(u,0,n),this._rebuildIndex(s===void 0?u:Math.min(s,u))),a},add:function(n,e){return(e=e||{}).overwrite=!1,this.put(n,e)},remove:function(n){var e=this.index,t=this.data;if(n in e)return t.splice(e[n],1),this.index={},this._rebuildIndex(),!0},query:function(n,e){return m(this.queryEngine(n,e)(this.data))},setData:function(n){n.items?(this.idProperty=n.identifier||this.idProperty,n=this.data=n.items):this.data=n,this.index={},this._rebuildIndex()},_rebuildIndex:function(n){var e=this.data,t=e.length,r;for(n=n||0,r=n;r<t;r++)this.index[e[r][this.idProperty]]=r}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return{APP_SERVICE_HOST:{name:"APP_SERVICE_HOST",BASE_PREFIX:"/matlab",BASE_END_POINT:"messageservice/async/blue"},MATLAB_SERVICE_HOST:{name:"MATLAB_SERVICE_HOST",BASE_PREFIX:"/matlab",BASE_END_POINT:"messageservice/async"}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(570)],C=l.dj.d(A,function(y,m){var h=y(null,{constructor:function(n,e,t,r,o,a){this._status=n,this._msg=e,this._id=t,this._functionName=r,this._frames=[],this._causes=[],o&&o.forEach(function(i){this._frames.push(new m(i.file,i.func,i.line))},this),a&&a.forEach(function(i){this._causes.push(new h(i.status,i.msg,i.id,i.functionName,i.frames,i.causes))},this)},getID:function(){return this._id},getMsg:function(){return this._msg},getExecutionStatus:function(){return this._status},getFunctionName:function(){return this._functionName},getStackFrames:function(){return this._frames},getCauses:function(){return this._causes}});return h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(580),l(582)],C=l.dj.d(A,function(y,m,h){return y(null,{constructor:function(n){typeof n!="object"?this._timeout=n:(this._timeout=n.timeout,this.dequeueMode=n.dequeueMode,this.queueName=n.queueName,this.disableBreakPoints=n.disableBreakpoints,n.capabilitiesList!==void 0&&(this.capabilitiesList=n.capabilitiesList.slice()),n.groupNames!==void 0&&(this.groupNames=n.groupNames.slice()),n.outTextCallback!==void 0&&this.setOutTextCallback(n.outTextCallback),n.errTextCallback!==void 0&&this.setErrTextCallback(n.errTextCallback),n.suppressDebugControlOutput!==void 0&&(this.suppressDebugControlOutput=n.suppressDebugControlOutput),n.outSinkTraits&&(this.outSinkTraits=n.outSinkTraits),n.errSinkTraits&&(this.errSinkTraits=n.errSinkTraits),n.commandWindowColSize&&(this.commandWindowColSize=n.commandWindowColSize),n.commandWindowRowSize&&(this.commandWindowRowSize=n.commandWindowRowSize)),this.eventNames=[],this._eventCallbackMap={}},getTimeOut:function(){return this._timeout},setTimeOut:function(n){this.timeout=n},setDequeueMode:function(n){this.dequeueMode=n},getDequeueMode:function(){return this.dequeueMode},setQueueName:function(n){this.queueName=n},getQueueName:function(){return this.queueName},disableBreakpoints:function(n){this.disableBreakPoints=n},areBreakPointsDisabled:function(){return this.disableBreakPoints},setCallback:function(n,e){this.eventNames.push(n),this._eventCallbackMap[n]=e},getEventCallbacks:function(){return this._eventCallbackMap},getCapabilitiesList:function(){if(this.capabilitiesList!==void 0)return this.capabilitiesList.slice()},setCapabilities:function(n){n?this.capabilitiesList=n.slice():this.capabilitiesList=[]},getGroupNames:function(){if(this.groupNames!==void 0)return this.groupNames.slice()},setGroupNames:function(n){n?this.groupNames=n.slice():this.groupNames=void 0},getCommandWindowColSize:function(){return this.commandWindowColSize},setCommandWindowColSize:function(n){this.commandWindowColSize=n},getCommandWindowRowSize:function(){return this.commandWindowRowSize},setCommandWindowRowSize:function(n){this.commandWindowRowSize=n},setOutTextCallback:function(n,e){this.outSink=n,this.outSinkTraits=e,this.outSink===null?this.useNullOutSink=!0:this.useNullOutSink=!1},setErrTextCallback:function(n,e){this.errSink=n,this.errSinkTraits=e,this.errSink===null?this.useNullErrSink=!0:this.useNullErrSink=!1},getOutTextCallback:function(){if(this.outSink!==void 0)return this.outSink},getErrTextCallback:function(){if(this.errSink!==void 0)return this.errSink},setSuppressDebugControlOutput:function(n){this.suppressDebugControlOutput=n},getSuppressDebugControlOutput:function(){return this.suppressDebugControlOutput},getOutSinkTraits:function(){return this.outSinkTraits},getErrSinkTraits:function(){return this.errSinkTraits},_serializeAndVerifyRunOptions:function(){var n={},e={};if(this.dequeueMode){var t=Object.keys(h).some(function(u){return h[u]===this.dequeueMode}.bind(this));if(!t)return n.error="Unknown Dequeue Mode "+this.dequeueMode,n;e.dequeueMode=this.dequeueMode}if(this.queueName)if(typeof this.queueName=="string"||this.queueName instanceof String)e.queueName=this.queueName;else return n.error="Invalid QueueName",n;if(this.capabilitiesList!==void 0){if(Array.isArray(this.capabilitiesList)){var r=m.getFullCapabilitiesList(),o=this.capabilitiesList.some(function(u){return r.indexOf(u)===-1});if(o)return n.error="Undefined Capability",n}else return n.error="Invalid Capability",n;e.capabilitiesList=this.capabilitiesList.slice()}if(this.outSink!==void 0&&(this.outSink===null?e.useNullOutSink=!0:typeof this.outSink=="function"||this.outSink instanceof Function?e.useNullOutSink=!1:n.error="Invalid outTextCallback"),this.errSink!==void 0&&(this.errSink===null?e.useNullErrSink=!0:typeof this.errSink=="function"||this.errSink instanceof Function?e.useNullErrSink=!1:n.error="Invalid errTextCallback"),this.groupNames!==void 0)if(Array.isArray(this.groupNames)){var a=this.groupNames.every(function(u){return typeof u=="string"||u instanceof String});if(a===!1)return n.error="Invalid groupNames",n;e.groupNames=this.groupNames.slice()}else return n.error="Invalid groupNames",n;if(this._eventCallbackMap!==void 0){var i=Object.keys(this._eventCallbackMap).every(function(u){return typeof this._eventCallbackMap[u]=="function"||this._eventCallbackMap[u]instanceof Function}.bind(this));if(i===!1)return n.error="Invalid setCallback",n}if(this.suppressDebugControlOutput)if(typeof this.suppressDebugControlOutput=="boolean"||this.suppressDebugControlOutput instanceof Boolean)e.suppressDebugControlOutput=this.suppressDebugControlOutput;else return n.error="Invalid suppressDebugControlOutput",n;if(this.errSinkTraits!==void 0&&(e.errSinkTraits=this.errSinkTraits),this.outSinkTraits!==void 0&&(e.outSinkTraits=this.outSinkTraits),this.commandWindowColSize!==void 0)if((typeof this.commandWindowColSize=="number"||this.commandWindowColSize instanceof Number)&&this.commandWindowColSize>=0&&Number.isInteger(this.commandWindowColSize))e.commandWindowColSize=this.commandWindowColSize;else return n.error="Invalid commandWindowColSize",n;if(this.commandWindowRowSize!==void 0)if((typeof this.commandWindowRowSize=="number"||this.commandWindowRowSize instanceof Number)&&this.commandWindowRowSize>=0&&Number.isInteger(this.commandWindowRowSize))e.commandWindowRowSize=this.commandWindowRowSize;else return n.error="Invalid commandWindowRowSize",n;return n.runOptions=e,n}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({ENTER:13,SPACE:32,TAB:9,SHIFT:16,ESCAPE:27})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({HOVER:"hover",FOCUS:"focus",CLICK:"click",CLOSE_DELAY:300})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(9),l(10),l(11),l(14),l(4),l(35),l(41),l(271),l(50),l(258),l(594),l(598),l(599),l(274)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s){const c=new i({id:"AnnotationDialog",position:["left"]}),f={data:{},setup:v,init:E,render:D,refresh:w,highlighted:null};let p=null;return t.subscribe("updateAnnotation",K),t.subscribe("highlightAnnotation",H),f;function v(G,Q){G.annotator=f,p=G,n(Q.domNode,n.selector(".anno-cell","mouseover"),P),n(Q.domNode,n.selector(".anno-cell","click"),L),Q.on("dgrid-refresh-complete",$),Q.on("dgrid-select",g)}function g(G){const Q=G.grid;R(Q.selection),setTimeout(function(){T(Q)},1)}function E(G){const Q=G.annotation;f.data=I(Q,G)}function D(G,Q){const J=p.data.currentFile,Y=f.data[J];Y&&Y.filter(function(q,ee){const[re,he]=q.lines;return re<=G&&G<=he}).map(function(q){return x(q,G)}).forEach(function(q){Q.appendChild(q)})}function F(){const Q=p.code.grid.domNode.querySelectorAll(".anno-cell");y.forEach(Q,function(J){J.remove()})}function w(){F();const Q=p.code.grid.domNode.querySelectorAll(".code-row");y.forEach(Q,function(J){const Y=J.querySelector(".tail"),X=parseInt(Y.getAttribute("line"));D(X,Y)})}function x(G,Q){const J=G.col,Y=m.create("div",{class:"anno-cell"});Y.setAttribute("index",G.id);const X=J*10+2;return d.set(Y,"right",X+"px"),G.lines[0]===Q&&h.add(Y,"st"),G.lines[1]===Q&&h.add(Y,"ed"),G.pending&&h.add(Y,"new"),Y.setAttribute("flag",G.flag),Y.anno=G,Y}function R(G){const Q=p.data.currentFile;let Y=Object.keys(G).map(function(Z){return parseInt(Z)}).reduce(function(Z,q){const ee=Z[Z.length-1];if(!ee)Z.push({file:Q,lines:[q,q],flag:"normal",pending:!0});else{const re=ee.lines[1];q-re>1?Z.push({file:Q,lines:[q,q],flag:"normal",pending:!0}):ee.lines[1]=q}return Z},[]);const X=f.data[Q];Y=Y.filter(Z=>{const[q,ee]=Z.lines;return X.every(re=>re.lines[0]!==q||re.lines[1]!==ee)}),Y.forEach(Z=>{const[q,ee]=Z.lines,re=[];for(let me=q;me<=ee;me++)X.forEach(se=>{se.lines[0]<=me&&se.lines[1]>=me&&(re[se.col]=!0)});let he=0;for(const me=re.length;he<me&&re[he];he++);Z.id=`${Z.lines[0]}-${Z.lines[1]}`,Z.col=he}),f.pending=Y}function T(G){S(G),f.pending.forEach(function(J){const Y=J.lines[0],X=J.lines[1];for(let Z=Y;Z<=X;Z++){const q=G.row(Z).element;if(q){const ee=q.querySelector(".tail"),re=x(J,Z);ee.appendChild(re)}}})}function S(G){const Q=G.domNode.querySelectorAll(".anno-cell.new");y.forEach(Q,function(J){J.remove()})}function I(G,Q){const J="init annotation";console.time(J);let Y;Array.isArray(G)?Y=G:G?Y=[G]:Y=[];const X=Q.files.data,Z={};return X.forEach(function(q){const ee=q.name,re=Y.filter(function(he){return he.flag||(he.flag="normal"),he.file===ee});Z[ee]=B(re)}),console.timeEnd(J),Z}function B(G){const Q=[];return G.map(function(J){const Y=J.lines,X=Y[0],Z=Y[1];J.id=`${X}-${Z}`;const q=[];for(let re=X;re<=Z;re++){let he=Q[re];he||(he=[]),he.forEach(function(me){q[me]=!0}),Q[re]=he}let ee=0;for(const re=q.length;ee<re&&q[ee];ee++);for(let re=X;re<=Z;re++)Q[re].push(ee);return J.col=ee,J})}function P(G){const Q=G.target;n.once(Q,"mouseleave",function(Z){const q=document.querySelectorAll(".anno-cell");y.forEach(q,function(re){h.remove(re,"hover")});const ee=document.querySelectorAll(".code-row");y.forEach(ee,function(re){h.remove(re,"hover")})});const J=Q.getAttribute("index"),Y=document.querySelectorAll('.anno-cell[index="'+J+'"]');y.forEach(Y,function(Z){h.add(Z,"hover")});const X=Q.anno;for(let Z=X.lines[0];Z<=X.lines[1];Z++){const q=document.querySelector('.code-row[line="'+Z+'"]');q&&h.add(q,"hover")}}function L(G){G.stopPropagation(),G.preventDefault();const J=G.target.anno,Y=J.lines,X=p.code.grid;X.clearSelection(),X.select(Y[0],Y[1]),J.pending?setTimeout(()=>W(J.id),1):t.publish({action:"Annotation",userData:{anno:J,action:"select"}})}function O(G){const Q=m.create("div",{class:"annotation-editor"}),J=p.data.currentFile,Y="AddReview";let X=e.byId(Y);if(X)X.placeAt(Q),X.anno={file:J,lines:G};else{const Z=new s({id:"AddReview",text:o.getString("SimulinkCoderApp:report:AddToReview"),icon:"add_24",anno:{file:J,lines:G}});Z.placeAt(Q),Z.startup(),Z.on("click",function(){const{file:q,lines:ee}=Z.anno,re=f.pending.find(se=>se.file===q&&se.id===ee);re.pending=!1,re.flag="normal",f.data[re.file].push(re);const me=[].concat.apply([],Object.values(f.data));t.publish({action:"Annotation",userData:{action:"add",last:re,all:me}}),j(),p.code.indicator.refresh()})}return Q}function W(G){const Q=document.querySelector('.anno-cell[index="'+G+'"]');h.add(Q,"open"),c.set("content",O(G)),u.open({popup:c,around:Q,orient:["before-centered"]})}function j(){u.close(c),f.refresh()}function K(G){p.data.annotation=G.map(V),f.data=I(p.data.annotation,p.data),p.refresh()}function H(G){const Q=V(G);p.data.files.get(Q.file)&&(f.highlighted=Q.lines,p.show(Q.file,Q.lines[0]))}function V(G){const Q=G.split(":"),J=Q[0],Y=Q[1].split("-"),X=parseInt(Y[0]),Z=Y.length>1?parseInt(Y[1]):X,q=[X,Z],ee=`${X}-${Z}`;return{file:J,lines:q,id:ee,flag:"normal",pending:!1}}function $(G){const Q=f.highlighted;Q&&setTimeout(()=>{const J=G.grid;J.clearSelection(),J.select(Q[0],Q[1]),f.highlighted=null},10)}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1)],C=l.dj.d(A,function(y){return y(null,{text:"",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwTextMixin"),this.set("text",this.get("text"))},_setTextAttr:function(m){if(typeof m!="string")throw new Error("'text' property expects a literal string!");this._updateTextInDOM(m),this._set("text",m)},_updateTextInDOM:function(m){this._placeTextInNode(m),this._getTextForDOM(m).length===0?this.domNode.classList.add("mwNoText"):this.domNode.classList.remove("mwNoText")},_placeTextInNode:function(m,h){for(h===void 0&&(h=this.textNode);h.firstChild;)h.removeChild(h.firstChild);var d=this._getTextForDOM(m,h);if(d.length>0){var n=document.createElement("span");n.classList.add("mwTextLine"),n.textContent=d,h.appendChild(n),h.classList.remove("mwEmptyNode")}else h.classList.add("mwEmptyNode")},_getTextForDOM:function(m){return m}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0),l(1)],C=l.dj.d(A,function(y,m){return m(null,{width:"auto",height:"auto",_allowedValues:["auto","100%"],postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwSizeMixin"),this.on("updatelayout",y.hitch(this,this._updateLayout))},startup:function(){this.inherited(arguments),this._updateLayout()},_updateLayout:function(){this._setWidthAttr(this.get("width")),this._setHeightAttr(this.get("height"))},_setWidthAttr:function(h){this._setSize("width",h)},_setHeightAttr:function(h){this._setSize("height",h)},_validateSizeInput:function(h){if(!(typeof h=="string"&&this._allowedValues.indexOf(h)>=0||typeof h=="number"&&h>0))throw new Error(" Property should either be 'auto' or a positive integer")},_setSize:function(h,d){if(this._validateSizeInput(d),this._set(h,d),!!this._started){var n="";this._allowedValues.indexOf(d)>=0?n=d:n=this._getAdjustedSize(h,d,this.domNode),this.domNode.style[h]=n}},_getAdjustedSize:function(h,d,n){return d+"px"}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=Object.defineProperty,m=Object.defineProperties,h=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,t=(a,i,u)=>i in a?y(a,i,{enumerable:!0,configurable:!0,writable:!0,value:u}):a[i]=u,r=(a,i)=>{for(var u in i||(i={}))n.call(i,u)&&t(a,u,i[u]);if(d)for(var u of d(i))e.call(i,u)&&t(a,u,i[u]);return a},o=(a,i)=>m(a,h(i));A=[l(10),l(11),l(14),l(38),l(618),l(235),l(49),l(119)],C=l.dj.d(A,function(a,i,u,s,c,f,p,v){return{init:S,render:I,refresh:B};function g(P){const L=window.cr,O=a.create("div",{class:"cov-content"});let W=document.getElementById("justificationTable"),j=document.getElementById("justificationTitle");return j&&j.remove(),W&&W.remove(),L.data.features.showJustificationLinks&&P.justifyLink&&P.justifyLink.length>0?(W=document.createElement("TABLE"),W.setAttribute("id","justificationTable"),P.justifyLink.map((K,H)=>{const V=document.createElement("TR");V.setAttribute("id",H),V.setAttribute("class","justification-row"),W.appendChild(V);const $=document.createElement("TD");$.setAttribute("class","justification-cell");const G=document.createTextNode(K[0]);$.appendChild(G),V.appendChild($);const Q=document.createElement("TD");Q.setAttribute("class","justification-cell status");let J="",Y="";K[2]?(J=document.createElement("a"),Y=document.createTextNode(K[1]),J.appendChild(Y),J.href=`matlab: ${K[2]}`):J=document.createTextNode(K[1]),Q.appendChild(J),V.appendChild(Q)}),j=document.createElement("div"),j.appendChild(document.createTextNode(P.tooltip)),j.setAttribute("id","justificationTitle"),O.appendChild(j),O.appendChild(W)):(j=document.createElement("div"),j.appendChild(document.createTextNode(P.tooltip)),j.setAttribute("id","justificationTitle"),O.appendChild(j)),O}function E(P){this.getDomNode=function(L){const O=document.createElement("div");return O.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),O.textContent=L,O},this.getTooltip=function(){return{text:P}},this.showTooltip=function(){return!0}}function D(){this.getDomNode=function(P){const L=document.createElement("div");return L.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),L.textContent=P.data,L},this.getTooltip=function(P){return{text:P.tooltip}},this.showTooltip=function(){return!0}}function F(P,L,O,W){const j=Object.keys(P),K=j.map((Q,J)=>o(r({label:O[Q],dataIndex:J,columnId:O[Q],renderer:new D},W[Q]&&{headerRenderer:new E(W[Q])}),{width:{value:100/j.length,unit:"%"}})),H={features:[c.FEATURE.ColumnResize],columnModel:{columnConfig:K}},V=[j.map(Q=>({data:P[Q],tooltip:L[Q]}))],$=f.create(V,Object.assign({},{type:p.TABLE}));return new c($,H)}function w(P){this.getDomNode=function(L){const O=document.createElement("div");return O.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),O.textContent=L,O},this.getTooltip=function(){return{text:P}},this.showTooltip=function(){return!0}}function x(){this.getDomNode=function(P){const L=document.createElement("div");if(L.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),P.cmd){const O=document.createElement("a");O.href=`matlab:${P.cmd}`,O.text=P.data,L.appendChild(O)}else L.textContent=P.data;return L},this.getTooltip=function(P){return{text:P.tooltip}},this.showTooltip=function(){return!0}}function R(){this.getDomNode=function(P){const L=document.createElement("div");if(P[0].data){const O=document.createElement("a");O.href=`matlab:${P[0].data}`,O.title=P[0].tooltip,O.style="margin-right: 10px;";const W=document.createElement("img");W.src="/toolbox/coder/profile/resources/membrane_16.png",O.append(W),L.appendChild(O)}if(P[1].data){const O=document.createElement("a");O.href=`matlab:${P[1].data}`,O.title=P[1].tooltip,O.style="margin-right: 10px;";const W=document.createElement("img");W.src="/toolbox/coder/profile/resources/SimulationDataInspector_16.png",O.append(W),L.appendChild(O)}if(P[2].data){const O=document.createElement("a");O.href=`matlab:${P[2].data}`,O.title=P[2].tooltip,O.style="margin-right: 10px;";const W=document.createElement("img");W.src="/toolbox/coder/profile/resources/histogram_16.png",O.append(W),L.appendChild(O)}return L}}function T(P,L,O,W){const j={features:[c.FEATURE.ColumnResize],columnModel:{columnConfig:[{label:O.Name,dataIndex:0,columnId:"Name",renderer:new x,width:{value:30,unit:"%"}},o(r({label:O.MaxExecution,dataIndex:1,columnId:"MaxExecution",renderer:new x},W.MaxExecution&&{headerRenderer:new w(W.MaxExecution)}),{width:{value:10,unit:"%"}}),o(r({label:O.AverageExecution,dataIndex:2,columnId:"AverageExecution"},W.AverageExecution&&{headerRenderer:new w(W.AverageExecution)}),{width:{value:10,unit:"%"}}),o(r({label:O.MaxSelf,dataIndex:3,columnId:"MaxSelf",renderer:new x},W.MaxSelf&&{headerRenderer:new w(W.MaxSelf)}),{width:{value:10,unit:"%"}}),o(r({label:O.AverageSelf,dataIndex:4,columnId:"AverageSelf"},W.AverageSelf&&{headerRenderer:new w(W.AverageSelf)}),{width:{value:10,unit:"%"}}),{label:O.Calls,dataIndex:5,columnId:"Calls",width:{value:10,unit:"%"}},{label:"Statistics",dataIndex:6,columnId:"Statistics",renderer:new R,width:{value:20,unit:"%"}}]}},K=P.map(($,G)=>[{data:$.Name,tooltip:L[G].Name,cmd:$.NameCmd},{data:$.MaxExecution,tooltip:L[G].MaxExecution},$.AverageExecution,{data:$.MaxSelf,tooltip:L[G].MaxSelf},$.AverageSelf,$.Calls,[{data:$.MembCmd,tooltip:L[G].MembCmd},{data:$.SDICmd,tooltip:L[G].SDICmd},{data:$.HistCmd,tooltip:L[G].HistCmd}]]),H=f.create(K,Object.assign({},{type:p.TABLE}));return new c(H,j)}function S(P){P.coverage&&P.coverage.forEach(function(L){const O=L.id;L.files.forEach(function(j){const K=j.file;let H=j.probes;Array.isArray(H)||(H=[H],j.probes=H);const V=P.files.get(K);if(V){V.cov||(V.cov={}),V.cov[O]=j;const $=V.codeList;H.forEach(function(G){G.status1==="T"?G.level=1:G.status1==="E"?G.level=2:G.status1==="J"?G.level=3:G.status2?G.status2==="J"?G.level=3:G.level=4:G.level=5;const Q=parseInt(G.line),J=$[Q-1];J.cov||(J.cov={},J.cov[O]=[],J.cov[O].level=0);const Y=J.cov[O];Array.isArray(Y)?(Y.push(G),Y.level<G.level&&(Y.level=G.level)):(J.cov[O]=[G],J.cov[O].level=G.level)})}})})}function I(P,L){const O=window.cr;if(!O.config.covOn)return;const W=P.querySelector(".head"),j=a.create("cov");a.place(j,W,"first");const K=L.cov&&L.cov[O.config.covType];!K||K.length===0||(i.add(P,"cov"),j.setAttribute("covLevel",K.level),K.forEach(function(H){const V=H.col;let $="",G;V>0?(i.add(P,"condition"),G=P.querySelectorAll("c")[V-1],$=H.str1+H.str2,$=$.replace(/=>/g,""),$=$.replace(/ /g,"")):(G=j,$=H.str1+" "+H.str2),i.add(G,"cov-loc");const Q=G.querySelectorAll(".cov-text").length,J=a.create("div",r({class:"cov-text",innerHTML:$},!O.data.features.coverageTooltip&&{title:H.tooltip}),G),Y=100+Q*60;u.set(J,"top",Y+"%"),J.setAttribute("covLevel",H.level),O.data.features.coverageTooltip&&(J.onmouseover=function(X){X.preventDefault(),X.stopPropagation();const Z=document.getElementById("ToolTip"),q=g(H);if(!!q){if(Z.referenceNode!==J){const{observer:ee}=v.observeElementInDom(Z.referenceNode);Z._referenceObserver=ee,Z.referenceNode=J,Z.open||setTimeout(()=>{Z.show()},500)}Z.content=q}})}))}function B(){const P=window.cr;if(P.config.covOn?i.add(P.domNode,"show-coverage"):i.remove(P.domNode,"show-coverage"),!P.data.coverage)return;const L=P.data.currentFile,O=P.data.files.get(L),W=P.footer.querySelector("#Information");if(W){const j=O.cov&&O.cov[P.config.covType],K=P.data.profiling,H=j&&j.summary,V=j&&j.summaryData;if(j&&(V||H)){let $=document.getElementById("CoverageSummary");if($)for(;$.firstChild;)$.removeChild($.firstChild);else $=document.createElement("div"),$.setAttribute("id","CoverageSummary"),W.appendChild($);if(P.data.features.useMWTable&&V&&Object.keys(V).length>0){const Q=document.createElement("h4");Q.textContent=V.title;const J=F(V.percentage,V.percentageTooltip,V.columnHeader,V.columnHeaderTooltip);$.appendChild(Q),$.appendChild(J.domNode),J.startup()}else $.innerHTML+=H;j.probes.some(function(Q){return!(Q.col>0)})&&i.add(P.domNode,"has-line-coverage")}if(K&&K.TaskSummaryData&&K.TaskSummaryTooltips&&K.TaskSummaryColHeaders&&K.TaskSummaryColTooltips&&P.data.features.showTaskSummary){let $=document.getElementById("TaskSummary");if($)for(;$.firstChild;)$.removeChild($.firstChild);else $=document.createElement("div"),$.setAttribute("id","TaskSummary"),W.appendChild($);const G=document.createElement("h6");G.textContent="Task Profiling Summary";const Q=JSON.parse(K.TaskSummaryData),J=JSON.parse(K.TaskSummaryTooltips),Y=JSON.parse(K.TaskSummaryColHeaders)[0],X=JSON.parse(K.TaskSummaryColTooltips)[0],Z=T(Q,J,Y,X);$.appendChild(G),$.appendChild(Z.domNode),Z.startup()}W.innerHTML&&(u.set(W,"display","block"),i.add(P.domNode,"has-coverage"))}else W.innerHTML="",i.remove(P.domNode,"has-coverage"),u.set(W,"display","none")}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({ROW_LINES:"ROW_LINES",LIGHT_WEIGHT:"LIGHT_WEIGHT",STANDARD:"STANDARD"}),m=Object.freeze({ROW_LINES:"mw-table-gridstyle-rowlines",LIGHT_WEIGHT:"mw-table-gridstyle-lightweight",COLUMN_LINES:"mw-table-gridstyle-columnlines",STANDARD:"",public_enum:y});return m},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({COL_WIDTH:82,ROW_HEIGHT:22,TOOLTIP_MIN_WIDTH:300}),m=Object.freeze({TREE_COLUMN_INDEX:0,TREE_NODE_INDENTATION:18,dimensions:y,KEY_HANDLER_NAME:"keyHandlerName",KEY_CODE:"keyCode",KEY_HANDLER:"keyHandler",PLATFORMS:"platforms",MODIFIER_KEY_LIST:"modifierKeyList",ALT_KEY:"altKey",CTRL_KEY:"ctrlKey",META:"meta",SHIFT_KEY:"shiftKey"});return m},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7),l(645),l(646),l(79),l(180),l(283),l(96),l(3)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a){"use strict";var i=function(){function u(s){m(this,u);var c=new o(s);this._viewModel=s,this._bufferedNavigation=n(c),this._unbufferedNavigation=d(c),this.getScrollTopPosition=this.getScrollTopPosition.bind(this),this.getScrollBottomPosition=this.getScrollBottomPosition.bind(this),this.getScrollLeftPosition=this.getScrollLeftPosition.bind(this),this.getScrollRightPosition=this.getScrollRightPosition.bind(this)}return y(u,[{key:"getScrollTopPosition",value:function(c,f){var p=this._viewModel.viewBuffer.rangeList[0],v=this._viewModel.getRowCount();return p.rows.count===v?this._unbufferedNavigation.getScrollTopPosition.apply(null,[c,f]):this._bufferedNavigation.getScrollTopPosition.apply(null,[c,f])}},{key:"getScrollLeftPosition",value:function(c,f){var p=this._viewModel.viewBuffer.rangeList[0],v=this._viewModel.getColumnCount();return p.columns.count===v?this._unbufferedNavigation.getScrollLeftPosition.apply(null,[c,f]):this._bufferedNavigation.getScrollLeftPosition.apply(null,[c,f])}},{key:"getScrollRightPosition",value:function(c,f,p){var v=this._viewModel.viewBuffer.rangeList[0],g=this._viewModel.getColumnCount();return v.columns.count===g?this._unbufferedNavigation.getScrollRightPosition.apply(null,[c,f,p]):this._bufferedNavigation.getScrollRightPosition.apply(null,[c,f,p])}},{key:"getScrollBottomPosition",value:function(c,f,p){var v=this._viewModel.viewBuffer.rangeList[0],g=this._viewModel.getRowCount();return v.rows.count===g?this._unbufferedNavigation.getScrollBottomPosition.apply(null,[c,f,p]):this._bufferedNavigation.getScrollBottomPosition.apply(null,[c,f,p])}},{key:"increment",value:function(c,f,p){return Math.min(p+Number(f),c)}},{key:"decrement",value:function(c,f,p){return Math.max(p-f,c)}},{key:"setCellMeta",value:function(c,f,p,v){var g=h.range().setRows(p,p).setColumns(v,v);return{scrollInPixels:{scrollLeft:f,scrollTop:c,scrollCol:v,scrollRow:p},activeRange:g}}},{key:"getCurrent",value:function(c,f){return r.maybe(c).chain(function(p){return p.currentState}).chain(function(p){return p.rangeList}).chain(function(p){return p[0]}).therefore(-1,function(p){return p[f].start})}},{key:"isInRange",value:function(c,f){return c.prev<=f.prev&&c.next>=f.next}},{key:"isNextItem",value:function(c,f){return c.next>f.prev&&c.next<=f.next}},{key:"isPreviousItem",value:function(c,f){return c.prev>f.prev&&c.prev<=f.next}},{key:"getRowPosition",value:function(c,f,p,v){var g=f[p]||{},E=t.map(g,[["top","prev"],["bottom","next"]]),D=t.map(c,[["top","prev"],["bottom","next"]]);return this.isNextItem(D,E)?this.getScrollBottomPosition(v,p,f):this.isPreviousItem(D,E)?this.getScrollTopPosition(p,f):this.isInRange(D,E)?null:this.getScrollTopPosition(p,f)}},{key:"getColPosition",value:function(c,f,p,v){var g=v[c]||{},E=t.map(g,[["left","prev"],["right","next"]]),D=t.map(f,[["left","prev"],["right","next"]]);return this.isNextItem(D,E)?this.getScrollRightPosition(p,c,v):this.isPreviousItem(D,E)?this.getScrollLeftPosition(c,v):this.isInRange(D,E)?null:this.getScrollLeftPosition(c,v)}}]),u}();return i},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h=function(){function d(n){m(this,d),this._mapping=n;for(var e in n)this[e]=n[e]}return y(d,[{key:"get",value:function(e){return this._mapping[e]}}],[{key:"map",value:function(e,t){var r={};return Array.isArray(t)&&(r=t.reduce(function(o,a){return o[a[1]]=e[a[0]],o},{})),new d(r)}}]),d}();return h},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({TOP:"TOP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",ACTIVE:"ACTIVE",FULCRUM:"FULCRUM",ROW:"ROW",COLUMN:"COLUMN"});return y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(183),l(286)],C=l.dj.d(A,function(y,m){let h={convertToClipboardItem:function(n){let e={},t=n.items||[];for(let r=0;r<t.length;r++){const o=t[r];if(o.kind==="string"){let a=o.type,i=n.getData(a);e[a]=new Blob([i],{type:a})}else if(o.kind==="file"){let a=o.type,i=o.getAsFile();e[a]=i}}return n.types.forEach(r=>{let o=n.getData(r);if(h.checkImageType(r)){let a=y.convert(o,r);e[r]=a}}),new ClipboardItem(e)},checkImageType:function(n){return!!new RegExp("^image{1}/","i").exec(n)},clipboardItemsToDataTransfer:function(n,e){let t=[];for(let r of n)t.push(h.clipboardItemToDataTransfer(r,e));return Promise.all(t).then(()=>Promise.resolve(e))},clipboardItemToDataTransfer:function(n,e){return h.clipboardItemToPromises(n).then(t=>h.clipboardItemPromisesToBlob(t)).then(t=>h.blobsToDataTransfer(t,e))},clipboardItemToPromises:function(n){return new Promise(e=>{let t=[];for(const r of n.types)t.push(n.getType(r));e(t)})},clipboardItemPromisesToBlob:function(n){return Promise.allSettled(n).then(e=>e.filter(t=>t.status==="fulfilled"))},blobsToDataTransfer:function(n,e){let t=[],r=[];for(let o of n){let a=o.value.type;r.push(a),h.checkImageType(a)?e.items.add(new File([o.value],m.convert(a),{type:a})):t.push(h.blobToText(o.value))}return Promise.all(t).then(o=>(o.forEach((a,i)=>{e.items.add(a,r[i])}),e))},blobToText:function(n){return new Promise(e=>{let t=new FileReader;t.onload=function(r){e(r.target.result)},t.readAsText(n)})},blobToBase64:function(n){return new Promise(e=>{let t=new FileReader;t.onload=function(r){e(r.target.result)},t.readAsDataURL(n)})}};return h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){const y=8;function m(e){return atob(e)}function h(e,t){return Math.min(e+y,t)}function d(e,t){for(let r=0,o=0;r<e.length;r++){let a=h(o,t.length),i=new Array(a-o);n(i,t,o),e[r]=new window.Uint8Array(i),o=a}}function n(e,t,r){for(let o=0;o<e.length;o++)e[o]=t[r+o].charCodeAt(0)}return{convert(e,t){let r=m(e.trim()),o=Math.ceil(r.length/y),a=new Array(o);return d(a,r),new window.Blob(a,{type:t})}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";let y={C:67,V:86,X:88};return{isEventRunningNow(h){return h.eventPhase!==0},isPasteEvent(h){return h.type==="paste"},isCopyEvent(h){return h.type==="copy"},isPasteKeyDown(h){return!!(h.type==="keydown"&&(h.ctrlKey||h.meta||h.metaKey)&&h.keyCode===y.V)}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){class y{constructor(h){this._events=[]}on(h,d){this._events[h]||(this._events[h]=[]),this._events[h].push(d);let n={};return n.remove=()=>{let e=this._events[h].indexOf(d);this._events[h].splice(e,1),n.remove=()=>null},n}emit(h,d={}){let n=this._events[h],e=Object.getOwnPropertyNames(d),t={};e.forEach(o=>{t[o]=d[o]}),(o=>{o&&o.forEach(a=>{a(t)})})(n)}hasListeners(h){return this._events[h]?this._events[h].length>0:!1}}return y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(70),l(80),l(287)],C=l.dj.d(A,function(y,m,h){class d{constructor(){this._cacheDataTransfer=new y}set(e){e&&(this._cacheDataTransfer=e)}clear(){this._cacheDataTransfer=new y}static clone(e){let t=new y;if(e.types.forEach(function(r){r!==h.FILES&&t.setData(r,e.getData(r))}),!e.items)return t;for(let r=0;r<e.items.length;r++){let o=e.items[r];if(o.kind===h.KIND_FILE){let a=o.getAsFile();t.items.add(a)}}return t}get(){return this._cacheDataTransfer}isEmpty(){return!this._cacheDataTransfer}validate(e){if(e.types.length===0&&e.files.length===0)return!0;let t=this.get(),r=Array.from(e.items).map(u=>u.type),o=Array.from(t.items).map(u=>u.type);return!r.every(u=>o.includes(u))||e.files.length>0&&t.files.length>0?!1:r.every(u=>{let s=e.getData(u),c=t.getData(u);return u===h.TEXT_HTML?this._validateHTML(s,c):e.getData(u)===t.getData(u)})}_validateHTML(e,t){const r=new DOMParser;let o=r.parseFromString(t,h.TEXT_HTML).body,a=this._getChildNodes(o),i=r.parseFromString(e,h.TEXT_HTML).body,u=this._getChildNodes(i);return a.length!==u.length?!1:a.every((c,f)=>{let p=u[f];return p.tagName!==c.tagName?!1:c.childNodes.length>0?!0:p.textContent===c.textContent})}_getChildNodes(e){let t=[];e instanceof window.Text&&e.textContent.trim()===""||t.push(e);for(let r=0;r<(e.childNodes&&e.childNodes.length);r++){let o=e.childNodes[r];t=t.concat(this._getChildNodes(o))}return t}mix(e){let t=new y,r=this.get(),o=new Map;for(let a=0;a<e.items.length;a++){let i=e.items[a],{kind:u,type:s}=i;o.set("".concat(u,"_").concat(s),!0),this._addItems(i,e,t)}for(let a=0;a<r.items.length;a++){let i=r.items[a],{kind:u,type:s}=i;o.has("".concat(u,"_").concat(s))||this._addItems(i,r,t)}this.set(t)}_addItems(e,t,r){let{kind:o,type:a}=e;if(o===h.KIND_FILE){let i=e.getAsFile();r.items.add(i)}else if(o===h.KIND_STRING){let i=t.getData(a);r.items.add(i,a)}}}return d},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a])}return t},m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h=function(){function t(r,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}return function(r,o,a){return o&&t(r.prototype,o),a&&t(r,a),r}}();function d(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function n(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t}function e(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}A=[l(5),l(22),l(99),l(30),l(123),l(71),l(19),l(25),l(28),l(181),l(697),l(698),l(700),l(292),l(2)],C=l.dj.d(A,function(t,r,o,a,i,u,s,c,f,p,v,g,E,D,F){"use strict";var w=function(){},x={0:"",1:"mw-table-active-selection-right-border",2:"mw-table-cell-selected",3:"",4:"",6:"mw-table-cell-selected mw-table-cell-active-range",7:"mw-table-cell-selected mw-table-cell-active-range mw-table-active-selection-right-border"},R={cells:function(){return function(){return 0}}},T=function(P){return P&o.selection.SELECTED},S=function(P){return P&o.selection.ACTIVE_SELECTED},I=function(B){e(P,B);function P(){d(this,P);var L=n(this,(P.__proto__||Object.getPrototypeOf(P)).call(this));return L.cell=F.createRef(),L._handleDoubleClick=L._handleDoubleClick.bind(L),L}return h(P,[{key:"_handleDoubleClick",value:function(O){var W=this.props,j=W.eventCallback,K=W.rowIndex,H=W.colIndex,V=W.onDoubleClick;if(j&&j(t.protected.TABLE_DBL_CLICK,O),V)return V();var $=Number(K),G=Number(H),Q={row:$,column:G};return a.emitDoubleClickEvent(j,Q)}},{key:"_handleMouseOverFunction",value:function(O,W){if(!W){var j=this.props,K=j.handleMouseOver,H=j.cellData,V=j.renderer,$=O.target,G="tableCell";K($,G,H.value,V,this.cell.current)}}},{key:"componentDidUpdate",value:function(O){if(this.props.focusClass&&(!O.focusClass||this.props.focusCached))return this.cell.current.focus()}},{key:"componentWillUnmount",value:function(){this.props.focusClass&&this.cell.current.contains(document.activeElement)&&a.setFocusCache(this.props.eventCallback)}},{key:"shouldComponentUpdate",value:function(O){var W=this.props,j=W.selectionMap,K=j===void 0?R:j,H=W.colIndex,V=W.rowIndex,$=W.additionalClass,G=W.focused,Q=G===void 0?{}:G,J=O.focused||Q,Y=O.selectionMap||R,X=[V+1,H].join(","),Z=K.cells(V)(H),q=K.cells(V+1)(H),ee=Y.cells(V)(H),re=Y.cells(V+1)(H),he=Y.cells(V-1)(H),me=K.cells(V-1)(H),se=J[X],te=Q[X];if(se!==te||he!==me||Z!==ee||q!==re||JSON.stringify(this.props.editState)!==JSON.stringify(O.editState)||JSON.stringify(this.props.editValidation)!==JSON.stringify(O.editValidation)||this.props.editProcessing!==O.editProcessing||this.props.focusCached!==O.focusCached||!s.classNameArrayEqual($,O.additionalClass)||this.props.focusClass!==O.focusClass||this.props.renderer!==O.renderer||this.props.editor!==O.editor)return!0;var oe=this.props.styleData||{},ue=O.styleData||{},ce=oe.minWidth!==ue.minWidth||oe.maxWidth!==ue.maxWidth||oe.height!==ue.height||oe.width!==ue.width,ve=this.props.cellData.isEqual(O.cellData);return!ve||ce}},{key:"_getRenderComponent",value:function(O){return!O||O.constructor&&O.constructor.name==="DefaultRenderer"?E:g}},{key:"_getResizeSelectionAffordance",value:function(O,W,j,K,H,V){var $=O.resizeSelection,G=null,Q=null,J=null,Y=null;return $&&(W&&V&&(G=v.createComponent(O,p.TOP)),j&&V&&(Q=v.createComponent(O,p.BOTTOM)),K&&V&&(J=v.createComponent(O,p.LEFT)),H&&V&&(Y=v.createComponent(O,p.RIGHT))),{resizeSelectionAffordanceTop:G,resizeSelectionAffordanceBottom:Q,resizeSelectionAffordanceLeft:J,resizeSelectionAffordanceRight:Y}}},{key:"render",value:function(){var O=this,W=this.props,j=W.rowIndex,K=W.colIndex,H=W.cellData,V=W.styleData,$=W.focusClass,G=W.selectionMap,Q=G===void 0?R:G,J=W.focused,Y=J===void 0?{}:J,X=W.renderMetaData,Z=W.groupAttr,q=W.additionalClass,ee=W.handleEditComplete,re=W.handleEditCanceled,he=W.handleEditValidation,me=W.handleProcessEdit,se=W.editTrigger,te=W.editState,oe=W.renderer,ue=W.editor,ce=W.editProcessing,ve=W.onClick,Se=ve===void 0?w:ve,Be=W.eventCallback,ke=W.useEditorRendererDataFields,Ge=W.editorMetaData;if((typeof V=="undefined"?"undefined":m(V))!=="object"&&(V={}),(typeof H=="undefined"?"undefined":m(H))!=="object"||!H.hasOwnProperty("isEqual"))throw new Error("cellData property requires an isEqual function.");var rt=Q.cells(j)(K),ut=this._getRenderComponent(oe),ht=x[rt],dt=["mw-table-cell-clean-focus",i.getBaseStyle(this.props),$,ht,q],Tt=i.getCellType(this.props),Ot=Q.cells(j-1)(K),Ct=Q.cells(j+1)(K),jt=Q.cells(j)(K-1),Lt=Q.cells(j)(K+1),Qt=[j+1,K].join(","),bt=S(rt),pt=T(rt),Bt=S(Ot),kt=T(Ct),sn=S(Ct),st=S(jt),At=S(Lt),Ut=T(Lt),Vt=bt&&!Bt,le=pt^kt||bt^sn||bt&&!kt,De=bt&&!st,ie=pt^Ut||bt^At||bt&&!Ut;Vt&&dt.push("mw-table-selection-top-edge"),le&&dt.push("mw-table-selection-bottom-edge"),Y[Qt]&&dt.push("mw-table-focus-edge"),u.isStrikeThrough(H)&&dt.push("mw-table-cell-strike-through"),c.isInteractive(X)&&c.isReadOnly(X)&&dt.push("mw-table-cell-interactive-readonly");var ge=V&&V.minWidth?V.minWidth:r.dimensions.COL_WIDTH;ge<r.dimensions.COLLAPSE_COLUMN_AFFORDANCE_MIN&&dt.push("mw-table-cell-collapsecolumn");var Ae=!1;te&&te.rowIndex===j&&te.colIndex===K&&(Ae=!0);var we=$?"-1":null,Ne=oe&&oe.getAriaLabel?oe.getAriaLabel(H.value):null,He=this._getResizeSelectionAffordance(this.props,Vt,le,De,ie,bt),tt=He.resizeSelectionAffordanceTop,Xe=He.resizeSelectionAffordanceBottom,it=He.resizeSelectionAffordanceLeft,Nt=He.resizeSelectionAffordanceRight;return F.createElement("td",y({ref:this.cell,style:V,role:"gridcell","data-row":j,"aria-colindex":K,"data-edit":!!te,"data-col":K,"data-cell-type":Tt},c.isReadOnly(X)?{"aria-readonly":X.readonly}:null,{tabIndex:we,"aria-label":Ne,"group-attr":Z,onClick:Se,onDoubleClick:this._handleDoubleClick,onContextMenu:function(Gt){return a.handleContextmenu(Gt,O.props,f.TABLE_CELL)},onMouseOver:function(Gt){return O._handleMouseOverFunction(Gt,Ae)},className:dt.join(" ")}),Ae?F.createElement(D,{value:H.value,CustomEditor:ue,eventCallback:Be,handleEditCanceled:re,handleEditComplete:ee,handleEditValidation:he,handleProcessEdit:me,editProcessing:ce,editTrigger:se,useEditorRendererDataFields:ke,metaData:Ge,cellRef:this.cell.current}):F.createElement(ut,{value:H.value,eventCallback:Be,metaData:X,noToolTip:!0,renderer:oe,useEditorRendererDataFields:ke,typeOfCell:"mw-table"}),!Ae&&tt!==null&&tt,!Ae&&Xe!==null&&Xe,!Ae&&it!==null&&it,!Ae&&Nt!==null&&Nt)}}]),P}(F.Component);return I},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return function(){var y=[];return{own:function(h,d){var n=h;d&&(n={remove:function(){h[d].call(h)}}),y.push(n)},remove:function(){y.forEach(function(h){h.remove()}),y=[]}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(82)],C=l.dj.d(A,function(y){return{isActiveState:function(h){return h===y.RECOGNIZED||h===y.CANCELLED||h===y.BEGAN||h===y.PROGRESS},isEndedState:function(h){return h===y.RECOGNIZED||h===y.CANCELLED},isWaitingState:function(h){return h===y.WAITING},isInactiveState:function(h){return h===y.INACTIVE},isPossibleState:function(h){return h===y.POSSIBLE},hasBegun:function(h){return h===y.BEGAN||h===y.PROGRESS},isDisabledState:function(h){return h===y.DISABLED}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{DIRECTION_UP:"up",DIRECTION_RIGHT:"right",DIRECTION_DOWN:"down",DIRECTION_LEFT:"left",DIRECTION_NONE:"none"}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return function(y,m){var h=!1,d=0,n=void 0,e=-1;function t(a){h=!0,e=window.setTimeout(function(){y.apply(null,n),d=Date.now(),h=!1},a)}function r(){clearTimeout(e),h=!1,n=void 0,e=-1}function o(){n=arguments;var a=m-(Date.now()-d);a<=0||a>m?(y.apply(null,arguments),d=Date.now(),window.clearTimeout(e),h=!1):h||t(a)}return o.cancel=r,o}},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(5),l(3),l(22),l(81),l(28),l(742),l(743),l(745),l(747),l(748),l(99),l(749),l(30),l(123),l(126),l(2)],C=l.dj.d(A,function(e,t,r,o,a,i,u,s,c,f,p,v,g,E,D,F){var w="mwTableSortAffordance",x=function(j){var K=j?j.closest("div"):null;return K&&K.className===w},R=function(j,K){var H=K.headerRenderer;return H&&typeof H.getDomNode=="function"?{headerRenderer:H}:{}},T=function(){var W={};return W[p.selection.SELECTED]="mw-table-header-col-selected",W}(),S=function(j){return T[j]||""},I=function(){return F.createElement("div",{className:"mwTableHeaderAffordancePlaceholder"})},B=function(j){var K=j.headerMeta,H=K===void 0?{}:K,V=j.eventCallback,$=j.sortable,G=j.clearSort,Q=j.colIndex,J=j.sorted,Y=j.colStartIndex,X=j.colEndIndex,Z=j.cellEditState,q=H.sortType,ee=H.sortFirst,re=w;if($&&q)return F.createElement(s,{key:"sort."+Q,sortClass:re,colIndex:Q,colStartIndex:Y,cellEditState:Z,colEndIndex:X,eventCallback:V,sortType:q,sortFirst:ee,sorted:J,clearSort:G})},P=function(j){var K=j.colResize,H=j.eventCallback,V=j.logicalColWidth,$=j.colIndex,G=j.headerMeta,Q=j.colIndexEnd,J=j.styleData,Y=j.fillContainerWidth,X=j.collapseColumn,Z=j.range,q=Z===void 0?{}:Z,ee=K;if(!ee)return F.createElement(I,{key:"resize."+$+"."+Q});G.resizable!==void 0&&(ee=G.resizable);var re=D.getColRangeIndicesForView($,G,Q,q.start),he=J&&J.width&&J.width.includes("%"),me=J&&J.minWidth?J.minWidth:V;return F.createElement(u,{key:"resize."+re.startIndex,rightOnly:Y,colIndex:re.startIndex,colIndexEnd:re.endIndex,eventCallback:H,logicalColWidth:V,colWidth:me,collapseColumn:X,shouldReportHeaderWidth:he,isResizable:ee})},L=function(j){var K=j.eventCallback,H=j.colMenuAffordance,V=j.sorted,$=j.colIndex,G=j.headerMeta,Q=G===void 0?{}:G,J=j.colIndexEnd,Y=j.range,X=Y===void 0?{}:Y,Z=Q.headerMenu,q=D.getColRangeIndicesForView($,Q,J,X.start);if(H&&Z)return F.createElement(c,{key:"menu."+q.startIndex,colIndex:q.startIndex,colStartIndex:q.startIndex,colEndIndex:q.endIndex,eventCallback:K,sorted:V})},O=function(W){n(j,W);function j(K){h(this,j);var H=d(this,(j.__proto__||Object.getPrototypeOf(j)).call(this));H._handleMouseEnter=H._handleMouseEnter.bind(H),H._handleMouseDown=H._handleMouseDown.bind(H);var V=R(void 0,K),$=V.headerRenderer;return H.state={headerRenderer:$||new i},H._handleContextmenu=H._handleContextmenu.bind(H),H.handleDragState=H.handleDragState.bind(H),H}return m(j,[{key:"componentDidMount",value:function(){this.props.displayColumnIndexOnly||this.renderNode.appendChild(this.state.headerRenderer.getDomNode(this.props.name))}},{key:"componentWillReceiveProps",value:function(H){var V=H.headerRenderer;V!==this.state.headerRenderer&&this.setState(R)}},{key:"componentDidUpdate",value:function(H,V){if(this.state.headerRenderer!==V.headerRenderer||this.props.name!==H.name){var $=this.props.displayColumnIndexOnly?this.renderNode:this.renderNode.firstChild;E.replaceFirstNode(this.renderNode,this.state.headerRenderer.getDomNode(this.props.name),$)}}},{key:"_handleMouseEnter",value:function(H){var V=this,$=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a.COLUMN_HEADER,G=this.props,Q=G.colIndex,J=G.name,Y=G.id,X=g.getTargetNode(a.COLUMN_HEADER,H.target,this.renderNode,this.state.headerRenderer);if(!this.state.dragInProgress&&this.state.headerRenderer.getTooltip&&(this.state.headerRenderer.showTooltip||g.isElementOverflow(X))){var Z=$===a.COLUMN_HEADER?Q:Y;this.props.eventCallback(e.protected.NODE_NOTIFY,{publisherFn:function(){return{node:H.target,id:$+Z,content:V.state.headerRenderer.getTooltip(J).text,className:"mw-table-header-column"}},publisherId:t.protected.publisher.CELL_ENTER,noRender:!0})}}},{key:"_handleContextmenu",value:function(H){var V=this.props,$=V.eventCallback,G=V.rowIndex,Q=V.colIndex,J=V.colIndexEnd,Y={type:a.COLUMN_HEADER,rowIndex:G,colIndex:Q,colEnd:J};return g.eventCallbackForContextMenu(H,$,Y)}},{key:"_handleDoubleClick",value:function(){}},{key:"_handleMouseDown",value:function(H){if(!g.isSyntheticRightClick(H)){var V=this.props,$=V.colIndex,G=V.headerMeta,Q=V.colIndexEnd,J=V.range,Y=J===void 0?{}:J;if(!($<0)&&!x(H.target)){var X=D.isGroupColumn(G),Z=D.getColRangeIndicesForView($,G,Q,Y.start);this.props.eventCallback(e.protected.COL_HEADER_CLICK,{column:Z.startIndex,columnEnd:Z.endIndex,groupedSelection:X,meta:H.metaKey,ctrlKey:H.ctrlKey,shiftKey:H.shiftKey,altKey:H.altKey})}}}},{key:"handleDragState",value:function(H){this.setState({dragInProgress:H}),this.props.eventCallback(e.internal.DRAG_STARTED,{columnDragStarted:H})}},{key:"_isWidthCollapsed",value:function(H,V){var $=H.styleData,G=H.collapseColumn,Q=H.logicalColWidth;if(!G)return!1;var J=$&&$.minWidth?$.minWidth:Q,Y=V||J;return Y<r.dimensions.COLLAPSE_COLUMN_AFFORDANCE_MIN}},{key:"_makeDragIcon",value:function(){var H="column",V=this.props,$=V.setAvatar,G=V.canDrop,Q=V.widgetType,J=V.treeColumnIndex,Y=V.colIndex,X=V.name,Z=V.columnId,q=V.headerMeta;return F.createElement(v,{avatarDefaultLabel:X,setAvatar:$,dropType:H,colIndex:Y,columnId:Z,headerMeta:q,scrollNode:this.props.scrollNodeIntoView.getScrollNode(),eventCallback:this.props.eventCallback,onDragAction:this.handleDragState,canDrop:G,widgetType:Q,treeColumnIndex:J})}},{key:"render",value:function(){var H=this,V=this.props,$=V.cellEditState,G=V.styleData,Q=V.colEditState,J=V.colIndex,Y=V.headerMeta,X=V.range,Z=X===void 0?{}:X,q=V.colIndexEnd,ee=V.columnId,re=V.dragColumns,he=V.colSelectionMap,me=he===void 0?function(){return 0}:he,se=V.displayColumnIndex,te=V.columnHeaderIndex,oe=V.displayColumnIndexOnly,ue=this.colHeaderNode&&this.colHeaderNode.offsetWidth?this.colHeaderNode.offsetWidth:0,ce=this._isWidthCollapsed(this.props,ue);te=te||Y&&Y.columnHeaderIndex;for(var ve=[],Se=["mw-table-header-column","mw-table-flex-container"],Be=0,ke=!0,Ge=J;Ge<=q;Ge+=1)if(Be=me(Ge),Be<=0){ke=!1;break}ke&&Se.push(S(Be)),(typeof G=="undefined"?"undefined":y(G))!=="object"&&(G={position:"relative"});var rt=J===0?"mw-table-no-left-border":"mw-table-left-border";Se.push(rt),ce||ve.push(L(this.props)||B(this.props)),ve.push(P(this.props));var ut=[];ce||re&&ut.push(this._makeDragIcon());var ht=D.getColRangeIndicesForView(J,Y,q,Z.start),dt=$?"true":"false",Tt=oe?[]:["mw-table-header-label-container"];ce&&(Tt=["mw-table-header-label-container-collapsecolumn"],Se.push("mw-table-header-collapsecolumn"));var Ot=["mw-table-header-label"];return se&&(Tt.push("mw-table-header-index-container"),Ot.push("mw-text-center")),F.createElement("th",{role:"columnheader",scope:"col",ref:function(jt){H.colHeaderNode=jt},"data-col-index":ht.startIndex,"data-col-index-end":ht.endIndex,"data-edit-state":Q,"cell-edit-state":dt,"data-column-id":ee,style:G,onMouseDown:this._handleMouseDown,onContextMenu:this._handleContextmenu,className:Se.join(" ")},ut,F.createElement("div",{className:Tt.join(" ")},F.createElement(f,{columnHeaderIndex:te,displayColumnIndex:se}),oe?null:F.createElement("div",{ref:function(jt){H.renderNode=jt},"data-test-id":o.HEADER_LABEL,onMouseEnter:this._handleMouseEnter,onDoubleClick:this._handleDoubleClick,className:Ot.join(" ")})),ve)}}]),j}(F.Component);return O},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(m){for(var h=1;h<arguments.length;h++){var d=arguments[h];for(var n in d)Object.prototype.hasOwnProperty.call(d,n)&&(m[n]=d[n])}return m};A=[l(30),l(2)],C=l.dj.d(A,function(m,h){"use strict";var d=function(e,t){return function(r){var o=r.eventCallback,a=r.rowIndex,i=r.colIndex,u=r.colEnd,s=r.handleEditComplete,c=!!s,f=function(v){var g={type:t,colEnd:u,rowIndex:a,colIndex:i,isEditable:c};return m.eventCallbackForContextMenu(v,o,g)};return h.createElement(e,y({},r,{onContextMenu:f}))}};return d},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(10),l(11),l(14)],C=l.dj.d(A,function(y,m,h){return{init:d,render:n,refresh:e};function d(t){t.profiling&&t.profiling.proInfo.forEach(function(r){r.FileNames.forEach(function(a,i){const u=t.files.get(a);if(u){u.profiling||(u.profiling=[]);const s=r.LineNumbers[i];let c;s[1]-s[0]===2?c=s[0]+1:c=s[0],u.profiling.push(c);const p=u.codeList[c-1];p&&(p.profiling=r,p.TimerTicksPerSecond=t.profiling.TimerTicksPerSecond)}})})}function n(t,r){if(!window.cr.config.cpOn)return;const a=t.querySelector(".head"),i=y.create("cp");y.place(i,a,"first");const u=r.profiling;if(!u)return;const s=r.TimerTicksPerSecond,c=y.create("cp_num",{class:"cp-entry",title:"Average execution time"},i),f=y.create("cp_calls",{class:"cp-entry",title:"Number of calls"},i);m.add(t,"cp");const p=u.TotalExecutionTimeInTicks/u.NumCalls/s,v=p<1||p>99999?p.toExponential(2):p.toFixed(0);c.setAttribute("num",v);const g=u.NumCalls.toString();f.setAttribute("calls",g)}function e(){const t=window.cr;t.config.cpOn?m.add(t.domNode,"show-profiling"):m.remove(t.domNode,"show-profiling");const r=t.data.currentFile;t.data.files.get(r).profiling?m.add(t.domNode,"has-profiling"):m.remove(t.domNode,"has-profiling")}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";function y(t,r,o,a,i,u){this.indented=t,this.column=r,this.type=o,this.info=a,this.align=i,this.prev=u}function m(t,r,o,a){var i=t.indented;return t.context&&t.context.type=="statement"&&o!="statement"&&(i=t.context.indented),t.context=new y(i,r,o,a,null,t.context)}function h(t){var r=t.context.type;return(r==")"||r=="]"||r=="}")&&(t.indented=t.context.indented),t.context=t.context.prev}function d(t,r,o){if(r.prevToken=="variable"||r.prevToken=="variable-3"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(t.string.slice(0,o))||r.typeAtEndOfLine&&t.column()==t.indentation())return!0}function n(t){for(;;){if(!t||t.type=="top")return!0;if(t.type=="}"&&t.prev.info!="namespace")return!1;t=t.prev}}var e=function(r){r.defineMode("clike",function(w,x){var R=w.indentUnit,T=x.statementIndentUnit||R,S=x.dontAlignCalls,I=x.keywords||{},B=x.types||{},P=x.builtin||{},L=x.blockKeywords||{},O=x.defKeywords||{},W=x.atoms||{},j=x.hooks||{},K=x.multiLineStrings,H=x.indentStatements!==!1,V=x.indentSwitch!==!1,$=x.namespaceSeparator,G=x.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,Q=x.numberStart||/[\d\.]/,J=x.numberTokenizer||te,Y=x.isOperatorChar||/[+\-*&%=<>!?|\/\^~]/,X=x.validOperators||/^(?:=|\+=|-=|\*=|\/=|%=|&=|\|=|\^=|<<=|>>=|\+\+|--|\+|-|\*+|\/|%|~|&+|\||\^|<<|>>|!+|\|\||==|!=|<|>|<=|>=|->|\?|:)$/,Z=x.isIdentifierChar||/[\w\$_\xa1-\uffff]/,q,ee;function re(ue,ce){var ve=ue.next();if(j[ve]){var Se=j[ve](ue,ce);if(Se!==!1)return Se}if(ve=='"'||ve=="'")return ce.tokenize=he(ve),ce.tokenize(ue,ce);if(G.test(ve))return q=ve,null;if(Q.test(ve))return ue.backUp(1),J(ue,ce);if(ve=="/"){if(ue.eat("*"))return ce.tokenize=me,me(ue,ce);if(ue.eat("/"))return ue.skipToEnd(),"comment"}if(Y.test(ve))return ue.backUp(1),se(ue,ce);if(ue.eatWhile(Z),$)for(;ue.match($);)ue.eatWhile(Z);var Be=ue.current();return a(I,Be)?(a(L,Be)&&(q="newstatement"),a(O,Be)&&(ee=!0),"keyword"):a(B,Be)?"variable-3":a(P,Be)?(a(L,Be)&&(q="newstatement"),"builtin"):a(W,Be)?"atom":Z.test(ve)?"variable":(ue.backUp(Be.length-1),"invalid_character")}function he(ue){return function(ce,ve){for(var Se=!1,Be,ke=!1;(Be=ce.next())!=null;){if(Be==ue&&!Se){ke=!0;break}Se=!Se&&Be=="\\"}return(ke||!(Se||K))&&(ve.tokenize=null),ue=='"'?"string":"string-2"}}function me(ue,ce){for(var ve=!1,Se;Se=ue.next();){if(Se=="/"&&ve){ce.tokenize=null;break}ve=Se=="*"}return"comment"}function se(ue,ce){for(var ve="";!ue.match(/^\/[\/*]/,!1)&&ue.match(Y,!1);)ve+=ue.next();return X.test(ve)?"operator":"invalid_operator"}function te(ue,ce){var ve=ue.next();if(ve==="0")if(ue.eat(/x/i)){var Se=ue.match(/^(?:(?:(?:(?:[0-9a-f]+\.?[0-9a-f]*)|(?:[0-9a-f]*\.?[0-9a-f]+))p[+\-]?[0-9]+[fl]?)|(?:[0-9a-f]+(?:u|l|ll)?))/i);if(!Se)return"incomplete_hex_number"}else if(ue.eat(/b/i)){var Be=ue.match(/^[01]+(?:u|l|ll)?/i);if(!Be)return"incomplete_bin_number"}else ue.backUp(1),ue.match(/^(?:(?:(?:(?:[0-9]+\.?[0-9]*)|(?:[0-9]*\.?[0-9]+))(?:e[+\-]?[0-9]+)?[fl]?)|(?:[0-7]*(?:u|l|ll)?))/i);else ue.backUp(1),ue.match(/^(?:(?:(?:(?:[0-9]+\.?[0-9]*)|(?:[0-9]*\.?[0-9]+))(?:e[+\-]?[0-9]+)?[fl]?)|(?:[1-9][0-9]*(?:u|l|ll)?))/i);var ke=ue.peek();return ke&&/\w|\./i.test(ke)?(ue.match(/^(?:\w|\.)*/),"invalid_number"):"number"}function oe(ue,ce){x.typeFirstDefinitions&&ue.eol()&&n(ce.context)&&(ce.typeAtEndOfLine=d(ue,ce,ue.pos))}return{startState:function(ue){return{tokenize:null,context:new y((ue||0)-R,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(ue,ce){var ve=ce.context;if(ue.sol()&&(ve.align==null&&(ve.align=!1),ce.indented=ue.indentation(),ce.startOfLine=!0),ue.eatSpace())return oe(ue,ce),null;q=ee=null;var Se=(ce.tokenize||re)(ue,ce);if(Se=="comment"||Se=="meta")return Se;if(ve.align==null&&(ve.align=!0),q==":"&&(ce.currentSwitchIndentAmount=ce.indented+R),q==";"&&(ce.currentSwitchIndentAmount=ce.indented),q==";"||q==":"||q==","&&ue.match(/^\s*(?:\/\/.*)?$/,!1))for(;ce.context.type=="statement";)h(ce);else if(q=="{")m(ce,ue.column(),"}");else if(q=="[")m(ce,ue.column(),"]");else if(q=="(")m(ce,ue.column(),")");else if(q=="}"){for(;ve.type=="statement";)ve=h(ce);for(ve.type=="}"&&(ve=h(ce));ve.type=="statement";)ve=h(ce)}else q==ve.type?h(ce):H&&((ve.type=="}"||ve.type=="top")&&q!=";"||ve.type=="statement"&&q=="newstatement")&&m(ce,ue.column(),"statement",ue.current());if(Se=="variable"&&(ce.prevToken=="def"||x.typeFirstDefinitions&&d(ue,ce,ue.start)&&n(ce.context)&&ue.match(/^\s*\(/,!1))&&(Se="def"),j.token){var Be=j.token(ue,ce,Se);Be!==void 0&&(Se=Be)}return Se=="def"&&x.styleDefs===!1&&(Se="variable"),ce.startOfLine=!1,ce.prevToken=ee?"def":Se||q,oe(ue,ce),Se},indent:function(ue,ce){if(ue.tokenize!=re&&ue.tokenize!=null||ue.typeAtEndOfLine)return r.Pass;var ve=ue.context,Se=ce&&ce.charAt(0);if(ve.type=="statement"&&Se=="}"&&(ve=ve.prev),x.dontIndentStatements)for(;ve.type=="statement"&&x.dontIndentStatements.test(ve.info);)ve=ve.prev;if(j.indent){var Be=j.indent(ue,ve,ce);if(typeof Be=="number")return Be}var ke=Se==ve.type,Ge=ve.prev&&ve.prev.info=="switch";if(x.allmanIndentation&&/[{(]/.test(Se)){for(;ve.type!="top"&&ve.type!="}";)ve=ve.prev;return ve.indented}return ve.type=="statement"?ve.indented+(Se=="{"?0:T):ve.align&&(!S||ve.type!=")")?ve.column+(ke?0:1):ve.type==")"&&!ke?ve.indented+T:/^(?:case|default)\b/.test(ce)&&Ge?ve.prev.indented+R:Ge&&Se!=="}"?ue.currentSwitchIndentAmount:ve.indented+(ke?0:R)},electricInput:V?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});function o(w){for(var x={},R=w.split(" "),T=0;T<R.length;++T)x[R[T]]=!0;return x}function a(w,x){return typeof w=="function"?w(x):w.propertyIsEnumerable(x)}var i="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",u="int long char short double float unsigned signed void size_t ptrdiff_t";function s(w,x){if(!x.startOfLine)return!1;for(var R,T=null;R=w.peek();){if(R=="\\"&&w.match(/^.$/)){T=s;break}else if(R=="/"&&w.match(/^\/[\/\*]/,!1))break;w.next()}return x.tokenize=T,"meta"}function c(w,x){return x.prevToken=="variable-3"?"variable-3":w.eat("/")?"invalid_comment_end":!1}function f(w,x){return w.eol()?null:"invalid_backslash"}function p(w,x){if(w.backUp(1),w.match(/(R|u8R|uR|UR|LR)/)){var R=w.match(/"([^\s\\()]{0,16})\(/);return R?(x.cpp11RawStringDelim=R[1],x.tokenize=E,E(w,x)):!1}return w.match(/(u8|u|U|L)/)?w.match(/["']/,!1)?"string":!1:(w.next(),!1)}function v(w){var x=/(\w+)::~?(\w+)$/.exec(w);return x&&x[1]==x[2]}function g(w,x){for(var R;(R=w.next())!=null;)if(R=='"'&&!w.eat('"')){x.tokenize=null;break}return"string"}function E(w,x){var R=x.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),T=w.match(new RegExp(".*?\\)"+R+'"'));return T?x.tokenize=null:w.skipToEnd(),"string"}function D(w,x){typeof w=="string"&&(w=[w]);var R=[];function T(I){if(I)for(var B in I)I.hasOwnProperty(B)&&R.push(B)}T(x.keywords),T(x.types),T(x.builtin),T(x.atoms),R.length&&(x.helperType=w[0],r.registerHelper("hintWords",w[0],R));for(var S=0;S<w.length;++S)r.defineMIME(w[S],x)}D(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:o(i),types:o(u+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:o("case do else for if switch while struct"),defKeywords:o("struct"),typeFirstDefinitions:!0,atoms:o("null true false"),hooks:{"#":s,"*":c,"\\":f},modeProps:{fold:["brace","include"]}});var F=" and and_eq atomic_cancel atomic_commit atomic_noexcept bitand bitor char16_t char32_t compl concept export import module not not_eq or or_eq requires synchronized xor xor_eq";D(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:o(i+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"+F),types:o(u+" bool wchar_t"),blockKeywords:o("catch class do else finally for if struct switch try while"),defKeywords:o("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:o("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":s,"*":c,"\\":f,u:p,U:p,L:p,R:p,token:function(w,x,R){if(R=="variable"&&w.peek()=="("&&(x.prevToken==";"||x.prevToken==null||x.prevToken=="}")&&v(w.current()))return"def"}},numberTokenizer:function(w,x){var R=w.next();if(R==="0")if(w.eat(/x/i)){var T=w.match(/^(?:(?:(?:(?:[0-9a-f']+\.?[0-9a-f']*)|(?:[0-9a-f']*\.?[0-9a-f']+))p[+\-]?[0-9']+(?:ul{0,2}|l{0,2}u?)?)|(?:[0-9a-f']+l?))/i);if(!T)return"incomplete_hex_number"}else if(w.eat(/b/i)){var S=w.match(/^[01']+l?/i);if(!S)return"incomplete_bin_number"}else w.backUp(1),w.match(/^(?:(?:(?:(?:[0-9']+\.?[0-9']*)|(?:[0-9']*\.?[0-9']+))(?:e[+\-]?[0-9']+)?(?:ul{0,2}|l{0,2}u?)?)|(?:[0-7']*l?))/i);else w.backUp(1),w.match(/^(?:(?:(?:(?:[0-9']+\.?[0-9']*)|(?:[0-9']*\.?[0-9']+))(?:e[+\-]?[0-9']+)?(?:ul{0,2}|l{0,2}u?)?)|(?:[1-9'][0-9']*l?))/i);var I=w.peek();return I&&/\w|\./i.test(I)?(w.match(/^(?:\w|\.)*/),"invalid_number"):"number"},namespaceSeparator:"::",modeProps:{fold:["brace","include"]},validOperators:/^(?:=|\+=|-=|\*=|\/=|%=|&=|\|=|\^=|<<=|>>=|\+\+|--|\+|-|>*\*+>*|\/|%|~|>*&+>*|\||\^|<<|>>|!+|\|\||==|!=|<|>|<=|>=|<=>|->\**|\?|:)$/}),D("text/x-java",{name:"clike",keywords:o("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:o("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:o("catch class do else finally for if switch try while"),defKeywords:o("class interface package enum @interface"),typeFirstDefinitions:!0,atoms:o("true false null"),numberTokenizer:function(w,x){var R=w.next();if(R==="0")if(w.eat(/x/i)){var T=w.match(/^(?:(?:(?:(?:[0-9a-f_]+\.?[0-9a-f_]*)|(?:[0-9a-f_]*\.?[0-9a-f_]+))p[+\-]?[0-9_]+[fd]?)|(?:[0-9a-f_]+l?))/i);if(!T)return"incomplete_hex_number"}else if(w.eat(/b/i)){var S=w.match(/^[01_]+l?/i);if(!S)return"incomplete_bin_number"}else w.backUp(1),w.match(/^(?:(?:(?:(?:[0-9_]+\.?[0-9_]*)|(?:[0-9_]*\.?[0-9_]+))(?:e[+\-]?[0-9_]+)?[fd]?)|(?:[0-7_]*l?))/i);else w.backUp(1),w.match(/^(?:(?:(?:(?:[0-9_]+\.?[0-9_]*)|(?:[0-9_]*\.?[0-9_]+))(?:e[+\-]?[0-9_]+)?[fd]?)|(?:[1-9_][0-9_]*l?))/i);var I=w.peek();return I&&/\w|\./i.test(I)?(w.match(/^(?:\w|\.)*/),"invalid_number"):"number"},hooks:{"@":function(w){return w.match("interface",!1)?!1:(w.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]},validOperators:/^(?:=|>|<|!+|~|<*\?>*|:|->|==|>=|<=|!=|&&|\|\||\+\+|--|\+|-|\*|\/|&|\||\^|%|<<|>>|>>>|\+=|-=|\*=|\/=|&=|\|=|\^=|%=|<<=|>>=|>>>=)$/}),D("text/x-csharp",{name:"clike",keywords:o("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:o("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:o("catch class do else finally for foreach if struct switch try while"),defKeywords:o("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:o("true false null"),hooks:{"@":function(w,x){return w.eat('"')?(x.tokenize=g,g(w,x)):(w.eatWhile(/[\w\$_]/),"meta")}}})};return e},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(0),l(9),l(61)],C=l.dj.d(A,function(y,m,h,d){return y("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(n){var e=this._attrPairNames;return e[n]?e[n]:e[n]={s:"_"+n+"Setter",g:"_"+n+"Getter"}},postscript:function(n){n&&this.set(n)},_get:function(n,e){return typeof this[e.g]=="function"?this[e.g]():this[n]},get:function(n){return this._get(n,this._getAttrNames(n))},set:function(n,e){if(typeof n=="object"){for(var t in n)n.hasOwnProperty(t)&&t!="_watchCallbacks"&&this.set(t,n[t]);return this}var r=this._getAttrNames(n),o=this._get(n,r),a=this[r.s],i;if(typeof a=="function"?i=a.apply(this,Array.prototype.slice.call(arguments,1)):this[n]=e,this._watchCallbacks){var u=this;d(i,function(){u._watchCallbacks(n,o,e)})}return this},_changeAttrValue:function(n,e){var t=this.get(n);return this[n]=e,this._watchCallbacks&&this._watchCallbacks(n,t,e),this},watch:function(n,e){var t=this._watchCallbacks;if(!t){var r=this;t=this._watchCallbacks=function(i,u,s,c){var f=function(p){if(p){p=p.slice();for(var v=0,g=p.length;v<g;v++)p[v].call(r,i,u,s)}};f(t["_"+i]),c||f(t["*"])}}!e&&typeof n=="function"?(e=n,n="*"):n="_"+n;var o=t[n];typeof o!="object"&&(o=t[n]=[]),o.push(e);var a={};return a.unwatch=a.remove=function(){var i=h.indexOf(o,e);i>-1&&o.splice(i,1)},a}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(139),l(39),l(1),l(0)],C=l.dj.d(A,function(y,m,h,d){return d.extend(m,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}}),h("dijit._FocusMixin",null,{_focusManager:y})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(1),l(10),l(6)],C=l.dj.d(A,function(y,m,h,d){return m("dijit._Container",null,{buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode)},addChild:function(n,e){var t=this.containerNode;if(e>0){for(t=t.firstChild;e>0;)t.nodeType==1&&e--,t=t.nextSibling;t?e="before":(t=this.containerNode,e="last")}h.place(n.domNode,t,e),this._started&&!n._started&&n.startup()},removeChild:function(n){if(typeof n=="number"&&(n=this.getChildren()[n]),n){var e=n.domNode;e&&e.parentNode&&e.parentNode.removeChild(e)}},hasChildren:function(){return this.getChildren().length>0},_getSiblingOfChild:function(n,e){var t=this.getChildren(),r=y.indexOf(t,n);return t[r+e]},getIndexOfChild:function(n){return y.indexOf(this.getChildren(),n)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(35)],C=l.dj.d(A,function(y,m){return y("dijit._Contained",null,{_getSibling:function(h){var d=this.getParent();return d&&d._getSiblingOfChild&&d._getSiblingOfChild(this,h=="previous"?-1:1)||null},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var h=this.getParent();return!h||!h.getIndexOfChild?-1:h.getIndexOfChild(this)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(0),l(87),l(198),l(344),l(56),l(144),l(9),l(1),l(40),l(12),l(34),l(10),l(109),l(62),l(61),l(353)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p){return o("dijit.layout.ContentPane",[h,d,n],{href:"",content:"",extractContent:!1,parseOnLoad:!0,parserScope:y._scopeName,preventCache:!1,preload:!1,refreshOnShow:!1,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:!1,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:!0,template:!1,markupFactory:function(v,g,E){var D=new E(v,g);return!D.href&&D._contentSetter&&D._contentSetter.parseDeferred&&!D._contentSetter.parseDeferred.isFulfilled()?D._contentSetter.parseDeferred.then(function(){return D}):D},create:function(v,g){if((!v||!v.template)&&g&&!("href"in v)&&!("content"in v)){g=i.byId(g);for(var E=g.ownerDocument.createDocumentFragment();g.firstChild;)E.appendChild(g.firstChild);v=m.delegate(v,{content:E})}this.inherited(arguments,[v,g])},postMixInProperties:function(){this.inherited(arguments);var v=f.getLocalization("dijit","loading",this.lang);this.loadingMessage=e.substitute(this.loadingMessage,v),this.errorMessage=e.substitute(this.errorMessage,v)},buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode),this.domNode.removeAttribute("title")},startup:function(){this.inherited(arguments),this._contentSetter&&r.forEach(this._contentSetter.parseResults,function(v){!v._started&&!v._destroyed&&m.isFunction(v.startup)&&(v.startup(),v._started=!0)},this)},_startChildren:function(){r.forEach(this.getChildren(),function(v){!v._started&&!v._destroyed&&m.isFunction(v.startup)&&(v.startup(),v._started=!0)}),this._contentSetter&&r.forEach(this._contentSetter.parseResults,function(v){!v._started&&!v._destroyed&&m.isFunction(v.startup)&&(v.startup(),v._started=!0)},this)},setHref:function(v){return y.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0"),this.set("href",v)},_setHrefAttr:function(v){return this.cancel(),this.onLoadDeferred=new a(m.hitch(this,"cancel")),this.onLoadDeferred.then(m.hitch(this,"onLoad")),this._set("href",v),this.preload||this._created&&this._isShown()?this._load():this._hrefChanged=!0,this.onLoadDeferred},setContent:function(v){y.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0"),this.set("content",v)},_setContentAttr:function(v){return this._set("href",""),this.cancel(),this.onLoadDeferred=new a(m.hitch(this,"cancel")),this._created&&this.onLoadDeferred.then(m.hitch(this,"onLoad")),this._setContent(v||""),this._isDownloaded=!1,this.onLoadDeferred},_getContentAttr:function(){return this.containerNode.innerHTML},cancel:function(){this._xhrDfd&&this._xhrDfd.fired==-1&&this._xhrDfd.cancel(),delete this._xhrDfd,this.onLoadDeferred=null},destroy:function(){this.cancel(),this.inherited(arguments)},destroyRecursive:function(v){this._beingDestroyed||this.inherited(arguments)},_onShow:function(){if(this.inherited(arguments),this.href&&!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow))return this.refresh()},refresh:function(){return this.cancel(),this.onLoadDeferred=new a(m.hitch(this,"cancel")),this.onLoadDeferred.then(m.hitch(this,"onLoad")),this._load(),this.onLoadDeferred},_load:function(){this._setContent(this.onDownloadStart(),!0);var v=this,g={preventCache:this.preventCache||this.refreshOnShow,url:this.href,handleAs:"text"};m.isObject(this.ioArgs)&&m.mixin(g,this.ioArgs);var E=this._xhrDfd=(this.ioMethod||c.get)(g),D;E.then(function(F){D=F;try{return v._isDownloaded=!0,v._setContent(F,!1)}catch(w){v._onError("Content",w)}},function(F){return E.canceled||v._onError("Download",F),delete v._xhrDfd,F}).then(function(){return v.onDownloadEnd(),delete v._xhrDfd,D}),delete this._hrefChanged},_onLoadHandler:function(v){this._set("isLoaded",!0);try{this.onLoadDeferred.resolve(v)}catch(g){console.error("Error "+(this.widgetId||this.id)+" running custom onLoad code: "+g.message)}},_onUnloadHandler:function(){this._set("isLoaded",!1);try{this.onUnload()}catch(v){console.error("Error "+this.widgetId+" running custom onUnload code: "+v.message)}},destroyDescendants:function(v){this.isLoaded&&this._onUnloadHandler();var g=this._contentSetter;r.forEach(this.getChildren(),function(E){E.destroyRecursive?E.destroyRecursive(v):E.destroy&&E.destroy(v),E._destroyed=!0}),g&&(r.forEach(g.parseResults,function(E){E._destroyed||(E.destroyRecursive?E.destroyRecursive(v):E.destroy&&E.destroy(v),E._destroyed=!0)}),delete g.parseResults),v||s.empty(this.containerNode),delete this._singleChild},_setContent:function(v,g){v=this.preprocessContent(v),this.destroyDescendants();var E=this._contentSetter;E&&E instanceof t._ContentSetter||(E=this._contentSetter=new t._ContentSetter({node:this.containerNode,_onError:m.hitch(this,this._onError),onContentError:m.hitch(this,function(x){var R=this.onContentError(x);try{this.containerNode.innerHTML=R}catch(T){console.error("Fatal "+this.id+" could not change content due to "+T.message,T)}})}));var D=m.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!v.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:!1,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{}),F=E.set(m.isObject(v)&&v.domNode?v.domNode:v,D),w=this;return p(F&&F.then?F:E.parseDeferred,function(){delete w._contentSetterParams,g||(w._started&&(w._startChildren(),w._scheduleLayout()),w._onLoadHandler(v))})},preprocessContent:function(v){return v},_onError:function(v,g,E){this.onLoadDeferred.reject(g);var D=this["on"+v+"Error"].call(this,g);E?console.error(E,g):D&&this._setContent(D,!0)},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage},onContentError:function(){},onDownloadError:function(){return this.errorMessage},onDownloadEnd:function(){}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(27),l(4)],C=l.dj.d(A,function(y,m){return function(){return m.pausable(window,"message",function(d){!d.data.message||(d.data.message==="postHistory"?y.publish("/postHistory",d.data):d.data.message==="jumpToCode"?y.publish("/jumpToCode",d.data):d.data.message==="legacyMCall"?y.publish("/legacyMCall",d.data):d.data.message==="loadHistoryState"?y.publish("/loadHistoryState",d.data):d.data.message==="traceToWebview"?y.publish("/traceToWebview",d.data):d.data.message==="showCodeView"?y.publish("/showCodeView",d.data):d.data.message==="jumpToReport"?y.publish("/jumpToReport",d.data):d.data.message==="gotoReportPage"?y.publish("/gotoReportPage",d.data):(d.data.message==="currentModelChanged"||d.data.message==="reportPageLoaded")&&y.publish("/"+d.data.message,d.data))})}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(12),l(10),l(47),l(4),l(27),l(203)],C=l.dj.d(A,function(y,m,h,d,n,e){let t=null,r=null,o=null,a=null,i=null,u=null,s=null,c=null;const f="protectedMdl";return function(P,L,O){return s=P,i=window.modelInfo.model,u=O,t=L,w(),a.startup(),a.expandAll(),n.subscribe("/currentModelChanged",function(W){E(W.model)}),{getReportPathFromModel:v,getProtectedTreeNodes:x,addProtMdlClass:R,updateModelHierarchy:I,updateReport:B}};function p(P){a.setSelection([{id:P}])}function v(P){for(let L=0;L<window.modelHierarchy.length;++L)if(window.modelHierarchy[L].model===P)return window.modelHierarchy[L].relativePath;return null}function g(P){const L=document.getElementById("dropDownDiv").getElementsByTagName("div");for(let O=0;O<L.length;O++){const W=L[O];if(W.innerText===P)return W}return null}function E(P){F(P),p(P)}function D(P){return"<span>Current model: <b>"+P+"</b> ▼</span>"}function F(P){c.innerHTML=D(P)}function w(){let P=null;r=m.create("div",{id:"modelSelector",class:"dropDown"}),c=O();const L=W();m.place(c,r),s&&m.place(L,s),t&&m.place(r,t);function O(){const H=m.create("span",{id:"modelSelectorButton",innerHTML:D(i)});return d(H,"click",function(){const V=x();R(V),o.classList.toggle("show");const $=H.innerHTML;$.includes("\u25BC")?H.innerHTML=$.replace("\u25BC","\u25B2"):H.innerHTML=$.replace("\u25B2","\u25BC")}),H}function W(){return o=m.create("div",{id:"dropDownDiv",class:"dropDownContent"}),j(),m.place(a.domNode,o),d(o,"click",function(){I();const H=c.innerHTML;c.innerHTML=H.replace("\u25B2","\u25BC"),o.classList.toggle("show")}),o}function j(){K(),a=new e(P),a.on("selectionChanged",function(H){const V=v(H.nodeIds[0]);V!==null&&window.fetch(V).then(function($){if($.status===404){const G=g(H.nodeIds[0]);T(G)}else{const G=H.nodeIds[0];B(V,G)}},function(){const $=H.nodeIds[0];B(V,$)}),I()})}function K(){if(P=[],!window.modelHierarchy){const H={};H.id=window.modelInfo.model,H.label=window.modelInfo.model,P.push(H),window.treeData=P;return}for(let H=0;H<window.modelHierarchy.length;++H){const V=window.modelHierarchy[H],$={};V.relativePath===""?($.id=V.model+"_protected",$.label=V.model+" (Protected)"):($.id=V.model,$.label=V.model),$.parent=V.parent==="null"?null:V.parent,P.push($)}window.treeData=P}}function x(){const P=[],L=document.getElementById("dropDownDiv").getElementsByTagName("div"),O="_protected";for(let W=0;W<L.length;W++){const j=L[W].getAttribute("data-test-id");if(j===null||j==="undefined")continue;L[W]=S(L[W]);const K=L[W].getAttribute("class"),H=j.length-O.length,V=j.lastIndexOf(O);V>=0&&V===H&&!K.includes(f)&&P.push(L[W])}return P}function R(P){for(let L=0;L<P.length;L++){const W=P[L].getAttribute("class")+" "+f;P[L].setAttribute("class",W)}return P}function T(P){P&&(P.style.color="gray",P.style.opacity=.6)}function S(P){const L=new RegExp(f,"g"),W=P.getAttribute("class").replace(L,"");return P.setAttribute("class",W),P}function I(){const P=x();R(P)}function B(P,L){F(L);const O=window.location.search.substr(1),W=h.queryToObject(O);let j="";W.snc&&(j="&snc="+W.snc),u.src=P+"?currentDate="+Date.now()+j}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function m(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(4),l(15),l(204),l(449),l(452),l(453),l(457),l(459),l(460),l(462),l(235),l(244),l(485),l(7),l(490),l(208),l(76),l(234),l(493),l(110),l(49),l(29),l(90),l(494)],C=l.dj.d(A,function(d,n,e,t,r,o,a,i,u,s,c,f,p,v,g,E,D,F,w,x,R,T,S,I){"use strict";var B=function(){function P(L){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};h(this,P),this._eventListeners=[],this._controllers=[],this._plugins=[],this._eventsMap={},this._createModels(L);var W=E.getPluginsBasedOnDSConfiguration(this._dataStore)||[],j=O.plugins||[],K=[].concat(m(j),m(W));K=K.length>0?K:void 0;var H=this._getConfiguredPlugins(K,O);this._setViewModel(this._myViewModel,O),this._domNode=document.createElement("div"),this._domNode.className="mw-tree treeContainer",this._domNode.setAttribute("data-test-id",O.dataTestId),this._configureFeatureSpecificViewAndController(O,H),this._createAndConfigureControllers(O),this._createAndConfigurePlugins(H,O),this._configureExposedVariableApis()}return y(P,[{key:"_configureFeatureSpecificViewAndController",value:function(O,W){if(O.editor&&O.editor.type){this._treeView=new t(this._myViewModel,this._domNode,O,W);var j=new r(this._treeView,this._myViewModel,this._dataStore);this._proxyControllerEvents(j,j.emits),this._controllers.push(j)}else this._treeView=new e(this._myViewModel,this._domNode,O,W);var K=new o(this._treeView,this._myViewModel,this._dataStore),H=new a(this._treeView,this._myViewModel,this._dataStore);this._controllers.push(H);var V=K.emits;this._proxyControllerEvents(K,V),this._controllers.push(K),this._facadeListeners(this._controllers),this._mixinFacade(this._controllers)}},{key:"_warnUsersAboutIncompatiblePlugins",value:function(O){var W=E.COMPATIBLE,j="",K="[";O.forEach(function(H){j+=H.name+" "}),K+=j.trim()+"] are incompatible/not supported, however [",W.forEach(function(H){var V="",$=!1;H.forEach(function(G){O.indexOf(G)&&($=!0),V+=G.name+" "}),$&&(K+=V.trim()+"] ")}),K+="are supported.",console.warn(K)}},{key:"_discardIncompatiblePlugins",value:function(O){var W=this,j=E.INCOMPATIBLE,K=[];return j.forEach(function(H){var V=0;H.forEach(function($){var G=O.indexOf($);G>-1&&(V>0&&K.push(G),V++)}),K.length>0&&W._warnUsersAboutIncompatiblePlugins(H)}),K.forEach(function(H){return O.splice(H,1)}),O}},{key:"_getConfiguredPlugins",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[E.AVAILABLE.SingleNodeSelection],W=arguments[1],j=[];O.forEach(function(H){Array.isArray(H)?Array.prototype.push.apply(j,H):j.push(H)});var K=[];return K=j.reduce(function(H,V){return H.indexOf(V)===-1&&H.push(V),H},[]),this._discardIncompatiblePlugins(K)}},{key:"_setViewModel",value:function(O,W){var j=W.lookAheadNodeBuffer,K=W.nodeHeightInPx;O.setState("lookAheadNodeBuffer",j||x.lookAheadNodeBuffer),O.setState("nodeHeightInPx",K||x.nodeHeight),this._viewStateOptions={lookAheadNodeBuffer:j,nodeHeightInPx:K}}},{key:"_createModels",value:function(O){Array.isArray(O)?this._dataStore=c.create(O,Object.assign({},{type:R.TREE})):this._dataStore=O;var W=new f(this._dataStore);this._myViewModel=new p(W)}},{key:"_createAndConfigureControllers",value:function(O){var W=new i(this._treeView,this._myViewModel,this._dataStore),j=new I(this._treeView,this._myViewModel,this._dataStore);if(O.actions){var K=new u(this._treeView,this._myViewModel,this._dataStore,O);this.executeAction=K.executeAction;var H=K.emits;this._proxyControllerEvents(K,H),this._controllers.push(K)}if(!this._dataStore.isCheckboxTree&&!O.editor){var V=new s(this._treeView,this._myViewModel,this._dataStore),$=V.emits;this._proxyControllerEvents(V,$),this._controllers.push(V)}var G=j.emits;this._proxyControllerEvents(j,G),this._controllers.push(W),this._controllers.push(j)}},{key:"_proxyControllerEvents",value:function(O,W){var j=this;W.forEach(function(K){j._eventsMap[K]=O})}},{key:"_makeMap",value:function(){var O={_map:{},get:function(j){return this._map[j]},set:function(j,K){this._map[j]=K}};return typeof Map=="undefined"?O:new Map}},{key:"_createAndConfigurePlugins",value:function(){var O=this,W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[E.AVAILABLE.SingleNodeSelection],j=arguments[1],K=this._makeMap(),H=void 0;W.forEach(function(V){var $=V.adaptor;K.get($.toString())||(H=new $(O._myViewModel,O._treeView,O._dataStore,j),K.set($.toString(),H));var G=new V(K.get($.toString()));O._plugins.push(G)}),this._facadeListeners(this._plugins),this._mixinFacade(this._plugins)}},{key:"_mixinFacade",value:function(O){var W=this;O.forEach(function(j){var K=j.exposedAPI();Object.keys(K).forEach(function(H){if(H==="exposedVariables"){var V=K.exposedVariables;Object.keys(V).forEach(function($){Object.defineProperty(W,$,{set:V[$].setter,get:V[$].getter})})}W[H]=K[H]})})}},{key:"_configureExposedVariableApis",value:function(){var O=this,W=this._exposedVariables();Object.keys(W).forEach(function(j){Object.defineProperty(O,j,{set:W[j].setter,get:W[j].getter})})}},{key:"_facadeListeners",value:function(O){var W=this;O.forEach(function(j){j.emits.forEach(function(K){return W._eventsMap[K]=j})})}},{key:"_constructTreeView",value:function(){this._treeView.initialize()}},{key:"resize",value:function(O,W){if(this._treeView){var j=this._viewStateOptions.nodeHeightInPx;this._myViewModel.setState("nodeHeightInPx",j||x.nodeHeight),this._treeView.resize(O,W)}}},{key:"_setDisabled",value:function(O){this._isDisabled!==O&&typeof O=="boolean"&&this._treeView.setDisableState(O)}},{key:"_isDisabled",value:function(){return this._treeView.getDisableState()}},{key:"_exposedVariables",value:function(){var O=this;return{disable:{setter:function(j){O._setDisabled(j)},getter:function(){return O._isDisabled()}}}}},{key:"startup",value:function(){var O=this._domNode.clientHeight;O===0&&console.warn("Please set Tree's container height to 100% or value greater than 0. If the container height is unset, Tree will display 10 TreeNodes only."),this._constructTreeView()}},{key:"on",value:function(O,W){if(this._eventsMap[O]){var j=d(this._eventsMap[O],O,W);return this._eventListeners.push(j),j}else throw new Error("Tree Configuration does not seem to support the event that you want to configure. Please check configuration.")}},{key:"expand",value:function(O,W){if(Array.isArray(O)&&O.length)this._dataStore.expand(O);else throw new Error("Expected: non empty treeNodearray. Usage: tree.expand([{id: 'node1'}])")}},{key:"expandAll",value:function(){this._dataStore.expandAll()}},{key:"collapse",value:function(O,W){if(Array.isArray(O)&&O.length)this._dataStore.collapse(O);else throw new Error("Expected: non empty treeNodearray. Usage: tree.collapse([{id: 'node1'}])")}},{key:"collapseAll",value:function(){this._dataStore.collapseAll()}},{key:"scrollTo",value:function(O){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{maintainPositionIfInView:!0};if(O===w.FIRST_NODE)this._treeView.scrollToIndex(this._myViewModel.dataSize.rows.start);else if(O===w.LAST_NODE)this._treeView.scrollToIndex(this._myViewModel.dataSize.rows.end);else if(O&&O.id){var j={treeNode:O,options:W};this._treeView.scrollTo(j)}else throw new Error("Expected: Tree.FIRST_NODE, Tree.LAST_NODE or treeNode object with id property. Usage: scrollTo({id: 'node1'})")}},{key:"destroy",value:function(){this._eventListeners.forEach(function(W){return W.remove()}),this._controllers.forEach(function(W){W.destroy&&W.destroy()}),this._plugins.forEach(function(W){return W.destroy()});var O=this._domNode.parentNode;this._treeView.destroy(),O&&O.removeChild(this._domNode)}},{key:"domNode",get:function(){return this._domNode}}],[{key:"PLUGINS",get:function(){return E.AVAILABLE}},{key:"EDITORS",get:function(){return g}},{key:"ACTIONS",get:function(){return F.ACTIONS}},{key:"FIRST_NODE",get:function(){return w.FIRST_NODE}},{key:"LAST_NODE",get:function(){return w.LAST_NODE}},{key:"DND_ENUM",get:function(){return D.MODE}},{key:"KEYS",get:function(){return T}},{key:"PLATFORMS",get:function(){return S.exposed}}]),P}();return B},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(2),l(205),l(397),l(29),l(398),l(7),l(74),l(31),l(399),l(400),l(206),l(225),l(15),l(227),l(64),l(63),l(230),l(110)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a,i,u,s,c,f,p,v,g,E,D){var F=function(){return{value:{}}},w=16,x=function(){function R(T,S){var I=this,B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},P=arguments[3];m(this,R),this._viewModel=T,this._viewEventHandler=new n,this._rootDom=S,this._listeners=[],B.designTimeEventsConfig?(this._EVENTS_CONFIG=u.TREE_EVENTS,this._EDIT_EVENTS_CONFIG=u.EDIT_TREE_EVENTS,this._isTargetEditable=this._isDesignTimeEventsTargetEditable,this._designTimeReadOnly=this._isNodeReadOnly):(this._EVENTS_CONFIG=i.TREE_EVENTS,this._EDIT_EVENTS_CONFIG=i.EDIT_TREE_EVENTS,this._isTargetEditable=this._isDefaultEventsTargetEditable);var L={disclosureNode:{},treeNode:{},tree:{},interactive_renderer:{}};L.disclosureNode._disclosureMouseDownHandler=function(O){return I._handleDisclosureNodeLeftMouseDownEvent(O,function(W){return I._handleDisclosureMouseDown(W)})},L.treeNode._nodeMouseDownHandler=function(O){return I._handleMouseDownEvents(O,function(W,j){return I._handleNodeMouseDown(W,j)})},L.treeNode._nodeClickHandler=function(O){return I._handleNodeClick(O)},L.treeNode._nodeDblClickHandler=function(O){return I._handleNodeDoubleClick(O)},L.treeNode._nodeHoverHandler=function(O){return I._handleHoverToggle(O)},L.tree._keyDownHandler=function(O){return I._handleKeyDown(O)},L.tree._keyUpHandler=function(O){return I._handleKeyUp(O)},L.tree._scrollHandler=function(O){return I._handleScroll(O)},L.tree._focusHandler=function(O){return I._handleFocus(O)},L.tree._containerMountHandler=function(O){return I._handleContainerMount(O)},L.tree._containerUpdateHandler=function(){return I._handleContainerUpdate()},L.tree._blurHandler=function(O){return I._handleBlur(O)},L.tree._contextMenuHandler=function(O){return I._handleContextMenu(O)},L.tree._setTreeNodeHeightHandler=function(O){return I.setTreeNodeHeightAndHandleViewPortUpdate(O)},L.tree._setTreebufferDataHandler=function(O){return I.setTreeBufferData(O)},L.tree._setTreeWidthProperty=function(O){return I.setTreeWidthProperty(O)},L.interactive_renderer=function(O,W){return I._handleInteractiveRendererEvent(O,W)},this.handlers=L,this._handlePluginEvents(P),this.treeBuilder=this.createTreeBuilder(B,P),this._throttledHandleKeyNavigation=a.throttle(this._handleKeyNavigation,w)}return y(R,[{key:"_isDesignTimeEventsTargetEditable",value:function(S){return!(S.target.attributes["data-editor"]||this._isNodeReadOnly(S))}},{key:"_isDefaultEventsTargetEditable",value:function(S){return S.target.attributes["data-region"]&&!this._isNodeReadOnly(S)}},{key:"_handlePluginEvents",value:function(){var S=this,I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],B=s.getEventListenersForPlugins(I);B.forEach(function(P){S.handlers[P.nameSpace]=S.handlers[P.nameSpace]?S.handlers[P.nameSpace]:{},S.handlers[P.nameSpace][P.handlerName]=function(L){var O={eventToEmit:P.eventName,eventProperties:L,eventCallback:function(){P.eventHandler(this._viewModel,L),P.shouldRender&&this.render()}.bind(S)};S._viewEventHandler.handleEvent(O)}})}},{key:"_handleContextMenu",value:function(S){var I=!1,B=!S.buttons&&!S.button;navigator.userAgent.indexOf("Edge")>-1&&(I=!0);var P=B||I&&S.shiftKey;P?this._handleScrollForFocusedNode():this._handleRightClick(S)}},{key:"createTreeBuilder",value:function(S,I){return new c(this._viewModel,this.handlers,S,I)}},{key:"_handleFocus",value:function(S){this._viewModel.setState("ContainerFocused",!0),this._viewModel.deleteState("NodeHover"),this.render()}},{key:"_handleContainerMount",value:function(S){this._viewModel.setState("treeContainerNode",S.treeContainerNode);var I={treeContainerNode:S.treeContainerNode,mwTreeNode:S.mwTreeNode},B={eventToEmit:"containerMount",eventProperties:I,eventCallback:function(){}};this._viewEventHandler.handleEvent(B)}},{key:"_handleContainerUpdate",value:function(S){var I=this._viewModel.getStateByKey("treeContainerNode");I=I?I.value:null,I&&(this._viewModel.viewPort.size.width=I.clientWidth);var B={eventToEmit:"containerUpdate",eventProperties:null,eventCallback:function(){}};this._viewEventHandler.handleEvent(B)}},{key:"_handleBlur",value:function(S){this._viewModel.deleteState("ContainerFocused"),this.render()}},{key:"_handleHoverToggle",value:function(S){this._viewModel.setState("NodeHover",S),this.render()}},{key:"_hasVerticalScrollBar",value:function(S){var I=S.scrollHeight,B=S.clientHeight;return I>B}},{key:"_hasHorizontalScrollBar",value:function(S){var I=S.scrollWidth,B=S.clientWidth;return I>B}},{key:"_handleScroll",value:function(S){var I={clientHeight:S.currentTarget.clientHeight,scrollTop:S.currentTarget.scrollTop,scrollLeft:S.currentTarget.scrollLeft,clientWidth:S.currentTarget.clientWidth,scrollWidth:S.currentTarget.scrollWidth,scrollHeight:S.currentTarget.scrollHeight};this._hasVerticalScrollBar(S.currentTarget)&&!v.isTruncated()&&this.setTreeWidthProperty(I.scrollWidth),this._hasHorizontalScrollBar(S.currentTarget)&&!v.isTruncated()&&(this._viewModel.viewPort.size.height=I.clientHeight);var B=this._viewModel.getStateByKey("shouldScrollOnKeyPressed");if(B&&B.value){var P={eventToEmit:"treeScrollOnKeyPressed",eventProperties:I,eventCallback:function(){}};this._viewEventHandler.handleEvent(P)}var L=this._viewModel.viewPort.size.height!==I.clientHeight||Math.round(this._viewModel.viewPort.size.top)!==Math.round(I.scrollTop),O=this._viewModel.viewPort.size.width!==I.clientWidth||Math.round(this._viewModel.viewPort.size.left)!==Math.round(I.scrollLeft);if(L||O){var W={eventToEmit:"treeScroll",eventProperties:I,eventCallback:function(){o.updateDataBuffer(this._viewModel),this.render()}.bind(this)};this._viewEventHandler.handleEvent(W)}}},{key:"_handleRightClick",value:function(S){for(var I=S.target,B=I.tagName,P=I;!I.classList.contains("treeNode");)if(I=I.parentNode,B=I.tagName,B==="BODY"){P=null;break}var L={},O=void 0,W={};if(P){var j=I.attributes["data-row-index"].nodeValue;O=this._data(parseInt(j))(0).value,W=this._metadata(j).value,L={type:"TREENODE",nodeId:O.id}}else L={type:"TREE"};var K={top:S.pageY,left:S.pageX,node:O,metadata:W,emitTarget:L},H=!W.noMouseInteraction&&this._EVENTS_CONFIG.contextMenuClick;if(H){var V={eventToEmit:H,eventProperties:K,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(V)}}},{key:"isFocusedNodeInTheView",value:function(){var S=this._rootDom.querySelector(".treeNode.focused"),I=this._rootDom.querySelector(".focused").getBoundingClientRect();if(S){var B=S.getBoundingClientRect();return!(B.top>I.bottom||B.bottom<I.top)}else return!1}},{key:"_handleScrollForFocusedNode",value:function(){var S=this._EVENTS_CONFIG.keyDownshiftF10,I=this._rootDom.querySelector(".treeNode.focused"),B={};if(I){var P=I.attributes["data-row-index"].nodeValue;B=this._metadata(P).value}var L=this._rootDom.querySelector(".focused").getBoundingClientRect(),O={focusedDomNodePosition:I&&I.getBoundingClientRect(),treeContainerPosition:L,metadata:B};if(S){var W={eventToEmit:S,eventProperties:O,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(W)}}},{key:"registerEventCallback",value:function(S,I){this._viewEventHandler.registerEventListeners(S,I)}},{key:"setTreeNodeHeightAndHandleViewPortUpdate",value:function(S){this._viewModel.setState("nodeHeightInPx",S),o.calculateAndUpdateLogicalViewPort(this._viewModel,this._viewModel.viewPort.size)}},{key:"setTreeBufferData",value:function(S){for(var I=S.querySelectorAll("."+(""+g.TREENODE)),B=[],P=0;P<I.length;P++){var L=I[P].offsetHeight;L=L||D.nodeHeight;var O=Number(I[P].getAttribute("data-row-index")),W={index:O,height:L};B.push(W)}this._viewModel.setState("bufferDataRendererd",B)}},{key:"setDisableState",value:function(S){this._viewModel.setState(E.TREE_DISABLED,S),this.render()}},{key:"getDisableState",value:function(){var S=this._viewModel.getStateByKey(E.TREE_DISABLED);return!!(S&&S.value)}},{key:"setTreeWidthProperty",value:function(S){var I=this._viewModel.getStateByKey("treeWidth");I=I?I.value:null,I<S&&this._viewModel.setState("treeWidth",S)}},{key:"_handleKeyDown",value:function(S){var I={keyCode:S.keyCode,metaKey:S.metaKey,ctrlKey:S.ctrlKey,shiftKey:S.shiftKey,altKey:S.altKey};switch(I.keyCode){case e.ARROW_UP:case e.ARROW_DOWN:case e.PAGE_UP:case e.PAGE_DOWN:case e.ARROW_RIGHT:case e.ARROW_LEFT:case e.SPACE:case e.HOME:case e.END:{S.preventDefault();var B=S.ctrlKey||S.metaKey?this._EVENTS_CONFIG.keyDownMetaNavigation:S.shiftKey?this._EVENTS_CONFIG.keyDownRangeNavigation:this._EVENTS_CONFIG.keyDownNavigation;if(!B)return;this._throttledHandleKeyNavigation(B,I);break}case e.DELETE:case e.BACKSPACE:{if(S.preventDefault(),S.ctrlKey||S.metaKey||S.shiftKey)return;this._handleDelete(I)}}}},{key:"_handleKeyNavigation",value:function(S,I){this.viewModelUpdateInProgress=!0;var B=this._EVENTS_CONFIG.treeKeyPressed,P=this._viewEventHandler.handleEvent,L={eventToEmit:B,eventProperties:I,nextActionEvent:S,handleEvent:P,eventCallback:function(){this.viewModelUpdateInProgress=!1;var O=this._viewModel.getStateByKey("nodeHeightInPx").value,W=this._viewModel.getStateByKey("shouldScroll");W&&W.value&&(this._viewModel.viewPort.size.top=this._viewModel.viewPort.rangeList[0].rows.start*O,this._viewModel.deleteState("shouldScroll")),this._viewModel.setState("forceContainerFocus",!0),this.render()}.bind(this)};this._viewEventHandler.handleEvent(L)}},{key:"_handleKeyUp",value:function(S){var I={keyCode:S.keyCode,metaKey:S.metaKey,ctrlKey:S.ctrlKey,shiftKey:S.shiftKey,altKey:S.altKey};switch(I.keyCode){case e.SPACE:{S.preventDefault();var B=I.ctrlKey||I.metaKey||I.shiftKey||I.altKey?null:this._EVENTS_CONFIG.keyUp;if(!B)return;var P={eventToEmit:B,eventProperties:I,eventCallback:function(){}};this._viewEventHandler.handleEvent(P);break}}}},{key:"_handleDelete",value:function(S){var I=this._EVENTS_CONFIG.deleteAction,B=this._EVENTS_CONFIG.treeKeyPressed,P=this._viewEventHandler.handleEvent,L={eventToEmit:B,eventProperties:S,nextActionEvent:I,handleEvent:P,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(L)}},{key:"_isInDragMode",value:function(){return this._viewModel.getStateByKey("isInDragging")&&this._viewModel.getStateByKey("isInDragging").value}},{key:"_endingDnD",value:function(){this._viewModel.getStateByKey("dndEnds")&&this._viewModel.setState("dndEnds",{})}},{key:"_isDisclosureTarget",value:function(S){return S.target.hasAttribute("data-disclosure-id")}},{key:"_isDnDNotInProgress",value:function(S){return!this._viewModel.getStateByKey("dndEnds")||this._viewModel.getStateByKey("dndEnds")&&!this._viewModel.getStateByKey("dndEnds").value[S.target]}},{key:"_isNodeReadOnly",value:function(S){return S.currentTarget.classList.contains("readonly")}},{key:"_handleNodeDoubleClick",value:function(S){if(!this._isDisclosureTarget(S)){var I=this._EVENTS_CONFIG.dblClick,B=this._EVENTS_CONFIG.nodeDoubleClicked;S.currentTarget.removeAttribute("data-can-edit");var P=!S.targetIsCheckBox||this._isNodeReadOnly(S);if(P){if(this._designTimeReadOnly&&this._designTimeReadOnly(S))return;var L=this._buildDoubleClickHandlerObject(I,S),O={eventToEmit:B,eventProperties:L,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(O)}}}},{key:"_buildDoubleClickHandlerObject",value:function(S,I){var B=this,P=Number(I.currentTarget.getAttribute("data-row-index")),L=this._data(parseInt(P))(0).value,O=this._metadata?this._metadata:function(W){return{value:{}}};return O=O(P).value,{node:L,defaultFn:function(){var j={node:L,metadata:O,altKey:I.altKey,metaKey:I.metaKey,ctrlKey:I.ctrlKey,shiftKey:I.shiftKey,nodeIndex:parseInt(P)},K={eventToEmit:S,eventProperties:j,eventCallback:function(){this.render()}.bind(B)};B._viewEventHandler.handleEvent(K)}}}},{key:"_handleDisclosureNodeLeftMouseDownEvent",value:function(S,I){S.button===t.MOUSE_LEFT_BUTTON&&I(S)}},{key:"_handleMouseDownEvents",value:function(S,I){var B=this._EVENTS_CONFIG.nodeMouseDown,P=this._EVENTS_CONFIG.rightClick;S.button===t.MOUSE_LEFT_BUTTON?I(S,B):P&&S.button===t.MOUSE_RIGHT_BUTTON&&I(S,P)}},{key:"_handleDisclosureMouseDown",value:function(S){S.stopPropagation();var I=S.currentTarget.attributes["data-row-index"].nodeValue,B=this._data(parseInt(I))(0).value,P={node:B,nodeIndex:parseInt(I)},L={eventToEmit:"treeDisclosureMouseDown",eventProperties:P,eventCallback:function(){}};this._viewEventHandler.handleEvent(L)}},{key:"_handleNodeMouseDown",value:function(S,I){var B=S.currentTarget.attributes["data-row-index"].nodeValue,P=this._data(parseInt(B))(0).value,L={node:P,altKey:S.altKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,shiftKey:S.shiftKey,nodeIndex:parseInt(B)},O={eventToEmit:I,eventProperties:L,eventCallback:function(){this._viewModel.deleteState("NodeHover"),this.render()}.bind(this)};this._viewEventHandler.handleEvent(O)}},{key:"_handleNodeClick",value:function(S){if(!this._isDisclosureTarget(S)){var I=S.currentTarget.attributes["data-row-index"].nodeValue,B=this._data(parseInt(I));if(!!B){var P=B(0).value,L={node:P,altKey:S.altKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,shiftKey:S.shiftKey,nodeIndex:parseInt(I)},O={eventToEmit:"treeNodeMouseClick",eventProperties:L,eventCallback:function(){this._viewModel.deleteState("NodeHover"),this.render()}.bind(this)};this._viewEventHandler.handleEvent(O)}}}},{key:"_handleInteractiveRendererEvent",value:function(S,I){var B={eventToEmit:S,eventProperties:I,eventCallback:function(){}};this._viewEventHandler.handleEvent(B)}},{key:"initialize",value:function(){var S=this,I=this._viewModel.getStateByKey("nodeHeightInPx").value,B=Math.floor(this._rootDom.clientHeight/I);this._viewModel.viewPort={size:{left:0,top:0,width:this._rootDom.clientWidth,height:this._rootDom.clientHeight},rangeList:[r.range().setRows(0,B-1).setColumns(0,0)]};var P=this._viewModel.on("updateView",function(){S.render()}),L=this._viewModel.on("viewDataChanged",function(W){var j=W.viewData,K=W.rowMetaData||[F];S._viewModel.setState("currentViewPortData",j[0]),S._viewModel.setState("currentViewPortMetaData",K[0]),S.render(j[0],K[0])}),O=this._viewModel.on("dataSizeChanged",function(W){S._viewModel.deleteState("treeWidth"),S.render()});this._listeners.push(P),this._listeners.push(L),this._listeners.push(O),o.updateDataBuffer(this._viewModel,!0)}},{key:"resize",value:function(S,I){var B=void 0,P=void 0;B=S||this._rootDom.clientHeight,P=I||this._rootDom.clientWidth,this._viewModel.viewPort.size.width=P,this._viewModel.viewPort.size.height=B,o.calculateAndUpdateLogicalViewPort(this._viewModel,this._viewModel.viewPort.size),o.updateDataBuffer(this._viewModel),this.render()}},{key:"scrollTo",value:function(S){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},B={treeNodeScroll:S};this._emitProgrammaticScrollEvt(B,I)}},{key:"scrollToPosition",value:function(S){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},B={position:S};this._emitProgrammaticScrollEvt(B,I)}},{key:"getScrollComponentDimensions",value:function(){var S=this._rootDom.childNodes[0].scrollHeight,I=this._rootDom.childNodes[0].scrollWidth,B=this._rootDom.childNodes[0].scrollTop,P=this._rootDom.childNodes[0].scrollLeft,L=this._rootDom.childNodes[0].clientWidth,O=this._rootDom.childNodes[0].clientHeight;return{scrollHeight:S,scrollWidth:I,scrollTop:B,scrollLeft:P,clientWidth:L,clientHeight:O}}},{key:"executeAction",value:function(S){switch(S){case"DELETE":this._handleDelete();break;default:break}}},{key:"_emitProgrammaticScrollEvt",value:function(S){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};this.viewModelUpdateInProgress=!0;var B={eventToEmit:"treeProgrammaticScroll",eventProperties:S,eventCallback:function(){this.viewModelUpdateInProgress=!1,o.isViewPortRangeInDataBuffer(this._viewModel)?this.render():o.updateDataBuffer(this._viewModel),I()}.bind(this)};this._viewEventHandler.handleEvent(B)}},{key:"scrollToIndex",value:function(S){var I={nodeIndex:S};this._emitProgrammaticScrollEvt(I)}},{key:"render",value:function(S){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:F;if(S&&(this._data=S,this._metadata=I),!this.viewModelUpdateInProgress){var B=this.treeBuilder.buildTree(this._data,this._metadata);d.render(B,this._rootDom)}}},{key:"destroy",value:function(){p.handleRemoveTimers(),this._listeners.forEach(function(S){S.remove()}),d.unmountComponentAtNode(this._rootDom)}}]),R}();return x},_,M),_.exports=C},function(_,M,l){"use strict";/** @license React v16.11.0
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/(function(A,C){_.exports=C(l(2))})(this,function(A){function C(b){for(var N="https://reactjs.org/docs/error-decoder.html?invariant="+b,k=1;k<arguments.length;k++)N+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+b+"; visit "+N+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function y(){if(no)for(var b in Hr){var N=Hr[b],k=no.indexOf(b);if(!(-1<k))throw Error(C(96,b));if(!ro[k]){if(!N.extractEvents)throw Error(C(97,b));ro[k]=N,k=N.eventTypes;for(var U in k){var z=void 0,ne=k[U],ae=N,de=U;if(ca.hasOwnProperty(de))throw Error(C(99,de));ca[de]=ne;var Ce=ne.phasedRegistrationNames;if(Ce){for(z in Ce)Ce.hasOwnProperty(z)&&m(Ce[z],ae,de);z=!0}else ne.registrationName?(m(ne.registrationName,ae,de),z=!0):z=!1;if(!z)throw Error(C(98,U,b))}}}}function m(b,N,k){if(Kr[b])throw Error(C(100,b));Kr[b]=N,da[b]=N.eventTypes[k].dependencies}function h(b,N,k,U,z,ne,ae,de,Ce){mi=!1,io=null,Sl.apply(Tl,arguments)}function d(b,N,k,U,z,ne,ae,de,Ce){if(h.apply(this,arguments),mi){if(mi){var Te=io;mi=!1,io=null}else throw Error(C(198));oo||(oo=!0,fa=Te)}}function n(b,N,k){var U=b.type||"unknown-event";b.currentTarget=qu(k),d(U,N,void 0,b),b.currentTarget=null}function e(b,N){if(N==null)throw Error(C(30));return b==null?N:Array.isArray(b)?Array.isArray(N)?(b.push.apply(b,N),b):(b.push(N),b):Array.isArray(N)?[b].concat(N):[b,N]}function t(b,N,k){Array.isArray(b)?b.forEach(N,k):b&&N.call(k,b)}function r(b){if(b!==null&&(Ei=e(Ei,b)),b=Ei,Ei=null,b){if(t(b,wl),Ei)throw Error(C(95));if(oo)throw b=fa,oo=!1,fa=null,b}}function o(b,N){var k=b.stateNode;if(!k)return null;var U=ha(k);if(!U)return null;k=U[N];e:switch(N){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(U=!U.disabled)||(b=b.type,U=!(b==="button"||b==="input"||b==="select"||b==="textarea")),b=!U;break e;default:b=!1}if(b)return null;if(k&&typeof k!="function")throw Error(C(231,N,typeof k));return k}function a(b){return b===null||typeof b!="object"?null:(b=is&&b[is]||b["@@iterator"],typeof b=="function"?b:null)}function i(b){if(b._status===-1){b._status=0;var N=b._ctor;N=N(),b._result=N,N.then(function(k){b._status===0&&(k=k.default,b._status=1,b._result=k)},function(k){b._status===0&&(b._status=2,b._result=k)})}}function u(b){if(b==null)return null;if(typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case er:return"Fragment";case Ur:return"Portal";case uo:return"Profiler";case es:return"StrictMode";case so:return"Suspense";case ga:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case ns:return"Context.Consumer";case ts:return"Context.Provider";case pa:var N=b.render;return N=N.displayName||N.name||"",b.displayName||(N!==""?"ForwardRef("+N+")":"ForwardRef");case ma:return u(b.type);case rs:if(b=b._status===1?b._result:null)return u(b)}return null}function s(b){var N="";do{e:switch(b.tag){case 3:case 4:case 6:case 7:case 10:case 9:var k="";break e;default:var U=b._debugOwner,z=b._debugSource,ne=u(b.type);k=null,U&&(k=u(U.type)),U=ne,ne="",z?ne=" (at "+z.fileName.replace(Fl,"")+":"+z.lineNumber+")":k&&(ne=" (created by "+k+")"),k=`
|
||
in `+(U||"Unknown")+ne}N+=k,b=b.return}while(b);return N}function c(b){if(b=Zu(b)){if(typeof Ea!="function")throw Error(C(280));var N=ha(b.stateNode);Ea(b.stateNode,b.type,N)}}function f(b){Vr?$r?$r.push(b):$r=[b]:Vr=b}function p(){if(Vr){var b=Vr,N=$r;if($r=Vr=null,c(b),N)for(b=0;b<N.length;b++)c(N[b])}}function v(){(Vr!==null||$r!==null)&&(_a(),p())}function g(b){return ds.call(hs,b)?!0:ds.call(fs,b)?!1:Ol.test(b)?hs[b]=!0:(fs[b]=!0,!1)}function E(b,N,k,U){if(k!==null&&k.type===0)return!1;switch(typeof N){case"function":case"symbol":return!0;case"boolean":return U?!1:k!==null?!k.acceptsBooleans:(b=b.toLowerCase().slice(0,5),b!=="data-"&&b!=="aria-");default:return!1}}function D(b,N,k,U){if(N===null||typeof N=="undefined"||E(b,N,k,U))return!0;if(U)return!1;if(k!==null)switch(k.type){case 3:return!N;case 4:return N===!1;case 5:return isNaN(N);case 6:return isNaN(N)||1>N}return!1}function F(b,N,k,U,z,ne){this.acceptsBooleans=N===2||N===3||N===4,this.attributeName=U,this.attributeNamespace=z,this.mustUseProperty=k,this.propertyName=b,this.type=N,this.sanitizeURL=ne}function w(b){switch(typeof b){case"boolean":case"number":case"object":case"string":case"undefined":return b;default:return""}}function x(b,N,k,U){var z=Xt.hasOwnProperty(N)?Xt[N]:null,ne=z!==null?z.type===0:U?!1:!(!(2<N.length)||N[0]!=="o"&&N[0]!=="O"||N[1]!=="n"&&N[1]!=="N");ne||(D(N,k,z,U)&&(k=null),U||z===null?g(N)&&(k===null?b.removeAttribute(N):b.setAttribute(N,""+k)):z.mustUseProperty?b[z.propertyName]=k===null?z.type===3?!1:"":k:(N=z.attributeName,U=z.attributeNamespace,k===null?b.removeAttribute(N):(z=z.type,k=z===3||z===4&&k===!0?"":""+k,U?b.setAttributeNS(U,N,k):b.setAttribute(N,k))))}function R(b){var N=b.type;return(b=b.nodeName)&&b.toLowerCase()==="input"&&(N==="checkbox"||N==="radio")}function T(b){var N=R(b)?"checked":"value",k=Object.getOwnPropertyDescriptor(b.constructor.prototype,N),U=""+b[N];if(!b.hasOwnProperty(N)&&typeof k!="undefined"&&typeof k.get=="function"&&typeof k.set=="function"){var z=k.get,ne=k.set;return Object.defineProperty(b,N,{configurable:!0,get:function(){return z.call(this)},set:function(ae){U=""+ae,ne.call(this,ae)}}),Object.defineProperty(b,N,{enumerable:k.enumerable}),{getValue:function(){return U},setValue:function(ae){U=""+ae},stopTracking:function(){b._valueTracker=null,delete b[N]}}}}function S(b){b._valueTracker||(b._valueTracker=T(b))}function I(b){if(!b)return!1;var N=b._valueTracker;if(!N)return!0;var k=N.getValue(),U="";return b&&(U=R(b)?b.checked?"true":"false":b.value),b=U,b!==k?(N.setValue(b),!0):!1}function B(b,N){var k=N.checked;return an({},N,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:k!=null?k:b._wrapperState.initialChecked})}function P(b,N){var k=N.defaultValue==null?"":N.defaultValue,U=N.checked!=null?N.checked:N.defaultChecked;k=w(N.value!=null?N.value:k),b._wrapperState={initialChecked:U,initialValue:k,controlled:N.type==="checkbox"||N.type==="radio"?N.checked!=null:N.value!=null}}function L(b,N){N=N.checked,N!=null&&x(b,"checked",N,!1)}function O(b,N){L(b,N);var k=w(N.value),U=N.type;if(k!=null)U==="number"?(k===0&&b.value===""||b.value!=k)&&(b.value=""+k):b.value!==""+k&&(b.value=""+k);else if(U==="submit"||U==="reset"){b.removeAttribute("value");return}N.hasOwnProperty("value")?j(b,N.type,k):N.hasOwnProperty("defaultValue")&&j(b,N.type,w(N.defaultValue)),N.checked==null&&N.defaultChecked!=null&&(b.defaultChecked=!!N.defaultChecked)}function W(b,N,k){if(N.hasOwnProperty("value")||N.hasOwnProperty("defaultValue")){var U=N.type;if(!(U!=="submit"&&U!=="reset"||N.value!==void 0&&N.value!==null))return;N=""+b._wrapperState.initialValue,k||N===b.value||(b.value=N),b.defaultValue=N}k=b.name,k!==""&&(b.name=""),b.defaultChecked=!b.defaultChecked,b.defaultChecked=!!b._wrapperState.initialChecked,k!==""&&(b.name=k)}function j(b,N,k){(N!=="number"||b.ownerDocument.activeElement!==b)&&(k==null?b.defaultValue=""+b._wrapperState.initialValue:b.defaultValue!==""+k&&(b.defaultValue=""+k))}function K(b){var N="";return A.Children.forEach(b,function(k){k!=null&&(N+=k)}),N}function H(b,N){return b=an({children:void 0},N),(N=K(N.children))&&(b.children=N),b}function V(b,N,k,U){if(b=b.options,N){N={};for(var z=0;z<k.length;z++)N["$"+k[z]]=!0;for(k=0;k<b.length;k++)z=N.hasOwnProperty("$"+b[k].value),b[k].selected!==z&&(b[k].selected=z),z&&U&&(b[k].defaultSelected=!0)}else{for(k=""+w(k),N=null,z=0;z<b.length;z++){if(b[z].value===k){b[z].selected=!0,U&&(b[z].defaultSelected=!0);return}N!==null||b[z].disabled||(N=b[z])}N!==null&&(N.selected=!0)}}function $(b,N){if(N.dangerouslySetInnerHTML!=null)throw Error(C(91));return an({},N,{value:void 0,defaultValue:void 0,children:""+b._wrapperState.initialValue})}function G(b,N){var k=N.value;if(k==null){if(k=N.defaultValue,N=N.children,N!=null){if(k!=null)throw Error(C(92));if(Array.isArray(N)){if(!(1>=N.length))throw Error(C(93));N=N[0]}k=N}k==null&&(k="")}b._wrapperState={initialValue:w(k)}}function Q(b,N){var k=w(N.value),U=w(N.defaultValue);k!=null&&(k=""+k,k!==b.value&&(b.value=k),N.defaultValue==null&&b.defaultValue!==k&&(b.defaultValue=k)),U!=null&&(b.defaultValue=""+U)}function J(b,N){N=b.textContent,N===b._wrapperState.initialValue&&N!==""&&N!==null&&(b.value=N)}function Y(b){switch(b){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function X(b,N){return b==null||b==="http://www.w3.org/1999/xhtml"?Y(N):b==="http://www.w3.org/2000/svg"&&N==="foreignObject"?"http://www.w3.org/1999/xhtml":b}function Z(b,N){var k={};return k[b.toLowerCase()]=N.toLowerCase(),k["Webkit"+b]="webkit"+N,k["Moz"+b]="moz"+N,k}function q(b){if(Ta[b])return Ta[b];if(!zr[b])return b;var N=zr[b],k;for(k in N)if(N.hasOwnProperty(k)&&k in ps)return Ta[b]=N[k];return b}function ee(b){var N=b,k=b;if(b.alternate)for(;N.return;)N=N.return;else{b=N;do N=b,(N.effectTag&1026)!==0&&(k=N.return),b=N.return;while(b)}return N.tag===3?k:null}function re(b){if(b.tag===13){var N=b.memoizedState;if(N===null&&(b=b.alternate,b!==null&&(N=b.memoizedState)),N!==null)return N.dehydrated}return null}function he(b){if(ee(b)!==b)throw Error(C(188))}function me(b){var N=b.alternate;if(!N){if(N=ee(b),N===null)throw Error(C(188));return N!==b?null:b}for(var k=b,U=N;;){var z=k.return;if(z===null)break;var ne=z.alternate;if(ne===null){if(U=z.return,U!==null){k=U;continue}break}if(z.child===ne.child){for(ne=z.child;ne;){if(ne===k)return he(z),b;if(ne===U)return he(z),N;ne=ne.sibling}throw Error(C(188))}if(k.return!==U.return)k=z,U=ne;else{for(var ae=!1,de=z.child;de;){if(de===k){ae=!0,k=z,U=ne;break}if(de===U){ae=!0,U=z,k=ne;break}de=de.sibling}if(!ae){for(de=ne.child;de;){if(de===k){ae=!0,k=ne,U=z;break}if(de===U){ae=!0,U=ne,k=z;break}de=de.sibling}if(!ae)throw Error(C(189))}}if(k.alternate!==U)throw Error(C(190))}if(k.tag!==3)throw Error(C(188));return k.stateNode.current===k?b:N}function se(b){if(b=me(b),!b)return null;for(var N=b;;){if(N.tag===5||N.tag===6)return N;if(N.child)N.child.return=N,N=N.child;else{if(N===b)break;for(;!N.sibling;){if(!N.return||N.return===b)return null;N=N.return}N.sibling.return=N.return,N=N.sibling}}return null}function te(b){var N=tt(b);Fa.forEach(function(k){Xe(k,b,N)}),Ll.forEach(function(k){Xe(k,b,N)})}function oe(b,N,k,U){return{blockedOn:b,topLevelType:N,eventSystemFlags:k|32,nativeEvent:U}}function ue(b,N){switch(b){case"focus":case"blur":nr=null;break;case"dragenter":case"dragleave":rr=null;break;case"mouseover":case"mouseout":ir=null;break;case"pointerover":case"pointerout":Ci.delete(N.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ai.delete(N.pointerId)}}function ce(b,N,k,U,z){return b===null||b.nativeEvent!==z?(b=oe(N,k,U,z),N!==null&&(N=Wn(N),N!==null&&el(N)),b):(b.eventSystemFlags|=U,b)}function ve(b,N,k,U){switch(N){case"focus":return nr=ce(nr,b,N,k,U),!0;case"dragenter":return rr=ce(rr,b,N,k,U),!0;case"mouseover":return ir=ce(ir,b,N,k,U),!0;case"pointerover":var z=U.pointerId;return Ci.set(z,ce(Ci.get(z)||null,b,N,k,U)),!0;case"gotpointercapture":return z=U.pointerId,Ai.set(z,ce(Ai.get(z)||null,b,N,k,U)),!0}return!1}function Se(b){var N=Xn(b.target);if(N!==null){var k=ee(N);if(k!==null){if(N=k.tag,N===13){if(N=re(k),N!==null){b.blockedOn=N,Da(b.priority,function(){Rc(k)});return}}else if(N===3&&k.stateNode.hydrate){b.blockedOn=k.tag===3?k.stateNode.containerInfo:null;return}}}b.blockedOn=null}function Be(b){if(b.blockedOn!==null)return!1;var N=Ne(b.topLevelType,b.eventSystemFlags,b.nativeEvent);if(N!==null){var k=Wn(N);return k!==null&&el(k),b.blockedOn=N,!1}return!0}function ke(b,N,k){Be(b)&&k.delete(N)}function Ge(){for(wa=!1;0<In.length;){var b=In[0];if(b.blockedOn!==null){b=Wn(b.blockedOn),b!==null&&Fc(b);break}var N=Ne(b.topLevelType,b.eventSystemFlags,b.nativeEvent);N!==null?b.blockedOn=N:In.shift()}nr!==null&&Be(nr)&&(nr=null),rr!==null&&Be(rr)&&(rr=null),ir!==null&&Be(ir)&&(ir=null),Ci.forEach(ke),Ai.forEach(ke)}function rt(b,N){b.blockedOn===N&&(b.blockedOn=null,wa||(wa=!0,us(cs,Ge)))}function ut(b){if(0<In.length){rt(In[0],b);for(var N=1;N<In.length;N++){var k=In[N];k.blockedOn===b&&(k.blockedOn=null)}}for(nr!==null&&rt(nr,b),rr!==null&&rt(rr,b),ir!==null&&rt(ir,b),N=function(U){return rt(U,b)},Ci.forEach(N),Ai.forEach(N),N=0;N<Di.length;N++)k=Di[N],k.blockedOn===b&&(k.blockedOn=null);for(;0<Di.length&&(N=Di[0],N.blockedOn===null);)Se(N),N.blockedOn===null&&Di.shift()}function ht(b){return b=b.target||b.srcElement||window,b.correspondingUseElement&&(b=b.correspondingUseElement),b.nodeType===3?b.parentNode:b}function dt(b){do b=b.return;while(b&&b.tag!==5);return b||null}function Tt(b,N,k){(N=o(b,k.dispatchConfig.phasedRegistrationNames[N]))&&(k._dispatchListeners=e(k._dispatchListeners,N),k._dispatchInstances=e(k._dispatchInstances,b))}function Ot(b){if(b&&b.dispatchConfig.phasedRegistrationNames){for(var N=b._targetInst,k=[];N;)k.push(N),N=dt(N);for(N=k.length;0<N--;)Tt(k[N],"captured",b);for(N=0;N<k.length;N++)Tt(k[N],"bubbled",b)}}function Ct(b,N,k){b&&k&&k.dispatchConfig.registrationName&&(N=o(b,k.dispatchConfig.registrationName))&&(k._dispatchListeners=e(k._dispatchListeners,N),k._dispatchInstances=e(k._dispatchInstances,b))}function jt(b){b&&b.dispatchConfig.registrationName&&Ct(b._targetInst,null,b)}function Lt(b){t(b,Ot)}function Qt(){return!0}function bt(){return!1}function pt(b,N,k,U){this.dispatchConfig=b,this._targetInst=N,this.nativeEvent=k,b=this.constructor.Interface;for(var z in b)b.hasOwnProperty(z)&&((N=b[z])?this[z]=N(k):z==="target"?this.target=U:this[z]=k[z]);return this.isDefaultPrevented=(k.defaultPrevented!=null?k.defaultPrevented:k.returnValue===!1)?Qt:bt,this.isPropagationStopped=bt,this}function Bt(b,N,k,U){if(this.eventPool.length){var z=this.eventPool.pop();return this.call(z,b,N,k,U),z}return new this(b,N,k,U)}function kt(b){if(!(b instanceof this))throw Error(C(279));b.destructor(),10>this.eventPool.length&&this.eventPool.push(b)}function sn(b){b.eventPool=[],b.getPooled=Bt,b.release=kt}function st(b){var N=b.keyCode;return"charCode"in b?(b=b.charCode,b===0&&N===13&&(b=13)):b=N,b===10&&(b=13),32<=b||b===13?b:0}function At(b){var N=this.nativeEvent;return N.getModifierState?N.getModifierState(b):(b=Ul[b])?!!N[b]:!1}function Ut(b){return At}function Vt(b){var N=b.targetInst,k=N;do{if(!k){b.ancestors.push(k);break}var U=k;if(U.tag===3)U=U.stateNode.containerInfo;else{for(;U.return;)U=U.return;U=U.tag!==3?null:U.stateNode.containerInfo}if(!U)break;N=k.tag,N!==5&&N!==6||b.ancestors.push(k),k=Xn(U)}while(k);for(k=0;k<b.ancestors.length;k++){N=b.ancestors[k];var z=ht(b.nativeEvent);U=b.topLevelType;for(var ne=b.nativeEvent,ae=b.eventSystemFlags,de=null,Ce=0;Ce<ro.length;Ce++){var Te=ro[Ce];Te&&(Te=Te.extractEvents(U,N,ne,z,ae))&&(de=e(de,Te))}r(de)}}function le(b,N){De(N,b,!1)}function De(b,N,k){switch(Zl(N)){case 0:var U=ie.bind(null,N,1);break;case 1:U=ge.bind(null,N,1);break;default:U=we.bind(null,N,1)}k?b.addEventListener(N,U,!0):b.addEventListener(N,U,!1)}function ie(b,N,k){br||_a();var U=we,z=br;br=!0;try{os(U,b,N,k)}finally{(br=z)||v()}}function ge(b,N,k){Jl(Ql,we.bind(null,b,N,k))}function Ae(b,N,k,U){if(fo.length){var z=fo.pop();z.topLevelType=b,z.eventSystemFlags=N,z.nativeEvent=k,z.targetInst=U,b=z}else b={topLevelType:b,eventSystemFlags:N,nativeEvent:k,targetInst:U,ancestors:[]};try{if(N=Vt,k=b,Ca)N(k,void 0);else{Ca=!0;try{as(N,k,void 0)}finally{Ca=!1,v()}}}finally{b.topLevelType=null,b.nativeEvent=null,b.targetInst=null,b.ancestors.length=0,fo.length<ql&&fo.push(b)}}function we(b,N,k){if(ho)if(0<In.length&&-1<Fa.indexOf(b))b=oe(null,b,N,k),In.push(b);else{var U=Ne(b,N,k);U===null?ue(b,k):-1<Fa.indexOf(b)?(b=oe(U,b,N,k),In.push(b)):ve(U,b,N,k)||(ue(b,k),Ae(b,N,k,null))}}function Ne(b,N,k){var U=ht(k);if(U=Xn(U),U!==null){var z=ee(U);if(z===null)U=null;else{var ne=z.tag;if(ne===13){if(U=re(z),U!==null)return U;U=null}else if(ne===3){if(z.stateNode.hydrate)return z.tag===3?z.stateNode.containerInfo:null;U=null}else z!==U&&(U=null)}}return Ae(b,N,k,U),null}function He(b){if(!tr)return!1;b="on"+b;var N=b in document;return N||(N=document.createElement("div"),N.setAttribute(b,"return;"),N=typeof N[b]=="function"),N}function tt(b){var N=Ns.get(b);return N===void 0&&(N=new Set,Ns.set(b,N)),N}function Xe(b,N,k){if(!k.has(b)){switch(b){case"scroll":De(N,"scroll",!0);break;case"focus":case"blur":De(N,"focus",!0),De(N,"blur",!0),k.add("blur"),k.add("focus");break;case"cancel":case"close":He(b)&&De(N,b,!0);break;case"invalid":case"submit":case"reset":break;default:_i.indexOf(b)===-1&&le(b,N)}k.add(b)}}function it(b,N,k){return N==null||typeof N=="boolean"||N===""?"":k||typeof N!="number"||N===0||Ti.hasOwnProperty(b)&&Ti[b]?(""+N).trim():N+"px"}function Nt(b,N){b=b.style;for(var k in N)if(N.hasOwnProperty(k)){var U=k.indexOf("--")===0,z=it(k,N[k],U);k==="float"&&(k="cssFloat"),U?b.setProperty(k,z):b[k]=z}}function fn(b,N){if(N){if(tc[b]&&(N.children!=null||N.dangerouslySetInnerHTML!=null))throw Error(C(137,b,""));if(N.dangerouslySetInnerHTML!=null){if(N.children!=null)throw Error(C(60));if(!(typeof N.dangerouslySetInnerHTML=="object"&&"__html"in N.dangerouslySetInnerHTML))throw Error(C(61))}if(N.style!=null&&typeof N.style!="object")throw Error(C(62,""))}}function Gt(b,N){if(b.indexOf("-")===-1)return typeof N.is=="string";switch(b){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ln(b,N){b=b.nodeType===9||b.nodeType===11?b:b.ownerDocument;var k=tt(b);N=da[N];for(var U=0;U<N.length;U++)Xe(N[U],b,k)}function Gn(){}function Nr(b){if(b=b||(typeof document!="undefined"?document:void 0),typeof b=="undefined")return null;try{return b.activeElement||b.body}catch(N){return b.body}}function ri(b){for(;b&&b.firstChild;)b=b.firstChild;return b}function ii(b,N){var k=ri(b);b=0;for(var U;k;){if(k.nodeType===3){if(U=b+k.textContent.length,b<=N&&U>=N)return{node:k,offset:N-b};b=U}e:{for(;k;){if(k.nextSibling){k=k.nextSibling;break e}k=k.parentNode}k=void 0}k=ri(k)}}function xr(b,N){return b&&N?b===N?!0:b&&b.nodeType===3?!1:N&&N.nodeType===3?xr(b,N.parentNode):"contains"in b?b.contains(N):b.compareDocumentPosition?!!(b.compareDocumentPosition(N)&16):!1:!1}function oi(){for(var b=window,N=Nr();N instanceof b.HTMLIFrameElement;){try{var k=typeof N.contentWindow.location.href=="string"}catch(U){k=!1}if(k)b=N.contentWindow;else break;N=Nr(b.document)}return N}function Ln(b){var N=b&&b.nodeName&&b.nodeName.toLowerCase();return N&&(N==="input"&&(b.type==="text"||b.type==="search"||b.type==="tel"||b.type==="url"||b.type==="password")||N==="textarea"||b.contentEditable==="true")}function ai(b,N){switch(b){case"button":case"input":case"select":case"textarea":return!!N.autoFocus}return!1}function hr(b,N){return b==="textarea"||b==="option"||b==="noscript"||typeof N.children=="string"||typeof N.children=="number"||typeof N.dangerouslySetInnerHTML=="object"&&N.dangerouslySetInnerHTML!==null&&N.dangerouslySetInnerHTML.__html!=null}function kn(b){for(;b!=null;b=b.nextSibling){var N=b.nodeType;if(N===1||N===3)break}return b}function ui(b){b=b.previousSibling;for(var N=0;b;){if(b.nodeType===Sr){var k=b.data;if(k===xs||k===Ma||k===Ba){if(N===0)return b;N--}else k===Bs&&N++}b=b.previousSibling}return null}function Xn(b){var N=b[or];if(N)return N;for(var k=b.parentNode;k;){if(N=k[Wa]||k[or]){if(k=N.alternate,N.child!==null||k!==null&&k.child!==null)for(b=ui(b);b!==null;){if(k=b[or])return k;b=ui(b)}return N}b=k,k=b.parentNode}return null}function Wn(b){return b=b[or]||b[Wa],!b||b.tag!==5&&b.tag!==6&&b.tag!==13&&b.tag!==3?null:b}function bn(b){if(b.tag===5||b.tag===6)return b.stateNode;throw Error(C(33))}function vr(b){return b[vo]||null}function si(){if(po)return po;var b,N=ja,k=N.length,U,z="value"in ar?ar.value:ar.textContent,ne=z.length;for(b=0;b<k&&N[b]===z[b];b++);var ae=k-b;for(U=1;U<=ae&&N[k-U]===z[ne-U];U++);return po=z.slice(b,1<U?1-U:void 0)}function Br(b,N){switch(b){case"keyup":return oc.indexOf(N.keyCode)!==-1;case"keydown":return N.keyCode!==229;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function li(b){return b=b.detail,typeof b=="object"&&"data"in b?b.data:null}function Vi(b,N){switch(b){case"compositionend":return li(N);case"keypress":return N.which!==32?null:(Os=!0,Ps);case"textInput":return b=N.data,b===Ps&&Os?null:b;default:return null}}function ci(b,N){if(Yr)return b==="compositionend"||!Ha&&Br(b,N)?(b=si(),po=ja=ar=null,Yr=!1,b):null;switch(b){case"paste":return null;case"keypress":if(!(N.ctrlKey||N.altKey||N.metaKey)||N.ctrlKey&&N.altKey){if(N.char&&1<N.char.length)return N.char;if(N.which)return String.fromCharCode(N.which)}return null;case"compositionend":return Ms&&N.locale!=="ko"?null:N.data;default:return null}}function di(b){var N=b&&b.nodeName&&b.nodeName.toLowerCase();return N==="input"?!!sc[b.type]:N==="textarea"}function pe(b,N,k){return b=pt.getPooled(Ls.change,b,N,k),b.type="change",f(k),Lt(b),b}function fe(b){r(b)}function Ee(b){var N=bn(b);if(I(N))return b}function Re(b,N){if(b==="change")return N}function Ie(){Fi&&(Fi.detachEvent("onpropertychange",je),Ri=Fi=null)}function je(b){if(b.propertyName==="value"&&Ee(Ri))if(b=pe(Ri,b,ht(b)),br)r(b);else{br=!0;try{ya(fe,b)}finally{br=!1,v()}}}function Ke(b,N,k){b==="focus"?(Ie(),Fi=N,Ri=k,Fi.attachEvent("onpropertychange",je)):b==="blur"&&Ie()}function Le(b,N){if(b==="selectionchange"||b==="keyup"||b==="keydown")return Ee(Ri)}function ze(b,N){if(b==="click")return Ee(N)}function Ze(b,N){if(b==="input"||b==="change")return Ee(N)}function $e(b,N){return b===N&&(b!==0||1/b===1/N)||b!==b&&N!==N}function ft(b,N){if(Tr(b,N))return!0;if(typeof b!="object"||b===null||typeof N!="object"||N===null)return!1;var k=Object.keys(b),U=Object.keys(N);if(k.length!==U.length)return!1;for(U=0;U<k.length;U++)if(!dc.call(N,k[U])||!Tr(b[k[U]],N[k[U]]))return!1;return!0}function _t(b,N){var k=N.window===N?N.document:N.nodeType===9?N:N.ownerDocument;return $a||Gr==null||Gr!==Nr(k)?null:(k=Gr,"selectionStart"in k&&Ln(k)?k={start:k.selectionStart,end:k.selectionEnd}:(k=(k.ownerDocument&&k.ownerDocument.defaultView||window).getSelection(),k={anchorNode:k.anchorNode,anchorOffset:k.anchorOffset,focusNode:k.focusNode,focusOffset:k.focusOffset}),Ni&&ft(Ni,k)?null:(Ni=k,b=pt.getPooled(ks.select,Va,b,N),b.type="select",b.target=Gr,Lt(b),b))}function Qe(b,N){0>Xr||(b.current=za[Xr],za[Xr]=null,Xr--)}function Je(b,N,k){Xr++,za[Xr]=b.current,b.current=N}function lt(b,N){var k=b.type.contextTypes;if(!k)return ur;var U=b.stateNode;if(U&&U.__reactInternalMemoizedUnmaskedChildContext===N)return U.__reactInternalMemoizedMaskedChildContext;var z={},ne;for(ne in k)z[ne]=N[ne];return U&&(b=b.stateNode,b.__reactInternalMemoizedUnmaskedChildContext=N,b.__reactInternalMemoizedMaskedChildContext=z),z}function qe(b){return b=b.childContextTypes,b!=null}function Dt(b){Qe(An,b),Qe(cn,b)}function Et(b){Qe(An,b),Qe(cn,b)}function wt(b,N,k){if(cn.current!==ur)throw Error(C(168));Je(cn,N,b),Je(An,k,b)}function ye(b,N,k){var U=b.stateNode;if(b=N.childContextTypes,typeof U.getChildContext!="function")return k;U=U.getChildContext();for(var z in U)if(!(z in b))throw Error(C(108,u(N)||"Unknown",z));return an({},k,{},U)}function Pe(b){var N=b.stateNode;return N=N&&N.__reactInternalMemoizedMergedChildContext||ur,wr=cn.current,Je(cn,N,b),Je(An,An.current,b),!0}function We(b,N,k){var U=b.stateNode;if(!U)throw Error(C(169));k?(N=ye(b,N,wr),U.__reactInternalMemoizedMergedChildContext=N,Qe(An,b),Qe(cn,b),Je(cn,N,b)):Qe(An,b),Je(An,k,b)}function Ue(){switch(pc()){case go:return 99;case Hs:return 98;case Ks:return 97;case Us:return 96;case Vs:return 95;default:throw Error(C(332))}}function gt(b){switch(b){case 99:return go;case 98:return Hs;case 97:return Ks;case 96:return Us;case 95:return Vs;default:throw Error(C(332))}}function mt(b,N){return b=gt(b),vc(b,N)}function Wt(b,N,k){return b=gt(b),Ya(b,N,k)}function yt(b){return Un===null?(Un=[b],mo=Ya(go,Ht)):Un.push(b),$s}function St(){if(mo!==null){var b=mo;mo=null,Ws(b)}Ht()}function Ht(){if(!Ga&&Un!==null){Ga=!0;var b=0;try{var N=Un;mt(99,function(){for(;b<N.length;b++){var k=N[b];do k=k(!0);while(k!==null)}}),Un=null}catch(k){throw Un!==null&&(Un=Un.slice(b+1)),Ya(go,St),k}finally{Ga=!1}}}function Kt(b,N,k){return k/=10,1073741821-(((1073741821-b+N/10)/k|0)+1)*k}function Ft(b,N){if(b&&b.defaultProps){N=an({},N),b=b.defaultProps;for(var k in b)N[k]===void 0&&(N[k]=b[k])}return N}function hn(){yo=Qr=Eo=null}function Rt(b,N){var k=b.type._context;Je(Xa,k._currentValue,b),k._currentValue=N}function Jt(b){var N=Xa.current;Qe(Xa,b),b.type._context._currentValue=N}function Zt(b,N){for(;b!==null;){var k=b.alternate;if(b.childExpirationTime<N)b.childExpirationTime=N,k!==null&&k.childExpirationTime<N&&(k.childExpirationTime=N);else if(k!==null&&k.childExpirationTime<N)k.childExpirationTime=N;else break;b=b.return}}function qt(b,N){Eo=b,yo=Qr=null,b=b.dependencies,b!==null&&b.firstContext!==null&&(b.expirationTime>=N&&(Mn=!0),b.firstContext=null)}function en(b,N){if(yo!==b&&N!==!1&&N!==0)if((typeof N!="number"||N===1073741823)&&(yo=b,N=1073741823),N={context:b,observedBits:N,next:null},Qr===null){if(Eo===null)throw Error(C(308));Qr=N,Eo.dependencies={expirationTime:0,firstContext:N,responders:null}}else Qr=Qr.next=N;return b._currentValue}function vn(b){return{baseState:b,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Cn(b){return{baseState:b.baseState,firstUpdate:b.firstUpdate,lastUpdate:b.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Mt(b,N){return{expirationTime:b,suspenseConfig:N,tag:Ys,payload:null,callback:null,next:null,nextEffect:null}}function $t(b,N){b.lastUpdate===null?b.firstUpdate=b.lastUpdate=N:(b.lastUpdate.next=N,b.lastUpdate=N)}function pn(b,N){var k=b.alternate;if(k===null){var U=b.updateQueue,z=null;U===null&&(U=b.updateQueue=vn(b.memoizedState))}else U=b.updateQueue,z=k.updateQueue,U===null?z===null?(U=b.updateQueue=vn(b.memoizedState),z=k.updateQueue=vn(k.memoizedState)):U=b.updateQueue=Cn(z):z===null&&(z=k.updateQueue=Cn(U));z===null||U===z?$t(U,N):U.lastUpdate===null||z.lastUpdate===null?($t(U,N),$t(z,N)):($t(U,N),z.lastUpdate=N)}function Mr(b,N){var k=b.updateQueue;k=k===null?b.updateQueue=vn(b.memoizedState):jn(b,k),k.lastCapturedUpdate===null?k.firstCapturedUpdate=k.lastCapturedUpdate=N:(k.lastCapturedUpdate.next=N,k.lastCapturedUpdate=N)}function jn(b,N){var k=b.alternate;return k!==null&&N===k.updateQueue&&(N=b.updateQueue=Cn(N)),N}function Pr(b,N,k,U,z,ne){switch(k.tag){case 1:return b=k.payload,typeof b=="function"?b.call(ne,U,z):b;case 3:b.effectTag=b.effectTag&-4097|64;case Ys:if(b=k.payload,z=typeof b=="function"?b.call(ne,U,z):b,z==null)break;return an({},U,z);case _o:sr=!0}return U}function Qn(b,N,k,U,z){sr=!1,N=jn(b,N);for(var ne=N.baseState,ae=null,de=0,Ce=N.firstUpdate,Te=ne;Ce!==null;){var Oe=Ce.expirationTime;Oe<z?(ae===null&&(ae=Ce,ne=Te),de<Oe&&(de=Oe)):(Vu(Oe,Ce.suspenseConfig),Te=Pr(b,N,Ce,Te,k,U),Ce.callback!==null&&(b.effectTag|=32,Ce.nextEffect=null,N.lastEffect===null?N.firstEffect=N.lastEffect=Ce:(N.lastEffect.nextEffect=Ce,N.lastEffect=Ce))),Ce=Ce.next}for(Oe=null,Ce=N.firstCapturedUpdate;Ce!==null;){var It=Ce.expirationTime;It<z?(Oe===null&&(Oe=Ce,ae===null&&(ne=Te)),de<It&&(de=It)):(Te=Pr(b,N,Ce,Te,k,U),Ce.callback!==null&&(b.effectTag|=32,Ce.nextEffect=null,N.lastCapturedEffect===null?N.firstCapturedEffect=N.lastCapturedEffect=Ce:(N.lastCapturedEffect.nextEffect=Ce,N.lastCapturedEffect=Ce))),Ce=Ce.next}ae===null&&(N.lastUpdate=null),Oe===null?N.lastCapturedUpdate=null:b.effectTag|=32,ae===null&&Oe===null&&(ne=Te),N.baseState=ne,N.firstUpdate=ae,N.firstCapturedUpdate=Oe,Zi(de),b.expirationTime=de,b.memoizedState=Te}function fi(b,N,k,U){N.firstCapturedUpdate!==null&&(N.lastUpdate!==null&&(N.lastUpdate.next=N.firstCapturedUpdate,N.lastUpdate=N.lastCapturedUpdate),N.firstCapturedUpdate=N.lastCapturedUpdate=null),hi(N.firstEffect,k),N.firstEffect=N.lastEffect=null,hi(N.firstCapturedEffect,k),N.firstCapturedEffect=N.lastCapturedEffect=null}function hi(b,N){for(;b!==null;){var k=b.callback;if(k!==null){b.callback=null;var U=N;if(typeof k!="function")throw Error(C(191,k));k.call(U)}b=b.nextEffect}}function pr(b,N,k,U){N=b.memoizedState,k=k(U,N),k=k==null?N:an({},N,k),b.memoizedState=k,U=b.updateQueue,U!==null&&b.expirationTime===0&&(U.baseState=k)}function $i(b,N,k,U,z,ne,ae){return b=b.stateNode,typeof b.shouldComponentUpdate=="function"?b.shouldComponentUpdate(U,ne,ae):N.prototype&&N.prototype.isPureReactComponent?!ft(k,U)||!ft(z,ne):!0}function zi(b,N,k,U){var z=!1;U=ur;var ne=N.contextType;return typeof ne=="object"&&ne!==null?ne=en(ne):(U=qe(N)?wr:cn.current,z=N.contextTypes,ne=(z=z!=null)?lt(b,U):ur),N=new N(k,ne),b.memoizedState=N.state!==null&&N.state!==void 0?N.state:null,N.updater=Co,b.stateNode=N,N._reactInternalFiber=b,z&&(b=b.stateNode,b.__reactInternalMemoizedUnmaskedChildContext=U,b.__reactInternalMemoizedMaskedChildContext=ne),N}function gr(b,N,k,U){b=N.state,typeof N.componentWillReceiveProps=="function"&&N.componentWillReceiveProps(k,U),typeof N.UNSAFE_componentWillReceiveProps=="function"&&N.UNSAFE_componentWillReceiveProps(k,U),N.state!==b&&Co.enqueueReplaceState(N,N.state,null)}function Or(b,N,k,U){var z=b.stateNode;z.props=k,z.state=b.memoizedState,z.refs=Gs;var ne=N.contextType;typeof ne=="object"&&ne!==null?z.context=en(ne):(ne=qe(N)?wr:cn.current,z.context=lt(b,ne)),ne=b.updateQueue,ne!==null&&(Qn(b,ne,k,z,U),z.state=b.memoizedState),ne=N.getDerivedStateFromProps,typeof ne=="function"&&(pr(b,N,ne,k),z.state=b.memoizedState),typeof N.getDerivedStateFromProps=="function"||typeof z.getSnapshotBeforeUpdate=="function"||typeof z.UNSAFE_componentWillMount!="function"&&typeof z.componentWillMount!="function"||(N=z.state,typeof z.componentWillMount=="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount=="function"&&z.UNSAFE_componentWillMount(),N!==z.state&&Co.enqueueReplaceState(z,z.state,null),ne=b.updateQueue,ne!==null&&(Qn(b,ne,k,z,U),z.state=b.memoizedState)),typeof z.componentDidMount=="function"&&(b.effectTag|=4)}function Jn(b,N,k){if(b=k.ref,b!==null&&typeof b!="function"&&typeof b!="object"){if(k._owner){if(k=k._owner,k){if(k.tag!==1)throw Error(C(309));var U=k.stateNode}if(!U)throw Error(C(147,b));var z=""+b;return N!==null&&N.ref!==null&&typeof N.ref=="function"&&N.ref._stringRef===z?N.ref:(N=function(ne){var ae=U.refs;ae===Gs&&(ae=U.refs={}),ne===null?delete ae[z]:ae[z]=ne},N._stringRef=z,N)}if(typeof b!="string")throw Error(C(284));if(!k._owner)throw Error(C(290,b))}return b}function mr(b,N){if(b.type!=="textarea")throw Error(C(31,Object.prototype.toString.call(N)==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":N,""))}function ou(b){function N(be,_e){if(b){var Fe=be.lastEffect;Fe!==null?(Fe.nextEffect=_e,be.lastEffect=_e):be.firstEffect=be.lastEffect=_e,_e.nextEffect=null,_e.effectTag=8}}function k(be,_e){if(!b)return null;for(;_e!==null;)N(be,_e),_e=_e.sibling;return null}function U(be,_e){for(be=new Map;_e!==null;)_e.key!==null?be.set(_e.key,_e):be.set(_e.index,_e),_e=_e.sibling;return be}function z(be,_e,Fe){return be=Ar(be,_e,Fe),be.index=0,be.sibling=null,be}function ne(be,_e,Fe){return be.index=Fe,b?(Fe=be.alternate,Fe!==null?(Fe=Fe.index,Fe<_e?(be.effectTag=2,_e):Fe):(be.effectTag=2,_e)):_e}function ae(be){return b&&be.alternate===null&&(be.effectTag=2),be}function de(be,_e,Fe,xe){return _e===null||_e.tag!==6?(_e=ia(Fe,be.mode,xe),_e.return=be,_e):(_e=z(_e,Fe,xe),_e.return=be,_e)}function Ce(be,_e,Fe,xe){return _e!==null&&_e.elementType===Fe.type?(xe=z(_e,Fe.props,xe),xe.ref=Jn(be,_e,Fe),xe.return=be,xe):(xe=qi(Fe.type,Fe.key,Fe.props,null,be.mode,xe),xe.ref=Jn(be,_e,Fe),xe.return=be,xe)}function Te(be,_e,Fe,xe){return _e===null||_e.tag!==4||_e.stateNode.containerInfo!==Fe.containerInfo||_e.stateNode.implementation!==Fe.implementation?(_e=oa(Fe,be.mode,xe),_e.return=be,_e):(_e=z(_e,Fe.children||[],xe),_e.return=be,_e)}function Oe(be,_e,Fe,xe,Me){return _e===null||_e.tag!==7?(_e=qn(Fe,be.mode,xe,Me),_e.return=be,_e):(_e=z(_e,Fe,xe),_e.return=be,_e)}function It(be,_e,Fe){if(typeof _e=="string"||typeof _e=="number")return _e=ia(""+_e,be.mode,Fe),_e.return=be,_e;if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case ao:return Fe=qi(_e.type,_e.key,_e.props,null,be.mode,Fe),Fe.ref=Jn(be,null,_e),Fe.return=be,Fe;case Ur:return _e=oa(_e,be.mode,Fe),_e.return=be,_e}if(Ao(_e)||a(_e))return _e=qn(_e,be.mode,Fe,null),_e.return=be,_e;mr(be,_e)}return null}function at(be,_e,Fe,xe){var Me=_e!==null?_e.key:null;if(typeof Fe=="string"||typeof Fe=="number")return Me!==null?null:de(be,_e,""+Fe,xe);if(typeof Fe=="object"&&Fe!==null){switch(Fe.$$typeof){case ao:return Fe.key===Me?Fe.type===er?Oe(be,_e,Fe.props.children,xe,Me):Ce(be,_e,Fe,xe):null;case Ur:return Fe.key===Me?Te(be,_e,Fe,xe):null}if(Ao(Fe)||a(Fe))return Me!==null?null:Oe(be,_e,Fe,xe,null);mr(be,Fe)}return null}function rn(be,_e,Fe,xe,Me){if(typeof xe=="string"||typeof xe=="number")return be=be.get(Fe)||null,de(_e,be,""+xe,Me);if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case ao:return be=be.get(xe.key===null?Fe:xe.key)||null,xe.type===er?Oe(_e,be,xe.props.children,Me,xe.key):Ce(_e,be,xe,Me);case Ur:return be=be.get(xe.key===null?Fe:xe.key)||null,Te(_e,be,xe,Me)}if(Ao(xe)||a(xe))return be=be.get(Fe)||null,Oe(_e,be,xe,Me,null);mr(_e,xe)}return null}function ti(be,_e,Fe,xe){for(var Me=null,Ve=null,et=_e,vt=_e=0,xt=null;et!==null&&vt<Fe.length;vt++){et.index>vt?(xt=et,et=null):xt=et.sibling;var ct=at(be,et,Fe[vt],xe);if(ct===null){et===null&&(et=xt);break}b&&et&&ct.alternate===null&&N(be,et),_e=ne(ct,_e,vt),Ve===null?Me=ct:Ve.sibling=ct,Ve=ct,et=xt}if(vt===Fe.length)return k(be,et),Me;if(et===null){for(;vt<Fe.length;vt++)et=It(be,Fe[vt],xe),et!==null&&(_e=ne(et,_e,vt),Ve===null?Me=et:Ve.sibling=et,Ve=et);return Me}for(et=U(be,et);vt<Fe.length;vt++)xt=rn(et,be,vt,Fe[vt],xe),xt!==null&&(b&&xt.alternate!==null&&et.delete(xt.key===null?vt:xt.key),_e=ne(xt,_e,vt),Ve===null?Me=xt:Ve.sibling=xt,Ve=xt);return b&&et.forEach(function(Rn){return N(be,Rn)}),Me}function Yn(be,_e,Fe,xe){var Me=a(Fe);if(typeof Me!="function")throw Error(C(150));if(Fe=Me.call(Fe),Fe==null)throw Error(C(151));for(var Ve=Me=null,et=_e,vt=_e=0,xt=null,ct=Fe.next();et!==null&&!ct.done;vt++,ct=Fe.next()){et.index>vt?(xt=et,et=null):xt=et.sibling;var Rn=at(be,et,ct.value,xe);if(Rn===null){et===null&&(et=xt);break}b&&et&&Rn.alternate===null&&N(be,et),_e=ne(Rn,_e,vt),Ve===null?Me=Rn:Ve.sibling=Rn,Ve=Rn,et=xt}if(ct.done)return k(be,et),Me;if(et===null){for(;!ct.done;vt++,ct=Fe.next())ct=It(be,ct.value,xe),ct!==null&&(_e=ne(ct,_e,vt),Ve===null?Me=ct:Ve.sibling=ct,Ve=ct);return Me}for(et=U(be,et);!ct.done;vt++,ct=Fe.next())ct=rn(et,be,vt,ct.value,xe),ct!==null&&(b&&ct.alternate!==null&&et.delete(ct.key===null?vt:ct.key),_e=ne(ct,_e,vt),Ve===null?Me=ct:Ve.sibling=ct,Ve=ct);return b&&et.forEach(function(Oo){return N(be,Oo)}),Me}return function(be,_e,Fe,xe){var Me=typeof Fe=="object"&&Fe!==null&&Fe.type===er&&Fe.key===null;Me&&(Fe=Fe.props.children);var Ve=typeof Fe=="object"&&Fe!==null;if(Ve)switch(Fe.$$typeof){case ao:e:{for(Ve=Fe.key,Me=_e;Me!==null;){if(Me.key===Ve)if(Me.tag===7?Fe.type===er:Me.elementType===Fe.type){k(be,Me.sibling),_e=z(Me,Fe.type===er?Fe.props.children:Fe.props,xe),_e.ref=Jn(be,Me,Fe),_e.return=be,be=_e;break e}else{k(be,Me);break}else N(be,Me);Me=Me.sibling}Fe.type===er?(_e=qn(Fe.props.children,be.mode,xe,Fe.key),_e.return=be,be=_e):(xe=qi(Fe.type,Fe.key,Fe.props,null,be.mode,xe),xe.ref=Jn(be,_e,Fe),xe.return=be,be=xe)}return ae(be);case Ur:e:{for(Me=Fe.key;_e!==null;){if(_e.key===Me)if(_e.tag===4&&_e.stateNode.containerInfo===Fe.containerInfo&&_e.stateNode.implementation===Fe.implementation){k(be,_e.sibling),_e=z(_e,Fe.children||[],xe),_e.return=be,be=_e;break e}else{k(be,_e);break}else N(be,_e);_e=_e.sibling}_e=oa(Fe,be.mode,xe),_e.return=be,be=_e}return ae(be)}if(typeof Fe=="string"||typeof Fe=="number")return Fe=""+Fe,_e!==null&&_e.tag===6?(k(be,_e.sibling),_e=z(_e,Fe,xe),_e.return=be,be=_e):(k(be,_e),_e=ia(Fe,be.mode,xe),_e.return=be,be=_e),ae(be);if(Ao(Fe))return ti(be,_e,Fe,xe);if(a(Fe))return Yn(be,_e,Fe,xe);if(Ve&&mr(be,Fe),typeof Fe=="undefined"&&!Me)switch(be.tag){case 1:case 0:throw be=be.type,Error(C(152,be.displayName||be.name||"Component"))}return k(be,_e)}}function Er(b){if(b===Bi)throw Error(C(174));return b}function ko(b,N){Je(Pi,N,b),Je(Mi,b,b),Je(Nn,Bi,b);var k=N.nodeType;switch(k){case 9:case 11:N=(N=N.documentElement)?N.namespaceURI:X(null,"");break;default:k=k===Sr?N.parentNode:N,N=k.namespaceURI||null,k=k.tagName,N=X(N,k)}Qe(Nn,b),Je(Nn,N,b)}function Lr(b){Qe(Nn,b),Qe(Mi,b),Qe(Pi,b)}function au(b){Er(Pi.current);var N=Er(Nn.current),k=X(N,b.type);N!==k&&(Je(Mi,b,b),Je(Nn,k,b))}function Wo(b){Mi.current===b&&(Qe(Nn,b),Qe(Mi,b))}function Yi(b){for(var N=b;N!==null;){if(N.tag===13){var k=N.memoizedState;if(k!==null&&(k=k.dehydrated,k===null||k.data===Ba||k.data===Ma))return N}else if(N.tag===19&&N.memoizedProps.revealOrder!==void 0){if((N.effectTag&64)!==0)return N}else if(N.child!==null){N.child.return=N,N=N.child;continue}if(N===b)break;for(;N.sibling===null;){if(N.return===null||N.return===b)return null;N=N.return}N.sibling.return=N.return,N=N.sibling}return null}function uu(b,N){return{responder:b,props:N}}function gn(){throw Error(C(321))}function jo(b,N){if(N===null)return!1;for(var k=0;k<N.length&&k<b.length;k++)if(!Tr(b[k],N[k]))return!1;return!0}function Ho(b,N,k,U,z,ne){if(Oi=ne,lr=N,xn=b!==null?b.memoizedState:null,Do.current=xn===null?yc:Xs,N=k(U,z),ki){do ki=!1,Wi+=1,xn=b!==null?b.memoizedState:null,qr=Zr,Bn=dn=nn=null,Do.current=Xs,N=k(U,z);while(ki);Vn=null,Wi=0}if(Do.current=bo,b=lr,b.memoizedState=Zr,b.expirationTime=ei,b.updateQueue=Bn,b.effectTag|=Li,b=nn!==null&&nn.next!==null,Oi=0,qr=dn=Zr=xn=nn=lr=null,ei=0,Bn=null,Li=0,b)throw Error(C(300));return N}function su(){Do.current=bo,Oi=0,qr=dn=Zr=xn=nn=lr=null,ei=0,Bn=null,Li=0,ki=!1,Vn=null,Wi=0}function kr(){var b={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return dn===null?Zr=dn=b:dn=dn.next=b,dn}function vi(){if(qr!==null)dn=qr,qr=dn.next,nn=xn,xn=nn!==null?nn.next:null;else{if(xn===null)throw Error(C(310));nn=xn;var b={memoizedState:nn.memoizedState,baseState:nn.baseState,queue:nn.queue,baseUpdate:nn.baseUpdate,next:null};dn=dn===null?Zr=b:dn.next=b,xn=nn.next}return dn}function lu(b,N){return typeof N=="function"?N(b):N}function cu(b,N,k){if(N=vi(),k=N.queue,k===null)throw Error(C(311));if(k.lastRenderedReducer=b,0<Wi){var U=k.dispatch;if(Vn!==null){var z=Vn.get(k);if(z!==void 0){Vn.delete(k);var ne=N.memoizedState;do ne=b(ne,z.action),z=z.next;while(z!==null);return Tr(ne,N.memoizedState)||(Mn=!0),N.memoizedState=ne,N.baseUpdate===k.last&&(N.baseState=ne),k.lastRenderedState=ne,[ne,U]}}return[N.memoizedState,U]}U=k.last;var ae=N.baseUpdate;if(ne=N.baseState,ae!==null?(U!==null&&(U.next=null),U=ae.next):U=U!==null?U.next:null,U!==null){var de=z=null,Ce=U,Te=!1;do{var Oe=Ce.expirationTime;Oe<Oi?(Te||(Te=!0,de=ae,z=ne),Oe>ei&&(ei=Oe,Zi(ei))):(Vu(Oe,Ce.suspenseConfig),ne=Ce.eagerReducer===b?Ce.eagerState:b(ne,Ce.action)),ae=Ce,Ce=Ce.next}while(Ce!==null&&Ce!==U);Te||(de=ae,z=ne),Tr(ne,N.memoizedState)||(Mn=!0),N.memoizedState=ne,N.baseUpdate=de,N.baseState=z,k.lastRenderedState=ne}return[N.memoizedState,k.dispatch]}function Ko(b){var N=kr();return typeof b=="function"&&(b=b()),N.memoizedState=N.baseState=b,b=N.queue={last:null,dispatch:null,lastRenderedReducer:lu,lastRenderedState:b},b=b.dispatch=mu.bind(null,lr,b),[N.memoizedState,b]}function Uo(b){return cu(lu,b)}function Vo(b,N,k,U){return b={tag:b,create:N,destroy:k,deps:U,next:null},Bn===null?(Bn={lastEffect:null},Bn.lastEffect=b.next=b):(N=Bn.lastEffect,N===null?Bn.lastEffect=b.next=b:(k=N.next,N.next=b,b.next=k,Bn.lastEffect=b)),b}function $o(b,N,k,U){var z=kr();Li|=b,z.memoizedState=Vo(N,k,void 0,U===void 0?null:U)}function zo(b,N,k,U){var z=vi();U=U===void 0?null:U;var ne=void 0;if(nn!==null){var ae=nn.memoizedState;if(ne=ae.destroy,U!==null&&jo(U,ae.deps)){Vo(0,k,ne,U);return}}Li|=b,z.memoizedState=Vo(N,k,ne,U)}function du(b,N){return $o(516,192,b,N)}function fu(b,N){return zo(516,192,b,N)}function hu(b,N){if(typeof N=="function")return b=b(),N(b),function(){N(null)};if(N!=null)return b=b(),N.current=b,function(){N.current=null}}function vu(b,N){}function pu(b,N){return kr().memoizedState=[b,N===void 0?null:N],b}function gu(b,N){var k=vi();N=N===void 0?null:N;var U=k.memoizedState;return U!==null&&N!==null&&jo(N,U[1])?U[0]:(k.memoizedState=[b,N],b)}function mu(b,N,k){if(!(25>Wi))throw Error(C(301));var U=b.alternate;if(b===lr||U!==null&&U===lr)if(ki=!0,b={expirationTime:Oi,suspenseConfig:null,action:k,eagerReducer:null,eagerState:null,next:null},Vn===null&&(Vn=new Map),k=Vn.get(N),k===void 0)Vn.set(N,b);else{for(N=k;N.next!==null;)N=N.next;N.next=b}else{var z=Sn(),ne=xi.suspense;z=yr(z,b,ne),ne={expirationTime:z,suspenseConfig:ne,action:k,eagerReducer:null,eagerState:null,next:null};var ae=N.last;if(ae===null)ne.next=ne;else{var de=ae.next;de!==null&&(ne.next=de),ae.next=ne}if(N.last=ne,b.expirationTime===0&&(U===null||U.expirationTime===0)&&(U=N.lastRenderedReducer,U!==null))try{var Ce=N.lastRenderedState,Te=U(Ce,k);if(ne.eagerReducer=U,ne.eagerState=Te,Tr(Te,Ce))return}catch(Oe){}finally{}fr(b,z)}}function Eu(b,N){var k=On(5,null,null,0);k.elementType="DELETED",k.type="DELETED",k.stateNode=N,k.return=b,k.effectTag=8,b.lastEffect!==null?(b.lastEffect.nextEffect=k,b.lastEffect=k):b.firstEffect=b.lastEffect=k}function yu(b,N){switch(b.tag){case 5:var k=b.type;return N=N.nodeType!==1||k.toLowerCase()!==N.nodeName.toLowerCase()?null:N,N!==null?(b.stateNode=N,!0):!1;case 6:return N=b.pendingProps===""||N.nodeType!==3?null:N,N!==null?(b.stateNode=N,!0):!1;case 13:return!1;default:return!1}}function Yo(b){if(Fr){var N=cr;if(N){var k=N;if(!yu(b,N)){if(N=kn(k.nextSibling),!N||!yu(b,N)){b.effectTag=b.effectTag&-1025|2,Fr=!1,$n=b;return}Eu($n,k)}$n=b,cr=kn(N.firstChild)}else b.effectTag=b.effectTag&-1025|2,Fr=!1,$n=b}}function _u(b){for(b=b.return;b!==null&&b.tag!==5&&b.tag!==3&&b.tag!==13;)b=b.return;$n=b}function Gi(b){if(b!==$n)return!1;if(!Fr)return _u(b),Fr=!0,!1;var N=b.type;if(b.tag!==5||N!=="head"&&N!=="body"&&!hr(N,b.memoizedProps))for(N=cr;N;)Eu(b,N),N=kn(N.nextSibling);if(_u(b),b.tag===13){if(b=b.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(C(317));e:{for(b=b.nextSibling,N=0;b;){if(b.nodeType===Sr){var k=b.data;if(k===Bs){if(N===0){cr=kn(b.nextSibling);break e}N--}else k!==xs&&k!==Ma&&k!==Ba||N++}b=b.nextSibling}cr=null}}else cr=$n?kn(b.stateNode.nextSibling):null;return!0}function Go(){cr=$n=null,Fr=!1}function mn(b,N,k,U){N.child=b===null?Qa(N,null,k,U):Jr(N,b.child,k,U)}function Cu(b,N,k,U,z){k=k.render;var ne=N.ref;return qt(N,z),U=Ho(b,N,k,U,ne,z),b!==null&&!Mn?(N.updateQueue=b.updateQueue,N.effectTag&=-517,b.expirationTime<=z&&(b.expirationTime=0),Hn(b,N,z)):(N.effectTag|=1,mn(b,N,U,z),N.child)}function Au(b,N,k,U,z,ne){if(b===null){var ae=k.type;return typeof ae=="function"&&!ra(ae)&&ae.defaultProps===void 0&&k.compare===null&&k.defaultProps===void 0?(N.tag=15,N.type=ae,Du(b,N,ae,U,z,ne)):(b=qi(k.type,null,U,null,N.mode,ne),b.ref=N.ref,b.return=N,N.child=b)}return ae=b.child,z<ne&&(z=ae.memoizedProps,k=k.compare,k=k!==null?k:ft,k(z,U)&&b.ref===N.ref)?Hn(b,N,ne):(N.effectTag|=1,b=Ar(ae,U,ne),b.ref=N.ref,b.return=N,N.child=b)}function Du(b,N,k,U,z,ne){return b!==null&&ft(b.memoizedProps,U)&&b.ref===N.ref&&(Mn=!1,z<ne)?Hn(b,N,ne):Xo(b,N,k,U,ne)}function bu(b,N){var k=N.ref;(b===null&&k!==null||b!==null&&b.ref!==k)&&(N.effectTag|=128)}function Xo(b,N,k,U,z){var ne=qe(k)?wr:cn.current;return ne=lt(N,ne),qt(N,z),k=Ho(b,N,k,U,ne,z),b!==null&&!Mn?(N.updateQueue=b.updateQueue,N.effectTag&=-517,b.expirationTime<=z&&(b.expirationTime=0),Hn(b,N,z)):(N.effectTag|=1,mn(b,N,k,z),N.child)}function Su(b,N,k,U,z){if(qe(k)){var ne=!0;Pe(N)}else ne=!1;if(qt(N,z),N.stateNode===null)b!==null&&(b.alternate=null,N.alternate=null,N.effectTag|=2),zi(N,k,U,z),Or(N,k,U,z),U=!0;else if(b===null){var ae=N.stateNode,de=N.memoizedProps;ae.props=de;var Ce=ae.context,Te=k.contextType;typeof Te=="object"&&Te!==null?Te=en(Te):(Te=qe(k)?wr:cn.current,Te=lt(N,Te));var Oe=k.getDerivedStateFromProps,It=typeof Oe=="function"||typeof ae.getSnapshotBeforeUpdate=="function";It||typeof ae.UNSAFE_componentWillReceiveProps!="function"&&typeof ae.componentWillReceiveProps!="function"||(de!==U||Ce!==Te)&&gr(N,ae,U,Te),sr=!1;var at=N.memoizedState;Ce=ae.state=at;var rn=N.updateQueue;rn!==null&&(Qn(N,rn,U,ae,z),Ce=N.memoizedState),de!==U||at!==Ce||An.current||sr?(typeof Oe=="function"&&(pr(N,k,Oe,U),Ce=N.memoizedState),(de=sr||$i(N,k,de,U,at,Ce,Te))?(It||typeof ae.UNSAFE_componentWillMount!="function"&&typeof ae.componentWillMount!="function"||(typeof ae.componentWillMount=="function"&&ae.componentWillMount(),typeof ae.UNSAFE_componentWillMount=="function"&&ae.UNSAFE_componentWillMount()),typeof ae.componentDidMount=="function"&&(N.effectTag|=4)):(typeof ae.componentDidMount=="function"&&(N.effectTag|=4),N.memoizedProps=U,N.memoizedState=Ce),ae.props=U,ae.state=Ce,ae.context=Te,U=de):(typeof ae.componentDidMount=="function"&&(N.effectTag|=4),U=!1)}else ae=N.stateNode,de=N.memoizedProps,ae.props=N.type===N.elementType?de:Ft(N.type,de),Ce=ae.context,Te=k.contextType,typeof Te=="object"&&Te!==null?Te=en(Te):(Te=qe(k)?wr:cn.current,Te=lt(N,Te)),Oe=k.getDerivedStateFromProps,(It=typeof Oe=="function"||typeof ae.getSnapshotBeforeUpdate=="function")||typeof ae.UNSAFE_componentWillReceiveProps!="function"&&typeof ae.componentWillReceiveProps!="function"||(de!==U||Ce!==Te)&&gr(N,ae,U,Te),sr=!1,Ce=N.memoizedState,at=ae.state=Ce,rn=N.updateQueue,rn!==null&&(Qn(N,rn,U,ae,z),at=N.memoizedState),de!==U||Ce!==at||An.current||sr?(typeof Oe=="function"&&(pr(N,k,Oe,U),at=N.memoizedState),(Oe=sr||$i(N,k,de,U,Ce,at,Te))?(It||typeof ae.UNSAFE_componentWillUpdate!="function"&&typeof ae.componentWillUpdate!="function"||(typeof ae.componentWillUpdate=="function"&&ae.componentWillUpdate(U,at,Te),typeof ae.UNSAFE_componentWillUpdate=="function"&&ae.UNSAFE_componentWillUpdate(U,at,Te)),typeof ae.componentDidUpdate=="function"&&(N.effectTag|=4),typeof ae.getSnapshotBeforeUpdate=="function"&&(N.effectTag|=256)):(typeof ae.componentDidUpdate!="function"||de===b.memoizedProps&&Ce===b.memoizedState||(N.effectTag|=4),typeof ae.getSnapshotBeforeUpdate!="function"||de===b.memoizedProps&&Ce===b.memoizedState||(N.effectTag|=256),N.memoizedProps=U,N.memoizedState=at),ae.props=U,ae.state=at,ae.context=Te,U=Oe):(typeof ae.componentDidUpdate!="function"||de===b.memoizedProps&&Ce===b.memoizedState||(N.effectTag|=4),typeof ae.getSnapshotBeforeUpdate!="function"||de===b.memoizedProps&&Ce===b.memoizedState||(N.effectTag|=256),U=!1);return Qo(b,N,k,U,ne,z)}function Qo(b,N,k,U,z,ne){bu(b,N);var ae=(N.effectTag&64)!==0;if(!U&&!ae)return z&&We(N,k,!1),Hn(b,N,ne);U=N.stateNode,_c.current=N;var de=ae&&typeof k.getDerivedStateFromError!="function"?null:U.render();return N.effectTag|=1,b!==null&&ae?(N.child=Jr(N,b.child,null,ne),N.child=Jr(N,null,de,ne)):mn(b,N,de,ne),N.memoizedState=U.state,z&&We(N,k,!0),N.child}function Tu(b){var N=b.stateNode;N.pendingContext?wt(b,N.pendingContext,N.pendingContext!==N.context):N.context&&wt(b,N.context,!1),ko(b,N.containerInfo)}function wu(b,N,k){var U=N.mode,z=N.pendingProps,ne=Pt.current,ae=!1,de;if((de=(N.effectTag&64)!==0)||(de=(ne&2)!==0&&(b===null||b.memoizedState!==null)),de?(ae=!0,N.effectTag&=-65):b!==null&&b.memoizedState===null||z.fallback===void 0||z.unstable_avoidThisFallback===!0||(ne|=1),Je(Pt,ne&1,N),b===null){if(z.fallback!==void 0&&Yo(N),ae){if(ae=z.fallback,z=qn(null,U,0,null),z.return=N,(N.mode&2)===0)for(b=N.memoizedState!==null?N.child.child:N.child,z.child=b;b!==null;)b.return=z,b=b.sibling;return k=qn(ae,U,k,null),k.return=N,z.sibling=k,N.memoizedState=Ja,N.child=z,k}return U=z.children,N.memoizedState=null,N.child=Qa(N,null,U,k)}if(b.memoizedState!==null){if(b=b.child,U=b.sibling,ae){if(z=z.fallback,k=Ar(b,b.pendingProps,0),k.return=N,(N.mode&2)===0&&(ae=N.memoizedState!==null?N.child.child:N.child,ae!==b.child))for(k.child=ae;ae!==null;)ae.return=k,ae=ae.sibling;return U=Ar(U,z,U.expirationTime),U.return=N,k.sibling=U,k.childExpirationTime=0,N.memoizedState=Ja,N.child=k,U}return k=Jr(N,b.child,z.children,k),N.memoizedState=null,N.child=k}if(b=b.child,ae){if(ae=z.fallback,z=qn(null,U,0,null),z.return=N,z.child=b,b!==null&&(b.return=z),(N.mode&2)===0)for(b=N.memoizedState!==null?N.child.child:N.child,z.child=b;b!==null;)b.return=z,b=b.sibling;return k=qn(ae,U,k,null),k.return=N,z.sibling=k,k.effectTag|=2,z.childExpirationTime=0,N.memoizedState=Ja,N.child=z,k}return N.memoizedState=null,N.child=Jr(N,b,z.children,k)}function Fu(b,N){b.expirationTime<N&&(b.expirationTime=N);var k=b.alternate;k!==null&&k.expirationTime<N&&(k.expirationTime=N),Zt(b.return,N)}function Jo(b,N,k,U,z,ne){var ae=b.memoizedState;ae===null?b.memoizedState={isBackwards:N,rendering:null,last:U,tail:k,tailExpiration:0,tailMode:z,lastEffect:ne}:(ae.isBackwards=N,ae.rendering=null,ae.last=U,ae.tail=k,ae.tailExpiration=0,ae.tailMode=z,ae.lastEffect=ne)}function Ru(b,N,k){var U=N.pendingProps,z=U.revealOrder,ne=U.tail;if(mn(b,N,U.children,k),U=Pt.current,(U&2)!==0)U=U&1|2,N.effectTag|=64;else{if(b!==null&&(b.effectTag&64)!==0)e:for(b=N.child;b!==null;){if(b.tag===13)b.memoizedState!==null&&Fu(b,k);else if(b.tag===19)Fu(b,k);else if(b.child!==null){b.child.return=b,b=b.child;continue}if(b===N)break e;for(;b.sibling===null;){if(b.return===null||b.return===N)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}U&=1}if(Je(Pt,U,N),(N.mode&2)===0)N.memoizedState=null;else switch(z){case"forwards":for(k=N.child,z=null;k!==null;)b=k.alternate,b!==null&&Yi(b)===null&&(z=k),k=k.sibling;k=z,k===null?(z=N.child,N.child=null):(z=k.sibling,k.sibling=null),Jo(N,!1,z,k,ne,N.lastEffect);break;case"backwards":for(k=null,z=N.child,N.child=null;z!==null;){if(b=z.alternate,b!==null&&Yi(b)===null){N.child=z;break}b=z.sibling,z.sibling=k,k=z,z=b}Jo(N,!0,k,null,ne,N.lastEffect);break;case"together":Jo(N,!1,null,null,void 0,N.lastEffect);break;default:N.memoizedState=null}return N.child}function Hn(b,N,k){b!==null&&(N.dependencies=b.dependencies);var U=N.expirationTime;if(U!==0&&Zi(U),N.childExpirationTime<k)return null;if(b!==null&&N.child!==b.child)throw Error(C(153));if(N.child!==null){for(b=N.child,k=Ar(b,b.pendingProps,b.expirationTime),N.child=k,k.return=N;b.sibling!==null;)b=b.sibling,k=k.sibling=Ar(b,b.pendingProps,b.expirationTime),k.return=N;k.sibling=null}return N.child}function Wr(b){b.effectTag|=4}function Xi(b,N){switch(b.tailMode){case"hidden":N=b.tail;for(var k=null;N!==null;)N.alternate!==null&&(k=N),N=N.sibling;k===null?b.tail=null:k.sibling=null;break;case"collapsed":k=b.tail;for(var U=null;k!==null;)k.alternate!==null&&(U=k),k=k.sibling;U===null?N||b.tail===null?b.tail=null:b.tail.sibling=null:U.sibling=null}}function sl(b,N){switch(b.tag){case 1:return qe(b.type)&&Dt(b),N=b.effectTag,N&4096?(b.effectTag=N&-4097|64,b):null;case 3:if(Lr(b),Et(b),N=b.effectTag,(N&64)!==0)throw Error(C(285));return b.effectTag=N&-4097|64,b;case 5:return Wo(b),null;case 13:return Qe(Pt,b),N=b.effectTag,N&4096?(b.effectTag=N&-4097|64,b):null;case 19:return Qe(Pt,b),null;case 4:return Lr(b),null;case 10:return Jt(b),null;default:return null}}function Zo(b,N){return{value:b,source:N,stack:s(N)}}function qo(b,N){var k=N.source,U=N.stack;U===null&&k!==null&&(U=s(k)),k!==null&&u(k.type),N=N.value,b!==null&&b.tag===1&&u(b.type);try{console.error(N)}catch(z){setTimeout(function(){throw z})}}function ll(b,N){try{N.props=b.memoizedProps,N.state=b.memoizedState,N.componentWillUnmount()}catch(k){Cr(b,k)}}function Iu(b){var N=b.ref;if(N!==null)if(typeof N=="function")try{N(null)}catch(k){Cr(b,k)}else N.current=null}function cl(b,N){switch(N.tag){case 0:case 11:case 15:pi(2,0,N);break;case 1:if(N.effectTag&256&&b!==null){var k=b.memoizedProps,U=b.memoizedState;b=N.stateNode,N=b.getSnapshotBeforeUpdate(N.elementType===N.type?k:Ft(N.type,k),U),b.__reactInternalSnapshotBeforeUpdate=N}break;case 3:case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}function pi(b,N,k){if(k=k.updateQueue,k=k!==null?k.lastEffect:null,k!==null){var U=k=k.next;do{if((U.tag&b)!==0){var z=U.destroy;U.destroy=void 0,z!==void 0&&z()}(U.tag&N)!==0&&(z=U.create,U.destroy=z()),U=U.next}while(U!==k)}}function Nu(b,N,k){switch(typeof iu=="function"&&iu(N),N.tag){case 0:case 11:case 14:case 15:if(b=N.updateQueue,b!==null&&(b=b.lastEffect,b!==null)){var U=b.next;mt(97<k?97:k,function(){var z=U;do{var ne=z.destroy;if(ne!==void 0){var ae=N;try{ne()}catch(de){Cr(ae,de)}}z=z.next}while(z!==U)})}break;case 1:Iu(N),k=N.stateNode,typeof k.componentWillUnmount=="function"&&ll(N,k);break;case 5:Iu(N);break;case 4:Pu(b,N,k)}}function xu(b){var N=b.alternate;b.return=null,b.child=null,b.memoizedState=null,b.updateQueue=null,b.dependencies=null,b.alternate=null,b.firstEffect=null,b.lastEffect=null,b.pendingProps=null,b.memoizedProps=null,N!==null&&xu(N)}function Bu(b){return b.tag===5||b.tag===3||b.tag===4}function Mu(b){e:{for(var N=b.return;N!==null;){if(Bu(N)){var k=N;break e}N=N.return}throw Error(C(160))}switch(N=k.stateNode,k.tag){case 5:var U=!1;break;case 3:N=N.containerInfo,U=!0;break;case 4:N=N.containerInfo,U=!0;break;default:throw Error(C(161))}k.effectTag&16&&(yi(N,""),k.effectTag&=-17);e:t:for(k=b;;){for(;k.sibling===null;){if(k.return===null||Bu(k.return)){k=null;break e}k=k.return}for(k.sibling.return=k.return,k=k.sibling;k.tag!==5&&k.tag!==6&&k.tag!==18;){if(k.effectTag&2||k.child===null||k.tag===4)continue t;k.child.return=k,k=k.child}if(!(k.effectTag&2)){k=k.stateNode;break e}}for(var z=b;;){var ne=z.tag===5||z.tag===6;if(ne){var ae=ne?z.stateNode:z.stateNode.instance;if(k)if(U){ne=N;var de=ae;ae=k,ne.nodeType===Sr?ne.parentNode.insertBefore(de,ae):ne.insertBefore(de,ae)}else N.insertBefore(ae,k);else U?(de=N,de.nodeType===Sr?(ne=de.parentNode,ne.insertBefore(ae,de)):(ne=de,ne.appendChild(ae)),de=de._reactRootContainer,de!=null||ne.onclick!==null||(ne.onclick=Gn)):N.appendChild(ae)}else if(z.tag!==4&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===b)break;for(;z.sibling===null;){if(z.return===null||z.return===b)return;z=z.return}z.sibling.return=z.return,z=z.sibling}}function Pu(b,N,k){for(var U=N,z=!1,ne,ae;;){if(!z){z=U.return;e:for(;;){if(z===null)throw Error(C(160));switch(ne=z.stateNode,z.tag){case 5:ae=!1;break e;case 3:ne=ne.containerInfo,ae=!0;break e;case 4:ne=ne.containerInfo,ae=!0;break e}z=z.return}z=!0}if(U.tag===5||U.tag===6){e:for(var de=b,Ce=U,Te=k,Oe=Ce;;)if(Nu(de,Oe,Te),Oe.child!==null&&Oe.tag!==4)Oe.child.return=Oe,Oe=Oe.child;else{if(Oe===Ce)break;for(;Oe.sibling===null;){if(Oe.return===null||Oe.return===Ce)break e;Oe=Oe.return}Oe.sibling.return=Oe.return,Oe=Oe.sibling}ae?(de=ne,Ce=U.stateNode,de.nodeType===Sr?de.parentNode.removeChild(Ce):de.removeChild(Ce)):ne.removeChild(U.stateNode)}else if(U.tag===4){if(U.child!==null){ne=U.stateNode.containerInfo,ae=!0,U.child.return=U,U=U.child;continue}}else if(Nu(b,U,k),U.child!==null){U.child.return=U,U=U.child;continue}if(U===N)break;for(;U.sibling===null;){if(U.return===null||U.return===N)return;U=U.return,U.tag===4&&(z=!1)}U.sibling.return=U.return,U=U.sibling}}function ea(b,N){switch(N.tag){case 0:case 11:case 14:case 15:pi(4,8,N);break;case 1:break;case 5:var k=N.stateNode;if(k!=null){var U=N.memoizedProps,z=b!==null?b.memoizedProps:U;b=N.type;var ne=N.updateQueue;if(N.updateQueue=null,ne!==null){for(k[vo]=U,b==="input"&&U.type==="radio"&&U.name!=null&&L(k,U),Gt(b,z),N=Gt(b,U),z=0;z<ne.length;z+=2){var ae=ne[z],de=ne[z+1];ae==="style"?Nt(k,de):ae==="dangerouslySetInnerHTML"?vs(k,de):ae==="children"?yi(k,de):x(k,ae,de,N)}switch(b){case"input":O(k,U);break;case"textarea":Q(k,U);break;case"select":N=k._wrapperState.wasMultiple,k._wrapperState.wasMultiple=!!U.multiple,b=U.value,b!=null?V(k,!!U.multiple,b,!1):N!==!!U.multiple&&(U.defaultValue!=null?V(k,!!U.multiple,U.defaultValue,!0):V(k,!!U.multiple,U.multiple?[]:"",!1))}}}break;case 6:if(N.stateNode===null)throw Error(C(162));N.stateNode.nodeValue=N.memoizedProps;break;case 3:N=N.stateNode,N.hydrate&&(N.hydrate=!1,ut(N.containerInfo));break;case 12:break;case 13:if(k=N,N.memoizedState===null?U=!1:(U=!0,k=N.child,eu=wn()),k!==null)e:for(b=k;;){if(b.tag===5)ne=b.stateNode,U?(ne=ne.style,typeof ne.setProperty=="function"?ne.setProperty("display","none","important"):ne.display="none"):(ne=b.stateNode,z=b.memoizedProps.style,z=z!=null&&z.hasOwnProperty("display")?z.display:null,ne.style.display=it("display",z));else if(b.tag===6)b.stateNode.nodeValue=U?"":b.memoizedProps;else if(b.tag===13&&b.memoizedState!==null&&b.memoizedState.dehydrated===null){ne=b.child.sibling,ne.return=b,b=ne;continue}else if(b.child!==null){b.child.return=b,b=b.child;continue}if(b===k)break e;for(;b.sibling===null;){if(b.return===null||b.return===k)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}Ou(N);break;case 19:Ou(N);break;case 17:break;case 20:break;case 21:break;default:throw Error(C(163))}}function Ou(b){var N=b.updateQueue;if(N!==null){b.updateQueue=null;var k=b.stateNode;k===null&&(k=b.stateNode=new bc),N.forEach(function(U){var z=El.bind(null,b,U);k.has(U)||(k.add(U),U.then(z,z))})}}function Lu(b,N,k){k=Mt(k,null),k.tag=3,k.payload={element:null};var U=N.value;return k.callback=function(){xo||(xo=!0,tu=U),qo(b,N)},k}function ku(b,N,k){k=Mt(k,null),k.tag=3;var U=b.type.getDerivedStateFromError;if(typeof U=="function"){var z=N.value;k.payload=function(){return qo(b,N),U(z)}}var ne=b.stateNode;return ne!==null&&typeof ne.componentDidCatch=="function"&&(k.callback=function(){typeof U!="function"&&(dr===null?dr=new Set([this]):dr.add(this),qo(b,N));var ae=N.stack;this.componentDidCatch(N.value,{componentStack:ae!==null?ae:""})}),k}function Sn(){return(nt&(Fn|Pn))!==zt?1073741821-(wn()/10|0):Po!==0?Po:Po=1073741821-(wn()/10|0)}function yr(b,N,k){if(N=N.mode,(N&2)===0)return 1073741823;var U=Ue();if((N&4)===0)return U===99?1073741823:1073741822;if((nt&Fn)!==zt)return un;if(k!==null)b=Kt(b,k.timeoutMs|0||5e3,250);else switch(U){case 99:b=1073741823;break;case 98:b=Kt(b,150,100);break;case 97:case 96:b=Kt(b,5e3,250);break;case 95:b=2;break;default:throw Error(C(326))}return _n!==null&&b===un&&--b,b}function Qi(b,N){b.expirationTime<N&&(b.expirationTime=N);var k=b.alternate;k!==null&&k.expirationTime<N&&(k.expirationTime=N);var U=b.return,z=null;if(U===null&&b.tag===3)z=b.stateNode;else for(;U!==null;){if(k=U.alternate,U.childExpirationTime<N&&(U.childExpirationTime=N),k!==null&&k.childExpirationTime<N&&(k.childExpirationTime=N),U.return===null&&U.tag===3){z=U.stateNode;break}U=U.return}return z!==null&&(_n===z&&(Zi(N),Yt===Fo&&Dr(z,un)),Xu(z,N)),z}function Ji(b){var N=b.lastExpiredTime;return N!==0||(N=b.firstPendingTime,!Gu(b,N))?N:(N=b.lastPingedTime,b=b.nextKnownPendingLevel,N>b?N:b)}function En(b){if(b.lastExpiredTime!==0)b.callbackExpirationTime=1073741823,b.callbackPriority=99,b.callbackNode=yt(ta.bind(null,b));else{var N=Ji(b),k=b.callbackNode;if(N===0)k!==null&&(b.callbackNode=null,b.callbackExpirationTime=0,b.callbackPriority=90);else{var U=Sn();if(N===1073741823?U=99:N===1||N===2?U=95:(U=10*(1073741821-N)-10*(1073741821-U),U=0>=U?99:250>=U?98:5250>=U?97:95),k!==null){var z=b.callbackPriority;if(b.callbackExpirationTime===N&&z>=U)return;k!==$s&&Ws(k)}b.callbackExpirationTime=N,b.callbackPriority=U,N=N===1073741823?yt(ta.bind(null,b)):Wt(U,Wu.bind(null,b),{timeout:10*(1073741821-N)-wn()}),b.callbackNode=N}}}function Wu(b,N){if(Po=0,N)return N=Sn(),aa(b,N),En(b),null;var k=Ji(b);if(k!==0){if(N=b.callbackNode,(nt&(Fn|Pn))!==zt)throw Error(C(327));if(jr(),b===_n&&k===un||_r(b,k),ot!==null){var U=nt;nt|=Fn;var z=Uu(b);do try{hl();break}catch(de){Ku(b,de)}while(1);if(hn(),nt=U,So.current=z,Yt===To)throw N=Ro,_r(b,k),Dr(b,k),En(b),N;if(ot===null)switch(z=b.finishedWork=b.current.alternate,b.finishedExpirationTime=k,U=Yt,_n=null,U){case Rr:case To:throw Error(C(345));case Zs:aa(b,2<k?2:k);break;case wo:if(Dr(b,k),U=b.lastSuspendedTime,k===U&&(b.nextKnownPendingLevel=na(z)),zn===1073741823&&(z=eu+qs-wn(),10<z)){if(No){var ne=b.lastPingedTime;if(ne===0||ne>=k){b.lastPingedTime=k,_r(b,k);break}}if(ne=Ji(b),ne!==0&&ne!==k)break;if(U!==0&&U!==k){b.lastPingedTime=U;break}b.timeoutHandle=La(Zn.bind(null,b),z);break}Zn(b);break;case Fo:if(Dr(b,k),U=b.lastSuspendedTime,k===U&&(b.nextKnownPendingLevel=na(z)),No&&(z=b.lastPingedTime,z===0||z>=k)){b.lastPingedTime=k,_r(b,k);break}if(z=Ji(b),z!==0&&z!==k)break;if(U!==0&&U!==k){b.lastPingedTime=U;break}if(ji!==1073741823?U=10*(1073741821-ji)-wn():zn===1073741823?U=0:(U=10*(1073741821-zn)-5e3,z=wn(),k=10*(1073741821-k)-z,U=z-U,0>U&&(U=0),U=(120>U?120:480>U?480:1080>U?1080:1920>U?1920:3e3>U?3e3:4320>U?4320:1960*Tc(U/1960))-U,k<U&&(U=k)),10<U){b.timeoutHandle=La(Zn.bind(null,b),U);break}Zn(b);break;case qa:if(zn!==1073741823&&Io!==null){ne=zn;var ae=Io;if(U=ae.busyMinDurationMs|0,0>=U?U=0:(z=ae.busyDelayMs|0,ne=wn()-(10*(1073741821-ne)-(ae.timeoutMs|0||5e3)),U=ne<=z?0:z+U-ne),10<U){Dr(b,k),b.timeoutHandle=La(Zn.bind(null,b),U);break}}Zn(b);break;default:throw Error(C(329))}if(En(b),b.callbackNode===N)return Wu.bind(null,b)}}return null}function ta(b){var N=b.lastExpiredTime;if(N=N!==0?N:1073741823,b.finishedExpirationTime===N)Zn(b);else{if((nt&(Fn|Pn))!==zt)throw Error(C(327));if(jr(),b===_n&&N===un||_r(b,N),ot!==null){var k=nt;nt|=Fn;var U=Uu(b);do try{fl();break}catch(z){Ku(b,z)}while(1);if(hn(),nt=k,So.current=U,Yt===To)throw k=Ro,_r(b,N),Dr(b,N),En(b),k;if(ot!==null)throw Error(C(261));b.finishedWork=b.current.alternate,b.finishedExpirationTime=N,_n=null,Zn(b),En(b)}}return null}function dl(){if(Ir!==null){var b=Ir;Ir=null,b.forEach(function(N,k){aa(k,N),En(k)}),St()}}function ju(b,N){var k=nt;nt|=1;try{return b(N)}finally{nt=k,nt===zt&&St()}}function Hu(b,N){var k=nt;nt&=-2,nt|=Za;try{return b(N)}finally{nt=k,nt===zt&&St()}}function _r(b,N){b.finishedWork=null,b.finishedExpirationTime=0;var k=b.timeoutHandle;if(k!==-1&&(b.timeoutHandle=-1,nc(k)),ot!==null)for(k=ot.return;k!==null;){var U=k;switch(U.tag){case 1:var z=U.type.childContextTypes;z!=null&&Dt(U);break;case 3:Lr(U),Et(U);break;case 5:Wo(U);break;case 4:Lr(U);break;case 13:Qe(Pt,U);break;case 19:Qe(Pt,U);break;case 10:Jt(U)}k=k.return}_n=b,ot=Ar(b.current,null,N),un=N,Yt=Rr,Ro=null,ji=zn=1073741823,Io=null,Hi=0,No=!1}function Ku(b,N){do{try{if(hn(),su(),ot===null||ot.return===null)return Yt=To,Ro=N,null;e:{var k=b,U=ot.return,z=ot,ne=N;if(N=un,z.effectTag|=2048,z.firstEffect=z.lastEffect=null,ne!==null&&typeof ne=="object"&&typeof ne.then=="function"){var ae=ne,de=(Pt.current&1)!==0,Ce=U;do{var Te;if(Te=Ce.tag===13){var Oe=Ce.memoizedState;if(Oe!==null)Te=Oe.dehydrated!==null;else{var It=Ce.memoizedProps;Te=It.fallback===void 0?!1:It.unstable_avoidThisFallback!==!0?!0:!de}}if(Te){var at=Ce.updateQueue;if(at===null){var rn=new Set;rn.add(ae),Ce.updateQueue=rn}else at.add(ae);if((Ce.mode&2)===0){if(Ce.effectTag|=64,z.effectTag&=-2981,z.tag===1)if(z.alternate===null)z.tag=17;else{var ti=Mt(1073741823,null);ti.tag=_o,pn(z,ti)}z.expirationTime=1073741823;break e}ne=void 0,z=N;var Yn=k.pingCache;if(Yn===null?(Yn=k.pingCache=new Sc,ne=new Set,Yn.set(ae,ne)):(ne=Yn.get(ae),ne===void 0&&(ne=new Set,Yn.set(ae,ne))),!ne.has(z)){ne.add(z);var be=ml.bind(null,k,ae,z);ae.then(be,be)}Ce.effectTag|=4096,Ce.expirationTime=N;break e}Ce=Ce.return}while(Ce!==null);ne=Error((u(z.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
||
|
||
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`+s(z))}Yt!==qa&&(Yt=Zs),ne=Zo(ne,z),Ce=U;do{switch(Ce.tag){case 3:ae=ne,Ce.effectTag|=4096,Ce.expirationTime=N;var _e=Lu(Ce,ae,N);Mr(Ce,_e);break e;case 1:ae=ne;var Fe=Ce.type,xe=Ce.stateNode;if((Ce.effectTag&64)===0&&(typeof Fe.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&(dr===null||!dr.has(xe)))){Ce.effectTag|=4096,Ce.expirationTime=N;var Me=ku(Ce,ae,N);Mr(Ce,Me);break e}}Ce=Ce.return}while(Ce!==null)}ot=zu(ot)}catch(Ve){N=Ve;continue}break}while(1)}function Uu(b){return b=So.current,So.current=bo,b===null?bo:b}function Vu(b,N){b<zn&&2<b&&(zn=b),N!==null&&b<ji&&2<b&&(ji=b,Io=N)}function Zi(b){b>Hi&&(Hi=b)}function fl(){for(;ot!==null;)ot=$u(ot)}function hl(){for(;ot!==null&&!gc();)ot=$u(ot)}function $u(b){var N=wc(b.alternate,b,un);return b.memoizedProps=b.pendingProps,N===null&&(N=zu(b)),Js.current=null,N}function zu(b){ot=b;do{var N=ot.alternate;if(b=ot.return,(ot.effectTag&2048)===0){e:{var k=N;N=ot;var U=un,z=N.pendingProps;switch(N.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:qe(N.type)&&Dt(N);break;case 3:Lr(N),Et(N),z=N.stateNode,z.pendingContext&&(z.context=z.pendingContext,z.pendingContext=null),(k===null||k.child===null)&&Gi(N)&&Wr(N),Qs(N);break;case 5:Wo(N);var ne=Er(Pi.current);if(U=N.type,k!==null&&N.stateNode!=null)Ac(k,N,U,z,ne),k.ref!==N.ref&&(N.effectTag|=128);else if(z){var ae=Er(Nn.current);if(Gi(N)){z=N,k=z.stateNode;var de=z.type;switch(ae=z.memoizedProps,k[or]=z,k[vo]=ae,U=void 0,de){case"iframe":case"object":case"embed":le("load",k);break;case"video":case"audio":for(var Ce=0;Ce<_i.length;Ce++)le(_i[Ce],k);break;case"source":le("error",k);break;case"img":case"image":case"link":le("error",k),le("load",k);break;case"form":le("reset",k),le("submit",k);break;case"details":le("toggle",k);break;case"input":P(k,ae),le("invalid",k),ln(ne,"onChange");break;case"select":k._wrapperState={wasMultiple:!!ae.multiple},le("invalid",k),ln(ne,"onChange");break;case"textarea":G(k,ae),le("invalid",k),ln(ne,"onChange")}fn(de,ae),Ce=null;for(U in ae)if(ae.hasOwnProperty(U)){var Te=ae[U];U==="children"?typeof Te=="string"?k.textContent!==Te&&(Ce=["children",Te]):typeof Te=="number"&&k.textContent!==""+Te&&(Ce=["children",""+Te]):Kr.hasOwnProperty(U)&&Te!=null&&ln(ne,U)}switch(de){case"input":S(k),W(k,ae,!0);break;case"textarea":S(k),J(k,ae);break;case"select":case"option":break;default:typeof ae.onClick=="function"&&(k.onclick=Gn)}ne=Ce,z.updateQueue=ne,z=ne!==null,z&&Wr(N)}else{de=N,k=ne.nodeType===9?ne:ne.ownerDocument,ae==="http://www.w3.org/1999/xhtml"&&(ae=Y(U)),ae==="http://www.w3.org/1999/xhtml"?U==="script"?(k=k.createElement("div"),k.innerHTML="<script><\/script>",k=k.removeChild(k.firstChild)):typeof z.is=="string"?k=k.createElement(U,{is:z.is}):(k=k.createElement(U),U==="select"&&(ae=k,z.multiple?ae.multiple=!0:z.size&&(ae.size=z.size))):k=k.createElementNS(ae,U),k[or]=de,k[vo]=z,Cc(k,N,!1,!1),N.stateNode=k;var Oe=Gt(U,z);switch(U){case"iframe":case"object":case"embed":le("load",k),de=z;break;case"video":case"audio":for(de=0;de<_i.length;de++)le(_i[de],k);de=z;break;case"source":le("error",k),de=z;break;case"img":case"image":case"link":le("error",k),le("load",k),de=z;break;case"form":le("reset",k),le("submit",k),de=z;break;case"details":le("toggle",k),de=z;break;case"input":P(k,z),de=B(k,z),le("invalid",k),ln(ne,"onChange");break;case"option":de=H(k,z);break;case"select":k._wrapperState={wasMultiple:!!z.multiple},de=an({},z,{value:void 0}),le("invalid",k),ln(ne,"onChange");break;case"textarea":G(k,z),de=$(k,z),le("invalid",k),ln(ne,"onChange");break;default:de=z}fn(U,de),ae=void 0,Ce=U,Te=k;var It=de;for(ae in It)if(It.hasOwnProperty(ae)){var at=It[ae];ae==="style"?Nt(Te,at):ae==="dangerouslySetInnerHTML"?(at=at?at.__html:void 0,at!=null&&vs(Te,at)):ae==="children"?typeof at=="string"?(Ce!=="textarea"||at!=="")&&yi(Te,at):typeof at=="number"&&yi(Te,""+at):ae!=="suppressContentEditableWarning"&&ae!=="suppressHydrationWarning"&&ae!=="autoFocus"&&(Kr.hasOwnProperty(ae)?at!=null&&ln(ne,ae):at!=null&&x(Te,ae,at,Oe))}switch(U){case"input":S(k),W(k,z,!1);break;case"textarea":S(k),J(k,z);break;case"option":z.value!=null&&k.setAttribute("value",""+w(z.value));break;case"select":ne=k,k=z,ne.multiple=!!k.multiple,de=k.value,de!=null?V(ne,!!k.multiple,de,!1):k.defaultValue!=null&&V(ne,!!k.multiple,k.defaultValue,!0);break;default:typeof de.onClick=="function"&&(k.onclick=Gn)}ai(U,z)&&Wr(N)}N.ref!==null&&(N.effectTag|=128)}else if(N.stateNode===null)throw Error(C(166));break;case 6:if(k&&N.stateNode!=null)Dc(k,N,k.memoizedProps,z);else{if(typeof z!="string"&&N.stateNode===null)throw Error(C(166));U=Er(Pi.current),Er(Nn.current),Gi(N)?(z=N,ne=z.stateNode,U=z.memoizedProps,ne[or]=z,(z=ne.nodeValue!==U)&&Wr(N)):(ne=N,z=(U.nodeType===9?U:U.ownerDocument).createTextNode(z),z[or]=ne,N.stateNode=z)}break;case 11:break;case 13:if(Qe(Pt,N),z=N.memoizedState,(N.effectTag&64)!==0){N.expirationTime=U;break e}z=z!==null,ne=!1,k===null?N.memoizedProps.fallback!==void 0&&Gi(N):(U=k.memoizedState,ne=U!==null,z||U===null||(U=k.child.sibling,U!==null&&(de=N.firstEffect,de!==null?(N.firstEffect=U,U.nextEffect=de):(N.firstEffect=N.lastEffect=U,U.nextEffect=null),U.effectTag=8))),z&&!ne&&(N.mode&2)!==0&&(k===null&&N.memoizedProps.unstable_avoidThisFallback!==!0||(Pt.current&1)!==0?Yt===Rr&&(Yt=wo):((Yt===Rr||Yt===wo)&&(Yt=Fo),Hi!==0&&_n!==null&&(Dr(_n,un),Xu(_n,Hi)))),(z||ne)&&(N.effectTag|=4);break;case 7:break;case 8:break;case 12:break;case 4:Lr(N),Qs(N);break;case 10:Jt(N);break;case 9:break;case 14:break;case 17:qe(N.type)&&Dt(N);break;case 19:if(Qe(Pt,N),z=N.memoizedState,z===null)break;if(ne=(N.effectTag&64)!==0,de=z.rendering,de===null){if(ne)Xi(z,!1);else if(Yt!==Rr||k!==null&&(k.effectTag&64)!==0)for(k=N.child;k!==null;){if(de=Yi(k),de!==null){for(N.effectTag|=64,Xi(z,!1),ne=de.updateQueue,ne!==null&&(N.updateQueue=ne,N.effectTag|=4),z.lastEffect===null&&(N.firstEffect=null),N.lastEffect=z.lastEffect,z=U,ne=N.child;ne!==null;)U=ne,k=z,U.effectTag&=2,U.nextEffect=null,U.firstEffect=null,U.lastEffect=null,de=U.alternate,de===null?(U.childExpirationTime=0,U.expirationTime=k,U.child=null,U.memoizedProps=null,U.memoizedState=null,U.updateQueue=null,U.dependencies=null):(U.childExpirationTime=de.childExpirationTime,U.expirationTime=de.expirationTime,U.child=de.child,U.memoizedProps=de.memoizedProps,U.memoizedState=de.memoizedState,U.updateQueue=de.updateQueue,k=de.dependencies,U.dependencies=k===null?null:{expirationTime:k.expirationTime,firstContext:k.firstContext,responders:k.responders}),ne=ne.sibling;Je(Pt,Pt.current&1|2,N),N=N.child;break e}k=k.sibling}}else{if(!ne)if(k=Yi(de),k!==null){if(N.effectTag|=64,ne=!0,U=k.updateQueue,U!==null&&(N.updateQueue=U,N.effectTag|=4),Xi(z,!0),z.tail===null&&z.tailMode==="hidden"){N=N.lastEffect=z.lastEffect,N!==null&&(N.nextEffect=null);break}}else wn()>z.tailExpiration&&1<U&&(N.effectTag|=64,ne=!0,Xi(z,!1),N.expirationTime=N.childExpirationTime=U-1);z.isBackwards?(de.sibling=N.child,N.child=de):(U=z.last,U!==null?U.sibling=de:N.child=de,z.last=de)}if(z.tail!==null){z.tailExpiration===0&&(z.tailExpiration=wn()+500),U=z.tail,z.rendering=U,z.tail=U.sibling,z.lastEffect=N.lastEffect,U.sibling=null,z=Pt.current,z=ne?z&1|2:z&1,Je(Pt,z,N),N=U;break e}break;case 20:break;case 21:break;default:throw Error(C(156,N.tag))}N=null}if(z=ot,un===1||z.childExpirationTime!==1){for(ne=0,U=z.child;U!==null;)k=U.expirationTime,de=U.childExpirationTime,k>ne&&(ne=k),de>ne&&(ne=de),U=U.sibling;z.childExpirationTime=ne}if(N!==null)return N;b!==null&&(b.effectTag&2048)===0&&(b.firstEffect===null&&(b.firstEffect=ot.firstEffect),ot.lastEffect!==null&&(b.lastEffect!==null&&(b.lastEffect.nextEffect=ot.firstEffect),b.lastEffect=ot.lastEffect),1<ot.effectTag&&(b.lastEffect!==null?b.lastEffect.nextEffect=ot:b.firstEffect=ot,b.lastEffect=ot))}else{if(N=sl(ot,un),N!==null)return N.effectTag&=2047,N;b!==null&&(b.firstEffect=b.lastEffect=null,b.effectTag|=2048)}if(N=ot.sibling,N!==null)return N;ot=b}while(ot!==null);return Yt===Rr&&(Yt=qa),null}function na(b){var N=b.expirationTime;return b=b.childExpirationTime,N>b?N:b}function Zn(b){var N=Ue();return mt(99,vl.bind(null,b,N)),null}function vl(b,N){if(jr(),(nt&(Fn|Pn))!==zt)throw Error(C(327));var k=b.finishedWork,U=b.finishedExpirationTime;if(k===null)return null;if(b.finishedWork=null,b.finishedExpirationTime=0,k===b.current)throw Error(C(177));b.callbackNode=null,b.callbackExpirationTime=0,b.callbackPriority=90,b.nextKnownPendingLevel=0;var z=na(k);if(b.firstPendingTime=z,U<=b.lastSuspendedTime?b.firstSuspendedTime=b.lastSuspendedTime=b.nextKnownPendingLevel=0:U<=b.firstSuspendedTime&&(b.firstSuspendedTime=U-1),U<=b.lastPingedTime&&(b.lastPingedTime=0),U<=b.lastExpiredTime&&(b.lastExpiredTime=0),b===_n&&(ot=_n=null,un=0),1<k.effectTag?k.lastEffect!==null?(k.lastEffect.nextEffect=k,z=k.firstEffect):z=k:z=k.firstEffect,z!==null){var ne=nt;nt|=Pn,Js.current=null,Pa=ho;var ae=oi();if(Ln(ae)){if("selectionStart"in ae)var de={start:ae.selectionStart,end:ae.selectionEnd};else e:{de=(de=ae.ownerDocument)&&de.defaultView||window;var Ce=de.getSelection&&de.getSelection();if(Ce&&Ce.rangeCount!==0){de=Ce.anchorNode;var Te=Ce.anchorOffset,Oe=Ce.focusNode;Ce=Ce.focusOffset;try{de.nodeType,Oe.nodeType}catch(ni){de=null;break e}var It=0,at=-1,rn=-1,ti=0,Yn=0,be=ae,_e=null;t:for(;;){for(var Fe;be!==de||Te!==0&&be.nodeType!==3||(at=It+Te),be!==Oe||Ce!==0&&be.nodeType!==3||(rn=It+Ce),be.nodeType===3&&(It+=be.nodeValue.length),(Fe=be.firstChild)!==null;)_e=be,be=Fe;for(;;){if(be===ae)break t;if(_e===de&&++ti===Te&&(at=It),_e===Oe&&++Yn===Ce&&(rn=It),(Fe=be.nextSibling)!==null)break;be=_e,_e=be.parentNode}be=Fe}de=at===-1||rn===-1?null:{start:at,end:rn}}else de=null}de=de||{start:0,end:0}}else de=null;Oa={focusedElem:ae,selectionRange:de},ho=!1,Ye=z;do try{pl()}catch(ni){if(Ye===null)throw Error(C(330));Cr(Ye,ni),Ye=Ye.nextEffect}while(Ye!==null);Ye=z;do try{for(ae=b,de=N;Ye!==null;){var xe=Ye.effectTag;if(xe&16&&yi(Ye.stateNode,""),xe&128){var Me=Ye.alternate;if(Me!==null){var Ve=Me.ref;Ve!==null&&(typeof Ve=="function"?Ve(null):Ve.current=null)}}switch(xe&1038){case 2:Mu(Ye),Ye.effectTag&=-3;break;case 6:Mu(Ye),Ye.effectTag&=-3,ea(Ye.alternate,Ye);break;case 1024:Ye.effectTag&=-1025;break;case 1028:Ye.effectTag&=-1025,ea(Ye.alternate,Ye);break;case 4:ea(Ye.alternate,Ye);break;case 8:Te=Ye,Pu(ae,Te,de),xu(Te)}Ye=Ye.nextEffect}}catch(ni){if(Ye===null)throw Error(C(330));Cr(Ye,ni),Ye=Ye.nextEffect}while(Ye!==null);if(Ve=Oa,Me=oi(),xe=Ve.focusedElem,de=Ve.selectionRange,Me!==xe&&xe&&xe.ownerDocument&&xr(xe.ownerDocument.documentElement,xe)){for(de!==null&&Ln(xe)&&(Me=de.start,Ve=de.end,Ve===void 0&&(Ve=Me),"selectionStart"in xe?(xe.selectionStart=Me,xe.selectionEnd=Math.min(Ve,xe.value.length)):(Ve=(Me=xe.ownerDocument||document)&&Me.defaultView||window,Ve.getSelection&&(Ve=Ve.getSelection(),Te=xe.textContent.length,ae=Math.min(de.start,Te),de=de.end===void 0?ae:Math.min(de.end,Te),!Ve.extend&&ae>de&&(Te=de,de=ae,ae=Te),Te=ii(xe,ae),Oe=ii(xe,de),Te&&Oe&&(Ve.rangeCount!==1||Ve.anchorNode!==Te.node||Ve.anchorOffset!==Te.offset||Ve.focusNode!==Oe.node||Ve.focusOffset!==Oe.offset)&&(Me=Me.createRange(),Me.setStart(Te.node,Te.offset),Ve.removeAllRanges(),ae>de?(Ve.addRange(Me),Ve.extend(Oe.node,Oe.offset)):(Me.setEnd(Oe.node,Oe.offset),Ve.addRange(Me)))))),Me=[],Ve=xe;Ve=Ve.parentNode;)Ve.nodeType===1&&Me.push({element:Ve,left:Ve.scrollLeft,top:Ve.scrollTop});for(typeof xe.focus=="function"&&xe.focus(),xe=0;xe<Me.length;xe++)Ve=Me[xe],Ve.element.scrollLeft=Ve.left,Ve.element.scrollTop=Ve.top}Oa=null,ho=!!Pa,Pa=null,b.current=k,Ye=z;do try{for(xe=U;Ye!==null;){var et=Ye.effectTag;if(et&36){var vt=Ye.alternate;switch(Me=Ye,Ve=xe,Me.tag){case 0:case 11:case 15:pi(16,32,Me);break;case 1:var xt=Me.stateNode;if(Me.effectTag&4)if(vt===null)xt.componentDidMount();else{var ct=Me.elementType===Me.type?vt.memoizedProps:Ft(Me.type,vt.memoizedProps);xt.componentDidUpdate(ct,vt.memoizedState,xt.__reactInternalSnapshotBeforeUpdate)}var Rn=Me.updateQueue;Rn!==null&&fi(Me,Rn,xt,Ve);break;case 3:var Oo=Me.updateQueue;if(Oo!==null){if(ae=null,Me.child!==null)switch(Me.child.tag){case 5:ae=Me.child.stateNode;break;case 1:ae=Me.child.stateNode}fi(Me,Oo,ae,Ve)}break;case 5:var Ic=Me.stateNode;vt===null&&Me.effectTag&4&&ai(Me.type,Me.memoizedProps)&&Ic.focus();break;case 6:break;case 4:break;case 12:break;case 13:if(Me.memoizedState===null){var il=Me.alternate;if(il!==null){var ol=il.memoizedState;if(ol!==null){var al=ol.dehydrated;al!==null&&ut(al)}}}break;case 19:case 17:case 20:case 21:break;default:throw Error(C(163))}}if(et&128){Me=void 0;var Lo=Ye.ref;if(Lo!==null){var ul=Ye.stateNode;switch(Ye.tag){case 5:Me=ul;break;default:Me=ul}typeof Lo=="function"?Lo(Me):Lo.current=Me}}Ye=Ye.nextEffect}}catch(ni){if(Ye===null)throw Error(C(330));Cr(Ye,ni),Ye=Ye.nextEffect}while(Ye!==null);Ye=null,mc(),nt=ne}else b.current=k;if(Bo)Bo=!1,Mo=b,Ki=N;else for(Ye=z;Ye!==null;)N=Ye.nextEffect,Ye.nextEffect=null,Ye=N;if(N=b.firstPendingTime,N===0&&(dr=null),N===1073741823?b===nu?Ui++:(Ui=0,nu=b):Ui=0,typeof ru=="function"&&ru(k.stateNode,U),En(b),xo)throw xo=!1,b=tu,tu=null,b;return(nt&Za)!==zt||St(),null}function pl(){for(;Ye!==null;){var b=Ye.effectTag;(b&256)!==0&&cl(Ye.alternate,Ye),(b&512)===0||Bo||(Bo=!0,Wt(97,function(){return jr(),null})),Ye=Ye.nextEffect}}function jr(){if(Ki!==90){var b=97<Ki?97:Ki;return Ki=90,mt(b,gl)}}function gl(){if(Mo===null)return!1;var b=Mo;if(Mo=null,(nt&(Fn|Pn))!==zt)throw Error(C(331));var N=nt;for(nt|=Pn,b=b.current.firstEffect;b!==null;){try{var k=b;if((k.effectTag&512)!==0)switch(k.tag){case 0:case 11:case 15:pi(128,0,k),pi(0,64,k)}}catch(U){if(b===null)throw Error(C(330));Cr(b,U)}k=b.nextEffect,b.nextEffect=null,b=k}return nt=N,St(),!0}function Yu(b,N,k){N=Zo(k,N),N=Lu(b,N,1073741823),pn(b,N),b=Qi(b,1073741823),b!==null&&En(b)}function Cr(b,N){if(b.tag===3)Yu(b,b,N);else for(var k=b.return;k!==null;){if(k.tag===3){Yu(k,b,N);break}else if(k.tag===1){var U=k.stateNode;if(typeof k.type.getDerivedStateFromError=="function"||typeof U.componentDidCatch=="function"&&(dr===null||!dr.has(U))){b=Zo(N,b),b=ku(k,b,1073741823),pn(k,b),k=Qi(k,1073741823),k!==null&&En(k);break}}k=k.return}}function ml(b,N,k){var U=b.pingCache;U!==null&&U.delete(N),_n===b&&un===k?Yt===Fo||Yt===wo&&zn===1073741823&&wn()-eu<qs?_r(b,un):No=!0:Gu(b,k)&&(N=b.lastPingedTime,N!==0&&N<k||(b.lastPingedTime=k,b.finishedExpirationTime===k&&(b.finishedExpirationTime=0,b.finishedWork=null),En(b)))}function El(b,N){var k=b.stateNode;k!==null&&k.delete(N),N=0,N===0&&(N=Sn(),N=yr(N,b,null)),b=Qi(b,N),b!==null&&En(b)}function yl(b){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined")return!1;var N=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(N.isDisabled||!N.supportsFiber)return!0;try{var k=N.inject(b);ru=function(U,z){try{N.onCommitFiberRoot(k,U,void 0,(U.current.effectTag&64)===64)}catch(ne){}},iu=function(U){try{N.onCommitFiberUnmount(k,U)}catch(z){}}}catch(U){}return!0}function _l(b,N,k,U){this.tag=b,this.key=k,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=N,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=U,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function ra(b){return b=b.prototype,!(!b||!b.isReactComponent)}function Cl(b){if(typeof b=="function")return ra(b)?1:0;if(b!=null){if(b=b.$$typeof,b===pa)return 11;if(b===ma)return 14}return 2}function Ar(b,N,k){return k=b.alternate,k===null?(k=On(b.tag,N,b.key,b.mode),k.elementType=b.elementType,k.type=b.type,k.stateNode=b.stateNode,k.alternate=b,b.alternate=k):(k.pendingProps=N,k.effectTag=0,k.nextEffect=null,k.firstEffect=null,k.lastEffect=null),k.childExpirationTime=b.childExpirationTime,k.expirationTime=b.expirationTime,k.child=b.child,k.memoizedProps=b.memoizedProps,k.memoizedState=b.memoizedState,k.updateQueue=b.updateQueue,N=b.dependencies,k.dependencies=N===null?null:{expirationTime:N.expirationTime,firstContext:N.firstContext,responders:N.responders},k.sibling=b.sibling,k.index=b.index,k.ref=b.ref,k}function qi(b,N,k,U,z,ne){var ae=2;if(U=b,typeof b=="function")ra(b)&&(ae=1);else if(typeof b=="string")ae=5;else e:switch(b){case er:return qn(k.children,z,ne,N);case Rl:ae=8,z|=7;break;case es:ae=8,z|=1;break;case uo:return b=On(12,k,N,z|8),b.elementType=uo,b.type=uo,b.expirationTime=ne,b;case so:return b=On(13,k,N,z),b.type=so,b.elementType=so,b.expirationTime=ne,b;case ga:return b=On(19,k,N,z),b.elementType=ga,b.expirationTime=ne,b;default:if(typeof b=="object"&&b!==null)switch(b.$$typeof){case ts:ae=10;break e;case ns:ae=9;break e;case pa:ae=11;break e;case ma:ae=14;break e;case rs:ae=16,U=null;break e}throw Error(C(130,b==null?b:typeof b,""))}return N=On(ae,k,N,z),N.elementType=b,N.type=U,N.expirationTime=ne,N}function qn(b,N,k,U){return b=On(7,b,U,N),b.expirationTime=k,b}function ia(b,N,k){return b=On(6,b,null,N),b.expirationTime=k,b}function oa(b,N,k){return N=On(4,b.children!==null?b.children:[],b.key,N),N.expirationTime=k,N.stateNode={containerInfo:b.containerInfo,pendingChildren:null,implementation:b.implementation},N}function Al(b,N,k){this.tag=N,this.current=null,this.containerInfo=b,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=k,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Gu(b,N){var k=b.firstSuspendedTime;return b=b.lastSuspendedTime,k!==0&&k>=N&&b<=N}function Dr(b,N){var k=b.firstSuspendedTime,U=b.lastSuspendedTime;k<N&&(b.firstSuspendedTime=N),(U>N||k===0)&&(b.lastSuspendedTime=N),N<=b.lastPingedTime&&(b.lastPingedTime=0),N<=b.lastExpiredTime&&(b.lastExpiredTime=0)}function Xu(b,N){N>b.firstPendingTime&&(b.firstPendingTime=N);var k=b.firstSuspendedTime;k!==0&&(N>=k?b.firstSuspendedTime=b.lastSuspendedTime=b.nextKnownPendingLevel=0:N>=b.lastSuspendedTime&&(b.lastSuspendedTime=N+1),N>b.nextKnownPendingLevel&&(b.nextKnownPendingLevel=N))}function aa(b,N){var k=b.lastExpiredTime;(k===0||k>N)&&(b.lastExpiredTime=N)}function eo(b,N,k,U){var z=N.current,ne=Sn(),ae=xi.suspense;ne=yr(ne,z,ae);e:if(k){k=k._reactInternalFiber;t:{if(ee(k)!==k||k.tag!==1)throw Error(C(170));var de=k;do{switch(de.tag){case 3:de=de.stateNode.context;break t;case 1:if(qe(de.type)){de=de.stateNode.__reactInternalMemoizedMergedChildContext;break t}}de=de.return}while(de!==null);throw Error(C(171))}if(k.tag===1){var Ce=k.type;if(qe(Ce)){k=ye(k,Ce,de);break e}}k=de}else k=ur;return N.context===null?N.context=k:N.pendingContext=k,N=Mt(ne,ae),N.payload={element:b},U=U===void 0?null:U,U!==null&&(N.callback=U),pn(z,N),fr(z,ne),ne}function ua(b){if(b=b.current,!b.child)return null;switch(b.child.tag){case 5:return b.child.stateNode;default:return b.child.stateNode}}function Qu(b,N){b=b.memoizedState,b!==null&&b.dehydrated!==null&&b.retryTime<N&&(b.retryTime=N)}function sa(b,N){Qu(b,N),(b=b.alternate)&&Qu(b,N)}function Dl(b,N,k){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ur,key:U==null?null:""+U,children:b,containerInfo:N,implementation:k}}function la(b,N,k){k=k!=null&&k.hydrate===!0;var U=new Al(b,N,k),z=On(3,null,null,N===2?7:N===1?3:0);U.current=z,z.stateNode=U,b[Wa]=U.current,k&&N!==0&&te(b.nodeType===9?b:b.ownerDocument),this._internalRoot=U}function gi(b){return!(!b||b.nodeType!==1&&b.nodeType!==9&&b.nodeType!==11&&(b.nodeType!==Sr||b.nodeValue!==" react-mount-point-unstable "))}function bl(b,N){if(N||(N=b?b.nodeType===9?b.documentElement:b.firstChild:null,N=!(!N||N.nodeType!==1||!N.hasAttribute("data-reactroot"))),!N)for(var k;k=b.lastChild;)b.removeChild(k);return new la(b,0,N?{hydrate:!0}:void 0)}function to(b,N,k,U,z){var ne=k._reactRootContainer;if(ne){var ae=ne._internalRoot;if(typeof z=="function"){var de=z;z=function(){var Te=ua(ae);de.call(Te)}}eo(N,ae,b,z)}else{if(ne=k._reactRootContainer=bl(k,U),ae=ne._internalRoot,typeof z=="function"){var Ce=z;z=function(){var Te=ua(ae);Ce.call(Te)}}Hu(function(){eo(N,ae,b,z)})}return ua(ae)}function Ju(b,N){var k=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gi(N))throw Error(C(200));return Dl(b,N,null,k)}if(!A)throw Error(C(227));var no=null,Hr={},ro=[],ca={},Kr={},da={},Sl=function(b,N,k,U,z,ne,ae,de,Ce){var Te=Array.prototype.slice.call(arguments,3);try{N.apply(k,Te)}catch(Oe){this.onError(Oe)}},mi=!1,io=null,oo=!1,fa=null,Tl={onError:function(b){mi=!0,io=b}},ha=null,Zu=null,qu=null,Ei=null,wl=function(b){if(b){var N=b._dispatchListeners,k=b._dispatchInstances;if(Array.isArray(N))for(var U=0;U<N.length&&!b.isPropagationStopped();U++)n(b,N[U],k[U]);else N&&n(b,N,k);b._dispatchListeners=null,b._dispatchInstances=null,b.isPersistent()||b.constructor.release(b)}},va={injectEventPluginOrder:function(b){if(no)throw Error(C(101));no=Array.prototype.slice.call(b),y()},injectEventPluginsByName:function(b){var N=!1,k;for(k in b)if(b.hasOwnProperty(k)){var U=b[k];if(!Hr.hasOwnProperty(k)||Hr[k]!==U){if(Hr[k])throw Error(C(102,k));Hr[k]=U,N=!0}}N&&y()}},Tn=A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Tn.hasOwnProperty("ReactCurrentDispatcher")||(Tn.ReactCurrentDispatcher={current:null}),Tn.hasOwnProperty("ReactCurrentBatchConfig")||(Tn.ReactCurrentBatchConfig={suspense:null});var Fl=/^(.*)[\\\/]/,tn=typeof Symbol=="function"&&Symbol.for,ao=tn?Symbol.for("react.element"):60103,Ur=tn?Symbol.for("react.portal"):60106,er=tn?Symbol.for("react.fragment"):60107,es=tn?Symbol.for("react.strict_mode"):60108,uo=tn?Symbol.for("react.profiler"):60114,ts=tn?Symbol.for("react.provider"):60109,ns=tn?Symbol.for("react.context"):60110,Rl=tn?Symbol.for("react.concurrent_mode"):60111,pa=tn?Symbol.for("react.forward_ref"):60112,so=tn?Symbol.for("react.suspense"):60113,ga=tn?Symbol.for("react.suspense_list"):60120,ma=tn?Symbol.for("react.memo"):60115,rs=tn?Symbol.for("react.lazy"):60116;tn&&Symbol.for("react.fundamental"),tn&&Symbol.for("react.responder"),tn&&Symbol.for("react.scope");var is=typeof Symbol=="function"&&Symbol.iterator,tr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),an=A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,Ea=null,Vr=null,$r=null,ya=function(b,N){return b(N)},os=function(b,N,k,U){return b(N,k,U)},_a=function(){},as=ya,br=!1,Ca=!1,yn=A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,Il=yn.unstable_cancelCallback,Aa=yn.unstable_now,us=yn.unstable_scheduleCallback,Nl=yn.unstable_shouldYield,ss=yn.unstable_requestPaint,Da=yn.unstable_runWithPriority,lo=yn.unstable_next,xl=yn.unstable_getCurrentPriorityLevel,Bl=yn.unstable_ImmediatePriority,ls=yn.unstable_UserBlockingPriority,cs=yn.unstable_NormalPriority,Ml=yn.unstable_LowPriority,Pl=yn.unstable_IdlePriority,Ol=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ds=Object.prototype.hasOwnProperty,fs={},hs={},Xt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(b){Xt[b]=new F(b,0,!1,b,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var N=b[0];Xt[N]=new F(N,1,!1,b[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){Xt[b]=new F(b,2,!1,b.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){Xt[b]=new F(b,2,!1,b,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(b){Xt[b]=new F(b,3,!1,b.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(b){Xt[b]=new F(b,3,!0,b,null,!1)}),["capture","download"].forEach(function(b){Xt[b]=new F(b,4,!1,b,null,!1)}),["cols","rows","size","span"].forEach(function(b){Xt[b]=new F(b,6,!1,b,null,!1)}),["rowSpan","start"].forEach(function(b){Xt[b]=new F(b,5,!1,b.toLowerCase(),null,!1)});var ba=/[\-:]([a-z])/g,Sa=function(b){return b[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(b){var N=b.replace(ba,Sa);Xt[N]=new F(N,1,!1,b,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(b){var N=b.replace(ba,Sa);Xt[N]=new F(N,1,!1,b,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var N=b.replace(ba,Sa);Xt[N]=new F(N,1,!1,b,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(b){Xt[b]=new F(b,1,!1,b.toLowerCase(),null,!1)}),Xt.xlinkHref=new F("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(b){Xt[b]=new F(b,1,!1,b.toLowerCase(),null,!0)});var co,vs=function(b){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(N,k,U,z){MSApp.execUnsafeLocalFunction(function(){return b(N,k,U,z)})}:b}(function(b,N){if(b.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in b)b.innerHTML=N;else{for(co=co||document.createElement("div"),co.innerHTML="<svg>"+N.valueOf().toString()+"</svg>",N=co.firstChild;b.firstChild;)b.removeChild(b.firstChild);for(;N.firstChild;)b.appendChild(N.firstChild)}}),Sr=8,yi=function(b,N){if(N){var k=b.firstChild;if(k&&k===b.lastChild&&k.nodeType===3){k.nodeValue=N;return}}b.textContent=N},zr={animationend:Z("Animation","AnimationEnd"),animationiteration:Z("Animation","AnimationIteration"),animationstart:Z("Animation","AnimationStart"),transitionend:Z("Transition","TransitionEnd")},Ta={},ps={};tr&&(ps=document.createElement("div").style,"AnimationEvent"in window||(delete zr.animationend.animation,delete zr.animationiteration.animation,delete zr.animationstart.animation),"TransitionEvent"in window||delete zr.transitionend.transition);var gs=q("animationend"),ms=q("animationiteration"),Es=q("animationstart"),ys=q("transitionend"),_i="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),wa=!1,In=[],nr=null,rr=null,ir=null,Ci=new Map,Ai=new Map,Di=[],Fa="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ll="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");an(pt.prototype,{preventDefault:function(){this.defaultPrevented=!0;var b=this.nativeEvent;b&&(b.preventDefault?b.preventDefault():typeof b.returnValue!="unknown"&&(b.returnValue=!1),this.isDefaultPrevented=Qt)},stopPropagation:function(){var b=this.nativeEvent;b&&(b.stopPropagation?b.stopPropagation():typeof b.cancelBubble!="unknown"&&(b.cancelBubble=!0),this.isPropagationStopped=Qt)},persist:function(){this.isPersistent=Qt},isPersistent:bt,destructor:function(){var b=this.constructor.Interface,N;for(N in b)this[N]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=bt,this._dispatchInstances=this._dispatchListeners=null}}),pt.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(b){return b.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},pt.extend=function(b){function N(){return k.apply(this,arguments)}var k=this,U=function(){};return U.prototype=k.prototype,U=new U,an(U,N.prototype),N.prototype=U,N.prototype.constructor=N,N.Interface=an({},k.Interface,b),N.extend=k.extend,sn(N),N},sn(pt);for(var kl=pt.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Wl=pt.extend({clipboardData:function(b){return"clipboardData"in b?b.clipboardData:window.clipboardData}}),bi=pt.extend({view:null,detail:null}),jl=bi.extend({relatedTarget:null}),Hl={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kl={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ul={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Vl=bi.extend({key:function(b){if(b.key){var N=Hl[b.key]||b.key;if(N!=="Unidentified")return N}return b.type==="keypress"?(b=st(b),b===13?"Enter":String.fromCharCode(b)):b.type==="keydown"||b.type==="keyup"?Kl[b.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ut,charCode:function(b){return b.type==="keypress"?st(b):0},keyCode:function(b){return b.type==="keydown"||b.type==="keyup"?b.keyCode:0},which:function(b){return b.type==="keypress"?st(b):b.type==="keydown"||b.type==="keyup"?b.keyCode:0}}),_s=0,Cs=0,As=!1,Ds=!1,Si=bi.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ut,button:null,buttons:null,relatedTarget:function(b){return b.relatedTarget||(b.fromElement===b.srcElement?b.toElement:b.fromElement)},movementX:function(b){if("movementX"in b)return b.movementX;var N=_s;return _s=b.screenX,As?b.type==="mousemove"?b.screenX-N:0:(As=!0,0)},movementY:function(b){if("movementY"in b)return b.movementY;var N=Cs;return Cs=b.screenY,Ds?b.type==="mousemove"?b.screenY-N:0:(Ds=!0,0)}}),bs=Si.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),$l=Si.extend({dataTransfer:null}),zl=bi.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ut}),Yl=pt.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Gl=Si.extend({deltaX:function(b){return"deltaX"in b?b.deltaX:"wheelDeltaX"in b?-b.wheelDeltaX:0},deltaY:function(b){return"deltaY"in b?b.deltaY:"wheelDeltaY"in b?-b.wheelDeltaY:"wheelDelta"in b?-b.wheelDelta:0},deltaZ:null,deltaMode:null}),Ss=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[gs,"animationEnd",2],[ms,"animationIteration",2],[Es,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[ys,"transitionEnd",2],["waiting","waiting",2]],Ts={},Ra={},Ia=0;Ia<Ss.length;Ia++){var Na=Ss[Ia],ws=Na[0],xa=Na[1],Xl=Na[2],Fs="on"+(xa[0].toUpperCase()+xa.slice(1)),Rs={phasedRegistrationNames:{bubbled:Fs,captured:Fs+"Capture"},dependencies:[ws],eventPriority:Xl};Ts[xa]=Rs,Ra[ws]=Rs}var Is={eventTypes:Ts,getEventPriority:function(b){return b=Ra[b],b!==void 0?b.eventPriority:2},extractEvents:function(b,N,k,U,z){if(z=Ra[b],!z)return null;switch(b){case"keypress":if(st(k)===0)return null;case"keydown":case"keyup":b=Vl;break;case"blur":case"focus":b=jl;break;case"click":if(k.button===2)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=Si;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=$l;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=zl;break;case gs:case ms:case Es:b=kl;break;case ys:b=Yl;break;case"scroll":b=bi;break;case"wheel":b=Gl;break;case"copy":case"cut":case"paste":b=Wl;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=bs;break;default:b=pt}return N=b.getPooled(z,N,k,U),Lt(N),N}},Ql=ls,Jl=Da,Zl=Is.getEventPriority,ql=10,fo=[],ho=!0,Ns=new(typeof WeakMap=="function"?WeakMap:Map),Ti={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ec=["Webkit","ms","Moz","O"];Object.keys(Ti).forEach(function(b){ec.forEach(function(N){N=N+b.charAt(0).toUpperCase()+b.substring(1),Ti[N]=Ti[b]})});var tc=an({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),xs="$",Bs="/$",Ba="$?",Ma="$!",Pa=null,Oa=null,La=typeof setTimeout=="function"?setTimeout:void 0,nc=typeof clearTimeout=="function"?clearTimeout:void 0,ka=Math.random().toString(36).slice(2),or="__reactInternalInstance$"+ka,vo="__reactEventHandlers$"+ka,Wa="__reactContainere$"+ka,ar=null,ja=null,po=null,rc=pt.extend({data:null}),ic=pt.extend({data:null}),oc=[9,13,27,32],Ha=tr&&"CompositionEvent"in window,wi=null;tr&&"documentMode"in document&&(wi=document.documentMode);var ac=tr&&"TextEvent"in window&&!wi,Ms=tr&&(!Ha||wi&&8<wi&&11>=wi),Ps=String.fromCharCode(32),Kn={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Os=!1,Yr=!1,uc={eventTypes:Kn,extractEvents:function(b,N,k,U,z){var ne;if(Ha)e:{switch(b){case"compositionstart":var ae=Kn.compositionStart;break e;case"compositionend":ae=Kn.compositionEnd;break e;case"compositionupdate":ae=Kn.compositionUpdate;break e}ae=void 0}else Yr?Br(b,k)&&(ae=Kn.compositionEnd):b==="keydown"&&k.keyCode===229&&(ae=Kn.compositionStart);return ae?(Ms&&k.locale!=="ko"&&(Yr||ae!==Kn.compositionStart?ae===Kn.compositionEnd&&Yr&&(ne=si()):(ar=U,ja="value"in ar?ar.value:ar.textContent,Yr=!0)),z=rc.getPooled(ae,N,k,U),ne?z.data=ne:(ne=li(k),ne!==null&&(z.data=ne)),Lt(z),ne=z):ne=null,(b=ac?Vi(b,k):ci(b,k))?(N=ic.getPooled(Kn.beforeInput,N,k,U),N.data=b,Lt(N)):N=null,ne===null?N:N===null?ne:[ne,N]}},sc={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Ls={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},Fi=null,Ri=null,Ka=!1;tr&&(Ka=He("input")&&(!document.documentMode||9<document.documentMode));var lc={eventTypes:Ls,_isInputEventSupported:Ka,extractEvents:function(b,N,k,U,z){z=N?bn(N):window;var ne=z.nodeName&&z.nodeName.toLowerCase();if(ne==="select"||ne==="input"&&z.type==="file")var ae=Re;else if(di(z))if(Ka)ae=Ze;else{ae=Le;var de=Ke}else(ne=z.nodeName)&&ne.toLowerCase()==="input"&&(z.type==="checkbox"||z.type==="radio")&&(ae=ze);if(ae&&(ae=ae(b,N)))return pe(ae,k,U);de&&de(b,z,N),b==="blur"&&(b=z._wrapperState)&&b.controlled&&z.type==="number"&&j(z,"number",z.value)}},Ii={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Ua,cc={eventTypes:Ii,extractEvents:function(b,N,k,U,z){var ne=b==="mouseover"||b==="pointerover",ae=b==="mouseout"||b==="pointerout";if(ne&&(z&32)===0&&(k.relatedTarget||k.fromElement)||!ae&&!ne||(z=U.window===U?U:(z=U.ownerDocument)?z.defaultView||z.parentWindow:window,ae?(ae=N,N=(N=k.relatedTarget||k.toElement)?Xn(N):null,N!==null&&(ne=ee(N),N!==ne||N.tag!==5&&N.tag!==6)&&(N=null)):ae=null,ae===N))return null;if(b==="mouseout"||b==="mouseover")var de=Si,Ce=Ii.mouseLeave,Te=Ii.mouseEnter,Oe="mouse";else(b==="pointerout"||b==="pointerover")&&(de=bs,Ce=Ii.pointerLeave,Te=Ii.pointerEnter,Oe="pointer");if(b=ae==null?z:bn(ae),z=N==null?z:bn(N),Ce=de.getPooled(Ce,ae,k,U),Ce.type=Oe+"leave",Ce.target=b,Ce.relatedTarget=z,U=de.getPooled(Te,N,k,U),U.type=Oe+"enter",U.target=z,U.relatedTarget=b,de=ae,Oe=N,de&&Oe)e:{for(Te=de,b=Oe,ae=0,N=Te;N;N=dt(N))ae++;for(N=0,z=b;z;z=dt(z))N++;for(;0<ae-N;)Te=dt(Te),ae--;for(;0<N-ae;)b=dt(b),N--;for(;ae--;){if(Te===b||Te===b.alternate)break e;Te=dt(Te),b=dt(b)}Te=null}else Te=null;for(b=Te,Te=[];de&&de!==b&&(ae=de.alternate,!(ae!==null&&ae===b));)Te.push(de),de=dt(de);for(de=[];Oe&&Oe!==b&&(ae=Oe.alternate,!(ae!==null&&ae===b));)de.push(Oe),Oe=dt(Oe);for(Oe=0;Oe<Te.length;Oe++)Ct(Te[Oe],"bubbled",Ce);for(Oe=de.length;0<Oe--;)Ct(de[Oe],"captured",U);return k===Ua?(Ua=null,[Ce]):(Ua=k,[Ce,U])}},Tr=typeof Object.is=="function"?Object.is:$e,dc=Object.prototype.hasOwnProperty,fc=tr&&"documentMode"in document&&11>=document.documentMode,ks={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Gr=null,Va=null,Ni=null,$a=!1,hc={eventTypes:ks,extractEvents:function(b,N,k,U,z){z=U.window===U?U.document:U.nodeType===9?U:U.ownerDocument;var ne;if(!(ne=!z)){e:{z=tt(z),ne=da.onSelect;for(var ae=0;ae<ne.length;ae++)if(!z.has(ne[ae])){z=!1;break e}z=!0}ne=!z}if(ne)return null;switch(z=N?bn(N):window,b){case"focus":(di(z)||z.contentEditable==="true")&&(Gr=z,Va=N,Ni=null);break;case"blur":Ni=Va=Gr=null;break;case"mousedown":$a=!0;break;case"contextmenu":case"mouseup":case"dragend":return $a=!1,_t(k,U);case"selectionchange":if(fc)break;case"keydown":case"keyup":return _t(k,U)}return null}};va.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),function(b,N,k){ha=b,Zu=N,qu=k}(vr,Wn,bn),va.injectEventPluginsByName({SimpleEventPlugin:Is,EnterLeaveEventPlugin:cc,ChangeEventPlugin:lc,SelectEventPlugin:hc,BeforeInputEventPlugin:uc});var za=[],Xr=-1,ur={},cn={current:ur},An={current:!1},wr=ur,vc=Da,Ya=us,Ws=Il,pc=xl,go=Bl,Hs=ls,Ks=cs,Us=Ml,Vs=Pl,$s={},gc=Nl,mc=ss!==void 0?ss:function(){},Un=null,mo=null,Ga=!1,zs=Aa(),wn=1e4>zs?Aa:function(){return Aa()-zs},Ec=3,Xa={current:null},Eo=null,Qr=null,yo=null,Ys=0,_o=2,sr=!1,xi=Tn.ReactCurrentBatchConfig,Gs=new A.Component().refs,Co={isMounted:function(b){return(b=b._reactInternalFiber)?ee(b)===b:!1},enqueueSetState:function(b,N,k){b=b._reactInternalFiber;var U=Sn(),z=xi.suspense;U=yr(U,b,z),z=Mt(U,z),z.payload=N,k!=null&&(z.callback=k),pn(b,z),fr(b,U)},enqueueReplaceState:function(b,N,k){b=b._reactInternalFiber;var U=Sn(),z=xi.suspense;U=yr(U,b,z),z=Mt(U,z),z.tag=1,z.payload=N,k!=null&&(z.callback=k),pn(b,z),fr(b,U)},enqueueForceUpdate:function(b,N){b=b._reactInternalFiber;var k=Sn(),U=xi.suspense;k=yr(k,b,U),U=Mt(k,U),U.tag=_o,N!=null&&(U.callback=N),pn(b,U),fr(b,k)}},Ao=Array.isArray,Jr=ou(!0),Qa=ou(!1),Bi={},Nn={current:Bi},Mi={current:Bi},Pi={current:Bi},Pt={current:0},Do=Tn.ReactCurrentDispatcher,Dn=Tn.ReactCurrentBatchConfig,Oi=0,lr=null,nn=null,xn=null,Zr=null,dn=null,qr=null,ei=0,Bn=null,Li=0,ki=!1,Vn=null,Wi=0,bo={readContext:en,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useLayoutEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useResponder:gn,useDeferredValue:gn,useTransition:gn},yc={readContext:en,useCallback:pu,useContext:en,useEffect:du,useImperativeHandle:function(b,N,k){return k=k!=null?k.concat([b]):null,$o(4,36,hu.bind(null,N,b),k)},useLayoutEffect:function(b,N){return $o(4,36,b,N)},useMemo:function(b,N){var k=kr();return N=N===void 0?null:N,b=b(),k.memoizedState=[b,N],b},useReducer:function(b,N,k){var U=kr();return N=k!==void 0?k(N):N,U.memoizedState=U.baseState=N,b=U.queue={last:null,dispatch:null,lastRenderedReducer:b,lastRenderedState:N},b=b.dispatch=mu.bind(null,lr,b),[U.memoizedState,b]},useRef:function(b){var N=kr();return b={current:b},N.memoizedState=b},useState:Ko,useDebugValue:vu,useResponder:uu,useDeferredValue:function(b,N){var k=Ko(b),U=k[0],z=k[1];return du(function(){lo(function(){var ne=Dn.suspense;Dn.suspense=N===void 0?null:N;try{z(b)}finally{Dn.suspense=ne}})},[b,N]),U},useTransition:function(b){var N=Ko(!1),k=N[0],U=N[1];return[pu(function(z){U(!0),lo(function(){var ne=Dn.suspense;Dn.suspense=b===void 0?null:b;try{U(!1),z()}finally{Dn.suspense=ne}})},[b,k]),k]}},Xs={readContext:en,useCallback:gu,useContext:en,useEffect:fu,useImperativeHandle:function(b,N,k){return k=k!=null?k.concat([b]):null,zo(4,36,hu.bind(null,N,b),k)},useLayoutEffect:function(b,N){return zo(4,36,b,N)},useMemo:function(b,N){var k=vi();N=N===void 0?null:N;var U=k.memoizedState;return U!==null&&N!==null&&jo(N,U[1])?U[0]:(b=b(),k.memoizedState=[b,N],b)},useReducer:cu,useRef:function(b){return vi().memoizedState},useState:Uo,useDebugValue:vu,useResponder:uu,useDeferredValue:function(b,N){var k=Uo(b),U=k[0],z=k[1];return fu(function(){lo(function(){var ne=Dn.suspense;Dn.suspense=N===void 0?null:N;try{z(b)}finally{Dn.suspense=ne}})},[b,N]),U},useTransition:function(b){var N=Uo(!1),k=N[0],U=N[1];return[gu(function(z){U(!0),lo(function(){var ne=Dn.suspense;Dn.suspense=b===void 0?null:b;try{U(!1),z()}finally{Dn.suspense=ne}})},[b,k]),k]}},$n=null,cr=null,Fr=!1,_c=Tn.ReactCurrentOwner,Mn=!1,Ja={dehydrated:null,retryTime:0},Cc=function(b,N,k,U){for(k=N.child;k!==null;){if(k.tag===5||k.tag===6)b.appendChild(k.stateNode);else if(k.tag!==4&&k.child!==null){k.child.return=k,k=k.child;continue}if(k===N)break;for(;k.sibling===null;){if(k.return===null||k.return===N)return;k=k.return}k.sibling.return=k.return,k=k.sibling}},Qs=function(b){},Ac=function(b,N,k,U,z){var ne=b.memoizedProps;if(ne!==U){var ae=N.stateNode;switch(Er(Nn.current),b=null,k){case"input":ne=B(ae,ne),U=B(ae,U),b=[];break;case"option":ne=H(ae,ne),U=H(ae,U),b=[];break;case"select":ne=an({},ne,{value:void 0}),U=an({},U,{value:void 0}),b=[];break;case"textarea":ne=$(ae,ne),U=$(ae,U),b=[];break;default:typeof ne.onClick!="function"&&typeof U.onClick=="function"&&(ae.onclick=Gn)}fn(k,U);var de,Ce;k=null;for(de in ne)if(!U.hasOwnProperty(de)&&ne.hasOwnProperty(de)&&ne[de]!=null)if(de==="style")for(Ce in ae=ne[de],ae)ae.hasOwnProperty(Ce)&&(k||(k={}),k[Ce]="");else de!=="dangerouslySetInnerHTML"&&de!=="children"&&de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&de!=="autoFocus"&&(Kr.hasOwnProperty(de)?b||(b=[]):(b=b||[]).push(de,null));for(de in U){var Te=U[de];if(ae=ne!=null?ne[de]:void 0,U.hasOwnProperty(de)&&Te!==ae&&(Te!=null||ae!=null))if(de==="style")if(ae){for(Ce in ae)!ae.hasOwnProperty(Ce)||Te&&Te.hasOwnProperty(Ce)||(k||(k={}),k[Ce]="");for(Ce in Te)Te.hasOwnProperty(Ce)&&ae[Ce]!==Te[Ce]&&(k||(k={}),k[Ce]=Te[Ce])}else k||(b||(b=[]),b.push(de,k)),k=Te;else de==="dangerouslySetInnerHTML"?(Te=Te?Te.__html:void 0,ae=ae?ae.__html:void 0,Te!=null&&ae!==Te&&(b=b||[]).push(de,""+Te)):de==="children"?ae===Te||typeof Te!="string"&&typeof Te!="number"||(b=b||[]).push(de,""+Te):de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&(Kr.hasOwnProperty(de)?(Te!=null&&ln(z,de),b||ae===Te||(b=[])):(b=b||[]).push(de,Te))}k&&(b=b||[]).push("style",k),z=b,(N.updateQueue=z)&&Wr(N)}},Dc=function(b,N,k,U){k!==U&&Wr(N)},bc=typeof WeakSet=="function"?WeakSet:Set,Sc=typeof WeakMap=="function"?WeakMap:Map,Tc=Math.ceil,So=Tn.ReactCurrentDispatcher,Js=Tn.ReactCurrentOwner,zt=0,Za=8,Fn=16,Pn=32,Rr=0,To=1,Zs=2,wo=3,Fo=4,qa=5,nt=zt,_n=null,ot=null,un=0,Yt=Rr,Ro=null,zn=1073741823,ji=1073741823,Io=null,Hi=0,No=!1,eu=0,qs=500,Ye=null,xo=!1,tu=null,dr=null,Bo=!1,Mo=null,Ki=90,Ir=null,Ui=0,nu=null,Po=0,fr=function(b,N){if(50<Ui)throw Ui=0,nu=null,Error(C(185));if(b=Qi(b,N),b!==null){var k=Ue();N===1073741823?(nt&Za)!==zt&&(nt&(Fn|Pn))===zt?ta(b):(En(b),nt===zt&&St()):En(b),(nt&4)===zt||k!==98&&k!==99||(Ir===null?Ir=new Map([[b,N]]):(k=Ir.get(b),(k===void 0||k>N)&&Ir.set(b,N)))}},wc=function(b,N,k){var U=N.expirationTime;if(b!==null){var z=N.pendingProps;if(b.memoizedProps!==z||An.current)Mn=!0;else{if(U<k){switch(Mn=!1,N.tag){case 3:Tu(N),Go();break;case 5:if(au(N),N.mode&4&&k!==1&&z.hidden)return N.expirationTime=N.childExpirationTime=1,null;break;case 1:qe(N.type)&&Pe(N);break;case 4:ko(N,N.stateNode.containerInfo);break;case 10:Rt(N,N.memoizedProps.value);break;case 13:if(N.memoizedState!==null)return U=N.child.childExpirationTime,U!==0&&U>=k?wu(b,N,k):(Je(Pt,Pt.current&1,N),N=Hn(b,N,k),N!==null?N.sibling:null);Je(Pt,Pt.current&1,N);break;case 19:if(U=N.childExpirationTime>=k,(b.effectTag&64)!==0){if(U)return Ru(b,N,k);N.effectTag|=64}if(z=N.memoizedState,z!==null&&(z.rendering=null,z.tail=null),Je(Pt,Pt.current,N),!U)return null}return Hn(b,N,k)}Mn=!1}}else Mn=!1;switch(N.expirationTime=0,N.tag){case 2:if(U=N.type,b!==null&&(b.alternate=null,N.alternate=null,N.effectTag|=2),b=N.pendingProps,z=lt(N,cn.current),qt(N,k),z=Ho(null,N,U,b,z,k),N.effectTag|=1,typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0){if(N.tag=1,su(),qe(U)){var ne=!0;Pe(N)}else ne=!1;N.memoizedState=z.state!==null&&z.state!==void 0?z.state:null;var ae=U.getDerivedStateFromProps;typeof ae=="function"&&pr(N,U,ae,b),z.updater=Co,N.stateNode=z,z._reactInternalFiber=N,Or(N,U,b,k),N=Qo(null,N,U,!0,ne,k)}else N.tag=0,mn(null,N,z,k),N=N.child;return N;case 16:if(z=N.elementType,b!==null&&(b.alternate=null,N.alternate=null,N.effectTag|=2),b=N.pendingProps,i(z),z._status!==1)throw z._result;switch(z=z._result,N.type=z,ne=N.tag=Cl(z),b=Ft(z,b),ne){case 0:N=Xo(null,N,z,b,k);break;case 1:N=Su(null,N,z,b,k);break;case 11:N=Cu(null,N,z,b,k);break;case 14:N=Au(null,N,z,Ft(z.type,b),U,k);break;default:throw Error(C(306,z,""))}return N;case 0:return U=N.type,z=N.pendingProps,z=N.elementType===U?z:Ft(U,z),Xo(b,N,U,z,k);case 1:return U=N.type,z=N.pendingProps,z=N.elementType===U?z:Ft(U,z),Su(b,N,U,z,k);case 3:if(Tu(N),U=N.updateQueue,U===null)throw Error(C(282));if(z=N.memoizedState,z=z!==null?z.element:null,Qn(N,U,N.pendingProps,null,k),U=N.memoizedState.element,U===z)Go(),N=Hn(b,N,k);else{if((z=N.stateNode.hydrate)&&(cr=kn(N.stateNode.containerInfo.firstChild),$n=N,z=Fr=!0),z)for(k=Qa(N,null,U,k),N.child=k;k;)k.effectTag=k.effectTag&-3|1024,k=k.sibling;else mn(b,N,U,k),Go();N=N.child}return N;case 5:return au(N),b===null&&Yo(N),U=N.type,z=N.pendingProps,ne=b!==null?b.memoizedProps:null,ae=z.children,hr(U,z)?ae=null:ne!==null&&hr(U,ne)&&(N.effectTag|=16),bu(b,N),N.mode&4&&k!==1&&z.hidden?(N.expirationTime=N.childExpirationTime=1,N=null):(mn(b,N,ae,k),N=N.child),N;case 6:return b===null&&Yo(N),null;case 13:return wu(b,N,k);case 4:return ko(N,N.stateNode.containerInfo),U=N.pendingProps,b===null?N.child=Jr(N,null,U,k):mn(b,N,U,k),N.child;case 11:return U=N.type,z=N.pendingProps,z=N.elementType===U?z:Ft(U,z),Cu(b,N,U,z,k);case 7:return mn(b,N,N.pendingProps,k),N.child;case 8:return mn(b,N,N.pendingProps.children,k),N.child;case 12:return mn(b,N,N.pendingProps.children,k),N.child;case 10:e:{if(U=N.type._context,z=N.pendingProps,ae=N.memoizedProps,ne=z.value,Rt(N,ne),ae!==null){var de=ae.value;if(ne=Tr(de,ne)?0:(typeof U._calculateChangedBits=="function"?U._calculateChangedBits(de,ne):1073741823)|0,ne===0){if(ae.children===z.children&&!An.current){N=Hn(b,N,k);break e}}else for(de=N.child,de!==null&&(de.return=N);de!==null;){var Ce=de.dependencies;if(Ce!==null){ae=de.child;for(var Te=Ce.firstContext;Te!==null;){if(Te.context===U&&(Te.observedBits&ne)!==0){de.tag===1&&(Te=Mt(k,null),Te.tag=_o,pn(de,Te)),de.expirationTime<k&&(de.expirationTime=k),Te=de.alternate,Te!==null&&Te.expirationTime<k&&(Te.expirationTime=k),Zt(de.return,k),Ce.expirationTime<k&&(Ce.expirationTime=k);break}Te=Te.next}}else ae=de.tag===10&&de.type===N.type?null:de.child;if(ae!==null)ae.return=de;else for(ae=de;ae!==null;){if(ae===N){ae=null;break}if(de=ae.sibling,de!==null){de.return=ae.return,ae=de;break}ae=ae.return}de=ae}}mn(b,N,z.children,k),N=N.child}return N;case 9:return z=N.type,ne=N.pendingProps,U=ne.children,qt(N,k),z=en(z,ne.unstable_observedBits),U=U(z),N.effectTag|=1,mn(b,N,U,k),N.child;case 14:return z=N.type,ne=Ft(z,N.pendingProps),ne=Ft(z.type,ne),Au(b,N,z,ne,U,k);case 15:return Du(b,N,N.type,N.pendingProps,U,k);case 17:return U=N.type,z=N.pendingProps,z=N.elementType===U?z:Ft(U,z),b!==null&&(b.alternate=null,N.alternate=null,N.effectTag|=2),N.tag=1,qe(U)?(b=!0,Pe(N)):b=!1,qt(N,k),zi(N,U,z,k),Or(N,U,z,k),Qo(null,N,U,!0,b,k);case 19:return Ru(b,N,k)}throw Error(C(156,N.tag))},ru=null,iu=null,On=function(b,N,k,U){return new _l(b,N,k,U)},Fc=function(b){if(b.tag===13){var N=Kt(Sn(),150,100);fr(b,N),sa(b,N)}},el=function(b){if(b.tag===13){Sn();var N=Ec++;fr(b,N),sa(b,N)}},Rc=function(b){if(b.tag===13){var N=Sn();N=yr(N,b,null),fr(b,N),sa(b,N)}};Ea=function(b,N,k){switch(N){case"input":if(O(b,k),N=k.name,k.type==="radio"&&N!=null){for(k=b;k.parentNode;)k=k.parentNode;for(k=k.querySelectorAll("input[name="+JSON.stringify(""+N)+'][type="radio"]'),N=0;N<k.length;N++){var U=k[N];if(U!==b&&U.form===b.form){var z=vr(U);if(!z)throw Error(C(90));I(U),O(U,z)}}}break;case"textarea":Q(b,k);break;case"select":N=k.value,N!=null&&V(b,!!k.multiple,N,!1)}},la.prototype.render=function(b,N){var k=this._internalRoot;eo(b,k,null,N===void 0?null:N)},la.prototype.unmount=function(b){var N=this._internalRoot;eo(null,N,null,b===void 0?null:b)},function(b,N,k,U){ya=b,os=N,_a=k,as=U}(ju,function(b,N,k,U){var z=nt;nt|=4;try{return mt(98,b.bind(null,N,k,U))}finally{nt=z,nt===zt&&St()}},function(){(nt&(1|Fn|Pn))===zt&&(dl(),jr())},function(b,N){var k=nt;nt|=2;try{return b(N)}finally{nt=k,nt===zt&&St()}});var tl={createPortal:Ju,findDOMNode:function(b){if(b==null)return null;if(b.nodeType===1)return b;var N=b._reactInternalFiber;if(N===void 0)throw typeof b.render=="function"?Error(C(188)):Error(C(268,Object.keys(b)));return b=se(N),b=b===null?null:b.stateNode,b},hydrate:function(b,N,k){if(!gi(N))throw Error(C(200));return to(null,b,N,!0,k)},render:function(b,N,k){if(!gi(N))throw Error(C(200));return to(null,b,N,!1,k)},unstable_renderSubtreeIntoContainer:function(b,N,k,U){if(!gi(k))throw Error(C(200));if(b==null||b._reactInternalFiber===void 0)throw Error(C(38));return to(b,N,k,!1,U)},unmountComponentAtNode:function(b){if(!gi(b))throw Error(C(40));return b._reactRootContainer?(Hu(function(){to(null,null,b,!1,function(){b._reactRootContainer=null})}),!0):!1},unstable_createPortal:function(){return Ju.apply(void 0,arguments)},unstable_batchedUpdates:ju,flushSync:function(b,N){if((nt&(Fn|Pn))!==zt)throw Error(C(187));var k=nt;nt|=1;try{return mt(99,b.bind(null,N))}finally{nt=k,St()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[Wn,bn,vr,va.injectEventPluginsByName,ca,Lt,function(b){t(b,jt)},f,p,we,r,jr,{current:!1}]}};(function(b){var N=b.findFiberByHostInstance;return yl(an({},b,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Tn.ReactCurrentDispatcher,findHostInstanceByFiber:function(k){return k=se(k),k===null?null:k.stateNode},findFiberByHostInstance:function(k){return N?N(k):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:Xn,bundleType:0,version:"16.11.0",rendererPackageName:"react-dom"});var nl={default:tl},rl=nl&&tl||nl;return rl.default||rl})},function(_,M,l){var A,C;function y(m){if(Array.isArray(m)){for(var h=0,d=Array(m.length);h<m.length;h++)d[h]=m[h];return d}else return Array.from(m)}A=[l(401),l(208),l(438),l(210),l(2)],C=l.dj.d(A,function(m,h,d,n,e){var t=Object.freeze({TREE:"TREE",TREENODE:"TREENODE",TREENODE_CONTENT:"TREENODE_CONTENT",TREENODE_EDITOR:"TREENODE_EDITOR",TREENODE_RENDERER:"TREENODE_RENDERER",TREENODE_BEFORE_CONTENT:"TREENODE_BEFORE_CONTENT",TREENODE_AFTER_CONTENT:"TREENODE_AFTER_CONTENT"}),r=Object.freeze({CheckboxTree:h.INTERNAL.CheckboxTree,HTMLDnD:d,DnD:n}),o=function(u,s){return s.activeEditNode&&s.activeEditNode.node.id===u.value.id?{}:{draggable:!0}},a=Object.freeze({CheckboxTree:[{viewComponentPlacement:t.TREENODE_BEFORE_CONTENT,viewComponentBuilder:function(u,s,c,f){return e.createElement(m,{key:u.value.id+"_checkbox",node:u,metadata:f,checkedHandler:s.checkboxTree.checkBoxHandler,config:c})},viewComponentEventListener:[{nameSpace:"checkboxTree",handlerName:"checkBoxHandler",eventName:"checkBoxClicked",shouldRender:!0,eventHandler:function(u){}}],viewComponentProperties:{width:19}}],HTMLDnD:[{viewComponentPlacement:t.TREENODE,viewComponentAttributes:o,viewComponentEventListener:[]}],DnD:[{viewComponentPlacement:t.TREENODE,viewComponentAttributes:o,viewComponentEventListener:[]}]});return{_getNameForPlugin:function(u){var s=Object.keys(r),c=s.filter(function(f){return r[f]===u});return c[0]},_getViewComponentForPlugin:function(u){var s=this._getNameForPlugin(u);return s?a[s]:[]},getEventListenersForPlugins:function(){var u=this,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(!Array.isArray(s))return[];var c=[];return s.forEach(function(f){var p=u._getViewComponentForPlugin(f);p.forEach(function(v){c.push.apply(c,y(v.viewComponentEventListener))})}),c},getPluginBuilderAndProperties:function(){var u=this,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments[1],f=[];return Array.isArray(s)?(s.forEach(function(p){var v=u._getViewComponentForPlugin(p);v.forEach(function(g){g.viewComponentPlacement===c&&f.push({builder:g.viewComponentBuilder,properties:g.viewComponentProperties})})}),f):[]},getComponentAttributes:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments[1],c=this,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!Array.isArray(u))return{};var v={};return u.forEach(function(g){var E=c._getViewComponentForPlugin(g);E.forEach(function(D){D.viewComponentPlacement===s&&(v=D.viewComponentAttributes(f,p))})}),v},getDOMListeners:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=this,c=arguments[1],f=arguments[2],p=[],v={};return Array.isArray(u)?(u.forEach(function(g){var E=s._getViewComponentForPlugin(g);E.forEach(function(D){D.viewComponentPlacement===c&&(p=D.viewComponentEventListener)})}),p.forEach(function(g){v[g.DOMEventToListen]=f[g.nameSpace][g.handlerName]}),v):{}},VIEW_COMPONENTS:t}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(148)],C=l.dj.d(A,function(y){"use strict";return y.svg},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(411),l(413),l(210),l(427),l(429),l(223),l(431),l(433),l(435),l(436)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a){"use strict";var i=Object.freeze({AVAILABLE:{Focus:e,Filter:[d,t],Search:t,DragAndDrop:h,ContextMenu:m,ScrollSync:a,SingleNodeSelection:[e,r],MultipleNodeSelection:[e,o],DesignTimeMultipleNodeSelection:[n,o]},INTERNAL:{CheckboxTree:y},COMPATIBLE:[[y,r]],INCOMPATIBLE:[[r,o],[y,o]],getPluginsBasedOnDSConfiguration:function(s){var c=[];return s&&s.isCheckboxTree&&c.push(y),c}});return i},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(){function d(){m(this,d)}return y(d,null,[{key:"getSelectedNodes",value:function(e){var t=void 0,r=e.getStateByKey("selected");if(r&&(t=r.rangeList[0]),t&&t.length){var o=t.map(function(a){return{id:a.id}});if(o.length>0)return o}return[]}},{key:"isNodeAlreadySelected",value:function(e,t){var r=d.getSelectedNodes(e);return r.some(function(o){return t.id===o.id})}},{key:"setContextMenuFocus",value:function(e,t){e.setState("contextMenuFocus",t)}},{key:"removeContextMenuFocus",value:function(e){e.deleteState("contextMenuFocus")}}]),d}();return h},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function m(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(211),l(15),l(221),l(63),l(426),l(222),l(76)],C=l.dj.d(A,function(e,t,r,o,a,i,u){var s=function(c){n(f,c);function f(p){h(this,f);var v=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return v.adaptor=p,v.isReorderingEnabled=v.adaptor.isReorderingEnabled(),v.previousTargetDom=null,v.autoExpandTimer=null,v.dragEnterRow=null,v.isValidDrop=!0,v.adaptor.on(u.Events.registerDnDSource,function(g){return v._registerDnDSource(g)}),v.adaptor.on(u.Events.moveFailed,function(g){return v._emitDropFailed(g)}),v.adaptor.on(u.Events.moveCompleted,function(g){return v._emitDropCompleted(g)}),v.autoExpandTime=1e3,v}return y(f,[{key:"_registerDnDSource",value:function(v){this.dndService=new e(v.treeContainerNode,this._getDnDHandlers(),this.adaptor.isNodeLabelTruncated())}},{key:"_getDnDHandlers",value:function(){var v={dragSources:{type:u.TYPE_TREENODE,handleDragStart:this._handleDragStart.bind(this),handleDragEnd:this._handleDragEnd.bind(this)},dropTargets:{handleDrop:this._handleDrop.bind(this),handleDragEnter:this._handleDragEnter.bind(this),handleDragHover:this._handleDragHover.bind(this),handleDragLeave:this._handleDragLeave.bind(this)}};return this.isReorderingEnabled&&(v.dropTargets={handleDrop:this._handleDropOnReordering.bind(this),handleDragEnter:this._handleDragEnterReordering.bind(this),handleDragHover:this._handleDragHoverOnReordering.bind(this),handleDragLeave:this._handleDragLeaveOnReordering.bind(this)},v.rowDivision={TYPE_TREE_NODE_DIVISION:i.ROW_DIVISION.TYPE_TREE_NODE_DIVISION,TYPE_TREE_DIVISION:i.ROW_DIVISION.TYPE_TREE_DIVISION}),v}},{key:"_handleDragStart",value:function(v){var g=v.dragItem,E=v.domNode,D=E.classList.contains("selected"),F=this._getDragSourceInfo([E]);if(!this.canSourceDrag(F)||this.adaptor.getEditState()||!D)return!1;g.setDataByType(u.TYPE_TREENODE,F),g.setDragOperations&&g.setDragOperations(this.dndService.MOVE);var w=document.createElement("div");w.classList.add("mw-tree-dnd-avatar");var x=F[0].data.label,R=document.createElement("div");return R.classList.add("mw-tree-avatar-label"),R.appendChild(document.createTextNode(x)),w.appendChild(R),g.setAvatar(w,F.length),this.adaptor.setDragState(!0,F),this.adaptor.updateView(),!0}},{key:"autoExpandOnHover",value:function(v){var g=this;this.previousTargetDom!==v&&(this.previousTargetDom=v,this.clearTimeoutForAutoExpand(),this.autoExpandTimer=window.setTimeout(function(){g.adaptor.expandNode(v)},this.autoExpandTime))}},{key:"clearTimeoutForAutoExpand",value:function(){window.clearTimeout(this.autoExpandTimer)}},{key:"_handleDragEnter",value:function(v){return this._handleDragAndDropValidation(v)}},{key:"_handleDragEnterReordering",value:function(v){var g=v.position.row;return this.dragEnterRow=g,g===i.REPARENT?this.isValidDrop=this._handleDragAndDropValidation(v):(this.previousTargetDom=null,this.isValidDrop=this._handleReorderingValidation(v),v.isValidReorder=this.isValidDrop,a.handleReorderingLine(v)),this.isValidDrop}},{key:"_handleDragAndDropValidation",value:function(v){var g=v.domNode,E=v.dragItem,D=v.type;if(!E.getDataTypes().includes(u.TYPE_TREENODE))return!1;var F=E.getDataByType(u.TYPE_TREENODE),w=this._getTargetInfo(g,D);return!!(this.canTargetAcceptSource(w,F,D)&&!this.isDraggedItemInTheNodePath(w,F,D))}},{key:"_handleReorderingValidation",value:function(v){var g=v.domNode,E=v.dragItem,D=v.type,F=v.position,w={};if(!E.getDataTypes().includes(u.TYPE_TREENODE))return!1;var x=this._getTargetInfo(g,D),R=E.getDataByType(u.TYPE_TREENODE),T=x.path&&x.path.length;return T>1?(w.id=x.path[T-2],w.path=x.path.slice(0,T-1)):(w.id=null,w.path=[]),F.row===i.INSERT_BELOW&&x.isExpandable&&x.isExpanded&&(w.id=x.id),!!(this.canTargetAcceptSource(w,R,D)&&!this.isDraggedItemInTheNodePath(w,R,D))}},{key:"_handleDragHover",value:function(v){var g=v.domNode,E=v.type,D=this._getTargetInfo(g,E);this.autoExpandOnHover(D),this._handleReparentingOnHover(v)}},{key:"_handleDragHoverOnReordering",value:function(v){var g=v.domNode,E=v.type,D=v.position,F=this._getTargetInfo(g,E),w=D.row;w===i.REPARENT&&(this.autoExpandOnHover(F),this._handleReparentingOnHover(v))}},{key:"_handleReparentingOnHover",value:function(v){var g=v.domNode,E=v.type,D=this._getTargetInfo(g,E),F=this.adaptor.getDragHoverState();E===u.TYPE_TREENODE&&(!F||F.id!==D.id)&&(this.adaptor.setDragHoverState(D),g.classList.add(o.TREENODE_DRAG_HOVER[0]))}},{key:"_handleDragEnd",value:function(v){var g=v.domNode;g.classList.remove(o.DRAGGED_NODE_CLASS),this.adaptor.setDragState(!1),this.adaptor.updateView(),a.removeInsertionLine(this.dndService._treeContainer)}},{key:"_handleDragLeave",value:function(v){var g=v.domNode,E=v.type;this.clearTimeoutForAutoExpand(),this.previousTargetDom=null;var D=this.adaptor.getDragHoverState();D&&D.id&&E===u.TYPE_TREENODE&&(this.adaptor.setDragHoverState({}),g.classList.remove(o.TREENODE_DRAG_HOVER[0]))}},{key:"_handleDragLeaveOnReordering",value:function(v){var g=v.domNode,E=v.type,D=this.adaptor.getDragHoverState(),F=this.dragEnterRow===i.INSERT_BELOW,w=this.dragEnterRow===i.INSERT_ABOVE,x=v.position.row===i.REPARENT,R=!((F||w)&&x);x&&(this.clearTimeoutForAutoExpand(),this.previousTargetDom=null),R&&a.removeInsertionLine(g),D&&D.id&&E===u.TYPE_TREENODE&&(this.adaptor.setDragHoverState({}),g.classList.remove(o.TREENODE_DRAG_HOVER[0]))}},{key:"_getTargetInfo",value:function(v,g){if(v&&g===u.TYPE_TREENODE){var E=this.adaptor.getCurrentViewPortData(),D=parseInt(v.getAttribute("data-row-index"));return E(D)(0).value}return{id:null}}},{key:"_handleDrop",value:function(v){this._handleDropOnReparenting(v)}},{key:"_handleDropOnReordering",value:function(v){var g=v.domNode,E=v.position,D=E.row;if(D===i.REPARENT){this._handleDropOnReparenting(v);return}a.handleReorderNode(v,this.adaptor),this.adaptor.updateView(),a.removeInsertionLine(g)}},{key:"_handleDropOnReparenting",value:function(v){this.clearTimeoutForAutoExpand();var g=v.domNode,E=v.dragItem,D=v.type,F=this._getTargetInfo(g,D),w=E.getDataByType(u.TYPE_TREENODE);if(this.adaptor.setDragHoverState({}),g.classList.remove(o.TREENODE_DRAG_HOVER[0]),D===u.TYPE_TREE){var x={place:"last"};this.adaptor.moveTreeNodes(w,F,x),this.adaptor.updateView();return}this.adaptor.moveTreeNodes(w,F),this.adaptor.updateView()}},{key:"_getDragSourceInfo",value:function(v){var g=this.adaptor.getCurrentViewPortData(),E=this.adaptor.getCurrentSelection(),D=[],F=void 0;return v.forEach(function(w){F=parseInt(w.getAttribute("data-row-index")),D.push(g(F)(0).value)}),D.push.apply(D,m(E)),D.filter(function(w,x){return w.id!==D[0].id||x===0})}},{key:"_emitDropCompleted",value:function(v){this.emit("dropCompleted",v)}},{key:"_emitDropFailed",value:function(v){this.emit("dropFailed",v)}},{key:"exposedAPI",value:function(){return{}}},{key:"canSourceDrag",value:function(v){var g=v.map(function(D){return D.id}),E={nodeIds:g,type:u.TYPE_TREENODE};return this.adaptor.getDragAndDropConfig().canDrag?this.adaptor.getDragAndDropConfig().canDrag(E):!0}},{key:"canTargetAcceptSource",value:function(v,g,E){var D=g.map(function(R){return R.id}),F={nodeIds:D,type:u.TYPE_TREENODE},w=v.id,x=void 0;return E===u.TYPE_TREE?x={type:u.TYPE_TREE}:E===u.TYPE_TREENODE&&(x={nodeId:w,type:u.TYPE_TREENODE}),this.adaptor.getDragAndDropConfig().canDrop?this.adaptor.getDragAndDropConfig().canDrop(F,x):!0}},{key:"isDraggedItemInTheNodePath",value:function(v,g,E){return E===u.TYPE_TREE?!1:g.some(function(D){return v.path.includes(D.id)})}},{key:"destroy",value:function(){this.dndService&&this.dndService.destroy()}},{key:"emits",get:function(){var v=["dropFailed","dropCompleted"];return v}}],[{key:"adaptor",get:function(){return r}}]),f}(t);return s},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(75),l(425),l(220),l(63),l(76)],C=l.dj.d(A,function(h,d,n,e,t){var r=function(){function o(a,i,u){m(this,o),this._context=h.createContext({context:a}),this._dragSources=[],this._dropTargets=[],this._handlers=i,this._isTruncated=u,this._treeContainer=a,i&&i.dragSources&&this._createDragSource("."+e[i.dragSources.type][0],i.dragSources),i&&i.dropTargets&&(this._createDropTarget("."+e[t.TYPE_TREENODE][0],t.TYPE_TREENODE,i),this._createDropTarget(a,t.TYPE_TREE,i))}return y(o,[{key:"destroy",value:function(){this._context.destroy()}},{key:"_createDragSource",value:function(i,u){var s=this._createDragLifecycle(u),c=this._context.createDragSource({dragSource:i,lifecycle:s});this._dragSources.push(c)}},{key:"_createDragLifecycle",value:function(i){var u=this,s={};if(i.handleDragStart)s.start=function(c,f){return u._draggedOnDisclosureIcon(f,c.getXYCoordinates())?!1:i.handleDragStart({dragItem:c,domNode:f})};else throw new Error("Exception : handleDragStart handler is required");return i.handleDragEnd&&(s.end=function(c,f){return i.handleDragEnd({dragItem:c,domNode:f})}),s}},{key:"_createDropTarget",value:function(i,u,s){var c=this._createDropLifeycle(s.dropTargets,u),f={dropTarget:i,lifecycle:c};u===t.TYPE_TREENODE&&s.rowDivision&&(f.rowRegions=s.rowDivision.TYPE_TREE_NODE_DIVISION),u===t.TYPE_TREE&&s.rowDivision&&(f.rowRegions=s.rowDivision.TYPE_TREE_DIVISION);var p=this._context.createDropTarget(f);this._dropTargets.push(p)}},{key:"_createDropLifeycle",value:function(i,u){var s=this,c={};if(i.handleDragEnter)c.enter=function(f,p,v){return p===s._treeContainer&&s._isInScrollBarRegion(p,f.getXYCoordinates())?!1:i.handleDragEnter({dragItem:f,domNode:p,type:u,position:v})};else throw new Error("Exception : handleDragEnter handler is required");if(i.handleDrop)c.drop=function(f,p,v){i.handleDrop({dragItem:f,domNode:p,type:u,position:v})};else throw new Error("Exception : handleDrop handler is required");return c.hover=function(f,p,v){if(n.noAutoScrollSupport&&window.requestAnimationFrame(function(){d.scroll(p,s._treeContainer,f.getXYCoordinates(),s._isTruncated)}),i.handleDragHover)return i.handleDragHover({dragItem:f,domNode:p,type:u,position:v})},i.handleDragLeave&&(c.leave=function(f,p,v){i.handleDragLeave({dragItem:f,domNode:p,type:u,position:v})}),c}},{key:"_draggedOnDisclosureIcon",value:function(i,u){var s=i.querySelector(".disclosureIcon");if(!s)return!1;var c=s.getBoundingClientRect(),f=c.left,p=c.right,v=c.bottom,g=c.top,E=i.getBoundingClientRect(),D=E.left,F=E.top,w=D+u.xOffset,x=F+u.yOffset;return w>=f&&w<=p&&x>=g&&x<=v}},{key:"_isInScrollBarRegion",value:function(i,u){return i.clientWidth<=u.xOffset||i.clientHeight<=u.yOffset}},{key:"MOVE",get:function(){return this._context.MOVE}}]),o}();return r},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(415),l(416),l(417),l(421),l(151),l(152),l(422),l(216),l(113)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a,i){var u=function(){function s(c){m(this,s),this._initialize(c),this._setDndListenerEvents(),this._handleDynamicConfig(c),this._dragItem=e}return y(s,[{key:"_initialize",value:function(f){this._dragSources=[],this._dropTargets=[],this._canDropTracker=new o,this._dataStore={},this._dragInProgress=!1,this._contextDOM=f.context,this._setDnDListener(f)}},{key:"_setDnDListener",value:function(f){var p=this,v=function(){return p._dragSources},g=function(){return p._dropTargets},E=function(){return p._dragInProgress},D=function(){return p._dataStore.dragOperations||[]},F=this._getDropStatus.bind(this);this._dndListener=this._getDnDlistener(f.context,v,g,E,F,D)}},{key:"_getDnDlistener",value:function(){for(var f=arguments.length,p=Array(f),v=0;v<f;v++)p[v]=arguments[v];return new(Function.prototype.bind.apply(n,[null].concat(p)))}},{key:"_setDndListenerEvents",value:function(){this._dndListener.on(i.dragStart,this._handleDragStart.bind(this)),this._dndListener.on(i.dragEnter,this._handleDragEnter.bind(this)),this._dndListener.on(i.dragOverCoordinates,this._handleDragOverCoordinates.bind(this)),this._dndListener.on(i.dragOver,this._handleDragOver.bind(this)),this._dndListener.on(i.dragLeave,this._handleDragLeave.bind(this)),this._dndListener.on(i.drop,this._handleDrop.bind(this)),this._dndListener.on(i.dragEnd,this._handleDragEnd.bind(this))}},{key:"_handleDynamicConfig",value:function(f){var p=this,v=f.handleDynamicDragSources,g=f.context;v===!0&&(this._observer=new MutationObserver(function(){v&&p._dndListener.handleDynamicDragSources()}),this._observer.observe(g,{childList:!0,subtree:!0}))}},{key:"_handleDragStart",value:function(f){this._dataStore.dragData=new Map;var p=e.processAndExecuteHook(i.dragStart)(f)(this._dataStore);this._dragInProgress=p}},{key:"_handleDragEnter",value:function(f){var p=e.processAndExecuteHook(i.dragEnter)(f)(this._dataStore),v={};if(typeof p=="boolean"||typeof p=="undefined")this._canDropTracker.addCanTargetDrop(p);else{v=Object.assign({},p);var g=this._dragItem.getDragItemForDropEvents(f,this._dataStore);v.isValidDropAsync||(v.isValidDropAsync=function(){return Promise.reject(new Error)}),v.canDropPromiseInfo=v.isValidDropAsync(g,f.target,f.position),this._handleCanDropAsync(v),this._canDropTracker.addCanTargetDrop(v)}}},{key:"_handleCanDropAsync",value:function(f){f.canDropPromiseInfo.then(function(p){typeof p=="undefined"||p?f.isFulFilled=!0:f.isFulFilled=!1},function(){f.isFulFilled=!1})}},{key:"_handleDragOverCoordinates",value:function(f){var p=f.xCoord,v=f.yCoord;r.isAvatarPresent&&r.customAvatar.updatePosition(p,v)}},{key:"_handleDragOver",value:function(f){var p=this._getDropStatus();r.isAvatarPresent&&(p===t.StatusEnum.INVALID||f.dropEffect==="none"?r.customAvatar.leaveValidDropTarget():p===t.StatusEnum.VALID&&r.customAvatar.enterValidDropTarget()),e.processAndExecuteHook(i.dragOver)(f)(this._dataStore)}},{key:"_handleDragLeave",value:function(f){e.processAndExecuteHook(i.dragLeave)(f)(this._dataStore);var p=this._getDropStatus();this._canDropTracker.removeTopItem(),r.isAvatarPresent&&this._canDropTracker.length===0&&p===t.StatusEnum.VALID&&r.customAvatar.leaveValidDropTarget()}},{key:"_handleDrop",value:function(f){var p=this;this._getDropStatus()===t.StatusEnum.VALID&&e.processAndExecuteHook(i.drop)(f)(this._dataStore),this._getDropStatus()===t.StatusEnum.INVALID&&setTimeout(function(){return e.processAndExecuteHook(i.dragLeave)(f)(p._dataStore)},0),r.isAvatarPresent&&(r.customAvatar.remove(),r.clearAvatar()),this._canDropTracker.empty()}},{key:"_handleDragEnd",value:function(f){e.processAndExecuteHook(i.dragEnd)(f)(this._dataStore),this._dragInProgress=!1,r.isAvatarPresent&&(r.customAvatar.remove(),r.clearAvatar()),this._dataStore={},this._canDropTracker.empty()}},{key:"_getDropStatus",value:function(){var f=t.StatusEnum.INVALID;if(this._canDropTracker.length>0){var p=this._canDropTracker.getTopItem();return typeof p.canDrop=="boolean"||typeof p.canDrop=="undefined"?p.canDrop&&(f=t.StatusEnum.VALID):p.canDrop.isFulFilled&&(f=t.StatusEnum.VALID),f}}},{key:"createDropTarget",value:function(f){var p=this,v=function(){p._dropTargets=p._dropTargets.filter(function(D){return!D===g})},g=new d(f,{spliceDropTarget:v});return this._dropTargets.push(g),g}},{key:"createDragSource",value:function(f){var p=this,v=function(){p._dragSources=p._dragSources.filter(function(F){return!F===E})},g=this._dndListener,E=new h(f,{spliceDragSource:v,dndListener:g});return this._dragSources.push(E),E}},{key:"destroy",value:function(){this._dndListener.destroy(),this._dragSources.forEach(function(f){f.destroy()}),this._dropTargets.forEach(function(f){f.destroy()}),this._dragSources=[],this._dropTargets=[],this._observer&&this._observer.disconnect()}},{key:"COPY",get:function(){return a.COPY}},{key:"MOVE",get:function(){return a.MOVE}},{key:"NONE",get:function(){return a.NONE}},{key:"ALL",get:function(){return a.ALL}}]),s}();return u},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(){function d(){m(this,d),this._events={}}return y(d,[{key:"on",value:function(e,t){var r=this;this._events[e]||(this._events[e]=[]),this._events[e].push(t);var o={};return o.remove=function(){var a=r._events[e].indexOf(t);r._events[e].splice(a,1),o.remove=function(){return null}},o}},{key:"emit",value:function(e,t){var r=this._events[e],o=Object.getOwnPropertyNames(t),a={};a.eventName=e,o.forEach(function(u){a[u]=t[u]});var i=function(s){s&&s.forEach(function(c){c(a)})};i(r)}}]),d}();return h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h=function(){function d(){m(this,d)}return y(d,null,[{key:"pipe",value:function(){var e=[].concat(Array.prototype.slice.call(arguments));return function(){for(var t=e[0].apply(this,arguments),r=1;r<e.length;r+=1)t=e[r].call(this,t);return t}}}]),d}();return h},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0),l(86),l(11)],C=l.dj.d(A,function(y,m,h){var d=window,n=null;return{supportsLocalStorage:function(){var e=d&&typeof d.localStorage!==void 0&&d.localStorage!==null;if(e)try{d.localStorage.setItem("motw.test.local.storage","0"),d.localStorage.removeItem("motw.test.local.storage")}catch(t){e=!1}return e},_hasNewIE:function(e){var t;return e&&!m("ie")&&m("trident")>0?t=parseFloat(e.split("rv:")[1]):e&&e.indexOf("Edge")>0?t="Edge "+parseFloat(e.split("Edge/")[1]):t="",t},_getBrowserInfo:function(e){var t,r={BROWSER:"OTHER",BROWSER_VER:"OTHER"},o,a={IE:"Microsoft Internet Explorer",FF:"Mozilla Firefox",Chrome:"Google Chrome",Safari:"Apple Safari"};if(t=this._hasNewIE(e),t)r.BROWSER=a.IE,r.BROWSER_VER=t.toString();else for(o in a)if(a.hasOwnProperty(o)&&m(o.toLowerCase())){t=m(o.toLowerCase()),r.BROWSER=a[o],r.BROWSER_VER=t.toString(),(o==="Chrome"||o==="Safari")&&(r.WEBKIT_VER=m("webkit").toString());break}return r},getSystemInfo:function(){var e={},t={};try{e.DEVICE="",e.LOCALE=d.navigator.language,e.OS=d.navigator.platform,e.PLATFORM=d.navigator.platform,e.SCREEN_RESOLUTION=d.screen.width+"x"+d.screen.height,e.WINDOW_RESOLUTION=d.innerWidth+"x"+d.innerHeight,e.USER_AGENT=d.navigator.userAgent,t=this._getBrowserInfo(d.navigator.appVersion),e=y.mixin(e,t)}catch(r){}return e},setClassName:function(e,t){if(h.add(e,"mw_type_"+(t.type||"unknownType")),h.add(e,"mw_type_Component"),t.name){var r="mw_name_"+(t.name.trim().replace(/[^a-zA-Z0-9]/g,"_")||"NO_NAME");h.contains(e,r)||(e.className=e.className.replace(/mw_name_[^ ]*/,""),h.add(e,r))}},isInFocus:function(e){return typeof d.document.activeElement!="unknown"?e===d.document.activeElement:!1},getScrollbarWidth:function(){if(n===null){var e=document.createElement("div");e.className="scrollbar-measure",e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;document.body.removeChild(e),t+=2,n=t}return n}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({COPY:"COPY",MOVE:"MOVE",LINK:"LINK",ALL:"ALL",NONE:"NONE"})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){const y={DEVELOPMENT:"DEVELOPMENT",PRODUCTION:"PRODUCTION"};return Object.freeze(y),y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(217)],C=l.dj.d(A,function(y){const m={};return m.objectValues=function(h){let d=[];for(let n in h)h.hasOwnProperty(n)&&d.push(h[n]);return d},m.makeReadOnlyProperty=function(h,d,n){Object.defineProperty(h,d,{value:n,writable:!1})},m.execCallbacks=function(h,d){const n=m.objectValues(h);for(let e in n)n[e](d)},m.currentTimeString=function(){const h=new Date;return h.toLocaleTimeString("en-US",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric"})+"."+h.getTime()%1e3},m.printToConsole=function(h,d,n){(n!==y.PRODUCTION||h==="error")&&console[h].apply(console,d)},m},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){return function(){function h(){m(this,h)}return y(h,null,[{key:"getXYCoordinates",value:function(n){var e=n.xCoord,t=n.yCoord,r=n.target,o=r.getBoundingClientRect(),a=o.left,i=o.top;return{xOffset:e-a,yOffset:t-i}}},{key:"getRow",value:function(){return h.getRegion.apply(h,arguments)}},{key:"getColumn",value:function(){return h.getRegion.apply(h,arguments)}},{key:"getRegion",value:function(n,e,t){e=h._convertPixelsPercentagesToNumbers(e,t),e=h._convertStrAutoToNumbers(e,t);var r=h._getRegionLimits(e);return h._calcRegionIndex(r,n,t)}},{key:"_convertPixelsPercentagesToNumbers",value:function(n,e){var t=n.split(" "),r=t.map(function(o){return o.includes("px")?parseInt(o):o.includes("%")?parseInt(o)*e/100:o});return r.join(" ")}},{key:"_convertStrAutoToNumbers",value:function(n,e){var t=n.split(" "),r=t.filter(function(u){return u==="auto"});if(r.length===0)return t.map(function(u){return Number(u)});var o=h._sumOfRegions(t),a=e-o,i=0;return a>0&&(i=a/r.length),t.map(function(u){return isNaN(u)?i:Number(u)})}},{key:"_sumOfRegions",value:function(n){return n.reduce(function(e,t){return isNaN(t)||(e=e+Number(t)),e},0)}},{key:"_calcRegionIndex",value:function(n,e,t){return e<t?h._calcCoordWithInSize(n,e):h._calcCoordExceedsSize(n,t)}},{key:"_calcCoordWithInSize",value:function(n,e){var t=h._getMaxRegionsData(n),r=t.maxRegionsSize,o=t.maxRegionsIndex;if(e<r){for(var a=0;a<=o;a++)if(e<n[a])return a}else return o+1}},{key:"_calcCoordExceedsSize",value:function(n,e){var t=h._getMaxRegionsData(n),r=t.maxRegionsSize,o=t.maxRegionsIndex;return r<e?o+1:o}},{key:"_getMaxRegionsData",value:function(n){var e=n.length-1,t=n[e];return{maxRegionsSize:t,maxRegionsIndex:e}}},{key:"_getRegionLimits",value:function(n){var e=0;return n.map(function(t){return e=e+t,e})}}]),h}()},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(8)],C=l.dj.d(A,function(y){var m=602,h=!y("chrome")&&y("webkit")<m,d=y("trident"),n=y("trident"),e=!!y("safari");return{shouldHoverBeDisabled:h,isSeparateUserSelectRequired:d,containsActiveNodeLostIssue:n,noAutoScrollSupport:e}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(76)],C=l.dj.d(A,function(n,e){var t="DnDAdaptor",r={TREENODE:"TREENODE",TREE:"TREE"},o="moveCompleted",a="moveFailed",i=function(u){d(s,u);function s(c,f,p,v){m(this,s);var g=h(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));g.viewState=c,g.dataStore=p,g.dragAndDropConfig=v.dragAndDropConfig,g.view=f,g.viewState.setState("dnd",!0),g._options=v;var E={};return E.containerMount=function(D){return g.emit(e.Events.registerDnDSource,D)},E.containerUpdate=function(){return g.emit(e.Events.syncDnDSource)},f&&f.registerEventCallback(E),g.setDnDEndsState({}),g}return y(s,[{key:"updateView",value:function(){this.viewState.setState("updateView",!0)}},{key:"getCurrentViewPortData",value:function(){return this.viewState.getStateByKey("currentViewPortData").value}},{key:"getDragAndDropConfig",value:function(){return this.dragAndDropConfig||{}}},{key:"getSelectionData",value:function(){var f=this,p=this.getCurrentViewPortData(),v=this.getCurrentSelection();v=v?v.slice(0):[];var g=[],E=p.range.rows.start,D=p.range.rows.end,F=new Promise(function(w,x){for(var R=function(B){if(p(B)(0)&&p(B)(0).value){var P=v.findIndex(function(L){return L.id===p(B)(0).value.id});P>-1&&(g.push(p(B)(0).value.data),v.splice(P,1))}},T=E;T<=D&&v.length>0;T++)R(T);if(v.length===0)w(g);else{var S=[];v.forEach(function(I){S.push(f.dataStore.getNode(I).then(function(B){B&&B.node&&g.push(B.node.data)}))}),Promise.all(S).then(function(){w(g)})}});return F}},{key:"isReorderingEnabled",value:function(){return this.dragAndDropConfig&&this.dragAndDropConfig.mode===e.MODE.REORDER}},{key:"isReparentingOnlyEnabled",value:function(){return this.dragAndDropConfig&&this.dragAndDropConfig.mode===e.MODE.REPARENT}},{key:"isNodeLabelTruncated",value:function(){return this._options&&this._options.textTruncation&&this._options.textTruncation!=="none"}},{key:"getCurrentSelection",value:function(){var f=[],p=this.viewState.getStateByKey("selected");return p&&(f=p.rangeList[0]),f}},{key:"_isNodeInDragList",value:function(f,p){var v=f.some(function(g){return g.id===p.id});return v}},{key:"_emitMoveEvents",value:function(f,p,v){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},E={};v.id===null?E.type=r.TREE:E={nodeId:v.id,type:r.TREENODE},g.source=p,g.target=E,this.emit(f,g)}},{key:"_moveSuccessful",value:function(f,p){var v=this,g={nodeIds:f,type:r.TREENODE};return this._emitMoveEvents(o,g,p),this.dataStore.getNode({id:p.id}).then(function(E){E&&E.node&&!E.node.isExpanded&&v.viewState.setState("potentialNextKeyboardActiveNode",E.node)})}},{key:"moveTreeNodes",value:function(f,p){var v=this,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"first"},E=[],D=[],F=[],w=[],x=function(T,S,I){if(S)F.push(T);else{var B=w.find(function(P){return P.error.reason===I.reason});B||(B={nodeIds:[],error:{reason:I.reason,message:I.message}},w.push(B)),B.nodeIds.push(T)}};return new Promise(function(R,T){f.forEach(function(S){var I=v.dataStore.getParentNode({id:S.id}).then(function(B){var P=B?B.node:{id:null},L=P!==null&&v._isNodeInDragList(f,P);if(!L){var O=v.dataStore.move({id:P.id},{id:S.id},{id:p.id},g).then(x.bind(v,S.id,!0),x.bind(v,S.id,!1));D.push(O)}});E.push(I)}),Promise.all(E).then(function(){Promise.all(D).then(function(){w.forEach(function(S){var I={nodeIds:S.nodeIds,type:r.TREENODE};v._emitMoveEvents(a,I,p,{error:S.error})}),F.length!==0?v._moveSuccessful(F,p).then(function(){R({movedNodes:F,failedReasons:w})}):R({movedNodes:F,failedReasons:w})})})})}},{key:"expandNode",value:function(f){this.dataStore.expand([{id:f.id}])}},{key:"setDragState",value:function(f,p){this.viewState.setState("mouseEnterNode",null),this.viewState.setState("isInDragging",f,p)}},{key:"setDragHoverState",value:function(f){this.viewState.setState("dragHovered",f)}},{key:"getDragHoverState",value:function(){return this.viewState.getStateByKey("dragHovered")&&this.viewState.getStateByKey("dragHovered").value}},{key:"getDragState",value:function(){return this.viewState.getStateByKey("isInDragging")&&this.viewState.getStateByKey("isInDragging").value}},{key:"setDnDEndsState",value:function(f){this.viewState.setState("dndEnds",f)}},{key:"getEditState",value:function(){return this.viewState.getStateByKey("isInEditing")&&this.viewState.getStateByKey("isInEditing").value}}],[{key:"toString",value:function(){return t}}]),s}(n);return i},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({INSERT_ABOVE:0,INSERT_BELOW:2,REPARENT:1,ROW_DIVISION:{TYPE_TREE_NODE_DIVISION:"5 auto 5",TYPE_TREE_DIVISION:"0 auto 0"}});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(430)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a){m(this,o);var i=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return i.adaptor=a,i.adaptor.on("nodeFocusClick",function(u){return i._nodeClicked(u)}),i.adaptor.on("nodeFocusKeyPress",function(u){return i._keyPressed(u)}),i}return y(o,[{key:"focus",value:function(){this.adaptor.setContainerFocus()}},{key:"setNodeFocus",value:function(i){if(i&&!i.id)throw new Error("Expected: treeNode object with id property. Usage: setNodeFocus({id: 'node1'}) to set node focus,setNodeFocus() to empty focus");this.adaptor.setKeyboardActiveState(i),this.adaptor.setFocusedState(i,!0)}},{key:"_nodeClicked",value:function(i){var u=i.ctrlKey||i.metaKey;i.altKey||i.shiftKey&&u||this.adaptor.setFocusedState(i.node)}},{key:"_keyPressed",value:function(i){this.adaptor.setFocusedState(i.currentKeyboardActiveNode)}},{key:"exposedAPI",value:function(){return{focus:this.focus.bind(this),setNodeFocus:this.setNodeFocus.bind(this)}}},{key:"destroy",value:function(){}},{key:"emits",get:function(){var i=[];return i}}],[{key:"adaptor",get:function(){return e}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function h(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}A=[l(15),l(31),l(434)],C=l.dj.d(A,function(n,e,t){var r="SelectionAdaptor",o=function(){function i(){d(this,i)}return y(i,[{key:"processAndEmitEvt",value:function(s,c){c(s)}},{key:"updateBoundaryNode",value:function(s){}},{key:"getContiguousSelectionRange",value:function(s){}}]),i}(),a=function(i){h(u,i);function u(s,c,f){d(this,u);var p=m(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));p.viewState=s,p._view=c,p._dataStore=f,p.selectionModelDelegate=new o;var v={};return v.treeNodeMouseDown=function(g){p._processAndEmitEvt(g,"nodeSelectionMouseDown")},v.treeNodeMouseClick=function(g){g.node&&p._processAndEmitEvt(g,"nodeSelectionClick")},v.treeNodeDoubleClick=function(g){g.node&&p._processAndEmitEvt(g,"nodeSelectionDoubleClick")},v.treeNavigation=function(g){return p._processAndEmitKeyPress(g)},v.treeContextMenuSelection=function(g){g.node&&p._processAndEmitEvt(g,"nodeSelectionContextMenu")},c&&c.registerEventCallback(v),p}return y(u,[{key:"setRangeSelectionModel",value:function(){this.selectionModelDelegate=new t(this.viewState,this._view,this._dataStore)}},{key:"_isNodeAlreadySelected",value:function(c,f){return c.some(function(p){return p.id===f.id})}},{key:"_processAndEmitEvt",value:function(c,f){var p=this,v=c;return v.currentSelection=this.getSelectionState(),v.isNodeAlreadySelected=this._isNodeAlreadySelected(v.currentSelection,v.node),this.selectionModelDelegate.processAndEmitEvt(v,function(g){p.emit(f,g)})}},{key:"_processAndEmitKeyPress",value:function(c){var f=this,p=c;p.currentSelection=this.getSelectionState();var v=this.viewState.getStateByKey("keyboardActive"),g=this.viewState.getStateByKey("keyboardActiveIndex");return v=v?v.value:null,g=g?g.value:null,p.currentKeyboardActiveNode=v,p.nodeIndex=g,this.selectionModelDelegate.processAndEmitEvt(p,function(E){f.emit("nodeSelectionKeyPress",E)})}},{key:"_getNodeIndexInCurrentSelection",value:function(c,f){for(var p=0;p<c.length;p++)if(c[p].id===f.id)return p;return-1}},{key:"_addToSelectionIfNotSelected",value:function(c,f){var p=c.some(function(g){return g.id===f.id});if(!p){var v=c.slice(0,c.length);v.push(f),this.setSelectionState(v)}}},{key:"_toggleSelection",value:function(c,f){c=c||[];var p=this._getNodeIndexInCurrentSelection(c,f),v=[];Array.isArray(c)&&(v=c.slice(0,c.length)),p>-1?v.splice(p,1):v.push({id:f.id}),this.setSelectionState(v)}},{key:"setIndividualSelection",value:function(c,f){this.selectionModelDelegate.updateBoundaryNode(c),this.setSelectionState([c.node]),f(this.getSelectionState())}},{key:"updateBoundaryNodeProgrammatically",value:function(c){var f=this;this._dataStore.getNode(c).then(function(p){p&&f.selectionModelDelegate.updateBoundaryNode(p)})}},{key:"setDiscontiguousSelection",value:function(c,f){this.selectionModelDelegate.updateBoundaryNode(c),c.isMetaKeyPressed?this._toggleSelection(this.getSelectionState(),c.node):this._addToSelectionIfNotSelected(this.getSelectionState(),c.node),f(this.getSelectionState())}},{key:"setContiguousSelection",value:function(c,f){var p=this.selectionModelDelegate.getContiguousSelectionRange(c.nodeIndex);p?this._setRangeSelection(p.start,p.end,f):f(this.getSelectionState())}},{key:"_getSelectionForNodesInViewBuffer",value:function(c,f,p){for(var v=[],g=f;g<=p;g++)v.push({id:c(g)(0).value.id});return v}},{key:"_setRangeSelection",value:function(c,f,p){var v=this,g=this.viewState.viewBuffer.rangeList[0].rows,E=g.start,D=g.end,F=c>=E&&f<=D,w=this.viewState.getStateByKey("currentViewPortData").value,x=void 0;if(F)x=this._getSelectionForNodesInViewBuffer(w,c,f),this.setSelectionState(x),p(x);else{var R=c>=E?c:E,T=f<=D?f:D;x=this._getSelectionForNodesInViewBuffer(w,R,T),this.setSelectionState(x);var S=e.getRangeListForRange(this.viewState,c,f);this._dataStore.getData(S).then(function(I){x=[],I[0].forEach(function(B){return x.push({id:B[0].id})}),v.setSelectionState(x),p(x)})}}},{key:"setSelectionState",value:function(c,f,p){var v=this.viewState;Array.isArray(c)&&c.length?v.setState("selected",!0,[c]):v.setState("selected",!1,[]),p&&v.setState("updateView",!0)}},{key:"getSelectionState",value:function(){var c=void 0,f=this.viewState.getStateByKey("selected");if(f&&(c=f.rangeList[0]),c&&c.length){var p=c.map(function(v){return{id:v.id}});if(p.length>0)return p}return[]}}],[{key:"toString",value:function(){return r}}]),u}(n);return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(439),l(440),l(442),l(443),l(444),l(445),l(206),l(446),l(447),l(448),l(63),l(31),l(74),l(64),l(230),l(2)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a,i,u,s,c,f,p,v,g){var E=18,D=18,F={data:null,domId:null};function w(R){var T=function(S){return!(S!==void 0&&(typeof S!="number"||!Number.isInteger(S)||S<=0))}(R);if(!T)throw new Error("Error: Invalid numberOfGutters option, numberOfGutters should be a natural number");return T}var x=function(){function R(T,S,I,B){m(this,R),this._viewModel=T,this.dataTestId=I.dataTestId,this.handlers=S,this.renderer=I.renderer?I.renderer:a,this._numberOfGutters=w(I.numberOfGutters)?I.numberOfGutters:0,p.setMode(I&&I.textTruncation),this._configuredPlugins=B,this.CheckboxTreeFlag=!1;for(var P=this._configuredPlugins?this._configuredPlugins.length:0,L=0;L<P;L++){var O=this._configuredPlugins[L].name?this._configuredPlugins[L].name:void 0;if(O==="CheckboxTree"){this.CheckboxTreeFlag=!0;break}}this.handleHoverAction=this._handleHoverAction.bind(this),this._dataTipRef=g.createRef()}return y(R,[{key:"_getScrollTopValue",value:function(S){var I=this._viewModel.getStateByKey("scrollTopCalc");if(I&&S){var B=I.value(S);return this._viewModel.viewPort.size.top=B,this._viewModel.deleteState("scrollTopCalc"),B}}},{key:"_getConsumedNodeWidth",value:function(S,I){var B=S;return I.forEach(function(P){P&&(B+=P.width?P.width:0)}),B}},{key:"_getTranslateTopValue",value:function(){var S=f.computeTranslateY(this._viewModel);return S}},{key:"_getExpectedTranslateTopValue",value:function(){var S=f.getExpectedTranslateTopValue(this._viewModel);return S}},{key:"_getHeight",value:function(){var S=f.getMaxHeight(this._viewModel);return S}},{key:"_getUpdatedTreeProps",value:function(){var S=this,I={},B=this._viewModel.getStateByKey("nodeHeightInPx");I.treeNodeHeight=B?B.value:0,I.treeHeight=function(){return S._getHeight()},I.treeWidth=this._viewModel.getStateByKey("treeWidth"),I.treeWidth=I.treeWidth?I.treeWidth.value:null,I.forceContainerFocus=this._viewModel.getStateByKey("forceContainerFocus"),I.forceContainerFocus=I.forceContainerFocus?I.forceContainerFocus.value:null,this._viewModel.deleteState("forceContainerFocus"),I.viewHeight=this._viewModel.viewPort.size.height,I.scrollTopFunc=function(W){return S._getScrollTopValue(W)},I.translateY=this._getExpectedTranslateTopValue(),I.translateTopFunc=function(){return S._getTranslateTopValue()};var P=this._viewModel.getStateByKey("ContainerFocused");P=P&&P.value;var L="mw-tree-scroll-component";P?L=L+" focused":L="mw-tree-scroll-component";var O=this._viewModel.getStateByKey("hideScrollBars");return O=O&&O.value,O&&(L=L+" hideScrollBars"),I.containerClass=""+L,I.scrollLeft=this._viewModel.viewPort.size.left,this._updateFocusedNodeID(),I}},{key:"_updateFocusedNodeID",value:function(){var S=this._viewModel.getStateByKey("focused")?this._viewModel.getStateByKey("focused").value:null;S!==F.data&&(F.data=S,F.domId="treeNode_"+c.generateUuid())}},{key:"buildTree",value:function(S,I){var B=this,P=this._getUpdatedTreeProps(),L=[],O="tree",W=this._viewModel.getStateByKey("isInDragging"),j=this._viewModel.getStateByKey(v.TREE_DISABLED);j=j&&j.value;var K=j?"-1":"0";W&&W.value&&(O=O+" mw-tree-drag-in-progress",P.isDraggingStarted=!0);var H=void 0,V=this._viewModel.getStateByKey("NodeHover");if(p.isTruncated()&&V&&(H=V.value),S)for(var $=S.range.rows.start,G=S.range.rows.end,Q=$;Q<=G&&S(Q)(0).value;Q++){var J=I(Q).value;L.push(this.buildTreeNode(S(Q)(0),Q,P,J))}var Y=void 0;if(p.isTruncated()){var X=this._isPointerOnNode(H);Y=this.buildDataTip(H,X)}return g.createElement(g.Fragment,null,g.createElement(e,{classes:O,disabled:j,tabIndex:K,dataTestId:this.dataTestId,translateY:P.translateY,viewHeight:P.viewHeight,bodyHeight:P.treeHeight,treeNodeHeight:P.treeNodeHeight,nodeHoverInfo:H,scrollHandler:this.handlers.tree._scrollHandler,scrollTopFunc:P.scrollTopFunc,translateTopFunc:P.translateTopFunc,scrollLeft:P.scrollLeft,setTreeNodeProperty:this.handlers.tree._setTreeNodeHeightHandler,setTreeBufferHeight:this.handlers.tree._setTreebufferDataHandler,setTreeWidth:this.handlers.tree._setTreeWidthProperty,width:P.treeWidth,containerClass:P.containerClass,focusedNodeID:F.domId,forceContainerFocus:P.forceContainerFocus,focusHandler:this.handlers.tree._focusHandler,containerMountHandler:this.handlers.tree._containerMountHandler,containerUpdateHandler:this.handlers.tree._containerUpdateHandler,blurHandler:this.handlers.tree._blurHandler,contextMenuHandler:this.handlers.tree._contextMenuHandler,keyHandler:this.handlers.tree._keyDownHandler,keyUpHandler:this.handlers.tree._keyUpHandler,ref:function(q){return B.containerNodeRef=q},dataTip:Y},L),j?g.createElement(t,null):null)}},{key:"buildContentNode",value:function(S,I,B,P){var L={content:null,additionalDataAttributes:{}};return L.content=this.buildRenderer(S,P),L}},{key:"buildPluginComponents",value:function(S,I,B,P){var L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},O=[],W=[];if(L.displayBlank)return{components:O,properties:W};var j=o.getPluginBuilderAndProperties(this._configuredPlugins,P);return j.forEach(function(K){O.push(K.builder(S,B,I,L)),W.push(K.properties)}),{components:O,properties:W}}},{key:"_handleHoverAction",value:function(S){if(!!p.isTruncated()){var I={nodeData:S.nodeData,nodeRef:S.nodeRef,hoverMode:S.hoverMode,relatedTargetNode:S.relatedTargetNode,mouseUpHandler:this.handlers.treeNode._nodeMouseUpHandler,mouseDownHandler:this.handlers.treeNode._nodeMouseDownHandler,dblClickHandler:this.handlers.treeNode._nodeDblClickHandler,clickHandler:this.handlers.treeNode._nodeClickHandler};this.handlers.treeNode._nodeHoverHandler(I)}}},{key:"_isPointerOnNode",value:function(S){var I=!1,B=this._dataTipRef.current;if(B&&S){var P=S.hoverMode;if(P)I=!0;else{var L=S.relatedTarget;I=L&&L.nodeName&&B.contains(L)||!1}}return I}},{key:"buildDataTip",value:function(S,I){if(this.containerNodeRef){var B=this.containerNodeRef.myContainerDiv;return g.createElement(n,{containerElm:B,tipRef:this._dataTipRef,showDataTip:I,treeNodeInfo:S})}}},{key:"buildTreeNode",value:function(S,I,B,P){var L=S.value,O=this._getStylingAndClasses(L,P);P.nodeReadOnly=O.classes.includes("readonly");var W=this.buildDisclosureNode(L,I,P);B.nodeIndentation=O.nodeDataIndentation;var j=this.buildPluginComponents(S,B,this.handlers,o.VIEW_COMPONENTS.TREENODE_BEFORE_CONTENT,P),K=o.getComponentAttributes(this._configuredPlugins,o.VIEW_COMPONENTS.TREENODE,S,B),H=this._getConsumedNodeWidth(B.nodeIndentation,j.properties),V=this.buildContentNode(S,B,H,P),$=V.content,G=F.data&&F.data.id===L.id?F.domId:null;return g.createElement(d,{key:L.data.id,classes:O.classes,rowIndex:I,node:L,additionalDataAttributes:V.additionalDataAttributes,componentsBeforeContent:j.components,content:V.content,renderer:$,nodeDomID:G,disclosureNode:W,hoverAction:this.handleHoverAction,nodeMouseUp:this.handlers.treeNode._nodeMouseUpHandler,nodeMouseDown:this.handlers.treeNode._nodeMouseDownHandler,nodeDblClick:this.handlers.treeNode._nodeDblClickHandler,nodeClick:this.handlers.treeNode._nodeClickHandler,additionalAttributes:K,treeNodeStyle:O.style,numberOfGutters:this._numberOfGutters,noMouseInteraction:P.noMouseInteraction,isDraggingStarted:B.isDraggingStarted})}},{key:"buildRenderer",value:function(S){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=I&&I.interactiveRenderer?I.interactiveRenderer:this.renderer;if(I.interactiveRenderer instanceof i&&this.CheckboxTreeFlag)throw new Error("Checkbox Tree and Tree with Checkbox Renderer are not allowed together!");var P=S.value,L=I.displayBlank;if(!L){var O=this.handlers.interactive_renderer,W=o.getComponentAttributes(this._configuredPlugins,o.VIEW_COMPONENTS.TREENODE_CONTENT,P),j=o.getDOMListeners(this._configuredPlugins,o.VIEW_COMPONENTS.TREENODE_CONTENT,this.handlers);return g.createElement(r,{renderer:B,additionalAttributes:W,additionalListeners:j,interactiveCallback:O,config:I,shallowEqual:function(H,V){return c.shallowEqual(H,V)},node:S})}}},{key:"buildDisclosureNode",value:function(S,I){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},P=void 0,L=B.displayBlank;if(!L){if(S.isExpandable){var O=["disclosureIcon"];S.isExpanded?O.push("collapse"):O.push("expand"),O=O.join(" "),P=g.createElement(h,{classes:O,node:S,noMouseInteraction:B.noMouseInteraction,disclosureMouseDown:this.handlers.disclosureNode._disclosureMouseDownHandler,rowIndex:I})}return P}}},{key:"_getStylingAndClasses",value:function(S){var I=this,B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=function(){var X=I._viewModel.getStateByKey("selected");return function(Z){var q=Z.classes,ee=Z.nodeStyle,re=Z.nodeDataIndentation;if(X&&X.rangeList&&X.rangeList.length>0){X=X.rangeList[0];var he=X.some(function(me){return S.id===me.id});he&&q.push("selected")}return{classes:q,nodeStyle:ee,node:S,nodeDataIndentation:re}}},L=function(){var X=I._viewModel.getStateByKey("contextMenuFocus");return function(Z){var q=Z.node,ee=Z.classes,re=Z.nodeStyle,he=Z.nodeDataIndentation;if(X&&X.value){var me=X.value,se=me.some(function(te){return te.id===q.id});se&&(re.treeNodeData.marginLeft=re.treeNodeData.marginLeft-1,ee.push("contextFocus"))}return{classes:ee,node:q,nodeStyle:re,nodeDataIndentation:he}}},O=function(X){var Z=I._viewModel.getStateByKey(X);return Z?Z.value:null},W=function(){var X=I._viewModel.getStateByKey("contextMenuFocus")?null:I._viewModel.getStateByKey("focused"),Z=O("ContainerFocused");return function(q){var ee=q.classes,re=q.node,he=q.nodeStyle,me=q.nodeDataIndentation;if(X&&X.value){X=X.value;var se=re.id===X.id;se&&Z&&(he.treeNodeData.marginLeft=he.treeNodeData.marginLeft-1),se&&ee.push("focused")}return{classes:ee,nodeStyle:he,node:re,nodeDataIndentation:me}}},j=function(){return function(X){var Z=X.classes,q=X.node,ee=X.nodeStyle,re=X.nodeDataIndentation,he=B.displayBlank;return he&&q.isExpandable?(ee.treeNodeData.marginLeft+=D,Z.push("parentNode")):q.isExpandable?(re=re+D,Z.push("parentNode")):(Z.push("leafNode"),ee.treeNodeData.marginLeft+=E,re=re+E),{classes:Z,node:q,nodeStyle:ee,nodeDataIndentation:re}}},K=function(){function X(Z,q,ee){ee&&(Z[q]=ee)}return function(Z){var q=Z.classes,ee=Z.nodeStyle,re=Z.nodeDataIndentation,he=B&&B.readonly,me=B.displayBlank,se=B&&B.noMouseInteraction;if(he&&q.push(s.READ_ONLY_NODE_CLASS),me&&q.push(s.BLANK_NODE_CLASS),se&&q.push(s.NON_INTERACTIVE_NODE_CLASS),B.style){var te=B.style,oe=te.backgroundColor,ue=te.color,ce=te.fontWeight,ve=te.fontStyle,Se=te.fontFamily;ee.treeNode={},X(ee.treeNode,"backgroundColor",oe),X(ee.treeNode,"color",ue),X(ee.treeNode,"fontWeight",ce),X(ee.treeNode,"fontStyle",ve),X(ee.treeNode,"fontFamily",Se)}var Be=B.gutterColors,ke=B.strikeThrough;return ke===!0&&q.push(s.TREENODE_STRIKETHROUGH),X(ee,"gutterColors",Be),{classes:q,nodeStyle:ee,nodeDataIndentation:re}}},H=function(X){var Z=X.classes,q=X.nodeStyle,ee=X.nodeDataIndentation;return{classes:Z,style:q,nodeDataIndentation:ee}},V=function(){var X=I._viewModel.getStateByKey("isInDragging");return function(Z){var q=Z.classes,ee=Z.nodeStyle,re=Z.nodeDataIndentation;if(X&&X.rangeList&&X.rangeList.length>0){X=X.rangeList;var he=X.some(function(se){return S.id===se.id}),me=X[0];he&&q.push("dragged-node"),me.id===S.id&&(ee.treeNodeData.marginLeft=ee.treeNodeData.marginLeft+1)}return{classes:q,nodeStyle:ee,node:S,nodeDataIndentation:re}}},$=u.compose(H,j(),V(),W(),L(),P(),K()),G=s.TREENODE;this._numberOfGutters>0&&G.push(s.TREENODE_GUTTER);var Q={treeNodeData:{marginLeft:S.level*E}},J=Q.treeNodeData.marginLeft;return $({classes:G,nodeStyle:Q,nodeDataIndentation:J})}},{key:"_updateScrollLeftIfNeccessary",value:function(S){var I=this._viewModel.viewPort.size.width,B=this._viewModel.viewPort.size.left,P=void 0;S>.5*(B+I)?P=S-.5*(B+I):S<B&&S>I?P=S:P=0,this._viewModel.viewPort.size.left=P}}]),R}();return x},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({treeContainer:"tree",treeNodeItem:"treeitem"});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=250,m=[],h=function d(n){var e=function(o){var a=o.currentTarget;o.persist(),m.push(setTimeout(function(){o.currentTarget=a,n.handleClick(o)},y))},t=function(o){d.handleRemoveTimers(),n.handleDoubleClick(o)};return[e,t]};return h.handleRemoveTimers=function(){for(;m.length>0;)clearTimeout(m.pop())},h},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";return{getHighlightedTextDOM:function(m,h,d){var n=[],e=[];return e=d.filter(function(t){return t.field===h}),e.length>0?n=this._getMatchedDOM(m,e):n.push(this._createNonHighlightedTextContentForDisplay(m)),n},_getMatchedDOM:function(m,h){for(var d=[],n=void 0,e=void 0,t=this._createClassNameLookUp(m,h),r=0;r<t.length;){var o=void 0,a=void 0;if(t[r]===0){for(o=r;t[r]===0&&r<t.length;)r++;a=r,n=this._createNonHighlightedTextContentForDisplay(m.substring(o,a)),d.push(n)}if(r<t.length){o=r;for(var i=t[r];t[r]!==0&&r<t.length&&i===t[r];)r++;a=r,e=this._createHighlightedTextContentForDisplay(m.substring(o,a)),e.className=i,d.push(e)}}return d},_createClassNameLookUp:function(m,h){for(var d="treeHighlight",n=new Array(m.length).fill(0),e=function(o){var a=h[o];a.matches.forEach(function(i){for(var u=i.className||a.className||d,s=i.start+i.count,c=i.start;c<s;c++){var f=n[c];(f===void 0||f!=="treeNodeHighlightPrimary")&&(n[c]=u)}})},t=0;t<h.length;t++)e(t);return n},_createHighlightedTextContentForDisplay:function(m){var h=document.createElement("mark");return h.textContent=m,h},_createNonHighlightedTextContentForDisplay:function(m){var h=document.createTextNode(m);return h}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({CLICK:"click",KEY_PRESS:"keypress"});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";return Object.freeze({TREE_DISABLED:"treeDisabled"})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({DATA_UPDATE_SUCCESS:"DATA_UPDATE_SUCCESS",DATA_UPDATE_FAILURE:"DATA_UPDATE_FAILURE"});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({ACTIVE_NODE:"keyboardActive",POTENTIAL_ACTIVE_NODE:"potentialNextKeyboardActiveNode"});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(90),l(156),l(29),l(31)],C=l.dj.d(A,function(h,d,n,e){var t=function(){function r(){m(this,r)}return y(r,null,[{key:"isKeyBindingInHandlerList",value:function(a,i,u){return u&&i&&a?u.some(function(s){if(s&&s[d.KEY_CODE]&&s[d.KEY_HANDLER_NAME])return r.isKeyCodeEqual(a,s)&&s[d.KEY_HANDLER_NAME]===i}):!1}},{key:"isKeyCodeEqual",value:function(a,i){var u=!1;return Array.isArray(a)&&Array.isArray(i[d.KEY_CODE])?u=e.isArrayMatching(a,i[d.KEY_CODE]):u=i[d.KEY_CODE]===a,u}},{key:"isPlatformInTheList",value:function(a,i){return a&&i?a.some(function(u){if(u)return u===i}):!1}},{key:"isThePlatformInObject",value:function(a,i){return a&&Array.isArray(a)&&i?a.includes(i)||a.includes(h.internal.ALL)||i===h.internal.ALL:!1}},{key:"findPropertyInTheObject",value:function(a,i,u){return u&&i&&a?u.find(function(s){if(s&&s[d.KEY_CODE]&&s[d.KEY_HANDLER_NAME])return r.isKeyCodeEqual(a,s)&&s[d.KEY_HANDLER_NAME]===i}):!1}},{key:"findKeyCodeInTheList",value:function(a,i,u){return u.find(function(s){return s[d.KEY_CODE]===a&&r.isThePlatformInObject(s[d.PLATFORMS],i)})}},{key:"getModifierLookupList",value:function(){return{altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1}}},{key:"getModifierKeyCodeState",value:function(a){var i=e.containsKeyCode(n.CTRL,a),u=e.containsKeyCode(n.SHIFT,a),s=e.containsKeyCode(n.ALT,a),c=e.containsKeyCode(n.META,a);return{ctrlKey:i,shiftKey:u,altKey:s,meta:c}}},{key:"getKeyCodeArray",value:function(a){var i=[];if(a){var u=!0,s=!1,c=void 0;try{for(var f=a[Symbol.iterator](),p;!(u=(p=f.next()).done);u=!0){var v=p.value,g=v;if(!r.keyCodeLookUpArray().includes(g)&&!r.getValidModifierList().includes(g))throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc");r.getValidModifierList().includes(g)||i.push(g)}}catch(E){s=!0,c=E}finally{try{!u&&f.return&&f.return()}finally{if(s)throw c}}}return i}},{key:"getModifierKeyCodeList",value:function(a){var i=r.getModifierKeyCodeState(a),u=i.ctrlKey,s=i.shiftKey,c=i.altKey,f=i.meta,p=r.getModifierLookupList();for(var v in p)v===d.CTRL_KEY?p[v]=u:v===d.SHIFT_KEY?p[v]=s:v===d.ALT_KEY?p[v]=c:v===d.META&&(p[v]=f);return p}},{key:"keyCodeLookUpArray",value:function(){return[n.PAGE_UP,n.PAGE_DOWN,n.END,n.HOME,n.ARROW_DOWN,n.ARROW_UP,n.ARROW_RIGHT,n.ARROW_LEFT,n.ENTER]}},{key:"getValidModifierList",value:function(){return[n.ALT,n.META,n.SHIFT,n.CTRL]}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({ACTIONS:{DELETE:"DELETE"}});return y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(236),l(475),l(479),l(49)],C=l.dj.d(A,function(h,d,n,e){"use strict";var t={TREE:h,TABLE:d,TREETABLE:n},r=function(u,s){if(!s.type)throw new Error("type required.");if(!o(s.type))throw new Error("Invalid type");var c=t[s.type],f=new c(u,s);if(!f)throw new Error("DataStore not created");return f._type=s.type,f},o=function(u){return Object.values(e).includes(u)},a=function(){function i(){throw m(this,i),new Error("This class is not instantiable")}return y(i,null,[{key:"create",value:function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r(s,c)}}]),i}();return a},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=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},m=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function h(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e<n.length;e++)t[e]=n[e];return t}else return Array.from(n)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}A=[l(20),l(114),l(7),l(463),l(464),l(157),l(158),l(91),l(65),l(240),l(116),l(474),l(241),l(160),l(49)],C=l.dj.d(A,function(n,e,t,r,o,a,i,u,s,c,f,p,v,g,E){"use strict";var D=function(I){var B=new n;setTimeout(function(){return I(B.resolve,B.reject)},0),this.then=B.promise.then},F={CHILD:"child",ROOT:"root",ANCESTOR:"ancestor",SIBLING:"sibling"};Object.freeze(F);var w=function(I){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};I.id=B.id,I.level=B.level,I.isExpanded=B.isExpanded,I.isExpandable=B.isExpandable,I.groupRow=B.groupRow,I.check=B.check,I.highlight=B.highlight,x(I,B)},x=function(I,B){I.hasOwnProperty("path")||Object.defineProperty(I,"path",{get:function(){return B.path}})},R=function(){function S(I,B,P,L,O,W,j,K){d(this,S),this.id=I,this._path=L,this.level=P,this.isExpandable=W,this.isExpanded=O,this.data=B,j!==null&&(this.check=j),K&&(this.groupRow=K)}return m(S,[{key:"path",get:function(){if(!this._fullPath){for(var B=new Array(this.level),P=this._path,L=this.level;L>=0;L-=1)B[L]=P.id,P=P.parent;this._fullPath=B}return this._fullPath}}]),S}(),T=function(){function S(I){var B=this,P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};d(this,S),this._type=P.type,this._on=new e,this._listeners=[],this._dataSize=t.range(),this._expandCollapseToggle=new r({allExpanded:P.allExpanded}),this.replaceAll(I,P),this._metaDataRules=new c,this._expandCollapseState={filtering:!1},this._listeners.push(this._metaDataRules.on("metaDataChanged",function(L){for(var O=[],W=[],j=0;j<L.rangeList.length;j+=1){var K=L.rangeList[j];if(t.isRowRange(K)){var H=K.setColumns(0,0);W.push(H)}if(t.isColumnRange(K)){var V=K.setRows(0,0);O.push(V)}}O.length>0&&B._emitPagedColumnMetaDataChanged(O),W.length>0&&B._emitPagedRowMetaDataChanged(W),B._type===E.TREE?B._dataChanged(L.rangeList):B._emitDataChanged(L.rangeList)}))}return m(S,[{key:"addMetaDataRule",value:function(B,P){this._metaDataRules.add(B,P)}},{key:"removeMetaDataRule",value:function(B){this._metaDataRules.remove(B)}},{key:"createMetaDataRule",value:function(B,P){if(!P)throw new Error("dataselector is missing");return B.node&&(B.row=B.node,P||(P={type:f.dataSelectorTypes.node})),P.type==="hierarchy"&&(B.node&&(B.row=B.node),Array.isArray(P.value)||(P.value=[P.value])),f.create(B,P,this._type)}},{key:"replaceAll",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};P.isCheckboxTree&&(this.updateChecked=this._updateChecked,this.getCheckNodes=this._getCheckNodes,this._isCheckboxTree=!0),this._internalDataStore=new o(B,{getParentId:P.getParentId,setParentId:P.setParentId,getId:P.getId,isExpanded:this._isExpanded.bind(this),createTreeNode:this._createTreeNode.bind(this),sorted:P.sorted,isCheckboxTree:this._isCheckboxTree,getCheck:P.getCheck,setCheck:P.setCheck,type:this._type}),this._dataSave=P.dataSave||{},this._getParentId=this._internalDataStore.getParentId.bind(this._internalDataStore),this._flattenedTree=[],this._flatten=this._internalDataStore.flatten.bind(this._internalDataStore),this._getSortState=this._internalDataStore.getSortState.bind(this._internalDataStore),this._flattenedTree=this._flatten(),this._updateDataSize(),this._dataChanged([t.range().setRows(0,1/0).setColumns(0,0)],!0)}},{key:"managePaging",value:function(B){}},{key:"_calculateDataSize",value:function(){return t.range().setRows(0,this._flattenedTree.length-1).setColumns(0,0)}},{key:"_updateDataSize",value:function(){var B=this,P=this._calculateDataSize();t.isRangeEqual(P,this.dataSize)||(this._dataSize=P,setTimeout(function(){(!B._lastEmitDataSize||!t.isRangeEqual(B._lastEmitDataSize,B.dataSize))&&(B._on.emit("dataSizeChanged",{dataSize:B.dataSize}),B._lastEmitDataSize=B.dataSize)},0))}},{key:"getLocalRowMetaData",value:function(B){var P=this._flattenedTree[B],L=this._getRowMetaData(B),O={};return P&&x(O,P),w(L,P),Object.assign(O,L),O}},{key:"_getRowMetaData",value:function(B){var P=this._flattenedTree[B],L={};return P&&w(L,P),this._metaDataRules.getRowMetaData({rowIndex:B,dynamic:L})}},{key:"getLocalColumnMetaData",value:function(B){var P={},L=this._metaDataRules.getColumnMetaData({columnIndex:B,dynamic:P});return this._getColumnNumbersForSortCriteria(this._getSortState()).indexOf(B)>=0&&(L.sorted=this._getSortState()),L}},{key:"getLocalCellMetaData",value:function(B,P){var L=this.getLocalCellData(B,P),O=null,W=void 0;if(L!==void 0){var j=this._flattenedTree[B];j&&(W=this._internalDataStore._isGrouping?this._internalDataStore._getParentIdForGrouping(j.data):this._internalDataStore.getParentId(j.data)),O={value:L,parentId:W},this._searching&&(O._row=j),j&&w(O,j)}var K=this._metaDataRules.getCellMetaData({rowIndex:B,columnIndex:P,dynamic:O});return K}},{key:"getLocalCellData",value:function(B){return this._flattenedTree[B]}},{key:"getData",value:function(B){var P=this,L=B.slice(),O=new D(function(W,j){var K=[];L.forEach(function(H,V){if(!t.isRangeInside(P.dataSize,H)){j(new Error("Range exceeds data size"));return}var $=H.rows.start,G=H.rows.end,Q=H.columns.start,J=H.columns.end,Y=P._getCellBlock($,G,Q,J);Y.range=H,K[V]=Y}),W(K)});return O}},{key:"_getCellBlock",value:function(B,P,L,O){for(var W=[],j=B;j<=P;j+=1){for(var K=[],H=L;H<=O;H+=1)K[H]=this.getLocalCellData(j,H);W[j]=K}return W}},{key:"_calculateNodePath",value:function(B){var P=this._internalDataStore.getAncestorIds(B);return P.reverse(),P.push(B),P}},{key:"_createTreeNode",value:function(B,P,L,O,W,j,K){var H=arguments.length>7&&arguments[7]!==void 0?arguments[7]:void 0,V=this._isCheckboxTree?K:null,$=new R(B,P,L,O,W,j,V,H);return $}},{key:"_isExpanded",value:function(B){return this._expandCollapseToggle.isExpanded(B)}},{key:"expandAll",value:function(){var B=this._expandCollapseToggle.expandAll();return this._updateTreeData(B),new D(function(P){setTimeout(P,0)})}},{key:"collapseAll",value:function(){var B=this._expandCollapseToggle.collapseAll();return this._updateTreeData(B),new D(function(P){setTimeout(P,0)})}},{key:"expand",value:function(B){if(!Array.isArray(B))throw new Error("'expand' expected an array in proxyNodeList.");var P=this._expandCollapseToggle.expand(B);return this._updateTreeData(P),new D(function(L){setTimeout(L,0)})}},{key:"collapse",value:function(B){if(!Array.isArray(B))throw new Error("'collapse' expected an array in proxyNodeList.");var P=this._expandCollapseToggle.collapse(B);return this._updateTreeData(P),new D(function(L){setTimeout(L,0)})}},{key:"sort",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{keepSorted:!1};if(!(!B||!B.length)){this._internalDataStore.validateSortCriteria(B,this.dataSize);var L=this._internalDataStore.runSort(B,P);return this._emitPagedColumnMetaDataChanged([t.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)]),this._updateTreeData(L),new D(function(O){setTimeout(O,0)})}}},{key:"registerSortType",value:function(B){var P=B.name,L=B.compareFn;if(!(P&&typeof P=="string"&&L&&typeof L=="function"))throw new Error("A valid compare type name and comparator function must be specified");if(P.indexOf(".")!==-1)throw new Error("The name of sort type cannot contain a period.");return this._internalDataStore.registerCustomSort(P,L),P}},{key:"expandTo",value:function(B){var P=this;B=a.normalize(B);var L=this._internalDataStore.getAncestorIds(B.id,!0),O=L.map(function(W){return{id:W}});return this.expand(O).then(function(){return P.getNode(B)})}},{key:"add",value:function(B){for(var P=arguments.length,L=Array(P>1?P-1:0),O=1;O<P;O++)L[O-1]=arguments[O];return Array.isArray(B)?this._addNodes.apply(this,[B].concat(L)):this._addNode.apply(this,[B].concat(L))}},{key:"_addNodes",value:function(B){var P=this,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0},O=[];return new Promise(function(W,j){for(var K=0;K<B.length;K++)if(B[K].options&&B[K].options.node&&(B[K].options.node=a.normalize(B[K].options.node)),L.dataSave){var H=P._getAddOptions(B[K].parentProxy,B[K].nodeToAdd,B[K].options||{place:"last"});O.push(P._doValidateOperation(P._dataSave.beforeAdd,H))}L.dataSave||O.push(Promise.resolve({})),Promise.all(O).then(function(V){P._performAdditionOfNodes(B),W(V)},function(V){j(V)})})}},{key:"_addNode",value:function(B,P){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"last"};B=a.normalize(B),L.node&&(L.node=a.normalize(L.node));var O=this._getAddOptions(B,P,L);return this._doSaveOperation(this._dataSave.beforeAdd,this._addSingleNode,O)}},{key:"_getAddOptions",value:function(B,P,L){return{parentId:B.id,node:P,options:L}}},{key:"_addSingleNode",value:function(B){var P=[{parentProxy:{id:B.parentId},nodeToAdd:B.node,options:B.options}];this._performAdditionOfNodes(P)}},{key:"_performAdditionOfNodes",value:function(B){if(B.length!==0){var P=this._internalDataStore.addNodes(B);P.changedIds=this._getCheckBoxTreeChangedIds(P),this._updateTreeData(P)}}},{key:"_getCheckBoxTreeChangedIds",value:function(B){var P=this;if(B.changeOccurred&&this._isCheckboxTree){var L=new Set;return B.changedIds.forEach(function(O){P._internalDataStore.getAncestorIds(O).forEach(function(W){L.add(W)})}),B.changedIds.concat(Array.from(L))}return B.changedIds}},{key:"remove",value:function(B){for(var P=arguments.length,L=Array(P>1?P-1:0),O=1;O<P;O++)L[O-1]=arguments[O];return Array.isArray(B)?this._removeNodes.apply(this,[B].concat(L)):this._removeNode.apply(this,[B].concat(L))}},{key:"_removeNodes",value:function(B){var P=this,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0},O=[],W=[];return new Promise(function(j,K){for(var H=0;H<B.length;H++){var V=P._internalDataStore.getAncestorIds(B[H].proxyNodeToRemove.id),$=V.length>0?V[0]:null;if(B[H].parentId=$,P._isExpanded($)&&W.push($),L.dataSave){var G={parentId:B[H].parentId,removeId:B[H].proxyNodeToRemove.id,options:B[H].options};O.push(P._doValidateOperation(P._dataSave.beforeRemove,G))}}L.dataSave||O.push(Promise.resolve({})),Promise.all(O).then(function(Q){P._performRemovalOfNodes(B,W),j(Q)},function(Q){K(Q)})})}},{key:"_removeNode",value:function(B,P){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{keepChildren:!1};P=a.normalize(P);var O=this._getRemoveOptions(P,L);return this._doSaveOperation(this._dataSave.beforeRemove,this._removeSingleNode,O)}},{key:"_getRemoveOptions",value:function(B,P){var L=this._internalDataStore.getAncestorIds(B.id);return{parentId:L.length>0?L[0]:null,removeId:B.id,options:P}}},{key:"_removeSingleNode",value:function(B){var P=[{proxyNodeToRemove:{id:B.removeId},parentId:B.parentId,options:B.options}];this._performRemovalOfNodes(P,this._isExpanded(B.parentId)?[B.parentId]:[])}},{key:"_performRemovalOfNodes",value:function(B,P){if(B.length!==0){var L=this._internalDataStore.remove(B);if(P.length>0){if(L.changedIds){var O;(O=L.changedIds).push.apply(O,h(P))}else L.changedIds=P;L.changedIds=this._getCheckBoxTreeChangedIds(L)}this._updateTreeData(L)}}},{key:"move",value:function(B,P,L){var O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{place:"last"};L=a.normalize(L),P=a.normalize(P),O.node&&(O.node=a.normalize(O.node));var W=this._internalDataStore.getAncestorIds(P.id),j={parentId:W.length>0?W[0]:null,newParentId:L.id,nodeToMoveId:P.id,options:O};return this._doSaveOperation(this._dataSave.beforeMove,this._move,j)}},{key:"_move",value:function(B){var P=this._isExpanded(B.parentId),L=this._isExpanded(B.newParentId),O=void 0;O=this._internalDataStore.move(B.parentId,B.nodeToMoveId,B.newParentId,B.options),O.changeOccurred&&(P&&(O.changedIds?O.changedIds.push(B.parentId):O.changedIds=[B.parentId]),L&&(O.changedIds?O.changedIds.push(B.newParentId):O.changedIds=[B.newParentId]),O.changedIds=this._getCheckBoxTreeChangedIds(O),this._updateTreeData(O))}},{key:"update",value:function(B){for(var P=arguments.length,L=Array(P>1?P-1:0),O=1;O<P;O++)L[O-1]=arguments[O];return Array.isArray(B)?this._updateNodes.apply(this,[B].concat(L)):this._updateNode.apply(this,[B].concat(L))}},{key:"_updateNodes",value:function(B){var P=this,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0},O=[];return new Promise(function(W,j){for(var K=0;K<B.length;K++){var H=P._internalDataStore.getAncestorIds(B[K].proxyNodeToUpdate.id),V=H.length>0?H[0]:null;if(B[K].parentId=V,L.dataSave){var $={parentId:B[K].parentId,updateId:B[K].proxyNodeToUpdate.id,fieldsToMerge:B[K].fieldsToMerge};O.push(P._doValidateOperation(P._dataSave.beforeUpdate,$))}}L.dataSave||O.push(Promise.resolve({})),Promise.all(O).then(function(G){P._performUpdate(B),W(G)},function(G){return j(G)})})}},{key:"_updateNode",value:function(B,P,L){P=a.normalize(P);var O=this._getUpdateOptions(P,L);return this._doSaveOperation(this._dataSave.beforeUpdate,this._updateSingleNode,O)}},{key:"_getUpdateOptions",value:function(B,P){var L=this._internalDataStore.getAncestorIds(B.id);return{parentId:L.length>0?L[0]:null,updateId:B.id,fieldsToMerge:P}}},{key:"_updateSingleNode",value:function(B){var P=[{parentId:B.parentId,proxyNodeToUpdate:{id:B.updateId},fieldsToMerge:B.fieldsToMerge}];this._performUpdate(P)}},{key:"_performUpdate",value:function(B){if(B.length!==0){var P=this._internalDataStore.update(B);P.changedIds=this._getCheckBoxTreeChangedIds(P),this._updateTreeData(P)}}},{key:"_doValidateOperation",value:function(B,P){var L=this;return new Promise(function(O,W){var j=void 0;B?j=B.call(L,P):j=new Promise(function(K){K({})}),j.then(function(K){O(L._getSuccessInfo(K))},function(K){W(L._getFailureInfo(K))})})}},{key:"_getSuccessInfo",value:function(B){return{message:B.message||"",reason:"",custom:B.custom||{},success:!0}}},{key:"_getFailureInfo",value:function(B){var P=new Error(B.message||"");return P.reason=i[B.reason]||i.ERROR_UNKNOWN,P.custom=B.custom||{},P.success=!1,P}},{key:"_doSaveOperation",value:function(B,P,L){var O=this,W=void 0;if(B)W=B.call(this,L);else{var j=new n;j.resolve({}),W=j.promise}return W.then(function(K){try{P.call(O,L)}catch(H){throw H.reason=i[H.reason]||i.ERROR_UNKNOWN,H.custom=H.custom||{},H.success=!1,H}return O._getSuccessInfo(K)},function(K){throw O._getFailureInfo(K)})}},{key:"getNode",value:function(B,P){var L=this;return B=a.normalize(B),new Promise(function(O,W){var j=u.findIndex(L._flattenedTree,function($){return B.id===$.id}),K=null;if(P){var H=p.isValidCriteria(P);if(H){var V=j>=0?L._queryMetaData(j,P):null;K=L._getTreeNodeInfo(V),O(K)}W(new Error("invalid options criteria"))}else j>=0&&(K={index:j,node:L._flattenedTree[j]}),O(K)})}},{key:"_getTreeNodeInfo",value:function(B){var P=null;return B!=null?P={index:B,node:this._flattenedTree[B]}:P=null,P}},{key:"getParentNode",value:function(B){var P=this;return B=a.normalize(B),this.getNode(B).then(function(L){if(L){var O=void 0,W=P._internalDataStore.getAncestorIds(L.node.id,!0);return W.length>0&&(O=W[0]),P.getNode({id:O})}else return new D(function(j){return j(null)})})}},{key:"filter",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{displayChildren:!1};this._expandCollapseState.filtering||(this._expandCollapseState=this._expandCollapseToggle.getState(),this._expandCollapseState.filtering=!0);var L=this._internalDataStore.normalizeFilterCriteria(B),O=this._internalDataStore.filterTreeNode(L,P);return this._updateTreeData(O),new D(function(W){setTimeout(W,0)})}},{key:"clearFilter",value:function(){if(this._expandCollapseState.filtering){var B=this._internalDataStore.clearFilter();this._expandCollapseToggle.setState(this._expandCollapseState),this._expandCollapseState.filtering=!1,this._updateTreeData(B)}return new D(function(P){setTimeout(P,0)})}},{key:"search",value:function(B){var P={field:"",value:""};if(B&&(B.field||B.and||B.or))P=B;else throw new Error("Invalid Search Criteria");var L=this._internalDataStore.searchTreeNodes(P);return this._updateTreeData(L),new D(function(O){setTimeout(O,0)})}},{key:"clearSearch",value:function(){var B=this._internalDataStore.clearSearch();return this._updateTreeData(B),new D(function(P){setTimeout(P,0)})}},{key:"_updateChecked",value:function(B,P){var L=this._internalDataStore.updateChecked(B,P);return this._updateTreeData(L),new D(function(O){setTimeout(O,0)})}},{key:"_getCheckNodes",value:function(){var B=this._internalDataStore.getCheckedNodes(),P=B.checkedNodeIds,L={checkTrueNodes:P};return new D(function(O){setTimeout(function(){O(L)},0)})}},{key:"getChildNodes",value:function(B){var P=this,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};B=a.normalize(B);var O={type:"child"};O.isRecursive=L.isRecursive||!1;var W=Object.getOwnPropertyNames(L).length,j="isRecursive"in L;return((typeof L=="undefined"?"undefined":y(L))!=="object"||W>1||W&&!j)&&console.warn("Invalid parameters passed, please see Tree data Store JSDoc for correct configuration"),O.node=L.node||{},new Promise(function(K){K(P._query(B,O))})}},{key:"_getColumnNumbersForSortCriteria",value:function(B){return B?[0]:[]}},{key:"_updateTreeData",value:function(B){if(!!B.changeOccurred){var P=this._flattenedTree;this._flattenedTree=this._flatten(),this._updateDataSize();var L=-1;if(B.updateAll)L=0;else{var O=new s;B.changedIds.forEach(function(K){O.set(K,!0)});var W=void 0,j=void 0;W=u.findIndex(P,function(K){return O.get(K.id)}),j=u.findIndex(this._flattenedTree,function(K){return O.get(K.id)}),W>=0&&j>=0?L=Math.min(W,j):L=Math.max(W,j)}L>=0&&this._dataChanged([t.range().setRows(L,1/0).setColumns(0,this.dataSize.columns.end)],B.columnMetaDataChanged)}}},{key:"_dataChanged",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._on.emit("dataChanged",{rangeList:B});var L=this._internalDataStore.getMetaDataRanges();t.doesRangeListIntersect(B,L)&&this._emitPagedRowMetaDataChanged(B.map(function(O){return O.setColumns(0,0)})),P&&this._emitPagedColumnMetaDataChanged([t.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"_emitPagedColumnMetaDataChanged",value:function(B){this._on.emit("pagedColumnMetaDataChanged",{rangeList:B})}},{key:"_emitPagedRowMetaDataChanged",value:function(B){this._on.emit("pagedRowMetaDataChanged",{rangeList:B})}},{key:"on",value:function(B,P){var L=this._on.on(B,P);return this._listeners.push(L),L}},{key:"destroy",value:function(){this._listeners.forEach(function(B){return B.remove()}),this._metaDataRules=null,this._internalDataStore=null,this._flattenedTree=null}},{key:"_query",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=B.id,O=[];return P.isRecursive?O=this._getRecursiveDataItems(L):O=this._getNodes(L)[F.CHILD](),Object.getOwnPropertyNames(P.node).length&&(O=this._filterDataItems(P.node,O)),O}},{key:"_queryMetaData",value:function(B,P){var L=void 0,O=void 0,W=void 0,j=this._flattenedTree.length,K=P.range&&P.range.rows&&P.range.rows.start?P.range.rows.start:0,H=P.range&&P.range.rows&&P.range.rows.end?P.range.rows.end:j-1,V=K<0?0:K,$=H>j-1?j-1:H,G=P.queryCriteria,Q=G&&G.compare&&G.compare.dataType?G.compare.dataType:g.dataType.DEFAULT_DATA_TYPE,J=G.metadata.field,Y=G.metadata.value,X=p.getValueByType(Q,Y),Z=void 0,q=void 0,ee=!1,re=!1;switch(P.position){case v.POSITION.NEXT:if(L=1,B>=$)return null;W=B+L;break;case v.POSITION.PREVIOUS:if(L=-1,B<=V)return null;W=B+L;break;case v.POSITION.FIRST:L=1,W=V;break;case v.POSITION.LAST:L=-1,W=$;break;default:}for(O=W;!ee;)O=W,W=W+L,Z=this.getLocalRowMetaData(O)[J],q=p.getValueByType(Q,Z),re=O<V||O>$,ee=q===X||re;return O<V||O>H?null:O}},{key:"_getNodes",value:function(B){var P=this._internalDataStore,L=this._flattenedTree,O={child:P.getChildNodes.bind(P,B,L),sibling:P.getSiblingNodes.bind(P,B,L),root:P.getRootNodes.bind(P,B,L),ancestor:P.getAncestorNodes.bind(P,B,L)};return O}},{key:"_getRecursiveDataItems",value:function(B){for(var P=this._getNodes(B).child(),L=[],O=[{arr:P}],W=0;O.length>0;){for(var j=O[W].arr,K=0;K<j.length;K++){L.push(j[K]);var H=j[K].node,V=H.id;P=this._getNodes(V).child(),P.length&&O.push({arr:P})}O.shift()}return L}},{key:"_filterDataItems",value:function(B,P){throw new Error("This configuration is not supported")}},{key:"dataSize",get:function(){return this._dataSize}},{key:"isCheckboxTree",get:function(){return this._isCheckboxTree?this._isCheckboxTree===!0:!1}}]),S}();return T},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function m(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(65),l(91),l(158),l(467),l(468),l(469),l(92),l(470),l(49),l(7)],C=l.dj.d(A,function(d,n,e,t,r,o,a,i,u,s){var c=e.ERROR_CIRCULAR_REF,f=e.ERROR_MODE_NON_EXISTENT,p="mixed",v="checked",g="unchecked",E="__root",D={TREE:r,TREETABLE:o},F=0,w=u.TREETABLE,x="OBJECT";return function(){function R(T){var S=this,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};h(this,R),this._data=T||[],this.type=I.type,this._columnMap=I.columnMap,this.setSortState(null);var B=D[this.type];this.type===w&&I.rowDataType===x&&this._setDefaultColumnOptionsForTreeTable(I),this._sort=new B(I.sorted,this._columnMap),this._sort.sorted&&this._sort.sort(this._data),this._isExpanded=I.isExpanded,this.getParentId=function(P){return P.parent},I.getParentId&&(this.getParentId=I.getParentId),this.setParentId=function(P,L){P.parent=L},I.setParentId&&(this.setParentId=I.setParentId),this.getId=function(P){return P.id},I.getId&&(this.getId=I.getId),this.getCheck=function(P){return P.check},I.getCheck&&(this.getCheck=I.getCheck),this.setCheck=function(P,L){P.check=L===!0},I.setCheck&&(this.setCheck=I.setCheck),this.isCheckboxTree=I.isCheckboxTree,this._isSearching=!1,this._treeNodeIdCache=new d,this._treeRootId=null,this._getCheckedState=function(P){return!1},this.isCheckboxTree&&(this._getCheckedState=this._getCheckStatus,this._checkSet={}),this._createTreeNode=function(P,L,O){var W=S.getId(P),j=S._isExpandable(W),K=S._getCheckedState(W);return I.createTreeNode(W,P,L,O,j&&S._isExpanded(W),j,K,S._getGroupRow(W))},this._indexCache=new i(this._data,{getId:this.getId}),this._createParentCache(),this._makeCheckSets()}return y(R,[{key:"_setDefaultColumnOptionsForTreeTable",value:function(S){if(this._columnMap||(this._columnMap=Object.keys(this._data[0])),!this._columnMap)throw new Error("options.columnMap or at least one row of data must be specified.")}},{key:"setSortState",value:function(S){this._sortState=S}},{key:"getSortState",value:function(){return this._sortState}},{key:"_clearSortSettings",value:function(){this.setSortState([]),this._sort.removePersistentSort()}},{key:"_getGroupRow",value:function(S){if(this._groupRowIdCache&&this._groupRowIdCache.get(S))return this._groupRowIdCache.get(S)}},{key:"setGrouping",value:function(S){var I=this;this._isGrouping=!0,this._setGrouping=function(){var B=S(),P=B.groupingData,L=B.groupRowMeta,O=B.getParentIdForGrouping;I._groupRowIdCache=new d,Object.keys(L).forEach(function(W){I._groupRowIdCache.set(W,L[W])}),I._getParentIdForGrouping=O,I._createParentCache(P,O)},this._clearSortSettings(),this._updateResults()}},{key:"getNumColumns",value:function(){return F}},{key:"getColumnMap",value:function(){return this._columnMap}},{key:"getCell",value:function(S,I){return S[I]}},{key:"setCell",value:function(S,I,B){S[I]=B}},{key:"getMetaDataRanges",value:function(){return this._metaDataRanges}},{key:"_hasChild",value:function(S){var I=this;return n.findIndex(this._data,function(B){return I.getParentId(B)===S})>=0}},{key:"_isExpandable",value:function(S){var I=this._parentCache.get(S);return!!(I&&I.length>0)}},{key:"_updateParentCacheNode",value:function(S,I){var B=this,P=this._parentCache.get(S);if(!P||P.length===0){I.index===void 0&&(I.index=this._getIndexById(this.getId(I.node))),this._parentCache.set(S,[I]);return}var L=void 0,O=P.length-1,W=0,j=void 0,K=void 0,H=void 0;if(I.index!==void 0?(L=I.index,j=P[O].index,K=P[W].index,H=function(G){return G.index>I.index}):(L=this._getIndexById(this.getId(I.node)),j=this._getIndexById(this.getId(P[O].node)),K=this._getIndexById(this.getId(P[W].node)),H=function(G){return B._getIndexById(B.getId(G.node))>L},I.index=L),j<L)P.push(I);else if(K>L)P.unshift(I);else{var V=n.findIndex(P,H);P.splice(V,0,I)}}},{key:"_createChildIndexValue",value:function(S,I){return I!==void 0?{node:S,index:I}:{node:S}}},{key:"_createParentCache",value:function(S,I){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this._parentCache=new d,this._rootNodes=[],B=B||this._isGrouping||I!==void 0,S=S||this._data;for(var P=I||this.getParentId,L=S.length,O=0;O<L;O++){var W=S[O],j=P(W);B?this._updateParentCacheNode(j,this._createChildIndexValue(W,O)):this._updateParentCacheNode(j,this._createChildIndexValue(W))}}},{key:"_makeCheckSets",value:function(){if(!!this.isCheckboxTree)for(var S=0;S<=this._data.length-1;S++)this._isLeafNode(this.getId(this._data[S]))&&this._pushToCheckSet({directParent:this.getParentId(this._data[S]),leafChild:{id:this.getId(this._data[S]),node:this._data[S]}})}},{key:"_pushToCheckSet",value:function(S){if(S.directParent===null&&(S.directParent=E),this._checkSet[S.directParent]){var I=this._checkSet[S.directParent].checkValue,B=this._getNodeCheckStateForSet(S.leafChild.node);this._checkSet[S.directParent].checkValue=this._determineSetState(I,B),this._checkSet[S.directParent].leafChildren.push(S.leafChild)}else this._checkSet[S.directParent]={leafChildren:[S.leafChild],checkValue:this._getNodeCheckStateForSet(S.leafChild.node)}}},{key:"_getNodeCheckStateForSet",value:function(S){return this.getCheck(S)===!0?v:g}},{key:"_booleanToCheckState",value:function(S){return S?v:g}},{key:"_checkStateToBoolean",value:function(S){return S===v}},{key:"_determineSetState",value:function(S,I){return S===I?S:p}},{key:"_determineStateForSetOnRemovingLeafNode",value:function(S,I){return S===g||S===v?S:this._getCheckStatusForLeaves(I)}},{key:"_getCheckStatusForLeaves",value:function(S){for(var I=g,B=!1,P=!1,L=0;L<=S.length-1;L++)if(this.getCheck(S[L].node)?B=!0:P=!0,B&&P){I=p;break}return I===p?I:B?v:g}},{key:"_isLeafNode",value:function(S){S===E&&(S=null);var I=this._parentCache.get(S);return I=I||[],Boolean(I.length===0)}},{key:"_getChildIdsForParentId",value:function(S){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,B=this._parentCache.get(S),P=[];if(B)for(var L=0;L<=B.length-1;L++){var O=this.getId(B[L].node);I&&this._isLeafNode(O)||P.push(O)}return P}},{key:"_computeCheckStateOfNode",value:function(S){if(S.id!==E)return this._isLeafNode(S.id)?this._getNodeCheckStateForSet(this._getNodeInfo(S.id)):this._stateToString(this._computeCheckStateForSubTree(S.id))}},{key:"_stateToString",value:function(S){if(S.discoveredUnChecked&&S.discoveredChecked)return p;if(S.discoveredChecked)return v;if(S.discoveredUnChecked)return g}},{key:"_computeCheckStateForSubTree",value:function(S,I){I=I||{discoveredChecked:!1,discoveredUnChecked:!1};var B=this._getChildIdsForParentId(S),P=this.__getModifiedStateAndChildListToTraverse(S,B,I),L=P.newChildIds,O=P.newState;if(I=O,I.discoveredChecked&&I.discoveredUnChecked)return I;B=L;for(var W=0;W<=B.length-1;W++)if(I=this._computeCheckStateForSubTree(B[W],I),I.discoveredChecked&&I.discoveredUnChecked)return I;return I}},{key:"__getModifiedStateAndChildListToTraverse",value:function(S,I,B){if(this._checkSet[S]){var P=this._checkSet[S].checkValue;P===p&&(B.discoveredUnChecked=!0,B.discoveredChecked=!0),P===v&&(B.discoveredChecked=!0,I=this._removeSetLeafNodes(I,this._checkSet[S].leafChildren)),P===g&&(B.discoveredUnChecked=!0,I=this._removeSetLeafNodes(I,this._checkSet[S].leafChildren))}return{newChildIds:I,newState:B}}},{key:"_removeSetLeafNodes",value:function(S,I){for(var B=[],P=0;P<=I.length-1;P++)B.push(I[P].id);return S=S.filter(function(L){return!B.includes(L)}),S}},{key:"_reactToAddNode",value:function(S,I){if(S===null||!this._isLeafNode(S)){this._pushToCheckSet({directParent:S,leafChild:{id:this.getId(I),node:I}});return}this.__removeLeafNodeFromCheckSet(S,this.getParentId(this._getNodeInfo(S)),!1),this._pushToCheckSet({directParent:S,leafChild:{id:this.getId(I),node:I}})}},{key:"_reactToRemoveNode",value:function(S,I,B){if(this._isLeafNode(S)){this.__removeLeafNodeFromCheckSet(S,I);return}if(B.keepChildren!==!0){if(this.__removeSubTreeFromId(S),I===null)return;if(this._getChildIdsForParentId(I).length===1){var P=this._getParentIdForNodeId(I);this._pushToCheckSet({directParent:P,leafChild:{id:I,node:this._getNodeInfo(I)}})}return}for(var L=this._getChildIdsForParentId(S),O=0;O<=L.length-1;O++)this.__reactToReparentNode(L[O],S,I);this.__isIdPartOfParentCheckCache(S,I)&&this.__removeLeafNodeFromCheckSet(S,I)}},{key:"__isIdPartOfParentCheckCache",value:function(S,I){I===null&&(I=E);var B=!1;if(this._checkSet[I]){for(var P=this._checkSet[I].leafChildren,L=0;L<=P.length-1;L++)if(P[L].id===S){B=!0;break}}return B}},{key:"__removeSubTreeFromId",value:function(S){this._checkSet[S]&&this.__removeCheckSetEntry(S);for(var I=this._getChildIdsForParentId(S,!0),B=0;B<=I.length-1;B++)I.push.apply(I,m(this._getChildIdsForParentId(I[B],!0))),this._checkSet[I[B]]&&this.__removeCheckSetEntry(I[B])}},{key:"_getParentIdForNodeId",value:function(S){if(S!==null){var I=this._getNodeInfo(S);if(I)return this.getParentId(I)}}},{key:"__reactToReparentNode",value:function(S,I,B){if(this._isLeafNode(B)&&this.__removeLeafNodeFromCheckSet(B,this.getParentId(this._getNodeInfo(B))),!!this._isLeafNode(S)){this.__removeLeafNodeFromCheckSet(S,I),this._pushToCheckSet({directParent:B,leafChild:{id:S,node:this._getNodeInfo(S)}});var P=this._getParentIdForNodeId(B);if(P!==void 0){var L=this._getParentIdForNodeId(P);L!==void 0&&this.__removeLeafNodeFromCheckSet(P,L,!1)}}}},{key:"__doesIdExistInLeafChildren",value:function(S,I){for(var B=!1,P=0;P<=I.length-1;P++)if(I[P].id===S){B=!0;break}return B}},{key:"__removeLeafNodeFromCheckSet",value:function(S,I){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(I===null&&(I=E),this._checkSet[I]){if(!this.__doesIdExistInLeafChildren(S,this._checkSet[I].leafChildren))return;if(this._checkSet[I].leafChildren.length>1){this._checkSet[I].leafChildren=this._checkSet[I].leafChildren.filter(function(O){return O.id!==S});var P=this._checkSet[I].checkValue,L=this._checkSet[I].leafChildren;this._checkSet[I].checkValue=this._determineStateForSetOnRemovingLeafNode(P,L);return}this._getChildIdsForParentId(I).length===1&&B&&this._pushToCheckSet({directParent:this.getParentId(this._getNodeInfo(I)),leafChild:{id:I,node:this._getNodeInfo(I)}}),this.__removeCheckSetEntry(I)}}},{key:"__removeCheckSetEntry",value:function(S){delete this._checkSet[S]}},{key:"filterTreeNode",value:function(S,I){this._filterOptions=I;var B=I.displayChildren,P=this.getParentId,L=function(){return{checkTrueNodes:[],checkFalseNodes:[]}};this._isGrouping&&(P=this._getParentIdForGrouping),this.isCheckboxTree&&(L=this.getCheckedNodes),this._filter=this._instantiateFilter(S,{getId:this.getId,getParentId:P,treeRootId:this._treeRootId,checkedNodeIds:L.bind(this),columnMap:this._columnMap});for(var O=0;O<this._data.length;O=O+1){var W=this._data[O];if(this._treeNodeIdCache.set(this.getId(W),W),!this._filter.isFiltered(this.getId(W))){var j=this._filter.isFilterMatch(W);j&&(this._filter.addAncestorsToFilter(P(W)),B===!0&&this._addChildrenToFilter(this.getId(W)))}}this._includeFilteredAncestors(),this._filter.clearAncestorIds(),this._isFiltering=!0;var K={};return K.changeOccurred=!0,K.updateAll=!0,K}},{key:"_addChildrenToFilter",value:function(S){var I=this._parentCache.get(S);if(I)for(var B=[{arr:I,lastIndex:0}];B.length>0;){for(var P=B.length-1,L=B[P].lastIndex,O=B[P].arr,W=L,j=O.length;W<j;W+=1){var K=O[W].node,H=this.getId(K);if(this._filter.addtoFilterCache(H),this._parentCache.has(H)){B.push({arr:this._parentCache.get(H),lastIndex:0}),B[P].lastIndex=W+1;break}}W===O.length&&B.pop()}}},{key:"_includeFilteredAncestors",value:function(){for(var S=this._filter.getAncestorIds(),I=0;I<S.length;I++)this._addFilterAncestors(S[I])}},{key:"clearFilter",value:function(){var S={};return this._isFiltering?(this._isFiltering=!1,S=this._filter.clearFilter()):S.changeOccurred=!1,S}},{key:"registerCustomSort",value:function(S,I){this._sort.validateCustomSortName(S),this._sort.addCustomCompare(S,I)}},{key:"validateSortCriteria",value:function(S,I){var B=this;S.forEach(function(P){B._sort._validateSortOption(P,I)})}},{key:"searchTreeNodes",value:function(S){this._search=new t(S,{getId:this.getId,_type:this.type}),this._isSearching=!0;for(var I=0;I<this._data.length;I=I+1){var B=this._data[I];this._search.searchNodeForMatches(B)}var P={};return P.changeOccurred=!0,P.updateAll=!0,P}},{key:"clearSearch",value:function(){var S={};return this._isSearching?(this._isSearching=!1,S.changeOccurred=!0,S.updateAll=!0):S.changeOccurred=!1,S}},{key:"_updateResults",value:function(){var S=!1;if(this._isGrouping&&(this._setGrouping(),S=!0),this._isFiltering){var I=this._filter.getFilterCriteria();this.filterTreeNode(I,this._filterOptions),S=!0}if(this._isSearching){var B=this._search.getSearchCriteria();this.searchTreeNodes(B),S=!0}return S}},{key:"_reCreateParentCacheInGrouping",value:function(){this._isGrouping&&this._createParentCache()}},{key:"_setNodePositionForFilter",value:function(S,I){for(var B=0;B<S.length;B++){var P=S[B],L=this._isGrouping?this._getParentIdForGrouping(P.data):this.getParentId(P.data);L=L||"__root__node__",P.nodePosition={nodeIndex:I[L].currentIdx,noOfNodes:I[L].childrenCount},I[L].currentIdx++}}},{key:"flatten",value:function(S){S&&this._createParentCache(this._data);var I=this._createTreeNode,B=[],P=this._parentCache.get(this._treeRootId),L={};if(P){for(var O={id:this._treeRootId,parent:null},W=[{arr:P,lastIndex:0,path:O}];W.length>0;){for(var j=W.length-1,K=W[j].lastIndex,H=W[j].arr,V=K,$=H.length,G=W[j].path;V<$;V++){var Q={parent:G},J=I(H[V].node,j,Q);Q.id=J.id;var Y=J.id,X=J.isExpanded,Z=!0;if(this._isFiltering){if(Z=!1,this._filter.isFiltered(Y)){var q=this._isGrouping?this._getParentIdForGrouping(J.data):this.getParentId(J.data);q=q||"__root__node__",L[q]?L[q].childrenCount++:L[q]={childrenCount:1,currentIdx:1},B.push(J),Z=!0}}else J.nodePosition={nodeIndex:V+1,noOfNodes:$},B.push(J);if(this._isSearching&&this._search.isNodeAMatch(H[V].node)&&(J.highlight=this._search.getMatchesFromCache(H[V].node)),Z&&X&&this._parentCache.has(Y)||S&&this._parentCache.has(Y)){W.push({arr:this._parentCache.get(Y),lastIndex:0,path:Q}),W[j].lastIndex=V+1;break}}V===H.length&&W.pop()}this._isFiltering&&this._setNodePositionForFilter(B,L)}return B}},{key:"_getIndexById",value:function(S){return this._indexCache.getIndex(S)}},{key:"_getNodeById",value:function(S){for(var I=0;I<this._data.length;I+=1){var B=this._data[I];if(this.getId(B)===S)return B}return null}},{key:"getNodesByIds",value:function(S){var I=this;if(S.length===0)return[];if(S.length===1)return[this._getNodeById(S[0])];for(var B=new d,P=0;P<S.length;P+=1){var L=S[P];B.set(L,!0)}var O=function(j){return B.has(I.getId(j))};return this._data.filter(O)}},{key:"_cacheParents",value:function(S){var I=new d,B=this.getParentId;S&&this._isGrouping&&(B=this._getParentIdForGrouping);for(var P=0;P<this._data.length;P+=1){var L=this.getId(this._data[P]),O=B(this._data[P]);I.set(L,O)}return I}},{key:"getAncestorIds",value:function(S,I){var B=this,P=void 0;P=this._cacheParents(I);for(var L=function(K){var H=void 0;return P.has(K)?H=P.get(K):I&&B._isGrouping&&(H=B._getParentIdForGrouping(null,K)),H},O=[],W=L(S);W&&W!==this._treeRootId;)O.push(W),W=L(W);return O}},{key:"getChildIndiciesByParent",value:function(S){var I=this._parentCache.get(S);if(I){for(var B=[],P=I.length,L=0;L<P;L++){var O=I[L].node;B.push({index:this._getIndexById(this.getId(O)),node:O})}return B}return[]}},{key:"_calcPlacementIndex",value:function(S,I,B){var P=this;if(this._sort.sorted)return this._sort.getInsertIndex(this._data,I);var L=B.place,O=this._data.length;if(L==="first")O=0;else if(L==="last")O=this._data.length;else if(B.node){var W=void 0,j=void 0;W=B.node.id,j=this.getChildIndiciesByParent(S);var K=!1;if(j){var H=n.find(j,function($){return W===P.getId($.node)});H&&(O=H.index,K=!0)}if(!K){var V=this._getIndexById(W);V>=0&&(O=V,K=!0)}K&&L==="after"&&(O+=1)}return O}},{key:"_updateSortState",value:function(){return this._sort.sorted?!1:(this.setSortState(null),!0)}},{key:"add",value:function(S,I,B){this.isCheckboxTree&&this._reactToAddNode(S,I),this._reCreateParentCacheInGrouping(),this.setParentId(I,S);var P=this._calcPlacementIndex(S,I,B),L=this._isExpandable(S);this._data.splice(P,0,I),this._indexCache.setNode(this.getId(I),P,{index:P,node:I}),this._updateParentCacheNode(S,this._createChildIndexValue(I));var O=[this.getId(I)];L!==this._isExpandable(S)&&O.push(S);var W=this._updateResults(),j=this._updateSortState();return{changeOccurred:!0,changedIds:O,updateAll:W,columnMetaDataChanged:j}}},{key:"addNodes",value:function(S){for(var I=[],B=0;B<=S.length-1;B++){S[B].options===void 0&&(S[B].options={place:"last"});var P=this._add(S[B].parentProxy.id,S[B].nodeToAdd,S[B].options),L=P.changedIds;I.push.apply(I,m(L))}var O=this._updateResults(),W=this._updateSortState();return{changeOccurred:!0,changedIds:I,updateAll:O,columnMetaDataChanged:W}}},{key:"_add",value:function(S,I,B){this.isCheckboxTree&&this._reactToAddNode(S,I),this._reCreateParentCacheInGrouping(),this.setParentId(I,S);var P=this._calcPlacementIndex(S,I,B),L=this._isExpandable(S);this._data.splice(P,0,I),this._indexCache.setNode(this.getId(I),P,{index:P,node:I}),this._updateParentCacheNode(S,this._createChildIndexValue(I));var O=[this.getId(I)];return L!==this._isExpandable(S)&&O.push(S),{changedIds:O}}},{key:"remove",value:function(S){for(var I=!1,B=[],P=0;P<=S.length-1;P++){S[P].options===void 0&&(S[P].options={keepChildren:!1});var L=this._remove(S[P].parentId,S[P].proxyNodeToRemove.id,S[P].options),O=L.changeOccurred,W=L.changedIds;!I&&O&&(I=O),Array.isArray(W)&&(B=[].concat(m(B),m(W)))}if(I){var j=this._updateResults(),K=this._updateSortState();return{changeOccurred:I,changedIds:B,updateAll:j,columnMetaDataChanged:K}}return{changeOccurred:!1}}},{key:"_remove",value:function(S,I,B){var P=this;this._reCreateParentCacheInGrouping();var L=this._getIndexById(I);if(L<0)return{changeOccurred:!1};this.isCheckboxTree&&this._reactToRemoveNode(I,S,B);var O=this._isExpandable(S),W=void 0;if(B.keepChildren){var j=this.getChildIndiciesByParent(I);j.forEach(function(J){P.setParentId(J.node,S),P._updateParentCacheNode(S,{node:J.node})}),W=[L]}else{var K=[],H=function J(Y){if(Y.length!==0){var X=[];Y.forEach(function(Z){var q=P.getId(Z.node);X=X.concat(P.getChildIndiciesByParent(q))}),K=K.concat(X),J(X)}};H([this._createChildIndexValue(this._data[L])]),W=K.map(function(J){return J.index}),W.push(L),W.sort(function(J,Y){return Y-J})}for(var V=[],$=0;$<W.length;$+=1){var G=W[$],Q=this._data[G];V.push(this.getId(Q)),this._removeParentCacheNode(this.getParentId(Q),{node:Q}),this._indexCache.removeNode(this.getId(Q),G),this._data.splice(G,1)}return O!==this._isExpandable(S)&&V.push(S),{changeOccurred:!0,changedIds:V}}},{key:"_getNodesByParent",value:function(S,I){var B=[],P=[],L=this._parentCache.get(S);if(L=L||[],L.length===0&&S===this._treeRootId)return{leafNodeIds:B,parentNodeIds:P};L.length>0&&I&&S!==this._treeRootId?P.push(S):L.length===0&&B.push(S);for(var O=[{arr:L}],W=0;O.length>0;){for(var j=O[W].arr,K=j.length,H=0;H<K;H++){var V=j[H].node,$=this.getId(V),G=this._parentCache.get($);G?(I&&$&&P.push($),O.push({arr:G})):G||B.push($)}O.shift()}return{leafNodeIds:B,parentNodeIds:P}}},{key:"getChildNodes",value:function(S,I){var B=this,P=this.getChildIndiciesByParent(S),L=null,O=[];return P.length===0?[]:(P.forEach(function(W){var j=n.findIndex(I,function(H){return W.node.id===H.id});if(j>=0)L={index:j,node:I[j]};else{var K=B._createTreeNode(W.node,null);L={index:null,node:{id:K.id,isExpandable:K.isExpandable,isExpanded:K.isExpanded,level:K.level,data:K.data}}}O.push(L)}),O)}},{key:"getSiblingNodes",value:function(S){throw new Error("This configuration is not suported")}},{key:"getRootNodes",value:function(S){throw new Error("This configuration is not suported")}},{key:"getAncestorNodes",value:function(S){throw new Error("This configuration is not suported")}},{key:"_removeParentCacheNode",value:function(S,I){var B=this,P=this._parentCache.get(S);if(!!P){var L=this._getIndexById(this.getId(I.node)),O=n.findIndex(P,function(W){return B._getIndexById(B.getId(W.node))===L});P.splice(O,1)}}},{key:"move",value:function(S,I,B,P){this._reCreateParentCacheInGrouping();var L=this._getIndexById(I);if(L<0)return{changeOccurred:!1};if(B&&!this._indexCache.hasIndex(B)){var O=new Error("New parent Id does not exists");throw O.reason=f,O}var W=this.getAncestorIds(B);if(W.indexOf(I)>=0||I===B){var j=new Error("Move caused a circular reference");throw j.reason=c,j}this.isCheckboxTree&&this.__reactToReparentNode(I,S,B);var K=this._calcPlacementIndex(B,this._data[L],P),H=this._isExpandable(B),V=this._isExpandable(S),$=this._data[L];L>=0&&K>=0&&L!==K?(this._removeParentCacheNode(S,{node:$}),this._indexCache.removeNode(I,L),this._data.splice(L,1),L<K&&(K-=1),this._data.splice(K,0,$),this._indexCache.setNode(I,K,{index:K,node:$}),this._updateParentCacheNode(B,{node:$})):L===K&&(this._removeParentCacheNode(S,{node:$}),this._updateParentCacheNode(B,{node:$})),this.setParentId($,B);var G=[I];V!==this._isExpandable(S)&&G.push(S),H!==this._isExpandable(B)&&G.push(B);var Q=this._updateResults(),J=this._updateSortState();return{changeOccurred:!0,changedIds:G,updateAll:Q,columnMetaDataChanged:J}}},{key:"update",value:function(S){for(var I=[],B=0;B<=S.length-1;B++){var P=this._update(S[B].parentId,S[B].proxyNodeToUpdate.id,S[B].fieldsToMerge),L=P.changedIds;I.push.apply(I,m(L))}var O=this._updateResults(),W=this._updateSortState();return{changeOccurred:!0,changedIds:I,updateAll:O,columnMetaDataChanged:W}}},{key:"_update",value:function(S,I,B){var P=this._getIndexById(I);if(P<0)return{changeOccurred:!1,changedIds:[],updateAll:!1};var L=this._data[P];for(var O in B)L[O]=B[O];if(this._sort.sorted){var W=this.getParentId(L);this._removeParentCacheNode(W,{node:L}),this._indexCache.removeNode(I,P),this._data.splice(P,1);var j=this._calcPlacementIndex(W,L,{});this._data.splice(j,0,L),this._indexCache.setNode(I,j,{index:j,node:L}),this._updateParentCacheNode(W,{node:L})}return{changedIds:[I]}}},{key:"_updateChecked",value:function(S,I){var B=[];return this._isLeafNode(S.id)?(this._updateCheckedLeafNode(S.id,this._booleanToCheckState(I)),B.push({id:S.id}),B):(B=this._updateCheckedParentNode(S.id,this._booleanToCheckState(I)),B)}},{key:"_updateCheckedParentNode",value:function(S,I){var B=[],P=[];if(this.__doesParentIdHaveChekSet(S)){var L=this.__updateCheckedSets(S,I),O=L.leafChildrenSetIds,W=L.changeIds;P=O,B=[].concat(m(B),m(W))}var j=this._getChildIdsForParentId(S);j=j.filter(function(H){return!P.includes(H)});for(var K=0;K<=j.length-1;K++)B=[].concat(m(B),m(this._updateCheckedParentNode(j[K],I)));return B}},{key:"__doesParentIdHaveChekSet",value:function(S){return Boolean(this._checkSet[S])}},{key:"__updateCheckedSets",value:function(S,I){for(var B=[],P=[],L=!1,O=0;O<=this._checkSet[S].leafChildren.length-1;O++)this._checkStateToBoolean(I)!==Boolean(this.getCheck(this._checkSet[S].leafChildren[O].node))&&(L||(L=!0),P.push({id:this._checkSet[S].leafChildren[O].id,ignoreAncestorCalculation:!0})),this.setCheck(this._checkSet[S].leafChildren[O].node,this._checkStateToBoolean(I)),B.push(this.getId(this._checkSet[S].leafChildren[O].node));return this._checkSet[S].checkValue=I,L&&P.push({id:S}),{leafChildrenSetIds:B,changeIds:P}}},{key:"_updateCheckedLeafNode",value:function(S,I){if(this._getNodeCheckStateForSet(this._getNodeInfo(S))!==I){var B=this.getParentId(this._getNodeInfo(S));B===null&&(B=E),this.setCheck(this._getNodeInfo(S),this._checkStateToBoolean(I)),this._checkSet[B].checkValue=this._getCheckStatusForLeaves(this._checkSet[B].leafChildren)}}},{key:"_getAncestorIdsForCheckChange",value:function(S){for(var I=[],B=0;B<=S.length-1;B++){if(S[B].ignoreAncestorCalculation){I.push(S[B].id);continue}I.push(S[B].id),I.push.apply(I,m(this.getAncestorIds(S[B].id)))}return I}},{key:"updateChecked",value:function(S,I){var B=S.id,P=this._getIndexById(B);if(P<0)return{changeOccurred:!1,changedIds:[],updateAll:!1};var L=this._updateChecked(S,I),O=this._getAncestorIdsForCheckChange(L),W=!1;O.length>0&&(W=!0);var j=this._updateResults();return{changeOccurred:W,changedIds:W?O:[],updateAll:j}}},{key:"_getNodeInfo",value:function(S){var I=this._getIndexById(S);return this._data[I]}},{key:"_getCheckedNodes",value:function(){var S=this,I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,B=[],P=[];Object.keys(this._checkSet).forEach(function(W){S._checkSet[W].checkValue===S._booleanToCheckState(I)&&P.push(W),S._checkSet[W].checkValue===p&&B.push(W)});var L=this.__traverseUpAndGetAllCheckedIdsForParentIds(P,this._booleanToCheckState(I)),O=[];return O.push.apply(O,m(this.__getCheckedLeafIdsForDirectParentIds(P,this._booleanToCheckState(I)))),O.push.apply(O,m(this.__getCheckedLeafIdsForDirectParentIds(B,this._booleanToCheckState(I)))),O.push.apply(O,m(this.__filterCheckedIds(P,this._booleanToCheckState(I)))),O.push.apply(O,m(L)),O}},{key:"__getCheckedLeafIdsForDirectParentIds",value:function(S,I){for(var B=[],P=0;P<=S.length-1;P++)B.push.apply(B,m(this.__getCheckedLeafIdsForDirectParentId(S[P],I)));return B}},{key:"__getCheckedLeafIdsForDirectParentId",value:function(S,I){for(var B=[],P=this._checkSet[S].checkValue,L=0;L<=this._checkSet[S].leafChildren.length-1;L++){if(P===I){B.push(this._checkSet[S].leafChildren[L].id);continue}this._computeCheckStateOfNode({id:this._checkSet[S].leafChildren[L].id})===I&&B.push(this._checkSet[S].leafChildren[L].id)}return B}},{key:"__traverseUpAndGetAllCheckedIdsForParentIds",value:function(S,I){for(var B=[],P=!0,L=[];P||L.length>0;){P&&(P=!1,L=S);var O=this.__getAncestorIdsForNodeIds(L);L=this.__filterCheckedIds(O,I),B.push.apply(B,m(L))}return B}},{key:"__getAncestorIdsForNodeIds",value:function(S){for(var I=new Set,B=0;B<=S.length-1;B++){var P=void 0;S[B]===E?P=null:P=this.getParentId(this._getNodeInfo(S[B])),P!==null&&I.add(P)}return[].concat(m(I))}},{key:"__filterCheckedIds",value:function(S,I){for(var B=[],P=0;P<=S.length-1;P++)this._computeCheckStateOfNode({id:S[P]})===I&&B.push(S[P]);return B}},{key:"getCheckedNodes",value:function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,I=[],B=[];return I=this._getCheckedNodes(),S&&(B=this._getCheckedNodes(!1)),{checkedNodeIds:I,unCheckedNodeIds:B}}},{key:"_getCheckStatus",value:function(S){var I=this._computeCheckStateOfNode({id:S});return I===v||I===g?this._checkStateToBoolean(I):I}}]),R}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(159)],C=l.dj.d(A,function(h){return function(){function d(n){m(this,d),this._criteria=n}return y(d,[{key:"_isCompositeCriteria",value:function(e){return Boolean(e&&(e.and||e.or))}},{key:"searchNodeForMatches",value:function(e){var t=[];return this._isCompositeCriteria(this._criteria)?t=this._compositeCriteria(e,this._criteria):t=this.searchMatchedNodes(e,[this._criteria],!0),t.length>0&&this._searchCache&&this._setMatchesInCache(e,t),t}},{key:"searchMatchedNodes",value:function(e,t,r){for(var o=[],a=!1,i=0;i<t.length;i++){a=!1;var u=this._isBaseCriteria(t[i]),s=!1;if(u||(s=this._isCompositeCriteria(t[i])),!(!u&&!s)){if(u){var c=this._getCriteriaField(t[i]);if(t[i].value===null&&e[c]===null)a=!0;else if(this._isValidCriteria(e,c,t[i].value)){var f=this._getSearchColumnCriteria(t[i]),p=h.searchColumn(e[c],f);p.length>0&&(o.push({field:t[i].columnIndex!==void 0?t[i].columnIndex:t[i].field,matches:p}),a=!0)}}else if(s){var v=this._compositeCriteria(e,t[i]);v.length>0&&(o=o.concat(v),a=!0)}if(!a&&!r)return[]}}return o}},{key:"_isValidCriteria",value:function(e,t,r){return!(r===null||e[t]===null||!(t in e)||e[t]===void 0)}},{key:"_searchNode",value:function(e,t,r){for(var o=!1,a=this.escapeRegExp(t),i=new RegExp(a,"gi"),u=0,s=[];u=i.exec(r);){var c={};c.start=u.index,c.count=t.length,c.value=t,s.push(c),o=!0}return o?this._createSearchMetadata(s,e):null}},{key:"_compositeCriteria",value:function(e,t){var r=[];return t.and?r=this.searchMatchedNodes(e,t.and,!1):t.or&&(r=this.searchMatchedNodes(e,t.or,!0)),r}},{key:"_setMatchesInCache",value:function(e,t){this._searchCache.set(this._getId(e),t)}},{key:"isNodeAMatch",value:function(e){return this._searchCache.has(this._getId(e))}},{key:"getMatchesFromCache",value:function(e){return this._searchCache.get(this._getId(e))}},{key:"_createSearchMetadata",value:function(e,t){return{field:t,matches:e}}},{key:"getSearchCriteria",value:function(){return this._criteria}},{key:"escapeRegExp",value:function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}]),d}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(65)],C=l.dj.d(A,function(h){return function(){function d(n,e){m(this,d),this._filteredNodesCache=new h,this._filterCriteria=n,this._ancestorIds=[],this._getId=e.getId,this._getParentId=e.getParentId,this._treeRootId=e.treeRootId;var t=!0,r=e.checkedNodeIds(t),o=r.checkedNodeIds,a=r.unCheckedNodeIds;this.checkedNodeIds=o,this.unCheckedNodeIds=a,this._columnMap=e.columnMap}return y(d,[{key:"_checkComposite",value:function(e){return e.and||e.or}},{key:"isFiltered",value:function(e){return this._filteredNodesCache.has(e)}},{key:"clearFilteredNodes",value:function(){this._filteredNodesCache=new h}},{key:"addAncestorsToFilter",value:function(e){e!==this._treeRootId&&(this.isFiltered(e)||this._ancestorIds.push(e))}},{key:"clearFilter",value:function(){this.clearFilteredNodes();var e={};return e.changeOccurred=!0,e.updateAll=!0,e}},{key:"addtoFilterCache",value:function(e){this._filteredNodesCache.set(e,!0)}},{key:"removeNodeFromFilter",value:function(e){this._filteredNodesCache.remove(e)}},{key:"getAncestorIds",value:function(){return this._ancestorIds}},{key:"clearAncestorIds",value:function(){this._ancestorIds=[]}},{key:"getFilterCriteria",value:function(){return this._filterCriteria}},{key:"_filterNode",value:function(e,t,r){for(var o=!0,a=0;a<t.length;a++){var i=this._isValidateCriteria(t[a]);if(!i.invalid){if(i.simple){var u=t[a].value&&t[a].value.toString().toLowerCase(),s=this._extractValueToFilter(e,t[a]);o=this._compareValues(s,u,this._isFilterNeeded(e,t[a],u,s))}else i.complex?o=this._compositeCriteria(e,t[a]):i.checked&&(o=this._checkedCriteria(e,t[a]));if(o===r)return r}}return o}},{key:"_isValidateCriteria",value:function(e){var t=this._isBaseCriteria(e),r=this._isCheckedCriteria(e),o=!1;!t&&!r&&(o=this._checkComposite(e));var a=!t&&!o&&!r;return{simple:t,complex:o,checked:r,invalid:a}}},{key:"_filterCheckedNode",value:function(e){var t=this.checkedNodeIds.includes(this._getId(e));return t}},{key:"_filterUnCheckedNode",value:function(e){var t=this.unCheckedNodeIds.includes(this._getId(e));return t}},{key:"_checkedCriteria",value:function(e,t){var r=!1,o=t.metadata.checked,a=o===!0,i=o===!1;return a?r=this._filterCheckedNode(e):i&&(r=this._filterUnCheckedNode(e)),r}},{key:"_compositeCriteria",value:function(e,t){var r=!1;return t.and?r=this._filterNode(e,t.and,!1):t.or&&(r=this._filterNode(e,t.or,!0)),r}},{key:"isFilterMatch",value:function(e){var t=this._checkComposite(this._filterCriteria),r=!1;return t?r=this._compositeCriteria(e,this._filterCriteria):r=this._filterNode(e,[this._filterCriteria],!1),r&&this.addtoFilterCache(this._getId(e)),r}},{key:"_isFilterNeeded",value:function(e,t,r,o){var a=!0;return a=this._hasFilteringProperty(e,t),r===""&&(a=!1,o===r&&(a=!0)),a}},{key:"_compareValues",value:function(e,t,r){var o=void 0;return e!==null?o=r&&e.toString().toLowerCase().indexOf(t)!==-1:t===null?o=r:o=!1,o||!1}}]),d}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(116),l(472),l(473),l(114)],C=l.dj.d(A,function(h,d,n,e){var t="|RESULT|",r=void 0;Object.assign&&(r=function(i,u){return Object.assign({},i,u)});var o=function(){function a(){m(this,a),this._metaData={},this._metaDataOrder=new d,this._hierarchicalMetaDataOrder=new n,this._dynamicMetaDataOrder=new d,this._hierarchicalDynamicMetaDataOrder=new n,this._clearCache(),this._on=new e}return y(a,[{key:"on",value:function(u,s){return this._on.on(u,s)}},{key:"_clearCache",value:function(){this._cacheRuleResult={},this._cacheRuleResult.cell={},this._cacheRuleResult.row={},this._cacheRuleResult.column={}}},{key:"add",value:function(u,s){if(u.indexOf("|")>0||u.indexOf("*")>0||u.indexOf("$")>0)throw new Error('"|", "*", and "$" are invalid in metadata rule names');this.addBuiltIn(u,s)}},{key:"addBuiltIn",value:function(u,s){if(typeof s._getRangeList!="function"||typeof s.getMetaData!="function")throw new Error("A metaDataRule must be created using 'create' before trying to add it");var c=this._metaData[u],f=[];c&&(f=this._getOrderedRules(c).remove(u));var p=s._getRangeList();this._metaData[u]=s;var v=s.getMetaData();v.cell=v.cell||{},v.row=v.row||{},v.column=v.column||{};var g={name:u,rangeList:p,metaData:v,isDynamic:s.isDynamic,applyMetaDataFunction:s._applyMetaDataFunction,dataSelector:s.dataSelector};this._getOrderedRules(s).add(g),this._clearCache(),this._raiseChangeEvent(f.concat(p))}},{key:"_getOrderedRules",value:function(u){return this._isHierarchicalRule(u)?u.isDynamic?this._hierarchicalDynamicMetaDataOrder:this._hierarchicalMetaDataOrder:u.isDynamic?this._dynamicMetaDataOrder:this._metaDataOrder}},{key:"remove",value:function(u){if(u.indexOf("|")>-1||u.indexOf("*")>-1||u.indexOf("$")>-1)throw new Error('"|", "*", and "$" are invalid in metadata rule names');this.removeBuiltIn(u)}},{key:"removeBuiltIn",value:function(u){var s=this._metaData[u];if(!s)throw new Error("'"+u+"' does not exist");this._clearCache();var c=this._getOrderedRules(s).remove(u);delete this._metaData[u],this._raiseChangeEvent(c)}},{key:"get",value:function(u){var s=this._metaData[u];if(!s)throw new Error("'"+u+"' does not exist");return this._metaData[u]}},{key:"_raiseChangeEvent",value:function(u){this._on.emit("metaDataChanged",{rangeList:u})}},{key:"getCellMetaData",value:function(u){var s={rows:{start:u.rowIndex,end:u.rowIndex,count:1},columns:{start:u.columnIndex,end:u.columnIndex,count:1}};return u.dynamic&&(u.dynamic.columnIndex=u.columnIndex,u.dynamic.rowIndex=u.rowIndex),this._getMetaData(s,"cell",u)}},{key:"getRowMetaData",value:function(u){var s={rows:{start:u.rowIndex,end:u.rowIndex,count:1},columns:{start:0,end:0,count:1}};return u.dynamic&&(u.dynamic.rowIndex=u.rowIndex),this._getMetaData(s,"row",u)}},{key:"getColumnMetaData",value:function(u){var s={rows:{start:0,end:0,count:1},columns:{start:u.columnIndex,end:u.columnIndex,count:1}};return u.dynamic&&(u.dynamic.columnIndex=u.columnIndex),this._getMetaData(s,"column",u)}},{key:"_getMetaData",value:function(u,s,c){var f=this._metaDataOrder.getRulesForRange(u);Array.prototype.push.apply(f,this._hierarchicalMetaDataOrder.getRulesForRange(c)),Array.prototype.push.apply(f,this._dynamicMetaDataOrder.getRulesForRange(u)),Array.prototype.push.apply(f,this._hierarchicalDynamicMetaDataOrder.getRulesForRange(c));var p={},v=this._cacheRuleResult[s],g=void 0,E=void 0,D=void 0,F=void 0,w=void 0;for(w=0;w<f.length&&(F=f[w],E=F.name,g=v[E],!!g);w+=1)p=g[t],v=v[E];for(var x=!0,R=w;R<f.length;R+=1){if(F=f[R],E=F.name,D=F.metaData[s],F.isDynamic&&typeof D=="function"){if(!c.dynamic)continue;D=Object.assign({},D(c.dynamic)),x=!1}p=this._combineMetaData(p,D),x&&(v[E]={},v[E][t]=p,v=v[E])}return p}},{key:"_combineMetaData",value:function(u,s){var c=null;(u.style||s.style)&&(c=r(u.style||{},s.style||{}));var f=r(u,s);return c&&(f.style=c),f}},{key:"_isHierarchicalRule",value:function(u){return u.dataSelector.type==="hierarchy"}}]),a}();return o.create=h.create,o.dataSelectorTypes=h.dataSelectorTypes,o},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";return{POSITION:{FIRST:"first",LAST:"last",NEXT:"next",PREVIOUS:"previous"}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(7),l(159),l(238)],C=l.dj.d(A,function(e,t,r){var o=function(s,c){var f=new Set(s),p=!0,v=!1,g=void 0;try{for(var E=c[Symbol.iterator](),D;!(p=(D=E.next()).done);p=!0){var F=D.value;f.add(F)}}catch(w){v=!0,g=w}finally{try{!p&&E.return&&E.return()}finally{if(v)throw g}}return f},a=function(s){for(var c=[],f=0;f<=s.length-1;f++)c.push(e.range().setColumns(s[f],s[f]).setRows(0,1/0));return c},i=function(u){n(s,u);function s(c,f,p){h(this,s);var v=d(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,c,p));return v._createRuleFn=f,v._type=p.type,v._columnMap=p.columnMap,v}return m(s,[{key:"isCriteriaValid",value:function(){return t.isValid(this._criteria)}},{key:"_getColumnNumbersForCriteria",value:function(){var f=new Set;return this._isBaseCriteria(this._criteria)?f=this._getColNums([this._criteria]):f=this._compositeGetColNums(this._criteria),Array.from(f)}},{key:"_compositeGetColNums",value:function(f){var p=new Set;return f.and?p=this._getColNums(f.and):f.or&&(p=this._getColNums(f.or)),p}},{key:"_isBaseCriteria",value:function(f){return Boolean(f&&"value"in f&&"columnIndex"in f)}},{key:"_getColNums",value:function(f){for(var p=new Set,v=0;v<=f.length-1;v++)if(!(f[v]===void 0||y(f[v])!=="object"||f[v]===null)){if(f[v].and){p=o(p,this._getColNums(f[v].and));continue}if(f[v].or){p=o(p,this._getColNums(f[v].or));continue}f[v].columnIndex!==void 0&&typeof f[v].columnIndex=="number"&&p.add(f[v].columnIndex)}return p}},{key:"_isCompositeCriteria",value:function(f){return Boolean(f&&(f.and||f.or))}},{key:"_getCriteriaField",value:function(f){return this._columnMap?this._columnMap[f.columnIndex]:f.columnIndex}},{key:"_getSearchColumnCriteria",value:function(f){return f}},{key:"metaDataFun",value:function(f){var p=this.searchNodeForMatches(f._row.data),v=t._createCellHighlightInfo(p,f.columnIndex,t.getField(this._criteria));return v}},{key:"createRule",value:function(){var f=a(this._getColumnNumbersForCriteria());return this._createRuleFn({cell:this.metaDataFun.bind(this)},{type:"rangeList",value:f})}}]),s}(r);return i},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(237),l(65),l(481)],C=l.dj.d(A,function(n,e,t){var r=function(o){d(a,o);function a(i,u){m(this,a);var s=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,i,u));return s._isFiltering=!1,s}return y(a,[{key:"clearGrouping",value:function(){this._isGrouping=!1,this._groupRowIdCache=null,this._clearSortSettings(),this._createParentCache(this._data,void 0,!0)}},{key:"_instantiateFilter",value:function(){for(var u=arguments.length,s=Array(u),c=0;c<u;c++)s[c]=arguments[c];return new(Function.prototype.bind.apply(t,[null].concat(s)))}},{key:"_addFilterAncestors",value:function(u){for(;u!==this._treeRootId&&!this._filter.isFiltered(u);){this._filter.addtoFilterCache(u);var s=this.getParentId;this._isGrouping&&(s=this._getParentIdForGrouping);var c=this._treeNodeIdCache.get(u);c?u=s(c):u=s(null,u)}}},{key:"normalizeFilterCriteria",value:function(u){var s={columnIndex:"",value:""};return u&&(u.columnIndex||u.columnIndex===0||u.and||u.or||u.metadata)?u:s}},{key:"runSort",value:function(u,s){return s.keepSorted===!0?(this._sort.configurePersistentSort(u,this._columnMap),this._sort.sort(this._data),this.setSortState(u),this._indexCache._reindex(),this._isGrouping?this._setGrouping():this._createParentCache(this._data,void 0,!0),{changeOccurred:!0,updateAll:!0}):(this._sort.removePersistentSort(),this._data.sort(this._sort.generateCompareFunctionFromList(u)),this.setSortState(u),this._indexCache._reindex(),this._isGrouping?this._setGrouping():this._createParentCache(this._data,void 0,!0),{changeOccurred:!0,updateAll:!0})}},{key:"treeRootId",get:function(){return this._treeRootId}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(114),l(484)],C=l.dj.d(A,function(h,d){"use strict";var n=function(){},e=function(){function t(r){var o=this;m(this,t),this._on=new h,this._dataStore=r,this._data=[],this._pagedRangeList=[],this._pagedData=[],this._listeners=[],this._cellMetaData=[],this._rangeList=[],this._rowMetaData=[],this._columnMetaData=[],this.sort=r.sort?r.sort.bind(r):n,this.updateHeader=r.updateColumnHeader?r.updateColumnHeader.bind(r):void 0,this.setHeaders=r.__setHeaders?r.__setHeaders.bind(r):void 0,this.getHeaders=r.__getHeaders?r.__getHeaders.bind(r):void 0,this.updateRowHeader=r.updateRowHeader?r.updateRowHeader.bind(r):void 0,this.setSpanningHeaders=r.__setSpanningHeaders?r.__setSpanningHeaders.bind(r):void 0,this.getSpanningHeaders=r.__getSpanningHeaders?r.__getSpanningHeaders.bind(r):void 0;var a=r.getLocalColumnSpanningMetaData?r.getLocalColumnSpanningMetaData.bind(r):void 0,i=r.getLocalCellMetaData||function(c){},u=r.getLocalRowMetaData||function(c,f){},s=r.getLocalColumnMetaData||function(c,f){};this._pagedData=new d({getLocalCell:r.getLocalCellData.bind(r)}),this._pagedCellMetaData=new d({getLocalCell:i.bind(r)}),this._pagedRowMetaData=new d({getLocalCell:function(f,p){return u.call(r,f)}}),this._pagedColumnMetaData=new d({getLocalCell:function(f,p){return s.call(r,p)}}),a!==void 0&&(this._pagedColumnSpanningMetaData=new d({getLocalCell:function(f,p){return a(p)}})),this._listeners.push(this._dataStore.on("dataChanged",this._reactToNewData.bind(this)),this._dataStore.on("pagedRowMetaDataChanged",this._reactToNewRowMetaData.bind(this)),this._dataStore.on("pagedColumnMetaDataChanged",this._reactToNewColumnMetaData.bind(this)),this._dataStore.on("dataSizeChanged",function(c){return o._on.emit(c.eventName,c)}))}return y(t,[{key:"managePaging",value:function(o){var a=this._destructureRangesByType(o),i=a.rowRange,u=a.columnRange,s=this._pagedData.managePaging(o),c=s.data,f=this._pagedCellMetaData.managePaging(o),p=f.data,v=this._pagedRowMetaData.managePaging(i),g=v.data,E=this._pagedColumnMetaData.managePaging(u),D=E.data,F=this._pagedColumnSpanningMetaData!==void 0?this._pagedColumnSpanningMetaData.managePaging(u):{data:void 0},w=F.data;this._data=c,this._cellMetaData=p,this._rangeList=o,this._rowMetaData=g,this._columnMetaData=D,this._columnSpanningMetaData=w,this._pagedRangeList=o.slice(),this._dataStore.managePaging(o),this._emitPagedDataChanged()}},{key:"_emitPagedDataChanged",value:function(){this._on.emit("pagedDataChanged",{pagedData:this._data,cellMetaData:this._cellMetaData,rowMetaData:this._rowMetaData,columnMetaData:this._columnMetaData,columnSpanningMetaData:this._columnSpanningMetaData,rangeList:this._rangeList})}},{key:"_reactToNewData",value:function(o){var a=o.rangeList,i=this._pagedData.dataArrived(a),u=i.dataChanged,s=i.data,c=this._pagedCellMetaData.dataArrived(a),f=c.dataChanged,p=c.data;(u||f)&&(this._cellMetaData=p,this._data=s,this._emitPagedDataChanged())}},{key:"_reactToNewRowMetaData",value:function(o){var a=o.rangeList,i=this._pagedRowMetaData.dataArrived(a),u=i.dataChanged,s=i.data;u&&(this._rowMetaData=s,this._emitPagedDataChanged())}},{key:"_reactToNewColumnMetaData",value:function(o){var a=o.rangeList,i=this._pagedColumnMetaData.dataArrived(a),u=i.dataChanged,s=i.data,c=this._pagedColumnSpanningMetaData!==void 0?this._pagedColumnSpanningMetaData.dataArrived(a):{metaDataChanged:void 0,data:void 0},f=c.metaDataChanged,p=c.data;u&&(this._columnMetaData=s,this._emitPagedDataChanged()),f&&(this._columnSpanningMetaData=p,this._emitPagedDataChanged())}},{key:"_destructureRangesByType",value:function(o){return{dataRange:o,rowRange:o.map(function(a){return a.setColumns(0,0)}),columnRange:o.map(function(a){return a.setRows(0,0)})}}},{key:"on",value:function(o,a){var i=this._on.on(o,a);return this._listeners.push(i),i}},{key:"destroy",value:function(){this._listeners.forEach(function(o){return o.remove()}),this._dataStore.destroy(),this._dataStore=null,this._data=null,this._cellMetaData=null,this._rangeList=null,this._rowMetaData=null,this._columnMetaData=null,this._pagedRangeList=null,this._pagedData=null}},{key:"dataSize",get:function(){return this._dataStore.dataSize}}]),t}();return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(491),l(154)],C=l.dj.d(A,function(n,e,t){"use strict";var r=function(o){d(a,o),y(a,[{key:"_getTextField",value:function(){return this._textField}},{key:"_getInputNode",value:function(){return this._textField}}],[{key:"config",value:function(u){return e.config(u,this._createInstance)}},{key:"_createInstance",value:function(u,s){return new a(u,s)}}]);function a(i,u){m(this,a);var s=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return i=i||{},s._config=u,s._oldValue=e._shallowCloneObject(i),s._newValue=e._shallowCloneObject(i),s._constructDom(s._newValue),s}return y(a,[{key:"_constructDom",value:function(u){var s="icon1",c=document.createElement("div");c.className="treeNodeIconEditor";var f=void 0,p=void 0,v=u.iconUri,g=u.iconId;if(g||v){if(f=document.createElement("span"),f.setAttribute("data-test-id",s),f.className="treeNodeIcon",g){var E=t.getIconByIdDom(g);f.appendChild(E)}else f.style.backgroundImage="url('"+encodeURI(v)+"')";c.appendChild(f)}p=this._textField=document.createElement("input"),p.input="text",p.setAttribute("data-editor",!0),p.spellcheck=!1,p.value=u.label,p.size=u.label.length||1,p.tabIndex=0,p.className="mwTreeTextEditor",c.appendChild(p),this._domNode=c,e.decorateEditor(this)}},{key:"_configureListeners",value:function(u){var s=this;u.forEach(function(c){s._getInputNode().addEventListener(c.event,c.handler)}),this._eventsHandlers=u}},{key:"_emitEditCompleteEvent",value:function(u,s){this.emit("editComplete",{newValue:u,oldValue:s,hasValueChanged:s.label!==u.label})}},{key:"_emitEditCanceledEvent",value:function(u,s){this.emit("editCanceled",{newValue:u,oldValue:s})}},{key:"_handleTextChange",value:function(u){}},{key:"_validateAndCompleteEdit",value:function(){this._newValue.label=this._textField.value.trim(),this._newValue.label||this._config&&this._config.acceptEmptyLabel?this._emitEditCompleteEvent(this._newValue,this._oldValue):this._emitEditCanceledEvent(this._newValue,this._oldValue)}},{key:"setFocus",value:function(){this._textField.focus(),this._textField.setSelectionRange(this._textField.value.length,this._textField.value.length)}},{key:"getDomNode",value:function(u){return this._domNode}},{key:"commitValue",value:function(){this._validateAndCompleteEdit()}},{key:"destroy",value:function(){var u=this;this._textField&&(this._eventsHandlers.forEach(function(s){u._getInputNode().removeEventListener(s.event,s.handler)}),delete this._textField),delete this._domNode}},{key:"value",get:function(){return this._newValue.label=this._textField.value,this._newValue},set:function(u){this._textField.value=u.label}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(47),l(507),l(247)],C=l.dj.d(A,function(y,m,h){return{HYPERLINK_ESCAPE_REGEXP:/<a\s+href\s*=\s*"[^"]*"[^>]*>[\s\S]*?<\/a>/g,HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP:/<a\s+href\s*=\s*"([^"]*)"([^>]*)>([\s\S]*?)<\/a>/g,STRONG_ESCAPE_REGEXP:/<strong>|<\/strong>/g,BOLD_LINK_ATTRIBUTE_REGEX:/\bstyle\s*=\s*"[^"]*\bfont-weight\s*:\s*bold\b[^"]*"/,parseQueryString:function(){var n=window.location.search.substr(1,window.location.search.length);return this._parseQueryString(n)},_parseQueryString:function(n){return y.queryToObject(n)},parseUrl:function(n){var e=document.createElement("a");e.display="none",e.href=n||window.location.href,e.href=e.href;var t={protocol:e.protocol,hostname:e.hostname,port:e.port,pathname:e.pathname,search:e.search,hash:e.hash};return(t.protocol==="https:"||t.protocol==="http:")&&t.pathname.indexOf("/")!==0&&(t.pathname="/"+t.pathname),t.protocol==="https:"&&t.port==="443"&&n.indexOf("https://"+t.hostname+":443")!==0&&(t.port=""),t},escapeHtml:function(n){var e=document.createElement("div");e.textContent=n;var t=e.innerHTML;return t},escapeLinksAndHtml:function(n,e){h.deprecated({deprecated:{module:"mw-html-utils/HtmlUtils",method:"escapeLinksAndHtml"},replacement:{module:"mw-html-utils/HtmlUtils",method:"treatHtmlLikeCommandWindow"}});var t="",r=n.split(this.HYPERLINK_ESCAPE_REGEXP),o=n.match(this.HYPERLINK_ESCAPE_REGEXP),a="",i=this,u=0,s=function(f,p,v,g){var E=i.parseUrl(p).protocol;E!=="http:"&&E!=="https:"&&E!=="matlab:"&&(p="#"),p=i.escapeHtml(p),g=i._strongNotEscaped(g,!0),a='<a href="'+p+'">'+g+"</a>"};if(e)t=this.escapeHtml(n),t=this.escapeWhitespace(t);else if(r[0]!==""&&(t=this._strongNotEscaped(r[0],!0)),o!==null&&o.length!==0)for(u=0;u<o.length;u=u+1)o[u].replace(this.HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP,s),r[u+1]!==""&&(r[u+1]=this._strongNotEscaped(r[u+1],!0)),t+=a+r[u+1];return t},treatHtmlLikeCommandWindow:function(n,e,t){if(typeof n!="string")return"";var r="",o=n.split(this.HYPERLINK_ESCAPE_REGEXP),a=n.match(this.HYPERLINK_ESCAPE_REGEXP),i="",u=this,s=0;t=t||{};var c=function(p,v,g,E){var D=u.parseUrl(v).protocol,F="";D!=="http:"&&D!=="https:"&&D!=="matlab:"&&(v="#"),v=u.escapeHtml(v),E=u._strongNotEscaped(E,!1),u.BOLD_LINK_ATTRIBUTE_REGEX.test(g)&&(F=' style="font-weight:bold"'),i='<a href="'+v+'"'+F+">"+E+"</a>"};if(e)r=this.escapeHtml(n);else if(o[0]!==""&&(r=this._strongNotEscaped(o[0],!1)),a!==null&&a.length!==0)for(s=0;s<a.length;s=s+1)a[s].replace(this.HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP,c),o[s+1]!==""&&(o[s+1]=this._strongNotEscaped(o[s+1],!1)),r+=i+o[s+1];return t.addPreTagToPreserveWhiteSpace&&(r='<span style="white-space: pre">'+r+"</span>"),r},_strongNotEscaped:function(n,e){var t="",r=n.match(this.STRONG_ESCAPE_REGEXP),o=n.split(this.STRONG_ESCAPE_REGEXP),a=function(s){return s};e&&(a=this.escapeWhitespace);var i=0;if(r!==null&&r.length!==0)for(t=a(this.escapeHtml(o[0])),i=0;i<r.length;i=i+1)t+=r[i]+a(this.escapeHtml(o[i+1]));else t=a(this.escapeHtml(n));return t},escapeWhitespace:function(n){return h.deprecated({deprecated:{module:"mw-html-utils/HtmlUtils",method:"escapeWhitespace"},replacement:{module:"Plain HTML",method:'Set class as white-space: pre or use <span style="white-space: pre">...</span>'}}),n=n||"",n.replace(/\n/g,"<br>").replace(/ {2}/g," ")},handleAnchors:function(n,e){if(e&&e.target&&e.target.href){e.preventDefault(),e.stopPropagation();var t=e.target.href;if(t.indexOf("matlab:")!==-1){var r=t.substring(0,7);if(r==="matlab:"){var o=e.target.href.substring(7);n(window.decodeURIComponent(o))}}else window.open(e.target.href)}},isElementOverflown:function(n){return n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth},sanitizeHtmlFromJava:m.sanitizeHtmlFromJava,sanitizeHtml:m.sanitizeHtml}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(26),l(13)],C=l.dj.d(A,function(y,m){var h={deprecated:function(d){var n,e,t=!!y.isDebug||!!window.showDeprecationsAsErrors;t&&this._isConfigValid(d)&&(e=!!window.showDeprecationsAsErrors||d.deprecationLevel===this.ERROR?this.ERROR:this.WARN,n="DEPRECATED: ",d.deprecated&&(n+=d.deprecated.module,d.deprecated.method&&(n+="."+d.deprecated.method+"()"),n+="."),d.replacement&&(n+=" Use "+d.replacement.module,d.replacement.method&&(n+="."+d.replacement.method+"()"),n+=" instead."),d.removalVersion&&(n+=" Will be removed in version: "+d.removalVersion+"."),d.geckNumber&&(n+=" Please use g"+d.geckNumber+" to track latest information regarding this deprecation"),d.additionalInformation&&(n+=" "+d.additionalInformation),m[e](n))},_isConfigValid:function(d){var n=!!d.deprecated&&typeof d.deprecated=="object"&&d.deprecated.hasOwnProperty("module");return d.replacement&&(n=n&&typeof d.replacement=="object"&&d.replacement.hasOwnProperty("module")),d.geckNumber&&(n=n&&typeof d.geckNumber=="number"),n||m.error("Supplied deprecationConfig properties are not valid. Please refer to http://inside.mathworks.com/wiki/Web_Widgets_Deprecation_API for right API"),n}};return Object.defineProperties(h,{WARN:{value:"warn",enumerable:!0},ERROR:{value:"error",enumerable:!0}}),h},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(10),l(12),l(514)],C=l.dj.d(A,function(y,m,h,d){let n=null,e=null,t=null,r=null,o=null;const a=null,i=null;return function(I){return n=I,e=window.dataJson,t=h({model:window.modelInfo.model,loadFromMATLAB:!1,tokenLevelTrace:!1,lineLevelTrace:!window.hasWebview}),t.loadData(e),r=y.create("iframe",{id:"contentFrame",style:"visibility: visible"},n),r.addEventListener("load",function(B){E(),D()}),o=y.create("div",{id:"codeView",style:"visibility: hidden"},n),t.placeAt(o),{crObj:t,loadLocalPage:u,showCode:v,getLocalPageLinkIndex:f,getCodeFileName:p,isShowingCode:w,loadWebview:s,hideWebviewFrame:c,traceToWebviewReport:x,traceToWebviewCodeviewSingle:R,traceToWebviewCodeviewMultiple:T,revealCodeView:g,revealContentView:E,lineNum:a,funcName:i,updateCodeLocLinks:F}};function u(I,B){r.src=I+"?currentDate="+Date.now(),r["data-index"]=B,o.style.visibility="hidden",r.style.visibility="visible"}function s(I){const B=document.getElementById("rtw_webview");B.src=I+"?currentDate="+Date.now(),B.style.display="initial"}function c(){const I=document.getElementById("webviewArea"),B=document.getElementById("contentArea"),P=document.getElementById("contentArea_splitter");P.style.display="none",I.style.height="0%",I.style.display="none",B.style.height="100%",B.setAttribute("data-dojo-props","region: 'top', splitter: 'false'")}function f(){if(r.style.visibility==="visible")return r["data-index"]}function p(){if(o.style.visibility==="visible")return t.data.currentFile}function v(I,B,P){if(t.data===null&&t.loadData(e),g(),I==="file")t.show(B,1,!1);else if(I==="line")this.lineNum=P,t.show(B,P,!0);else if(I==="func"){this.funcName=B;const O=t.data.define.get(B);if(O!==void 0){const W=O.file;}t.jumpToDef(B)}else I==="coord"&&t.showLocation(B,P)}function g(){r.style.visibility="hidden",o.style.visibility="visible"}function E(){o.style.visibility="hidden",r.style.visibility="visible",D()}function D(){window.frameElement.contentWindow.postMessage({message:"reportPageLoaded",url:r.contentWindow.location.href},"*")}function F(I){}function w(){return r.style.visibility==="hidden"}function x(I,B){const P=I+":"+B;S(P)}function R(I){S(I)}function T(I,B){window.rtwHiliteMultiple(I,B)}function S(I){window.rtwHilite(I)}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(146),l(147),l(516),l(165),l(166),l(518)],C=l.dj.d(A,function(y,m,h,d,n,e){"use strict";const t="mw-progress-indicator",r="var(--mw-backgroundColor-info, #0095ff)";class o extends m{static get properties(){return{value:{type:Number,reflect:!0},size:{type:String,reflect:!0},type:{type:String,reflect:!0},color:{type:String,reflect:!0},border:{type:String,reflect:!0}}}constructor(){super();this.baseClass=t,this.strokeDash=0,this.strokeGap=0,this.customSize=void 0,this.currentProgress=0,this._view=null,this.strokeClass="mw-stroke-default-color",this._value=null}set type(i){const u=this.type;e.validate(i,"type"),i=i.toLowerCase(),this._type=i,this.requestUpdate("type",u)}get type(){return this._type}set size(i){if(typeof i=="object"&&i!==null){e.validate(i.customSize,"customSize");const u={width:i.customSize+"px",height:i.customSize+"px"};e.addStyles(this,u),this.customSize=i.customSize,this.removeAttribute("size")}else i!==null&&(e.validate(i,"size"),i=i.toLowerCase(),e.removeStyles(this,["width","height"]),this.customSize=void 0,this.setAttribute("size",i));this._view&&(this._view.update(this),this.requestUpdate())}get size(){return this.getAttribute("size")}set border(i){const u=this.border;e.validate(i,"border"),this._border=i,this._view&&(this._view.update(this),this.requestUpdate("border",u))}get border(){return this._border}set value(i){const u=this.value;e.validate(i,"value"),this.setAttribute("aria-valuenow",i),this._value=i,this._view&&(this._view.update(this),this.requestUpdate("value",u))}get value(){let i=this._value;return i===null?null:parseFloat(i)}set color(i){const u=this.color;e.validate(i,"color"),this.strokeClass="mw-stroke-custom-color",this._color=i,this.requestUpdate("color",u),this._view&&(this._view.update(this),this.requestUpdate())}get color(){let i=this._color;return e._isHexaColor(i)?i:r}render(){return this.type=this.type?this.type:n.SPINNER,this.size=this.size?this.size:this.customSize?{customSize:this.customSize}:d.SMALL,this._view=h.createView.call(this),this.currentProgress=this._view.getProgress(),this._view.getView()}shouldUpdate(){return!0}firstUpdated(){const i={role:"progressbar",tabindex:0};this.value===null?(this.setAttribute("indeterminate",""),this.requestUpdate()):this.removeAttribute("indeterminate"),e.addAttributes(this,i),this._view.update(this)}}return y({name:"mw-progress-indicator",widgetClass:o})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";const y={};class m{static getViewInstance(){return!!(this.type&&y[this.type]&&y[this.type].call&&y[this.type].apply)?new y[this.type](this):null}static setView(d,n){d&&n&&(y[d]=n)}}return m},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";class y{getView(){}getProgress(){}update(h,d){}}return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(253),l(530),l(1),l(0),l(40),l(12),l(4),l(254),l(77)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){return h([y,m],{minRowsPerPage:25,maxRowsPerPage:250,maxEmptySpace:1/0,bufferRows:10,farOffRemoval:2e3,queryRowsOverlap:0,pagingMethod:"debounce",pagingDelay:r.defaultDelay,keepScrollPosition:!1,rowHeight:22,postCreate:function(){this.inherited(arguments);var a=this;t(this.bodyNode,"scroll",r[this.pagingMethod](function(i){a._processScroll(i)},null,this.pagingDelay))},renderQuery:function(a,i){var u=this,s=i&&i.container||this.contentNode,c={query:a,count:0,options:i},f,p=this.preload,v,g={node:o(s,"div.dgrid-preload",{rowIndex:0}),count:0,query:a,next:c,options:i};g.node.style.height="0",c.node=f=o(s,"div.dgrid-preload"),c.previous=g,f.rowIndex=this.minRowsPerPage,p?((c.next=p.next)&&f.offsetTop>=p.node.offsetTop?c.previous=p:(c.next=p,c.previous=p.previous),c.previous.next=c,c.next.previous=c):this.preload=c;var E=o(f,"-div.dgrid-loading"),D=o(E,"div.dgrid-below");D.innerHTML=this.loadingMessage;function F(w){if(o(E,"!"),w)throw u._refreshDeferred&&(u._refreshDeferred.reject(w),delete u._refreshDeferred),w}if(i=d.mixin(this.get("queryOptions"),i,{start:0,count:this.minRowsPerPage},"level"in a?{queryLevel:a.level}:null),this._trackError(function(){return v=a(i)}),typeof v=="undefined"){F();return}return n.when(u.renderArray(v,f,i),function(w){var x=typeof v.total=="undefined"?v.length:v.total;return n.when(x,function(R){var T=w.length,S=f.parentNode,I=u.noDataNode;o(E,"!"),"queryLevel"in i||(u._total=R),R===0&&(I&&(o(I,"!"),delete u.noDataNode),u.noDataNode=I=o("div.dgrid-no-data"),S.insertBefore(I,u._getFirstRowSibling(S)),I.innerHTML=u.noDataMessage);for(var B=0,P=0;P<T;P++)B+=u._calcRowHeight(w[P]);return T&&B&&(u.rowHeight=B/T),R-=T,c.count=R,f.rowIndex=T,R?f.style.height=Math.min(R*u.rowHeight,u.maxEmptySpace)+"px":(f.style.display="none",i.count++),u._previousScrollPosition&&(u.scrollTo(u._previousScrollPosition),delete u._previousScrollPosition),u._processScroll(),u._refreshDeferred&&(u._refreshDeferred.resolve(v),delete u._refreshDeferred),w},F)},F),v},refresh:function(a){var i=this,u=a&&a.keepScrollPosition,s,c;if(typeof u=="undefined"&&(u=this.keepScrollPosition),u&&(this._previousScrollPosition=this.getScrollPosition()),this.inherited(arguments),this.store)return s=this._refreshDeferred=new n,c=i.renderQuery(function(f){return i.store.query(i.query,f)}),typeof c=="undefined"&&s.reject(),s.then(function(f){return setTimeout(function(){t.emit(i.domNode,"dgrid-refresh-complete",{bubbles:!0,cancelable:!1,grid:i,results:f})},0),delete i._refreshDeferred,f},function(f){throw delete i._refreshDeferred,f})},resize:function(){this.inherited(arguments),this._processScroll()},_getFirstRowSibling:function(a){return a.lastChild},_calcRowHeight:function(a){var i=a.nextSibling;return i&&!/\bdgrid-preload\b/.test(i.className)?i.offsetTop-a.offsetTop:a.offsetHeight},lastScrollTop:0,_processScroll:function(a){var i=this,u=i.bodyNode,s=a&&a.scrollTop||this.getScrollPosition().y,c=u.offsetHeight+s,f,p,v=i.preload,g=i.lastScrollTop,E=i.bufferRows*i.rowHeight,D=E-i.rowHeight,F,w,x,R=!0,T=1;i.lastScrollTop=s;function S(q,ee,re,he){var me=i.farOffRemoval,se=q.node;if(ee>2*me){for(var te,oe=se[re],ue=0,ce=0,ve=[];te=oe;){var Se=i._calcRowHeight(te);if(ue+Se+me>ee||oe.className.indexOf("dgrid-row")<0&&oe.className.indexOf("dgrid-loading")<0)break;var oe=te[re];ue+=Se,ce+=te.count||1,i.removeRow(te,!0),ve.push(te)}q.count+=ce,he?(se.rowIndex-=ce,I(q)):se.style.height=se.offsetHeight+ue+"px";var Be=o("div",ve);setTimeout(function(){o(Be,"!")},1)}}function I(q,ee){q.node.style.height=Math.min(q.count*i.rowHeight,ee?1/0:i.maxEmptySpace)+"px"}function B(q,ee){do q=ee?q.next:q.previous;while(q&&!q.node.offsetWidth);return q}for(;v&&!v.node.offsetWidth;)v=v.previous;for(;v&&v!=f;){f=i.preload,i.preload=v,p=v.node;var P=p.offsetTop,L;if(c+T+D<P)v=B(v,R=!1);else if(s-T-D>P+(L=p.offsetHeight))v=B(v,R=!0);else{var O=((p.rowIndex?s-E:c)-P)/i.rowHeight,W=(c-s+2*E)/i.rowHeight,j=Math.max(Math.min((s-g)*i.rowHeight,i.maxRowsPerPage/2),i.maxRowsPerPage/-2);if(W+=Math.min(Math.abs(j),10),p.rowIndex==0&&(O-=W),O=Math.max(O,0),O<10&&O>0&&W+O<i.maxRowsPerPage&&(W+=Math.max(0,O),O=0),W=Math.min(Math.max(W,i.minRowsPerPage),i.maxRowsPerPage,v.count),W==0){v=B(v,R);continue}W=Math.ceil(W),O=Math.min(Math.floor(O),v.count-W);var K=d.mixin(i.get("queryOptions"),v.options);v.count-=W;var H=p,V,$=i.queryRowsOverlap,G=(p.rowIndex>0||p.offsetTop>s)&&v;if(G){var Q=v.previous;Q&&(S(Q,s-(Q.node.offsetTop+Q.node.offsetHeight),"nextSibling"),O>0&&Q.node==p.previousSibling?(O=Math.min(v.count,O),v.previous.count+=O,I(v.previous,!0),p.rowIndex+=O,$=0):W+=O,v.count-=O),K.start=p.rowIndex-$,K.count=Math.min(W+$,i.maxRowsPerPage),p.rowIndex=K.start+K.count}else{if(v.next){S(v.next,v.next.node.offsetTop-c,"previousSibling",!0);var H=p.nextSibling;H==v.next.node?(v.next.count+=v.count-O,v.next.node.rowIndex=O+W,I(v.next),v.count=O,$=0):V=!0}K.start=v.count,K.count=Math.min(W+$,i.maxRowsPerPage)}if(V&&H&&H.offsetWidth&&(V=H.offsetTop),I(v),"level"in v.query&&(K.queryLevel=v.query.level),!("queryLevel"in K)&&(K.start>i._total||K.count<0))continue;var J=o(H,"-div.dgrid-loading[style=height:"+W*i.rowHeight+"px]"),Y=o(J,"div.dgrid-"+(G?"below":"above"));Y.innerHTML=i.loadingMessage,J.count=W;var X=v.query(K),Z=i._trackError(function(){return X});if(Z===void 0){o(J,"!");return}(function(q,ee,re,he){x=n.when(i.renderArray(he,q,K),function(me){if(w=he,H=q.nextSibling,o(q,"!"),re&&H&&H.offsetWidth){var se=i.getScrollPosition();i.scrollTo({x:se.x,y:se.y+H.offsetTop-re,preserveMomentum:!0})}return n.when(he.total||he.length,function(te){"queryLevel"in K||(i._total=te),ee&&(ee.count=te-ee.node.rowIndex,ee.count===0&&K.count++,I(ee))}),i._processScroll(),me},function(me){throw o(q,"!"),me})}).call(this,J,G,V,X),v=v.previous}}x&&(F=this._refreshDeferred)&&(delete this._refreshDeferred,n.when(x,function(){F.resolve(w)}))},removeRow:function(a,i){function u(w,x){return w!=null?w:x}if(a){var s=a.previousSibling,c=a.nextSibling,f=s&&u(s.observerIndex,s.previousObserverIndex),p=c&&u(c.observerIndex,c.nextObserverIndex),v=a.observerIndex;if(a.observerIndex=void 0,i&&(a.nextObserverIndex=p,a.previousObserverIndex=f),this.cleanEmptyObservers&&v>-1&&v!==f&&v!==p){var g=this.observers,E=g[v];if(E){if(!i){for(var D=E.rows,F=0;F<D.length;F++)if(D[F]!=a&&e.isDescendant(D[F],this.domNode))return this.inherited(arguments)}E.cancel(),this._numObservers--,g[v]=0}}}this.inherited(arguments)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(1),l(12),l(4),l(8),l(254),l(521),l(525),l(77),l(86),l(526)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){r("mozilla","opera","webkit","ie","ie-6","ie-6-7","quirks","no-quirks","touch");var a="dgrid-row-odd",i="dgrid-row-even",u,s;function c(T){return document.getElementById(T)}function f(T){T.className="",document.body.removeChild(T)}function p(T,S){o(document.body,T,".dgrid-scrollbar-measure");var I=T["offset"+S]-T["client"+S];return f(T),I}n.add("dom-scrollbar-width",function(T,S,I){return p(I,"Width")}),n.add("dom-scrollbar-height",function(T,S,I){return p(I,"Height")}),n.add("dom-rtl-scrollbar-left",function(T,S,I){var B=o("div"),P;return o(document.body,I,".dgrid-scrollbar-measure[dir=rtl]"),o(I,B),P=!!n("ie")||!!n("trident")||B.offsetLeft>=n("dom-scrollbar-width"),f(I),o(B,"!"),I.removeAttribute("dir"),P});var v=0;function g(){return"dgrid_"+v++}var E=/ +/g;function D(T){var S=T?"."+T.replace(E,"."):"";this._class&&(S="!"+this._class.replace(E,"!")+S),o(this.domNode,S),this._class=T}function F(){return this._class}var w=n("ie")<7&&!n("quirks")?function(){var T,S,I,B;!this._started||(T=document.documentElement,S=T.clientWidth,I=T.clientHeight,B=this._prevWinDims||[],(B[0]!==S||B[1]!==I)&&(this.resize(),this._prevWinDims=[S,I]))}:function(){this._started&&this.resize()};function x(){return{x:this.bodyNode.scrollLeft,y:this.bodyNode.scrollTop}}function R(T){typeof T.x!="undefined"&&(this.bodyNode.scrollLeft=T.x),typeof T.y!="undefined"&&(this.bodyNode.scrollTop=T.y)}return m(n("touch")?t:null,{tabableHeader:!1,showHeader:!1,showFooter:!1,maintainOddEven:!0,cleanAddedRules:!0,useTouchScroll:null,addUiClasses:!0,cleanEmptyObservers:!0,highlightDuration:250,postscript:function(T,S){var I=this;(this._Row=function(B,P,L){this.id=B,this.data=P,this.element=L}).prototype.remove=function(){I.removeRow(this.element)},S&&(this.srcNodeRef=S=S.nodeType?S:c(S)),this.create(T,S)},listType:"list",create:function(T,S){var I=this.domNode=S||o("div"),B;T?(this.params=T,m.safeMixin(this,T),B=T.class||T.className||I.className,this._sort=T.sort||[],delete this.sort):this._sort=[],this.observers=[],this._numObservers=0,this._listeners=[],this._rowIdToObject={},this.postMixInProperties&&this.postMixInProperties(),this.id=I.id=I.id||this.id||g(),this.useTouchScroll===null&&(this.useTouchScroll=!n("dom-scrollbar-width")),this.buildRendering(),B&&D.call(this,B),this.postCreate(),delete this.srcNodeRef,this.domNode.offsetHeight&&this.startup()},buildRendering:function(){var T=this.domNode,S=this.addUiClasses,I=this,B,P,L,O,W;W=this.isRTL=(document.body.dir||document.documentElement.dir||document.body.style.direction).toLowerCase()=="rtl",T.className="",o(T,"[role=grid].dgrid.dgrid-"+this.listType+(S?".ui-widget":"")),B=this.headerNode=o(T,"div.dgrid-header.dgrid-header-row"+(S?".ui-widget-header":"")+(this.showHeader?"":".dgrid-header-hidden")),(n("quirks")||n("ie")<8)&&(P=o(T,"div.dgrid-spacer")),L=this.bodyNode=o(T,"div.dgrid-scroller"),n("ff")&&(L.tabIndex=-1),this.headerScrollNode=o(T,"div.dgrid-header.dgrid-header-scroll.dgrid-scrollbar-width"+(S?".ui-widget-header":"")),O=this.footerNode=o("div.dgrid-footer"+(this.showFooter?"":".dgrid-footer-hidden")),o(T,O),W&&(T.className+=" dgrid-rtl"+(n("dom-rtl-scrollbar-left")?" dgrid-rtl-swap":"")),d(L,"scroll",function(j){I.showHeader&&(B.scrollLeft=j.scrollLeft||L.scrollLeft),j.stopPropagation(),d.emit(T,"scroll",{scrollTarget:L})}),this.configStructure(),this.renderHeader(),this.contentNode=this.touchNode=o(this.bodyNode,"div.dgrid-content"+(S?".ui-widget-content":"")),this._listeners.push(this._resizeHandle=d(window,"resize",e.throttleDelayed(w,this)))},postCreate:n("touch")?function(){this.useTouchScroll&&this.inherited(arguments)}:function(){},startup:function(){this._started||(this.inherited(arguments),this._started=!0,this.resize(),this.set("sort",this._sort))},configStructure:function(){},resize:function(){var T=this.bodyNode,S=this.headerNode,I=this.footerNode,B=S.offsetHeight,P=this.showFooter?I.offsetHeight:0,L=n("quirks")||n("ie")<7;this.headerScrollNode.style.height=T.style.marginTop=B+"px",T.style.marginBottom=P+"px",L&&(T.style.height="",T.style.height=Math.max(this.domNode.offsetHeight-B-P,0)+"px",P&&(I.style.bottom="1px",setTimeout(function(){I.style.bottom=""},0))),u||(u=n("dom-scrollbar-width"),s=n("dom-scrollbar-height"),n("ie")&&(u++,s++),e.addCssRule(".dgrid-scrollbar-width","width: "+u+"px"),e.addCssRule(".dgrid-scrollbar-height","height: "+s+"px"),u!=17&&!L&&(e.addCssRule(".dgrid-header-row","right: "+u+"px"),e.addCssRule(".dgrid-rtl-swap .dgrid-header-row","left: "+u+"px"))),L&&(S.style.width=T.clientWidth+"px",setTimeout(function(){S.scrollLeft=T.scrollLeft},0))},addCssRule:function(T,S){var I=e.addCssRule(T,S);return this.cleanAddedRules&&this._listeners.push(I),I},on:function(T,S){var I=d(this.domNode,T,S);return n("dom-addeventlistener")||this._listeners.push(I),I},cleanup:function(){var T=this.observers,S;for(S in this._rowIdToObject)if(this._rowIdToObject[S]!=this.columns){var I=c(S);I&&this.removeRow(I,!0)}for(S=0;S<T.length;S++){var B=T[S];B&&B.cancel()}this.observers=[],this._numObservers=0,this.preload=null},destroy:function(){if(this._listeners){for(var T=this._listeners.length;T--;)this._listeners[T].remove();delete this._listeners}this._started=!1,this.cleanup(),o(this.domNode,"!"),this.useTouchScroll&&this.inherited(arguments)},refresh:function(){this.cleanup(),this._rowIdToObject={},this._autoId=0,this.contentNode.innerHTML="",this.scrollTo({x:0,y:0})},newRow:function(T,S,I,B,P){if(S){var L=this.insertRow(T,S,I,B,P);return o(L,".dgrid-highlight"+(this.addUiClasses?".ui-state-highlight":"")),setTimeout(function(){o(L,"!dgrid-highlight!ui-state-highlight")},this.highlightDuration),L}},adjustRowIndices:function(T){var S=T,I=S.rowIndex;if(I>-1)do S.rowIndex>-1&&(this.maintainOddEven&&(S.className+" ").indexOf("dgrid-row ")>-1&&o(S,"."+(I%2==1?a:i)+"!"+(I%2==0?a:i)),S.rowIndex=I++);while((S=S.nextSibling)&&S.rowIndex!=I)},renderArray:function(T,S,I){I=I||{};var B=this,P=I.start||0,L=this.observers,O,W,j;if(S||(this._lastCollection=T),T.observe){B._numObservers++;var K=T.observe(function(ee,re,he){var me,se,te,oe;function ue(){te=(te.connected||te).nextSibling}if(re>-1&&O[re]&&(me=O.splice(re,1)[0],me.parentNode==W&&(se=me.nextSibling,se&&re!=he&&se.rowIndex--,B.removeRow(me)),I.count--,B._processScroll&&B._processScroll()),he>-1){if(O.length?he===0?(te=O[he],te=te&&G(te)):(te=O[he-1],te&&(te=G(te),ue())):te=B._getFirstRowSibling&&B._getFirstRowSibling(W),me&&te&&me.id===te.id&&ue(),te&&!te.parentNode&&(te=c(te.id)),oe=S&&S.parentNode||te&&te.parentNode||B.contentNode,me=B.newRow(ee,oe,te,I.start+he,I),me&&(me.observerIndex=j,O.splice(he,0,me),!se||he<re)){var ce=me.previousSibling;se=!ce||ce.rowIndex+1==me.rowIndex||me.rowIndex==0?me:ce}I.count++}re===0?$(1,1):re===T.length-(he===-1?0:1)&&$(0,0),re!=he&&se&&B.adjustRowIndices(se),B._onNotification(O,ee,re,he)},!0);j=L.push(K)-1}var H=document.createDocumentFragment(),V;function $(){var ee=arguments;if(j>-1)for(var re=0;re<ee.length;re++){var he=ee[re],me=O[he?0:O.length-1];if(me=me&&G(me),me){var se=me[he?"previousSibling":"nextSibling"];if(se&&(se=B.row(se)),se&&se.element!=me){var te=he?"unshift":"push";T[te](se.data),O[te](se.element),I.count++}}}}function G(ee){return!h.isDescendant(ee,B.domNode)&&c(ee.id)?B.row(ee.id.slice(B.id.length+5)).element:ee}function Q(ee){return V=B.insertRow(ee,H,null,P++,I),V.observerIndex=j,V}function J(ee){if(typeof j!="undefined"&&(L[j].cancel(),L[j]=0,B._numObservers--),ee)throw ee}var Y;function X(ee){Y=ee.slice(0),W=S?S.parentNode:B.contentNode,W&&W.parentNode&&(W!==B.contentNode||ee.length)?(W.insertBefore(H,S||null),V=ee[ee.length-1],V&&B.adjustRowIndices(V)):L[j]&&B.cleanEmptyObservers&&J(),O=ee,K&&(K.rows=O)}if(T.map){if(O=T.map(Q,console.error),O.then)return T.then(function(ee){return T=ee,O.then(function(re){return X(re),$(1,1,0,0),Y})})}else{O=[];for(var Z=0,q=T.length;Z<q;Z++)O[Z]=Q(T[Z])}return X(O),$(1,1,0,0),Y},_onNotification:function(T,S,I,B){},renderHeader:function(){},_autoId:0,insertRow:function(T,S,I,B,P){var L=P.parentId,O=this.id+"-row-"+(L?L+"-":"")+(this.store&&this.store.getIdentity?this.store.getIdentity(T):this._autoId++),W=c(O),j=W&&W.previousSibling;return W&&(W===I&&(I=(I.connected||I).nextSibling),this.removeRow(W)),W=this.renderRow(T,P),W.className=(W.className||"")+" dgrid-row "+(B%2==1?a:i)+(this.addUiClasses?" ui-state-default":""),this._rowIdToObject[W.id=O]=T,S.insertBefore(W,I||null),j&&this.adjustRowIndices(j),W.rowIndex=B,W},renderRow:function(T,S){return o("div",""+T)},removeRow:function(T,S){T=T.element||T,delete this._rowIdToObject[T.id],S||o(T,"!")},row:function(T){var S;if(T instanceof this._Row)return T;if(T.target&&T.target.nodeType&&(T=T.target),T.nodeType){var I;do{var B=T.id;if(I=this._rowIdToObject[B])return new this._Row(B.substring(this.id.length+5),I,T);T=T.parentNode}while(T&&T!=this.domNode);return}return typeof T=="object"?S=this.store.getIdentity(T):(S=T,T=this._rowIdToObject[this.id+"-row-"+S]),new this._Row(S,T,c(this.id+"-row-"+S))},cell:function(T){return{row:this.row(T)}},_move:function(T,S,I,B){var P,L,O;O=L=T.element,S=S||1;do if(P=L[S<0?"previousSibling":"nextSibling"])do if(L=P,L&&(L.className+" ").indexOf(I+" ")>-1){O=L,S+=S<0?1:-1;break}while(P=(!B||!L.hidden)&&L[S<0?"lastChild":"firstChild"]);else if(L=L.parentNode,!L||L===this.bodyNode||L===this.headerNode)break;while(S);return O},up:function(T,S,I){return T.element||(T=this.row(T)),this.row(this._move(T,-(S||1),"dgrid-row",I))},down:function(T,S,I){return T.element||(T=this.row(T)),this.row(this._move(T,S||1,"dgrid-row",I))},scrollTo:n("touch")?function(T){return this.useTouchScroll?this.inherited(arguments):R.call(this,T)}:R,getScrollPosition:n("touch")?function(){return this.useTouchScroll?this.inherited(arguments):x.call(this)}:x,get:function(T){var S="_get"+T.charAt(0).toUpperCase()+T.slice(1);return typeof this[S]=="function"?this[S].apply(this,[].slice.call(arguments,1)):(!n("dojo-built")&&typeof this[S+"Attr"]=="function"&&console.warn("dgrid: Use "+S+" instead of "+S+"Attr for getting "+T),this[T])},set:function(T,S){if(typeof T=="object")for(var I in T)this.set(I,T[I]);else{var B="_set"+T.charAt(0).toUpperCase()+T.slice(1);typeof this[B]=="function"?this[B].apply(this,[].slice.call(arguments,1)):(!n("dojo-built")&&typeof this[B+"Attr"]=="function"&&console.warn("dgrid: Use "+B+" instead of "+B+"Attr for setting "+T),this[T]=S)}return this},_getClass:F,_setClass:D,_getClassName:F,_setClassName:D,_setSort:function(T,S){this._sort=typeof T!="string"?T:[{attribute:T,descending:S}],this.refresh(),this._lastCollection&&(T.length&&(typeof T!="string"&&(S=T[0].descending,T=T[0].attribute),this._lastCollection.sort(function(I,B){var P=I[T],L=B[T];return P===void 0&&(P=""),L===void 0&&(L=""),P==L?0:P>L==!S?1:-1})),this.renderArray(this._lastCollection))},sort:function(T,S){y.deprecated("sort(...)",'use set("sort", ...) instead',"dgrid 0.4"),this.set("sort",T,S)},_getSort:function(){return this._sort},_setShowHeader:function(T){var S=this.headerNode;this.showHeader=T,o(S,(T?"!":".")+"dgrid-header-hidden"),this.renderHeader(),this.resize(),T&&(S.scrollLeft=this.getScrollPosition().x)},setShowHeader:function(T){y.deprecated("setShowHeader(...)",'use set("showHeader", ...) instead',"dgrid 0.4"),this.set("showHeader",T)},_setShowFooter:function(T){this.showFooter=T,o(this.footerNode,(T?"!":".")+"dgrid-footer-hidden"),this.resize()}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(8),l(77)],C=l.dj.d(A,function(y,m){y.add("dom-contains",function(a,i,u){return!!u.contains});var h=[],d,n,e,t=/([^A-Za-z0-9_\u00A0-\uFFFF-])/g;function r(a){var i=h[a],u,s;if(i!==void 0)for(d[n](i),h[a]=void 0,u=a+1,s=h.length;u<s;u++)h[u]>i&&h[u]--}var o={defaultDelay:15,throttle:function(a,i,u){var s=!1;return u=u||o.defaultDelay,function(){s||(s=!0,a.apply(i,arguments),setTimeout(function(){s=!1},u))}},throttleDelayed:function(a,i,u){var s=!1;return u=u||o.defaultDelay,function(){if(!s){s=!0;var c=arguments;setTimeout(function(){s=!1,a.apply(i,c)},u)}}},debounce:function(a,i,u){var s;return u=u||o.defaultDelay,function(){s&&(clearTimeout(s),s=null);var c=arguments;s=setTimeout(function(){a.apply(i,c)},u)}},each:function(a,i,u){var s,c;if(!!a)if(typeof a.length=="number")for(s=0,c=a.length;s<c;s++)i.call(u,a[s],s,a);else for(s in a)i.call(u,a[s],s,a)},contains:function(a,i){return y("dom-contains")?a.contains(i):a.compareDocumentPosition(i)&8},addCssRule:function(a,i){d||(d=m(document.getElementsByTagName("head")[0],"style"),d=d.sheet||d.styleSheet,n=d.deleteRule?"deleteRule":"removeRule",e=d.cssRules?"cssRules":"rules");var u=h.length;return h[u]=(d.cssRules||d.rules).length,d.addRule?d.addRule(a,i):d.insertRule(a+"{"+i+"}",h[u]),{get:function(s){return d[e][h[u]].style[s]},set:function(s,c){typeof h[u]!="undefined"&&(d[e][h[u]].style[s]=c)},remove:function(){r(u)}}},escapeCssIdentifier:function(a,i){return typeof a=="string"?a.replace(t,i||"\\$1"):a}};return o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(4),l(36)],C=l.dj.d(A,function(y,m){var h={tapRadius:10,dbltapTime:250,selector:function(t,r,o){return function(a,i){var u=r.bubble;return u?r=u:o!==!1&&(o=!0),y(a,r,function(s){var c=s.target;for(c.nodeType==3&&(c=c.parentNode);!m.matches(c,t,a);)if(c==a||!o||!(c=c.parentNode))return;return i.call(c,s)})}},countCurrentTouches:function(t,r){if(!("touches"in t))return-1;var o,a,i;for(o=0,a=0;i=t.touches[o];++o)r.contains(i.target)&&++a;return a}};function d(t,r,o,a){if(!(o.targetTouches.length>1)){var i=o.changedTouches[0],u=i.screenX,s=i.screenY;a&&o.preventDefault();var c=y(t,"touchend",function(f){var p=f.changedTouches[0];f.targetTouches.length||(Math.abs(p.screenX-u)<h.tapRadius&&Math.abs(p.screenY-s)<h.tapRadius&&(a&&f.preventDefault(),r.call(this,f)),c.remove())})}}function n(t,r){return y(t,"touchstart",function(o){d(t,r,o)})}function e(t,r){var o,a;return y(t,"touchstart",function(i){o?d(t,function(u){if(!!o){var s=u.changedTouches[0];Math.abs(s.screenX-o.screenX)<h.tapRadius&&Math.abs(s.screenY-o.screenY)<h.tapRadius&&(a&&clearTimeout(a),o=a=null,r.call(this,u))}},i,!0):d(t,function(u){o=u.changedTouches[0],a=setTimeout(function(){o=a=null},h.dbltapTime)},i)})}return h.tap=n,h.dbltap=e,h},_,M),_.exports=C},function(_,M,l){"use strict";var A=function(){var s;return function(){return typeof s=="undefined"&&(s=Boolean(window&&document&&document.all&&!window.atob)),s}}(),C=function(){var s={};return function(f){if(typeof s[f]=="undefined"){var p=document.querySelector(f);if(window.HTMLIFrameElement&&p instanceof window.HTMLIFrameElement)try{p=p.contentDocument.head}catch(v){p=null}s[f]=p}return s[f]}}(),y=[];function m(u){for(var s=-1,c=0;c<y.length;c++)if(y[c].identifier===u){s=c;break}return s}function h(u,s){for(var c={},f=[],p=0;p<u.length;p++){var v=u[p],g=s.base?v[0]+s.base:v[0],E=c[g]||0,D="".concat(g," ").concat(E);c[g]=E+1;var F=m(D),w={css:v[1],media:v[2],sourceMap:v[3]};F!==-1?(y[F].references++,y[F].updater(w)):y.push({identifier:D,updater:i(w,s),references:1}),f.push(D)}return f}function d(u){var s=document.createElement("style"),c=u.attributes||{};if(typeof c.nonce=="undefined"){var f=l.nc;f&&(c.nonce=f)}if(Object.keys(c).forEach(function(v){s.setAttribute(v,c[v])}),typeof u.insert=="function")u.insert(s);else{var p=C(u.insert||"head");if(!p)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");p.appendChild(s)}return s}function n(u){if(u.parentNode===null)return!1;u.parentNode.removeChild(u)}var e=function(){var s=[];return function(f,p){return s[f]=p,s.filter(Boolean).join(`
|
||
`)}}();function t(u,s,c,f){var p=c?"":f.media?"@media ".concat(f.media," {").concat(f.css,"}"):f.css;if(u.styleSheet)u.styleSheet.cssText=e(s,p);else{var v=document.createTextNode(p),g=u.childNodes;g[s]&&u.removeChild(g[s]),g.length?u.insertBefore(v,g[s]):u.appendChild(v)}}function r(u,s,c){var f=c.css,p=c.media,v=c.sourceMap;if(p?u.setAttribute("media",p):u.removeAttribute("media"),v&&typeof btoa!="undefined"&&(f+=`
|
||
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(v))))," */")),u.styleSheet)u.styleSheet.cssText=f;else{for(;u.firstChild;)u.removeChild(u.firstChild);u.appendChild(document.createTextNode(f))}}var o=null,a=0;function i(u,s){var c,f,p;if(s.singleton){var v=a++;c=o||(o=d(s)),f=t.bind(null,c,v,!1),p=t.bind(null,c,v,!0)}else c=d(s),f=r.bind(null,c,s),p=function(){n(c)};return f(u),function(E){if(E){if(E.css===u.css&&E.media===u.media&&E.sourceMap===u.sourceMap)return;f(u=E)}else p()}}_.exports=function(u,s){s=s||{},!s.singleton&&typeof s.singleton!="boolean"&&(s.singleton=A()),u=u||[];var c=h(u,s);return function(p){if(p=p||[],Object.prototype.toString.call(p)==="[object Array]"){for(var v=0;v<c.length;v++){var g=c[v],E=m(g);y[E].references--}for(var D=h(p,s),F=0;F<c.length;F++){var w=c[F],x=m(w);y[x].references===0&&(y[x].updater(),y.splice(x,1))}c=D}}}},function(_,M){_.exports=function(C){var y=[];return y.toString=function(){return this.map(function(h){var d=l(h,C);return h[2]?"@media "+h[2]+"{"+d+"}":d}).join("")},y.i=function(m,h){typeof m=="string"&&(m=[[null,m,""]]);for(var d={},n=0;n<this.length;n++){var e=this[n][0];typeof e=="number"&&(d[e]=!0)}for(n=0;n<m.length;n++){var t=m[n];(typeof t[0]!="number"||!d[t[0]])&&(h&&!t[2]?t[2]=h:h&&(t[2]="("+t[2]+") and ("+h+")"),y.push(t))}},y};function l(C,y){var m=C[1]||"",h=C[3];if(!h)return m;if(y&&typeof btoa=="function"){var d=A(h),n=h.sources.map(function(e){return"/*# sourceURL="+h.sourceRoot+e+" */"});return[m].concat(n).concat([d]).join(`
|
||
`)}return[m].join(`
|
||
`)}function A(C){var y=btoa(unescape(encodeURIComponent(JSON.stringify(C)))),m="sourceMappingURL=data:application/json;charset=utf-8;base64,"+y;return"/*# "+m+" */"}},function(_,M,l){var A,C;A=[l(9),l(1),l(259),l(12),l(11),l(24),l(14),l(0),l(54),l(4),l(18),l(551),l(260),l(87),l(46),l(261),l(552),l(44)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p,v,g){var E=m("dijit._MasterTooltip",[c,f],{duration:u.defaultDuration,templateString:v,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode),this.bgIframe=new p(this.domNode),this.fadeIn=h.fadeIn({node:this.domNode,duration:this.duration,onEnd:r.hitch(this,"_onShow")}),this.fadeOut=h.fadeOut({node:this.domNode,duration:this.duration,onEnd:r.hitch(this,"_onHide")})},show:function(S,I,B,P,L,O,W){if(!(this.aroundNode&&this.aroundNode===I&&this.containerNode.innerHTML==S)){if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return}this.containerNode.innerHTML=S,L&&this.set("textDir",L),this.containerNode.align=P?"right":"left";var j=s.around(this.domNode,I,B&&B.length?B:T.defaultPosition,!P,r.hitch(this,"orient")),K=j.aroundNodePos;j.corner.charAt(0)=="M"&&j.aroundCorner.charAt(0)=="M"?(this.connectorNode.style.top=K.y+(K.h-this.connectorNode.offsetHeight>>1)-j.y+"px",this.connectorNode.style.left=""):j.corner.charAt(1)=="M"&&j.aroundCorner.charAt(1)=="M"?this.connectorNode.style.left=K.x+(K.w-this.connectorNode.offsetWidth>>1)-j.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top=""),t.set(this.domNode,"opacity",0),this.fadeIn.play(),this.isShowingNow=!0,this.aroundNode=I,this.onMouseEnter=O||R,this.onMouseLeave=W||R}},orient:function(S,I,B,P,L){this.connectorNode.style.top="";var O=P.h,W=P.w;S.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[I+"-"+B],this.domNode.style.width="auto";var j=e.position(this.domNode);(i("ie")||i("trident"))&&(j.w+=2);var K=Math.min(Math.max(W,1),j.w);if(e.setMarginBox(this.domNode,{w:K}),B.charAt(0)=="B"&&I.charAt(0)=="B"){var H=e.position(S),V=this.connectorNode.offsetHeight;if(H.h>O){var $=O-(L.h+V>>1);this.connectorNode.style.top=$+"px",this.connectorNode.style.bottom=""}else this.connectorNode.style.bottom=Math.min(Math.max(L.h/2-V/2,0),H.h-V)+"px",this.connectorNode.style.top=""}else this.connectorNode.style.top="",this.connectorNode.style.bottom="";return Math.max(0,j.w-W)},_onShow:function(){i("ie")&&(this.domNode.style.filter="")},hide:function(S){this._onDeck&&this._onDeck[1]==S?this._onDeck=null:this.aroundNode===S&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play()),this.onMouseEnter=this.onMouseLeave=R},_onHide:function(){this.domNode.style.cssText="",this.containerNode.innerHTML="",this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});i("dojo-bidi")&&E.extend({_setAutoTextDir:function(S){this.applyTextDir(S),y.forEach(S.children,function(I){this._setAutoTextDir(I)},this)},_setTextDirAttr:function(S){this._set("textDir",S),S=="auto"?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}}),g.showTooltip=function(S,I,B,P,L,O,W){return B&&(B=y.map(B,function(j){return{after:"after-centered",before:"before-centered"}[j]||j})),T._masterTT||(g._masterTT=T._masterTT=new E),T._masterTT.show(S,I,B,P,L,O,W)},g.hideTooltip=function(S){return T._masterTT&&T._masterTT.hide(S)};var D="DORMANT",F="SHOW TIMER",w="SHOWING",x="HIDE TIMER";function R(){}var T=m("dijit.Tooltip",c,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(S){y.forEach(this._connections||[],function(I){y.forEach(I,function(B){B.remove()})},this),this._connectIds=y.filter(r.isArrayLike(S)?S:S?[S]:[],function(I){return d.byId(I,this.ownerDocument)},this),this._connections=y.map(this._connectIds,function(I){var B=d.byId(I,this.ownerDocument),P=this.selector,L=P?function(W){return a.selector(P,W)}:function(W){return W},O=this;return[a(B,L(o.enter),function(){O._onHover(this)}),a(B,L("focusin"),function(){O._onHover(this)}),a(B,L(o.leave),r.hitch(O,"_onUnHover")),a(B,L("focusout"),r.hitch(O,"set","state",D))]},this),this._set("connectId",S)},addTarget:function(S){var I=S.id||S;y.indexOf(this._connectIds,I)==-1&&this.set("connectId",this._connectIds.concat(I))},removeTarget:function(S){var I=S.id||S,B=y.indexOf(this._connectIds,I);B>=0&&(this._connectIds.splice(B,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments),n.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var S=this.connectId;y.forEach(r.isArrayLike(S)?S:[S],this.addTarget,this)},getContent:function(S){return this.label||this.domNode.innerHTML},state:D,_setStateAttr:function(S){if(!(this.state==S||S==F&&this.state==w||S==x&&this.state==D)){switch(this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer),this._showTimer&&(this._showTimer.remove(),delete this._showTimer),S){case D:this._connectNode&&(T.hide(this._connectNode),delete this._connectNode,this.onHide());break;case F:this.state!=w&&(this._showTimer=this.defer(function(){this.set("state",w)},this.showDelay));break;case w:var I=this.getContent(this._connectNode);if(!I){this.set("state",D);return}T.show(I,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,r.hitch(this,"set","state",w),r.hitch(this,"set","state",x)),this.onShow(this._connectNode,this.position);break;case x:this._hideTimer=this.defer(function(){this.set("state",D)},this.hideDelay);break}this._set("state",S)}},_onHover:function(S){this._connectNode&&S!=this._connectNode&&this.set("state",D),this._connectNode=S,this.set("state",F)},_onUnHover:function(S){this.set("state",x)},open:function(S){this.set("state",D),this._connectNode=S,this.set("state",w)},close:function(){this.set("state",D)},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",D),y.forEach(this._connections||[],function(S){y.forEach(S,function(I){I.remove()})},this),this.inherited(arguments)}});return T._MasterTooltip=E,T.show=g.showTooltip,T.hide=g.hideTooltip,T.defaultPosition=["after-centered","before-centered"],T},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(26),l(0),l(60),l(550),l(17),l(18),l(12),l(14)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){var a=h.mixin,i={},u=i._Line=function(E,D){this.start=E,this.end=D};u.prototype.getValue=function(E){return(this.end-this.start)*E+this.start};var s=i.Animation=function(E){a(this,E),h.isArray(this.curve)&&(this.curve=new u(this.curve[0],this.curve[1]))};s.prototype=new d,h.extend(s,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var E=this._percent,D=this.easing;return D?D(E):E},_fire:function(E,D){var F=D||[];if(this[E])if(m.debugAtAllCosts)this[E].apply(this,F);else try{this[E].apply(this,F)}catch(w){console.error("exception in animation handler for:",E),console.error(w)}return this},play:function(E,D){var F=this;if(F._delayTimer&&F._clearTimer(),D)F._stopTimer(),F._active=F._paused=!1,F._percent=0;else if(F._active&&!F._paused)return F;F._fire("beforeBegin",[F.node]);var w=E||F.delay,x=h.hitch(F,"_play",D);return w>0?(F._delayTimer=setTimeout(x,w),F):(x(),F)},_play:function(E){var D=this;D._delayTimer&&D._clearTimer(),D._startTime=new Date().valueOf(),D._paused&&(D._startTime-=D.duration*D._percent),D._active=!0,D._paused=!1;var F=D.curve.getValue(D._getStep());return D._percent||(D._startRepeatCount||(D._startRepeatCount=D.repeat),D._fire("onBegin",[F])),D._fire("onPlay",[F]),D._cycle(),D},pause:function(){var E=this;return E._delayTimer&&E._clearTimer(),E._stopTimer(),E._active&&(E._paused=!0,E._fire("onPause",[E.curve.getValue(E._getStep())])),E},gotoPercent:function(E,D){var F=this;return F._stopTimer(),F._active=F._paused=!0,F._percent=E,D&&F.play(),F},stop:function(E){var D=this;return D._delayTimer&&D._clearTimer(),D._timer&&(D._stopTimer(),E&&(D._percent=1),D._fire("onStop",[D.curve.getValue(D._getStep())]),D._active=D._paused=!1),D},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var E=this;if(E._active){var D=new Date().valueOf(),F=E.duration===0?1:(D-E._startTime)/E.duration;F>=1&&(F=1),E._percent=F,E.easing&&(F=E.easing(F)),E._fire("onAnimate",[E.curve.getValue(F)]),E._percent<1?E._startTimer():(E._active=!1,E.repeat>0?(E.repeat--,E.play(null,!0)):E.repeat==-1?E.play(null,!0):E._startRepeatCount&&(E.repeat=E._startRepeatCount,E._startRepeatCount=0),E._percent=0,E._fire("onEnd",[E.node]),!E.repeat&&E._stopTimer())}return E},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var c=0,f=null,p={run:function(){}};h.extend(s,{_startTimer:function(){this._timer||(this._timer=e.after(p,"run",h.hitch(this,"_cycle"),!0),c++),f||(f=setInterval(h.hitch(p,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,c--),c<=0&&(clearInterval(f),f=null,c=0)}});var v=t("ie")?function(E){var D=E.style;!D.width.length&&o.get(E,"width")=="auto"&&(D.width="auto")}:function(){};i._fade=function(E){E.node=r.byId(E.node);var D=a({properties:{}},E),F=D.properties.opacity={};F.start="start"in D?D.start:function(){return+o.get(D.node,"opacity")||0},F.end=D.end;var w=i.animateProperty(D);return e.after(w,"beforeBegin",h.partial(v,D.node),!0),w},i.fadeIn=function(E){return i._fade(a({end:1},E))},i.fadeOut=function(E){return i._fade(a({end:0},E))},i._defaultEasing=function(E){return .5+Math.sin((E+1.5)*Math.PI)/2};var g=function(E){this._properties=E;for(var D in E){var F=E[D];F.start instanceof n&&(F.tempColor=new n)}};return g.prototype.getValue=function(E){var D={};for(var F in this._properties){var w=this._properties[F],x=w.start;x instanceof n?D[F]=n.blendColors(x,w.end,E,w.tempColor).toCss():h.isArray(x)||(D[F]=(w.end-x)*E+x+(F!="opacity"?w.units||"px":0))}return D},i.animateProperty=function(E){var D=E.node=r.byId(E.node);E.easing||(E.easing=y._defaultEasing);var F=new s(E);return e.after(F,"beforeBegin",h.hitch(F,function(){var w={};for(var x in this.properties){(x=="width"||x=="height")&&(this.node.display="block");var R=this.properties[x];h.isFunction(R)&&(R=R(D)),R=w[x]=a({},h.isObject(R)?R:{end:R}),h.isFunction(R.start)&&(R.start=R.start(D)),h.isFunction(R.end)&&(R.end=R.end(D));var T=x.toLowerCase().indexOf("color")>=0,S=function(B,P){var L={height:B.offsetHeight,width:B.offsetWidth}[P];return L!==void 0?L:(L=o.get(B,P),P=="opacity"?+L:T?L:parseFloat(L))};"end"in R?"start"in R||(R.start=S(D,x)):R.end=S(D,x),T?(R.start=new n(R.start),R.end=new n(R.end)):R.start=x=="opacity"?+R.start:parseFloat(R.start)}this.curve=new g(w)}),!0),e.after(F,"onAnimate",h.hitch(o,"set",F.node),!0),F},i.anim=function(E,D,F,w,x,R){return i.animateProperty({node:E,duration:F||s.prototype.duration,properties:D,easing:w,onEnd:x}).play(R||0)},t("extend-dojo")&&(a(y,i),y._Animation=s),i},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(24),l(14),l(6),l(21),l(108),l(44)],C=l.dj.d(A,function(y,m,h,d,n,e,t){function r(i,u,s,c){var f=e.getEffectiveBox(i.ownerDocument);(!i.parentNode||String(i.parentNode.tagName).toLowerCase()!="body")&&n.body(i.ownerDocument).appendChild(i);var p=null;y.some(u,function(F){var w=F.corner,x=F.pos,R=0,T={w:{L:f.l+f.w-x.x,R:x.x-f.l,M:f.w}[w.charAt(1)],h:{T:f.t+f.h-x.y,B:x.y-f.t,M:f.h}[w.charAt(0)]},S=i.style;if(S.left=S.right="auto",s){var I=s(i,F.aroundCorner,w,T,c);R=typeof I=="undefined"?0:I}var B=i.style,P=B.display,L=B.visibility;B.display=="none"&&(B.visibility="hidden",B.display="");var O=m.position(i);B.display=P,B.visibility=L;var W={L:x.x,R:x.x-O.w,M:Math.max(f.l,Math.min(f.l+f.w,x.x+(O.w>>1))-O.w)}[w.charAt(1)],j={T:x.y,B:x.y-O.h,M:Math.max(f.t,Math.min(f.t+f.h,x.y+(O.h>>1))-O.h)}[w.charAt(0)],K=Math.max(f.l,W),H=Math.max(f.t,j),V=Math.min(f.l+f.w,W+O.w),$=Math.min(f.t+f.h,j+O.h),G=V-K,Q=$-H;return R+=O.w-G+(O.h-Q),(p==null||R<p.overflow)&&(p={corner:w,aroundCorner:F.aroundCorner,x:K,y:H,w:G,h:Q,overflow:R,spaceAvailable:T}),!R}),p.overflow&&s&&s(i,p.aroundCorner,p.corner,p.spaceAvailable,c);var v=p.y,g=p.x,E=n.body(i.ownerDocument);/relative|absolute/.test(h.get(E,"position"))&&(v-=h.get(E,"marginTop"),g-=h.get(E,"marginLeft"));var D=i.style;return D.top=v+"px",D.left=g+"px",D.right="auto",p}var o={TL:"BR",TR:"BL",BL:"TR",BR:"TL"},a={at:function(i,u,s,c,f){var p=y.map(s,function(v){var g={corner:v,aroundCorner:o[v],pos:{x:u.x,y:u.y}};return c&&(g.pos.x+=v.charAt(1)=="L"?c.x:-c.x,g.pos.y+=v.charAt(0)=="T"?c.y:-c.y),g});return r(i,p,f)},around:function(i,u,s,c,f){var p;if(typeof u=="string"||"offsetWidth"in u||"ownerSVGElement"in u){if(p=m.position(u,!0),/^(above|below)/.test(s[0])){var v=m.getBorderExtents(u),g=u.firstChild?m.getBorderExtents(u.firstChild):{t:0,l:0,b:0,r:0},E=m.getBorderExtents(i),D=i.firstChild?m.getBorderExtents(i.firstChild):{t:0,l:0,b:0,r:0};p.y+=Math.min(v.t+g.t,E.t+D.t),p.h-=Math.min(v.t+g.t,E.t+D.t)+Math.min(v.b+g.b,E.b+D.b)}}else p=u;if(u.parentNode)for(var F=h.getComputedStyle(u).position=="absolute",w=u.parentNode;w&&w.nodeType==1&&w.nodeName!="BODY";){var x=m.position(w,!0),R=h.getComputedStyle(w);if(/relative|absolute/.test(R.position)&&(F=!1),!F&&/hidden|auto|scroll/.test(R.overflow)){var T=Math.min(p.y+p.h,x.y+x.h),S=Math.min(p.x+p.w,x.x+x.w);p.x=Math.max(p.x,x.x),p.y=Math.max(p.y,x.y),p.h=T-p.y,p.w=S-p.x}R.position=="absolute"&&(F=!0),w=w.parentNode}var I=p.x,B=p.y,P="w"in p?p.w:p.w=p.width,L="h"in p?p.h:(d.deprecated("place.around: dijit/place.__Rectangle: { x:"+I+", y:"+B+", height:"+p.height+", width:"+P+" } has been deprecated. Please use { x:"+I+", y:"+B+", h:"+p.height+", w:"+P+" }","","2.0"),p.h=p.height),O=[];function W(K,H){O.push({aroundCorner:K,corner:H,pos:{x:{L:I,R:I+P,M:I+(P>>1)}[K.charAt(1)],y:{T:B,B:B+L,M:B+(L>>1)}[K.charAt(0)]}})}y.forEach(s,function(K){var H=c;switch(K){case"above-centered":W("TM","BM");break;case"below-centered":W("BM","TM");break;case"after-centered":H=!H;case"before-centered":W(H?"ML":"MR",H?"MR":"ML");break;case"after":H=!H;case"before":W(H?"TL":"TR",H?"TR":"TL"),W(H?"BL":"BR",H?"BR":"BL");break;case"below-alt":H=!H;case"below":W(H?"BL":"BR",H?"TL":"TR"),W(H?"BR":"BL",H?"TR":"TL");break;case"above-alt":H=!H;case"above":W(H?"TL":"TR",H?"BL":"BR"),W(H?"TR":"TL",H?"BR":"BL");break;default:W(K.aroundCorner,K.corner)}});var j=r(i,O,f,{w:P,h:L});return j.aroundNodePos=p,j}};return t.place=a},_,M),_.exports=C},function(_,M,l){var A,C;A=[l.dj.c(_.i),l(44),l(26),l(10),l(14),l(0),l(4),l(18)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){r.add("config-bgIframe",(r("ie")||r("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var o=new function(){var a=[];this.pop=function(){var i;if(a.length)i=a.pop(),i.style.display="";else{if(r("ie")<9){var u=h.dojoBlankHtmlUrl||y.toUrl("dojo/resources/blank.html")||'javascript:""',s="<iframe src='"+u+`' role='presentation' style='position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity="0");'>`;i=document.createElement(s)}else i=d.create("iframe"),i.src='javascript:""',i.className="dijitBackgroundIframe",i.setAttribute("role","presentation"),n.set(i,"opacity",.1);i.tabIndex=-1}return i},this.push=function(i){i.style.display="none",a.push(i)}};return m.BackgroundIframe=function(a){if(!a.id)throw new Error("no id");if(r("config-bgIframe")){var i=this.iframe=o.pop();a.appendChild(i),r("ie")<7||r("quirks")?(this.resize(a),this._conn=t(a,"resize",e.hitch(this,"resize",a))):n.set(i,{width:"100%",height:"100%"})}},e.extend(m.BackgroundIframe,{resize:function(a){this.iframe&&n.set(this.iframe,{width:a.offsetWidth+"px",height:a.offsetHeight+"px"})},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),o.push(this.iframe),delete this.iframe)}}),m.BackgroundIframe},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return{UNKNOWN:"unknown",LONG_POLLING:"long-polling",WEBSOCKET:"websocket"}},_,M),_.exports=C},function(_,M,l){var A;A=function(){this.org=this.org||{};var C=this.org;return C.cometd={},C.cometd.JSON={},C.cometd.JSON.toJSON=C.cometd.JSON.fromJSON=function(y){throw"Abstract"},C.cometd.Utils={},C.cometd.Utils.isString=function(y){return y==null?!1:typeof y=="string"||y instanceof String},C.cometd.Utils.isArray=function(y){return y==null?!1:y instanceof Array},C.cometd.Utils.inArray=function(y,m){for(var h=0;h<m.length;++h)if(y===m[h])return h;return-1},C.cometd.Utils.setTimeout=function(y,m,h){return window.setTimeout(function(){try{m()}catch(d){y._debug("Exception invoking timed function",m,d)}},h)},C.cometd.Utils.clearTimeout=function(y){window.clearTimeout(y)},C.cometd.TransportRegistry=function(){var y=[],m={};this.getTransportTypes=function(){return y.slice(0)},this.findTransportTypes=function(h,d,n){for(var e=[],t=0;t<y.length;++t){var r=y[t];m[r].accept(h,d,n)===!0&&e.push(r)}return e},this.negotiateTransport=function(h,d,n,e){for(var t=0;t<y.length;++t)for(var r=y[t],o=0;o<h.length;++o)if(r===h[o]){var a=m[r];if(a.accept(d,n,e)===!0)return a}return null},this.add=function(h,d,n){for(var e=!1,t=0;t<y.length;++t)if(y[t]===h){e=!0;break}return e||(typeof n!="number"?y.push(h):y.splice(n,0,h),m[h]=d),!e},this.find=function(h){for(var d=0;d<y.length;++d)if(y[d]===h)return m[h];return null},this.remove=function(h){for(var d=0;d<y.length;++d)if(y[d]===h){y.splice(d,1);var n=m[h];return delete m[h],n}return null},this.clear=function(){y=[],m={}},this.reset=function(){for(var h=0;h<y.length;++h)m[y[h]].reset()}},C.cometd.Transport=function(){var y,m;this.registered=function(h,d){y=h,m=d},this.unregistered=function(){y=null,m=null},this._debug=function(){m._debug.apply(m,arguments)},this._mixin=function(){return m._mixin.apply(m,arguments)},this.getConfiguration=function(){return m.getConfiguration()},this.getAdvice=function(){return m.getAdvice()},this.setTimeout=function(h,d){return C.cometd.Utils.setTimeout(m,h,d)},this.clearTimeout=function(h){C.cometd.Utils.clearTimeout(h)},this.convertToMessages=function(h){if(C.cometd.Utils.isString(h))try{return C.cometd.JSON.fromJSON(h)}catch(d){throw this._debug("Could not convert to JSON the following string",'"'+h+'"'),d}if(C.cometd.Utils.isArray(h))return h;if(h==null)return[];if(h instanceof Object)return[h];throw"Conversion Error "+h+", typeof "+typeof h},this.accept=function(h,d,n){throw"Abstract"},this.getType=function(){return y},this.send=function(h,d){throw"Abstract"},this.reset=function(){this._debug("Transport",y,"reset")},this.abort=function(){this._debug("Transport",y,"aborted")},this.toString=function(){return this.getType()}},C.cometd.Transport.derive=function(y){function m(){}return m.prototype=y,new m},C.cometd.RequestTransport=function(){var y=new C.cometd.Transport,m=C.cometd.Transport.derive(y),h=0,d=null,n=[],e=[];function t(s){for(;e.length>0;){var c=e[0],f=c[0],p=c[1];if(f.url===s.url&&f.sync===s.sync){e.shift(),s.messages=s.messages.concat(f.messages),this._debug("Coalesced",f.messages.length,"messages from request",p.id);continue}break}}function r(s,c){if(this.transportSend(s,c),c.expired=!1,!s.sync){var f=this.getConfiguration().maxNetworkDelay,p=f;c.metaConnect===!0&&(p+=this.getAdvice().timeout),this._debug("Transport",this.getType(),"waiting at most",p,"ms for the response, maxNetworkDelay",f);var v=this;c.timeout=this.setTimeout(function(){c.expired=!0,c.xhr&&c.xhr.abort();var g="Request "+c.id+" of transport "+v.getType()+" exceeded "+p+" ms max network delay";v._debug(g),v.complete(c,!1,c.metaConnect),s.onFailure(c.xhr,s.messages,"timeout",g)},p)}}function o(s){var c=++h,f={id:c,metaConnect:!1};n.length<this.getConfiguration().maxConnections-1?(n.push(f),r.call(this,s,f)):(this._debug("Transport",this.getType(),"queueing request",c,"envelope",s),e.push([s,f]))}function a(s){var c=s.id;if(this._debug("Transport",this.getType(),"metaConnect complete, request",c),d!==null&&d.id!==c)throw"Longpoll request mismatch, completing request "+c;d=null}function i(s,c){var f=C.cometd.Utils.inArray(s,n);if(f>=0&&n.splice(f,1),e.length>0){var p=e.shift(),v=p[0],g=p[1];if(this._debug("Transport dequeued request",g.id),c)this.getConfiguration().autoBatch&&t.call(this,v),o.call(this,v),this._debug("Transport completed request",s.id,v);else{var E=this;this.setTimeout(function(){E.complete(g,!1,g.metaConnect),v.onFailure(g.xhr,v.messages,"error","Previous request failed")},0)}}}m.complete=function(s,c,f){f?a.call(this,s):i.call(this,s,c)},m.transportSend=function(s,c){throw"Abstract"},m.transportSuccess=function(s,c,f){c.expired||(this.clearTimeout(c.timeout),this.complete(c,!0,c.metaConnect),f&&f.length>0?s.onSuccess(f):s.onFailure(c.xhr,s.messages,"Empty HTTP response"))},m.transportFailure=function(s,c,f,p){c.expired||(this.clearTimeout(c.timeout),this.complete(c,!1,c.metaConnect),s.onFailure(c.xhr,s.messages,f,p))};function u(s){if(d!==null)throw"Concurrent metaConnect requests not allowed, request id="+d.id+" not yet completed";var c=++h;this._debug("Transport",this.getType(),"metaConnect send, request",c,"envelope",s);var f={id:c,metaConnect:!0};r.call(this,s,f),d=f}return m.send=function(s,c){c?u.call(this,s):o.call(this,s)},m.abort=function(){y.abort();for(var s=0;s<n.length;++s){var c=n[s];this._debug("Aborting request",c),c.xhr&&c.xhr.abort()}d&&(this._debug("Aborting metaConnect request",d),d.xhr&&d.xhr.abort()),this.reset()},m.reset=function(){y.reset(),d=null,n=[],e=[]},m},C.cometd.LongPollingTransport=function(){var y=new C.cometd.RequestTransport,m=C.cometd.Transport.derive(y),h=!0;return m.accept=function(d,n,e){return h||!n},m.xhrSend=function(d){throw"Abstract"},m.transportSend=function(d,n){this._debug("Transport",this.getType(),"sending request",n.id,"envelope",d);var e=this;try{var t=!0;n.xhr=this.xhrSend({transport:this,url:d.url,sync:d.sync,headers:this.getConfiguration().requestHeaders,body:C.cometd.JSON.toJSON(d.messages),onSuccess:function(r){e._debug("Transport",e.getType(),"received response",r);var o=!1;try{var a=e.convertToMessages(r);a.length===0?(h=!1,e.transportFailure(d,n,"no response",null)):(o=!0,e.transportSuccess(d,n,a))}catch(i){e._debug(i),o||(h=!1,e.transportFailure(d,n,"bad response",i))}},onError:function(r,o){h=!1,t?e.setTimeout(function(){e.transportFailure(d,n,r,o)},0):e.transportFailure(d,n,r,o)}}),t=!1}catch(r){h=!1,this.setTimeout(function(){e.transportFailure(d,n,"error",r)},0)}},m.reset=function(){y.reset(),h=!0},m},C.cometd.CallbackPollingTransport=function(){var y=new C.cometd.RequestTransport,m=C.cometd.Transport.derive(y),h=2e3;return m.accept=function(d,n,e){return!0},m.jsonpSend=function(d){throw"Abstract"},m.transportSend=function(d,n){for(var e=this,t=0,r=d.messages.length,o=[];r>0;){var a=C.cometd.JSON.toJSON(d.messages.slice(t,t+r)),i=d.url.length+encodeURI(a).length;if(i>h){if(r===1){var u="Bayeux message too big ("+i+" bytes, max is "+h+") for transport "+this.getType();this.setTimeout(function(){e.transportFailure(d,n,"error",u)},0);return}--r;continue}o.push(r),t+=r,r=d.messages.length-t}var s=d;if(o.length>1){var c=0,f=o[0];this._debug("Transport",this.getType(),"split",d.messages.length,"messages into",o.join(" + ")),s=this._mixin(!1,{},d),s.messages=d.messages.slice(c,f),s.onSuccess=d.onSuccess,s.onFailure=d.onFailure;for(var p=1;p<o.length;++p){var v=this._mixin(!1,{},d);c=f,f+=o[p],v.messages=d.messages.slice(c,f),v.onSuccess=d.onSuccess,v.onFailure=d.onFailure,this.send(v,n.metaConnect)}}this._debug("Transport",this.getType(),"sending request",n.id,"envelope",s);try{var g=!0;this.jsonpSend({transport:this,url:s.url,sync:s.sync,headers:this.getConfiguration().requestHeaders,body:C.cometd.JSON.toJSON(s.messages),onSuccess:function(E){var D=!1;try{var F=e.convertToMessages(E);F.length===0?e.transportFailure(s,n,"no response"):(D=!0,e.transportSuccess(s,n,F))}catch(w){e._debug(w),D||e.transportFailure(s,n,"bad response",w)}},onError:function(E,D){g?e.setTimeout(function(){e.transportFailure(s,n,E,D)},0):e.transportFailure(s,n,E,D)}}),g=!1}catch(E){this.setTimeout(function(){e.transportFailure(s,n,"error",E)},0)}},m},C.cometd.WebSocketTransport=function(){var y=new C.cometd.Transport,m=C.cometd.Transport.derive(y),h,d=!0,n=!1,e={},t={},r=null,o=!1,a=!1,i;function u(){var f=h.getURL().replace(/^http/,"ws");this._debug("Transport",this.getType(),"connecting to URL",f);var p=this,v=null,g=h.getConfiguration().connectTimeout;g>0&&(v=this.setTimeout(function(){v=null,o||(p._debug("Transport",p.getType(),"timed out while connecting to URL",f,":",g,"ms"),p.onClose(1002,"Connect Timeout"))},g));var E=new C.cometd.WebSocket(f),D=function(){if(p._debug("WebSocket opened",E),v&&(p.clearTimeout(v),v=null),E!==r){p._debug("Ignoring open event, WebSocket",r);return}p.onOpen()},F=function(x){var R=x?x.code:1e3,T=x?x.reason:void 0;if(p._debug("WebSocket closed",R,"/",T,E),v&&(p.clearTimeout(v),v=null),E!==r){p._debug("Ignoring close event, WebSocket",r);return}p.onClose(R,T)},w=function(x){if(p._debug("WebSocket message",x,E),E!==r){p._debug("Ignoring message event, WebSocket",r);return}p.onMessage(x)};E.onopen=D,E.onclose=F,E.onerror=function(){F({code:1002})},E.onmessage=w,r=E,this._debug("Transport",this.getType(),"configured callbacks on",E)}function s(f,p){var v=C.cometd.JSON.toJSON(f.messages);r.send(v),this._debug("Transport",this.getType(),"sent",f,"metaConnect =",p);var g=this.getConfiguration().maxNetworkDelay,E=g;p&&(E+=this.getAdvice().timeout,a=!0);for(var D=[],F=0;F<f.messages.length;++F){var w=f.messages[F];if(w.id){D.push(w.id);var x=this,R=r;t[w.id]=this.setTimeout(function(){R&&R.close(1e3,"Timeout")},E)}}this._debug("Transport",this.getType(),"waiting at most",E,"ms for messages",D,"maxNetworkDelay",g,", timeouts:",t)}function c(f,p){try{r===null?u.call(this):o&&s.call(this,f,p)}catch(g){var v=r;this.setTimeout(function(){f.onFailure(v,f.messages,"error",g)},0)}}return m.onOpen=function(){this._debug("Transport",this.getType(),"opened",r),o=!0,n=!0,this._debug("Sending pending messages",e);for(var f in e){var p=e[f],v=p[0],g=p[1];i=v.onSuccess,s.call(this,v,g)}},m.onMessage=function(f){this._debug("Transport",this.getType(),"received websocket message",f,r);for(var p=!1,v=this.convertToMessages(f.data),g=[],E=0;E<v.length;++E){var D=v[E];if((/^\/meta\//.test(D.channel)||D.data===void 0)&&D.id){g.push(D.id);var F=t[D.id];F&&(this.clearTimeout(F),delete t[D.id],this._debug("Transport",this.getType(),"removed timeout for message",D.id,", timeouts",t))}D.channel==="/meta/connect"&&(a=!1),D.channel==="/meta/disconnect"&&!a&&(p=!0)}for(var w=!1,x=0;x<g.length;++x){var R=g[x];for(var T in e){var S=T.split(","),I=C.cometd.Utils.inArray(R,S);if(I>=0){w=!0,S.splice(I,1);var B=e[T][0],P=e[T][1];delete e[T],S.length>0&&(e[S.join(",")]=[B,P]);break}}}w&&this._debug("Transport",this.getType(),"removed envelope, envelopes",e),i.call(this,v),p&&r.close(1e3,"Disconnect")},m.onClose=function(f,p){this._debug("Transport",this.getType(),"closed",f,p,r),d=n;for(var v in t)this.clearTimeout(t[v]);t={};for(var g in e){var E=e[g][0],D=e[g][1];D&&(a=!1),E.onFailure(r,E.messages,"closed "+f+"/"+p)}e={},r!==null&&o&&r.close(1e3,"Close"),o=!1,r=null},m.registered=function(f,p){y.registered(f,p),h=p},m.accept=function(f,p,v){return d&&!!C.cometd.WebSocket&&h.websocketEnabled!==!1},m.send=function(f,p){this._debug("Transport",this.getType(),"sending",f,"metaConnect =",p);for(var v=[],g=0;g<f.messages.length;++g){var E=f.messages[g];E.id&&v.push(E.id)}e[v.join(",")]=[f,p],this._debug("Transport",this.getType(),"stored envelope, envelopes",e),c.call(this,f,p)},m.abort=function(){if(y.abort(),r!==null)try{r.close(1001)}catch(f){this._debug(f)}this.reset()},m.reset=function(){y.reset(),r!==null&&o&&r.close(1e3,"Reset"),d=!0,n=!1,t={},e={},r=null,o=!1,i=null},m},C.cometd.Cometd=function(y){var m=this,h=y||"default",d=!1,n=new C.cometd.TransportRegistry,e,t="disconnected",r=0,o=null,a=0,i=[],u=!1,s={},c=0,f=null,p=[],v={},g,E={},D=!1,F=!1,w={connectTimeout:0,maxConnections:2,backoffIncrement:1e3,maxBackoff:6e4,logLevel:"info",reverseIncomingExtensions:!0,maxNetworkDelay:1e4,requestHeaders:{},appendMessageTypeToURL:!0,autoBatch:!1,advice:{timeout:6e4,interval:0,reconnect:"retry"}};this._mixin=function(le,De,ie){for(var ge=De||{},Ae=2;Ae<arguments.length;++Ae){var we=arguments[Ae];if(we!=null)for(var Ne in we){var He=we[Ne],tt=ge[Ne];if(He!==De&&He!==void 0)if(le&&typeof He=="object"&&He!==null)if(He instanceof Array)ge[Ne]=this._mixin(le,tt instanceof Array?tt:[],He);else{var Xe=typeof tt=="object"&&!(tt instanceof Array)?tt:{};ge[Ne]=this._mixin(le,Xe,He)}else ge[Ne]=He}}return ge};function x(le){return C.cometd.Utils.isString(le)}function R(le){return le==null?!1:typeof le=="function"}function T(le,De){if(window.console){var ie=window.console[le];R(ie)&&ie.apply(window.console,De)}}this._warn=function(){T("warn",arguments)},this._info=function(){w.logLevel!=="warn"&&T("info",arguments)},this._debug=function(){w.logLevel==="debug"&&T("debug",arguments)},this._isCrossDomain=function(le){return le&&le!==window.location.host};function S(le){if(m._debug("Configuring cometd object with",le),x(le)&&(le={url:le}),le||(le={}),w=m._mixin(!1,w,le),!w.url)throw"Missing required configuration parameter 'url' specifying the Bayeux server URL";var De=/(^https?:\/\/)?(((\[[^\]]+\])|([^:\/\?#]+))(:(\d+))?)?([^\?#]*)(.*)?/.exec(w.url),ie=De[2],ge=De[8],Ae=De[9];if(d=m._isCrossDomain(ie),w.appendMessageTypeToURL)if(Ae!==void 0&&Ae.length>0)m._info("Appending message type to URI "+ge+Ae+" is not supported, disabling 'appendMessageTypeToURL' configuration"),w.appendMessageTypeToURL=!1;else{var we=ge.split("/"),Ne=we.length-1;ge.match(/\/$/)&&(Ne-=1),we[Ne].indexOf(".")>=0&&(m._info("Appending message type to URI "+ge+" is not supported, disabling 'appendMessageTypeToURL' configuration"),w.appendMessageTypeToURL=!1)}}function I(){for(var le in s)for(var De=s[le],ie=De.length-1;ie>=0;--ie){var ge=De[ie];ge&&!ge.listener&&(De.splice(ie,1),m._debug("Removed subscription",ge,"for channel",le))}}function B(le){t!==le&&(m._debug("Status",t,"->",le),t=le)}function P(){return t==="disconnecting"||t==="disconnected"}function L(){return++r}function O(le,De,ie,ge,Ae){try{return De.call(le,ge)}catch(Ne){m._debug("Exception during execution of extension",ie,Ne);var we=m.onExtensionException;if(R(we)){m._debug("Invoking extension exception callback",ie,Ne);try{we.call(m,Ne,ie,Ae,ge)}catch(He){m._info("Exception during execution of exception callback in extension",ie,He)}}return ge}}function W(le){for(var De=0;De<p.length&&le!=null;++De){var ie=w.reverseIncomingExtensions?p.length-1-De:De,ge=p[ie],Ae=ge.extension.incoming;if(R(Ae)){var we=O(ge.extension,Ae,ge.name,le,!1);le=we===void 0?le:we}}return le}function j(le){for(var De=0;De<p.length&&le!=null;++De){var ie=p[De],ge=ie.extension.outgoing;if(R(ge)){var Ae=O(ie.extension,ge,ie.name,le,!0);le=Ae===void 0?le:Ae}}return le}function K(le,De){var ie=s[le];if(ie&&ie.length>0)for(var ge=ie.length-1;ge>=0;--ge){var Ae=ie[ge];try{Ae.callback.call(Ae.scope,De)}catch(Ne){m._debug("Exception during notification",Ae,De,Ne);var we=m.onListenerException;if(R(we)){m._debug("Invoking listener exception callback",Ae,Ne);try{we.call(m,Ne,Ae.handle,Ae.listener,De)}catch(He){m._info("Exception during execution of listener callback",Ae,He)}}}}}function H(le,De){K(le,De);for(var ie=le.split("/"),ge=ie.length-1,Ae=ge;Ae>0;--Ae){var we=ie.slice(0,Ae).join("/")+"/*";Ae===ge&&K(we,De),we+="*",K(we,De)}}function V(){f!==null&&C.cometd.Utils.clearTimeout(f),f=null}function $(le){V();var De=v.interval+c;m._debug("Function scheduled in",De,"ms, interval =",v.interval,"backoff =",c,le),f=C.cometd.Utils.setTimeout(m,le,De)}var G,Q;function J(le,De,ie,ge){for(var Ae=0;Ae<De.length;++Ae){var we=De[Ae];we.id=""+L(),o&&(we.clientId=o);var Ne=void 0;R(we._callback)&&(Ne=we._callback,delete we._callback),we=j(we),we!=null?(De[Ae]=we,Ne&&(E[we.id]=Ne)):De.splice(Ae--,1)}if(De.length!==0){var He=w.url;w.appendMessageTypeToURL&&(He.match(/\/$/)||(He=He+"/"),ge&&(He=He+ge));var tt={url:He,sync:le,messages:De,onSuccess:function(Xe){try{G.call(m,Xe)}catch(it){m._debug("Exception during handling of messages",it)}},onFailure:function(Xe,it,Nt,fn){try{Q.call(m,Xe,it,Nt,fn)}catch(Gt){m._debug("Exception during handling of failure",Gt)}}};m._debug("Send",tt),e.send(tt,ie)}}function Y(le){a>0||u===!0?i.push(le):J(!1,[le],!1)}this.send=Y;function X(){c=0}function Z(){c<w.maxBackoff&&(c+=w.backoffIncrement)}function q(){++a}function ee(){var le=i;i=[],le.length>0&&J(!1,le,!1)}function re(){if(--a,a<0)throw"Calls to startBatch() and endBatch() are not paired";a===0&&!P()&&!u&&ee()}function he(){if(!P()){var le={channel:"/meta/connect",connectionType:e.getType()};F||(le.advice={timeout:0}),B("connecting"),m._debug("Connect sent",le),J(!1,[le],!0,"connect"),B("connected")}}function me(){B("connecting"),$(function(){he()})}function se(le){le&&(v=m._mixin(!1,{},w.advice,le),m._debug("New advice",v))}function te(le){V(),le&&e.abort(),o=null,B("disconnected"),a=0,X(),i.length>0&&(Q.call(m,void 0,i,"error","Disconnected"),i=[])}function oe(le){o=null,I(),P()?(n.reset(),se(w.advice)):se(m._mixin(!1,v,{reconnect:"retry"})),a=0,u=!0,g=le;var De="1.0",ie=n.findTransportTypes(De,d,w.url),ge={version:De,minimumVersion:"0.9",channel:"/meta/handshake",supportedConnectionTypes:ie,advice:{timeout:v.timeout,interval:v.interval}},Ae=m._mixin(!1,{},g,ge);e=n.negotiateTransport(ie,De,d,w.url),m._debug("Initial transport is",e.getType()),B("handshaking"),m._debug("Handshake sent",Ae),J(!1,[Ae],!1,"handshake")}function ue(){B("handshaking"),u=!0,$(function(){oe(g)})}function ce(le){H("/meta/handshake",le),H("/meta/unsuccessful",le);var De=!P()&&v.reconnect!=="none";De?(Z(),ue()):te(!1)}function ve(le){if(le.successful){o=le.clientId;var De=n.negotiateTransport(le.supportedConnectionTypes,le.version,d,w.url);if(De===null)throw"Could not negotiate transport with server; client "+n.findTransportTypes(le.version,d,w.url)+", server "+le.supportedConnectionTypes;e!==De&&(m._debug("Transport",e,"->",De),e=De),u=!1,ee(),le.reestablish=D,D=!0,H("/meta/handshake",le);var ie=P()?"none":v.reconnect;switch(ie){case"retry":X(),me();break;case"none":te(!1);break;default:throw"Unrecognized advice action "+ie}}else ce(le)}function Se(le,De){ce({successful:!1,failure:!0,channel:"/meta/handshake",request:De,xhr:le,advice:{reconnect:"retry",interval:c}})}function Be(le){H("/meta/connect",le),H("/meta/unsuccessful",le);var De=P()?"none":v.reconnect;switch(De){case"retry":me(),Z();break;case"handshake":n.reset(),X(),ue();break;case"none":te(!1);break;default:throw"Unrecognized advice action"+De}}function ke(le){if(F=le.successful,F){H("/meta/connect",le);var De=P()?"none":v.reconnect;switch(De){case"retry":X(),me();break;case"none":te(!1);break;default:throw"Unrecognized advice action "+De}}else Be(le)}function Ge(le,De){F=!1,Be({successful:!1,failure:!0,channel:"/meta/connect",request:De,xhr:le,advice:{reconnect:"retry",interval:c}})}function rt(le){te(!0),H("/meta/disconnect",le),H("/meta/unsuccessful",le)}function ut(le){le.successful?(te(!1),H("/meta/disconnect",le)):rt(le)}function ht(le,De){rt({successful:!1,failure:!0,channel:"/meta/disconnect",request:De,xhr:le,advice:{reconnect:"none",interval:0}})}function dt(le){H("/meta/subscribe",le),H("/meta/unsuccessful",le)}function Tt(le){le.successful?H("/meta/subscribe",le):dt(le)}function Ot(le,De){dt({successful:!1,failure:!0,channel:"/meta/subscribe",request:De,xhr:le,advice:{reconnect:"none",interval:0}})}function Ct(le){H("/meta/unsubscribe",le),H("/meta/unsuccessful",le)}function jt(le){le.successful?H("/meta/unsubscribe",le):Ct(le)}function Lt(le,De){Ct({successful:!1,failure:!0,channel:"/meta/unsubscribe",request:De,xhr:le,advice:{reconnect:"none",interval:0}})}function Qt(le){var De=E[le.id];R(De)&&(delete E[le.id],De.call(m,le))}function bt(le){Qt(le),H("/meta/publish",le),H("/meta/unsuccessful",le)}function pt(le){le.successful===void 0?le.data!==void 0&&le.data!==null?H(le.channel,le):m._debug("Unknown message",le):le.successful?(Qt(le),H("/meta/publish",le)):bt(le)}function Bt(le,De){bt({successful:!1,failure:!0,channel:De.channel,request:De,xhr:le,advice:{reconnect:"none",interval:0}})}function kt(le){if(le=W(le),le!=null){se(le.advice);var De=le.channel;switch(De){case"/meta/handshake":ve(le);break;case"/meta/connect":ke(le);break;case"/meta/disconnect":ut(le);break;case"/meta/subscribe":Tt(le);break;case"/meta/unsubscribe":jt(le);break;default:pt(le);break}}}this.receive=kt,G=function(le){m._debug("Received",le);for(var De=0;De<le.length;++De){var ie=le[De];kt(ie)}},Q=function(le,De,ie,ge){m._debug("handleFailure",le,De,ie,ge);for(var Ae=0;Ae<De.length;++Ae){var we=De[Ae],Ne=we.channel;switch(Ne){case"/meta/handshake":Se(le,we);break;case"/meta/connect":Ge(le,we);break;case"/meta/disconnect":ht(le,we);break;case"/meta/subscribe":Ot(le,we);break;case"/meta/unsubscribe":Lt(le,we);break;default:Bt(le,we);break}}};function sn(le){var De=s[le];if(De){for(var ie=0;ie<De.length;++ie)if(De[ie])return!0}return!1}function st(le,De){var ie={scope:le,method:De};if(R(le))ie.scope=void 0,ie.method=le;else if(x(De)){if(!le)throw"Invalid scope "+le;if(ie.method=le[De],!R(ie.method))throw"Invalid callback "+De+" for scope "+le}else if(!R(De))throw"Invalid callback "+De;return ie}function At(le,De,ie,ge){var Ae=st(De,ie);m._debug("Adding listener on",le,"with scope",Ae.scope,"and callback",Ae.method);var we={channel:le,scope:Ae.scope,callback:Ae.method,listener:ge},Ne=s[le];Ne||(Ne=[],Ne.subscriptionCounter=0,s[le]=Ne),Ne.push(we);var He=Ne.subscriptionCounter;return Ne.subscriptionCounter=Ne.subscriptionCounter+1,we.id=He,we.handle=[le,He],m._debug("Added listener",we,"for channel",le,"having id =",He),we.handle}function Ut(le,De){for(var ie=0;ie<le.length;){var ge=le[ie];if(ge.id===De)return ie;ie=ie+1}return-1}function Vt(le){var De=s[le[0]],ie,ge;De.length>0&&(ie=le[1],ge=Ut(De,ie),ge!==-1&&(De.splice(ge,1),m._debug("Removed listener",le)))}this.registerTransport=function(le,De,ie){var ge=n.add(le,De,ie);return ge&&(this._debug("Registered transport",le),R(De.registered)&&De.registered(le,this)),ge},this.getTransportTypes=function(){return n.getTransportTypes()},this.unregisterTransport=function(le){var De=n.remove(le);return De!==null&&(this._debug("Unregistered transport",le),R(De.unregistered)&&De.unregistered()),De},this.unregisterTransports=function(){n.clear()},this.findTransport=function(le){return n.find(le)},this.configure=function(le){S.call(this,le)},this.init=function(le,De){this.configure(le),this.handshake(De)},this.handshake=function(le){B("disconnected"),D=!1,oe(le)},this.disconnect=function(le,De){if(!P()){De===void 0&&typeof le!="boolean"&&(De=le,le=!1);var ie={channel:"/meta/disconnect"},ge=this._mixin(!1,{},De,ie);B("disconnecting"),J(le===!0,[ge],!1,"disconnect")}},this.startBatch=function(){q()},this.endBatch=function(){re()},this.batch=function(le,De){var ie=st(le,De);this.startBatch();try{ie.method.call(ie.scope),this.endBatch()}catch(ge){throw this._debug("Exception during execution of batch",ge),this.endBatch(),ge}},this.addListener=function(le,De,ie){if(arguments.length<2)throw"Illegal arguments number: required 2, got "+arguments.length;if(!x(le))throw"Illegal argument type: channel must be a string";return At(le,De,ie,!0)},this.removeListener=function(le){if(!C.cometd.Utils.isArray(le))throw"Invalid argument: expected subscription, not "+le;Vt(le)},this.clearListeners=function(){s={}},this.subscribe=function(le,De,ie,ge){if(arguments.length<2)throw"Illegal arguments number: required 2, got "+arguments.length;if(!x(le))throw"Illegal argument type: channel must be a string";if(P())throw"Illegal state: already disconnected";R(De)&&(ge=ie,ie=De,De=void 0);var Ae=!sn(le),we=At(le,De,ie,!1);if(Ae){var Ne={channel:"/meta/subscribe",subscription:le},He=this._mixin(!1,{},ge,Ne);Y(He)}return we},this.unsubscribe=function(le,De){if(arguments.length<1)throw"Illegal arguments number: required 1, got "+arguments.length;if(P())throw"Illegal state: already disconnected";this.removeListener(le);var ie=le[0];if(!sn(ie)){var ge={channel:"/meta/unsubscribe",subscription:ie},Ae=this._mixin(!1,{},De,ge);Y(Ae)}},this.clearSubscriptions=function(){I()},this.publish=function(le,De,ie,ge){if(arguments.length<1)throw"Illegal arguments number: required 1, got "+arguments.length;if(!x(le))throw"Illegal argument type: channel must be a string";if(P())throw"Illegal state: already disconnected";R(De)?(ge=De,De=ie={}):R(ie)&&(ge=ie,ie={});var Ae={channel:le,data:De,_callback:ge},we=this._mixin(!1,{},ie,Ae);Y(we)},this.getStatus=function(){return t},this.isDisconnected=P,this.setBackoffIncrement=function(le){w.backoffIncrement=le},this.getBackoffIncrement=function(){return w.backoffIncrement},this.getBackoffPeriod=function(){return c},this.setLogLevel=function(le){w.logLevel=le},this.registerExtension=function(le,De){if(arguments.length<2)throw"Illegal arguments number: required 2, got "+arguments.length;if(!x(le))throw"Illegal argument type: extension name must be a string";for(var ie=!1,ge=0;ge<p.length;++ge){var Ae=p[ge];if(Ae.name===le){ie=!0;break}}return ie?(this._info("Could not register extension with name",le,"since another extension with the same name already exists"),!1):(p.push({name:le,extension:De}),this._debug("Registered extension",le),R(De.registered)&&De.registered(le,this),!0)},this.unregisterExtension=function(le){if(!x(le))throw"Illegal argument type: extension name must be a string";for(var De=!1,ie=0;ie<p.length;++ie){var ge=p[ie];if(ge.name===le){p.splice(ie,1),De=!0,this._debug("Unregistered extension",le);var Ae=ge.extension;R(Ae.unregistered)&&Ae.unregistered();break}}return De},this.getExtension=function(le){for(var De=0;De<p.length;++De){var ie=p[De];if(ie.name===le)return ie.extension}return null},this.getName=function(){return h},this.getClientId=function(){return o},this.getURL=function(){return w.url},this.getTransport=function(){return e},this.getConfiguration=function(){return this._mixin(!0,{},w)},this.getAdvice=function(){return this._mixin(!0,{},v)},C.cometd.WebSocket=window.WebSocket,C.cometd.WebSocket||(C.cometd.WebSocket=window.MozWebSocket)},C.cometd}.call(null,l,M,_),A!==void 0&&(_.exports=A)},function(_,M,l){"use strict";var A,C;A=[l(13)],C=l.dj.d(A,function(y){return class{constructor(h,d){y.assert(h!==void 0,"messageService must be defined"),y.assert(d!==void 0,"channelPrefixPromise must be defined"),y.assert(d.then!==void 0,"channelPrefixPromise must be a promise"),this._messageService=h,this._channelPrefixPromise=d,this._requestPromise=this._channelPrefixPromise}onChannelPrefix(){return this._channelPrefixPromise}queueRequest(h,d,n){let e=[this._requestPromise,this._channelPrefixPromise];h&&Symbol.iterator in h&&e.push(...h),this._requestPromise=Promise.all(e).then(d,function(t){n&&n(t)})}getMessageService(){return this._messageService}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(147),l(586),l(146),l(266),l(95),l(269),l(171),l(591),l(172),l(270),l(119),l(592),l(593)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s){"use strict";const c="mw-popout-arrow",f=[e.STANDARD,e.ERROR,e.WARNING,e.INFO,e.SUCCESS];class p extends y{static get properties(){return{referenceNode:{type:Object,reflect:!1,attribute:!1},content:{type:Object,reflect:!1,attribute:!0},header:{type:Object,reflect:!1,attribute:!0},footer:{type:Object,reflect:!1,attribute:!0},referenceSelector:{type:String,reflect:!0,attribute:!0},open:{type:Boolean,reflect:!0,attribute:!0},placement:{type:String,reflect:!0,attribute:!0},trigger:{type:String,reflect:!0,attribute:!0},type:{type:String,reflect:!0,attribute:!0}}}constructor(){super();if(this._referenceNode=null,this._open=!1,this._trigger="",d.setState(n.IDLE,this),this._referenceClicked=!1,this._hoverTimeOut=[],this._focusTimeOut=[],this._referenceSelector="",this._clickTriggerHandler=this._clickTriggerHandler.bind(this),this._handleHoverWithinPopout=this._handleHoverWithinPopout.bind(this),this._closeHandlerHover=this._closeHandlerHover.bind(this),this._closeHandlerFocus=this._closeHandlerFocus.bind(this),this._closeHandlerHoverOnReferenceNode=this._closeHandlerHoverOnReferenceNode.bind(this),this._closeHandlerHoverOnPopout=this._closeHandlerHoverOnPopout.bind(this),this._focusTriggerHandler=this._focusTriggerHandler.bind(this),this._hoverTriggerHandler=this._hoverTriggerHandler.bind(this),this._handleKeyboardScroll=this._handleKeyboardScroll.bind(this),this._handleKeyPress=this._handleKeyPress.bind(this),this._referenceObserver=null,this._onCurrentPopout=!1,this._onCurrentReferenceNode=!1,this.trigger="",this.placement="auto",this.type=e.STANDARD,this.currentTheme="",this.initializeProp("content"),!this.content){let g=document.createElement("div");g.slot="content",this.content=g}this.initializeProp("header"),this.initializeProp("footer"),this.addEventListener("keydown",this._handleKeyboardScroll)}initializeProp(g){let E=this.querySelector(`mw-popout > [slot=${g}]`);E&&(this[g]=E)}_handleKeyboardScroll(g){if(g.keyCode===t.TAB)return;let E=this.querySelector(".mw-popout-content");!E||document.activeElement===this.firstElementChild&&([r.ArrowDown,r.PageDown].includes(g.key)&&(E.scrollTop+=r.ScrollJump),[r.ArrowUp,r.PageUp].includes(g.key)&&(E.scrollTop-=r.ScrollJump),g.key===r.ArrowLeft&&(E.scrollLeft-=r.ScrollJump),g.key===r.ArrowRight&&(E.scrollLeft+=r.ScrollJump),g.preventDefault())}_attachTriggerListeners(g){g===o.HOVER?(this._addFocusTriggerListeners(),this._addHoverTriggerListeners()):g===o.CLICK&&this._addClickTriggerListeners()}connectedCallback(){super.connectedCallback(),d._createSRHelperNode(this);let{promise:g,observer:E}=i.observeElementInDom(this._referenceNode);this._referenceObserver=E,g.then(D=>{this._removeFromBody()})}set trigger(g){let E=this._trigger;!g||g&&!i.isTriggerValid(g)?this._trigger="":(this._attachTriggerListeners(g),this._trigger=g),this.requestUpdate("trigger",E)}get trigger(){return this._trigger}set type(g){let E=this._type;g=typeof g=="string"?g.toLowerCase():g,this._type=f.includes(g)?g:f.STANDARD,this.requestUpdate("type",E)}get type(){return this._type}set referenceNode(g){if(d.has(g))throw new Error("A popout already exists for this reference node.Pass a new reference node");this._cleanUp(!0),d.add(this,g),this._referenceNode=g,this._attachTriggerListeners(this.trigger)}get referenceNode(){return this._referenceNode}setProp(g){let E=this.querySelector(`mw-popout > [slot=${g}]`);if(E&&(this[g]=E),!this[g]){let D=this.querySelector(`mw-popout > [slot=${g}]`);D&&(this[g]=D)}this._arePopoutSectionsValid()||(this.open=!1),this._popperInstance&&this._popperInstance.update()}set open(g){let E=this._open;this._open!==g&&(g&&this._validate(),this._arePopoutSectionsValid()?this._open=g:this._open=!1,this._open?d.setState(n.SHOW,this):(d.setState(n.IDLE,this),this._destroyPopper()),this.requestUpdate("open",E))}get open(){return this._open}set referenceSelector(g){if(!i.isSelectorValid(g))throw new Error("Only class selector is supported at this moment.");let E=document.querySelector(g);this.referenceNode=E;let D=this._referenceSelector;this._referenceSelector=g,this.requestUpdate("referenceSelector",D)}get referenceSelector(){return this._referenceSelector}set placement(g){let E=this._placement;!g||g&&!i.isPlacementValid(g)?this._placement="auto":this._placement=g,this.requestUpdate("placement",E)}get placement(){return this._placement}_handleKeyPress(g){g.keyCode===t.TAB&&g.shiftKey&&(this.open=!1,d.clearState(n.CLOSED_EXTERNALLY),d.clearState(n.CURRENT_ACTIVE_ELEMENT)),g.keyCode===t.TAB&&this.open===!1&&(this._clearTimeoutsAndEvents(),d.clearState(n.CLOSED_EXTERNALLY),d.clearState(n.CURRENT_ACTIVE_ELEMENT)),g.keyCode===t.ENTER&&this.trigger===o.CLICK&&(this.open=!0)}_arePopoutSectionsValid(){return i.isSectionValid(this.content,"content")||i.isSectionValid(this.header,"header")}_clickTriggerHandler(){if(!this._arePopoutSectionsValid()){d.clearState(n.CURRENT_ACTIVE_ELEMENT),this.open=!1,this._referenceClicked=!1;return}this._trigger=o.CLICK,!this._referenceClicked||d.hasState(n.CLOSED_EXTERNALLY,this)&&!d.hasState(n.CURRENT_ACTIVE_ELEMENT,this)?(d.clearState(n.CLOSED_EXTERNALLY),d.setState(n.CURRENT_ACTIVE_ELEMENT,this),this.open=!0,this._referenceClicked=!0):(d.clearState(n.CURRENT_ACTIVE_ELEMENT),this.open=!1,this._referenceClicked=!1)}_focusTriggerHandler(){if(d.hasState(n.CLOSED_EXTERNALLY,this)){d.clearState(n.CLOSED_EXTERNALLY);return}if(d.hasState(n.CURRENT_ACTIVE_ELEMENT,this)&&this._type!==o.HOVER){d.clearState(n.CURRENT_ACTIVE_ELEMENT);return}if(!this._arePopoutSectionsValid())return;if(this.open){d.enableFocusManagement(this,{referenceNode:this._referenceNode});return}this._trigger=o.FOCUS,d.setState(n.CURRENT_ACTIVE_ELEMENT,this),d.setState(n.WAITING,this);let g=setTimeout(()=>{document.activeElement.isSameNode(this._referenceNode)?(d.setState(n.SHOW,this),this.open=!0):(this.open=!1,d.clearState(n.CURRENT_ACTIVE_ELEMENT),d.setState(n.IDLE,this))},500);this._focusTimeOut.push(g)}_closeHandlerFocus(g){this.contains(g.currentTarget)||this._referenceNode.contains(g.currentTarget)||(this._clearTimeoutsAndEvents(),this.open=!1)}_handleHoverWithinPopout(){this._onCurrentPopout=!0,this.open=!0}_hoverTriggerHandler(){if(this._onCurrentReferenceNode=!0,this.open||!this._arePopoutSectionsValid())return;this._trigger=o.HOVER,d.setState(n.WAITING,this);let g=setTimeout(()=>{d.setState(n.SHOW,this),this.open=!0},500);this._hoverTimeOut.push(g)}_closeHandlerHoverOnReferenceNode(g){this._onCurrentReferenceNode=!1,this._refNodeLeaveTimer=setTimeout(()=>{this._onCurrentPopout||(this._closeHandlerHover(g),clearTimeout(this._refNodeLeaveTimer))},o.CLOSE_DELAY)}_closeHandlerHoverOnPopout(g){this._onCurrentPopout=!1,this._popoutLeaveTimer=setTimeout(()=>{this._onCurrentReferenceNode||(this._closeHandlerHover(g),clearTimeout(this._popoutLeaveTimer))},o.CLOSE_DELAY)}_closeHandlerHover(g){d.handleFocus(this),this._clearTimeoutsAndEvents(),d.clearState(n.CLOSED_EXTERNALLY),d.setState(n.CURRENT_ACTIVE_ELEMENT,this),this.open=!1,clearTimeout(this._refNodeLeaveTimer)}_addClickTriggerListeners(){this._referenceNode.addEventListener("click",this._clickTriggerHandler),this._referenceNode.addEventListener("keydown",this._handleKeyPress)}_removeClickTriggerListeners(){this._referenceNode.removeEventListener("click",this._clickTriggerHandler),this._referenceNode.removeEventListener("keydown",this._handleKeyPress)}_addFocusTriggerListeners(){this._referenceNode.addEventListener("focus",this._focusTriggerHandler),this.addEventListener("blur",this._closeHandlerFocus),this._referenceNode.addEventListener("keydown",this._handleKeyPress),this._referenceNode.addEventListener("blur",this._closeHandlerFocus)}_addHoverTriggerListeners(){this._referenceNode.addEventListener("mouseenter",this._hoverTriggerHandler),this.addEventListener("mouseenter",this._handleHoverWithinPopout),this.addEventListener("mouseleave",this._closeHandlerHoverOnPopout),this._referenceNode.addEventListener("mouseleave",this._closeHandlerHoverOnReferenceNode)}_removeFocusTriggerListeners(){this._referenceNode.removeEventListener("focus",this._focusTriggerHandler),this.removeEventListener("blur",this._closeHandlerFocus),this._referenceNode.removeEventListener("keydown",this._handleKeyPress),this._referenceNode.removeEventListener("blur",this._closeHandlerFocus)}_removeHoverTriggerListeners(){this._referenceNode.removeEventListener("mouseenter",this._hoverTriggerHandler),this.removeEventListener("mouseenter",this._handleHoverWithinPopout),this.removeEventListener("mouseleave",this._closeHandlerHoverOnPopout),this._referenceNode.removeEventListener("mouseleave",this._closeHandlerHoverOnReferenceNode)}_validate(){if(!this._referenceNode)throw new Error("A valid referenceSelector must be provided to open a popout");if(!document.body.contains(this))throw new Error("Popout must be appended to document.body to open it")}_clearTimeoutsAndEvents(){this._hoverTimeOut&&clearTimeout(this._hoverTimeOut.pop()),this._focusTimeOut&&clearTimeout(this._focusTimeOut.pop())}_destroyPopper(g){this._popperInstance&&(this._popperInstance.destroy(),this._popperInstance=null,d.disableFocusManagement(this,{referenceNode:this._referenceNode,destroy:g}))}_detachEventListeners(){this.trigger===o.HOVER&&(this._removeFocusTriggerListeners(),this._removeHoverTriggerListeners()),this.trigger===o.CLICK&&this._removeClickTriggerListeners()}_cleanUp(g){d.has(this._referenceNode)&&(this._detachEventListeners(),this.removeEventListener("keydown",this._handleKeyboardScroll),this._referenceNode.hasAttribute("aria-describedby")&&this._referenceNode.removeAttribute("aria-describedby"),this._destroyPopper(!0),d.remove(this,this._referenceNode),i.stopObservingElement(this._referenceObserver),d.clearAllState(this),this.open&&(this.open=!1),d.clearState(n.IDLE,this),d.has(n.CURRENT_ACTIVE_ELEMENT,this)&&d.clear(n.CURRENT_ACTIVE_ELEMENT),this._clearTimeoutsAndEvents(),this._referenceNode=null,this._referenceClicked=!1,this._hoverTimeOut=[],this._focusTimeOut=[],this._referenceObserver=null,g?this._referenceSelector&&(this._referenceSelector=""):(this._resetPropsAndAttributes(),this._destroyed=!0,this.emit("destroy",{})))}_removeFromBody(){document.body.contains(this.renderRoot)&&this.renderRoot.parentNode.removeChild(this.renderRoot),this._destroyed||this._cleanUp()}_resetPropsAndAttributes(){this.content=null,this.header=null,this.footer=null,this.open=!1,this.trigger="",this._referenceSelector=""}show(){this.open=!0}close(){this.open=!1}_createPopper(){this._popperInstance||(this._popperInstance=s.createPopper(this._referenceNode,this.firstElementChild,{placement:this.placement,modifiers:i.getPopperModifiers(this.placement),strategy:"fixed"}),d.enableFocusManagement(this,{referenceNode:this._referenceNode}))}disconnectedCallback(){super.disconnectedCallback(),this._cleanUp()}firstUpdated(){if(this.hasAttribute("role")||this.setAttribute("role","tooltip"),!this.hasAttribute("id")){let g=i.generateUuid(),E="mw-popout"+g;this.setAttribute("id",E)}this._referenceNode&&this._referenceNode.setAttribute("aria-describedby",d.getScreenReaderHelperID(this.type))}update(g){super.update(g),this.setProp("content"),this.setProp("header"),this.setProp("footer"),g.has("open")&&this.open===!1&&this._destroyPopper()}getNode(g){let E;return this[g]&&this[g].slot===g?E=this[g]:this[g]&&typeof this[g]!="string"?(this[g].setAttribute("slot",g),E=this[g]):this[g]&&typeof this[g]=="string"&&(E=m`<div slot=${g}>${this[g]}</div>`,g==="header"&&(E=m`<div slot=${g}><h3>${this[g]}</h3></div>`)),E}_getContentClass(g){return this.type===e.STANDARD?g?"mw-popout-content-header":"":g?"mw-popout-content-icon-header":"mw-popout-content-icon"}render(){let g,E,D,F,w,x,R,T;return w=this.getNode("content"),x=this.getNode("header"),R=this.getNode("footer"),w||x?(T=this.type===e.STANDARD?null:m`<div class="mw-popout-type-icon"></div>`,D=x?m`<div class="mw-popout-header-footer mw-popout-header ${T?"mw-popout-header-with-icon":""}">${T}${x}</div>`:null,g=w?m`<div class="mw-popout-content ${this._getContentClass(x)}">${w}</div>`:null,F=R?m`<div class="mw-popout-header-footer mw-popout-footer">${R}</div>`:null,E=m`<div id="${c}" data-popper-arrow></div>`,m`
|
||
<div class="mw-popout-container" tabindex='0'>
|
||
${D}
|
||
<div class='mw-icon-content-wrapper'>
|
||
${x?null:T}
|
||
${g}
|
||
</div>
|
||
${F}
|
||
${E}
|
||
</div>`):null}willUpdate(g){let E=u.getTheme(this.referenceNode);E=E||a.LIGHT,this.currentTheme!==E&&(u.setTheme(E,this),this.currentTheme=E)}updated(){this._open?(document.body.contains(this.renderRoot)||document.body.appendChild(this.renderRoot),this._createPopper(),this.firstElementChild.setAttribute("open",!0),d.setZindex(this),this._updatedOpen||(this.emit("open",{}),this._updatedOpen=!0)):(this.firstElementChild&&this.firstElementChild.hasAttribute("open")&&this.firstElementChild.removeAttribute("open"),this._destroyed&&document.body.contains(this.renderRoot)&&this.renderRoot.parentNode.removeChild(this.renderRoot),this._updatedOpen=!1)}}return h({name:"mw-popout",widgetClass:p})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(267),l(268),l(587),l(119),l(95),l(172),l(590),l(269)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){"use strict";class o{constructor(){this._typesOfPopoutCount={},this._typesOfPopoutCount[r.STANDARD]=0,this._typesOfPopoutCount[r.ERROR]=0,this._typesOfPopoutCount[r.WARNING]=0,this._typesOfPopoutCount[r.INFO]=0,this._typesOfPopoutCount[r.SUCCESS]=0,this._numOfPopouts=0,this._handleClick=this._handleClick.bind(this),this._handleWindowBlur=this._handleWindowBlur.bind(this),this._handleKeyPressAndScroll=this._handleKeyPressAndScroll.bind(this),this._clickedOnScrollbar=this._clickedOnScrollbar.bind(this),this._handleMouseDown=this._handleMouseDown.bind(this),this._screenReaderHelper={}}has(i){return!!y.has(i)}getScreenReaderHelperID(i){return this._screenReaderHelper[i].id}_createSRHelperNode(i){this._typesOfPopoutCount[i.type]=this._typesOfPopoutCount[i.type]+1,this._typesOfPopoutCount[i.type]===1&&(this._screenReaderHelper[i.type]=document.createElement("div"),this._screenReaderHelper[i.type].className=t.CLASSNAME,this._screenReaderHelper[i.type].textContent=i.type===r.STANDARD?t.TEXT:this._getScreenReaderText(i.type),this._screenReaderHelper[i.type].id=this._generateScreenReaderHelperId(i.type),document.body.appendChild(this._screenReaderHelper[i.type]))}_generateScreenReaderHelperId(i){return t[`ID_${i.toUpperCase()}`]}_getScreenReaderText(i){let u=t.TEXT.split(" ");return u.splice(1,0,i),u.join(" ")}add(i,u){this._numOfPopouts=this._numOfPopouts+1,y.set(u,i),this._numOfPopouts===1&&this._attachListenerToDocument()}remove(i,u){y.delete(u),this._numOfPopouts===0&&this._detachListenerFromDocument(),this._typesOfPopoutCount[i.type]===0&&this._screenReaderHelper[i.type]&&(document.body.removeChild(this._screenReaderHelper[i.type]),this._screenReaderHelper[i.type]=null)}getPopout(i){return y.has(i)?y.get(i):null}enableFocusManagement(i,u){let{referenceNode:s,type:c}=u;h.set(s,i,c)}disableFocusManagement(i,u){let{referenceNode:s,destroy:c}=u;h.remove(s,i,c)}handleFocus(i){h.handle(i)}_handleClick(i){let u=this.getOpenPopout();u&&i.target!==u&&!u.contains(i.target)?this._closeAndHandleFocus(u):u&&(this.enableFocusManagement(u,{referenceNode:u.referenceNode,type:e.HOVER}),this.clearState(n.CLOSED_EXTERNALLY))}_handleKeyPressAndScroll(i){if(i.key==="Escape"||i.type==="scroll"||i.type==="scrollClick"){let u=this.getOpenPopout();u?this._closeAndHandleFocus(u):this.clearState(n.CLOSED_EXTERNALLY)}}_handleWindowBlur(i){let u=this.getOpenPopout();u&&(u.contains(i.relatedTarget)||(u?this._closeAndHandleFocus(u):this.clearState(n.CLOSED_EXTERNALLY)))}_closeAndHandleFocus(i){this.setState(n.CLOSED_EXTERNALLY,i),i.trigger===e.CLICK&&(i._referenceClicked=!1),this.handleFocus(i),i._clearTimeoutsAndEvents(),i.open=!1}_clickedOnScrollbar(i){if(document.documentElement.clientWidth<=i.clientX||document.documentElement.clientHeight<=i.clientY)return!0}_handleMouseDown(i){this._clickedOnScrollbar(i)&&this._handleKeyPressAndScroll({type:"scrollClick"})}_attachListenerToDocument(){document.addEventListener("click",this._handleClick,{capture:!0}),document.addEventListener("mousedown",this._handleMouseDown),window.addEventListener("blur",this._handleWindowBlur),document.addEventListener("keyup",this._handleKeyPressAndScroll),window.addEventListener("scroll",this._handleKeyPressAndScroll)}_detachListenerFromDocument(){document.removeEventListener("click",this._handleClick,{capture:!0}),document.removeEventListener("mousedown",this._handleMouseDown),window.removeEventListener("blur",this._handleWindowBlur),document.removeEventListener("keyup",this._handleKeyPressAndScroll),window.removeEventListener("scroll",this._handleKeyPressAndScroll)}setState(i,u){m.set(i,u)}hasState(i,u){return m.has(i,u)}clearState(i,u){m.clear(i,u)}clearAllState(i){m.clearAll(i)}getOpenPopout(){return m.get(n.SHOW)}setZindex(i){let u=d.calculateZindex(i);u!=="auto"&&(i.style.zIndex=u)}}return new o},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";class y{constructor(){this._popoutDepot=new WeakMap}clear(){this._popoutDepot=new WeakMap}delete(h){return this._popoutDepot.delete(h)}get(h){return this._popoutDepot.get(h)}has(h){return this._popoutDepot.has(h)}set(h,d){return this._popoutDepot.set(h,d),this}}return new y},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(95)],C=l.dj.d(A,function(y){"use strict";class m{constructor(){this._state={},this._state[y.WAITING]=null,this._state[y.SHOW]=null,this._state[y.IDLE]=[],this._state[y.CURRENT_ACTIVE_ELEMENT]=null,this._state[y.CLOSED_EXTERNALLY]=null,this._state[y.FOCUS_WITHIN]=null,this._keys=[y.WAITING,y.SHOW,y.IDLE,y.CURRENT_ACTIVE_ELEMENT,y.CLOSED_EXTERNALLY,y.FOCUS_WITHIN]}get(d){return this._state[d]||null}clear(d,n){if(n){let e=this._state[d].indexOf(n);e>-1&&this._state[d].splice(e,1)}else switch(d){case y.IDLE:this._state[d]=[];break;default:this._state[d]=null;break}}clearAll(d){this._keys.forEach(n=>{let e=this.get(n);e&&Array.isArray(e)?e.findIndex(t=>t===d)>-1&&this.clear(n,d):e===d&&this.clear(d)})}has(d,n){let e=this.get(d);if(e&&Array.isArray(e)){if(e.findIndex(t=>t===n)>-1)return!0}else if(e===n)return!0;return!1}set(d,n){switch(d){case y.SHOW:this._state[d]?this._state[d]&&this._state[d]!==n&&(this._state[d]._clearTimeoutsAndEvents(),this._state[d].open=!1,this._state[d]=n,this.clear(y.WAITING),this.clear(y.IDLE,n)):(this._state[d]=n,this.clear(y.WAITING),this.clear(y.IDLE,n));break;case y.IDLE:this._state[d].indexOf(n)===-1&&(this._state[d].push(n),this.get(y.WAITING)===n&&this.clear(y.WAITING),this.get(y.SHOW)===n&&this.clear(y.SHOW));break;case y.WAITING:this._state[d]?this._state[d]&&this._state[d]!==n&&(this._state[d]._clearTimeoutsAndEvents(),this._state[d].open=!1,this.set(y.IDLE,this._state[d]),this._state[d]=n,this.clear(y.IDLE,n)):(this._state[d]=n,this.clear(y.IDLE,n));break;case y.CURRENT_ACTIVE_ELEMENT:case y.CLOSED_EXTERNALLY:case y.FOCUS_WITHIN:this._state[d]=n;break}}}return new m},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({STANDARD:"standard",ERROR:"error",WARNING:"warning",INFO:"info",SUCCESS:"success"})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({LIGHT:"light",DARK:"dark"})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(10),l(11),l(27),l(50),l(41),l(37),l(38)],C=l.dj.d(A,function(y,m,h,d,n,e,t){return function(r){let o=!1;const a=y.create("div",{id:"Config",class:"config"});h.subscribe("expandConfig",function(v){o=v,o?m.add(a,"expand"):m.remove(a,"expand")});const i={showComments:!0,showAnnotation:null,showCodeMetrics:null,showCodeProfiling:null,cmOn:null,showCoverage:null,covType:null,covOn:null,cpOn:null,domNode:a,refresh:s};n.subscribe("toggleAnnotation",v=>{const g=v.flag;r.data.review=g,i.showAnnotation=g,r.refresh()}),y.create("div",{class:"v-dots",onclick:function(){o=!o,o?m.add(a,"expand"):m.remove(a,"expand")}},a);const u=y.create("div",{id:"ConfigPane",class:"contents"},a);return i;function s(){this.showAnnotation===null&&(this.showAnnotation=r.data.review),this.showAnnotation?m.add(r.domNode,"show-annotation"):m.remove(r.domNode,"show-annotation"),u.innerHTML="";const v=c();if(u.appendChild(v),!t.readonly){if(t.component!=="HDL"){const g=f();u.appendChild(g)}if(r.data.review){const g=p();u.appendChild(g)}}t.component!=="HDL"&&(y.create("hr",{},u),y.create("div",{class:"standalone-report",textContent:d.getString("SimulinkCoderApp:report:LaunchStandaloneReport"),onclick:function(){n.publish({action:"LaunchStandaloneReport"})}},u))}function c(){const v=y.create("div",{id:"ConfigDispGroup",class:"group"});y.create("div",{class:"title",textContent:d.getString("SimulinkCoderApp:report:ConfigGroup_Display")},v);const g=y.create("div",{id:"ConfigCommentsGroup",class:"item"},v);y.create("input",{id:"ConfigComments",class:"checkbox",type:"checkbox",checked:i.showComments,onchange:function(){i.showComments=this.checked,r.highlightor.updateCurrent(),r.show()}},g),y.create("label",{for:"ConfigComments",textContent:d.getString("SimulinkCoderApp:report:ShowComments")},g),y.create("div",{class:"item",textContent:d.getString("SimulinkCoderApp:report:ConfigCodeFolding")+":"},v);const E=y.create("div",{id:"ConfigCodeFolding",class:"item"},v);return y.create("button",{id:"ConfigFoldAll",class:"button",textContent:d.getString("SimulinkCoderApp:report:ConfigCodeFolding_FoldAll"),onclick:function(){e.expandAll(!1)}},E),y.create("button",{id:"ConfigExpandAll",class:"button",textContent:d.getString("SimulinkCoderApp:report:ConfigCodeFolding_ExpandAll"),onclick:function(){e.expandAll(!0)}},E),v}function f(){const v=y.create("div",{id:"ConfigAnalysisGroup",class:"group"});y.create("div",{class:"title",textContent:d.getString("SimulinkCoderApp:report:ConfigGroup_Analysis")},v);const g=r.data.cm;let E;g?(E=!0,i.showCodeMetrics===null?i.cmOn=!0:i.cmOn=i.showCodeMetrics):(i.cmOn=!1,E=!1);const D=y.create("div",{id:"ConfigCodeMetrics",class:"item"},v),F=y.create("input",{id:"ConfigShowCodeMetrics",class:"checkbox",type:"checkbox",checked:i.cmOn,onchange:function(){i.showCodeMetrics=this.checked,i.cmOn=this.checked}},D),w=y.create("label",{for:"ConfigShowCodeMetrics",textContent:d.getString("SimulinkCoderApp:report:ConfigShowCodeMetrics")},D);if(E||(F.setAttribute("disabled",""),m.add(w,"disabled")),y.create("div",{class:"link",onclick:function(){n.publish({action:"configset",param:"GenerateCodeMetricsReport"})}},D),r.data.coverage){const B=r.data.coverage;if(Array.isArray(B)){const P=B.map(function(H){const V=H.files;return Boolean(V&&V.length)}),L=P.some(function(H){return H});L?i.showCoverage===null?i.covOn=!0:i.covOn=i.showCoverage:i.covOn=!1,B.forEach(function(H,V){P[V]||H.id===i.covType&&(i.covType=null)}),i.covType===null&&B.some(function(H,V){if(P[V])return i.covType=H.id,!0});const O=y.create("div",{id:"ConfigCoverage",class:"item"},v),W=y.create("input",{id:"ConfigShowCoverage",class:"checkbox",type:"checkbox",checked:i.covOn,onchange:function(){i.showCoverage=this.checked,i.covOn=this.checked,i.showCoverage?m.add(r.domNode,"show-coverage"):m.remove(r.domNode,"show-coverage"),r.refresh()}},O),j=y.create("label",{for:"ConfigShowCoverage",textContent:d.getString("SimulinkCoderApp:report:ConfigShowCoverage")},O);L||(W.setAttribute("disabled",""),m.add(j,"disabled")),y.create("div",{class:"link",onclick:function(){n.publish({action:"configset",param:"CodeCoverageSettings"})}},O);const K=y.create("div",{id:"ConfigCoverageSelect",class:"options"},v);B.forEach(function(H,V){const $=H.id,G=P[V],Q=y.create("div",{class:"option"},K),J=y.create("input",{type:"radio",id:$,value:$,name:"covType",checked:$===i.covType,onchange:function(X){i.covType=X.target.value,r.refresh()}},Q),Y=y.create("label",{for:$,textContent:H.name},Q);(!i.covOn||!G)&&(J.setAttribute("disabled",""),m.add(Y,"disabled"))})}}const x=r.data.profiling;let R;x?(R=!0,i.showCodeProfiling===null?i.cpOn=!0:i.cpOn=i.showCodeProfiling):(i.cpOn=!1,R=!1);const T=y.create("div",{id:"ConfigCodeProfiling",class:"item"},v),S=y.create("input",{id:"ConfigShowCodeProfiling",class:"checkbox",type:"checkbox",checked:i.cpOn,onchange:function(){i.showCodeProfiling=this.checked,i.cpOn=this.checked,r.refresh()}},T),I=y.create("label",{for:"ConfigShowCodeProfiling",textContent:d.getString("SimulinkCoderApp:report:ConfigShowCodeProfiling")},T);return R||(S.setAttribute("disabled",""),m.add(I,"disabled")),y.create("div",{class:"link",onclick:function(){n.publish({action:"configset",param:"CodeExecutionProfiling"})}},T),v}function p(){const v=y.create("div",{id:"ConfigReviewGroup",class:"group"});y.create("div",{class:"title",textContent:d.getString("SimulinkCoderApp:report:ConfigGroup_Review")},v);const g=y.create("div",{id:"ConfigAnnotationGroup",class:"item"},v);return y.create("input",{id:"ConfigAnnotation",class:"checkbox",type:"checkbox",checked:i.showAnnotation,onchange:function(){i.showAnnotation=this.checked,i.showAnnotation?m.add(r.domNode,"show-annotation"):m.remove(r.domNode,"show-annotation")}},g),y.create("label",{for:"ConfigAnnotation",textContent:d.getString("SimulinkCoderApp:report:ShowAnnotation")},g),v}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(1),l(12),l(11),l(8),l(0),l(4),l(43),l(72),l(21),l(138),l(35)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u){var s=m("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments),y.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(f){this.watch(f,e.hitch(this,"_setStateClass"))},this);for(var c in this.cssStateNodes||{})this._trackMouseState(this[c],this.cssStateNodes[c]);this._trackMouseState(this.domNode,this.baseClass),this._setStateClass()},_cssMouseEvent:function(c){if(!this.disabled)switch(c.type){case"mouseover":case"MSPointerOver":case"pointerover":this._set("hovering",!0),this._set("active",this._mouseDown);break;case"mouseout":case"MSPointerOut":case"pointerout":this._set("hovering",!1),this._set("active",!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":this._set("active",!0);break;case"mouseup":case"dojotouchend":case"MSPointerUp":case"pointerup":case"keyup":this._set("active",!1);break}},_setStateClass:function(){var c=this.baseClass.split(" ");function f(F){c=c.concat(y.map(c,function(w){return w+F}),"dijit"+F)}this.isLeftToRight()||f("Rtl");var p=this.checked=="mixed"?"Mixed":this.checked?"Checked":"";this.checked&&f(p),this.state&&f(this.state),this.selected&&f("Selected"),this._opened&&f("Opened"),this.disabled?f("Disabled"):this.readOnly?f("ReadOnly"):this.active?f("Active"):this.hovering&&f("Hover"),this.focused&&f("Focused");var v=this.stateNode||this.domNode,g={};y.forEach(v.className.split(" "),function(F){g[F]=!0}),"_stateClasses"in this&&y.forEach(this._stateClasses,function(F){delete g[F]}),y.forEach(c,function(F){g[F]=!0});var E=[];for(var D in g)E.push(D);v.className=E.join(" "),this._stateClasses=c},_subnodeCssMouseEvent:function(c,f,p){if(this.disabled||this.readOnly)return;function v(D){d.toggle(c,f+"Hover",D)}function g(D){d.toggle(c,f+"Active",D)}function E(D){d.toggle(c,f+"Focused",D)}switch(p.type){case"mouseover":case"MSPointerOver":case"pointerover":v(!0);break;case"mouseout":case"MSPointerOut":case"pointerout":v(!1),g(!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":g(!0);break;case"mouseup":case"MSPointerUp":case"pointerup":case"dojotouchend":case"keyup":g(!1);break;case"focus":case"focusin":E(!0);break;case"blur":case"focusout":E(!1);break}},_trackMouseState:function(c,f){c._cssState=f}});return r(function(){function c(v,g,E){if(!(E&&h.isDescendant(E,g))){for(var D=g;D&&D!=E;D=D.parentNode)if(D._cssState){var F=u.getEnclosingWidget(D);F&&(D==F.domNode?F._cssMouseEvent(v):F._subnodeCssMouseEvent(D,D._cssState,v))}}}var f=a.body(),p;t(f,o.over,function(v){c(v,v.target,v.relatedTarget)}),t(f,o.out,function(v){c(v,v.target,v.relatedTarget)}),t(f,i.press,function(v){p=v.target,c(v,p)}),t(f,i.release,function(v){c(v,p),p=null}),t(f,"focusin, focusout",function(v){var g=v.target;if(g._cssState&&!g.getAttribute("widgetId")){var E=u.getEnclosingWidget(g);E&&E._subnodeCssMouseEvent(g,g._cssState,v)}})}),s},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(0),l(10),l(4),l(606)],C=l.dj.d(A,function(y,m,h,d,n){return y(null,{_iconTypes:{DATA_URI:"data_uri",PATH_URI:"path_uri",CSS_CLASS:"css_class",SVG_ICON:"svg_icon"},icon:"",_lastIconApplied:"",_lastSvgIconApplied:void 0,_lastSvgNode:void 0,postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwIconMixin"),this.set("icon",this.get("icon"))},_setIconAttr:function(e){this._set("icon",e),this._updateDOM(e)},_updateDOM:function(e){this._removeOldIcon(),this._applyNewIcon(e)},_removeOldIcon:function(){var e=this._lastIconApplied,t=this._getIconType(e);if(t===this._iconTypes.DATA_URI||t===this._iconTypes.PATH_URI)this._removeImageStyles(this.iconNode);else if(t===this._iconTypes.CSS_CLASS&&e!==""){var r=e.trim().split(" ");r.forEach(function(o){this.iconNode.classList.remove(o)},this)}this._removeOldSvgIcon()},_applyNewIcon:function(e){var t=this._getIconType(e);if(t===this._iconTypes.DATA_URI||t===this._iconTypes.PATH_URI){var r=h.create("img",{src:e});this.own(d.once(r,"load",m.hitch(this,function(){this._applyImageStyles(this.iconNode,e,r),this.emit("iconapplied"),this.emit("updatelayout"),h.destroy(r)}))),this._lastIconApplied=e}else if(t===this._iconTypes.CSS_CLASS){if(e!==""){var o=e.trim().split(" ");o.forEach(function(i){this.iconNode.classList.add(i)},this)}this._lastIconApplied=e}else if(t===this._iconTypes.SVG_ICON&&n.getInstance()&&e.hasOwnProperty("id")){var a={};Object.assign(a,e),this._lastSvgIconApplied=a,n.getInstance().getIcon(e).then(function(i){this.iconNode&&this._lastSvgIconApplied===a&&(this.iconNode.appendChild(i),this.iconNode.style.height=e.height+"px",this.iconNode.style.width=e.width+"px",this._lastSvgNode=i)}.bind(this))}t!==this._iconTypes.SVG_ICON&&e.length===0||t===this._iconTypes.SVG_ICON&&!e.hasOwnProperty("id")?this.domNode.classList.add("mwNoIcon"):this.domNode.classList.remove("mwNoIcon")},_removeOldSvgIcon:function(){this.iconNode&&this._lastSvgIconApplied&&(this._lastSvgNode&&this.iconNode.removeChild(this._lastSvgNode),this._lastSvgIconApplied=void 0,this._lastSvgNode=void 0)},_getIconType:function(e){return typeof e=="object"?this._iconTypes.SVG_ICON:e.indexOf("data:")>-1?this._iconTypes.DATA_URI:e.match(/\./)?this._iconTypes.PATH_URI:this._iconTypes.CSS_CLASS},_applyImageStyles:function(e,t,r){e.style.backgroundImage='url("'+t+'")',e.style.width=r.width+"px",e.style.height=r.height+"px"},_removeImageStyles:function(e){e.style.backgroundImage="",e.style.width="",e.style.height=""}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(36),l(48),l(53)],C=l.dj.d(A,function(y,m){return m(y,"css2",l.dj.c(),!0)},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(22)],C=l.dj.d(A,function(h){var d=function(){function n(){m(this,n)}return y(n,null,[{key:"calculateRangeEnd",value:function(t,r,o){return Number(r)+Math.ceil(o/t)}},{key:"calcVisible",value:function(t,r){return Number(t)+Number(r)-1}},{key:"calculateFirstVisible",value:function(t,r){return Math.max(0,Math.floor(r/t))}},{key:"sum",value:function(t,r){return Number(t)+Number(r)}},{key:"roundedDivision",value:function(t,r){return Math.floor(r/t)}},{key:"calculateMaxFirstVisible",value:function(t,r){return Math.max(0,t-r)}},{key:"min2",value:function(t,r){return Math.min(t,r)}},{key:"max2",value:function(t,r){return Math.max(t,r)}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({LEFT:"left",RIGHT:"right",CENTER:"center",DEFAULT:"default"});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(122),l(276),l(626)],C=l.dj.d(A,function(h,d,n){"use strict";var e=16,t=function(a,i){var u=a.iconSize&&a.iconSize[i]&&Number.isInteger(a.iconSize[i])?a.iconSize[i]:e;return u},r=function(){function o(a){m(this,o),this._getlabelNode=this._getlabelNode.bind(this),this._alignment=d.DEFAULT,a&&a.alignment&&(this._alignment=a.alignment),this.iconAction=!0}return y(o,[{key:"getTooltip",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",u=void 0;return i&&i.label&&(u={text:i.label}),u}},{key:"getDomNode",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",u=arguments[1],s=document.createDocumentFragment(),c=document.createElement("span");c.className="mw-icon-label-renderer";var f=i&&i.hasOwnProperty("label"),p=void 0,v=i&&i.iconId,g={height:e,width:e};if(i&&i.iconUri?p=i.iconUri:p=i,p&&p.length>0||v){var E=Boolean(!f&&this._alignment!==d.DEFAULT),D=void 0;if(v){D=document.createElement("span"),E&&(g.height=t(i,"height"),g.width=t(i,"width"));var F=n.getIconByIdDom(v,g);D.appendChild(F)}else D=document.createElement("img"),i&&i.a11y&&i.a11y.iconDescription&&D.setAttribute("alt",i.a11y.iconDescription),D.setAttribute("src",encodeURI(p));D.className="mw-data-icon-renderer",!f&&this._alignment!==d.DEFAULT&&(this._alignment===d.CENTER?D.className="mw-data-icon-renderer-center":this._alignment===d.LEFT?D.className="mw-data-icon-renderer-left":this._alignment===d.RIGHT&&(D.className="mw-data-icon-renderer-right")),D.setAttribute("data-test-id","icon1"),c.appendChild(D)}if(f){var w=this._getlabelNode(i.label,u);w&&c.appendChild(w)}return s.appendChild(c),s}},{key:"handleAction",value:function(i){return!0}},{key:"_createLabelElement",value:function(){var i=document.createElement("span");return i}},{key:"_getlabelNode",value:function(i,u){var s=void 0;if(i){var c=i.toString();s=this._createLabelElement(),s.setAttribute("data-region",!0),h.metaHasHighlightMatches(u)?(s.setAttribute("data-test-id","highlightLabel"),h.appendHighlightDom(s,c,u)):(s.textContent=c.trim(),s.setAttribute("data-test-id","label1"))}return s}}]),o}();return r.ALIGNMENT=d,r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function d(n,e){var t=[],r=!0,o=!1,a=void 0;try{for(var i=n[Symbol.iterator](),u;!(r=(u=i.next()).done)&&(t.push(u.value),!(e&&t.length===e));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&i.return&&i.return()}finally{if(o)throw a}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(3),l(5),l(19),l(79),l(630),l(7)],C=l.dj.d(A,function(d,n,e,t,r,o){"use strict";var a=function(){function i(u){h(this,i),this._viewModel=u.viewModel,this._baseColumnConfig=Object.create(this._viewModel.getColumnHeaders()),this._orderedColumnConfig=Object.create(this._baseColumnConfig),this._computedHeaderWidths=[],this._customMapping=this._getMapping(),this.setColumnConfig(this.getColumnConfig()),this.setColumnHeaderConfig(this.getColumnHeaderConfig()),this.columnReorder=this.columnReorder.bind(this)}return m(i,[{key:"eventList",value:function(){var s=this,c={};return c[n.protected.COL_HEADER_MOUNT]=function(f){return s._storePixelWidths(f.event)},c[n.protected.COL_RESIZE]=function(f){return s._swapPercentsForPixels(f.event)},c}},{key:"exposedAPI",value:function(){return{getColumnConfig:this.getColumnConfig.bind(this),setColumnConfig:this.setColumnConfig.bind(this),getColumnHeaderConfig:this.getColumnHeaderConfig.bind(this),setColumnHeaderConfig:this.setColumnHeaderConfig.bind(this)}}},{key:"exposedTreeTableAPIs",value:function(){return{getColumnConfig:this.getColumnConfig.bind(this),setColumnConfig:this.setColumnConfig.bind(this),getColumnHeaderConfig:this.getColumnHeaderConfig.bind(this),setColumnHeaderConfig:this.setColumnHeaderConfig.bind(this)}}},{key:"columnReorder",value:function(s){var c=this.getColumnConfig(),f=s.columnId,p=s.targetIndex,v={columnId:f},g=this._viewModel.getSpanningHeaders(),E=this._indexLookupById(f,g),D=this._columnParentLookup(p,g),F=g?g[f]:void 0,w={index:p,targetParent:D},x=void 0;if(E&&E.length>0?(v.colIndexs=E,v.sourceParent=F,x=c.moveByParentColumnId(v,w)):x=c.moveColumn(v,w),!x)throw new Error("The move failed for column "+f+".");var R=this._determineNextSortColumnIndex(c);this._setColumnConfig(c,R)}},{key:"_determineNextSortColumnIndex",value:function(s){var c={},f=this._getExistingSortColumn();if(f.value&&f.column!==-1){var p=this._computeNewSortColumn(f.column,this._orderedColumnConfig.indexOf(s._moves[0].item),s._moves[0].toIndex);c.value=f.value,c.rangeList=[o.range().setRows(0,1/0).setColumns(p,p)]}return c}},{key:"_computeNewSortColumn",value:function(s,c,f){if(s===c)return f;if(c<f)return s<c||s>f?s:s-1;if(c>f)return s>c||s<f?s:s+1}},{key:"_getExistingSortColumn",value:function(){var s=this._viewModel.getStateByKey(d.protected.SORTED);return s&&s.value&&s.rangeList?{value:s.value,column:s.rangeList[0].columns.start}:{}}},{key:"_indexLookupById",value:function(s,c){if(!!c){var f=c[s];if(!!f)return e.rangeArray(f.colStartIndex,f.colEndIndex)}}},{key:"_columnParentLookup",value:function(s,c){var f=this._baseColumnConfig[s];if(f&&f.parentId)return c[f.parentId]}},{key:"_columnsNotPaged",value:function(s){var c=s.length||this._viewModel.dataSize.columns.end;return t.notEnoughColumnsToPage(c)}},{key:"_storePixelWidths",value:function(s){var c=s.width,f=s.column,p=this._viewModel.getColumnHeaders();if(this._columnsNotPaged(p)){var v=f;p[f]&&(v=this._customMapping[p[f].columnId]),this._computedHeaderWidths[v]=c}}},{key:"_swapPercentsForPixels",value:function(){var s=this,c=this._viewModel.getColumnHeaders();this._columnsNotPaged(c)&&this._baseColumnConfig.forEach(function(f,p){f.width={value:s._computedHeaderWidths[p],unit:"px"}}),this.setColumnConfig(this.getColumnConfig()),this._swapPercentsForPixels=function(){return!0},this._storePixelWidths=function(){return!0}}},{key:"_removeHiddenColumns",value:function(){for(var s=Object.create(this._orderedColumnConfig),c=0;c<s.length;c+=1){var f=s[c].hideable!==void 0?s[c].hideable:!0;s[c].hidden&&f&&s.length>1&&(s.splice(c,1),c-=1)}return this._autoFillMissingPercentageWidth(s),this._updateColumnHeaderIndex(s),s}},{key:"_updateColumnHeaderIndex",value:function(s){for(var c=!1,f=0,p=0;p<s.length;p+=1)s[p-1]&&s[p]&&s[p-1].parentId!==s[p].parentId&&(c=!1),s[p].parentId&&!c&&(f+=1,c=!0),s[p].parentId||(f+=1,c=!1),s[p].columnHeaderIndex=f}},{key:"_autoFillMissingPercentageWidth",value:function(s){var c=t.validateColPct(s),f=y(c,2),p=f[0],v=f[1];if(v>-1){var g=Object.create(s[v]);Object.keys(s[v]).forEach(function(E){g[E]=s[v][E]}),g.width={value:g.width.value+p,unit:"%"},s[v]=g}}},{key:"_mergeBaseItem",value:function(s,c){return Object.assign(s,c)}},{key:"_moveColumns",value:function(s){var c=this;s.forEach(function(f){var p=c._orderedColumnConfig.indexOf(f.item);c._orderedColumnConfig.splice(p,1),c._orderedColumnConfig.splice(f.toIndex,0,f.item)})}},{key:"_getMapping",value:function(){var s=[],c=Object.create(s);return this._baseColumnConfig.forEach(function(f,p){var v=p.toString();s.push(p),v!==f.columnId&&(c[f.columnId]=p)}),c}},{key:"getColumnConfig",value:function(){return r(this._baseColumnConfig,this._customMapping)}},{key:"setColumnConfig",value:function(s){return this._setColumnConfig(s)}},{key:"_setColumnConfig",value:function(s){var c=this,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Object.keys(s).forEach(function(p){var v=c._customMapping[p],g=c._mergeBaseItem(c._baseColumnConfig[p],s[p]);if(!t.parseHeaderConfig(g,v))throw new Error("Column Configuration is not valid for column with id: "+p+", label: "+(g||{}).label)}),this._moveColumns(s._moves),this._customMapping=this._getMapping(),this._viewModel.setColumnHeaders(this._removeHiddenColumns()),this._viewModel._setPreviousSortState(f.value,f.rangeList),this._viewModel.setState(d.protected.COLUMN_CONFIG,!0)}},{key:"getColumnHeaderConfig",value:function(){return Object.assign({},this._viewModel.getColumnHeaderConfig())}},{key:"setColumnHeaderConfig",value:function(s){var c=["hideColumnHeader"];Object.keys(s).forEach(function(p){if(c.includes(p)&&s[p]&&typeof s[p]!="boolean")throw new Error("Invalid value '"+s[p]+"' set for '"+p+"' field.")});var f=this.getColumnHeaderConfig();f.hideColumnHeader!==s.hideColumnHeader&&this._viewModel.setColumnHeaderConfig(s)}},{key:"treeTableEmits",get:function(){return[]}},{key:"emits",get:function(){return[]}}]),i}();return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(0)],C=l.dj.d(A,function(h){var d=function(){function n(){m(this,n)}return y(n,null,[{key:"mergeEnums",value:function(t,r){for(var o in r)t.hasOwnProperty(o)?h.mixin(t[o],r[o]):t[o]=r[o];return t}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(279),l(5)],C=l.dj.d(A,function(y,m){var h=y.mergeEnums({internal:{TREE_DISCLOSURE_CLICK:"treeDisclosureClick",TREE_CELL_DOUBLE_CLICK:"treeCellDoubleClick",EMIT_SELECTION_EVENT:"emitSelectionEvent",EMIT_CONTEXT_MENU:"emitContextMenu",TABLE_RIGHT_CLICK:"tableRightClick",INTERACTIVE_CELL_CLICK:"interactiveCellClick",CHECKBOX_CLICKED:"checkBoxClicked",CHECKBOX_STATUS_CHANGE_REQUESTED:"checkboxStatusChangeRequested"},exposed:{SELECTION_CHANGED:"selectionChanged",CONTEXT_MENU:"contextMenu",HEADER_MENU:"headerMenuRequested",ICON_ACTION:"iconAction",CHECK_CHANGED:"checkChanged",SCROLL_VIEW_CHANGED:"scrollViewChanged"},protected:{COL_HEADER_MOUNT:"colHeaderDidMount",COL_RESIZE:"colResize"}},m);return Object.freeze(h)},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(97),l(178),l(23),l(32)],C=l.dj.d(A,function(h,d,n,e){var t=function(){function r(){m(this,r)}return y(r,null,[{key:"isKeyBindingInHandlerList",value:function(a,i,u){return u&&i&&a?u.some(function(s){if(s&&s[d.KEY_CODE]&&s[d.KEY_HANDLER_NAME])return r.isKeyCodeEqual(a,s)&&s[d.KEY_HANDLER_NAME]===i}):!1}},{key:"isKeyCodeEqual",value:function(a,i){var u=!1;return Array.isArray(a)&&Array.isArray(i[d.KEY_CODE])?u=e.isArrayMatching(a,i[d.KEY_CODE]):u=i[d.KEY_CODE]===a,u}},{key:"isPlatformInTheList",value:function(a,i){return a&&i?a.some(function(u){if(u)return u===i}):!1}},{key:"isThePlatformInObject",value:function(a,i){return a&&Array.isArray(a)&&i?a.includes(i)||a.includes(h.internal.ALL)||i===h.internal.ALL:!1}},{key:"findPropertyInTheObject",value:function(a,i,u){return u&&i&&a?u.find(function(s){if(s&&s[d.KEY_CODE]&&s[d.KEY_HANDLER_NAME])return r.isKeyCodeEqual(a,s)&&s[d.KEY_HANDLER_NAME]===i}):!1}},{key:"findKeyCodeInTheList",value:function(a,i,u){return u.find(function(s){return s[d.KEY_CODE]===a&&r.isThePlatformInObject(s[d.PLATFORMS],i)})}},{key:"getModifierLookupList",value:function(){return{altKey:!1,ctrlKey:!1,meta:!1,shiftKey:!1}}},{key:"getModifierKeyCodeState",value:function(a){var i=e.containsKeyCode(n.CTRL,a),u=e.containsKeyCode(n.SHIFT,a),s=e.containsKeyCode(n.ALT,a),c=e.containsKeyCode(n.META,a);return{ctrlKey:i,shiftKey:u,altKey:s,meta:c}}},{key:"getKeyCodeArray",value:function(a){var i=[];if(a){var u=!0,s=!1,c=void 0;try{for(var f=a[Symbol.iterator](),p;!(u=(p=f.next()).done);u=!0){var v=p.value,g=v;if(!r.keyCodeLookUpArray().includes(g)&&!r.getValidModifierList().includes(g))throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc");r.getValidModifierList().includes(g)||i.push(g)}}catch(E){s=!0,c=E}finally{try{!u&&f.return&&f.return()}finally{if(s)throw c}}}return i}},{key:"getModifierKeyCodeList",value:function(a){var i=r.getModifierKeyCodeState(a),u=i.ctrlKey,s=i.shiftKey,c=i.altKey,f=i.meta,p=r.getModifierLookupList();for(var v in p)v===d.CTRL_KEY?p[v]=u:v===d.SHIFT_KEY?p[v]=s:v===d.ALT_KEY?p[v]=c:v===d.META&&(p[v]=f);return p}},{key:"keyCodeLookUpArray",value:function(){return[n.F2,n.ENTER,n.BACKSPACE,n.DELETE,n.ARROW_DOWN]}},{key:"getValidModifierList",value:function(){return[n.ALT,n.META,n.SHIFT,n.CTRL]}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(644),l(648),l(649),l(650),l(653),l(655),l(285),l(658),l(662),l(664),l(666),l(289),l(685),l(686),l(687)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f){"use strict";var p=Object.freeze({AVAILABLE:{CellFocus:[y,u],SingleRowSelection:[m,u],MultiRowSelection:[h,y,u],CellSelection:[d,h,y,u],ColumnResize:n,IndividualColumnSort:e,RowHeaders:t,DragAndDrop:r,Search:a,Clipboard:i,HeaderMenu:o,ScrollSync:f},INCOMPATIBLE:[[d,h,m]],CONTROLLERS:[[u,s]],EXPERIMENTAL_ADAPTORS:{SizingAdaptor:c}});return p},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h=function(){function e(){m(this,e)}return y(e,null,[{key:"chain",value:function(r){return e}},{key:"therefore",value:function(r,o){return r}}]),e}(),d=function(){function e(){m(this,e)}return y(e,null,[{key:"Something",value:function(r,o){return{chain:function(i){return r.maybe(i(o))},therefore:function(i,u){return u(o)}}}}]),e}(),n=function(){function e(){m(this,e)}return y(e,null,[{key:"maybe",value:function(r){return r===null||typeof r=="undefined"?h:d.Something(e,r)}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7),l(16),l(19),l(68),l(3),l(5),l(23)],C=l.dj.d(A,function(h,d,n,e,t,r,o){"use strict";var a=function(){function i(u){m(this,i);var s=new d;this._emit=s.emit.bind(s),this.on=s.on.bind(s),this.viewModel=u.viewModel,this.viewModel.setState(t.SELECT_ROW_HEADERS,!0),this._events={}}return y(i,[{key:"_setPivot",value:function(s){var c=n.curry(e.fitRangeToBounds)(this.viewModel.dataSize.rows.end,this.viewModel.dataSize.columns.end),f=h.range().setRows(s.rows.start,s.rows.start).setColumns(s.columns.start,s.columns.start),p=c(f);p&&this.viewModel.setState(t.protected.PIVOT,null,[p])}},{key:"_getSelectedRangeList",value:function(){var s=this.viewModel.getStateByKey(t.protected.SELECTED);return s?s.rangeList:[]}},{key:"_getFittedRange",value:function(s){var c=n.curry(e.fitRangeToBounds)(this.viewModel.dataSize.rows.end,this.viewModel.dataSize.columns.end);return s.map(c).filter(function(f){return f!=null})}},{key:"setContiguousRows",value:function(s){var c=this.viewModel.getStateByKey(t.protected.PIVOT),f=this.viewModel.getStateByKey(t.protected.FOCUSED),p=void 0;c?p=c.rangeList[0]:f?p=f.rangeList[0]:p=h.range().setRows(0,0).setColumns(0,0);var v=Math.min(p.rows.start,s.rows.start),g=Math.max(p.rows.start,s.rows.start),E=[h.range().setEntireRows(v,g)];this.viewModel.setState(t.protected.SELECTED,null,this._getFittedRange(E))}},{key:"setIndividualRow",value:function(s){var c=h.range().setEntireRows(s.rows.start,s.rows.start);this._setPivot(s),this.setSelectionState([c])}},{key:"setAllRows",value:function(){var s=h.range().setEntireColumns(0,1/0);this.setSelectionState([s])}},{key:"setDiscontiguousRow",value:function(s){this._setPivot(s);var c=h.range().setEntireRows(s.rows.start,s.rows.start),f=this._getSelectedRangeList().concat(),p=this.isRowSelected(c);if(p>-1){var v=this.splitRange(f[p],c);f.splice(p,1),f=f.concat(v)}else f.push(c);this.setSelectionState(f)}},{key:"splitRange",value:function(s,c){var f=void 0,p=void 0,v=[];return s.rows.start===s.rows.end?[]:s.rows.start===c.rows.start?(f=c.rows.start+1,p=s.rows.end,v.push(h.range().setEntireRows(f,p)),v):s.rows.end===c.rows.start?(p=c.rows.end-1,f=s.rows.start,v.push(h.range().setEntireRows(f,p)),v):(v.push(h.range().setEntireRows(s.rows.start,c.rows.start-1)),v.push(h.range().setEntireRows(c.rows.end+1,s.rows.end)),v)}},{key:"isRowSelected",value:function(s){var c=s.rows.start,f=s.rows.end,p=this._getSelectedRangeList(),v=-1,g=n.find(p,function(E){return v++,E.rows.start<=c&&E.rows.end>=f});return g?v:-1}},{key:"eventList",value:function(){var s=this,c={};return c[r.protected.TABLE_CELL_CLICK]=function(f){return s._emit(r.protected.CELL_SELECTION_CLICK,f.event)},c[r.internal.TABLE_KEY_PRESS]=function(f){return s._processAndEmitKeyPress(f)},c[r.protected.TABLE_DBL_CLICK]=function(f){return s._handleDoubleClick(f)},c[r.protected.ROW_SELECTION_CLICK]=function(f){return s._emit(r.protected.CELL_SELECTION_CLICK,f.event)},c}},{key:"_processAndEmitKeyPress",value:function(s){var c=s.event,f=c,p=e.getActiveCell(this.viewModel);this._pivot=p,f.modifiers=c,f.dataSize={},f.viewPort={},f.dataSize=s.dataSize,f.viewPort=s.viewPort.rangeList[0],p&&p.rows&&(f.row=p.rows.start),this._emit(r.protected.CELL_SELECTION_KEY,f),c.keyCode===o.ENTER&&this._emit(r.protected.TABLE_SELECTED_ACTION,{selectedRange:this.getSelectionState()})}},{key:"_handleDoubleClick",value:function(s){this._emit(r.protected.TABLE_SELECTED_ACTION,{selectedRange:this.getSelectionState()})}},{key:"setSelectionState",value:function(s){this.viewModel.setState(t.protected.SELECTED,null,this._getFittedRange(s))}},{key:"getSelectionState",value:function(){var s=this.viewModel.getStateByKey(t.protected.SELECTED);return s?s.rangeList:null}}]),i}();return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function h(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}A=[l(657)],C=l.dj.d(A,function(n){"use strict";var e=function(){function t(r,o){d(this,t),this.adaptor=r.adaptor,this.adaptor.setConfig(o)}return y(t,[{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[]}}],[{key:"config",value:function(o){var a=function(i){h(u,i);function u(s){return d(this,u),m(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,s,o))}return u}(t);return a}},{key:"adaptor",get:function(){return n}}]),t}();return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){const y={"application/atom+xml":{extensions:["atom"]},"application/java-archive":{extensions:["jar","war","ear"]},"application/javascript":{extensions:["js"]},"application/json":{extensions:["json"]},"application/mac-binhex40":{extensions:["hqx"]},"application/msword":{extensions:["doc"]},"application/octet-stream":{extensions:["bin","exe","dll","deb","dmg","iso","img","msi","msp","msm"]},"application/pdf":{extensions:["pdf"]},"application/postscript":{extensions:["ps","eps","ai"]},"application/rss+xml":{extensions:["rss"]},"application/rtf":{extensions:["rtf"]},"application/vnd.apple.mpegurl":{extensions:["m3u8"]},"application/vnd.google-earth.kml+xml":{extensions:["kml"]},"application/vnd.google-earth.kmz":{extensions:["kmz"]},"application/vnd.ms-excel":{extensions:["xls"]},"application/vnd.ms-fontobject":{extensions:["eot"]},"application/vnd.ms-powerpoint":{extensions:["ppt"]},"application/vnd.oasis.opendocument.graphics":{extensions:["odg"]},"application/vnd.oasis.opendocument.presentation":{extensions:["odp"]},"application/vnd.oasis.opendocument.spreadsheet":{extensions:["ods"]},"application/vnd.oasis.opendocument.text":{extensions:["odt"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extensions:["docx"]},"application/vnd.wap.wmlc":{extensions:["wmlc"]},"application/wasm":{extensions:["wasm"]},"application/x-7z-compressed":{extensions:["7z"]},"application/x-cocoa":{extensions:["cco"]},"application/x-java-archive-diff":{extensions:["jardiff"]},"application/x-java-jnlp-file":{extensions:["jnlp"]},"application/x-makeself":{extensions:["run"]},"application/x-perl":{extensions:["pl","pm"]},"application/x-pilot":{extensions:["prc","pdb"]},"application/x-rar-compressed":{extensions:["rar"]},"application/x-redhat-package-manager":{extensions:["rpm"]},"application/x-sea":{extensions:["sea"]},"application/x-shockwave-flash":{extensions:["swf"]},"application/x-stuffit":{extensions:["sit"]},"application/x-tcl":{extensions:["tcl","tk"]},"application/x-x509-ca-cert":{extensions:["der","pem","crt"]},"application/x-xpinstall":{extensions:["xpi"]},"application/xhtml+xml":{extensions:["xhtml"]},"application/xspf+xml":{extensions:["xspf"]},"application/zip":{extensions:["zip"]},"audio/midi":{extensions:["mid","midi","kar"]},"audio/mpeg":{extensions:["mp3"]},"audio/ogg":{extensions:["ogg"]},"audio/x-m4a":{extensions:["m4a"]},"audio/x-realaudio":{extensions:["ra"]},"font/woff":{extensions:["woff"]},"font/woff2":{extensions:["woff2"]},"image/gif":{extensions:["gif"]},"image/jpeg":{extensions:["jpeg","jpg"]},"image/png":{extensions:["png"]},"image/*":{extensions:["png"]},"image/svg+xml":{extensions:["svg","svgz"]},"image/tiff":{extensions:["tif","tiff"]},"image/vnd.wap.wbmp":{extensions:["wbmp"]},"image/webp":{extensions:["webp"]},"image/x-icon":{extensions:["ico"]},"image/x-jng":{extensions:["jng"]},"image/x-ms-bmp":{extensions:["bmp"]},"text/css":{extensions:["css"]},"text/html":{extensions:["html","htm","shtml"]},"text/mathml":{extensions:["mml"]},"text/plain":{extensions:["txt"]},"text/vnd.sun.j2me.app-descriptor":{extensions:["jad"]},"text/vnd.wap.wml":{extensions:["wml"]},"text/x-component":{extensions:["htc"]},"text/xml":{extensions:["xml"]},"video/3gpp":{extensions:["3gpp","3gp"]},"video/mp2t":{extensions:["ts"]},"video/mp4":{extensions:["mp4"]},"video/mpeg":{extensions:["mpeg","mpg"]},"video/quicktime":{extensions:["mov"]},"video/webm":{extensions:["webm"]},"video/x-flv":{extensions:["flv"]},"video/x-m4v":{extensions:["m4v"]},"video/x-mng":{extensions:["mng"]},"video/x-ms-asf":{extensions:["asx","asf"]},"video/x-ms-wmv":{extensions:["wmv"]},"video/x-msvideo":{extensions:["avi"]}};return{convert(m){if(y[m]){const h=y[m].extensions;if(h.length>0)return"file.".concat(h[0])}return"file"}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({TEXT_HTML:"text/html",TEXT_PLAIN:"text/plain",TEXT_URI_LIST:"text/uri-list",IMAGE:"image/*",INDETERMINATE_TYPE:"INDETERMINATE_TYPE",FILES:"Files",KIND_FILE:"file",KIND_STRING:"string",ACTION:"application/mw-clipboard-action"})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";return{createTextBox:function(){let m=document.createElement("textarea");const h=m.style;return h.position="fixed",h.top=h.opacity="0",h.left="-999px",m.setAttribute("aria-hidden","true"),m.value=" ",document.body.appendChild(m),m},addEventListener:function(m,h,d,n={}){return m.addEventListener(h,d,n),()=>{m.removeEventListener(h,d,n)}},copy:function(m){const h=document.activeElement;m.select(),m.focus(),m.setSelectionRange(0,m.value.length);let d=document.execCommand("copy");return h&&h.focus(),d},destroy:function(m){m.remove()}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(124),l(19),l(179),l(684),l(180),l(23),l(3),l(5),l(22),l(32),l(16)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a,i,u,s){"use strict";var c=function(){function f(p){m(this,f);var v=p.viewModel;this._viewModel=v,this._logicalViewPort=p.viewPortList[0],this._activeCell=new e(p),this._handler={},this._handler[r.PAGE_UP]=this._handlePageUp.bind(this),this._handler[r.PAGE_DOWN]=this._handlePageDown.bind(this),this._handler[r.END]=this._handleEnd.bind(this),this._handler[r.HOME]=this._handleHome.bind(this),this._handler[r.ARROW_LEFT]=this._handleArrowLeft.bind(this),this._handler[r.ARROW_UP]=this._handleArrowUp.bind(this),this._handler[r.ARROW_RIGHT]=this._handleArrowRight.bind(this),this._handler[r.ARROW_DOWN]=this._handleArrowDown.bind(this),this._rowRects=function(){return{}},this._headerRects=function(){return{}},this._rowCellRects=function(){return{}},this.cellNav=new n(v);var g=new s;this.on=g.on.bind(g)}return y(f,[{key:"exposedAPI",value:function(){return{scrollTo:this.scrollTo.bind(this)}}},{key:"eventList",value:function(){var v=this,g={};return g[a.protected.TABLE_CELL_CLICK]=function(E){return v._rowClicked(E.event)},g[a.internal.TABLE_KEY_PRESS]=function(E){return v._processAndEmitKeyPress(E)},g[a.protected.HEADER_RECTS]=function(E){return v._setHeaderRects(E)},g[a.protected.ROW_RECTS]=function(E){return v._setRowRects(E)},g[a.protected.ROW_CELL_RECTS]=function(E){return v._setRowCellRects(E)},g}},{key:"_rowCellRectsHeaderFallback",value:function(v){var g=this._rowCellRects(v);return Object.keys(g).length===0&&v.row!==void 0&&v.col===void 0?this._headerRects():g}},{key:"scrollTo",value:function(v){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{maintainPositionIfInView:!0},E=this;function D(){if(!(v&&Object.keys(v).length))return new Promise(function(x,R){return R(new Error("The usage of Cell Range argument - "+v+" is not correct in scrollTo API. Please check JSDoc to see the correct usage."))});var F=!1,w=!1;return v.rows&&(v.rows&&v.rows.count>0&&(w=E._scrollToRow(v,g.maintainPositionIfInView)),v.columns&&v.columns.count>0&&(F=E._scrollToColumn(v,g.maintainPositionIfInView))),F===!1&&w===!1?new Promise(function(x){x()}):new Promise(function(x){E._viewModel.on("viewDataChanged",x)})}return D()}},{key:"_scrollToColumn",value:function(v,g){var E=Math.min(this._viewModel.dataSize.columns.count-1,v.columns.start),D=Math.min(this._viewModel.dataSize.rows.count-1,v.rows.start),F=this._rowCellRectsHeaderFallback({row:D}),w=this._logicalViewPort.getWidth(),x=this._getScrollRect(),R=!0,T=this.cellNav.getColPosition(E,x,w,F);if(g)if(v.columns.start!==v.columns.end){var S=this.cellNav.getColPosition(Math.min(this._viewModel.dataSize.columns.count-1,v.columns.end),x,w,F);R=!(T==null&&S==null)}else R=T!=null;if(R){var I=this.cellNav.getScrollLeftPosition(E,F);R=this._logicalViewPort.setScrollLeftPx(I)}return R}},{key:"_scrollToRow",value:function(v,g){var E=Math.min(this._viewModel.dataSize.rows.count-1,v.rows.start),D=this._logicalViewPort.getHeight(),F=this._rowRects(),w=this._getScrollRect(),x=!0,R=this.cellNav.getRowPosition(w,F,E,D);if(g)if(v.rows.start!==v.rows.end){var T=this.cellNav.getRowPosition(w,F,v.rows.end,D);x=!(R==null&&T==null)}else x=R!=null;if(x){var S=this.cellNav.getScrollTopPosition(E,F);x=this._logicalViewPort.setScrollTopPx(S)}return x}},{key:"_setRowRects",value:function(v){this._rowRects=v.event.children}},{key:"_setHeaderRects",value:function(v){this._headerRects=v.event.children}},{key:"_setRowCellRects",value:function(v){this._rowCellRects=v.event.children}},{key:"_hasModifier",value:function(v){return!1}},{key:"_getActiveState",value:function(){var v=this._viewModel.getStateByKey(o.protected.ACTIVE_CELL);return v||void 0}},{key:"_processAndEmitKeyPress",value:function(v){var g=v.event,E={keyCode:g.keyCode};E.modifiers=g,E.dataSize={},E.viewPort={},E.dataSize=v.dataSize,E.viewPort=v.viewPort.rangeList[0],E.viewModel=this._viewModel,E.headerRects=this._headerRects,E.rowCellRects=this._rowCellRects,E.currentState=this._getActiveState(),this._keyPressed(E)}},{key:"_rowClicked",value:function(v){var g=h.getRangeForCell(v.row,v.column);this._viewModel.setState(o.protected.ACTIVE_CELL,null,[g])}},{key:"_getLastRowPositionForHeight",value:function(){var v=this._logicalViewPort.getHeight();return d.curry(this.cellNav.getScrollBottomPosition)(v)}},{key:"_getRightColPositionForWidth",value:function(){var v=this._logicalViewPort.getWidth();return d.curry(this.cellNav.getScrollRightPosition)(v)}},{key:"_getScrollRect",value:function(){var v=this._logicalViewPort.getBoundingRect(),g=v.height-this._logicalViewPort.getHeight(),E=v.width-this._logicalViewPort.getWidth();return{top:v.top,left:v.left,bottom:v.bottom-g,right:v.right-E}}},{key:"_handleVertical",value:function(v,g,E){var D=this.cellNav.getCurrent(v,"rows"),F=Math.max(0,this.cellNav.getCurrent(v,"columns")),w=g(D),x=this._getScrollRect(),R=this._logicalViewPort.getWidth(),T=null,S=this.cellNav.getColPosition(F,x,R,this._rowCellRectsHeaderFallback({row:D})),I=this._rowRects(),B=I[w]||{},P=t.map(B,[["top","prev"],["bottom","next"]]),L=t.map(x,[["top","prev"],["bottom","next"]]);return this.cellNav.isInRange(L,P)||(T=E(w,I)),this.cellNav.setCellMeta(T,S,w,F)}},{key:"_handlePageUp",value:function(v){var g=d.curry(this.cellNav.decrement)(v.dataSize.rows.start,v.viewPort.rows.count);return this._handleVertical(v,g,this.cellNav.getScrollTopPosition)}},{key:"_handlePageDown",value:function(v){var g=d.curry(this.cellNav.increment)(v.dataSize.rows.end,v.viewPort.rows.count);return this._handleVertical(v,g,this._getLastRowPositionForHeight())}},{key:"_handleArrowUp",value:function(v){var g=d.curry(this.cellNav.decrement)(v.dataSize.rows.start,1);return this._handleVertical(v,g,this.cellNav.getScrollTopPosition)}},{key:"_handleArrowDown",value:function(v){var g=d.curry(this.cellNav.increment)(v.dataSize.rows.end,1);return this._handleVertical(v,g,this._getLastRowPositionForHeight())}},{key:"_hasCtrlModifier",value:function(v){return v.modifiers?v.modifiers.ctrlKey:!1}},{key:"_hasCmdModifier",value:function(v){if(v.modifiers)return v.modifiers.meta||v.modifiers.metaKey}},{key:"_handleHome",value:function(v){if(this._hasCtrlModifier(v))return this._handleCtrlHomeEnd(v,!1);if(!this._hasCmdModifier(v)){var g=function(){return 0};return this._handleHorizontal(v,g,this.cellNav.getScrollLeftPosition)}}},{key:"_handleEnd",value:function(v){if(this._hasCtrlModifier(v))return this._handleCtrlHomeEnd(v,!0);if(!this._hasCmdModifier(v)){var g=function(){return v.dataSize.columns.end},E=this._handleHorizontal(v,g,this._getRightColPositionForWidth());return E.leftScrollFn=this._logicalViewPort.setScrollRightPx,E}}},{key:"_handleCtrlHomeEnd",value:function(v,g){var E=Math.max(0,this.cellNav.getCurrent(v,"rows")),D=v.dataSize.columns.start,F=v.dataSize.rows.start;g===!0&&(D=v.dataSize.columns.end,F=v.dataSize.rows.end);var w=this._rowCellRectsHeaderFallback({row:E}),x=w[D]||{},R=this._rowRects(),T=R[F]||{},S=this._getScrollRect(),I=this._logicalViewPort.getWidth(),B=t.map(x,[["left","prev"],["right","next"]]),P=t.map(T,[["top","prev"],["bottom","next"]]),L=t.map(S,[["left","prev"],["right","next"]]),O=null,W=null;this.cellNav.isInRange(L,B)||(O=this.cellNav.getScrollRightPosition(I,D,w)),this.cellNav.isInRange(L,P)||(W=this.cellNav.getScrollTopPosition(F,R));var j=this.cellNav.setCellMeta(W,O,F,D);return j.scrollInPixels.scrollFn=d.curry(this._getRightColPositionForWidth())(D),j.leftScrollFn=this._logicalViewPort.setScrollRightPx,j}},{key:"_handleHorizontal",value:function(v,g,E){var D=Math.max(0,this.cellNav.getCurrent(v,"rows")),F=this.cellNav.getCurrent(v,"columns"),w=g(F),x=this._rowCellRectsHeaderFallback({row:D}),R=x[w]||{},T=this._getScrollRect();R.width===i.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN&&(w=this._getCollapseColumnFocus(F,w,x,v.dataSize),w===-1&&(w=F));var S=t.map(R,[["left","prev"],["right","next"]]),I=t.map(T,[["left","prev"],["right","next"]]),B=null,P=this._rowRects(),L=this.cellNav.getRowPosition(T,P,D,this._logicalViewPort.getHeight());this.cellNav.isInRange(I,S)||(B=E(w,x));var O=this.cellNav.setCellMeta(L,B,D,w);return O.scrollInPixels.scrollFn=d.curry(E)(w),O}},{key:"_getCollapseColumnFocus",value:function(v,g,E,D){var F=-1,w=g>v,x=D&&D.columns?D.columns.end:0,R=D&&D.columns?D.columns.start:0;if(w)for(var T=g;T<=x;T++){var S=E[T]||{};if(S.width>i.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN){F=T;break}}else for(var I=g;I>=R;I--){var B=E[I]||{};if(B.width>i.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN){F=I;break}}return F}},{key:"_handleArrowLeft",value:function(v){var g=d.curry(this.cellNav.decrement)(v.dataSize.columns.start,1),E=this._handleHorizontal(v,g,this.cellNav.getScrollLeftPosition);return E.leftScrollFn=this._logicalViewPort.setScrollLeftPx,E}},{key:"_handleArrowRight",value:function(v){var g=d.curry(this.cellNav.increment)(v.dataSize.columns.end,1),E=this._getRightColPositionForWidth(),D=this._handleHorizontal(v,g,E);return D.leftScrollFn=this._logicalViewPort.setScrollRightPx,D}},{key:"_keyPressed",value:function(v){if(!this._hasModifier(v)){var g=this._handler[v.keyCode];if(g){var E=g(v);E.leftScrollFn=E.leftScrollFn||this._logicalViewPort.setScrollLeftPx,E.topScrollFn=this._logicalViewPort.setScrollTopPx,this._activeCell.setActiveCell(E)}}}}]),f}();return c},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({ASYNC:"async",SYNC:"sync"});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(130),l(699),l(121),l(120),l(2)],C=l.dj.d(A,function(y,m,h,d,n){var e=function(o,a,i,u){if(o){var s=o.getDomNode(i,u);return a&&(s.className=a),s}return null},t=function(o){var a=n.useRef(),i=o.renderer,u=o.eventCallback,s=o.metaData,c=o.treeNodeRendererClassName,f=c===void 0?"":c,p=o.noToolTip,v=p===void 0?!1:p,g=o.treeCellContentClassName,E=g===void 0?"":g,D=o.useEditorRendererDataFields,F=o.value,w=y(u),x=w.handleMouseOverWithRenderer,R=d().getDisplayValue(F,h.RENDERER,D),T=v?function(){}:function(I){return x(I.target,"customRender",R,i)};n.useLayoutEffect(function(){var I=e(i,E,R,s);I&&a.current&&!a.current.firstChild?a.current.appendChild(I):I&&a.current&&a.current.firstChild&&m.replaceFirstNode(a.current,I,a.current.firstChild)},[R,i,s]);var S=[f,"mw-table-cell-span"];return n.createElement("span",{className:S.join(" "),ref:a,onMouseOver:T})};return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){var e=[],t=!0,r=!1,o=void 0;try{for(var a=d[Symbol.iterator](),i;!(t=(i=a.next()).done)&&(e.push(i.value),!(n&&e.length===n));t=!0);}catch(u){r=!0,o=u}finally{try{!t&&a.return&&a.return()}finally{if(r)throw o}}return e}return function(d,n){if(Array.isArray(d))return d;if(Symbol.iterator in Object(d))return h(d,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h};A=[l(701),l(30),l(121),l(120),l(19),l(702),l(2)],C=l.dj.d(A,function(h,d,n,e,t,r,o){"use strict";var a=null,i=function(D,F){var w=F||h,x=new w(D,{});return x},u=function(D,F){var w=void 0;return m(D.editProcessing)==="object"&&m(F.editProcessing)==="object"?w=Object.entries(D.editProcessing).toString()===Object.entries(F.editProcessing).toString():w=D.editProcessing===F.editProcessing,D.value===F.value&&w},s=function(D){var F=D.CustomEditor,w=D.editProcessing,x=D.editTrigger,R=D.handleEditComplete,T=D.handleEditCanceled,S=D.handleEditValidation,I=D.handleProcessEdit,B=D.eventCallback,P=D.useEditorRendererDataFields,L=D.isTreeCell,O=D.isCustomHeight,W=D.cellRef,j=D.metaData,K=j===void 0?{}:j,H=D.value,V=o.useRef(),$=8,G=12,Q=4,J=22,Y=e().getDisplayValue(H,n.EDITOR,P),X=O&&W?W.offsetHeight:null;X&&(W.style.height=X+"px");var Z=X?{height:X-Q+"px"}:null,q=L?$:G,ee=o.useState(Y),re=y(ee,1),he=re[0],me=o.useState(!1),se=y(me,2),te=se[0],oe=se[1],ue=[],ce=function(ke,Ge){if(!a){a=i(ke,F),V.current.appendChild(a.getDomNode(ke,Ge)),ue.push(a.on("editComplete",function(ht){return c(ht,ve,V.current)})),ue.push(a.on("editCanceled",function(ht){return c(ht,T,V.current)})),ue.push(a.on("editValidation",function(ht){return S(ht)})),ue.push(a.on("processEdit",function(ht){return I(ht)})),a.setFocus();var rt=a._domNode&&a._domNode.querySelector("input");if(X&&rt&&X-q>J&&(rt.style.height=X-q+"px"),x){var ut=a.getDomNode(ke,Ge).getElementsByClassName("mwTableTextEditor")[0];ut&&g(x,ut)}}},ve=function(ke){var Ge=e().getValueToSave(H,ke.newValue,n.EDITOR,P),rt=Ge.oldValue,ut=Ge.valueToSave;return ke.oldValue=rt,ke.newValue=ut,R(ke)},Se=function(){X&&(W.style.height="auto"),ue&&ue.forEach(function(ke){return ke.remove()}),V.current.contains(document.activeElement)&&(W?W.focus():d.setFocusCache(B)),a&&a.destroy&&a.destroy(),a=null};return o.useEffect(function(){return ce(Y,K),function(){Se()}},[]),o.useEffect(function(){he!==Y&&T&&T()},[Y]),o.useEffect(function(){var Be=a&&a.update,ke=w&&w.validationResult,Ge=w&&!w.validationResult;oe(!!Ge),Be&&ke&&f(w,a)},[w]),o.createElement(o.Fragment,null,o.createElement(r,{loading:te,style:Z}),o.createElement("span",{className:te?"mw-table-indicator-hide":"",ref:V,onMouseDown:p}))};return o.memo(s,u);function c(E,D,F){if(v(F)){D(E);return}t.toPromise().then(function(){return D(E)})}function f(E,D){var F=E.validationResult,w=E.newValue;F.validatedData=w,D.update(E.oldValue,{validationResult:F})}function p(E){E.stopPropagation()}function v(E){return E.contains(document.activeElement)||!1}function g(E,D){var F=!1;function w(){F=!0}D.addEventListener("keypress",w),setTimeout(function(){F||(D.value===E.value&&(D.value=""),D.value=E.value),D.removeEventListener("keypress",w)},0)}},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(m){for(var h=1;h<arguments.length;h++){var d=arguments[h];for(var n in d)Object.prototype.hasOwnProperty.call(d,n)&&(m[n]=d[n])}return m};A=[l(706),l(30),l(32),l(2)],C=l.dj.d(A,function(m,h,d,n){"use strict";var e=function(r,o){return function(a){var i=a.row,u=a.column,s=a.editState,c=a.eventCallback,f=a.editProcessing,p=a.editType,v=a.cellMetaData,g=v===void 0?!1:v,E=a.columnId,D=E===void 0?"":E,F=function(){var B=m.getEditEventByType(p,"enterEditEvent");c&&c(B,{row:i,column:u})},w=function(B){var P=B.newValue,L=P===void 0?"":P,O=B.oldValue,W={newValue:L,row:i,column:u,oldValue:O};if(g){var j=g.value;W={newValue:L,row:i,column:u,oldValue:O,node:j,columnId:D}}var K=m.getEditEventByType(p,"editCompleteEvent");c&&c(K,W)},x=function(B){B&&(B.row=i,B.column=u);var P=B,L="",O="";if(g){var W=g.value;B&&(L=B.newValue,O=B.oldValue);var j=B&&B.validationResult;P={newValue:L,row:i,column:u,oldValue:O,node:W,columnId:D,validationResult:j}}var K=m.getEditEventByType(p,"editCanceledEvent");c&&(s||s>=0)&&c(K,P)},R=function(B){var P=B.newValue,L=P===void 0?"":P,O=B.oldValue,W=void 0;if(g){var j=g.value;W={newValue:L,row:i,column:u,oldValue:O,node:j,columnId:D}}else W={newValue:L,row:i,column:u,oldValue:O};var K=m.getEditEventByType(p,"processEditEvent");c&&s&&c(K,W)},T=function(B){var P=void 0,L={row:i,column:u};if(B){var O=d.getCellInfo(B);P=O.isDisclosureTarget,L=O.cellInfo}if(!P){var W=void 0;return(!s||s.rowIndex!==i&&s.colIndex!==u)&&!f&&(W=F),h.emitDoubleClickEvent(c,L,W)}},S=function(B){var P=m.getEditEventByType(p,"editValidationEvent");c&&c(P,B)};return n.createElement(r,y({},a,{onDoubleClick:T,enterEditMode:F,handleEditComplete:w,handleEditCanceled:x,handleEditValidation:S,handleProcessEdit:R,type:o}))}};return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(122)],C=l.dj.d(A,function(h){"use strict";var d=function(){function n(e){m(this,n),this.config=e,this._getDomNodeWithHighlight=this._getDomNodeWithHighlight.bind(this),this._getDomNodeByValue=this._getDomNodeByValue.bind(this)}return y(n,[{key:"getTooltip",value:function(t){return typeof t=="number"&&(t=t.toString()),{text:t}}},{key:"getDomNode",value:function(t,r){return h.metaHasHighlightMatches(r)?this._getDomNodeWithHighlight(t,r):this._getDomNodeByValue(t)}},{key:"_getDomNodeByValue",value:function(t){var r=document.createElement("div");return r.style.textOverflow="ellipsis",t===void 0&&(t=""),r.textContent=t,r.style.overflow="hidden",r.className="mw-string-renderer",r}},{key:"_getDomNodeWithHighlight",value:function(t,r){var o=document.createElement("div");return o.setAttribute("data-test-id","highlightText"),o.style.textOverflow="ellipsis",o.style.overflow="hidden",o.className="mw-string-renderer",h.appendHighlightDom(o,t,r),o}}]),n}();return d},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{isPrimary:function(m){return m.isPrimary||m.pointerId===1||m.button===0||m.constructor.name==="Touch"},getXY:function(m){return{x:m.clientX,y:m.clientY}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(83),l(131),l(295)],C=l.dj.d(A,function(y,m,h){var d=h.getXY,n=m.getTimestamp,e=y.getCenter,t=y.getAngle,r=y.getSpread,o=y.computeDistance,a=y.computeDirection;return{calculateProperties:function(u,s){var c=u.map(d);return{center:e(c),angle:t(c),spread:r(c),timestamp:n(s)}},compareProperties:function(u,s,c){s||(s=u),c||(c=s);var f=u.timestamp-c.timestamp,p=o(c.center,u.center);return{center:{current:u.center,initial:s.center,previous:c.center,delta:o(s.center,u.center),velocity:{x:p.x/f,y:p.y/f},direction:a(c.center,u.center)},angle:{current:u.angle,initial:s.angle,previous:c.angle,delta:u.angle-s.angle,velocity:(u.angle-c.angle)/f},spread:{current:u.spread,initial:s.spread,previous:c.spread,delta:u.spread-s.spread,velocity:(u.spread-c.spread)/f},timestamp:{current:u.timestamp,initial:s.timestamp,previous:c.timestamp,delta:u.timestamp-s.timestamp}}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(132),l(715),l(716),l(717)],C=l.dj.d(A,function(y,m,h,d){var n=y.addDomListener,e=!!window.PointerEvent,t="ontouchstart"in window,r=1e3,o=25,a=e?[m]:t?[h,d]:[d],i=!e&&t,u={mousedown:!0,mousemove:!0,mouseup:!0},s={pointerdown:!0,pointermove:!0,pointerup:!0},c={touchstart:!0,touchmove:!0,touchend:!0,touchcancel:!0},f=function(D,F){var w=D.clientX,x=D.clientY,R=Date.now();if(F._softTimestamp+r<=R)return!1;var T=F.changedTouches;for(var S in T)if(T.hasOwnProperty(S)&&S!=="length"){var I=T[S],B=I.clientX,P=I.clientY,L=Math.abs(w-B),O=Math.abs(x-P);if(L<=o&&O<=o)return!0}return!1},p=function(D){return D&&D.type&&u[D.type]},v=function(D){return D&&D.type&&s[D.type]},g=function(D){return D&&D.type&&c[D.type]};return{isTouchEvent:g,isPointerEvent:v,isMouseEvent:p,getActiveImplementations:function(){return a},getImplementationForEvent:function(D){var F=null;return p(D)&&(F=d),v(D)&&(F=m),g(D)&&(F=h),F},addListenersToRemovable:function(D,F,w,x,R){return D.forEach(function(T){for(var S in x)if(x.hasOwnProperty(S)){var I=x[S];F.own(n(w,T[S],I,R))}}),F},updateLastTouch:function(D,F){var w=F;return g(D)&&(D._softTimestamp=Date.now(),w=D),w},isCompatibilityEvent:function(D,F){var w=!1;return F&&p(D)&&i&&(w=f(D,F)),w}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(0),l(133),l(33),l(57),l(83),l(131)],C=l.dj.d(A,function(h,d,n,e,t,r){var o=t.arePointsWithinRadius,a=r.isWithinTimeout,i=e.getCenterPoint,u=e.getTimestamp,s=e.createTimeout,c=function(){function f(p){m(this,f),this.options=h.mixin({numTaps:1,maxRadius:1,maxTouchRadius:20,maxHold:250,tapDelay:250},p||{}),this.observable=n(),this.reset()}return y(f,[{key:"setOptions",value:function(v){this.options=h.mixin(this.options,v||{}),this.reset()}},{key:"_emitTimeout",value:function(){this.observable.emit(s())}},{key:"onDown",value:function(v){this.resetTimers(),this.holdTimer.start(),this.latestDown=v;var g=this._checkUpToDownDelay(),E=this._checkUpToDownDistance();(!g||!E)&&(this.latestUp=null,this.tapCount=0)}},{key:"onUp",value:function(v){this.resetTimers(),this.eventTimer.start(),this.latestUp=v,this._updateTapCount()}},{key:"_isActivePress",value:function(){var v=this.latestDown&&this.latestUp,g=!!this.latestDown;return v?u(this.latestUp)>u(this.latestDown):g}},{key:"_checkUpToDownDelay",value:function(){var v=!0;return this.tapCount!==0&&!a(u(this.latestUp),u(this.latestDown),this.options.tapDelay)&&(v=!1),v}},{key:"_checkUpToDownDistance",value:function(){var v=!0;return this.tapCount!==0&&!o(i(this.latestUp),i(this.latestDown),this.latestDown&&this.latestDown.srcEvent&&this.latestDown.srcEvent.pointerType==="touch"?this.options.maxTouchRadius:this.options.maxRadius)&&(v=!1),v}},{key:"_updateTapCount",value:function(){var v=this._isActivePress(),g=o(i(this.latestDown),i(this.latestUp),this.latestDown&&this.latestDown.srcEvent&&this.latestDown.srcEvent.pointerType==="touch"?this.options.maxTouchRadius:this.options.maxRadius),E=a(u(this.latestDown),u(this.latestUp),this.options.maxHold);v&&g&&E?this.tapCount++:(this.latestDown=null,this.latestUp=null,this.tapCount=0)}},{key:"isTap",value:function(){return this.tapCount===this.options.numTaps}},{key:"isEarlyTap",value:function(){var v=this._isActivePress(),g=this.tapCount<this.options.numTaps;return v&&g}},{key:"getTapCount",value:function(){return this.tapCount}},{key:"resetTimers",value:function(){this.holdTimer&&this.holdTimer.clear(),this.eventTimer&&this.eventTimer.clear()}},{key:"reset",value:function(){this.tapCount=0,this.latestDown=null,this.latestUp=null,this.resetTimers(),this.holdTimer=new d(this._emitTimeout.bind(this),this.options.maxHold),this.eventTimer=new d(this._emitTimeout.bind(this),this.options.tapDelay)}}]),f}();return c},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(2),l(5),l(3),l(78),l(300),l(192),l(752),l(754),l(134),l(302),l(99)],C=l.dj.d(A,function(n,e,t,r,o,a,i,u,s,c,f){var p=2,v=function(S,I,B){for(var P=Math.max(S.columns.start,I.columns.start),L=Math.min(S.columns.end,I.columns.end),O=P;O<=L;O+=1)B.mapping[O]=f.selection.SELECTED},g=function(S){for(var I=S.metadata,B=I===void 0?{selections:[]}:I,P=S.viewBuffer,L=B.selections||[],O={count:0,mapping:[]},W=0;W<L.length;W+=1)L[W].columns.start<=P.columns.end&&L[W].columns.end>=P.columns.start&&v(L[W],P,O);return function(j){return O.mapping[j]||0}},E=function(S,I,B){var P=S.label,L=S.styleData,O=S.headerRenderer,W=S.headerEditor,j=S.columnId,K=S.fillContainerWidth,H=S.columnHeaderIndex,V=B.eventCallback,$=B.logicalColWidth,G=B.colResize,Q=B.colMenuAffordance,J=B.dragColumns,Y=B.collapseColumn,X=B.sorted,Z=X===void 0?[]:X,q=B.sortable,ee=B.clearSort,re=B.colEditState,he=B.cellEditState,me=B.scrollNodeIntoView,se=B.groupedColumnHeaders,te=B.setAvatar,oe=B.canDrop,ue=B.hideColumnHeader,ce=B.displayColumnIndex,ve=B.displayColumnIndexOnly,Se=B.widgetType,Be=B.treeColumnIndex;L=L||{};var ke=Z[S._index]||{},Ge=ke.order,rt=void 0;rt=W&&!ve?s:a,se&&(rt=c);var ut=ve?H.toString():P,ht={headerEditor:W,headerRenderer:O,cellEditState:he,colEditState:re===j},dt=n.createElement(rt,{headerMeta:S,fillContainerWidth:K,collapseColumn:Y,key:S._index,logicalColWidth:$,setAvatar:te,colIndex:S._index,colIndexEnd:S._index,styleData:L,eventCallback:V,colSelectionMap:I,sorted:Ge,colResize:G,colMenuAffordance:Q,sortable:q,clearSort:ee,name:ut,columnId:j,scrollNodeIntoView:me,dragColumns:J,displayColumnIndex:ce,displayColumnIndexOnly:ve,hideColumnHeader:ue,widgetType:Se,canDrop:oe,treeColumnIndex:Be});return ve||(dt=D(dt,ht)),dt},D=function(S,I){return n.cloneElement(S,I)},F=function(S){for(var I=S.headers,B=S.spanningColumnHeaders,P=B===void 0?{}:B,L=[],O=g(S),W=void 0,j=0;j<I.length;j+=1)L.push(E(I[j],O,S));return Object.keys(P).length&&(W=i.makeColumnHeaderGroup(P,L,S)),W||L},w=function(S){var I=0;return S&&(S.width&&S.width.hasOwnProperty("value")?I=S.width.value:S.styleData&&S.styleData.hasOwnProperty("maxWidth")&&(I=S.styleData.maxWidth)),Number(I)},x=function T(S){return S.tagName.toUpperCase()==="TH"?S:S.parentNode?T(S.parentNode):null},R=function(T){d(S,T);function S(){m(this,S);var I=h(this,(S.__proto__||Object.getPrototypeOf(S)).call(this));return I._headerRow={affordanceWidth:0},I._geomObjectX={scrollLeft:0,translateX:0},I._handleMouseDown=I._handleMouseDown.bind(I),I}return y(S,[{key:"_getHeaderRects",value:function(){for(var B=this.theadRef.childNodes[0].querySelectorAll("[data-col-index]"),P={},L=0;L<B.length;L+=1)for(var O=B[L].getAttribute("data-col-index"),W=B[L].getAttribute("data-col-index-end"),j=B[L].getBoundingClientRect(),K=parseInt(O,10),H=parseInt(W,10),V=K;V<=H;V+=1)P[V]=j;return P}},{key:"_publishMinHeight",value:function(){var B=this,P=this.tableRef.offsetHeight;return function(){return P=Math.min(P,B.tableRef.offsetHeight),P}}},{key:"_setFitWith",value:function(){var B=this.headerRef.parentNode;this.props.flexWidth==="100%"&&(B.style.maxWidth="none")}},{key:"_setComputedWidth",value:function(){if(this.props.fitLastColumn)return this._setFitWith();var B=0,P=this.tableRef,L=this.props.tableAffordanceWidth||this._headerRow.affordanceWidth||0,O=this.headerRef.parentNode;if(this.props.displayRowHeader&&(B=this.headerRef.childNodes[0].offsetWidth),this.props.flexWidth==="100%")O.style.maxWidth="none";else if(P.scrollWidth>0){var W=P.scrollWidth+B+L;if(this.props.collapseColumn){var j=this._getTotalWidthOfPagedHeaders(this.props.headers);j>0&&j<W&&(W=j+B+L+p)}O.style.maxWidth=W+"px"}}},{key:"_getTotalWidthOfPagedHeaders",value:function(B){for(var P=0,L=0;L<B.length;L+=1){var O=w(B[L]);P+=O}return P}},{key:"_setAffordanceWidth",value:function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this._headerRow.affordanceWidth=B;var P=this.headerRef.childNodes;B===0?(P[P.length-1].style.width="0px",P[P.length-1].classList.remove("mw-table-top-right-affordance")):(P[P.length-1].style.width=B+"px",P[P.length-1].classList.add("mw-table-top-right-affordance")),this._setComputedWidth()}},{key:"componentDidUpdate",value:function(B){this._alignHeaderAndBodyScroll(B),this._setComputedWidth()}},{key:"_getGeomObject",value:function(B){var P={flexWidth:this.props.flexWidth,headerList:this.theadRef.childNodes[0].querySelectorAll("[data-col-index]"),headerThead:this.theadRef,noRender:!0};this.props.eventCallback(B,P),this._geomObjectX=P.result||this._geomObjectX}},{key:"_getHeaderRowWidth",value:function(){if(this._getGeomObject(e.internal.TABLE_WIDTH),this._geomObjectX.physicalWidth>=0)return this.colHeaderContainer.scrollWidth-this.colHeaderContainer.clientWidth>p||this.colHeaderContainer.scrollWidth===0?this.props.hideColumnHeader===!0&&this.colHeaderContainer.scrollWidth===0&&this.props.columnClass!=="mw-tbody-paged-columns"?"100%":this._geomObjectX.physicalWidth:"100%";var B=void 0;if(this.colHeaderContainer.scrollWidth-this.colHeaderContainer.clientWidth>p)B=this.colHeaderContainer.scrollWidth-p;else{if(this.props.flexWidth==="100%")return"100%";B=this.colHeaderContainer.clientWidth}return B||0}},{key:"_getTranslateX",value:function(){return this._getGeomObject(e.internal.COMPUTE_TRANSLATEX),this._geomObjectX.translateX}},{key:"_setScrollLeft",value:function(B){this._geomObjectX.scrollLeft!==B&&(this.colHeaderContainer.scrollLeft=B,this._geomObjectX.scrollLeft=B)}},{key:"_setTranslateX",value:function(B){var P="translateX("+B+"px)";this.theadRef.style.transform=P,this.theadRef.style.webkitTransform=P}},{key:"_setTableWidth",value:function(B){B>0?(this.tableRef.style.width=B+"px",this.tableRef.style.minWidth=B+"px",this.tableRef.style.maxWidth=B+"px"):this.props.fitLastColumn&&B==="100%"?(this.tableRef.style.width=B,this.tableRef.style.minWidth=B,this.tableRef.style.maxWidth=B):B==="100%"&&(this.tableRef.style.width=this.props.flexWidth,this.tableRef.style.minWidth=this.props.flexWidth,this.tableRef.style.maxWidth=this.props.flexWidth)}},{key:"_handleMouseDown",value:function(B){var P=x(B.target);!P||P.classList.contains("mw-table-header-column")&&!P.classList.contains("mw-table-spanning-column-header")&&B.button===r.MOUSE_LEFT_BUTTON&&o.addTrackingTo(this.colHeaderContainer.getBoundingClientRect(),this.props.eventCallback,{colsOnly:!0})}},{key:"componentDidMount",value:function(){var B=this,P=this.props.scrollNodeIntoView,L=P===void 0?{}:P;L.container=this.colHeaderContainer,this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setAffordanceWidth.bind(this),subscriberId:t.subscriber.HEADER_RIGHT_AFFORDANCE,subscribeTo:t.publisher.SCROLL_BAR_WIDTH,noRender:!0}),this.props.setDnDNode&&this.props.setDnDNode(this.headerRef.parentElement),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:function(W){B.headerRef.style.minHeight=W+"px"},subscriberId:t.subscriber.HEADER_MIN_HEIGHT,subscribeTo:t.publisher.HEADER_ROW_HEIGHT,noRender:!0}),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getTranslateX.bind(this),publisherId:t.publisher.HEADER_TRANSX,noRender:!0}),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getHeaderRowWidth.bind(this),publisherId:t.publisher.HEADER_ROW_WIDTH,noRender:!0}),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._publishMinHeight().bind(this),publisherId:t.publisher.HEADER_ROW_HEIGHT,noRender:!0}),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTranslateX.bind(this),subscriberId:t.subscriber.HEADER_TRANSFORMX,subscribeTo:t.publisher.HEADER_TRANSX,noRender:!0}),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollLeft.bind(this),subscriberId:t.subscriber.HEADER_SCROLL_LEFT,subscribeTo:t.publisher.SCROLL_COMPONENT_LEFT,noRender:!0}),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTableWidth.bind(this),subscriberId:t.subscriber.HEADER_WIDTH,subscribeTo:t.publisher.HEADER_ROW_WIDTH,noRender:!0}),this.props.eventCallback(e.protected.HEADER_RECTS,{children:this._getHeaderRects.bind(this),noRender:!0}),this._setComputedWidth()}},{key:"_getTopLeftHeaderValue",value:function(B){return B.text||B.value}},{key:"_getTopLeftHeaderRenderer",value:function(B){return B&&B.renderer?B.renderer:void 0}},{key:"_alignHeaderAndBodyScroll",value:function(B){B.hideColumnHeader===!0&&this.props.hideColumnHeader===!1&&this.colHeaderContainer.scrollLeft!==this._geomObjectX.scrollLeft&&(this.colHeaderContainer.scrollLeft=this._geomObjectX.scrollLeft)}},{key:"render",value:function(){var B=this,P=this.props,L=P.topLeftRowHeaderLabel,O=P.flexWidth,W=P.displayRowHeader,j=P.columnClass,K=P.eventCallback,H=P.hideColumnHeader,V=F(this.props),$={display:"flex",width:"100%"},G={minWidth:O,maxWidth:O,width:O},Q=j+" mw-table-header-thead",J=(H?"mw-table-header-hidden ":"")+"mw-table-flex-container mw-table-header-wrapper";return n.createElement("div",{ref:function(X){B.headerRef=X},className:J},W&&n.createElement(u,{topLeftRowHeaderValue:this._getTopLeftHeaderValue(L),topLeftRowHeaderRenderer:this._getTopLeftHeaderRenderer(L),eventCallback:K}),n.createElement("div",{className:"mw-table-flex-dynamic-item",onMouseDown:this._handleMouseDown,ref:function(X){B.colHeaderContainer=X}},n.createElement("table",{ref:function(X){B.tableRef=X},style:G,className:"mw-table-header"},n.createElement("thead",{ref:function(X){B.theadRef=X},className:Q},n.createElement("tr",{role:"row",style:$,className:"mw-table-header-row"},V)))),n.createElement("div",null))}}]),S}(n.Component);return R},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(5),l(3),l(180),l(191)],C=l.dj.d(A,function(h,d,n,e){"use strict";var t=1e3/60,r=1e3/30,o=30,a=200,i=5,u=10,s=function(v){v.preventDefault()},c=function(v,g){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:4,D=Math.max(0,Math.ceil((g.position-v.maxBorder)/i)<<1)||Math.min(0,Math.ceil((g.position-v.minBorder)/i)<<1);return D<0?(D=Math.min(E*-1,D),D<o*-1?a*-1:D):D>0?(D=Math.max(E,D),D>o?a:D):0},f=function(){function p(v){m(this,p),this._containerRect=v.containerRect,this._callback=v.callback,this._rowsOnly=v.options.rowsOnly,this._colsOnly=v.options.colsOnly,this._destroyed=!1,document.addEventListener("selectstart",s,{capture:!0}),this._throttledMoveHandler=e(this._handleMouseMove.bind(this),r),this._throttledTracking=e(this._trackingUpdate.bind(this),r),this._destroy=this._destroy.bind(this),this._scrollX=n.map(this._containerRect,[["left","minBorder"],["right","maxBorder"]]),this._scrollY=n.map(this._containerRect,[["top","minBorder"],["bottom","maxBorder"]]),document.addEventListener("mousemove",this._throttledMoveHandler),document.addEventListener("mouseup",this._destroy),window.addEventListener("blur",this._destroy),this._removeByOtherDnD()}return y(p,[{key:"_removeByOtherDnD",value:function(){this._callback(h.internal.NODE_SUBSCRIBE,{subscriberFn:this._destroy,subscriberId:d.subscriber.DND_START,subscribeTo:d.protected.publisher.DND_IN_ACTION,noRender:!0})}},{key:"_handleMouseMove",value:function(g){if(!this._destroyed){var E=n.map(g,[["clientY","position"]]),D=n.map(g,[["clientX","position"]]);this._pointer={x:g.clientX,y:g.clientY},this._yDelta=c(this._scrollY,E),this._xDelta=c(this._scrollX,D,u),this._colsOnly&&(this._yDelta=0),this._rowsOnly&&(this._xDelta=0),window.clearInterval(this._prevInterval),this._xDelta!==0||this._yDelta!==0?this._prevInterval=window.setInterval(this._requestScroll(g),t):this._throttledTracking(g)}}},{key:"_requestScroll",value:function(g){var E=this,D=g.ctrlKey,F=g.shiftKey,w=g.metaKey;return function(){return E._callback(h.protected.DOCUMENT_MOUSE_MOVE_INTERVAL,{yDelta:E._yDelta,xDelta:E._xDelta,pointer:E._pointer,rowsOnly:E._rowsOnly,colsOnly:E._colsOnly,containerRect:E._containerRect,ctrlKey:D,shiftKey:F,metaKey:w})}}},{key:"_destroy",value:function(){document.removeEventListener("selectstart",s,{capture:!0}),window.clearInterval(this._prevInterval),this._prevInterval=null,document.removeEventListener("mousemove",this._throttledMoveHandler),document.removeEventListener("mouseup",this._destroy),window.removeEventListener("blur",this._destroy),this._destroyed=!0,(this._xDelta!==0||this._yDelta!==0)&&this._callback(h.protected.DOCUMENT_MOUSE_UP,{yDelta:this._yDelta,xDelta:this._xDelta,containerRect:this._containerRect,callback:this._callback})}},{key:"_trackingUpdate",value:function(g){var E=g.ctrlKey,D=g.shiftKey,F=g.metaKey;this._callback(h.protected.DATA_AREA_MOUSE_MOVE,{rowsOnly:this._rowsOnly,colsOnly:this._colsOnly,pointer:this._pointer,shiftKey:D,ctrlKey:E,metaKey:F})}}],[{key:"addTrackingTo",value:function(g,E){var D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return new p({containerRect:g,callback:E,options:D})}}]),p}();return f},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(84),l(100),l(2)],C=l.dj.d(A,function(y,m,h){"use strict";var d=function(e){var t=h.useContext(m),r=t.dndNode,o=function(u){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c={lifecycle:u,allowGlobal:s};return y.startDnD(r,c,e)},a=function(u,s,c){var f=s.targetList;if(f)return f.map(function(p){y.addDnDContextTarget(u,p,c)}),u};return{startDragSource:o,setDropTarget:a}};return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),m=function e(t,r,o){t===null&&(t=Function.prototype);var a=Object.getOwnPropertyDescriptor(t,r);if(a===void 0){var i=Object.getPrototypeOf(t);return i===null?void 0:e(i,r,o)}else{if("value"in a)return a.value;var u=a.get;return u===void 0?void 0:u.call(o)}};function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(134),l(28),l(2)],C=l.dj.d(A,function(e,t,r){var o=function(a){n(i,a);function i(){return h(this,i),d(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return y(i,[{key:"_handleMouseEnter",value:function(s){m(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"_handleMouseEnter",this).call(this,s,t.GROUPED_COLUMN_HEADER)}}]),i}(e);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(5),l(3),l(78),l(28),l(758),l(300),l(19),l(30),l(71),l(2)],C=l.dj.d(A,function(e,t,r,o,a,i,u,s,c,f){"use strict";var p=function(v){n(g,v);function g(E){h(this,g);var D=d(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,E));return D.handleScroll=D.handleScroll.bind(D),D.handleWheel=D.handleWheel.bind(D),D._handleMouseDown=D._handleMouseDown.bind(D),D._getDnDSourceData=D._getDnDSourceData.bind(D),D._handleMouseDownCapture=D._handleMouseDownCapture.bind(D),D._handleRowHeaderMouseDown=D._handleRowHeaderMouseDown.bind(D),D._handleContextMenu=D._handleContextMenu.bind(D),D._handleRowHeaderContextMenu=D._handleRowHeaderContextMenu.bind(D),D.setTabIndex=D.setTabIndex.bind(D),D._scrollDims={},D._isSafari=c.isSafari(),D}return y(g,[{key:"_setRowHeaderScroll",value:function(){this.props.rowHeader&&(this.rowHeader.childNodes[0].scrollTop=this.scrollNode.scrollTop)}},{key:"_getDnDSourceData",value:function(){return{dndSourceDataToDropOutside:this.props.dndSourceData,internalRowDndSourceData:this.props.internalRowDndSourceData}}},{key:"handleWheel",value:function(D){}},{key:"_isPointInHorizontalScroll",value:function(D,F,w){var x=!1,R=w-F;return F&&D>R&&(x=!0),x}},{key:"_handleRowHeaderContextMenu",value:function(D){var F="mw-table-row-header-scrolling-div";if(s._isClassInClassList(F,D.target.classList)){D.preventDefault();var w=this.props.eventCallback,x={type:o.EMPTY_ROW_HEADER,isWhiteSpace:!0};return s.eventCallbackForContextMenu(D,w,x)}}},{key:"_handleContextMenu",value:function(D){var F="mw-scrolling-div";if(s._isClassInClassList(F,D.target.classList)){D.preventDefault();var w=this._getScrollAffordanceHeight(),x=this.scrollNode.getBoundingClientRect();if(this._isPointInHorizontalScroll(D.clientY,w,x.bottom))return;var R=this.props.eventCallback,T={type:o.EMPTY_ROW,isWhiteSpace:!0};return s.eventCallbackForContextMenu(D,R,T)}}},{key:"_handleMouseDownCapture",value:function(){this.scrollNode.removeAttribute("tabIndex")}},{key:"_handleMouseDown",value:function(D){D.button===r.MOUSE_LEFT_BUTTON&&D.target!==this.scrollNode?i.addTrackingTo(this.scrollNode.getBoundingClientRect(),this.props.eventCallback):i.addTrackingTo(this.scrollNode.getBoundingClientRect(),function(){return 0});var F=this.props.dragRows||this.props.reorderRows||this.props.reparentRows,w=this.props.reparentRows||this.props.reorderRows;if(F){var x=this.props.createDnDSource(this._getDnDSourceData);w&&this.props.createDnDTarget(x,this.scrollNode)}}},{key:"_handleRowHeaderMouseDown",value:function(D){var F=this;D.button===r.MOUSE_LEFT_BUTTON&&i.addTrackingTo(this.rowHeaderColumn.getBoundingClientRect(),this.props.eventCallback,{rowsOnly:!0}),this.props.dragRows&&u.toPromise().then(function(){return F.props.createDnDSource(F._getDnDSourceData)})}},{key:"setTabIndex",value:function(D){this.scrollNode.setAttribute("tabIndex","-1")}},{key:"handleScroll",value:function(D){if(this.scrollNode===D.target){var F={noRender:!0,target:{scrollTop:D.target.scrollTop,scrollLeft:D.target.scrollLeft}};this.props.eventCallback&&(this._setRowHeaderScroll(),this.props.eventCallback(e.internal.TABLE_SCROLL,F))}}},{key:"_getScrollAffordanceWidth",value:function(D){var F=this.scrollNode.offsetWidth-this.scrollNode.clientWidth,w=this.scrollNode.scrollWidth>this.scrollNode.clientWidth;return this.props.eventCallback(e.internal.SCROLL_COMPONENT_UPDATED,m({},t.CAN_SCROLL_HORIZONTAL,w)),F>0?(this._scrollDims.scrollbarWidth&&F!==this._scrollDims.scrollbarWidth?this._scrollDims.scrollbarWidth=F:this._scrollDims.scrollbarWidth=this._scrollDims.scrollbarWidth||F,this.myScrollComponent.classList.remove("mw-table-has-hidden-vertical-scrollbar"),this._scrollDims.scrollbarWidth):this.scrollNode.scrollHeight>this.scrollNode.offsetHeight?(this.myScrollComponent.classList.add("mw-table-has-hidden-vertical-scrollbar"),0):(this.myScrollComponent.classList.remove("mw-table-has-hidden-vertical-scrollbar"),0)}},{key:"_getScrollAffordanceHeight",value:function(){var D=this.scrollNode.offsetHeight-this.scrollNode.clientHeight;return D>0?(this.myScrollComponent.classList.add("mw-table-has-horizontal-scroll"),this.myScrollComponent.classList.remove("mw-table-has-hidden-horizontal-scrollbar"),this._scrollDims.scrollbarHeight=this._scrollDims.scrollbarHeight||D,this._scrollDims.scrollbarHeight):this.scrollNode.scrollWidth>this.scrollNode.offsetWidth?(this.myScrollComponent.classList.remove("mw-table-has-horizontal-scroll"),this.myScrollComponent.classList.add("mw-table-has-hidden-horizontal-scrollbar"),0):(this.myScrollComponent.classList.remove("mw-table-has-horizontal-scroll"),this.myScrollComponent.classList.remove("mw-table-has-hidden-horizontal-scrollbar"),0)}},{key:"_setScrollAffordanceHeight",value:function(D){var F=this.rowHeader.childNodes[1];D>0?F.classList.add("mw-table-bottom-left-affordance"):F.classList.remove("mw-table-bottom-left-affordance"),F.style.height=D+"px"}},{key:"_getScrollLeft",value:function(){return this.scrollNode.scrollLeft}},{key:"_getScrollTop",value:function(){return this.scrollNode.scrollTop}},{key:"componentWillUnmount",value:function(){this.destroy&&this.destroy()}},{key:"componentDidMount",value:function(){var D=this,F=this.props.scrollNodeIntoView,w=F===void 0?{}:F;w.scrollNode=this.scrollNode,this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getScrollAffordanceHeight.bind(this),publisherId:t.publisher.SCROLL_BAR_HEIGHT,noRender:!0}),this.props.setDnDNode&&this.props.setDnDNode(this.myScrollComponent.parentElement),this.props.setupDropFromOutside&&(this.context=this.props.setupDropFromOutside(this.myScrollComponent.parentElement,this.scrollNode),this.destroy=this.context.destroy.bind(this.context)),this.rowHeader&&(this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:function(R){D.rowHeader.style.maxWidth=R+"px",D.rowHeader.style.minWidth=R+"px"},subscribeTo:t.publisher.ROW_HEADER,subscriberId:t.subscriber.ROW_HEADER_PARENT,noRender:!0}),this.props.eventCallback(e.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollAffordanceHeight.bind(this),subscribeTo:t.publisher.SCROLL_BAR_HEIGHT,subscriberId:t.subscriber.TABLE_BOTTOM_LEFT_AFFORDANCE,noRender:!0})),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getScrollLeft.bind(this),publisherId:t.publisher.SCROLL_COMPONENT_LEFT,noRender:!0}),this.props.eventCallback(e.internal.NODE_PUBLISH,{publisherFn:this._getScrollAffordanceWidth.bind(this),publisherId:t.publisher.SCROLL_BAR_WIDTH,noRender:!0}),this.props.eventCallback(e.internal.TABLE_MOUNT,{table:this.scrollNode})}},{key:"render",value:function(){var D=this,F=this.props,w=F.table,x=F.rowHeader,R=F.rowHeaderWidth,T="mw-table-row-header-container",S={};R&&(S={width:R+"px"});var I=void 0;x&&(I=f.createElement(a,null,f.createElement("div",{className:T,onMouseDown:this._handleRowHeaderMouseDown,onContextMenu:this._handleRowHeaderContextMenu,style:S,ref:function(L){D.rowHeader=L}},f.createElement("div",{ref:function(L){D.rowHeaderColumn=L},className:"mw-table-row-header-scrolling-div"},x),f.createElement("div",null))));var B=["mw-table-flex-container","mw-table-scroll-container"];return f.createElement("div",{ref:function(L){D.myScrollComponent=L},className:B.join(" ")},I,f.createElement("div",{className:this._isSafari?"mw-table-inner-wrapper mw-scrolling-div mw-scrolling-promote-layer":"mw-table-inner-wrapper mw-scrolling-div","data-test-id":"scrollNode",tabIndex:"-1",onMouseDownCapture:this._handleMouseDownCapture,onMouseDown:this._handleMouseDown,onMouseUp:this.setTabIndex,onMouseLeave:this.setTabIndex,onScroll:this.handleScroll,onWheel:this.handleWheel,onContextMenu:this._handleContextMenu,ref:function(L){D.scrollNode=L}},w))}}]),g}(f.Component);return p},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(2)],C=l.dj.d(A,function(y){var m=y.createContext({});return m.displayName="HeaderContext",m},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(764),l(193),l(28),l(306)],C=l.dj.d(A,function(y,m,h,d){"use strict";var n=d(m(y,h.ROW_HEADER));return n},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(h){for(var d=1;d<arguments.length;d++){var n=arguments[d];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(h[e]=n[e])}return h},m=function(){function h(d,n){var e=[],t=!0,r=!1,o=void 0;try{for(var a=d[Symbol.iterator](),i;!(t=(i=a.next()).done)&&(e.push(i.value),!(n&&e.length===n));t=!0);}catch(u){r=!0,o=u}finally{try{!t&&a.return&&a.return()}finally{if(r)throw o}}return e}return function(d,n){if(Array.isArray(d))return d;if(Symbol.iterator in Object(d))return h(d,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();A=[l(5),l(42),l(100),l(30),l(2)],C=l.dj.d(A,function(h,d,n,e,t){"use strict";var r={2:"mw-table-header-row-selected "},o=function(s){return function(c){var f=c.eventCallback,p=c.rowIndex,v=c.rowSelectionMap,g=c.additionalClass,E=g===void 0?[]:g,D=t.useContext(n),F=D.dndEnabled,w=t.useState(!1),x=m(w,2),R=x[0],T=x[1];E.push(i(p,v,F));var S=function(P){if(!e.isSyntheticRightClick(P)){if(v(p)){T(!0);return}return a(P,f,p)}},I=function(P){if(!!R)return T(!1),a(P,f,p)};return t.createElement(s,y({},c,{onMouseDown:S,onMouseUp:I,additionalClass:E}))}};return o;function a(u,s,c){var f=u.metaKey,p=u.ctrlKey,v=u.shiftKey,g=u.altKey,E={row:c,meta:f,ctrlKey:p,shiftKey:v,altKey:g};return s(h.protected.ROW_SELECTION_CLICK,E)}function i(u,s,c){var f=s(u),p=r[f];return p&&c&&(p+=" "+d.SOURCE_SELECTOR),p||""}},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(h){for(var d=1;d<arguments.length;d++){var n=arguments[d];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(h[e]=n[e])}return h},m=function(){function h(d,n){var e=[],t=!0,r=!1,o=void 0;try{for(var a=d[Symbol.iterator](),i;!(t=(i=a.next()).done)&&(e.push(i.value),!(n&&e.length===n));t=!0);}catch(u){r=!0,o=u}finally{try{!t&&a.return&&a.return()}finally{if(r)throw o}}return e}return function(d,n){if(Array.isArray(d))return d;if(Symbol.iterator in Object(d))return h(d,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();A=[l(100),l(301),l(308),l(769),l(771),l(2)],C=l.dj.d(A,function(h,d,n,e,t,r){"use strict";var o={Table:n,TreeTable:e},a=function(f){return function(p){var v=r.useContext(h),g=v.setDnDEnabled,E=v.dndNode,D=v.setDndNode,F=r.useState([]),w=m(F,2),x=w[0],R=w[1],T=r.useState(null),S=m(T,2),I=S[0],B=S[1],P=r.useState(null),L=m(P,2),O=L[0],W=L[1],j=p.canDrag,K=p.canDrop,H=p.dragAndDrop,V=p.metadata,$=p.setDragData,G=p.setAvatar,Q=p.receiveDrop,J=p.eventCallback,Y=p.reorderRows,X=p.reparentRows,Z=p.widgetType,q=d(J),ee=q.startDragSource,re=q.setDropTarget,he=i(Q,re,J,Z),me={reorderRows:Y,reparentRows:X,setDragData:$,setAvatar:G,selections:x,setSelections:R,setDndSourceData:B,setinternalRowDndSourceData:W,canDrag:j};return r.useEffect(function(){g(H)},[H]),r.useEffect(function(){H&&u(V,me,Z)},[V]),r.createElement(f,y({},p,{createDnDSource:te,createDnDTarget:oe,setupDropFromOutside:he,dndSourceData:I,internalRowDndSourceData:O,setDnDNode:se}));function se(ue){E||D(ue)}function te(ue){var ce=!!$,ve=Object.assign({getData:ue,eventCallback:J},me),Se=s(Z,ve);return ee(Se,ce)}function oe(ue,ce){var ve=void 0;Y?ve="reorderRows":X&&(ve="reparentRows");var Se={dndType:ve,canDrop:K,eventCallback:J,context:ue},Be=o[Z],ke=Be().createDropTarget(Se);return re(ue,{targetList:ke},ce)}}};return a;function i(c,f,p,v){if(!c)return null;var g={Table:n(),TreeTable:t},E=g[v];return E.createTargetForOutsideSource(c,f,p)}function u(c,f,p){var v=o[p];v&&v().changeDragData(c,f)}function s(c,f){var p=o[c],v=p&&p();if(v&&typeof v.getSourceLifecycle=="function")return v.getSourceLifecycle(f)}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(68),l(42),l(7),l(75),l(84),l(19),l(70)],C=l.dj.d(A,function(y,m,h,d,n,e,t){"use strict";var r=1,o=function(){return{changeDragData:g,setDragItemDataByType:c,isDragValid:v,removeDnDStyle:p,createTargetForOutsideSource:E,getSourceLifecycle:a,isDataTransfer:u,setMultipleDragItemDataByType:s,setDragItemSourceType:i,setSelectionDataForDrag:f}};return o;function a(R){var T=function(B,P){var L=R.canDrag,O=R.getData,W=R.setAvatar,j=R.eventCallback;if(!v(P,B))return!1;var K=O();if(Object.keys(K).length<=0)return!1;if(u(K))s(B,K);else{var H=d.NativeType.TEXT;c(B,H,K)}return L&&!L({dataTransferItem:B})?!1:(n.setAvatar(P,K,B,W),n.startAction({dragItem:B},j),!0)},S=function(B,P){var L=R.eventCallback;p(P,{dropCompleted:!0}),n.endAction(L)};return{start:T,end:S}}function i(R){var T=m.TABLE_SOURCE_ROW,S={source:{type:T}};R.setDataByType(m.TABLE_DEFAULT_TYPE,S)}function u(R){var T=R.dndSourceDataToDropOutside;return T&&T.data&&T.data.dataTransfer}function s(R,T){if(!!u(T)){i(R);for(var S=T.dndSourceDataToDropOutside,I=S.data.dataTransfer,B=I.types,P=0;P<B.length;P++){var L=B[P],O=I.getData(L);R.setDataByType(L,O)}}}function c(R,T,S){var I=T,B=S.dndSourceDataToDropOutside;B&&(i(R),T=B.data.dragSourceType||I,R.setDataByType(T,B.data.value))}function f(R,T){if(R&&T){var S=new t;return R(T,S)}return e.toPromise()}function p(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!0}function v(R,T){return!0}function g(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=T.setDragData,I=T.selections,B=T.setSelections,P=T.setDndSourceData;if(!!R.selections&&!!y.areSelectionRangesDifferent(I,R.selections)&&(B(R.selections),!!S)){var L=y.getSelectionCountByRanges(R.selections),O=L.count,W=L.type;P(null),f(S,R.selections).then(function(j){P({data:j,count:O,dragType:W})})}}function E(R,T,S){return function(B,P){var L=n.createDnDContext(B),O=D(R.canDrop,S,L),W=n.getRowOnDrop(R.onDrop,L),j=x(L,O,W,S),K=n.getRowTargetList(j,m.ROW_REGIONS.INSERT_AS_ROW,!0);return T(L,{targetList:K},P)}}function D(R,T,S){return function(B,P,L){var O=F(P,L),W=O.place==="insertion",j=n.getContextCacheInfo(S,"targetInfo",O,W),K=R({dataTransferItem:B,target:j});if(K===null)return K;K=n.getContextCacheInfo(S,"validation",K,W);var H=w(B,P,L),V=n.getHorizontalLineClassByValidation(K);return Object.assign(H,{lineClass:V}),n.setDropPosition(H,T),K}}function F(R,T){var S="TABLE";if(n.isWhitespace(R))return{type:S};if(n.isInsertionLine(R))return{place:"insertion"};var I=Number(R.getAttribute("data-row-index")),B=T.row===r?I+1:I,P=h.range().setRows(B,B).setColumns(0,1/0);return{type:S,range:P}}function w(R,T,S){if(n.isWhitespace(T)){var I=T.firstChild.getBoundingClientRect(),B=I.bottom;return{top:B}}return n.getVerticalPosition(R,T,S,r)}function x(R,T,S,I){var B=n.lifecycleAddOn(T,n.debounceCheckForDragOut(R,m.targetLifeCycle.ENTER,I)),P=n.debounceCheckForDragOut(R,m.targetLifeCycle.LEAVE,I),L=n.debounceCheckForDragOut(R,m.targetLifeCycle.HOVER,I),O=n.lifecycleAddOn(S,function(){return n.removeInsertionLine(I)});return{enter:B,hover:L,leave:P,drop:O}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h=function(){function d(n){if(m(this,d),this.map=this.map.bind(this),this.chain=this.chain.bind(this),this.run=this.run.bind(this),typeof n=="function")this.effect=n;else throw new Error("IO Monad requires a function")}return y(d,[{key:"map",value:function(e){var t=this;return new d(function(){return e(t.effect())})}},{key:"chain",value:function(e){return e(this.effect())}},{key:"run",value:function(){return this.effect()}}],[{key:"of",value:function(e){return new d(function(){return e})}},{key:"from",value:function(e){return new d(e)}}]),d}();return h},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(62),l(48),l(801),l(802),l(803),l(804)],C=l.dj.d(A,function(y,m){return m(y,"mw-dialogs/l10n/nls/dialog",l.dj.c(),!0)},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({DIALOG:"dialog",ALERT_DIALOG:"alertdialog"})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(310)],C=l.dj.d(A,function(y){const m=Object.freeze({HELP:"Help",SPL1:"Spl1",SPL2:"Spl2",DO_IT:"DoIt",DONT_DO_IT:"DontDoIt",CANCEL:"Cancel",APPLY:"Apply",REVERT:"Revert"}),h={NO_DEFAULT_ACTION:"NoDefaultAction",TYPE:m,HELP:Object.freeze({type:m.HELP,label:y.help,"data-test-id":"HelpButton"}),OK:Object.freeze({type:m.DO_IT,label:y.ok,"data-test-id":"OkButton"}),YES:Object.freeze({type:m.DO_IT,label:y.yes,"data-test-id":"YesButton"}),SUBMIT:Object.freeze({type:m.DO_IT,label:y.submit,"data-test-id":"SubmitButton"}),SAVE:Object.freeze({type:m.DO_IT,label:y.save,"data-test-id":"SaveButton"}),FIND:Object.freeze({type:m.DO_IT,label:y.find,"data-test-id":"FindButton"}),CREATE:Object.freeze({type:m.DO_IT,label:y.create,"data-test-id":"CreateButton"}),DONT_SAVE:Object.freeze({type:m.DONT_DO_IT,label:y.dontSave,"data-test-id":"DontSaveButton"}),NO:Object.freeze({type:m.DONT_DO_IT,label:y.no,"data-test-id":"NoButton"}),CANCEL:Object.freeze({type:m.CANCEL,label:y.cancel,"data-test-id":"CancelButton"}),CLOSE:Object.freeze({type:m.CANCEL,label:y.close,"data-test-id":"CloseButton"}),APPLY:Object.freeze({type:m.APPLY,label:y.apply,"data-test-id":"ApplyButton"}),REVERT:Object.freeze({type:m.REVERT,label:y.revert,"data-test-id":"RevertButton"})};return Object.freeze(h),h},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return class{constructor(m,h){this.token=m,this.style=h}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=function(h,d,n){this.pos=this.start=0,this.string=h,this.tabSize=d||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};return y.prototype.eol=function(){return this.pos>=this.string.length},y.prototype.sol=function(){return this.pos===this.lineStart},y.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},y.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},y.prototype.eat=function(m){let h=this.string.charAt(this.pos),d;if(typeof m=="string"?d=h==m:d=h&&(m.test?m.test(h):m(h)),d)return++this.pos,h},y.prototype.eatWhile=function(m){let h=this.pos;for(;this.eat(m););return this.pos>h},y.prototype.eatSpace=function(){let m=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>m},y.prototype.skipToEnd=function(){this.pos=this.string.length},y.prototype.skipTo=function(m){let h=this.string.indexOf(m,this.pos);if(h>-1)return this.pos=h,!0},y.prototype.backUp=function(m){this.pos-=m},y.prototype.countColumn=function(m,h,d,n,e){h==null&&(h=m.search(/[^\s\u00a0]/),h==-1&&(h=m.length));for(let t=n||0,r=e||0;;){let o=m.indexOf(" ",t);if(o<0||o>=h)return r+(h-t);r+=o-t,r+=d-r%d,t=o+1}},y.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=this.countColumn(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?this.countColumn(this.string,this.lineStart,this.tabSize):0)},y.prototype.indentation=function(){return this.countColumn(this.string,null,this.tabSize)-(this.lineStart?this.countColumn(this.string,this.lineStart,this.tabSize):0)},y.prototype.match=function(m,h,d){if(typeof m=="string"){let n=t=>d?t.toLowerCase():t,e=this.string.substr(this.pos,m.length);if(n(e)==n(m))return h!==!1&&(this.pos+=m.length),!0}else{let n=this.string.slice(this.pos).match(m);return n&&n.index>0?null:(n&&h!==!1&&(this.pos+=n[0].length),n)}},y.prototype.current=function(){return this.string.slice(this.start,this.pos)},y.prototype.hideFirstChars=function(m,h){this.lineStart+=m;try{return h()}finally{this.lineStart-=m}},y.prototype.lookAhead=function(m){let h=this.lineOracle;return h&&h.lookAhead(m)},y.prototype.baseToken=function(){let m=this.lineOracle;return m&&m.baseToken(this.pos)},y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(102)],C=l.dj.d(A,function(y){return{__proto__:y,createNodes:function(m){return m.map(h=>{const d=document.createElement("span"),n=h.token,e=h.style,t=h.id;d.setAttribute("id",t),e&&e.trim().split(" ").forEach(o=>d.classList.add(o)),e==="comment"&&(d.classList.add("ct"),h.type==="blk"?d.classList.add("blk"):h.type==="req"?(d.classList.add("req"),d.setAttribute("req_id",h.req_id),d.setAttribute("blockpath",h.blockpath)):h.type==="libblk"&&d.classList.add("libblk"));for(let r=0;r<n.length;r++){const o=document.createElement("c");o.innerText=n[r],d.appendChild(o)}return d})},assignLineScope:function(m,h,d,n,e){for(let t=0;t<h;t++){const r=m[t];if(this.isBlockBegin(r))e.push(d.id);else if(this.isBlockEnd(r)){const o=e.pop();if(o!==void 0){const a=n[o-1];if(a.to=d.id,d.from=a.id,r.token==="END")break}}}},slHook:function(m,h,d){if(y=this,m.style==="comment"){y.replaceNonAscii(m);let n=y.detectBlockPath(m);if(n.length>1||(n=y.detectLibBlockPath(m),n.length>1)||(n=y.detectRequirementID(m),n.length>1))return n}return m},detectRequirementID:function(m){const h=/\d+\.\s+\w+.+/;return this.detectPattern(m,h,"req",0)},detectLibBlockPath:function(m){const h=/\('.+:\d+'\)/;return this.detectPattern(m,h,"libblk",2)}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(317),l(315)],C=l.dj.d(A,function(y,m){return{__proto__:m,setup:function(h){y(h);const d={name:"verilog"};return h.getMode({},d)},detectBlockPath:function(h){const d=/<.+>\/*[a-z|A-Z|0-9|_]*/;return this.detectPattern(h,d,"blk",0)},blockBegin:[{style:"keyword",token:"module"},{style:"keyword",token:"begin"}],blockEnd:[{style:"keyword",token:"end"},{style:"keyword",token:"endmodule"}],comment:{style:"comment"}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=function(h){h.defineMode("verilog",function(c,f){var p=c.indentUnit,v=f.statementIndentUnit||p,g=f.dontAlignCalls,E=f.noIndentKeywords||[],D=f.multiLineStrings,F=f.hooks||{};function w(se){for(var te={},oe=se.split(" "),ue=0;ue<oe.length;++ue)te[oe[ue]]=!0;return te}var x=w("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime 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 reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),R=/[\+\-\*\/!~&|^%=?:]/,T=/[\[\]{}()]/,S=/\d[0-9_]*/,I=/\d*\s*'s?d\s*\d[0-9_]*/i,B=/\d*\s*'s?b\s*[xz01][xz01_]*/i,P=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,L=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,O=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,W=/^((\w+)|[)}\]])/,j=/[)}\]]/,K,H,V=w("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),$={};for(var G in V)$[G]="end"+G;$.begin="end",$.casex="endcase",$.casez="endcase",$.do="while",$.fork="join;join_any;join_none",$.covergroup="endgroup";for(var Q in E){var G=E[Q];$[G]&&($[G]=void 0)}var J=w("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");function Y(se,te){var oe=se.peek(),ue;if(F[oe]&&(ue=F[oe](se,te))!=!1||F.tokenBase&&(ue=F.tokenBase(se,te))!=!1)return ue;if(/[,;:\.]/.test(oe))return K=se.next(),null;if(T.test(oe))return K=se.next(),"bracket";if(oe=="`")return se.next(),se.eatWhile(/[\w\$_]/)?"def":null;if(oe=="$")return se.next(),se.eatWhile(/[\w\$_]/)?"meta":null;if(oe=="#")return se.next(),se.eatWhile(/[\d_.]/),"def";if(oe=='"')return se.next(),te.tokenize=X(oe),te.tokenize(se,te);if(oe=="/"){if(se.next(),se.eat("*"))return te.tokenize=Z,Z(se,te);if(se.eat("/"))return se.skipToEnd(),"comment";se.backUp(1)}if(se.match(O)||se.match(I)||se.match(B)||se.match(P)||se.match(L)||se.match(S)||se.match(O))return"number";if(se.eatWhile(R))return"meta";if(se.eatWhile(/[\w\$_]/)){var ce=se.current();return x[ce]?($[ce]&&(K="newblock"),J[ce]&&(K="newstatement"),H=ce,"keyword"):"variable"}return se.next(),null}function X(se){return function(te,oe){for(var ue=!1,ce,ve=!1;(ce=te.next())!=null;){if(ce==se&&!ue){ve=!0;break}ue=!ue&&ce=="\\"}return(ve||!(ue||D))&&(oe.tokenize=Y),"string"}}function Z(se,te){for(var oe=!1,ue;ue=se.next();){if(ue=="/"&&oe){te.tokenize=Y;break}oe=ue=="*"}return"comment"}function q(se,te,oe,ue,ce){this.indented=se,this.column=te,this.type=oe,this.align=ue,this.prev=ce}function ee(se,te,oe){var ue=se.indented,ce=new q(ue,te,oe,null,se.context);return se.context=ce}function re(se){var te=se.context.type;return(te==")"||te=="]"||te=="}")&&(se.indented=se.context.indented),se.context=se.context.prev}function he(se,te){if(se==te)return!0;var oe=te.split(";");for(var ue in oe)if(se==oe[ue])return!0;return!1}function me(){var se=[];for(var te in $)if($[te]){var oe=$[te].split(";");for(var ue in oe)se.push(oe[ue])}var ce=new RegExp("[{}()\\[\\]]|("+se.join("|")+")$");return ce}return{electricInput:me(),startState:function(se){var te={tokenize:null,context:new q((se||0)-p,0,"top",!1),indented:0,startOfLine:!0};return F.startState&&F.startState(te),te},token:function(se,te){var oe=te.context;if(se.sol()&&(oe.align==null&&(oe.align=!1),te.indented=se.indentation(),te.startOfLine=!0),F.token){var ue=F.token(se,te);if(ue!==void 0)return ue}if(se.eatSpace())return null;K=null,H=null;var ue=(te.tokenize||Y)(se,te);if(ue=="comment"||ue=="meta"||ue=="variable")return ue;if(oe.align==null&&(oe.align=!0),K==oe.type)re(te);else if(K==";"&&oe.type=="statement"||oe.type&&he(H,oe.type))for(oe=re(te);oe&&oe.type=="statement";)oe=re(te);else if(K=="{")ee(te,se.column(),"}");else if(K=="[")ee(te,se.column(),"]");else if(K=="(")ee(te,se.column(),")");else if(oe&&oe.type=="endcase"&&K==":")ee(te,se.column(),"statement");else if(K=="newstatement")ee(te,se.column(),"statement");else if(K=="newblock"&&!(H=="function"&&oe&&(oe.type=="statement"||oe.type=="endgroup"))){if(!(H=="task"&&oe&&oe.type=="statement")){var ce=$[H];ee(te,se.column(),ce)}}return te.startOfLine=!1,ue},indent:function(se,te){if(se.tokenize!=Y&&se.tokenize!=null)return h.Pass;if(F.indent){var oe=F.indent(se);if(oe>=0)return oe}var ue=se.context,ce=te&&te.charAt(0);ue.type=="statement"&&ce=="}"&&(ue=ue.prev);var ve=!1,Se=te.match(W);return Se&&(ve=he(Se[0],ue.type)),ue.type=="statement"?ue.indented+(ce=="{"?0:v):j.test(ue.type)&&ue.align&&!g?ue.column+(ve?0:1):ue.type==")"&&!ve?ue.indented+v:ue.indented+(ve?0:p)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),h.defineMIME("text/x-verilog",{name:"verilog"}),h.defineMIME("text/x-systemverilog",{name:"verilog"});var d={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+=":"variable-3","@+=-":"variable-3","@--":"variable-3","@-=":"variable-3","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},n={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},e=3,t=!1,r=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,o=/^[! ] /,a=/^[! ] */,i=/^\/[\/\*]/;function u(c,f,p){var v=f/e;return"tlv-"+c.tlvIndentationStyle[v]+"-"+p}function s(c){var f;return(f=c.match(r,!1))&&f[2].length>0}h.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(c,f){var p=void 0,v;if(c.sol()&&!f.tlvInBlockComment){c.peek()=="\\"&&(p="def",c.skipToEnd(),c.string.match(/\\SV/)?f.tlvCodeActive=!1:c.string.match(/\\TLV/)&&(f.tlvCodeActive=!0)),f.tlvCodeActive&&c.pos==0&&f.indented==0&&(v=c.match(a,!1))&&(f.indented=v[0].length);var g=f.indented,E=g/e;if(E<=f.tlvIndentationStyle.length){var D=c.string.length==g,F=E*e;if(F<c.string.length){var w=c.string.slice(F),x=w[0];n[x]&&(v=w.match(r))&&d[v[1]]&&(g+=e,x=="\\"&&F>0||(f.tlvIndentationStyle[E]=n[x],t&&(f.statementComment=!1),E++))}if(!D)for(;f.tlvIndentationStyle.length>E;)f.tlvIndentationStyle.pop()}f.tlvNextIndent=g}if(f.tlvCodeActive){var R=!1;t&&(R=c.peek()!=" "&&p===void 0&&!f.tlvInBlockComment&&c.column()==f.tlvIndentationStyle.length*e,R&&(f.statementComment&&(R=!1),f.statementComment=c.match(i,!1)));var v;if(p!==void 0)p+=" "+u(f,0,"scope-ident");else if(c.pos/e<f.tlvIndentationStyle.length&&(v=c.match(c.sol()?o:/^ /)))p="tlv-indent-"+(c.pos%2==0?"even":"odd")+" "+u(f,c.pos-e,"indent"),v[0].charAt(0)=="!"&&(p+=" tlv-alert-line-prefix"),s(c)&&(p+=" "+u(f,c.pos,"before-scope-ident"));else if(f.tlvInBlockComment)c.match(/^.*?\*\//)?(f.tlvInBlockComment=!1,t&&!c.eol()&&(f.statementComment=!1)):c.skipToEnd(),p="comment";else if((v=c.match(i))&&!f.tlvInBlockComment)v[0]=="//"?c.skipToEnd():f.tlvInBlockComment=!0,p="comment";else if(v=c.match(r)){var T=v[1],S=v[2];d.hasOwnProperty(T)&&(S.length>0||c.eol())?(p=d[T],c.column()==f.indented&&(p+=" "+u(f,c.column(),"scope-ident"))):(c.backUp(c.current().length-1),p="tlv-default")}else c.match(/^\t+/)?p="tlv-tab":c.match(/^[\[\]{}\(\);\:]+/)?p="meta":(v=c.match(/^[mM]4([\+_])?[\w\d_]*/))?p=v[1]=="+"?"tlv-m4-plus":"tlv-m4":c.match(/^ +/)?c.eol()?p="error":p="tlv-default":c.match(/^[\w\d_]+/)?p="number":(c.next(),p="tlv-default");R&&(p+=" tlv-statement")}else c.match(/^[mM]4([\w\d_]*)/)&&(p="tlv-m4");return p},indent:function(c){return c.tlvCodeActive==!0?c.tlvNextIndent:-1},startState:function(c){c.tlvIndentationStyle=[],c.tlvCodeActive=!0,c.tlvNextIndent=-1,c.tlvInBlockComment=!1,t&&(c.statementComment=!1)}}})};return y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(135)],C=l.dj.d(A,function(R){return{analyze:function(T){let S="parser";console.time(S),Array.isArray(T)||(T=[T]);const I=T.filter(function(P){return P.lang===R});y(I);const B=m(I);return this.defineMap=B,console.timeEnd(S),S="build defs",console.time(S),this.buildDefs(I),console.timeEnd(S),B},locateDef:function(T){return v(T,this.defineMap)},buildDefs:x}},_,M),_.exports=C;function y(R){R.forEach(function(T){let S=T.codeList[0].tokens[0];for(;S;)(S.style==="comment"||S.style==="blk"||S.style==="req"||S.style==="libblk"||S.style==="meta"||S.meta||!S.token.trim()||S.template===!0)&&(S.skip=!0),S=S.next})}function m(R){const T=new Map;return R.forEach(function(S){const I=S.codeList.firstTk;if(!I)return;const B={style:"global",scope:-1,defs:[]};try{d(I,B)}catch(P){console.error(P)}try{h(B,T)}catch(P){console.error(P)}}),T}function h(R,T){const S=R.fullname;R.defs.forEach(function(I){S?I.fullname=S+"::"+I.token:I.fullname=I.token,T.set(I.fullname,I),(I.def==="type"||I.def==="cls"||I.def==="ns")&&I.defs&&h(I,T)})}function d(R,T){T.defs||(T.defs=[]);const S=R.scope;for(;R&&R.scope>T.scope&&(R.parent=T,!R.skip&&R.scope===S&&(R.style==="keyword"?R.token==="extern"||R.token==="return"?R=c(R,";",T):R.token==="using"?R=e(R,T):R.token==="template"?R=t(R,T):R.token==="typedef"?R=o(R,T):R.token==="struct"?R=a(R,T,"type",!1).it:R.token==="class"?R=a(R,T,"cls",!1).it:R.token==="auto"||R.token==="decltype"?R=i(R,T,R):R.token==="namespace"&&(R=n(R,T)):R.style==="variable"||R.style==="variable-3"?R=i(R,T,R):R.style===null&&R.token==="{"&&(R=d(R.next,R))),R);)R=R.next;return R}function n(R,T){T.defs||(T.defs=[]);const S=R.scope,I=p(R,function(B){return B.scope===S&&B.style===null&&B.token==="{"},function(B){return B.scope>S||B.scope===S&&B.style===null&&B.token===";"},!1,T);if(I.success){const B=I.it,P=p(B,function(O){return O.scope===S&&(O.style==="def"||O.style==="variable")},function(O){return O===R},!0,T);let L;return P.success?(L=P.it,L.def="ns",T.defs.push(L)):L=B,d(B.next,L)}else return I.it}function e(R,T){T.defs||(T.defs=[]);let S=p(R,function(B){return B.scope===R.scope&&(B.style==="variable"||B.style==="variable-3")},function(B){return B.scope<R.scope||B.style===null&&B.token===";"},!1,T);const I=S.it;return S.success?(S=p(S.it,function(B){return B.scope===R.scope&&B.style==="operator"&&B.token==="="},function(B){return B.scope<R.scope||B.style===null&&B.token===";"},!1,T),S.success&&(I.def="type",T.defs.push(I),S=p(S.it,function(B){return B.scope===R.scope&&B.style===null&&B.token===";"},null,!1,T)),S.it):I}function t(R,T){let S=r(R);const I=R.scope;for(;S&&S.scope>=I;){if(S.parent=T,!S.skip&&S.scope===I){if(S.style==="keyword"){if(S.token==="class"){S=a(S,T,"cls").it;break}else if(S.token==="struct"){S=a(S,T,"type").it;break}}else if(S.style==="variable-3"||S.style==="variable"){S=i(S,T);break}}S=S.next}return S}function r(R){let T=0,S=!1;const I=R;let B=R.next;for(;B;){if(B.parent=I,B.style==="operator"&&(B.token==="<"?(T++,S=!0):B.token===">"&&T--,T===0&&S))return B;B=B.next}return B}function o(R,T){let S=R.next;const I=R.scope;let B=p(S,function(O){return O.scope===I&&O.style===null&&O.token===";"},function(O){return O.scope<I},!1,T);const P=B.it;if(!B.success)return P;let L;for(;S&&S.scope>=I;){if(!S.skip&&S.scope===I&&(S.style==="keyword"?S.token==="struct"?(B=a(S,T,"type",!0),S=B.it,L=B.tk):S.token==="class"&&(B=a(S,T,"cls",!0),S=B.it,L=B.tk):S.style==="variable"?L?(S.def="type",S.typename=L,T.defs.push(S)):L=S:S.style==="def"?L&&(S.def="type",S.typename=L,T.defs.push(S)):S.style==="variable-3"&&(L=S)),S===P)return P;S=S.next}return P}function a(R,T,S,I){let B=R;const P=R.scope;let L=null,O=p(R,function(W){return W.scope===P&&W.style===null&&W.token==="{"},function(W){return W.scope<P||W.scope===P&&W.style===null&&W.token===";"},!1,T);if(O.success){const W=O.it;O=p(R,function(K){return K.scope===P&&K.style===null&&K.token===":"},function(K){return K===W},!1,T);const j=O.success?O.it:W;return O=p(j,function(K){return K.scope===P&&(K.style==="def"||K.style==="variable")},function(K){return K===R},!0,T),O.success?(L=O.it,L.def=S,T.defs.push(L)):L=W,B=d(W.next,L),I||(B=i(B,T,L,I)),{tk:L,it:B}}else{const W=O.it;if(O=p(R,function(j){return j.scope===P&&(j.style==="def"||j.style==="variable")},function(j){return j===W},!1,T),O.success)return L=O.it,B=i(L,T,L,I),{tk:L,it:B}}}function i(R,T,S,I){R.parent=T;let B=R.next,P=null;const L=R.scope,O=I?"type":"var";let W=0;for(;B&&B.scope>=L;){if(B.parent=T,!B.skip&&B.scope===L){if(W===0)if(B.style==="variable"||B.style==="def"||B.style==="keyword"&&B.token==="operator")P=B,W=1;else{if(B.style==="keyword"&&(B.token==="class"||B.token==="namespace"||B.token==="template"))return B.prev;(B.style===null&&(B.token===";"||B.token==="."||B.token==="{"||B.token==="}"||B.token==="("||B.token===")")||B.style==="operator"&&B.token!=="*"&&B.token!=="**"&&B.token!=="&"&&B.token!=="&&"||B.style==="invalid_operator")&&(W=-1)}else if(W===1)B.style==="variable"||B.style==="variable-3"?W=-1:B.style===null&&B.token==="("?(B=u(P,B,R,T),W=-1):B.style===null&&B.token==="{"||B.style==="operator"&&B.token==="="?W=3:B.style===null&&B.token===";"?(P.def=O,P.typename=S,T.defs.push(P),W=-1):B.style==="operator"&&(W=-1);else if(W===3&&B.style===null&&B.token===";")return P.def=O,P.typename=S,T.defs.push(P),B;if(W===-1)return f(B,R.scope,T)}if(B)B=B.next;else break}return B}function u(R,T,S,I){const B=R.scope;let P=p(T.next,function(O){return O.scope===B&&O.token===")"},function(O){return O.scope===B&&O.token!==")"},!1,R),L=P.it;return P.success&&(P=p(L,function(O){return O.scope===B&&O.style===null&&O.token==="{"},function(O){return O.scope===B&&O.style===null&&O.token===";"},!1,I),P.success?(s(T,P.it,R),R.def="fcn",R.typename=S,I.defs.push(R),L=d(P.it.next,R)):L=P.it),L}function s(R,T,S){S.defs||(S.defs=[]);const I=S.scope;let B=p(R,function(j){return j.scope===I&&j.style===null&&(j.token===":"||j.token==="{")},function(j){return j===T},!1,S);B=p(B.it,function(j){return j.scope===I&&j.style===null&&j.token==="("},function(j){return j===R},!0,S);let P=B.it.next,L=0,O=null;const W=I+1;for(;P&&P.scope>=W;)P.parent=S,!P.skip&&P.scope===W&&(L===0?(P.style==="variable"||P.style==="variable-3")&&(O=P,L=1):L===1&&(P.style==="variable"||P.style==="def"?(P.def="var",P.typename=O,S.defs.push(P),O=null,L=0):P.style===null&&P.token===","&&(O=null,L=0))),P=P.next;return P}function c(R,T,S){let I=R;const B=R.scope;for(;I&&I.scope>=B;){if(I.parent=S,I.scope===B&&!I.skip&&I.style===null&&I.token===T)return I;I=I.next}return I}function f(R,T,S){for(;R;){if(R.parent=S,!R.skip&&R.scope===T&&R.style===null&&(R.token===";"||R.token==="}"))return R;R=R.next}return R}function p(R,T,S,I,B){for(;R;){if(R.parent=B,S&&S(R))return{it:R,success:!1};if(T(R))return{it:R,success:!0};I?R=R.prev:R=R.next}return{it:null,success:!1}}function v(R,T){if(R.def)return R.define=R,R;if(R.define!==void 0)return R.define;if(R.style!=="variable"&&R.style!=="def")return R.define=null,null;let S=null;const I=g(R);return I?I.style==="keyword"?S=F(R,T):S=D(R,I,T):S=E(R,T),R.define=S,S}function g(R){let T=R.prev;const S=R.scope;let I=0;for(;T;){if(T.scope===S&&T.token.trim())if(I===0)if(T.style===null&&T.token==="."||T.style==="operator"&&T.token==="->")I=1;else return null;else{if(T.style==="variable"||T.style==="def"||T.style==="keyword"&&T.token==="this")return T;if(!(T.style===null&&(T.token==="("||T.token===")")))return null}T=T.prev}return null}function E(R,T){if(R.define!==void 0)return R.define;let S=null,I=R.parent;for(;I;){if(I.defs)for(let B=0,P=I.defs.length;B<P;B++){const L=I.defs[B];if(L.token===R.token)return R.define=L,L}if(I.def==="cls"||I.def==="type"||I.def==="ns"){const B=I.fullname+"::"+R.token;if(S=T.get(B),S)return R.define=S,S}else if(I.def==="fcn"){const P=I.token.split("::"),L=P.length;if(L>1){P[L-1]=R.token;const O=P.join("::");if(S=T.get(O),S)return R.define=S,S}}I=I.parent}return S=T.get(R.token),S||(S=null),R.define=S,S}function D(R,T,S){if(R.define!==void 0)return R.define;const I=v(T,S);if(!I)return R.define=null,null;const B=I.typename;if(!B)return R.define=null,null;const P=w(R,B,S);return R.define=P,P}function F(R,T){if(R.define!==void 0)return R.define;let S=null,I=R.parent;for(;I;){if(I.def==="fcn"){const B=I.parent;if(B.def==="cls")if(B.token==="{"){if(B.defs){for(let P=0,L=B.defs.length;P<L;P++)if(S=B.defs[P],S.token===R.token)return R.define=S,S}}else{const L=B.fullname+"::"+R.token;if(S=T.get(L),S)return R.define=S,S}else{const L=I.token.split("::"),O=L.length;if(O>1){L[O-1]=R.token;const W=L.join("::");if(S=T.get(W),S)return R.define=S,S}}return R.defTk=null,null}I=I.parent}}function w(R,T,S){let I=null;if(T.defs){for(let L=0,O=T.defs.length;L<O;L++)if(I=T.defs[L],I.token===R.token)return I}const B=v(T,S);if(!B)return null;const P=B.fullname+"::"+R.token;return I=S.get(P),I||(B.typename&&(I=w(R,B.typename,S)),I)}function x(R){const T=this.defineMap;R.forEach(function(S){for(let I=S.codeList.firstTk;I;I=I.next)try{const B=v(I,T);B&&(B.usage||(B.usage=[]),B.usage.push(I))}catch(B){console.error(B)}})}},function(_,M,l){Promise.resolve().then(function(){var A=[l(323),l(200),l(394)];(function(){}).apply(null,A)}).catch(l.oe)},,,,function(_,M,l){var A,C;A=[l(9),l(324),l(1),l(11),l(10),l(24),l(14),l(55),l(0),l(4),l(72),l(39),l(87),l(46),l(342),l(143)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p){var v=h("dijit.layout._Splitter",[s,c],{live:!0,templateString:'<div class="dijitSplitter" data-dojo-attach-event="onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse" tabIndex="0" role="separator"><div class="dijitSplitterThumb"></div></div>',constructor:function(){this._handlers=[]},postMixInProperties:function(){this.inherited(arguments),this.horizontal=/top|bottom/.test(this.region),this._factor=/top|left/.test(this.region)?1:-1,this._cookieName=this.container.id+"_"+this.region},buildRendering:function(){if(this.inherited(arguments),d.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")),this.container.persist){var D=this._getPersistentSplit();D&&(this.child.domNode.style[this.horizontal?"height":"width"]=D)}},_computeMaxSize:function(){var D=this.horizontal?"h":"w",F=e.getMarginBox(this.child.domNode)[D],w=y.filter(this.container.getChildren(),function(R){return R.region=="center"})[0],x=e.getContentBox(w.domNode)[D]-10;return Math.min(this.child.maxSize,F+x)},_startDrag:function(D){this.cover||(this.cover=n.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after")),d.add(this.cover,"dijitSplitterCoverActive"),this.fake&&n.destroy(this.fake),(this._resize=this.live)||((this.fake=this.domNode.cloneNode(!0)).removeAttribute("id"),d.add(this.domNode,"dijitSplitterShadow"),n.place(this.fake,this.domNode,"after")),d.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active"),this.fake&&d.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");var F=this._factor,w=this.horizontal,x=w?"pageY":"pageX",R=D[x],T=this.domNode.style,S=w?"h":"w",I=t.getComputedStyle(this.child.domNode),B=e.getMarginBox(this.child.domNode,I)[S],P=this._computeMaxSize(),L=Math.max(this.child.minSize,e.getPadBorderExtents(this.child.domNode,I)[S]+10),O=this.region,W=O=="top"||O=="bottom"?"top":"left",j=parseInt(T[W],10),K=this._resize,H=o.hitch(this.container,"_layoutChildren",this.child.id),V=this.ownerDocument;this._handlers=this._handlers.concat([a(V,i.move,this._drag=function($,G){var Q=$[x]-R,J=F*Q+B,Y=Math.max(Math.min(J,P),L);(K||G)&&H(Y),T[W]=Q+j+F*(Y-J)+"px"}),a(V,"dragstart",function($){$.stopPropagation(),$.preventDefault()}),a(this.ownerDocumentBody,"selectstart",function($){$.stopPropagation(),$.preventDefault()}),a(V,i.release,o.hitch(this,"_stopDrag"))]),D.stopPropagation(),D.preventDefault()},_onMouse:function(D){var F=D.type=="mouseover"||D.type=="mouseenter";d.toggle(this.domNode,"dijitSplitterHover",F),d.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",F)},_getPersistentSplit:function(){return m(this._cookieName)},_setPersistentSplit:function(D){m(this._cookieName,D,{expires:365})},_stopDrag:function(D){try{this.cover&&d.remove(this.cover,"dijitSplitterCoverActive"),this.fake&&n.destroy(this.fake),d.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow"),this._drag(D),this._drag(D,!0)}finally{this._cleanupHandlers(),delete this._drag}this.container.persist&&this._setPersistentSplit(this.child.domNode.style[this.horizontal?"height":"width"])},_cleanupHandlers:function(){for(var D;D=this._handlers.pop();)D.remove()},_onKeyDown:function(D){this._resize=!0;var F=this.horizontal,w=1;switch(D.keyCode){case(F?r.UP_ARROW:r.LEFT_ARROW):w*=-1;case(F?r.DOWN_ARROW:r.RIGHT_ARROW):break;default:return}var x=e.getMarginSize(this.child.domNode)[F?"h":"w"]+this._factor*w;this.container._layoutChildren(this.child.id,Math.max(Math.min(x,this._computeMaxSize()),this.child.minSize)),D.stopPropagation(),D.preventDefault()},destroy:function(){this._cleanupHandlers(),delete this.child,delete this.container,delete this.cover,delete this.fake,this.inherited(arguments)}}),g=h("dijit.layout._Gutter",[s,c],{templateString:'<div class="dijitGutter" role="presentation"></div>',postMixInProperties:function(){this.inherited(arguments),this.horizontal=/top|bottom/.test(this.region)},buildRendering:function(){this.inherited(arguments),d.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"))}}),E=h("dijit.layout.BorderContainer",f,{gutters:!0,liveSplitters:!0,persist:!1,baseClass:"dijitBorderContainer",_splitterClass:v,postMixInProperties:function(){this.gutters||(this.baseClass+="NoGutter"),this.inherited(arguments)},_setupChild:function(D){this.inherited(arguments);var F=D.region,w=D.isLeftToRight();if(F=="leading"&&(F=w?"left":"right"),F=="trailing"&&(F=w?"right":"left"),F&&F!="center"&&(D.splitter||this.gutters)&&!D._splitterWidget){var x=D.splitter?this._splitterClass:g;o.isString(x)&&(x=o.getObject(x));var R=new x({id:D.id+"_splitter",container:this,child:D,region:F,live:this.liveSplitters});R.isSplitter=!0,D._splitterWidget=R;var T=F=="bottom"||F==(this.isLeftToRight()?"right":"left");n.place(R.domNode,D.domNode,T?"before":"after"),R.startup()}},layout:function(){this._layoutChildren()},removeChild:function(D){var F=D._splitterWidget;F&&(F.destroy(),delete D._splitterWidget),this.inherited(arguments)},getChildren:function(){return y.filter(this.inherited(arguments),function(D){return!D.isSplitter})},getSplitter:function(D){return y.filter(this.getChildren(),function(F){return F.region==D})[0]._splitterWidget},resize:function(D,F){if(!this.cs||!this.pe){var w=this.domNode;this.cs=t.getComputedStyle(w),this.pe=e.getPadExtents(w,this.cs),this.pe.r=t.toPixelValue(w,this.cs.paddingRight),this.pe.b=t.toPixelValue(w,this.cs.paddingBottom),t.set(w,"padding","0px")}this.inherited(arguments)},_layoutChildren:function(D,F){if(!(!this._borderBox||!this._borderBox.h)){var w=[];y.forEach(this._getOrderedChildren(),function(R){w.push(R),R._splitterWidget&&w.push(R._splitterWidget)});var x={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};p.layoutChildren(this.domNode,x,w,D,F)}},destroyRecursive:function(){y.forEach(this.getChildren(),function(D){var F=D._splitterWidget;F&&F.destroy(),delete D._splitterWidget}),this.inherited(arguments)}});return E.ChildWidgetProperties={splitter:!1,minSize:0,maxSize:1/0},o.mixin(E.ChildWidgetProperties,f.ChildWidgetProperties),o.extend(u,E.ChildWidgetProperties),E._Splitter=v,E._Gutter=g,E},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(325)],C=l.dj.d(A,function(y,m){return y.cookie=function(h,d,n){var e=document.cookie,t;if(arguments.length==1){var r=e.match(new RegExp("(?:^|; )"+m.escapeString(h)+"=([^;]*)"));t=r?decodeURIComponent(r[1]):void 0}else{n=n||{};var o=n.expires;if(typeof o=="number"){var a=new Date;a.setTime(a.getTime()+o*24*60*60*1e3),o=n.expires=a}o&&o.toUTCString&&(n.expires=o.toUTCString()),d=encodeURIComponent(d);var i=h+"="+d,u;for(u in n){i+="; "+u;var s=n[u];s!==!0&&(i+="="+s)}document.cookie=i}return t},y.cookie.isSupported=function(){return"cookieEnabled"in navigator||(this("__djCookieTest__","CookiesAllowed"),navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed",navigator.cookieEnabled&&this("__djCookieTest__","",{expires:-1})),navigator.cookieEnabled},y.cookie},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(0)],C=l.dj.d(A,function(y,m){var h={};return m.setObject("dojo.regexp",h),h.escapeString=function(d,n){return d.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(e){return n&&n.indexOf(e)!=-1?e:"\\"+e})},h.buildGroupRE=function(d,n,e){if(!(d instanceof Array))return n(d);for(var t=[],r=0;r<d.length;r++)t.push(n(d[r]));return h.group(t.join("|"),e)},h.group=function(d,n){return"("+(n?"?:":"")+d+")"},h},_,M),_.exports=C},function(_,M,l){var A,C;A=[M,l(6),l(18),l(0),l(12),l(14),l(10),l(85)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){var o={},a=1,i=m._scopeName+"attrid";h.add("dom-textContent",function(s,c,f){return"textContent"in f}),y.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};function u(s){for(var c="",f=s.childNodes,p=0,v;v=f[p];p++)v.nodeType!=8&&(v.nodeType==1?c+=u(v):c+=v.nodeValue);return c}y.get=function(c,f){c=n.byId(c);var p=f.toLowerCase(),v=y.names[p]||f;return v=="textContent"&&!h("dom-textContent")?u(c):c[v]},y.set=function(c,f,p){c=n.byId(c);var v=arguments.length;if(v==2&&typeof f!="string"){for(var g in f)y.set(c,g,f[g]);return c}var E=f.toLowerCase(),D=y.names[E]||f;if(D=="style"&&typeof p!="string")return e.set(c,p),c;if(D=="innerHTML")return h("ie")&&c.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(t.empty(c),c.appendChild(t.toDom(p,c.ownerDocument))):c[D]=p,c;if(D=="textContent"&&!h("dom-textContent"))return t.empty(c),c.appendChild(c.ownerDocument.createTextNode(p)),c;if(d.isFunction(p)){var F=c[i];F||(F=a++,c[i]=F),o[F]||(o[F]={});var w=o[F][D];if(w)r.disconnect(w);else try{delete c[D]}catch(x){}return p?o[F][D]=r.connect(c,D,p):c[D]=null,c}return c[D]=p,c}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(4),l(8),l(24)],C=l.dj.d(A,function(y,m,h,d){if(m._fixEvent){var n=m._fixEvent;m._fixEvent=function(t,r){return t=n(t,r),t&&d.normalizeEvent(t),t}}var e={fix:function(t,r){return m._fixEvent?m._fixEvent(t,r):t},stop:function(t){h("dom-addeventlistener")||t&&t.preventDefault?(t.preventDefault(),t.stopPropagation()):(t=t||window.event,t.cancelBubble=!0,m._preventDefault.call(t))}};return h("extend-dojo")&&(y.fixEvent=e.fix,y.stopEvent=e.stop),e},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(17),l(1)],C=l.dj.d(A,function(y,m,h){return h("dijit.Destroyable",null,{destroy:function(d){this._destroyed=!0},own:function(){var d=["destroyRecursive","destroy","remove"];return y.forEach(arguments,function(n){var e,t=m.before(this,"destroy",function(a){n[e](a)}),r=[];function o(){t.remove(),y.forEach(r,function(a){a.remove()})}n.then?(e="cancel",n.then(o,o)):y.forEach(d,function(a){typeof n[a]=="function"&&(e||(e=a),r.push(m.after(n,a,o,!0)))})},this),arguments}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y={LRM:"\u200E",LRE:"\u202A",PDF:"\u202C",RLM:"\u200F",RLE:"\u202B"};return{getTextDir:function(m){return this.textDir=="auto"?this._checkContextual(m):this.textDir},_checkContextual:function(m){var h=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(m);return h?h[0]<="z"?"ltr":"rtl":this.dir?this.dir:this.isLeftToRight()?"ltr":"rtl"},applyTextDir:function(m,h){if(this.textDir){var d=this.textDir;if(d=="auto"){if(typeof h=="undefined"){var n=m.tagName.toLowerCase();h=n=="input"||n=="textarea"?m.value:m.innerText||m.textContent||""}d=this._checkContextual(h)}m.dir!=d&&(m.dir=d)}},enforceTextDirWithUcc:function(m,h){if(this.textDir){m&&(m.originalText=h);var d=this.textDir=="auto"?this._checkContextual(h):this.textDir;return(d=="ltr"?y.LRE:y.RLE)+h+y.PDF}return h},restoreOriginalText:function(m){return m.originalText&&(m.text=m.originalText,delete m.originalText),m},_setTextDirAttr:function(m){if(!this._created||this.textDir!=m){this._set("textDir",m);var h=null;this.displayNode?(h=this.displayNode,this.displayNode.align=this.dir=="rtl"?"right":"left"):h=this.textDirNode||this.focusNode||this.textbox,h&&this.applyTextDir(h)}}}},_,M),_.exports=C},function(_,M,l){var A,C,y;A=[l(8),l.dj.c(_.i)],C=l.dj.d(A,function(m,h){"use strict";if(typeof document!="undefined"){var d=document.createElement("div");m.add("dom-qsa2.1",!!d.querySelectorAll),m.add("dom-qsa3",function(){try{return d.innerHTML="<p class='TEST'></p>",d.querySelectorAll(".TEST:empty").length==1}catch(r){}})}var n,e="./acme",t="./lite";return{load:function(r,o,a,i){if(i&&i.isBuild){a();return}var u=h;if(r=r=="default"?m("config-selectorEngine")||"css3":r,r=r=="css2"||r=="lite"?t:r=="css2.1"?m("dom-qsa2.1")?t:e:r=="css3"?m("dom-qsa3")?t:e:r=="acme"?e:(u=o)&&r,r.charAt(r.length-1)=="?"){r=r.substring(0,r.length-1);var s=!0}if(s&&(m("dom-compliant-qsa")||n))return a(n);u([r],function(c){r!="./lite"&&(n=c),a(c)})}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(8),l(6)],C=l.dj.d(A,function(y,m){"use strict";var h=document.createElement("div"),d=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector,n=h.querySelectorAll,e=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;y.add("dom-matches-selector",!!d),y.add("dom-qsa",!!n);var t=function(i,u){if(a&&i.indexOf(",")>-1)return a(i,u);var s=u?u.ownerDocument||u:m.doc||document,c=(n?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(i);if(u=u||s,c){var f=y("ie")===8&&y("quirks")?u.nodeType===s.nodeType:u.parentNode!==null&&u.nodeType!==9&&u.parentNode===s;if(c[2]&&f){var v=m.byId?m.byId(c[2],s):s.getElementById(c[2]);if(!v||c[1]&&c[1]!=v.tagName.toLowerCase())return[];if(u!=s){for(var p=v;p!=u;)if(p=p.parentNode,!p)return[]}return c[3]?t(c[3],v):[v]}if(c[3]&&u.getElementsByClassName)return u.getElementsByClassName(c[4]);var v;if(c[5])if(v=u.getElementsByTagName(c[5]),c[4]||c[6])i=(c[4]||"")+c[6];else return v}if(n)return u.nodeType===1&&u.nodeName.toLowerCase()!=="object"?r(u,i,u.querySelectorAll):u.querySelectorAll(i);v||(v=u.getElementsByTagName("*"));for(var g=[],E=0,D=v.length;E<D;E++){var F=v[E];F.nodeType==1&&o(F,i,u)&&g.push(F)}return g},r=function(i,u,s){var c=i,f=i.getAttribute("id"),p=f||"__dojo__",v=i.parentNode,g=/^\s*[+~]/.test(u);if(g&&!v)return[];f?p=p.replace(/'/g,"\\$&"):i.setAttribute("id",p),g&&v&&(i=i.parentNode);for(var E=u.match(e),D=0;D<E.length;D++)E[D]="[id='"+p+"'] "+E[D];u=E.join(",");try{return s.call(i,u)}finally{f||c.removeAttribute("id")}};if(!y("dom-matches-selector"))var o=function(){var i=h.tagName=="div"?"toLowerCase":"toUpperCase",u={"":function(E){return E=E[i](),function(D){return D.tagName==E}},".":function(E){var D=" "+E+" ";return function(F){return F.className.indexOf(E)>-1&&(" "+F.className+" ").indexOf(D)>-1}},"#":function(E){return function(D){return D.id==E}}},s={"^=":function(E,D){return E.indexOf(D)==0},"*=":function(E,D){return E.indexOf(D)>-1},"$=":function(E,D){return E.substring(E.length-D.length,E.length)==D},"~=":function(E,D){return(" "+E+" ").indexOf(" "+D+" ")>-1},"|=":function(E,D){return(E+"-").indexOf(D+"-")==0},"=":function(E,D){return E==D},"":function(E,D){return!0}};function c(E,D,F){var w=D.charAt(0);(w=='"'||w=="'")&&(D=D.slice(1,-1)),D=D.replace(/\\/g,"");var x=s[F||""];return function(R){var T=R.getAttribute(E);return T&&x(T,D)}}function f(E){return function(D,F){for(;(D=D.parentNode)!=F;)if(E(D,F))return!0}}function p(E){return function(D,F){return D=D.parentNode,E?D!=F&&E(D,F):D==F}}var v={};function g(E,D){return E?function(F,w){return D(F)&&E(F,w)}:D}return function(E,D,F){var w=v[D];if(!w){if(D.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(x,R,T,S,I,B,P){return S?w=g(w,u[T||""](S.replace(/\\/g,""))):R?w=(R==" "?f:p)(w):I&&(w=g(w,c(I,P,B))),""}))throw new Error("Syntax error in query");if(!w)return!0;v[D]=w}return w(E,F)}}();if(!y("dom-qsa"))var a=function(i,u){for(var s=i.match(e),c=[],f=0;f<s.length;f++){i=new String(s[f].replace(/\s*$/,"")),i.indexOf=escape;for(var p=t(i,u),v=0,g=p.length;v<g;v++){var E=p[v];c[E.sourceIndex]=E}}var D=[];for(f in c)D.push(c[f]);return D};return t.match=d?function(i,u,s){return s&&s.nodeType!=9?r(s,u,function(c){return d.call(i,c)}):d.call(i,u)}:o,t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(4),l(9),l(55),l(1),l(8),l(138)],C=l.dj.d(A,function(y,m,h,d,n,e){var t=d("dijit._OnDijitClickMixin",null,{connect:function(r,o,a){return this.inherited(arguments,[r,o=="ondijitclick"?e:o,a])}});return t.a11yclick=e,t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(24),l(0),l(43),l(18),l(21)],C=l.dj.d(A,function(y,m,h,d,n){var e=n.doc.documentElement,t=d("ie"),r=d("trident"),o=d("opera"),a=Math.floor,i=d("ff"),u=y.boxModel.replace(/-/,""),s={dj_quirks:d("quirks"),dj_opera:o,dj_khtml:d("khtml"),dj_webkit:d("webkit"),dj_safari:d("safari"),dj_chrome:d("chrome"),dj_edge:d("edge"),dj_gecko:d("mozilla"),dj_ios:d("ios"),dj_android:d("android")};t&&(s.dj_ie=!0,s["dj_ie"+a(t)]=!0,s.dj_iequirks=d("quirks")),r&&(s.dj_trident=!0,s["dj_trident"+a(r)]=!0),i&&(s["dj_ff"+a(i)]=!0),s["dj_"+u]=!0;var c="";for(var f in s)s[f]&&(c+=f+" ");return e.className=m.trim(e.className+" "+c),h(function(){if(!y.isBodyLtr()){var p="dj_rtl dijitRtl "+c.replace(/ /g,"-rtl ");e.className=m.trim(e.className+" "+p+"dj_rtl dijitRtl "+c.replace(/ /g,"-rtl "))}}),d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(11),l(335),l(43),l(21)],C=l.dj.d(A,function(y,m,h,d){return h(function(){m("highcontrast")&&y.add(d.body(),"dijit_a11y")}),m},_,M),_.exports=C},function(_,M,l){var A,C;A=[l.dj.c(_.i),l(26),l(11),l(14),l(8),l(43),l(21)],C=l.dj.d(A,function(y,m,h,d,n,e,t){return n.add("highcontrast",function(){var r=t.doc.createElement("div");try{r.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("'+(m.blankGif||y.toUrl("./resources/blank.gif"))+'");',t.body().appendChild(r);var o=d.getComputedStyle(r),a=o.backgroundImage;return o.borderTopColor==o.borderRightColor||a&&(a=="none"||a=="url(invalid-url:)")}catch(i){return console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+i.toString()),!1}finally{n("ie")<=8?r.outerHTML="":t.body().removeChild(r)}}),e(function(){n("highcontrast")&&h.add(t.body(),"dj_a11y")}),n},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(337)],C=l.dj.d(A,function(y){return y.cache},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l.dj.c(_.i),l(8),l(338)],C=l.dj.d(A,function(y,m,h,d){var n;h("host-browser")?n=function(a,i,u){d(a,{sync:!!i,headers:{"X-Requested-With":null}}).then(u)}:m.getText?n=m.getText:console.error("dojo/text plugin failed to load because loader does not support getText");var e={},t=function(a){if(a){a=a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var i=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);i&&(a=i[1])}else a="";return a},r={},o={};return y.cache=function(a,i,u){var s;typeof a=="string"?/\//.test(a)?(s=a,u=i):s=m.toUrl(a.replace(/\./g,"/")+(i?"/"+i:"")):(s=a+"",u=i);var c=u!=null&&typeof u!="string"?u.value:u,f=u&&u.sanitize;return typeof c=="string"?(e[s]=c,f?t(c):c):c===null?(delete e[s],null):(s in e||n(s,!0,function(p){e[s]=p}),f?t(e[s]):e[s])},{dynamic:!0,normalize:function(a,i){var u=a.split("!"),s=u[0];return(/^\./.test(s)?i(s):s)+(u[1]?"!"+u[1]:"")},load:function(a,i,u){var s=a.split("!"),c=s.length>1,f=s[0],p=i.toUrl(s[0]),v="url:"+p,g=r,E=function(F){u(c?t(F):F)};if(f in e?g=e[f]:i.cache&&v in i.cache?g=i.cache[v]:p in e&&(g=e[p]),g===r)if(o[p])o[p].push(E);else{var D=o[p]=[E];n(p,!i.async,function(F){e[f]=e[p]=F;for(var w=0;w<D.length;)D[w++](F);delete o[p]})}else E(g)}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(140)],C=l.dj.d(A,function(y){return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(137),l(141)],C=l.dj.d(A,function(y,m){return y("RequestTimeoutError",null,m,{dojoType:"timeout"})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(88),l(6),l(9),l(8),l(53)],C=l.dj.d(A,function(y,m,h,d){d.add("activex",typeof ActiveXObject!="undefined"),d.add("dom-parser",function(i){return"DOMParser"in i});var n;if(d("activex")){var e=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"],t;n=function(i){var u=i.data,s=i.text;u&&d("dom-qsa2.1")&&!u.querySelectorAll&&d("dom-parser")&&(u=new DOMParser().parseFromString(s,"application/xml"));function c(f){try{var p=new ActiveXObject(f);p.async=!1,p.loadXML(s),u=p,t=f}catch(v){return!1}return!0}return(!u||!u.documentElement)&&(!t||!c(t))&&h.some(e,c),u}}var r=function(i){return!d("native-xhr2-blob")&&i.options.handleAs==="blob"&&typeof Blob!="undefined"?new Blob([i.xhr.response],{type:i.xhr.getResponseHeader("Content-Type")}):i.xhr.response},o={javascript:function(i){return m.eval(i.text||"")},json:function(i){return y.parse(i.text||null)},xml:n,blob:r,arraybuffer:r,document:r};function a(i){var u=o[i.options.handleAs];return i.data=u?u(i):i.data||i.text,i}return a.register=function(i,u){o[i]=u},a},_,M),_.exports=C},function(_,M,l){var A,C;A=[l.dj.c(_.i),l(9),l(85),l(1),l(0),l(54),l(4),l(72),l(39)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){var a=n.delegate(r,{mouseenter:e.enter,mouseleave:e.leave,keypress:h._keypress}),i,u=d("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[],this._attachEvents=[]},buildRendering:function(){this.inherited(arguments),this._attachTemplateNodes(this.domNode),this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(s){for(var c=s;;)if(c.nodeType==1&&(this._processTemplateNode(c,function(f,p){return f.getAttribute(p)},this._attach)||this.searchContainerNode)&&c.firstChild)c=c.firstChild;else{if(c==s)return;for(;!c.nextSibling;)if(c=c.parentNode,c==s)return;c=c.nextSibling}},_processTemplateNode:function(s,c,f){var p=!0,v=this.attachScope||this,g=c(s,"dojoAttachPoint")||c(s,"data-dojo-attach-point");if(g)for(var E,D=g.split(/\s*,\s*/);E=D.shift();)n.isArray(v[E])?v[E].push(s):v[E]=s,p=E!="containerNode",this._attachPoints.push(E);var F=c(s,"dojoAttachEvent")||c(s,"data-dojo-attach-event");if(F){for(var w,x=F.split(/\s*,\s*/),R=n.trim;w=x.shift();)if(w){var T=null;if(w.indexOf(":")!=-1){var S=w.split(":");w=R(S[0]),T=R(S[1])}else w=R(w);T||(T=w),this._attachEvents.push(f(s,w,n.hitch(v,T)))}}return p},_attach:function(s,c,f){return c=c.replace(/^on/,"").toLowerCase(),c=="dijitclick"?c=i||(i=y("./a11yclick")):c=a[c]||c,t(s,c,f)},_detachTemplateNodes:function(){var s=this.attachScope||this;m.forEach(this._attachPoints,function(c){delete s[c]}),this._attachPoints=[],m.forEach(this._attachEvents,function(c){c.remove()}),this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes(),this.inherited(arguments)}});return n.extend(o,{dojoAttachEvent:"",dojoAttachPoint:""}),u},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(1),l(11),l(14),l(0),l(39),l(343),l(143)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){var o=m("dijit.layout.LayoutContainer",t,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){this._started||(y.forEach(this.getChildren(),this._setupChild,this),this.inherited(arguments))},_setupChild:function(a){this.inherited(arguments);var i=a.region;i&&h.add(a.domNode,this.baseClass+"Pane")},_getOrderedChildren:function(){var a=y.map(this.getChildren(),function(i,u){return{pane:i,weight:[i.region=="center"?1/0:0,i.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(i.region)?1:-1),u]}},this);return a.sort(function(i,u){for(var s=i.weight,c=u.weight,f=0;f<s.length;f++)if(s[f]!=c[f])return s[f]-c[f];return 0}),y.map(a,function(i){return i.pane})},layout:function(){r.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren())},addChild:function(a,i){this.inherited(arguments),this._started&&this.layout()},removeChild:function(a){this.inherited(arguments),this._started&&this.layout(),h.remove(a.domNode,this.baseClass+"Pane"),d.set(a.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"}),d.set(a.domNode,/top|bottom/.test(a.region)?"width":"height","auto")}});return o.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0},n.extend(e,o.ChildWidgetProperties),o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0),l(87),l(198),l(199),l(108),l(1),l(11),l(24),l(14)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){return e("dijit.layout._LayoutWidget",[m,h,d],{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments),t.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var a=this.getParent&&this.getParent();a&&a.isLayoutContainer||(this.resize(),this.own(n.on("resize",y.hitch(this,"resize"))))}},resize:function(a,i){var u=this.domNode;a&&r.setMarginBox(u,a);var s=i||{};y.mixin(s,a||{}),(!("h"in s)||!("w"in s))&&(s=y.mixin(r.getMarginBox(u),s));var c=o.getComputedStyle(u),f=r.getMarginExtents(u,c),p=r.getBorderExtents(u,c),v=this._borderBox={w:s.w-(f.w+p.w),h:s.h-(f.h+p.h)},g=r.getPadExtents(u,c);this._contentBox={l:o.toPixelValue(u,c.paddingLeft),t:o.toPixelValue(u,c.paddingTop),w:v.w-g.w,h:v.h-g.h},this.layout()},layout:function(){},_setupChild:function(a){var i=this.baseClass+"-child "+(a.baseClass?this.baseClass+"-"+a.baseClass:"");t.add(a.domNode,i)},addChild:function(a,i){this.inherited(arguments),this._started&&this._setupChild(a)},removeChild:function(a){var i=this.baseClass+"-child"+(a.baseClass?" "+this.baseClass+"-"+a.baseClass:"");t.remove(a.domNode,i),this.inherited(arguments)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(1),l(11),l(24),l(14),l(0),l(36),l(35),l(108),l(143)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a){return m("dijit.layout._ContentPaneResizeMixin",null,{doLayout:!0,isLayoutContainer:!0,startup:function(){if(!this._started){var i=this.getParent();this._childOfLayoutWidget=i&&i.isLayoutContainer,this._needLayout=!this._childOfLayoutWidget,this.inherited(arguments),this._isShown()&&this._onShow(),this._childOfLayoutWidget||this.own(o.on("resize",e.hitch(this,"resize")))}},_checkIfSingleChild:function(){if(!!this.doLayout){var i=[],u=!1;t("> *",this.containerNode).some(function(s){var c=r.byNode(s);c&&c.resize?i.push(c):!/script|link|style/i.test(s.nodeName)&&s.offsetHeight&&(u=!0)}),this._singleChild=i.length==1&&!u?i[0]:null,h.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild)}},resize:function(i,u){this._resizeCalled=!0,this._scheduleLayout(i,u)},_scheduleLayout:function(i,u){this._isShown()?this._layout(i,u):(this._needLayout=!0,this._changeSize=i,this._resultSize=u)},_layout:function(i,u){delete this._needLayout,!this._wasShown&&this.open!==!1&&this._onShow(),i&&d.setMarginBox(this.domNode,i);var s=this.containerNode;if(s===this.domNode){var c=u||{};e.mixin(c,i||{}),(!("h"in c)||!("w"in c))&&(c=e.mixin(d.getMarginBox(s),c)),this._contentBox=a.marginBox2contentBox(s,c)}else this._contentBox=d.getContentBox(s);this._layoutChildren()},_layoutChildren:function(){if(this._checkIfSingleChild(),this._singleChild&&this._singleChild.resize){var i=this._contentBox||d.getContentBox(this.containerNode);this._singleChild.resize({w:i.w,h:i.h})}else for(var u=this.getChildren(),s,c=0;s=u[c++];)s.resize&&s.resize()},_isShown:function(){if(this._childOfLayoutWidget)return this._resizeCalled&&"open"in this?this.open:this._resizeCalled;if("open"in this)return this.open;var i=this.domNode,u=this.domNode.parentNode;return i.style.display!="none"&&i.style.visibility!="hidden"&&!h.contains(i,"dijitHidden")&&u&&u.style&&u.style.display!="none"},_onShow:function(){this._wasShown=!0,this._needLayout&&this._layout(this._changeSize,this._resultSize),this.inherited(arguments)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6)],C=l.dj.d(A,function(y){var m=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),h=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),d=function(){for(var n=null,e=arguments,t=[e[0]],r=1;r<e.length;r++)if(!!e[r]){var o=new d(e[r]+""),a=new d(t[0]+"");if(o.path==""&&!o.scheme&&!o.authority&&!o.query)o.fragment!=n&&(a.fragment=o.fragment),o=a;else if(!o.scheme&&(o.scheme=a.scheme,!o.authority&&(o.authority=a.authority,o.path.charAt(0)!="/"))){for(var i=a.path.substring(0,a.path.lastIndexOf("/")+1)+o.path,u=i.split("/"),s=0;s<u.length;s++)u[s]=="."?s==u.length-1?u[s]="":(u.splice(s,1),s--):s>0&&!(s==1&&u[0]=="")&&u[s]==".."&&u[s-1]!=".."&&(s==u.length-1?(u.splice(s,1),u[s-1]=""):(u.splice(s-1,2),s-=2));o.path=u.join("/")}t=[],o.scheme&&t.push(o.scheme,":"),o.authority&&t.push("//",o.authority),t.push(o.path),o.query&&t.push("?",o.query),o.fragment&&t.push("#",o.fragment)}this.uri=t.join("");var c=this.uri.match(m);this.scheme=c[2]||(c[1]?"":n),this.authority=c[4]||(c[3]?"":n),this.path=c[5],this.query=c[7]||(c[6]?"":n),this.fragment=c[9]||(c[8]?"":n),this.authority!=n&&(c=this.authority.match(h),this.user=c[3]||n,this.password=c[4]||n,this.host=c[6]||c[7],this.port=c[9]||n)};return d.prototype.toString=function(){return this.uri},y._Url=d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0),l(9)],C=l.dj.d(A,function(y,m){var h={};return y.setObject("dojo.date.stamp",h),h.fromISOString=function(d,n){h._isoRegExp||(h._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var e=h._isoRegExp.exec(d),t=null;if(e){e.shift(),e[1]&&e[1]--,e[6]&&(e[6]*=1e3),n&&(n=new Date(n),m.forEach(m.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(a){return n["get"+a]()}),function(a,i){e[i]=e[i]||a})),t=new Date(e[0]||1970,e[1]||0,e[2]||1,e[3]||0,e[4]||0,e[5]||0,e[6]||0),e[0]<100&&t.setFullYear(e[0]||1970);var r=0,o=e[7]&&e[7].charAt(0);o!="Z"&&(r=(e[8]||0)*60+(Number(e[9])||0),o!="-"&&(r*=-1)),o&&(r-=t.getTimezoneOffset()),r&&t.setTime(t.getTime()+r*6e4)}return t},h.toISOString=function(d,n){var e=function(f){return f<10?"0"+f:f};n=n||{};var t=[],r=n.zulu?"getUTC":"get",o="";if(n.selector!="time"){var a=d[r+"FullYear"]();o=["0000".substr((a+"").length)+a,e(d[r+"Month"]()+1),e(d[r+"Date"]())].join("-")}if(t.push(o),n.selector!="date"){var i=[e(d[r+"Hours"]()),e(d[r+"Minutes"]()),e(d[r+"Seconds"]())].join(":"),u=d[r+"Milliseconds"]();if(n.milliseconds&&(i+="."+(u<100?"0":"")+e(u)),n.zulu)i+="Z";else if(n.selector!="time"){var s=d.getTimezoneOffset(),c=Math.abs(s);i+=(s>0?"-":"+")+e(Math.floor(c/60))+":"+e(c%60)}t.push(i)}return t.join("T")},h},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(348)],C=l.dj.d(A,function(y){return{parse:y}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(56),l(349)],C=l.dj.d(A,function(y,m){var h,d,n,e,t,r,o,a,i;function u($,G){h=String($),d="start",n=[],e=0,t=1,r=0,o=void 0,a=void 0,i=void 0;do o=E(),B[d]();while(o.type!=="eof");return typeof G=="function"?s({"":i},"",G):i}function s($,G,Q){var J=$[G];if(J!=null&&typeof J=="object")for(var Y in J){var X=s(J,Y,Q);X===void 0?delete J[Y]:J[Y]=X}return Q.call($,G,J)}var c,f,p,v,g;function E(){for(c="default",f="",p=!1,v=1;;){g=D();var $=w[c]();if($)return $}}function D(){if(h[e])return y.fromCodePoint(y.codePointAt(h,e))}function F(){var $=D();return $===`
|
||
`?(t++,r=0):$?r+=$.length:r++,$&&(e+=$.length),$}var w={default:function(){switch(g){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
||
`:case"\r":case"\u2028":case"\u2029":F();return;case"/":F(),c="comment";return;case void 0:return F(),x("eof")}if(m.isSpaceSeparator(g)){F();return}return w[d]()},comment:function(){switch(g){case"*":F(),c="multiLineComment";return;case"/":F(),c="singleLineComment";return}throw O(F())},multiLineComment:function(){switch(g){case"*":F(),c="multiLineCommentAsterisk";return;case void 0:throw O(F())}F()},multiLineCommentAsterisk:function(){switch(g){case"*":F();return;case"/":F(),c="default";return;case void 0:throw O(F())}F(),c="multiLineComment"},singleLineComment:function(){switch(g){case`
|
||
`:case"\r":case"\u2028":case"\u2029":F(),c="default";return;case void 0:return F(),x("eof")}F()},value:function(){switch(g){case"{":case"[":return x("punctuator",F());case"n":return F(),R("ull"),x("null",null);case"t":return F(),R("rue"),x("boolean",!0);case"f":return F(),R("alse"),x("boolean",!1);case"-":case"+":F()==="-"&&(v=-1),c="sign";return;case".":f=F(),c="decimalPointLeading";return;case"0":f=F(),c="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":f=F(),c="decimalInteger";return;case"I":return F(),R("nfinity"),x("numeric",1/0);case"N":return F(),R("aN"),x("numeric",NaN);case'"':case"'":p=F()==='"',f="",c="string";return}throw O(F())},identifierNameStartEscape:function(){if(g!=="u")throw O(F());F();var $=I();switch($){case"$":case"_":break;default:if(!m.isIdStartChar($))throw j();break}f+=$,c="identifierName"},identifierName:function(){switch(g){case"$":case"_":case"\u200C":case"\u200D":f+=F();return;case"\\":F(),c="identifierNameEscape";return}if(m.isIdContinueChar(g)){f+=F();return}return x("identifier",f)},identifierNameEscape:function(){if(g!=="u")throw O(F());F();var $=I();switch($){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!m.isIdContinueChar($))throw j();break}f+=$,c="identifierName"},sign:function(){switch(g){case".":f=F(),c="decimalPointLeading";return;case"0":f=F(),c="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":f=F(),c="decimalInteger";return;case"I":return F(),R("nfinity"),x("numeric",v*(1/0));case"N":return F(),R("aN"),x("numeric",NaN)}throw O(F())},zero:function(){switch(g){case".":f+=F(),c="decimalPoint";return;case"e":case"E":f+=F(),c="decimalExponent";return;case"x":case"X":f+=F(),c="hexadecimal";return}return x("numeric",v*0)},decimalInteger:function(){switch(g){case".":f+=F(),c="decimalPoint";return;case"e":case"E":f+=F(),c="decimalExponent";return}if(m.isDigit(g)){f+=F();return}return x("numeric",v*Number(f))},decimalPointLeading:function(){if(m.isDigit(g)){f+=F(),c="decimalFraction";return}throw O(F())},decimalPoint:function(){switch(g){case"e":case"E":f+=F(),c="decimalExponent";return}if(m.isDigit(g)){f+=F(),c="decimalFraction";return}return x("numeric",v*Number(f))},decimalFraction:function(){switch(g){case"e":case"E":f+=F(),c="decimalExponent";return}if(m.isDigit(g)){f+=F();return}return x("numeric",v*Number(f))},decimalExponent:function(){switch(g){case"+":case"-":f+=F(),c="decimalExponentSign";return}if(m.isDigit(g)){f+=F(),c="decimalExponentInteger";return}throw O(F())},decimalExponentSign:function(){if(m.isDigit(g)){f+=F(),c="decimalExponentInteger";return}throw O(F())},decimalExponentInteger:function(){if(m.isDigit(g)){f+=F();return}return x("numeric",v*Number(f))},hexadecimal:function(){if(m.isHexDigit(g)){f+=F(),c="hexadecimalInteger";return}throw O(F())},hexadecimalInteger:function(){if(m.isHexDigit(g)){f+=F();return}return x("numeric",v*Number(f))},string:function(){switch(g){case"\\":F(),f+=T();return;case'"':if(p)return F(),x("string",f);f+=F();return;case"'":if(!p)return F(),x("string",f);f+=F();return;case`
|
||
`:case"\r":throw O(F());case"\u2028":case"\u2029":K(g);break;case void 0:throw O(F())}f+=F()},start:function(){switch(g){case"{":case"[":return x("punctuator",F())}c="value"},beforePropertyName:function(){switch(g){case"$":case"_":f=F(),c="identifierName";return;case"\\":F(),c="identifierNameStartEscape";return;case"}":return x("punctuator",F());case'"':case"'":p=F()==='"',c="string";return}if(m.isIdStartChar(g)){f+=F(),c="identifierName";return}throw O(F())},afterPropertyName:function(){if(g===":")return x("punctuator",F());throw O(F())},beforePropertyValue:function(){c="value"},afterPropertyValue:function(){switch(g){case",":case"}":return x("punctuator",F())}throw O(F())},beforeArrayValue:function(){if(g==="]")return x("punctuator",F());c="value"},afterArrayValue:function(){switch(g){case",":case"]":return x("punctuator",F())}throw O(F())},end:function(){throw O(F())}};function x($,G){return{type:$,value:G,line:t,column:r}}function R($){for(var G=0,Q=$;G<Q.length;G++){var J=Q[G],Y=D();if(Y!==J)throw O(F());F()}}function T(){var $=D();switch($){case"b":return F(),"\b";case"f":return F(),"\f";case"n":return F(),`
|
||
`;case"r":return F(),"\r";case"t":return F()," ";case"v":return F(),"\v";case"0":if(F(),m.isDigit(D()))throw O(F());return"\0";case"x":return F(),S();case"u":return F(),I();case`
|
||
`:case"\u2028":case"\u2029":return F(),"";case"\r":return F(),D()===`
|
||
`&&F(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw O(F());case void 0:throw O(F())}return F()}function S(){var $="",G=D();if(!m.isHexDigit(G)||($+=F(),G=D(),!m.isHexDigit(G)))throw O(F());return $+=F(),y.fromCodePoint(parseInt($,16))}function I(){for(var $="",G=4;G-- >0;){var Q=D();if(!m.isHexDigit(Q))throw O(F());$+=F()}return y.fromCodePoint(parseInt($,16))}var B={start:function(){if(o.type==="eof")throw W();P()},beforePropertyName:function(){switch(o.type){case"identifier":case"string":a=o.value,d="afterPropertyName";return;case"punctuator":L();return;case"eof":throw W()}},afterPropertyName:function(){if(o.type==="eof")throw W();d="beforePropertyValue"},beforePropertyValue:function(){if(o.type==="eof")throw W();P()},beforeArrayValue:function(){if(o.type==="eof")throw W();if(o.type==="punctuator"&&o.value==="]"){L();return}P()},afterPropertyValue:function(){if(o.type==="eof")throw W();switch(o.value){case",":d="beforePropertyName";return;case"}":L()}},afterArrayValue:function(){if(o.type==="eof")throw W();switch(o.value){case",":d="beforeArrayValue";return;case"]":L()}},end:function(){}};function P(){var $;switch(o.type){case"punctuator":switch(o.value){case"{":$={};break;case"[":$=[];break}break;case"null":case"boolean":case"numeric":case"string":$=o.value;break}if(i===void 0)i=$;else{var G=n[n.length-1];Array.isArray(G)?G.push($):G[a]=$}if($!==null&&typeof $=="object")n.push($),Array.isArray($)?d="beforeArrayValue":d="beforePropertyName";else{var Q=n[n.length-1];Q==null?d="end":Array.isArray(Q)?d="afterArrayValue":d="afterPropertyValue"}}function L(){n.pop();var $=n[n.length-1];$==null?d="end":Array.isArray($)?d="afterArrayValue":d="afterPropertyValue"}function O($){return V($===void 0?"JSON5: invalid end of input at "+t+":"+r:"JSON5: invalid character '"+H($)+"' at "+t+":"+r)}function W(){return V("JSON5: invalid end of input at "+t+":"+r)}function j(){return r-=5,V("JSON5: invalid identifier character at "+t+":"+r)}function K($){console.warn("JSON5: '"+H($)+"' in strings is not valid ECMAScript; consider escaping")}function H($){var G={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(G[$])return G[$];if($<" "){var Q=$.charCodeAt(0).toString(16);return"\\x"+("00"+Q).substring(Q.length)}return $}function V($){var G=new SyntaxError($);return G.lineNumber=t,G.columnNumber=r,G}return u},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(350)],C=l.dj.d(A,function(y){return{isSpaceSeparator:function(m){return typeof m=="string"&&y.Space_Separator.test(m)},isIdStartChar:function(m){return typeof m=="string"&&(m>="a"&&m<="z"||m>="A"&&m<="Z"||m==="$"||m==="_"||y.ID_Start.test(m))},isIdContinueChar:function(m){return typeof m=="string"&&(m>="a"&&m<="z"||m>="A"&&m<="Z"||m>="0"&&m<="9"||m==="$"||m==="_"||m==="\u200C"||m==="\u200D"||y.ID_Continue.test(m))},isDigit:function(m){return typeof m=="string"&&/[0-9]/.test(m)},isHexDigit:function(m){return typeof m=="string"&&/[0-9A-Fa-f]/.test(m)}}},_,M),_.exports=C},function(_,M,l){_.exports={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/}},function(_,M,l){var A,C;A=[l(0),l(12),l(47),l(88)],C=l.dj.d(A,function(y,m,h,d){function n(r,o,a){if(a!==null){var i=r[o];typeof i=="string"?r[o]=[i,a]:y.isArray(i)?i.push(a):r[o]=a}}var e="file|submit|image|reset|button",t={fieldToObject:function(o){var a=null;if(o=m.byId(o),o){var i=o.name,u=(o.type||"").toLowerCase();if(i&&u&&!o.disabled)if(u=="radio"||u=="checkbox")o.checked&&(a=o.value);else if(o.multiple){a=[];for(var s=[o.firstChild];s.length;)for(var c=s.pop();c;c=c.nextSibling)if(c.nodeType==1&&c.tagName.toLowerCase()=="option")c.selected&&a.push(c.value);else{c.nextSibling&&s.push(c.nextSibling),c.firstChild&&s.push(c.firstChild);break}}else a=o.value}return a},toObject:function(o){for(var a={},i=m.byId(o).elements,u=0,s=i.length;u<s;++u){var c=i[u],f=c.name,p=(c.type||"").toLowerCase();f&&p&&e.indexOf(p)<0&&!c.disabled&&(n(a,f,t.fieldToObject(c)),p=="image"&&(a[f+".x"]=a[f+".y"]=a[f].x=a[f].y=0))}return a},toQuery:function(o){return h.objectToQuery(t.toObject(o))},toJson:function(o,a){return d.stringify(t.toObject(o),null,a?4:0)}};return t},_,M),_.exports=C},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(6),__webpack_require__(88)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(dojo,json){return dojo.fromJson=function(js){return eval("("+js+")")},dojo._escapeString=json.stringify,dojo.toJsonIndentStr=" ",dojo.toJson=function(_,M){return json.stringify(_,function(l,A){if(A){var C=A.__json__||A.json;if(typeof C=="function")return C.call(A)}return A},M&&dojo.toJsonIndentStr)},dojo},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},function(_,M,l){var A,C;A=[l(62),l(48),l(354),l(355),l(356),l(357),l(358),l(359),l(360),l(361),l(362),l(363),l(364),l(365),l(366),l(367),l(368),l(369),l(370),l(371),l(372),l(373),l(374),l(375),l(376),l(377),l(378),l(379),l(380),l(381),l(382),l(383),l(384),l(385),l(386),l(387),l(388),l(389),l(390),l(391),l(392),l(393)],C=l.dj.d(A,function(y,m){return m(y,"dijit/nls/loading",l.dj.c(),!0)},_,M),_.exports=C},function(_,M,l){_.exports={loadingState:"U\u010Ditavanje...",errorState:"Izvinite, do\u0161lo je do gre\u0161ke"}},function(_,M,l){_.exports={loadingState:"\u0412\u0447\u0438\u0442\u0443\u0432\u0430\u045A\u0435...",errorState:"\u0421\u0435 \u043F\u043E\u0458\u0430\u0432\u0438 \u0433\u0440\u0435\u0448\u043A\u0430"}},function(_,M,l){_.exports={loadingState:"U\u010Ditavanje...",errorState:"Na\u017Ealost, do\u0161lo je do gre\u0161ke"}},function(_,M,l){_.exports={loadingState:"\u6B63\u5728\u52A0\u8F7D...",errorState:"\u5BF9\u4E0D\u8D77\uFF0C\u53D1\u751F\u4E86\u9519\u8BEF"}},function(_,M,l){_.exports={loadingState:"\u8F09\u5165\u4E2D...",errorState:"\u62B1\u6B49\uFF0C\u767C\u751F\u932F\u8AA4"}},function(_,M,l){_.exports={loadingState:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F...",errorState:"\u0421\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430"}},function(_,M,l){_.exports={loadingState:"Y\xFCkleniyor...",errorState:"\xDCzg\xFCn\xFCz, bir hata olu\u015Ftu"}},function(_,M,l){_.exports={loadingState:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14...",errorState:"\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14"}},function(_,M,l){_.exports={loadingState:"L\xE4ser in...",errorState:"Det har intr\xE4ffat ett fel."}},function(_,M,l){_.exports={loadingState:"Nalaganje ...",errorState:"Oprostite, pri\u0161lo je do napake."}},function(_,M,l){_.exports={loadingState:"Zav\xE1dza sa...",errorState:"\u013Dutujeme, ale vyskytla sa chyba"}},function(_,M,l){_.exports={loadingState:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",errorState:"\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0432\u043E\u0437\u043D\u0438\u043A\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430"}},function(_,M,l){_.exports={loadingState:"\xCEnc\u0103rcare...",errorState:"Ne pare r\u0103u, a ap\u0103rut o eroare "}},function(_,M,l){_.exports={loadingState:"Carregando...",errorState:"Desculpe, ocorreu um erro"}},function(_,M,l){_.exports={loadingState:"A carregar...",errorState:"Lamentamos, mas ocorreu um erro"}},function(_,M,l){_.exports={loadingState:"\u0141adowanie...",errorState:"Niestety, wyst\u0105pi\u0142 b\u0142\u0105d"}},function(_,M,l){_.exports={loadingState:"Bezig met laden...",errorState:"Er is een fout opgetreden"}},function(_,M,l){_.exports={loadingState:"Laster inn...",errorState:"Det oppsto en feil"}},function(_,M,l){_.exports={loadingState:"\uB85C\uB4DC \uC911...",errorState:"\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4."}},function(_,M,l){_.exports={loadingState:"\u049A\u043E\u0442\u0430\u0440\u044B\u043B\u0443\u0434\u0430...",errorState:"\u041A\u0435\u0448\u0456\u0440\u0456\u04A3\u0456\u0437, \u049B\u0430\u0442\u0435 \u043E\u0440\u044B\u043D \u0430\u043B\u0434\u044B"}},function(_,M,l){_.exports={loadingState:"\u30ED\u30FC\u30C9\u4E2D...",errorState:"\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002"}},function(_,M,l){_.exports={loadingState:"Caricamento in corso...",errorState:"Si \xE8 verificato un errore"}},function(_,M,l){_.exports={loadingState:"Memuatkan...",errorState:"Maaf, terjadi kesalahan"}},function(_,M,l){_.exports={loadingState:"Bet\xF6lt\xE9s...",errorState:"Sajn\xE1lom, hiba t\xF6rt\xE9nt"}},function(_,M,l){_.exports={loadingState:"U\u010Ditavanje...",errorState:"\u017Dao nam je, do\u0161lo je do gre\u0161ke"}},function(_,M,l){_.exports={loadingState:"\u05D8\u05E2\u05D9\u05E0\u05D4...\u200F",errorState:"\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4"}},function(_,M,l){_.exports={loadingState:"Chargement...",errorState:"Une erreur est survenue"}},function(_,M,l){_.exports={loadingState:"Lataus on meneill\xE4\xE4n...",errorState:"On ilmennyt virhe."}},function(_,M,l){_.exports={loadingState:"Kargatzen...",errorState:"Barkatu, errorea gertatu da"}},function(_,M,l){_.exports={loadingState:"Cargando...",errorState:"Lo siento, se ha producido un error"}},function(_,M,l){_.exports={loadingState:"\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7...",errorState:"\u03A3\u03B1\u03C2 \u03B6\u03B7\u03C4\u03BF\u03CD\u03BC\u03B5 \u03C3\u03C5\u03B3\u03BD\u03CE\u03BC\u03B7, \u03C0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1"}},function(_,M,l){_.exports={loadingState:"Wird geladen...",errorState:"Es ist ein Fehler aufgetreten."}},function(_,M,l){_.exports={loadingState:"Indl\xE6ser...",errorState:"Der er opst\xE5et en fejl"}},function(_,M,l){_.exports={loadingState:"Prob\xEDh\xE1 na\u010D\xEDt\xE1n\xED...",errorState:"Omlouv\xE1me se, do\u0161lo k chyb\u011B"}},function(_,M,l){_.exports={loadingState:"S'est\xE0 carregant...",errorState:"Ens sap greu. S'ha produ\xEFt un error."}},function(_,M,l){_.exports={loadingState:"\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435...",errorState:"\u0421\u044A\u0436\u0430\u043B\u044F\u0432\u0430\u043C\u0435, \u0432\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430"}},function(_,M,l){_.exports={loadingState:"Y\xFCkl\u0259nir...",errorState:"Problem yarand\u0131"}},function(_,M,l){_.exports={loadingState:"\u062C\u0627\u0631\u064A \u0627\u0644\u062A\u062D\u0645\u064A\u0644...",errorState:"\u0639\u0641\u0648\u0627\u060C \u062D\u062F\u062B \u062E\u0637\u0623"}},function(_,M,l){_.exports={loadingState:"Duke u ngarkuar",errorState:"Nj\xEB gabim ndodhi"}},function(_,M,l){_.exports={root:{loadingState:"Loading...",errorState:"Sorry, an error occurred"},bs:!0,mk:!0,sr:!0,zh:!0,"zh-tw":!0,uk:!0,tr:!0,th:!0,sv:!0,sl:!0,sk:!0,ru:!0,ro:!0,pt:!0,"pt-pt":!0,pl:!0,nl:!0,nb:!0,ko:!0,kk:!0,ja:!0,it:!0,id:!0,hu:!0,hr:!0,he:!0,fr:!0,fi:!0,eu:!0,es:!0,el:!0,de:!0,da:!0,cs:!0,ca:!0,bg:!0,az:!0,ar:!0,al:!0}},function(_,M,l){var A,C;A=[l(395),l(512),l(145)],C=l.dj.d(A,function(y,m,h){h.parse(),document.getElementById("rootContainer")&&y.start(),document.getElementById("internalHTML")&&m.start()},_,M),_.exports=C},function(_,M,l){var A,C;/**
|
||
* @preserve Copyright 2018-2022 The MathWorks, Inc.
|
||
*/A=[l(27),l(12),l(10),l(47),l(396),l(201),l(202),l(117)],C=l.dj.d(A,function(y,m,h,d,n,e,t){return{start:function(){const r=h.create("iframe",{id:"reportIFrame",height:"100%",width:"100%"},m.byId("reportPageArea")),o=window.location.search.substr(1),a=d.queryToObject(o);let i="";if(a.snc&&(i="&snc="+a.snc),window.dojoConfig&&window.dojoConfig.isDebug?r.src="_internal-debug.html?currentDate="+Date.now()+i:r.src="_internal.html?currentDate="+Date.now()+i,window.globalMessageDispatcher=e(),m.byId("topBar")){n(m.byId("topBar"),r),window.modelNavigator=t(m.byId("rootContainer"),m.byId("topBar"),r);const u=window.modelNavigator.getProtectedTreeNodes();window.modelNavigator.addProtMdlClass(u)}}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(12),l(10),l(47),l(4),l(27),l(0)],C=l.dj.d(A,function(y,m,h,d,n,e){window.hn={modelHierarchy:null};let t=null;return function(o,a,i){return window.hn.modelHierarchy=i,t=a,r(),{}};function r(){let o=null;return function(){n.subscribe("/postHistory",function(c){u(c)}),window.addEventListener("popstate",function(c){a(c.state)})}();function a(c){if(c===null)i({message:"loadHistoryState",pageLinkIndex:-1});else{const f=e.clone(c);f.message="loadHistoryState",i(f)}}function i(c){t.contentWindow.postMessage(c,"*")}function u(c){o&&s(c,o)||(o=c,window.history.pushState(c,""),window.lastIndex=null)}function s(c,f){return c.message!==f.message||c.model!==f.model||c.pageLinkIndex!==f.pageLinkIndex||c.codeFileName!==f.codeFileName?!1:c.coord===void 0&&f.coord===void 0?!0:c.coord===void 0||f.coord===void 0?!1:c.coord.x===f.coord.x&&c.coord.y===f.coord.y?!0:c.ln===f.ln||c.fname===f.fname}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(89)],C=l.dj.d(A,function(h){"use strict";var d=function(){function n(){m(this,n),this._controllers={},this._adaptors={}}return y(n,[{key:"registerEventListeners",value:function(t,r){var o=this,a=Object.keys(t);r?a.forEach(function(i){var u=o._controllers[i]||[];u.push(t[i]),o._controllers[i]=u}):a.forEach(function(i){var u=o._adaptors[i]||[];u.push(t[i]),o._adaptors[i]=u})}},{key:"_handleAdaptorEvents",value:function(t,r){var o=this._adaptors[t],a=[];return Array.isArray(o)&&o.forEach(function(i){var u=i(r);u&&u.then&&a.push(u)}),h(a)}},{key:"handleEvent",value:function(t){var r=this,o=t.eventToEmit,a=t.eventProperties,i=t.eventCallback,u=t.nextActionEvent,s=t.handleEvent;s=s&&s.bind(this);var c=this._controllers[o],f=[];Array.isArray(c)&&c.forEach(function(p){var v=p(a,u,s,i);v&&f.push(v)}),f.length>0?h(f).then(function(p){var v=p.some(function(g){return g&&g.prevented});v?i(p):s||r._handleAdaptorEvents(o,a).then(function(g){var E=p.concat(g);i(E)})}):this._handleAdaptorEvents(o,a).then(function(p){return i(p)})}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({MOUSE_LEFT_BUTTON:0,MOUSE_MIDDLE_BUTTON:1,MOUSE_RIGHT_BUTTON:2});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({rightClick:"",contextMenuClick:"treeContextMenu",keyDownshiftF10:"treeContextMenuShiftF10",dblClick:"treeNodeDoubleClick",keyDownNavigation:"treeNavigation",keyUp:"keyUpToggleCheckedState",keyDownMetaNavigation:"treeNavigation",keyDownRangeNavigation:"treeNavigation",keyDown:"treeKeyPress",nodeMouseDown:"treeNodeMouseDown",treeMouseDown:"treeMouseDown",deleteAction:"deleteActionEvent",nodeDoubleClicked:"treeNodeDoubleClicked",interactiveClick:"interactiveClick",treeKeyPressed:"treeKeyPressed"}),m=Object.freeze({dblClick:"treeNodeEditMouseEvent",keyDownAlphaNum:"",keyDownF2:"treeNodeEditKeyPress",keyDownEnter:"treeNodeEditKeyPress",nodeMouseDownFocused:"treeNodeEditMouseEvent"});return{TREE_EVENTS:y,EDIT_TREE_EVENTS:m}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({rightClick:"treeContextMenuSelection",contextMenuClick:"",keyDownshiftF10:"treeContextMenuShiftF10",dblClick:"treeNodeDoubleClick",keyDownNavigation:"treeNavigation",keyDownMetaNavigation:"",keyDownRangeNavigation:"treeNavigation",keyDown:"treeKeyPress",nodeMouseDown:"treeNodeMouseDown",nodeDoubleClicked:"treeNodeDoubleClicked",treeMouseDown:"treeMouseDown",deleteAction:"deleteActionEvent",treeKeyPressed:"treeKeyPressed"}),m=Object.freeze({dblClick:"treeNodeEditMouseEvent",keyDownF2:"treeNodeEditKeyPress",keyDownEnter:"",nodeMouseDownFocused:"",keyDownAlphaNum:"treeNodeEditKeyPress"});return{TREE_EVENTS:y,EDIT_TREE_EVENTS:m}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(402),l(2)],C=l.dj.d(A,function(n,e){"use strict";var t=function(r){d(o,r);function o(){return m(this,o),h(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return y(o,[{key:"componentDidUpdate",value:function(){this.props.node.value.check?this.tristateCB.checked=this.props.node.value.check:this.tristateCB.checked=!1,this._updateStateOnTriState(this.props.metadata),this.tristateCB.tabIndex=-1}},{key:"componentDidMount",value:function(){var i=this;this.tristateCB=n({checked:this.props.node.value.check||!1}),this._updateStateOnTriState(this.props.metadata),this.tristateCB["aria-label"]=this.props.node.value.label,this.changeListener=this.tristateCB.on("change",function(u){u.node=i.props.node,i.props.checkedHandler(u)}),this.checkboxContainer.appendChild(this.tristateCB),this.tristateCB.tabIndex=-1}},{key:"componentWillUnmount",value:function(){this.changeListener.remove()}},{key:"_updateStateOnTriState",value:function(i){if(i){var u=!!(i.readonly||i.disabled||i.noMouseInteraction);this.tristateCB.disabled=u}}},{key:"_mouseDownHandler",value:function(i){i.preventDefault()}},{key:"_doubleClickHandler",value:function(i){this.tristateCB.disabled||(i.preventDefault(),i.stopPropagation())}},{key:"render",value:function(){var i=this;return e.createElement("span",{className:"mw-checkbox-tree",onMouseDown:this._mouseDownHandler,onDoubleClick:this._doubleClickHandler.bind(this),ref:function(s){return i.checkboxContainer=s}})}}]),o}(e.Component);return t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(146),l(147),l(408),l(409),l(410)],C=l.dj.d(A,function(y,m,h,d,n){"use strict";class e extends m{constructor(){super();this.checked=d.FALSE,this.disabled=!1,this.tabIndex=0}static get properties(){return{checked:{type:String,reflect:!0},disabled:{type:Boolean,reflect:!0},tabIndex:{type:Number,reflect:!0,attribute:"tab-index"},dataTestId:{type:String,reflect:!0,attribute:"data-test-id"}}}set checked(r){const o=this.checked;r=this._setProperType(r),this._validate(r,"checked"),this._checked=r,this.requestUpdate("checked",o)}get checked(){return typeof this._checked=="boolean"?this._checked:this._checked===d.MIXED?this._checked:this._checked===d.TRUE}set disabled(r){const o=this.disabled;this._validate(r,"disabled"),this._disabled=r,this.requestUpdate("disabled",o)}get disabled(){return this._disabled}set dataTestId(r){this._validate(r,"dataTestId"),r?this.setAttribute("data-test-id",r):this.removeAttribute("data-test-id")}get dataTestId(){return this.getAttribute("data-test-id")}_validate(r,o){switch(o){case"disabled":if(typeof r!="boolean")throw new Error("Value of "+o+" property should be boolean");break;case"checked":if(r!==d.MIXED&&r!==!0&&r!==!1)throw new Error("Value of "+o+" property should be either a boolean or 'mixed'");break;case"dataTestId":if(typeof r!="string"&&r!==null)throw new Error("Value of "+o+" property should be a string or null");break}}_toggleToNewState(r){return r===d.MIXED||r===d.FALSE||r===!1?this._checked=!0:r===d.TRUE||r===!0?this._checked=!1:this._checked=!0,this._checked}_setProperType(r){return r===!1||r===d.FALSE?!1:r===!0||r===d.TRUE?!0:r===d.MIXED?d.MIXED:r}_toggleCheck(r){const o=this.checked,a=this._toggleToNewState(o),i={propertyName:"checked",oldValue:this._setProperType(o),newValue:a};this.emit("change",i,{bubbles:!0}),this.requestUpdate("checked",o)}_handleClick(r){this.disabled||this._toggleCheck(r)}_handleKeyDown(r){switch(r.keyCode){case h.SPACE:case h.ENTER:r.preventDefault(),this._toggleCheck(r);break}}willUpdate(r){r.has("disabled")&&(this.disabled?(this.tabIndex=-1,this._removeEventHandlers(),this.setAttribute("aria-disabled",this.disabled)):(this.tabIndex=0,this._attachEventHandlers(),this.removeAttribute("aria-disabled"))),r.has("checked")&&this.setAttribute("aria-checked",this.checked)}_attachEventHandlers(){this.on("click",this._handleClick),this.on("keydown",this._handleKeyDown)}_removeEventHandlers(){this.removeEventListener("click",this._handleClick),this.removeEventListener("keydown",this._handleKeyDown)}connectedCallback(){super.connectedCallback(),this.checked=this._checked,this.disabled=this._disabled,this.tabIndex=0,this._attachEventHandlers()}firstUpdated(){this.setAttribute("role","checkbox"),this.setAttribute("aria-checked",this.checked)}render(){return n()}disconnectedCallback(){super.disconnectedCallback(),this._removeEventHandlers()}emits(){}}return y({name:"mw-tristate-checkbox",widgetClass:e})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(148)],C=l.dj.d(A,function(y){"use strict";class m extends y.LitElement{}return m},_,M),_.exports=C},function(_,M,l){var A,C;A=[M,l(405),l(406)],C=l.dj.d(A,function(y,m,h){"use strict";/**
|
||
* @license
|
||
* Copyright 2017 Google LLC
|
||
* SPDX-License-Identifier: BSD-3-Clause
|
||
*/var d;const n=window.reactiveElementPolyfillSupport,e={toAttribute(a,i){switch(i){case Boolean:a=a?"":null;break;case Object:case Array:a=a==null?a:JSON.stringify(a)}return a},fromAttribute(a,i){let u=a;switch(i){case Boolean:u=a!==null;break;case Number:u=a===null?null:Number(a);break;case Object:case Array:try{u=JSON.parse(a)}catch(s){u=null}}return u}},t=(a,i)=>i!==a&&(i==i||a==a),r={attribute:!0,type:String,converter:e,reflect:!1,hasChanged:t};class o extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(i){var u;(u=this.l)!==null&&u!==void 0||(this.l=[]),this.l.push(i)}static get observedAttributes(){this.finalize();const i=[];return this.elementProperties.forEach((u,s)=>{const c=this._$Eh(s,u);c!==void 0&&(this._$Eu.set(c,s),i.push(c))}),i}static createProperty(i,u=r){if(u.state&&(u.attribute=!1),this.finalize(),this.elementProperties.set(i,u),!u.noAccessor&&!this.prototype.hasOwnProperty(i)){const s=typeof i=="symbol"?Symbol():"__"+i,c=this.getPropertyDescriptor(i,s,u);c!==void 0&&Object.defineProperty(this.prototype,i,c)}}static getPropertyDescriptor(i,u,s){return{get(){return this[u]},set(c){const f=this[i];this[u]=c,this.requestUpdate(i,f,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){return this.elementProperties.get(i)||r}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const i=Object.getPrototypeOf(this);if(i.finalize(),this.elementProperties=new Map(i.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const u=this.properties,s=[...Object.getOwnPropertyNames(u),...Object.getOwnPropertySymbols(u)];for(const c of s)this.createProperty(c,u[c])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const u=[];if(Array.isArray(i)){const s=new Set(i.flat(1/0).reverse());for(const c of s)u.unshift(m.getCompatibleStyle(c))}else i!==void 0&&u.push(m.getCompatibleStyle(i));return u}static _$Eh(i,u){const s=u.attribute;return s===!1?void 0:typeof s=="string"?s:typeof i=="string"?i.toLowerCase():void 0}o(){var i;this._$Ev=new Promise(u=>this.enableUpdating=u),this._$AL=new Map,this._$Ep(),this.requestUpdate(),(i=this.constructor.l)===null||i===void 0||i.forEach(u=>u(this))}addController(i){var u,s;((u=this._$Em)!==null&&u!==void 0?u:this._$Em=[]).push(i),this.renderRoot!==void 0&&this.isConnected&&((s=i.hostConnected)===null||s===void 0||s.call(i))}removeController(i){var u;(u=this._$Em)===null||u===void 0||u.splice(this._$Em.indexOf(i)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((i,u)=>{this.hasOwnProperty(u)&&(this._$Et.set(u,this[u]),delete this[u])})}createRenderRoot(){var i;const u=(i=this.shadowRoot)!==null&&i!==void 0?i:this.attachShadow(this.constructor.shadowRootOptions);return m.adoptStyles(u,this.constructor.elementStyles),u}connectedCallback(){var i;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(i=this._$Em)===null||i===void 0||i.forEach(u=>{var s;return(s=u.hostConnected)===null||s===void 0?void 0:s.call(u)})}enableUpdating(i){}disconnectedCallback(){var i;(i=this._$Em)===null||i===void 0||i.forEach(u=>{var s;return(s=u.hostDisconnected)===null||s===void 0?void 0:s.call(u)})}attributeChangedCallback(i,u,s){this._$AK(i,s)}_$Eg(i,u,s=r){var c,f;const p=this.constructor._$Eh(i,s);if(p!==void 0&&s.reflect===!0){const v=((f=(c=s.converter)===null||c===void 0?void 0:c.toAttribute)!==null&&f!==void 0?f:e.toAttribute)(u,s.type);this._$Ei=i,v==null?this.removeAttribute(p):this.setAttribute(p,v),this._$Ei=null}}_$AK(i,u){var s,c,f;const p=this.constructor,v=p._$Eu.get(i);if(v!==void 0&&this._$Ei!==v){const g=p.getPropertyOptions(v),E=g.converter,D=(f=(c=(s=E)===null||s===void 0?void 0:s.fromAttribute)!==null&&c!==void 0?c:typeof E=="function"?E:null)!==null&&f!==void 0?f:e.fromAttribute;this._$Ei=v,this[v]=D(u,g.type),this._$Ei=null}}requestUpdate(i,u,s){let c=!0;i!==void 0&&(((s=s||this.constructor.getPropertyOptions(i)).hasChanged||t)(this[i],u)?(this._$AL.has(i)||this._$AL.set(i,u),s.reflect===!0&&this._$Ei!==i&&(this._$ES===void 0&&(this._$ES=new Map),this._$ES.set(i,s))):c=!1),!this.isUpdatePending&&c&&(this._$Ev=this._$ET())}_$ET(){return i=this,u=void 0,c=function*(){this.isUpdatePending=!0;try{yield this._$Ev}catch(p){Promise.reject(p)}const f=this.scheduleUpdate();return f!=null&&(yield f),!this.isUpdatePending},new((s=void 0)||(s=Promise))(function(f,p){function v(D){try{E(c.next(D))}catch(F){p(F)}}function g(D){try{E(c.throw(D))}catch(F){p(F)}}function E(D){var F;D.done?f(D.value):(F=D.value,F instanceof s?F:new s(function(w){w(F)})).then(v,g)}E((c=c.apply(i,u||[])).next())});var i,u,s,c}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((c,f)=>this[f]=c),this._$Et=void 0);let u=!1;const s=this._$AL;try{u=this.shouldUpdate(s),u?(this.willUpdate(s),(i=this._$Em)===null||i===void 0||i.forEach(c=>{var f;return(f=c.hostUpdate)===null||f===void 0?void 0:f.call(c)}),this.update(s)):this._$EC()}catch(c){throw u=!1,this._$EC(),c}u&&this._$AE(s)}willUpdate(i){}_$AE(i){var u;(u=this._$Em)===null||u===void 0||u.forEach(s=>{var c;return(c=s.hostUpdated)===null||c===void 0?void 0:c.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(i)),this.updated(i)}_$EC(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(i){return!0}update(i){this._$ES!==void 0&&(this._$ES.forEach((u,s)=>this._$Eg(s,this[s],u)),this._$ES=void 0),this._$EC()}updated(i){}firstUpdated(i){}}o.finalized=!0,o.elementProperties=new Map,o.elementStyles=[],o.shadowRootOptions={mode:"open"},n==null||n({ReactiveElement:o}),((d=globalThis.reactiveElementVersions)!==null&&d!==void 0?d:globalThis.reactiveElementVersions=[]).push("1.0.1"),y.CSSResult=m.CSSResult,y.adoptStyles=m.adoptStyles,y.css=m.css,y.getCompatibleStyle=m.getCompatibleStyle,y.supportsAdoptingStyleSheets=m.supportsAdoptingStyleSheets,y.unsafeCSS=m.unsafeCSS,y.ReactiveElement=o,y.defaultConverter=e,y.notEqual=t,Object.defineProperty(y,"t",{value:!0})},_,M),_.exports=C},function(_,M,l){var A,C;A=[M],C=l.dj.d(A,function(y){"use strict";/**
|
||
* @license
|
||
* Copyright 2019 Google LLC
|
||
* SPDX-License-Identifier: BSD-3-Clause
|
||
*/const m=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,h=Symbol(),d=new Map;class n{constructor(o,a){if(this._$cssResult$=!0,a!==h)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o}get styleSheet(){let o=d.get(this.cssText);return m&&o===void 0&&(d.set(this.cssText,o=new CSSStyleSheet),o.replaceSync(this.cssText)),o}toString(){return this.cssText}}const e=r=>new n(typeof r=="string"?r:r+"",h),t=m?r=>r:r=>r instanceof CSSStyleSheet?(o=>{let a="";for(const i of o.cssRules)a+=i.cssText;return e(a)})(r):r;y.CSSResult=n,y.adoptStyles=(r,o)=>{m?r.adoptedStyleSheets=o.map(a=>a instanceof CSSStyleSheet?a:a.styleSheet):o.forEach(a=>{const i=document.createElement("style"),u=window.litNonce;u!==void 0&&i.setAttribute("nonce",u),i.textContent=a.cssText,r.appendChild(i)})},y.css=(r,...o)=>{const a=r.length===1?r[0]:o.reduce((i,u,s)=>i+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(u)+r[s+1],r[0]);return new n(a,h)},y.getCompatibleStyle=t,y.supportsAdoptingStyleSheets=m,y.unsafeCSS=e,Object.defineProperty(y,"t",{value:!0})},_,M),_.exports=C},function(_,M,l){var A;A=function(){"use strict";return function(){if(window.Reflect===void 0||window.customElements===void 0||window.customElements.polyfillWrapFlushCallback)return;const C=HTMLElement;window.HTMLElement=function(){return Reflect.construct(C,[],this.constructor)},HTMLElement.prototype=C.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,C)}(),{}}.call(null,l,M,_),A!==void 0&&(_.exports=A)},function(_,M,l){var A,C;A=[M],C=l.dj.d(A,function(y){"use strict";/**
|
||
* @license
|
||
* Copyright 2017 Google LLC
|
||
* SPDX-License-Identifier: BSD-3-Clause
|
||
*/var m;const h=globalThis.trustedTypes,d=h?h.createPolicy("lit-html",{createHTML:J=>J}):void 0,n="$lit$",e=`lit$${(Math.random()+"").slice(9)}$`,t="?"+e,r=`<${t}>`,o=document,a=(J="")=>o.createComment(J),i=J=>J===null||typeof J!="object"&&typeof J!="function",u=Array.isArray,s=J=>{var Y;return u(J)||typeof((Y=J)===null||Y===void 0?void 0:Y[Symbol.iterator])=="function"},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,p=/>/g,v=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,g=/'/g,E=/"/g,D=/^(?:script|style|textarea)$/i,F=J=>(Y,...X)=>({_$litType$:J,strings:Y,values:X}),w=F(1),x=F(2),R=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),S=new WeakMap,I=o.createTreeWalker(o,129,null,!1),B=(J,Y)=>{const X=J.length-1,Z=[];let q,ee=Y===2?"<svg>":"",re=c;for(let me=0;me<X;me++){const se=J[me];let te,oe,ue=-1,ce=0;for(;ce<se.length&&(re.lastIndex=ce,oe=re.exec(se),oe!==null);)ce=re.lastIndex,re===c?oe[1]==="!--"?re=f:oe[1]!==void 0?re=p:oe[2]!==void 0?(D.test(oe[2])&&(q=RegExp("</"+oe[2],"g")),re=v):oe[3]!==void 0&&(re=v):re===v?oe[0]===">"?(re=q!=null?q:c,ue=-1):oe[1]===void 0?ue=-2:(ue=re.lastIndex-oe[2].length,te=oe[1],re=oe[3]===void 0?v:oe[3]==='"'?E:g):re===E||re===g?re=v:re===f||re===p?re=c:(re=v,q=void 0);const ve=re===v&&J[me+1].startsWith("/>")?" ":"";ee+=re===c?se+r:ue>=0?(Z.push(te),se.slice(0,ue)+n+se.slice(ue)+e+ve):se+e+(ue===-2?(Z.push(void 0),me):ve)}const he=ee+(J[X]||"<?>")+(Y===2?"</svg>":"");return[d!==void 0?d.createHTML(he):he,Z]};class P{constructor({strings:Y,_$litType$:X},Z){let q;this.parts=[];let ee=0,re=0;const he=Y.length-1,me=this.parts,[se,te]=B(Y,X);if(this.el=P.createElement(se,Z),I.currentNode=this.el.content,X===2){const oe=this.el.content,ue=oe.firstChild;ue.remove(),oe.append(...ue.childNodes)}for(;(q=I.nextNode())!==null&&me.length<he;){if(q.nodeType===1){if(q.hasAttributes()){const oe=[];for(const ue of q.getAttributeNames())if(ue.endsWith(n)||ue.startsWith(e)){const ce=te[re++];if(oe.push(ue),ce!==void 0){const ve=q.getAttribute(ce.toLowerCase()+n).split(e),Se=/([.?@])?(.*)/.exec(ce);me.push({type:1,index:ee,name:Se[2],strings:ve,ctor:Se[1]==="."?K:Se[1]==="?"?H:Se[1]==="@"?V:j})}else me.push({type:6,index:ee})}for(const ue of oe)q.removeAttribute(ue)}if(D.test(q.tagName)){const oe=q.textContent.split(e),ue=oe.length-1;if(ue>0){q.textContent=h?h.emptyScript:"";for(let ce=0;ce<ue;ce++)q.append(oe[ce],a()),I.nextNode(),me.push({type:2,index:++ee});q.append(oe[ue],a())}}}else if(q.nodeType===8)if(q.data===t)me.push({type:2,index:ee});else{let oe=-1;for(;(oe=q.data.indexOf(e,oe+1))!==-1;)me.push({type:7,index:ee}),oe+=e.length-1}ee++}}static createElement(Y,X){const Z=o.createElement("template");return Z.innerHTML=Y,Z}}function L(J,Y,X=J,Z){var q,ee,re,he;if(Y===R)return Y;let me=Z!==void 0?(q=X._$Cl)===null||q===void 0?void 0:q[Z]:X._$Cu;const se=i(Y)?void 0:Y._$litDirective$;return(me==null?void 0:me.constructor)!==se&&((ee=me==null?void 0:me._$AO)===null||ee===void 0||ee.call(me,!1),se===void 0?me=void 0:(me=new se(J),me._$AT(J,X,Z)),Z!==void 0?((re=(he=X)._$Cl)!==null&&re!==void 0?re:he._$Cl=[])[Z]=me:X._$Cu=me),me!==void 0&&(Y=L(J,me._$AS(J,Y.values),me,Z)),Y}class O{constructor(Y,X){this.v=[],this._$AN=void 0,this._$AD=Y,this._$AM=X}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(Y){var X;const{el:{content:Z},parts:q}=this._$AD,ee=((X=Y==null?void 0:Y.creationScope)!==null&&X!==void 0?X:o).importNode(Z,!0);I.currentNode=ee;let re=I.nextNode(),he=0,me=0,se=q[0];for(;se!==void 0;){if(he===se.index){let te;se.type===2?te=new W(re,re.nextSibling,this,Y):se.type===1?te=new se.ctor(re,se.name,se.strings,this,Y):se.type===6&&(te=new $(re,this,Y)),this.v.push(te),se=q[++me]}he!==(se==null?void 0:se.index)&&(re=I.nextNode(),he++)}return ee}m(Y){let X=0;for(const Z of this.v)Z!==void 0&&(Z.strings!==void 0?(Z._$AI(Y,Z,X),X+=Z.strings.length-2):Z._$AI(Y[X])),X++}}class W{constructor(Y,X,Z,q){var ee;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=Y,this._$AB=X,this._$AM=Z,this.options=q,this._$Cg=(ee=q==null?void 0:q.isConnected)===null||ee===void 0||ee}get _$AU(){var Y,X;return(X=(Y=this._$AM)===null||Y===void 0?void 0:Y._$AU)!==null&&X!==void 0?X:this._$Cg}get parentNode(){let Y=this._$AA.parentNode;const X=this._$AM;return X!==void 0&&Y.nodeType===11&&(Y=X.parentNode),Y}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(Y,X=this){Y=L(this,Y,X),i(Y)?Y===T||Y==null||Y===""?(this._$AH!==T&&this._$AR(),this._$AH=T):Y!==this._$AH&&Y!==R&&this.$(Y):Y._$litType$!==void 0?this.T(Y):Y.nodeType!==void 0?this.S(Y):s(Y)?this.P(Y):this.$(Y)}M(Y,X=this._$AB){return this._$AA.parentNode.insertBefore(Y,X)}S(Y){this._$AH!==Y&&(this._$AR(),this._$AH=this.M(Y))}$(Y){this._$AH!==T&&i(this._$AH)?this._$AA.nextSibling.data=Y:this.S(o.createTextNode(Y)),this._$AH=Y}T(Y){var X;const{values:Z,_$litType$:q}=Y,ee=typeof q=="number"?this._$AC(Y):(q.el===void 0&&(q.el=P.createElement(q.h,this.options)),q);if(((X=this._$AH)===null||X===void 0?void 0:X._$AD)===ee)this._$AH.m(Z);else{const re=new O(ee,this),he=re.p(this.options);re.m(Z),this.S(he),this._$AH=re}}_$AC(Y){let X=S.get(Y.strings);return X===void 0&&S.set(Y.strings,X=new P(Y)),X}P(Y){u(this._$AH)||(this._$AH=[],this._$AR());const X=this._$AH;let Z,q=0;for(const ee of Y)q===X.length?X.push(Z=new W(this.M(a()),this.M(a()),this,this.options)):Z=X[q],Z._$AI(ee),q++;q<X.length&&(this._$AR(Z&&Z._$AB.nextSibling,q),X.length=q)}_$AR(Y=this._$AA.nextSibling,X){var Z;for((Z=this._$AP)===null||Z===void 0||Z.call(this,!1,!0,X);Y&&Y!==this._$AB;){const q=Y.nextSibling;Y.remove(),Y=q}}setConnected(Y){var X;this._$AM===void 0&&(this._$Cg=Y,(X=this._$AP)===null||X===void 0||X.call(this,Y))}}class j{constructor(Y,X,Z,q,ee){this.type=1,this._$AH=T,this._$AN=void 0,this.element=Y,this.name=X,this._$AM=q,this.options=ee,Z.length>2||Z[0]!==""||Z[1]!==""?(this._$AH=Array(Z.length-1).fill(new String),this.strings=Z):this._$AH=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(Y,X=this,Z,q){const ee=this.strings;let re=!1;if(ee===void 0)Y=L(this,Y,X,0),re=!i(Y)||Y!==this._$AH&&Y!==R,re&&(this._$AH=Y);else{const he=Y;let me,se;for(Y=ee[0],me=0;me<ee.length-1;me++)se=L(this,he[Z+me],X,me),se===R&&(se=this._$AH[me]),re||(re=!i(se)||se!==this._$AH[me]),se===T?Y=T:Y!==T&&(Y+=(se!=null?se:"")+ee[me+1]),this._$AH[me]=se}re&&!q&&this.C(Y)}C(Y){Y===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,Y!=null?Y:"")}}class K extends j{constructor(){super(...arguments),this.type=3}C(Y){this.element[this.name]=Y===T?void 0:Y}}class H extends j{constructor(){super(...arguments),this.type=4}C(Y){Y&&Y!==T?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class V extends j{constructor(Y,X,Z,q,ee){super(Y,X,Z,q,ee),this.type=5}_$AI(Y,X=this){var Z;if((Y=(Z=L(this,Y,X,0))!==null&&Z!==void 0?Z:T)===R)return;const q=this._$AH,ee=Y===T&&q!==T||Y.capture!==q.capture||Y.once!==q.once||Y.passive!==q.passive,re=Y!==T&&(q===T||ee);ee&&this.element.removeEventListener(this.name,this,q),re&&this.element.addEventListener(this.name,this,Y),this._$AH=Y}handleEvent(Y){var X,Z;typeof this._$AH=="function"?this._$AH.call((Z=(X=this.options)===null||X===void 0?void 0:X.host)!==null&&Z!==void 0?Z:this.element,Y):this._$AH.handleEvent(Y)}}class ${constructor(Y,X,Z){this.element=Y,this.type=6,this._$AN=void 0,this._$AM=X,this.options=Z}get _$AU(){return this._$AM._$AU}_$AI(Y){L(this,Y)}}const G={k:n,V:e,L:t,I:1,N:B,R:O,D:s,j:L,H:W,O:j,F:H,B:V,W:K,Z:$},Q=window.litHtmlPolyfillSupport;Q==null||Q(P,W),((m=globalThis.litHtmlVersions)!==null&&m!==void 0?m:globalThis.litHtmlVersions=[]).push("2.0.1"),y.t=G,y.html=w,y.noChange=R,y.nothing=T,y.render=(J,Y,X)=>{var Z,q;const ee=(Z=X==null?void 0:X.renderBefore)!==null&&Z!==void 0?Z:Y;let re=ee._$litPart$;if(re===void 0){const he=(q=X==null?void 0:X.renderBefore)!==null&&q!==void 0?q:null;ee._$litPart$=re=new W(Y.insertBefore(a(),he),he,void 0,X!=null?X:{})}return re._$AI(J),re},y.svg=x,Object.defineProperty(y,"i",{value:!0})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";return Object.freeze({SPACE:32,ENTER:13})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";return Object.freeze({TRUE:"true",FALSE:"false",MIXED:"mixed"})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(207)],C=l.dj.d(A,function(y){"use strict";return()=>y`
|
||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 14 14" xml:space="preserve">
|
||
<g class="mw-tristate-checkbox-background"><rect width="14" height="14"/></g>
|
||
<g class="mw-tristate-checkbox-default"><path d="M0,0v14h14V0H0z M13,13H1V1h12V13z"/></g>
|
||
<g class="mw-tristate-checkbox-hover"><path d="M0,0v14h14V0H0z M13,13H1V1h12V13z"/></g>
|
||
<g class="mw-tristate-checkbox-focus"><path d="M0,0v14h14V0H0z M13,13H1V1h12V13z"/></g>
|
||
<g class="mw-tristate-checkbox-indeterminate"><rect x="3" y="3" width="8" height="8"/></g>
|
||
<g class="mw-tristate-checkbox-checked"><polygon points="12,4 11,3 5,9 3,7 2,8 5,11"/></g>
|
||
</svg>`},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(412)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a){m(this,o);var i=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return i.adaptor=a,i._listeners=[],i._listeners.push(i.adaptor.on("checkboxStatusChangeRequested",function(u){return i._handleCheckboxState(u)})),i}return y(o,[{key:"_handleCheckboxState",value:function(i){var u=i.newValue;!u&&i.isSpaceKeyPressed&&(u=i.node.check==="mixed"?!0:i.node.check!==!0),this.adaptor.updateCheckboxState(i.node,u),this.emit("checkChanged",{nodeId:i.node.id,oldValue:i.node.check,newValue:u})}},{key:"exposedAPI",value:function(){return{}}},{key:"destroy",value:function(){this._listeners.forEach(function(i){return i.remove()})}},{key:"emits",get:function(){return["checkChanged"]}}],[{key:"adaptor",get:function(){return e}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(29)],C=l.dj.d(A,function(n,e){var t="CheckboxTreeAdaptor",r=function(o){d(a,o);function a(i,u,s){m(this,a);var c=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));c._view=u,c._viewModel=i,c._dataStore=s;var f={};return f.checkBoxClicked=function(p){return c._checkboxClicked(p)},f.keyUpToggleCheckedState=function(p){return c._handleKeyChange(p)},c._view.registerEventCallback(f,!0),c}return y(a,[{key:"_emitCheckboxStateChanged",value:function(u){this.emit("checkboxStatusChangeRequested",{node:u.node,newValue:u.newValue,isSpaceKeyPressed:u.isSpaceKeyPressed})}},{key:"updateCheckboxState",value:function(u,s){this._dataStore.updateChecked({id:u.id},s)}},{key:"_checkboxClicked",value:function(u){var s=this._viewModel.getStateByKey("treeContainerNode");s=s?s.value:null,s&&s.focus(),this._emitCheckboxStateChanged({node:u.node.value,newValue:u.detail.newValue})}},{key:"_isNodeEditable",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,c=s>=-1;if(!c)return!1;var f=this._dataStore.getLocalRowMetaData?this._dataStore.getLocalRowMetaData(s):{};return f.readonly&&(c=!1),c}},{key:"_handleKeyChange",value:function(u){var s=this,c=u.ctrlKey||u.metaKey;if(!(u.keyCode!==e.SPACE||c)){var f=this._viewModel.getStateByKey("keyboardActive");if(f=f?f.value:null,!!f)return this._dataStore.getNode(f).then(function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};s._isNodeEditable(p.node,p.index)&&s._emitCheckboxStateChanged({node:p.node,isSpaceKeyPressed:!0})})}}},{key:"destroy",value:function(){}}],[{key:"toString",value:function(){return t}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(414)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a){m(this,o);var i=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return i.adaptor=a,i._listeners=[],i._listeners.push(i.adaptor.on("treeContextMenu",function(u){return i._handleRightClick(u)})),i}return y(o,[{key:"exposedAPI",value:function(){return{}}},{key:"_handleRightClick",value:function(i){if(i.node){var u=i.isNodeAlreadySelected?i.selectedNodes:[i.node];this.adaptor.setContextMenuFocus(u)}this.emit("contextMenu",{top:i.top,left:i.left,target:i.emitTarget})}},{key:"destroy",value:function(){this._listeners.forEach(function(i){return i.remove()})}},{key:"emits",get:function(){return["contextMenu"]}}],[{key:"adaptor",get:function(){return e}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(209),l(15)],C=l.dj.d(A,function(n,e){var t="ContextMenuAdaptor",r=function(o){d(a,o);function a(i,u,s){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};m(this,a);var f=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));f._view=u,f._viewState=i,f._treeOptions=c;var p={};return p.treeContextMenu=function(v){return f._processAndEmitContextMenuClickEvt(v)},p.treeContextMenuShiftF10=function(v){return f._scrollToFocusedNode(v)},f._view.registerEventCallback(p,!0),f}return y(a,[{key:"_scrollToFocusedNode",value:function(u){var s=this,c={},f=this._viewState.getStateByKey("focused"),p=u.focusedDomNodePosition,v=u.treeContainerPosition,g=!1,E=function(){var w=s._view._rootDom.querySelector(".treeNode.focused");c.top=w.getBoundingClientRect().height/2+w.getBoundingClientRect().top,c.left=s._view._rootDom.querySelector(".treeNode.focused .treeNodeText").getBoundingClientRect().left,s._emitShiftF10Evt(f,c,v)};if(p&&(g=v.top<p.top&&v.bottom>p.bottom),f)if(g)E();else{var D={treeNode:{id:f.value.id},options:{maintainPositionIfInView:!0}};this._view.scrollTo(D,E)}else c.top=v.top,c.left=v.left,this._emitShiftF10Evt(null,c,v)}},{key:"_emitShiftF10Evt",value:function(u,s,c){(s.left<c.left||s.left>c.right)&&(s.left=c.left);var f={};u?(f={type:"TREENODE",nodeId:u.value.id},s.node=u.value):f={type:"TREE"},s.emitTarget=f,this._processAndEmitContextMenuClickEvt(s)}},{key:"_processAndEmitContextMenuClickEvt",value:function(u){var s=!1,c={};if(this._treeOptions.editor&&this._treeOptions.editor.type&&(s=!0),c.type="TREE",u.node){var f=n.isNodeAlreadySelected(this._viewState,u.node);u.isNodeAlreadySelected=f,u.isNodeAlreadySelected&&(u.selectedNodes=n.getSelectedNodes(this._viewState)),c.nodeId=u.node.id,c.type="TREENODE";var p=u.metadata||{};s=s&&!p.readonly}u.emitTarget||(u.emitTarget=c),u.emitTarget.isEditable=s,this.emit("treeContextMenu",u)}},{key:"setContextMenuFocus",value:function(u){n.setContextMenuFocus(this._viewState,u)}}],[{key:"toString",value:function(){return t}}]),a}(e);return r},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h=function(){function d(n,e){var t=e.spliceDragSource,r=e.dndListener;m(this,d),this._validate(n);var o=n.dragSource,a=n.lifecycle,i=n.allowGlobal;this.dragStart=a.start,this._removeFromContext=t,this.dragEnd=a.end,typeof o=="string"&&(this._dragSourceType="SELECTOR",this._dragSourceSelector=o),o instanceof Node&&(this._dragSourceType="DOM",this._dragSourceDOM=o),this._allowGlobal=!!i,r.setDraggableAttribute(this),this._dndListener=r}return y(d,[{key:"_validate",value:function(e){if(!e.dragSource)throw new Error("Expected: dragSource key should be defined");if(!e.lifecycle)throw new Error("Expected: lifecycle key should be defined");if(!e.lifecycle.start)throw new Error("Expected: lifecycle should have start function defined")}},{key:"destroy",value:function(){this._dndListener.removeDraggableAttribute(this),this._removeFromContext(),this.dragStart=null,this.dragEnd=null,this._dragSourceDOM=null,this._dragSourceType=null,this._dragSourceSelector=null}},{key:"allowGlobal",get:function(){return this._allowGlobal}},{key:"type",get:function(){return this._dragSourceType}},{key:"domNode",get:function(){return this._dragSourceDOM}},{key:"selector",get:function(){return this._dragSourceSelector}}]),d}();return h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var d=function(){function n(e,t){var r=t.spliceDropTarget;h(this,n),this.validate(e);var o=e.dropTarget,a=e.lifecycle,i=e.rowRegions,u=e.columnRegions,s=e.allowGlobal;this._removeFromDropTargets=r,typeof o=="string"&&(this._dropTargetType="SELECTOR",this._dropTargetSelector=o),o instanceof Node&&(this._dropTargetType="DOM",this._dropTargetDOM=o),this._allowGlobal=!!s,this.dragEnter=a.enter,this.dragOver=a.hover,this.dragLeave=a.leave,this.drop=a.drop,this.rowRegions=i,this.columnRegions=u}return m(n,[{key:"validate",value:function(t){if(!t.dropTarget)throw new Error("Expected: dropTarget key should be defined");if(!t.lifecycle)throw new Error("Expected: lifecycle key should be defined");if(!(t.lifecycle.enter&&t.lifecycle.drop))throw new Error("Expected: lifecycles should have enter and drop functions defined ");if(t.rowRegions){var r=y(t.rowRegions);if(r!=="function"&&r!=="string")throw new Error("Expected: rowRegions should be of type string or function");if(r==="string"&&!this._validateRegions(t.rowRegions))throw new Error("Expected: rowRegions should be of format px, % or number")}if(t.columnRegions){var o=y(t.columnRegions);if(o!=="function"&&o!=="string")throw new Error("Expected: columnRegions should be of type string or function");if(o==="string"&&!this._validateRegions(t.columnRegions))throw new Error("Expected: columnRegions should be of format px, % or number")}}},{key:"_validateRegions",value:function(t){var r=/^(([0-9]+(px|%)?)|auto)$/g;return t.split(" ").every(function(o){return o.match(r)!==null})}},{key:"hasRegions",value:function(){return this.hasRowRegions()||this.hasColumnRegions()}},{key:"hasRowRegions",value:function(){return!!this.rowRegions}},{key:"hasColumnRegions",value:function(){return!!this.columnRegions}},{key:"destroy",value:function(){this._removeFromDropTargets(),this._dropTargetType=null,this._dropTargetDOM=null,this._dropTargetSelector=null}},{key:"allowGlobal",get:function(){return this._allowGlobal}},{key:"type",get:function(){return this._dropTargetType}},{key:"domNode",get:function(){return this._dropTargetDOM}},{key:"selector",get:function(){return this._dropTargetSelector}}]),n}();return d},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(213),l(149),l(219)],C=l.dj.d(A,function(h,d,n){return function(){function e(){var t=this;m(this,e);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];this._html5DnDListener=new(Function.prototype.bind.apply(d,[null].concat(o))),this._listeners=[],this._html5DnDListener.on("dragStart",function(i){t._on.emit("dragStart",i)}),this._html5DnDListener.on("dragEnter",this._handleDragEnter.bind(this)),this._html5DnDListener.on("dragOverCoordinates",function(i){t._on.emit("dragOverCoordinates",i)}),this._html5DnDListener.on("dragOver",this._handleDragOver.bind(this)),this._html5DnDListener.on("dragLeave",this._handleDragLeave.bind(this)),this._html5DnDListener.on("drop",this._handleDrop.bind(this)),this._html5DnDListener.on("dragEnd",this._handleDragEnd.bind(this)),this._on=new h,this._regionsFunctionReturnCache={row:{},column:{}},this._regionsEnterQueue=[]}return y(e,[{key:"setDraggableAttribute",value:function(){var r;(r=this._html5DnDListener).setDraggableAttribute.apply(r,arguments)}},{key:"removeDraggableAttribute",value:function(){var r;(r=this._html5DnDListener).removeDraggableAttribute.apply(r,arguments)}},{key:"handleDynamicDragSources",value:function(){var r;(r=this._html5DnDListener).handleDynamicDragSources.apply(r,arguments)}},{key:"destroy",value:function(){this._listeners.forEach(function(r){r.remove()}),this._html5DnDListener.destroy()}},{key:"_handleDragEnter",value:function(r){if(r.dropTarget.hasRegions()){var o=this._getRowsAndColumns(r);this._saveDropTargetAndPostionsData(r.target,o),r.position=o}this._on.emit("dragEnter",r)}},{key:"_handleDragOver",value:function(r){if(r.dropTarget.hasRegions()){var o=this._getRowsAndColumns(r);this._hasEnteredBefore(r.target,o)?(r.position=o,this._on.emit("dragOver",r)):(r.position=o,this._on.emit("dragEnter",r),this._saveDropTargetAndPostionsData(r.target,o),r.position=this._regionsEnterQueue.shift().position,this._on.emit("dragLeave",r))}else this._on.emit("dragOver",r)}},{key:"_handleDragLeave",value:function(r){r.dropTarget.hasRegions()&&(r.position=this._regionsEnterQueue.shift().position),this._on.emit("dragLeave",r)}},{key:"_handleDrop",value:function(r){if(r.dropTarget.hasRegions()){var o=this._regionsEnterQueue.shift().position;r.position=o}this._on.emit("drop",r),this._regionsEnterQueue=[],this._regionsFunctionReturnCache={row:{},column:{}}}},{key:"_handleDragEnd",value:function(r){this._on.emit("dragEnd",r),this._regionsEnterQueue=[],this._regionsFunctionReturnCache={row:{},column:{}}}},{key:"_getRowsAndColumns",value:function(r){var o=r.dropTarget,a=r.target,i=r.type,u={row:0,column:0},s=n.getXYCoordinates(r),c=s.xOffset,f=s.yOffset;if(r.dropTarget.hasRowRegions()){var p=this._getRegions(i,o.rowRegions,"row");u.row=n.getRow(f,p,a.offsetHeight)}if(r.dropTarget.hasColumnRegions()){var v=this._getRegions(i,o.columnRegions,"column");u.column=n.getColumn(c,v,a.offsetWidth)}return u}},{key:"_saveDropTargetAndPostionsData",value:function(r,o){this._regionsEnterQueue.push({dropTarget:r,position:o})}},{key:"_hasEnteredBefore",value:function(r,o){var a=this._regionsEnterQueue[this._regionsEnterQueue.length-1];return this._isEqual(r,a.dropTarget)&&this._isEqual(o.row,a.position.row)&&this._isEqual(o.column,a.position.column)}},{key:"_isEqual",value:function(r,o){return r===o}},{key:"_getRegions",value:function(r,o,a){return typeof o!="function"?o:this._handleRegionsFunctionType(r,o,a)}},{key:"_handleRegionsFunctionType",value:function(r,o,a){switch(r){case"dragEnter":return o=o(),this._regionsFunctionReturnCache[a].previous?this._regionsFunctionReturnCache[a].previous=this._regionsFunctionReturnCache[a].current:this._regionsFunctionReturnCache[a].previous=o,this._regionsFunctionReturnCache[a].current=o,o;case"dragOver":case"drop":return this._regionsFunctionReturnCache[a].current;case"dragLeave":return this._regionsFunctionReturnCache[a].previous;default:break}}},{key:"on",value:function(r,o){var a=this._on.on(r,o);return this._listeners.push(a),a}}]),e}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(112),l(113),l(150),l(111),l(152),l(13)],C=l.dj.d(A,function(h,d,n,e,t,r){var o=function(){function a(i){m(this,a),this._nativeEvent=i.event,this._contextDomNode=i.domNode,this._isDragStartedInContext=i.isDragStartedInContext,this._getDropStatus=i.getDropStatus,this._getDragOperations=i.getDragOperations,this._on=i.on,this._getDropTargets=i.getDropTargets}return y(a,[{key:"handleDragOver",value:function(){this._emitDragOverCoordinates();var u=this._getDropTargetIfValid(),s=this._isPlatformMac()&&t.isAvatarPresent&&this._isDragStartedInContext()&&!this._isTargetTextAreaOrInput()&&!this._hasFileContent();if(!u){s&&(this._setDropEffect(s),this._nativeEvent.preventDefault());return}this._setDropEffect(s),this._nativeEvent.preventDefault();var c=u.matchedDragElement,f=u.matchedParentDOM;this._emitDragOver({dropTarget:c,target:f})}},{key:"_hasFileContent",value:function(){return e.hasFileContent(this._nativeEvent.dataTransfer)}},{key:"_isTargetTextAreaOrInput",value:function(){var u=this._nativeEvent.target,s=u&&u.tagName.toLowerCase(),c=["input","textarea"];return c.includes(s)}},{key:"_isPlatformMac",value:function(){return h.isMac}},{key:"_getDropTargetIfValid",value:function(){return n.validateDrag({getDropTargets:this._getDropTargets,event:this._nativeEvent,isDragStartedInContext:this._isDragStartedInContext,contextDOM:this._contextDomNode})}},{key:"_emitDragOverCoordinates",value:function(){this._on.emit(d.dragOverCoordinates,{type:d.dragOverCoordinates,xCoord:this._nativeEvent.pageX,yCoord:this._nativeEvent.pageY})}},{key:"_emitDragOver",value:function(u){var s=this._nativeEvent,c=u.dropTarget,f=u.target,p=s.dataTransfer;this._on.emit(d.dragOver,{type:d.dragOver,xCoord:s.pageX,yCoord:s.pageY,dropEffect:s.dataTransfer.dropEffect,dropTarget:c,target:f,nativeTypes:e.getTypes(),getNativeDataByType:n.createNativeDataByType(s),getNativeDataTypes:function(){return e.getNativeDataTypes(p,c.allowGlobal)},getDropOperation:function(){return n.getDropOperationFromDropEffect(p.dropEffect)}})}},{key:"_setDropEffect",value:function(u){var s=n.getDropEffect(this._nativeEvent,this._getDropStatus,this._getDragOperations,u);this._nativeEvent.dataTransfer.dropEffect=s}}]),a}();return o},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){const y={DEBUG:5,LOG:4,TABLE:4,TIME:4,DIR:4,INFO:3,WARN:2,ASSERT:1,ERROR:1};return Object.freeze(y),y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(218)],C=l.dj.d(A,function(y){function m(d){let n={},e=[];y.makeReadOnlyProperty(n,"size",d);let t=0;return n.add=function(r){e[t]=r,t=(t+1)%n.size},n.applyCallback=function(r){let o=t+1;e[o]===void 0&&(o=0);let a=0,i=o;for(;a<n.size&&e[i]!==void 0;)r(e[i]),i=(i+1)%d,a++},n}let h={};return h.create=m,h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function h(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e<n.length;e++)t[e]=n[e];return t}else return Array.from(n)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}A=[l(152),l(219),l(113),l(13)],C=l.dj.d(A,function(n,e,t,r){function o(i,u,s,c,f){var p=void 0;switch(i){case c.TEXT:p=u.getNativeDataByType(c.TEXT);break;case c.FILES:p=u.getNativeDataByType(c.FILES);break;default:if(s){var v=i.toLowerCase();p=s.get(v)}!p&&f&&(p=u.getNativeDataByType(i));break}return p}var a=function(){function i(){d(this,i)}return y(i,null,[{key:"getDragItemStart",value:function(s,c,f){var p=c.dragData,v=!1;return s.dragSource&&s.dragSource.allowGlobal&&(v=!0),{setDataByType:function(E,D){switch(v&&s.setNativeDataByType(E,D),E){case s.nativeTypes.TEXT:s.setNativeDataByType(s.nativeTypes.TEXT,D);break;default:E=E.toLowerCase(),p.set(E,D);break}},getXYCoordinates:function(){return e.getXYCoordinates(s)},getDataByType:function(E){return o(E,s,p,s.nativeTypes,v)},getDataTypes:function(){return i._getDataTypes(s,p,v)},setDragOperations:function(E){var D=void 0;Array.isArray(E)?D=E.slice():typeof E=="string"&&(D=[E]),c.dragOperations=D},getDropOperation:function(){return s.getDropOperation()},getDragOperations:function(){return c.dragOperations},setAvatar:function(E,D){s.canSetNativeAvatar&&(f.avatarDOM=E,f.count=D)}}}},{key:"getDragItemForDropEvents",value:function(s,c){var f=!1,p=c.dragData;return s.dropTarget&&s.dropTarget.allowGlobal&&(f=!0),{getDataByType:function(g){return o(g,s,p,s.nativeTypes,f)},getDataTypes:function(){return i._getDataTypes(s,p,f)},getXYCoordinates:function(){return e.getXYCoordinates(s)},getDropEffect:function(){return s.dropEffect},getDropOperation:function(){return s.getDropOperation()},getDragOperations:function(){return c.dragOperations}}}},{key:"getDragItemEnd",value:function(s,c){var f=c.dragData,p=!1;return s.dragSource&&s.dragSource.allowGlobal&&(p=!0),{getDataByType:function(g){return o(g,s,f,s.nativeTypes,p)},getDataTypes:function(){return i._getDataTypes(s,f,p)},getXYCoordinates:function(){return e.getXYCoordinates(s)},getDragOperations:function(){return c.dragOperations},getDropOperation:function(){return s.getDropOperation()}}}},{key:"_getDataTypes",value:function(s,c,f){var p=void 0;return f?p=i._getGlobalTypes(c,s):p=i._getLocalTypes(c,s),p.includes=function(v){var g=p.map(function(E){return E.toLowerCase()});return Array.prototype.includes.call(g,v.toLowerCase())},p}},{key:"_getGlobalTypes",value:function(s,c){var f=s?Array.from(s.keys()):[],p=c.getNativeDataTypes(),v=new Set(f.concat(p));return[].concat(h(v))}},{key:"_getLocalTypes",value:function(s,c){var f=s?Array.from(s.keys()):[],p=c.getNativeDataTypes();return f.concat(p)}},{key:"processAndExecuteHook",value:function(s){return function(c){return function(f){var p,v=(p={},m(p,t.dragStart,function(){var g={},E=!1,D=i.getDragItemStart(c,f,g),F=c.dragSource.dragStart(D,c.target);if(c.setValidDragItem(F),F&&(E=!0,g.avatarDOM)){var w=g.avatarDOM,x=g.count;c.setEmptyNativeAvatar(),n.createAvatar(w,c,x)}return E}),m(p,t.dragEnter,function(){var g=c.dropTarget.dragEnter(i.getDragItemForDropEvents(c,f),c.target,c.position);return g}),m(p,t.dragOver,function(){c.dropTarget.dragOver&&c.dropTarget.dragOver(i.getDragItemForDropEvents(c,f),c.target,c.position)}),m(p,t.dragLeave,function(){c.dropTarget.dragLeave&&c.dropTarget.dragLeave(i.getDragItemForDropEvents(c,f),c.target,c.position)}),m(p,t.drop,function(){c.dropTarget.drop(i.getDragItemForDropEvents(c,f),c.target,c.position)}),m(p,t.dragEnd,function(){c.dragSource.dragEnd&&c.dragSource.dragEnd(i.getDragItemEnd(c,f),c.target)}),p);try{return v[s]()}catch(g){return r.warn(g),!1}}}}}]),i}();return a},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){return function(){function h(){m(this,h),this._canDropOnTarget=[]}return y(h,[{key:"addCanTargetDrop",value:function(n,e){this._canDropOnTarget.push({canDrop:n,dropTarget:e})}},{key:"removeTopItem",value:function(){this._canDropOnTarget.shift()}},{key:"empty",value:function(){this._canDropOnTarget=[]}},{key:"getTopItem",value:function(){return this._canDropOnTarget[this._canDropOnTarget.length-1]}},{key:"length",get:function(){return this._canDropOnTarget.length}}]),h}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(212),l(424)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(){return m(this,o),h(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return y(o,[{key:"_getDnDlistener",value:function(){for(var i=arguments.length,u=Array(i),s=0;s<i;s++)u[s]=arguments[s];return new(Function.prototype.bind.apply(e,[null].concat(u)))}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),m=function e(t,r,o){t===null&&(t=Function.prototype);var a=Object.getOwnPropertyDescriptor(t,r);if(a===void 0){var i=Object.getPrototypeOf(t);return i===null?void 0:e(i,r,o)}else{if("value"in a)return a.value;var u=a.get;return u===void 0?void 0:u.call(o)}};function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(149),l(111),l(214),l(150)],C=l.dj.d(A,function(e,t,r,o){var a=function(i){n(u,i);function u(){return h(this,u),d(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return y(u,[{key:"_getDropTargetPipeLine",value:function(){return r.pipe(o.addHandlersForEvents,o.addListenersUseCapture,o.removeListenerHandlerUseCapture)}},{key:"_handleDragEnter",value:function(c){u._hasFiles(c.event)&&m(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"_handleDragEnter",this).call(this,c)}},{key:"_handleDragLeave",value:function(c){u._hasFiles(c.event)&&m(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"_handleDragEnter",this).call(this,c)}},{key:"_handleDragOver",value:function(c){u._hasFiles(c.event)&&m(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"_handleDragEnter",this).call(this,c)}},{key:"_handleDrop",value:function(c){u._hasFiles(c.event)&&m(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"_handleDragEnter",this).call(this,c)}}],[{key:"_hasFiles",value:function(c){return t.hasFileContent(c.dataTransfer)}}]),u}(e);return a},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({V_TRIGGER_AUTOSCROLL:32,H_TRIGGER_AUTOSCROLL:32,V_AUTOSCROLL_VALUE:16,H_AUTOSCROLL_VALUE:16}),m=[10,32],h=[0,32];function d(t){var r=h[1]-t,o=m[1]-m[0],a=h[1]-h[0];return r*(o/a)+m[0]}function n(t,r){var o=t.getBoundingClientRect(),a=o.left,i=o.top,u=r.xOffset,s=r.yOffset,c=a+u,f=i+s;return{mouseLeftPosition:c,mouseTopPosition:f}}function e(t,r,o){var a=o.getBoundingClientRect(),i=a.left,u=a.top,s=a.bottom,c=a.right,f=s-t,p=t-u,v=c-r,g=r-i;return{distanceFromContainerBottom:f,distanceFromContainerTop:p,distanceFromContainerRight:v,distanceFromContainerLeft:g}}return{scroll:function(r,o,a,i){var u=!i&&o.scrollWidth>o.clientWidth,s=o.scrollHeight>o.clientHeight;if(!(!u&&!s)){var c=n(r,a),f=c.mouseLeftPosition,p=c.mouseTopPosition,v=e(p,f,o),g=v.distanceFromContainerBottom,E=v.distanceFromContainerTop,D=v.distanceFromContainerRight,F=v.distanceFromContainerLeft;s&&(g<y.V_TRIGGER_AUTOSCROLL?o.scrollTop=o.scrollTop+d(g):E<y.V_TRIGGER_AUTOSCROLL&&(o.scrollTop=o.scrollTop-d(E))),u&&(D<y.H_TRIGGER_AUTOSCROLL?o.scrollLeft=o.scrollLeft+d(D):F<y.H_TRIGGER_AUTOSCROLL&&(o.scrollLeft=o.scrollLeft-d(F)))}}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(63),l(222),l(76)],C=l.dj.d(A,function(y,m,h){var d=18,n=13,e=1,t=2,r=document.createElement("span");r.classList.add(y.REORDERING);var o={insertionLine:r};function a(x){var R=document.createElement("div");R.classList.add("dummyDiv"),x.append(R);var T=parseFloat(window.getComputedStyle(x).width);R.style.width=T+"px",R.style.height=e+"px",R.style.position="absolute"}function i(x,R){var T=x.domNode,S=x.isValidReorder,I=T.nextElementSibling;T.nextSibling||a(T),v(x)||(T.append(R.insertionLine),s(T)?c(I,R):c(T,R),S?p(R):f(R))}function u(x,R){var T=x.domNode,S=x.isValidReorder;g(x)||(T.prepend(R.insertionLine),c(T,R),S?p(R):f(R))}function s(x){var R=x.nextElementSibling,T=parseInt(F(R)),S=parseInt(F(x));return T===S+1}function c(x,R){var T=parseInt(x.getAttribute("data-level-index")),S=(T+1)*d,I=parseFloat(window.getComputedStyle(x).width);R.insertionLine.style.width=I-(S+n-t)+"px",R.insertionLine.style.marginLeft=S+"px"}function f(x){x.insertionLine.classList.remove(y.VALID_REORDERING),x.insertionLine.classList.add(y.INVALID_REORDERING)}function p(x){x.insertionLine.classList.remove(y.INVALID_REORDERING),x.insertionLine.classList.add(y.VALID_REORDERING)}function v(x){var R=x.domNode,T=x.dragItem,S=T.getDataByType(h.TYPE_TREENODE),I=F(R),B=R.nextElementSibling,P=F(B),L=R.classList.contains("selected"),O=B&&B.classList.contains("selected"),W=S.length>1,j=L||P>=I&&O;if(R.classList.contains("mw-tree-scroll-component")||j&&!W)return!0}function g(x){var R=x.domNode,T=x.dragItem,S=F(R),I=T.getDataByType(h.TYPE_TREENODE),B=R.previousElementSibling,P=F(B),L=R.classList.contains("selected"),O=I.length>1,W=B&&B.classList.contains("selected"),j=L||P<=S&&W;if(R.classList.contains("mw-tree-scroll-component")||j&&!O)return!0}function E(x,R,T){if(x&&R===h.TYPE_TREENODE){var S=T.getCurrentViewPortData(),I=parseInt(x.getAttribute("data-row-index"));return S(I)(0).value}return{id:null}}function D(x,R,T){var S={};S.place="after",S.node={id:R.id};var I=R.path,B=void 0;if(I&&I.length>1){B=I[I.length-2];var P={id:B};T.moveTreeNodes(x,P,S)}else{var L={id:null};T.moveTreeNodes(x,L,S)}}function F(x){if(x)return parseInt(x.getAttribute("data-level-index"))}function w(x,R,T){var S={};S.place="before",S.node={id:R.id};var I=R.path,B=void 0;if(I&&I.length>1){B=I[I.length-2];var P={id:B};T.moveTreeNodes(x,P,S)}else{var L={id:null};T.moveTreeNodes(x,L,S)}}return{handleReorderingLine:function(R){var T=R.position,S=T.row;S===m.INSERT_BELOW?i(R,o):S===m.INSERT_ABOVE&&u(R,o)},handleReorderNode:function(R,T){var S=R.domNode,I=R.dragItem,B=R.type,P=R.position,L=E(S,B,T),O=I.getDataByType(h.TYPE_TREENODE);if(P.row===m.INSERT_BELOW){if(s(S)){var W=S.nextElementSibling;L=E(W,B,T),w(O,L,T);return}D(O,L,T)}else P.row===m.INSERT_ABOVE&&w(O,L,T)},removeInsertionLine:function(R){var T=R.querySelector("."+y.REORDERING),S=R.querySelector(".dummyDiv");T&&T.remove(),S&&S.remove()}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(428)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a){m(this,o);var i=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return i.adaptor=a,i}return y(o,[{key:"filter",value:function(i,u){this.adaptor.filter(i,u)}},{key:"clearFilter",value:function(){this.adaptor.clearFilter()}},{key:"exposedAPI",value:function(){var i=this;return{filter:function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{displayChildren:!1};return i.filter(s,c)},clearFilter:function(){return i.clearFilter()}}}},{key:"destroy",value:function(){}},{key:"emits",get:function(){return[]}}],[{key:"adaptor",get:function(){return e}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15)],C=l.dj.d(A,function(n){var e="FilterAdaptor",t=function(r){d(o,r);function o(a,i,u){m(this,o);var s=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return s._dataStore=u,s}return y(o,[{key:"filter",value:function(i,u){this._dataStore.filter(i,u),this._dataStore.expandAll(),this._dataStore.search(i)}},{key:"clearFilter",value:function(i){this._dataStore.clearFilter(),this._dataStore.clearSearch()}}],[{key:"toString",value:function(){return e}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(11),l(223)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a){m(this,o);var i=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,a));return i.adaptor=a,i.adaptor.on("containerMount",function(){return i._containerAddDesignTimeClass()}),i.adaptor.on("containerUpdate",function(){return i._containerAddDesignTimeClass()}),i}return y(o,[{key:"exposedAPI",value:function(){return{setFocus:this.setFocus.bind(this),getFocus:this.getFocus.bind(this),isNodeInViewPort:this.isNodeInViewPort.bind(this)}}},{key:"setFocus",value:function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;this.adaptor.setFocusedState(i,!0),this.adaptor.setKeyboardActiveState(i),u&&this.adaptor.getTreeContainerNode().focus()}},{key:"getFocus",value:function(){return this.adaptor.getFocusedState()}},{key:"isNodeInViewPort",value:function(i){for(var u=this.adaptor.getViewPortInfo(),s=u.currentViewPort,c=s.rangeList[0].rows,f=c.start,p=c.end,v=u.currentViewPortData,g=f;g<=p;g++)if(v(g)(0).value&&v(g)(0).value.id===i)return!0;return!1}},{key:"_containerAddDesignTimeClass",value:function(){var i=this.adaptor.getTreeContainerNode();n.add(i,"mw-tree-design-time")}}]),o}(e);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(209),l(15)],C=l.dj.d(A,function(n,e){var t="FocusAdaptor",r=function(o){d(a,o);function a(i,u){m(this,a);var s=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));s.viewState=i,s.view=u;var c={};return c.treeNodeMouseDown=function(f){return s._processAndEmitClickEvt(f)},c.treeContextMenuSelection=function(f){f.node&&s._processAndEmitClickEvt(f)},c.treeNavigation=function(f){return s._processAndEmitKeyPress(f)},c.containerMount=function(){return s.emit("containerMount")},c.containerUpdate=function(){return s.emit("containerUpdate")},u&&u.registerEventCallback(c),s}return y(a,[{key:"_processAndEmitClickEvt",value:function(u){var s=u;this.emit("nodeFocusClick",s)}},{key:"_processAndEmitKeyPress",value:function(u){var s=u;this.viewState.getStateByKey("keyboardActive")&&(s.currentKeyboardActiveNode=this.viewState.getStateByKey("keyboardActive").value,this.emit("nodeFocusKeyPress",s))}},{key:"setContainerFocus",value:function(){n.removeContextMenuFocus(this.viewState),this.getTreeContainerNode().focus(),this.viewState.setState("updateView",!0)}},{key:"setFocusedState",value:function(u,s){this.viewState.setState("focused",u),s&&this.viewState.setState("updateView",!0)}},{key:"getFocusedState",value:function(){var u=this.viewState.getStateByKey("focused");return u&&u.value?{id:u.value.id}:null}},{key:"setKeyboardActiveState",value:function(u){var s=this.viewState.getStateByKey("ActiveEditNode"),c=this.viewState.getStateByKey("isInEditing");if(c&&c.value){var f=u&&s.value&&u.id===s.value.node.id;f||(this.viewState.deleteState("isInEditing"),this.viewState.deleteState("ActiveEditNode"))}this.viewState.setState("keyboardActive",u)}},{key:"getTreeContainerNode",value:function(){var u=this.viewState.getStateByKey("treeContainerNode");return u&&u.value?u.value:null}},{key:"getViewPortInfo",value:function(){var u=this.viewState.getStateByKey("viewPort"),s=this.viewState.getStateByKey("currentViewPortData").value;return{currentViewPort:u,currentViewPortData:s}}}],[{key:"toString",value:function(){return t}}]),a}(e);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(432)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a){m(this,o);var i=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return i.adaptor=a,i}return y(o,[{key:"search",value:function(i){this.adaptor.search(i)}},{key:"clearSearch",value:function(){this.adaptor.clearSearch()}},{key:"exposedAPI",value:function(){var i=this;return{search:function(s){return i.search(s)},clearSearch:function(){return i.clearSearch()}}}},{key:"destroy",value:function(){}},{key:"emits",get:function(){return[]}}],[{key:"adaptor",get:function(){return e}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15)],C=l.dj.d(A,function(n){var e="SearchAdaptor",t=function(r){d(o,r);function o(a,i,u){m(this,o);var s=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return s._dataStore=u,s}return y(o,[{key:"search",value:function(i){this._dataStore.search(i)}},{key:"clearSearch",value:function(i){this._dataStore.clearSearch()}}],[{key:"toString",value:function(){return e}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(29),l(224)],C=l.dj.d(A,function(n,e,t){var r=function(o){d(a,o);function a(i){m(this,a);var u=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return u.adaptor=i,u._listeners=[],u._listeners.push(u.adaptor.on("nodeSelectionMouseDown",function(s){return u._nodeMouseHandler(s)})),u._listeners.push(u.adaptor.on("nodeSelectionContextMenu",function(s){return u._contextMenuHandler(s)})),u._listeners.push(u.adaptor.on("nodeSelectionKeyPress",function(s){return u._setKeyboardSelection(s,s.currentKeyboardActiveNode)})),u}return y(a,[{key:"_toggleSelection",value:function(u,s){var c=u.currentSelection&&u.currentSelection[0]?u.currentSelection[0]:null;c&&s.id===c.id?(this.adaptor.setSelectionState([]),this.emit("selectionChanged",{nodeIds:[]})):this._setSelection(u,s)}},{key:"_setSelection",value:function(u){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,c=u.currentSelection&&u.currentSelection[0]?u.currentSelection[0]:null,f=c===null&&s!==null||c&&s.id!==c.id;if(f){var p=[s];this.adaptor.setSelectionState(p);var v=p.map(function(g){return g.id});this.emit("selectionChanged",{nodeIds:v})}}},{key:"_contextMenuHandler",value:function(u){this._setSelection(u,u.node)}},{key:"_nodeMouseHandler",value:function(u){u.altKey||(u.ctrlKey||u.metaKey?this._toggleSelection(u,u.node):this._setSelection(u,u.node))}},{key:"_setKeyboardSelection",value:function(u,s){var c=u.ctrlKey||u.metaKey;c?u.keyCode===e.SPACE&&this._toggleSelection(u,s):this._setSelection(u,s)}},{key:"setSelection",value:function(u){if(u===null&&(u=[]),Array.isArray(u))u.length=u.length>1?1:u.length,this.adaptor.setSelectionState(u,null,!0);else throw new Error("Expected: TreeNodes array or null to signify no selection.Usage: setSelection([{id: 'node5'}]), setSelection([]), setSelection(null)")}},{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"exposedAPI",value:function(){var u=this;return{setSelection:function(c){return u.setSelection(c)},getSelection:function(){return u.getSelection()}}}},{key:"destroy",value:function(){this._listeners.forEach(function(u){return u.remove()})}},{key:"emits",get:function(){var u=["selectionChanged"];return u}}],[{key:"adaptor",get:function(){return t}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(29)],C=l.dj.d(A,function(h){var d=function(){function n(e,t,r){var o=this;m(this,n),this._viewState=e,this._dataStore=r,this._view=t,t.registerEventCallback({treeDisclosureMouseDown:function(i){return o._setPotentialBoundaryNodeOnDisclosureCollapse(i)}})}return y(n,[{key:"_setPotentialBoundaryNodeOnDisclosureCollapse",value:function(t){var r=this,o=this._viewState.getStateByKey("BoundaryNode");if(o&&o.value)return o=o.value,this._dataStore.getNode(o.node).then(function(a){a||r._setPotentialBoundaryNode({node:t.node,nodeIndex:t.nodeIndex})})}},{key:"_getBoundaryNodeInView",value:function(t){var r=this,o=t;return this._dataStore.getNode(o.node).then(function(a){if(a)o.nodeIndex=a.index;else{var i=r._viewState.getStateByKey("PotentialBoundaryNode");o=i?i.value:null}return o})}},{key:"_setBoundaryNode",value:function(t){this._viewState.setState("BoundaryNode",t),this._viewState.deleteState("PotentialBoundaryNode")}},{key:"_setPotentialBoundaryNode",value:function(t){this._viewState.setState("PotentialBoundaryNode",t)}},{key:"processAndEmitEvt",value:function(t,r){if(t.shiftKey)return this._processAndEmitShiftEvt(t,r);r(t)}},{key:"_processAndEmitShiftEvt",value:function(t,r){var o=this,a=this._viewState.getStateByKey("BoundaryNode");if(a&&a.value)return this._getBoundaryNodeInView(a.value).then(function(i){o._setBoundaryNode(i),r(t)});r(t)}},{key:"updateBoundaryNode",value:function(t){this._setBoundaryNode(t)}},{key:"getContiguousSelectionRange",value:function(t){var r=this._viewState.getStateByKey("BoundaryNode"),o=r&&r.value?r.value.nodeIndex:0,a=Math.min(o,t),i=Math.max(o,t);return{start:a,end:i}}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(29),l(224)],C=l.dj.d(A,function(n,e,t){var r=function(o){d(a,o);function a(i){m(this,a);var u=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return u.adaptor=i,u._listeners=[],u._listeners.push(u.adaptor.on("nodeSelectionMouseDown",function(s){return u._handleMouseDown(s)})),u._listeners.push(u.adaptor.on("nodeSelectionClick",function(s){return u._handleClickAndDoubleClick(s)})),u._listeners.push(u.adaptor.on("nodeSelectionDoubleClick",function(s){return u._handleClickAndDoubleClick(s)})),u._listeners.push(u.adaptor.on("nodeSelectionContextMenu",function(s){return u._handleContextMenu(s)})),u._listeners.push(u.adaptor.on("nodeSelectionKeyPress",function(s){return u._handleKeyboard(s,{node:s.currentKeyboardActiveNode,nodeIndex:s.nodeIndex})})),u.adaptor.setRangeSelectionModel(),u._selectionChanged={},u}return y(a,[{key:"_hasSelectionChanged",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return u.length!==s.length?!0:s[s.length-1].id!==u[u.length-1].id}},{key:"_emitSelectionEvt",value:function(u,s){if(u=u||[],s=s||[],this._hasSelectionChanged(u,s)){var c=s.map(function(f){return f.id});this.emit("selectionChanged",{nodeIds:c})}}},{key:"_handleClickAndDoubleClick",value:function(u){var s=u.node.id;u.isNodeAlreadySelected&&!this._selectionChanged[s]&&this._handleSelection(u,{node:u.node,nodeIndex:u.nodeIndex}),delete this._selectionChanged.nodeId}},{key:"_handleMouseDown",value:function(u){var s=u.node.id;u.isNodeAlreadySelected?this._selectionChanged[s]=!1:(this._selectionChanged[s]=!0,this._handleSelection(u,{node:u.node,nodeIndex:u.nodeIndex}))}},{key:"_handleContextMenu",value:function(u){var s=this;u.isNodeAlreadySelected||this.adaptor.setIndividualSelection({node:u.node,nodeIndex:u.nodeIndex},function(c){return s._emitSelectionEvt(u.currentSelection,c)})}},{key:"_isValidExtendedSelectionkey",value:function(u){switch(u.keyCode){case e.ARROW_DOWN:case e.ARROW_UP:case e.PAGE_DOWN:case e.PAGE_UP:case e.HOME:case e.END:case e.SPACE:return!0;default:return!1}}},{key:"_handleSelection",value:function(u,s){var c=this,f=u.ctrlKey||u.metaKey,p=u.shiftKey,v=u.keyCode===e.SPACE,g=function(F){return c._emitSelectionEvt(u.currentSelection,F)},E={node:s.node,nodeIndex:s.nodeIndex,isMetaKeyPressed:f};u.altKey||f&&p||(f?this.adaptor.setDiscontiguousSelection(E,g):p?this.adaptor.setContiguousSelection(E,g):v?this.adaptor.setDiscontiguousSelection(E,g):this.adaptor.setIndividualSelection(E,g))}},{key:"_handleKeyboard",value:function(u,s){var c=u.ctrlKey||u.metaKey,f=!c&&!u.shiftKey||c&&u.keyCode===e.SPACE||u.shiftKey&&this._isValidExtendedSelectionkey(u);f&&s.node&&this._handleSelection(u,s)}},{key:"setSelection",value:function(u){if(u===null&&(u=[]),Array.isArray(u)){if(this.adaptor.setSelectionState(u,null,!0),u.length===1){var s=u[0];this.adaptor.updateBoundaryNodeProgrammatically(s)}}else throw new Error("Expected: TreeNodes array or null to signify no selection.Usage: setSelection([{id: 'node5'}]), setSelection([]), setSelection(null)")}},{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"exposedAPI",value:function(){var u=this;return{setSelection:function(c){return u.setSelection(c)},getSelection:function(){return u.getSelection()}}}},{key:"destroy",value:function(){this._listeners.forEach(function(u){return u.remove()})}},{key:"emits",get:function(){var u=["selectionChanged"];return u}}],[{key:"adaptor",get:function(){return t}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(437)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a){m(this,o);var i=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return i.adaptor=a,i._listeners=[],i._listeners.push(i.adaptor.on("scrollChanged",function(u){return i._emitScrollView(u)})),i._isScrollBarShown=!0,i}return y(o,[{key:"scrollToPosition",value:function(i){var u=void 0;if(typeof i.scrollTop=="number"&&typeof i.scrollLeft=="number"||typeof i.scrollTop=="number"&&i.scrollLeft===void 0||typeof i.scrollLeft=="number"&&i.scrollTop===void 0)return this.adaptor.scrollToPosition(i),u=new Promise(function(s){s(null)}),u;throw new Error(`scrollToPosition needs scrollTop, scrollLeft, or both set as properties as positive integers.
|
||
Examples:
|
||
scrollToPosition({ scrollTop: 30 })
|
||
scrollToPosition({ scrollTop: 30, scrollLeft: 50 })`)}},{key:"getScrollComponentDimensions",value:function(){return this.adaptor.getScrollComponentDimensions()}},{key:"_emitScrollView",value:function(i){this.emit("scrollViewChanged",i)}},{key:"_displayScrollBars",value:function(i){this._isScrollBarShown=i,i===!1&&this.adaptor.hideScrollBars(),i===!0&&this.adaptor.displayScrollBars()}},{key:"exposedAPI",value:function(){return{scrollToPosition:this.scrollToPosition.bind(this),getScrollComponentDimensions:this.getScrollComponentDimensions.bind(this),exposedVariables:{displayScrollBars:{setter:function(i){this._displayScrollBars(i)}.bind(this),getter:function(i){return this._isScrollBarShown}.bind(this)}}}}},{key:"destroy",value:function(){}},{key:"emits",get:function(){var i=["scrollViewChanged"];return i}}],[{key:"adaptor",get:function(){return e}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(31),l(74)],C=l.dj.d(A,function(n,e,t){var r="ScrollSyncAdaptor",o=function(a){d(i,a);function i(u,s){m(this,i);var c=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));c.viewState=u,c.view=s;var f={};return f.treeProgrammaticScroll=function(p){return c._handleScrollSyncProgrammaticScroll(p)},f.treeScroll=function(p){return c._handleScrollChanged(p)},f.treeScrollOnKeyPressed=function(p){return c._handleScrollChangedOnKeyPressed(p)},c.view.registerEventCallback(f),c}return y(i,[{key:"_handleScrollSyncProgrammaticScroll",value:function(s){var c=this;if(!!s.position){var f=this.getScrollComponentDimensions(),p=f.scrollHeight,v=f.clientHeight,g=f.scrollWidth,E=f.clientWidth,D=p-v,F=g-E;isNaN(s.position.scrollTop)||(this.viewState.viewPort.size.top=Math.max(0,Math.min(s.position.scrollTop,D)),t.calculateAndUpdateLogicalViewPort(this.viewState,this.viewState.viewPort.size),this.viewState.setState("scrollTopCalc",function(){return c.viewState.viewPort.size.top})),isNaN(s.position.scrollLeft)||(this.viewState.viewPort.size.left=Math.max(0,Math.min(s.position.scrollLeft,F)))}}},{key:"_handleScrollChanged",value:function(s){this.emit("scrollChanged",s)}},{key:"_handleScrollChangedOnKeyPressed",value:function(s){this.viewState.deleteState("shouldScrollOnKeyPressed"),this.emit("scrollChanged",s)}},{key:"scrollToPosition",value:function(s){this.view.scrollToPosition(s)}},{key:"getScrollComponentDimensions",value:function(){return this.view.getScrollComponentDimensions()}},{key:"hideScrollBars",value:function(){this.viewState.setState("hideScrollBars",!0),this.view.render()}},{key:"displayScrollBars",value:function(){var s=this.viewState.getStateByKey("hideScrollBars");s&&s.value&&(this.viewState.deleteState("hideScrollBars"),this.view.render())}}],[{key:"toString",value:function(){return r}}]),i}(n);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(221),l(211),l(75),l(76)],C=l.dj.d(A,function(h,d,n,e){var t=function(){function r(o){var a=this;m(this,r),this.adaptor=o,this.selectionData=[],this.adaptor.on(e.Events.registerDnDSource,function(i){return a._registerDnDSource(i)}),this.adaptor.on(e.Events.syncDnDSource,function(i){return a._updateSelectionData(i)})}return y(r,[{key:"_updateSelectionData",value:function(a){var i=this;this.adaptor.getSelectionData().then(function(u){i.selectionData=u})}},{key:"_getTextDataFromSelection",value:function(){return this.selectionData.map(function(a){return a.label}).join(", ")}},{key:"_registerDnDSource",value:function(a){this.dndService=new d(a.treeContainerNode,{dragSources:{type:e.TYPE_TREENODE,handleDragStart:this._handleDragStart.bind(this),handleDragEnd:this._handleDragEnd.bind(this)}},this.adaptor.isNodeLabelTruncated())}},{key:"_handleDragStart",value:function(a){var i=a.dragItem;return i.setDataByType(n.NativeType.TEXT,this._getTextDataFromSelection()),this.adaptor.updateView(),!0}},{key:"_handleDragEnd",value:function(){this.adaptor.updateView()}},{key:"exposedAPI",value:function(){return{}}},{key:"destroy",value:function(){this.dndService&&this.dndService.destroy()}},{key:"emits",get:function(){var a=[];return a}}],[{key:"adaptor",get:function(){return h}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(2)],C=l.dj.d(A,function(y){var m=function(e){var t=e.noMouseInteraction;return t?y.createElement(d,e):y.createElement(h,e)},h=function(e){return y.createElement("span",{className:e.classes,"data-row-index":e.rowIndex,"data-test-id":"disclosureHandle","data-disclosure-id":e.node.data.id,onMouseDown:e.disclosureMouseDown},y.createElement("svg",{className:"disclosureIcon","data-disclosure-id":e.node.data.id,"data-row-index":e.rowIndex},y.createElement("g",null,y.createElement("polygon",{points:"4 7 0 3 8 3 4 7"}))))},d=function(e){return y.createElement("span",{className:e.classes,"data-row-index":e.rowIndex,"data-test-id":"disclosureHandle","data-disclosure-id":e.node.data.id},y.createElement("span",{className:"disclosureImage","data-disclosure-id":e.node.data.id,"data-row-index":e.rowIndex}))};return m},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(h){for(var d=1;d<arguments.length;d++){var n=arguments[d];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(h[e]=n[e])}return h},m=function(){function h(d,n){var e=[],t=!0,r=!1,o=void 0;try{for(var a=d[Symbol.iterator](),i;!(t=(i=a.next()).done)&&(e.push(i.value),!(n&&e.length===n));t=!0);}catch(u){r=!0,o=u}finally{try{!t&&a.return&&a.return()}finally{if(r)throw o}}return e}return function(d,n){if(Array.isArray(d))return d;if(Symbol.iterator in Object(d))return h(d,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();A=[l(2),l(226),l(63),l(441),l(227)],C=l.dj.d(A,function(h,d,n,e,t){var r=3,o=function(s){var c=s.noMouseInteraction;return c?h.createElement(i,s):h.createElement(a,s)},a=function(s){var c=h.useState(!1),f=m(c,2),p=f[0],v=f[1],g=h.useRef(null),E=s.numberOfGutters,D=s.classes,F=s.isDraggingStarted;D=D.slice(0),!F&&p&&D.push(n.TREENODE_HOVER[0]);var w=s.treeNodeStyle.treeNode||{};E&&(w.gridTemplateColumns=E*r+"px auto");var x={handleClick:s.nodeClick,handleDoubleClick:s.nodeDblClick},R=function(K){!F&&v(!0);var H={nodeData:s.node.data,nodeRef:g,hoverMode:!0,container:s.container,relatedTarget:K.relatedTarget};s.hoverAction(H)},T=function(K){!F&&v(!1);var H={nodeData:s.node.data,nodeRef:g,hoverMode:!1,container:s.container,relatedTarget:K.relatedTarget};s.hoverAction(H)},S=function(){var K={nodeData:s.node.data,nodeRef:g,container:s.container,hoverMode:!1};s.hoverAction(K)},I=t(x),B=m(I,2),P=B[0],L=B[1],O=s.node.nodePosition&&s.node.nodePosition.nodeIndex,W=s.node.nodePosition&&s.node.nodePosition.nodeIndex;return h.createElement("div",y({className:D.join(" "),"data-row-index":s.rowIndex,style:w,"data-level-index":s.node.level,"data-test-id":s.node.data.id},s.additionalDataAttributes,s.additionalAttributes,{id:s.nodeDomID,ref:g,role:d.treeNodeItem,"aria-level":s.node.level+1,"aria-posinset":O?s.node.nodePosition.nodeIndex:null,"aria-setsize":W?s.node.nodePosition.noOfNodes:null,"aria-expanded":s.node.isExpandable?s.node.isExpanded:null,"aria-selected":s.classes&&s.classes.indexOf("selected")!==-1,onMouseDown:s.nodeMouseDown,onMouseUp:s.nodeMouseUp,onMouseEnter:R,onMouseLeave:T,onWheel:S,onDoubleClick:L,onClick:P}),E>0?h.createElement(e,{gutterColors:s.treeNodeStyle.gutterColors,numberOfGutters:E}):"",h.createElement("div",{className:"treeNodeData","data-test-id":"nodeContentHandle",style:s.treeNodeStyle.treeNodeData},s.disclosureNode,s.componentsBeforeContent,s.content))},i=function(s){var c=s.numberOfGutters,f=s.classes;f=f.slice(0);var p=s.treeNodeStyle.treeNode||{};c&&(p.gridTemplateColumns=c*r+"px auto");var v=s.node.nodePosition&&s.node.nodePosition.nodeIndex,g=s.node.nodePosition&&s.node.nodePosition.nodeIndex;return h.createElement("div",y({className:f.join(" "),"data-row-index":s.rowIndex,style:p,"data-level-index":s.node.level,"data-test-id":s.node.data.id},s.additionalDataAttributes,s.additionalAttributes,{id:s.nodeDomID,role:d.treeNodeItem,"aria-level":s.node.level+1,"aria-posinset":v?s.node.nodePosition.nodeIndex:null,"aria-setsize":g?s.node.nodePosition.noOfNodes:null,"aria-expanded":s.node.isExpandable?s.node.isExpanded:null,"aria-selected":s.classes&&s.classes.indexOf("selected")!==-1}),c>0?h.createElement(e,{gutterColors:s.treeNodeStyle.gutterColors}):"",h.createElement("div",{className:"treeNodeData","data-test-id":"nodeContentHandle",style:s.treeNodeStyle.treeNodeData},s.disclosureNode,s.componentsBeforeContent,s.content))};return o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(2),l(63),l(31)],C=l.dj.d(A,function(y,m,h){var d=y.memo(n,t);return d;function n(r){var o=r.gutterColors,a=r.numberOfGutters,i=[];if(o&&Array.isArray(o))for(var u=0;u<o.length&&u<a;u++){var s=o[u];i.push(e(s))}return y.createElement("div",{class:m.TREENODE_GUTTER_WRAPPER,"data-test-id":"gutterHandle"},i)}function e(r){return y.createElement("span",{key:h.generateUuid(),class:m.TREENODE_GUTTER_ITEM,style:{backgroundColor:r}})}function t(r,o){var a=r.gutterColors||[],i=o.gutterColors||[];if(r.gutterColors&&o.gutterColors)return r.numberOfGutters===o.numberOfGutters&&a.join("")===i.join("")}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(2),l(64)],C=l.dj.d(A,function(n,e){"use strict";var t=Object.freeze({INLINE:"inline",NONE:"none"}),r=2,o=function(a){d(i,a);function i(u){m(this,i);var s=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,u));return s.state={display:t.NONE,top:0,left:0,label:"",_showDataTip:u.showDataTip},s}return y(i,[{key:"removeTip",value:function(){this.props.showDataTip=!1,this.setState({_showDataTip:!1})}},{key:"handleClick",value:function(s){this.removeTip(),s.currentTarget=this.props.treeNodeInfo.nodeRef.current,this.props.treeNodeInfo.clickHandler(s)}},{key:"handleMouseDown",value:function(s){this.removeTip(),s.currentTarget=this.props.treeNodeInfo.nodeRef.current,this.props.treeNodeInfo.mouseDownHandler(s)}},{key:"render",value:function(){return n.createElement("span",{class:"mw-data-tip-container",ref:this.props.tipRef,style:{top:this.state.top+"px",left:this.state.left+"px",display:""+this.state.display},onMouseLeave:this.removeTip.bind(this),onWheel:this.removeTip.bind(this),onClick:this.handleClick.bind(this),onMouseDown:this.handleMouseDown.bind(this)},n.createElement("label",null,this.state.label))}}],[{key:"_isContentVisible",value:function(s){return!!(s&&s.clientWidth>0&&!e.isLeft()||s&&s.clientWidth>r&&e.isLeft())}},{key:"_calculatePosition",value:function(s,c){if(!!c.current){var f=c.current,p=f.querySelector(".treeNodeText"),v=p&&p.scrollWidth>p.clientWidth,g=i._isContentVisible(p);if(v&&g){var E=s.getBoundingClientRect(),D=p.getBoundingClientRect();return{top:D.top-E.top,left:D.left-E.left}}}}},{key:"getDerivedStateFromProps",value:function(s,c){var f=s.showDataTip;if(f){var p=s.treeNodeInfo,v=s.containerElm,g=p.nodeData.label,E=i._calculatePosition(v,p.nodeRef);return E?{display:t.INLINE,top:E.top,left:E.left,label:g}:{display:t.NONE}}else return{display:t.NONE}}}]),i}(n.Component);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(220),l(2),l(226),l(64)],C=l.dj.d(A,function(n,e,t,r){var o=function(a){d(i,a);function i(u){m(this,i);var s=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,u));return s._scrollHandler=function(c){return s.props.scrollHandler(c)},s._disableUserSelectHandler=function(c){return s._handleDisableUserSelect(c)},s._getContainerRef=function(c){return s.myContainerDiv=c},s._contextMenuHandler=function(c){return s._handleContextMenu(c)},s}return y(i,[{key:"_handleDisableUserSelect",value:function(s){var c=s.target&&s.target.tagName;c!=="INPUT"&&c!=="TEXTAREA"&&s.preventDefault()}},{key:"_calculateBufferTreeNodeHeight",value:function(){this.props.setTreeBufferHeight(this.myContainerDiv)}},{key:"_adjustScrollTop",value:function(){var s=void 0,c={height:this.myContainerDiv&&this.myContainerDiv.clientHeight,width:this.myContainerDiv&&this.myContainerDiv.clientWidth};s=this.props.scrollTopFunc(c),s>=0&&this.myContainerDiv&&this.myContainerDiv.scrollTop!==s&&(this.myContainerDiv.scrollTop=s)}},{key:"_adjustHeight",value:function(){var s=this.props.bodyHeight(),c=this.myContainerDiv&&this.myContainerDiv.childNodes[0];c&&(c.style.height=""+s+"px",c.style.maxHeight=""+s+"px")}},{key:"_adjustScrollLeft",value:function(){var s=this.props.scrollLeft;this.myContainerDiv&&this.myContainerDiv.scrollLeft!==s&&(this.myContainerDiv.scrollLeft=s)}},{key:"_adjustTranslate",value:function(){var s=this.props.translateTopFunc(),c=s+"px",f=this.myContainerDiv&&this.myContainerDiv.childNodes[0].childNodes[0];f&&(f.style.transform="translateY("+(""+c)+")")}},{key:"_handleContextMenu",value:function(s){s.preventDefault(),s.stopPropagation(),this.props.contextMenuHandler(s)}},{key:"componentDidMount",value:function(){this._calculateBufferTreeNodeHeight(),this.props.containerMountHandler({treeContainerNode:this.myContainerDiv,mwTreeNode:this.mwTreeNode})}},{key:"componentDidUpdate",value:function(){this._calculateBufferTreeNodeHeight(),this._adjustHeight(),this._adjustScrollTop(),this._adjustTranslate(),this._adjustScrollLeft(),this.props.disabled&&this.myContainerDiv.blur(),this.props.containerUpdateHandler()}},{key:"componentWillUnmount",value:function(){}},{key:"render",value:function(){var s=this,c={height:this.props.bodyHeight()},f=this.props.containerClass,p=this.props.classes;n.shouldHoverBeDisabled||(f+=" hoverable"),r.isTruncated()&&(f+=" mw-truncation-enabled",p+=" mw-truncation-mode"),this.props.width&&(c.minWidth=this.props.width);var v={transform:"translateY("+this.props.translateY+"px)"};return v.WebkitTransform="translateY("+this.props.translateY+"px)",e.createElement("div",{className:f,onScroll:this._scrollHandler,onFocus:this.props.focusHandler,onBlur:this.props.blurHandler,onKeyDown:this.props.keyHandler,onKeyUp:this.props.keyUpHandler,tabIndex:this.props.tabIndex,ref:this._getContainerRef,"aria-disabled":this.props.disabled,role:t.treeContainer,"aria-activedescendant":this.props.focusedNodeID,onContextMenu:this._contextMenuHandler},e.createElement("div",{className:"mw-tree-body-component",style:c},e.createElement("div",{className:p,style:v,ref:function(E){return s.mwTreeNode=E}},this.props.children)),r.isTruncated()&&this.props.dataTip)}}]),i}(e.Component);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(2)],C=l.dj.d(A,function(n){var e=function(t){d(r,t);function r(){return m(this,r),h(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return y(r,[{key:"render",value:function(){return n.createElement("div",{className:"mw-tree-disable-layer",onContextMenu:function(i){return i.preventDefault()}})}}]),r}(n.Component);return e},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},m=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(2),l(153),l(64)],C=l.dj.d(A,function(e,t,r){"use strict";var o=function(a){n(i,a);function i(){return h(this,i),d(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return m(i,[{key:"shouldComponentUpdate",value:function(s){var c=!this.props.node.isEqual(s.node)||!this.props.shallowEqual(this.props.config,s.config)||this.props.config.rendererConfig&&!this.props.shallowEqual(this.props.config.rendererConfig,s.config.rendererConfig)||this.props.config.style&&!this.props.shallowEqual(this.props.config.style,s.config.style);return c=c||!1,c}},{key:"componentDidUpdate",value:function(s,c){var f=this.rendererContainer,p=this.props,v=p.renderer,g=p.node,E=this._getRendererDom(v,g),D=f.firstChild.isEqualNode(E);!D&&this.rendererContainer.replaceChild(E,f.firstChild)}},{key:"_getRendererDom",value:function(s,c){var f=this.props.node.value.highlight,p=this.props.config.readonly,v=this.props.config.noMouseInteraction,g=c.value.isExpandable,E=this.props.config.rendererConfig;return s.getDomNode(c.value.data,{highlight:f,readonly:p,isExpandable:g,noMouseInteraction:v,rendererConfig:E})}},{key:"componentDidMount",value:function(){var s=this.props,c=s.renderer,f=s.node;this.rendererContainer.appendChild(this._getRendererDom(c,f))}},{key:"_handleClick",value:function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.INTERACTIVE_RENDERER_CLICK,f=this.props,p=f.renderer,v=f.node;this.props.interactiveCallback&&this.props.interactiveCallback(c,{node:v,renderer:p,evt:s})}},{key:"render",value:function(){var s=this,c=this.props.config&&this.props.config.maxWidth?{maxWidth:this.props.config.maxWidth}:{},f=r.isTruncated()?"mw-treeNode-renderer-container mw-treeNode-renderer-container-truncate":"mw-treeNode-renderer-container",p=function(g){return s._handleClick(g)};return e.createElement("span",y({style:c},this.props.additionalAttributes,this.props.additionalListeners,{ref:function(g){return s.rendererContainer=g},onClick:p,className:f}))}}]),i}(e.Component);return o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(228),l(64),l(154)],C=l.dj.d(A,function(y,m,h){"use strict";var d="5px",n="25px",e="icon1",t="treeNodeIcon";return{getDomNode:function(o,a){var i=void 0,u=document.createElement("span");u.className="mw-tree-renderer";var s=void 0,c=o.iconUri,f=o.iconId;if(f||c){if(s=document.createElement("span"),f){var p=h.getIconByIdDom(f);s.appendChild(p)}else c&&(s.style.backgroundImage="url('"+encodeURI(c)+"')");s.setAttribute("data-test-id",e),s.className=t,u.appendChild(s)}return i=this._getLabelDOMNode(o,a),u.appendChild(i),u},_getLabelDOMNode:function(o,a){var i,u=document.createElement("span"),s=document.createElement("span"),c="label",f=o.label,p=[];if(p.push("treeNodeText"),m.isTruncated()){var v,g=["mw-tree-node-truncation"];m.isLeft()&&(g.push("mw-tree-node-left-truncation"),f="\u200E"+o.label+"\u200E");var E=o.iconUri?n:d,D="calc(100% - "+E+")";(v=s.classList).add.apply(v,g),s.style.width=D,s.appendChild(u)}if((i=u.classList).add.apply(i,p),u.setAttribute("data-test-id","label"),u.setAttribute("data-region",!0),a&&Array.isArray(a.highlight)){var F=y.getHighlightedTextDOM(f,c,a.highlight);F.forEach(function(w){w.setAttribute&&w.setAttribute("data-region",!0),u.appendChild(w)})}else u.textContent=f;return m.isTruncated()?s:u}}},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(154),l(228),l(229),l(64)],C=l.dj.d(A,function(d,n,e,t){"use strict";var r=21,o=25,a=4,i=function(){function u(s){h(this,u),s=s||{};var c=s,f=c.isChecked,p=c.getValueForAction,v=c.getA11yProperties;this._checkboxDefaultClasses=["mwDefaultVisualFamily","mwEnabled","mwWidget","mwCheckBox","mw-data-checkbox-renderer"],this._checkboxCheckedClasses=["mwCheckBoxChecked"],f&&(this._isChecked=f),p&&(this.getValueForAction=p),v&&(this._getA11yProperties=v)}return m(u,[{key:"_isChecked",value:function(c){return!!(c&&c.checked===!0)}},{key:"getDomNode",value:function(c,f){var p=document.createElement("div"),v=document.createElement("span"),g=document.createElement("div"),E=document.createElement("div"),D=this._isChecked(c);if(v.className=this._checkboxDefaultClasses.join(" "),D&&v.classList.add(this._checkboxCheckedClasses),c&&c.a11y&&c.a11y.checkboxDescription)g.setAttribute("aria-label",c.a11y.checkboxDescription);else if(this._getA11yProperties){var F=this._getA11yProperties(c);F&&F.checkboxDescription&&g.setAttribute("aria-label",F.checkboxDescription)}g.setAttribute("role","checkbox"),f&&(f.readonly||f.noMouseInteraction)?(g.setAttribute("disabled",""),g.setAttribute("aria-disabled",!0),g.removeAttribute("tabindex"),g.setAttribute("aria-checked",D),g.setAttribute("data-clickable",!1),E.setAttribute("data-clickable",!1)):(g.setAttribute("aria-checked",D),g.setAttribute("data-clickable",!0),E.setAttribute("data-clickable",!0)),g.className="mwCheckBoxRadioIconNode",E.className="mwCheckBoxRadioIconInner",g.appendChild(E),v.appendChild(g),f.isExpandable!==void 0&&!f.isExpandable&&p.appendChild(v);var w=c.iconUri,x=c.iconId,R=void 0;if(w||x){if(R=document.createElement("span"),R.setAttribute("data-test-id","icon1"),R.className="treeNodeIcon",x){var T=d.getIconByIdDom(x);R.appendChild(T)}else R.style.backgroundImage="url('"+encodeURI(w)+"')";p.appendChild(R)}var S=this._getLabelDOMNode(c,f);return p.appendChild(S),p.className="mw-tree-renderer",p}},{key:"_getLabelDOMNode",value:function(c,f){var p,v=document.createElement("span"),g=document.createElement("span"),E="label",D=c.label,F=["treeNodeText"];if(t.isTruncated()){var w,x=["mw-tree-node-truncation"];t.isLeft()&&(x.push("mw-tree-node-left-truncation"),D="\u200E"+c.label+"\u200E");var R=f.isExpandable!==void 0&&!f.isExpandable,T=!!c.iconUri,S=R&&T?r+o:R&&!T?r:!R&&T?o:a,I="calc(100% - "+S+"px)";(w=g.classList).add.apply(w,x),g.style.width=I,g.appendChild(v)}if((p=v.classList).add.apply(p,F),v.setAttribute("data-test-id","label"),v.setAttribute("data-region",!0),f&&Array.isArray(f.highlight)){var B=n.getHighlightedTextDOM(c.label,E,f.highlight);B.forEach(function(P){P.setAttribute&&P.setAttribute("data-region",!0),v.appendChild(P)})}else v.textContent=D;return t.isTruncated()?g:v}},{key:"getValueForAction",value:function(c){var f=d.shallowCopy(c);return d.isTypeObject(f)&&(f.checked=!f.checked),{oldValue:c,newValue:f}}},{key:"handleAction",value:function(c,f){var p={};switch((!f||(typeof f=="undefined"?"undefined":y(f))!=="object")&&(f={}),f.actionName){case e.CLICK:var v=f.target;v&&v.getAttribute("data-clickable")==="true"&&(p=this.getValueForAction(c));break;case e.KEY_PRESS:p=this.getValueForAction(c);break;default:p={}}return p.hasOwnProperty("newValue")&&this._isChecked(c)!==this._isChecked(p.newValue)?p.hasChanged=!0:p={hasChanged:!1},p}}]),u}();return i},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h=function(){function d(){m(this,d)}return y(d,null,[{key:"compose",value:function(){var e=[].concat(Array.prototype.slice.call(arguments)).reverse();return function(){for(var t=e[0].apply(this,arguments),r=1;r<e.length;r+=1)t=e[r].call(this,t);return t}}}]),d}();return h},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),m=function e(t,r,o){t===null&&(t=Function.prototype);var a=Object.getOwnPropertyDescriptor(t,r);if(a===void 0){var i=Object.getPrototypeOf(t);return i===null?void 0:e(i,r,o)}else{if("value"in a)return a.value;var u=a.get;return u===void 0?void 0:u.call(o)}};function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(29),l(204),l(450),l(231)],C=l.dj.d(A,function(e,t,r,o){var a=function(i){n(u,i);function u(s,c){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},p=arguments[3];h(this,u);var v=d(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,s,c,f,p));return v._editorSaveRetrieveUnCommitedValues={saveValue:function(E){v._viewModel.setState("unsavedEditorValue",E)},getValue:function(){var E=v._viewModel.getStateByKey("unsavedEditorValue");return E=E?E.value:null,E},destroy:function(){v._viewModel.deleteState("unsavedEditorValue")}},v.handlers.editor={},v.handlers.editor._editCompleteHandler=function(g){return v._handleEditComplete(g)},v.handlers.editor._editCanceledHandler=function(g){return v._handleEditCanceled(g)},v.handlers.treeNode._nodeClickHandler=function(g){return v._handleNodeClick(g)},v.handlers.treeNode._nodeDblClickHandler=function(g){return v._handleNodeDoubleClick(g)},v.handlers.editor._processEditHandler=function(g){return v._handleProcessEdit(g)},v.handlers.editor._saveUnSavedValueHandler=v._editorSaveRetrieveUnCommitedValues,v}return y(u,[{key:"createTreeBuilder",value:function(c,f){return new r(this._viewModel,this.handlers,c,f)}},{key:"_handleEditComplete",value:function(c){var f={eventToEmit:"treeNodeEditComplete",eventProperties:c,eventCallback:function(){this._viewModel.deleteState("treeWidth"),this.render(),this._editorSaveRetrieveUnCommitedValues.destroy(),this._setEditState(!1)}.bind(this)};this._viewEventHandler.handleEvent(f)}},{key:"_handleProcessEdit",value:function(c){var f={eventToEmit:"treeNodeProcessEdit",eventProperties:c,eventCallback:function(p){this.render();var v=this._checkFailures(p);v||this._editorSaveRetrieveUnCommitedValues.destroy()}.bind(this)};this._viewEventHandler.handleEvent(f)}},{key:"_checkFailures",value:function(c){for(var f=!1,p=0;p<c.length;p++){var v=c[p];if(v.type&&v.type===o.DATA_UPDATE_FAILURE){f=!0;break}}return f}},{key:"_handleEditCanceled",value:function(c){var f={eventToEmit:"treeNodeEditCanceled",eventProperties:c,eventCallback:function(){this._editorSaveRetrieveUnCommitedValues.destroy(),this.render()}.bind(this)};this._viewEventHandler.handleEvent(f),this._setEditState(!1)}},{key:"_setEditState",value:function(c){this._viewModel.setState("isInEditing",c)}},{key:"_handleKeyDown",value:function(c){var f=void 0,p=void 0;if(c.keyCode===e.ENTER?f=this._EDIT_EVENTS_CONFIG.keyDownEnter:c.keyCode===e.F2?f=this._EDIT_EVENTS_CONFIG.keyDownF2:(c.keyCode>=e.ALPHA_START&&c.keyCode<=e.ALPHA_END||c.keyCode>=e.NUM_START&&c.keyCode<=e.NUM_END||c.keyCode>=e.NUMPAD_START&&c.keyCode<=e.NUMPAD_END)&&!(c.metaKey||c.ctrlKey||c.altKey)?(p=c.key,f=this._EDIT_EVENTS_CONFIG.keyDownAlphaNum):f="",f){var v={firstChar:p,keyCode:c.keyCode,metaKey:c.metaKey,ctrlKey:c.ctrlKey,shiftKey:c.shiftKey,altKey:c.altKey};c.preventDefault();var g=this._EVENTS_CONFIG.treeKeyPressed,E=this._viewEventHandler.handleEvent,D={eventToEmit:g,eventProperties:v,nextActionEvent:f,handleEvent:E,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(D)}else m(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"_handleKeyDown",this).call(this,c)}},{key:"_areMultipleNodesSelected",value:function(){var c=this._viewModel.getStateByKey("selected");if(!c||c.rangeList.length===0)return!1;var f=c.rangeList[0];return f.length>1}},{key:"_handleNodeMouseDown",value:function(c,f){var p=c.currentTarget.classList.contains("focused"),v=c.currentTarget.classList.contains("selected"),g=c.target.attributes["data-region"],E=this._EDIT_EVENTS_CONFIG.nodeMouseDownFocused,D=E&&p&&g,F=c.currentTarget.attributes["data-row-index"].nodeValue,w=this._data(parseInt(F))(0).value,x=this._metadata?this._metadata:function(I){return{value:{}}},R=this._areMultipleNodesSelected();x=x(F).value,D=!R&&D&&!x.readonly;var T={node:w,metadata:x,metaKey:c.metaKey,ctrlKey:c.ctrlKey,shiftKey:c.shiftKey,nodeIndex:parseInt(F)};if(!D||!v){var S={eventToEmit:f,eventProperties:T,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(S)}else c.currentTarget.setAttribute("data-can-edit","true")}},{key:"_handleNodeDoubleClick",value:function(c){if(!this._isDisclosureTarget(c)){var f=c.currentTarget.classList.contains("focused"),p=this._isTargetEditable(c);this._areMultipleNodesSelected()&&f||!p?m(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"_handleNodeDoubleClick",this).call(this,c):this._handleNodeEditableDoubleClick(c)}}},{key:"_handleNodeEditableDoubleClick",value:function(c){var f=this._EDIT_EVENTS_CONFIG.dblClick,p=this._EVENTS_CONFIG.nodeDoubleClicked;c.currentTarget.removeAttribute("data-can-edit");var v=!this._isNodeReadOnly(c)&&c.targetIsCheckBox;if(!v){var g=this._buildDoubleClickHandlerObject(f,c),E={eventToEmit:p,eventProperties:g,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(E)}}},{key:"_handleNodeEditableClick",value:function(c){var f=this._EDIT_EVENTS_CONFIG.nodeMouseDownFocused,p=Number(c.currentTarget.getAttribute("data-row-index")),v=this._data(parseInt(p))(0).value,g=this._metadata?this._metadata:function(F){return{value:{}}};g=g(p).value,c.preventDefault();var E={node:v,metadata:g,altKey:c.altKey,metaKey:c.metaKey,ctrlKey:c.ctrlKey,shiftKey:c.shiftKey,nodeIndex:parseInt(p)};if(!this._isInDragMode()){var D={eventToEmit:f,eventProperties:E,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(D),this._setEditState(!0),c.currentTarget.removeAttribute("data-can-edit")}}},{key:"_isNodeEditable",value:function(c){var f=c.currentTarget.classList.contains("focused"),p=c.target.attributes["data-region"],v=Number(c.currentTarget.getAttribute("data-row-index")),g=this._metadata?this._metadata:function(F){return{value:{}}};g=g(v).value;var E=!g.readonly&&p&&f&&!this._isNodeReadOnly(c),D=c.currentTarget.hasAttribute("data-can-edit");return E&&D&&!this._areMultipleNodesSelected()&&this._isDnDNotInProgress(c)}},{key:"_handleNodeClick",value:function(c){this._isDisclosureTarget(c)||(this._isNodeEditable(c)?this._handleNodeEditableClick(c):m(u.prototype.__proto__||Object.getPrototypeOf(u.prototype),"_handleNodeClick",this).call(this,c),this._endingDnD())}}]),u}(t);return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),m=function e(t,r,o){t===null&&(t=Function.prototype);var a=Object.getOwnPropertyDescriptor(t,r);if(a===void 0){var i=Object.getPrototypeOf(t);return i===null?void 0:e(i,r,o)}else{if("value"in a)return a.value;var u=a.get;return u===void 0?void 0:u.call(o)}};function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(225),l(451),l(155),l(2)],C=l.dj.d(A,function(e,t,r,o){var a="30",i=function(u){n(s,u);function s(c,f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=arguments[3];h(this,s);var g=d(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,c,f,p,v));return g._editor={type:p.editor.type,config:p.editor.config},g}return y(s,[{key:"_getUpdatedTreeProps",value:function(){var f=m(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"_getUpdatedTreeProps",this).call(this),p=this._viewModel.getStateByKey("ActiveEditNode");return f.activeEditNode=p?p.value:null,f}},{key:"_getStylingAndClasses",value:function(f,p){var v=m(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"_getStylingAndClasses",this).call(this,f,p),g=this._viewModel.getStateByKey("ActiveEditNode");g=g?g.value:null;var E=g&&g.node.id===f.id&&(g.state===r.ACTIVE_EDIT_IN_PROGRESS||g.state===r.INACTIVE_EDIT_IN_PROGRESS);E&&v.classes.push(" updateInProgress");var D=g&&g.node.id===f.id&&g.state!==r.INACTIVE_EDIT_IN_PROGRESS;return D&&(v.style.treeNodeData.marginLeft=v.style.treeNodeData.marginLeft+1),v}},{key:"buildContentNode",value:function(f,p,v){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},E=g.displayBlank;if(E)return{content:null,additionalDataAttributes:{}};var D={content:null,additionalDataAttributes:{}},F=p.activeEditNode&&p.activeEditNode.node.id===f.value.id?p.activeEditNode.state:null,w=F&&F!==r.INACTIVE_EDIT_IN_PROGRESS,x=F&&F===r.INACTIVE_EDIT_IN_PROGRESS;if(this._editor.type&&w){var R=this._viewModel.viewPort.size.width+this._viewModel.viewPort.size.left-v;D.content=this.buildEditor(f,p.activeEditNode.parentNode,R,p.activeEditNode.state,p.activeEditNode.config),D.additionalDataAttributes={"data-edit-mode":!0}}else{var T=f;x&&(T=p.activeEditNode.tempNode,g.maxWidth=this._viewModel.viewPort.size.width+this._viewModel.viewPort.size.left-v-a),D.content=this.buildRenderer(T,g)}return D}},{key:"buildEditor",value:function(f,p,v,g){var E=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},D=this._editor;return o.createElement(t,{editor:D,maxWidth:v,editorState:g,saveUnsavedValueHandler:this.handlers.editor._saveUnSavedValueHandler,editCompleteHandler:this.handlers.editor._editCompleteHandler,editCancelledHandler:this.handlers.editor._editCanceledHandler,processEditHandler:this.handlers.editor._processEditHandler,parentNode:p,config:E,node:f})}}]),s}(e);return i},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(155),l(2)],C=l.dj.d(A,function(n,e){"use strict";var t=function(r){d(o,r);function o(){return m(this,o),h(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return y(o,[{key:"componentDidMount",value:function(){var i=this,u=this.props,s=u.editor,c=u.node,f={firstChar:this.props.config.firstChar,height:this._editorContainer.clientHeight};for(var p in s.config)s.config.hasOwnProperty(p)&&(f[p]=s.config[p]);var v=this.props.saveUnsavedValueHandler.getValue(),g=s.type;this._editorInstance=new g(c.value.data,f),v&&(this._editorInstance.value=v),this._editorInstanceListeners=[],this._editorInstanceListeners.push(this._editorInstance.on("editComplete",function(E){i._editCompleted(E)})),this._editorInstanceListeners.push(this._editorInstance.on("editCanceled",function(E){i._editCanceled(E)})),this._editorInstanceListeners.push(this._editorInstance.on("processEdit",function(E){i._processEdit(E)})),this._mountEditor()}},{key:"componentDidUpdate",value:function(){this._editorInstance&&this._editorInstance.update&&this._editorInstance.update(this.props.node.value.data,this.props.config)}},{key:"_processEdit",value:function(i){this.props.processEditHandler({node:this.props.node,parentNode:this.props.parentNode,oldValue:i.oldValue,newValue:i.newValue})}},{key:"_editCanceled",value:function(i){this._unMountEditor(),this.props.editCancelledHandler({node:this.props.node,oldValue:i.oldValue,newValue:i.newValue,validationResult:i.validationResult}),this._refocusToPreviousNode()}},{key:"_editCompleted",value:function(i){var u=this.props.editorState===n.ACTIVE_EDIT_IN_PROGRESS&&!i.hasValueChanged;u||(this._isEditorFocused=this._editorContainer.contains(document.activeElement),this._unMountEditor(),this.props.editCompleteHandler({node:this.props.node,parentNode:this.props.parentNode,oldValue:i.oldValue,newValue:i.newValue,hasValueChanged:i.hasValueChanged}),this._refocusToPreviousNode())}},{key:"_mountEditor",value:function(){this._editorContainer.appendChild(this._editorInstance.getDomNode()),this._previousActiveNode=document.activeElement,this._editorInstance.setFocus()}},{key:"_refocusToPreviousNode",value:function(){this._previousActiveNode&&this._isEditorFocused&&this._previousActiveNode.focus()}},{key:"_unMountEditor",value:function(){this._editorInstanceListeners.forEach(function(i){i.remove()}),this._editorContainer.removeChild(this._editorContainer.firstChild),this._editorInstance.destroy(),this._editorInstance=null}},{key:"componentWillUnmount",value:function(){this._editorInstance&&(this.props.saveUnsavedValueHandler.saveValue(this._editorInstance.value),this.props.editorState===n.ACTIVE_EDIT_IN_PROGRESS?(this._unMountEditor(),this._refocusToPreviousNode()):this._editorInstance.commitValue?this._editorInstance.commitValue():this._editCompleted({oldValue:this.props.node.value.data,newValue:this.props.node.value.data,hasValueChanged:!1}))}},{key:"render",value:function(){var i=this,u={maxWidth:this.props.maxWidth+"px"},s="mw-treeNode-editor-container";return e.createElement("div",{ref:function(f){return i._editorContainer=f},className:s,style:u})}}]),o}(e.Component);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(20),l(15),l(155),l(231)],C=l.dj.d(A,function(e,t,r,o){var a=function(i){n(u,i);function u(s,c,f){h(this,u);var p=d(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));p._view=s,p._viewModel=c,p._dataStore=f;var v={};return v.treeNodeEditMouseEvent=function(g){return p._handleFocusedNodeClick(g)},v.treeNodeEditKeyPress=function(g){return p._handleEnterKeyPress(g)},v.treeNodeEditComplete=function(g){return p._handleEditorEditComplete(g)},v.treeNodeProcessEdit=function(g){return p._handleEditorProcessEdit(g)},v.treeNodeEditCanceled=function(g){return p._handleEditorEditCanceled(g)},p._view.registerEventCallback(v,!0),p}return m(u,[{key:"_enterEditMode",value:function(c){var f=this,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._viewModel.setState("ContainerFocused",!0),this._dataStore.getParentNode(c).then(function(v){var g=v?v.node:{id:null};f._updateStateMachineForTreeNode({node:c,parentNode:g,config:{firstChar:p.firstChar}},"EDIT_STARTED")})}},{key:"editNode",value:function(){var c=this,f=this._viewModel.getStateByKey("keyboardActive");if(f){var p=this._handleEnterKeyPress();p&&this._view.isFocusedNodeInTheView()&&p.then&&p.then(function(){c._viewModel.setState("updateView",!0)})}else throw new Error("Expected: treeNode object with id property. setNodeFocus({id: 'node1'}) to set node focus,before editNode")}},{key:"_isEditPermitted",value:function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!(f.readonly||f.noMouseInteraction||f.displayBlank)}},{key:"_handleEnterKeyPress",value:function(){var c=this,f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this._isEditInProgress()){var p=this._viewModel.getStateByKey("keyboardActive");if(p=p?p.value:null,!!p){var v=new e;return this._dataStore.getNode(p).then(function(g){if(!g){v.resolve();return}var E=c._dataStore.getLocalRowMetaData?c._dataStore.getLocalRowMetaData(g.index):{};if(!c._isEditPermitted(g.node,E)){v.resolve();return}c._enterEditMode(p,{firstChar:f.firstChar}).then(function(){v.resolve()})}),v.promise}}}},{key:"_handleFocusedNodeClick",value:function(c){if(!(this._isEditInProgress()||!this._isEditPermitted(c.node,c.metadata)))return this._enterEditMode(c.node)}},{key:"_handleEditorEditComplete",value:function(c){if(!c.hasValueChanged)this._updateStateMachineForTreeNode({node:c.node.value,parentNode:c.parentNode},"NO_EDIT_CHANGE");else return this._updateDataStoreIfNeeded(c,"EDITOR_EDIT_COMPLETE")}},{key:"_handleEditorEditCanceled",value:function(c){this._updateStateMachineForTreeNode({node:c.node.value,parentNode:c.parentNode,oldValue:c.oldValue,newValue:c.newValue,config:{validationResult:c.validationResult}},"EDITOR_EDIT_CANCELED")}},{key:"_handleEditorProcessEdit",value:function(c){return this._updateDataStoreIfNeeded(c,"EDITOR_PROCESS_EDIT")}},{key:"_updateDataStore",value:function(c){var f=this,p={node:c.node.value,oldValue:c.oldValue,newValue:c.newValue,parentNode:c.parentNode},v=new e,g=this._dataStore.update(c.parentNode,c.node.value,c.newValue);return g&&g.then?g.then(function(){f._updateStateMachineForTreeNode(p,"DATA_UPDATE_SUCCESS"),v.resolve({type:o.DATA_UPDATE_SUCCESS})},function(E){var D={};D.isValid=E.success,D.validationMessage=E.message,D.type="ERROR",p.config={validationResult:D},f._updateStateMachineForTreeNode(p,"DATA_UPDATE_FAILURE"),v.resolve({type:o.DATA_UPDATE_FAILURE})}):(this._updateStateMachineForTreeNode(p,"DATA_UPDATE_SUCCESS"),v.resolve({type:o.DATA_UPDATE_SUCCESS})),v.promise}},{key:"_handleEditInProgress",value:function(c,f){var p=this._deepCloneTreeNode(c.node);p.value.data=c.newValue,this._updateStateMachineForTreeNode({node:c.node.value,parentNode:c.parentNode,oldValue:c.oldValue,newValue:c.newValue,tempNode:p},f),this._viewModel.setState("updateView",!0)}},{key:"_updateDataStoreIfNeeded",value:function(c,f){return this._ds_update_promise&&!this._ds_update_promise.isFulfilled()?(this._handleEditInProgress(c,f),this._ds_update_promise):(this._ds_update_promise=this._updateDataStore({node:c.node,parentNode:c.parentNode,oldValue:c.oldValue,newValue:c.newValue}),this._ds_update_promise.isFulfilled()||this._handleEditInProgress(c,f),this._ds_update_promise)}},{key:"_updateStateMachineForTreeNode",value:function(c,f){var p=this._viewModel.getStateByKey("ActiveEditNode");p=p?p.value:null;var v={node:c.node,parentNode:c.parentNode,config:c.config||{}},g=p?p.state:null;switch(f){case"EDITOR_EDIT_COMPLETE":{g=r.INACTIVE_EDIT_IN_PROGRESS,v.tempNode=c.tempNode;break}case"DATA_UPDATE_SUCCESS":{g=null,this._emitEditCompletedEvt(c);break}case"DATA_UPDATE_FAILURE":{g===r.ACTIVE_EDIT_IN_PROGRESS?(g=r.ACTIVE_EDIT,c.config.validationResult.validatedData=c.newValue):(g=null,this._emitEditCanceledEvt(c));break}case"EDITOR_EDIT_CANCELED":{g=null,this._emitEditCanceledEvt(c);break}case"EDITOR_PROCESS_EDIT":{g=r.ACTIVE_EDIT_IN_PROGRESS,v.config.isReadOnly=!0;break}case"EDIT_STARTED":{this._viewModel.setState("isInEditing",!0),g=r.ACTIVE_EDIT;break}case"NO_EDIT_CHANGE":{g=null;break}}g!==null?(v.state=g,this._viewModel.setState("ActiveEditNode",v)):(this._viewModel.deleteState("isInEditing"),this._viewModel.deleteState("ActiveEditNode"))}},{key:"_emitEditCompletedEvt",value:function(c){this.emit("editCompleted",{nodeId:c.node.id,oldValue:c.oldValue,newValue:c.newValue,config:c.config})}},{key:"_emitEditCanceledEvt",value:function(c){this.emit("editCanceled",{nodeId:c.node.id,oldValue:c.oldValue,newValue:c.newValue,validationResults:[c.config.validationResult]})}},{key:"_isEditInProgress",value:function(){var c=this._viewModel.getStateByKey("ActiveEditNode");return c&&c.value}},{key:"_deepCloneTreeNode",value:function(c){var f=this,p={};return Object.keys(c).forEach(function(v){c[v]&&y(c[v])==="object"?p[v]=f._deepCloneTreeNode(c[v]):p[v]=c[v]}),p}},{key:"exposedAPI",value:function(){return{editNode:this.editNode.bind(this)}}},{key:"emits",get:function(){return["editCompleted","editCanceled"]}}]),u}(t);return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(454)],C=l.dj.d(A,function(n,e){var t=["expanded","collapsed"],r=function(o){d(a,o);function a(i,u,s){m(this,a);var c=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));c._view=i,c._viewModel=u,c._dataStore=s,c._treeNavHandler=new e(c._viewModel,c._dataStore);var f=c._treeNavHandler.emits;f.forEach(function(v){c._treeNavHandler.on(v,function(g){return c.emit(v,g)})});var p={};return p.treeDisclosureMouseDown=function(v){return c._disclosureClickHandler(v)},p.treeNodeMouseDown=function(v){return c._nodeClickHandler(v)},p.treeContextMenuSelection=function(v){v.node&&c._nodeClickHandler(v)},p.treeNodeDoubleClick=function(v){return c._disclosureClickHandler(v)},p.treeNavigation=function(v){return c._nodeKeyPressHandler(v)},c._view.registerEventCallback(p,!0),c}return y(a,[{key:"_expandNode",value:function(u){var s=this;!u.isExpanded&&u.isExpandable&&this._dataStore.expand([u]).then(function(){s.emit("expanded",{nodeId:u.id})})}},{key:"_collapseNode",value:function(u){var s=this;u.isExpanded&&u.isExpandable&&this._dataStore.collapse([u]).then(function(){s.emit("collapsed",{nodeId:u.id})})}},{key:"_nodeClickHandler",value:function(u){var s=u.altKey,c=u.ctrlKey||u.metaKey;s||c&&u.shiftKey||(this._viewModel.deleteState("potentialNextKeyboardActiveNode"),this._viewModel.setState("keyboardActive",u.node),this._viewModel.setState("keyboardActiveIndex",u.nodeIndex))}},{key:"_updatePotentialKeyboardActiveNode",value:function(u){var s=this,c=this._viewModel.getStateByKey("potentialNextKeyboardActiveNode");c?(c=c.value,this._dataStore.getNode(c).then(function(f){f||s._viewModel.setState("potentialNextKeyboardActiveNode",u)})):this._viewModel.setState("potentialNextKeyboardActiveNode",u)}},{key:"_disclosureClickHandler",value:function(u){var s=this;u.node.isExpanded?this._collapseNode(u.node):this._expandNode(u.node);var c=this._viewModel.getStateByKey("keyboardActive");c&&c.value&&(c=c.value,this._dataStore.getNode(c).then(function(f){f||s._updatePotentialKeyboardActiveNode(u.node)}))}},{key:"_nodeKeyPressHandler",value:function(u){return this._treeNavHandler.handleKeyEvent(u)}},{key:"destroy",value:function(){}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return t}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(20),l(61),l(31),l(74),l(29),l(15),l(455),l(456),l(232)],C=l.dj.d(A,function(n,e,t,r,o,a,i,u,s){"use strict";var c=function(f){d(p,f);function p(v,g){m(this,p);var E=h(this,(p.__proto__||Object.getPrototypeOf(p)).call(this));return E._viewModel=v,E._dataStore=g,E._initializeKeyNavigationAndActiveNode(),E}return y(p,[{key:"_initializeKeyNavigationAndActiveNode",value:function(){var g=this;this._keyNavigation=new i({expandHandler:function(D){return g._expandNode(D)},collapseHandler:function(D){return g._collapseNode(D)},getCurrentViewPortCount:function(){return g._getCurrentViewPortCount()},getPreviousViewPortCount:function(D){return g._getPreviousViewPortCount(D)},getNextViewPortCount:function(D){return g._getNextViewPortCount(D)},getFirstVisible:function(D){return g._getFirstVisible(D)},viewModel:this._viewModel}),this._activeNodeHandler=new u({viewModel:this._viewModel,treeNodeHandler:function(D){return g._getViewIndexOfNode(D)}})}},{key:"_getCurrentViewPortCount",value:function(){return r.getViewPortCount(this._viewModel)}},{key:"_getPreviousViewPortCount",value:function(g){return r.getPreviousViewPortCount(this._viewModel,g)}},{key:"_getNextViewPortCount",value:function(g){return r.getNextViewPortCount(this._viewModel,g)}},{key:"_getFirstVisible",value:function(g){return r.getFirstVisibleRow(g,this._viewModel).index}},{key:"_expandNode",value:function(g){var E=this,D=!g.isExpanded&&g.isExpandable;D&&this._dataStore.expand([g]).then(function(){E.emit("expanded",{nodeId:g.id})})}},{key:"_collapseNode",value:function(g){var E=this,D=g.isExpanded&&g.isExpandable;D&&this._dataStore.collapse([g]).then(function(){E.emit("collapsed",{nodeId:g.id})})}},{key:"_getParentNode",value:function(g){return this._dataStore.getParentNode(g)}},{key:"_getViewIndexOfNode",value:function(g){return this._dataStore.getNode(g)}},{key:"_getKeyboardEvent",value:function(g){var E={keyCode:g.keyCode};return E.currentDataSize=this._viewModel.dataSize.rows,E.currentViewPort=this._viewModel.viewPort.rangeList[0].rows,E.currentViewPortSize=this._viewModel.viewPort.size,E}},{key:"_isKeyCodeValid",value:function(g){var E=g.ctrlKey||g.metaKey,D=g.shiftKey,F=g.altKey,w=!(F||E&&D)&&this._keyNavigation.getKeyCommand(g.keyCode);return E?w:D?g.keyCode!==o.ARROW_LEFT&&g.keyCode!==o.ARROW_RIGHT:w}},{key:"handleKeyEvent",value:function(g){var E=this,D=this._viewModel.dataSize.rows.count;if(!(!this._isKeyCodeValid(g)||D===0)){var F=new n,w=this._getKeyboardEvent(g);return this._activeNodeHandler.getActiveNodeInfo(w).then(function(x){e(E._processKeyEvt(w,x)).then(function(R){if(!R)F.resolve();else{var T={index:R.index>=0?R.index:R.keyboardActiveIndex,activeNode:R.keyboardActiveNode||R.node},S=R.firstVisibleIndex>=0?R.firstVisibleIndex:R.index,I=R.lastVisibleIndex?R.lastVisibleIndex:null;e(E._activeNodeHandler.setActiveNode(T,S,I),function(){return F.resolve()})}})}),F}}},{key:"_processKeyEvt",value:function(g,E){var D=E.isPotentialActiveNode||E.isDefaultInitialIndex;return g.currentKeyboardActiveNode=E.node,g.currentKeyboardActiveIndex=E.index,D?this._processNoActiveNodeInView(g):e(this._processExistingActiveIndex(g))}},{key:"_processNoActiveNodeInView",value:function(g){var E=void 0;switch(g.keyCode){case o.PAGE_UP:case o.PAGE_DOWN:case o.HOME:case o.END:{E=this._keyNavigation.getKeyCommand(g.keyCode)(g);break}default:{E={firstVisibleIndex:g.currentKeyboardActiveIndex,keyboardActiveIndex:g.currentKeyboardActiveIndex};break}}return E}},{key:"_processExistingActiveIndex",value:function(g){var E=this._keyNavigation.getKeyCommand(g.keyCode)(g);return E.parentIsNewKeyboardActiveNode?this._getParentNode(E.keyboardActiveNode):E}},{key:"emits",get:function(){return["expanded","collapsed"]}}]),p}(a);return c},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(29),l(110)],C=l.dj.d(A,function(h,d){"use strict";var n=function(){function e(t){m(this,e),this._constructCommands(),this._expandNode=t.expandHandler,this._collapseNode=t.collapseHandler,this._getCurrentViewPortCount=t.getCurrentViewPortCount,this._getPreviousViewPortCount=t.getPreviousViewPortCount,this._getNextViewPortCount=t.getNextViewPortCount,this._currentFirstVisible=t.getFirstVisible}return y(e,[{key:"_constructCommands",value:function(){var r=this;this.keyCommands={},this.keyCommands[h.HOME]=function(o){return r._handleHome(o)},this.keyCommands[h.END]=function(o){return r._handleEnd(o)},this.keyCommands[h.PAGE_UP]=function(o){return r._handlePageUp(o)},this.keyCommands[h.PAGE_DOWN]=function(o){return r._handlePageDown(o)},this.keyCommands[h.ARROW_UP]=function(o){return r._handleArrowUp(o)},this.keyCommands[h.ARROW_DOWN]=function(o){return r._handleArrowDown(o)},this.keyCommands[h.ARROW_LEFT]=function(o){return r._handleArrowLeft(o)},this.keyCommands[h.ARROW_RIGHT]=function(o){return r._handleArrowRight(o)},this.keyCommands[h.SPACE]=function(o){return r._handleSpace(o)}}},{key:"getKeyCommand",value:function(r){return this.keyCommands[r]}},{key:"_handleSpace",value:function(r){var o=r.currentKeyboardActiveIndex,a=this._currentFirstVisible(r.currentViewPortSize.top),i=this._getCurrentViewPortCount(),u=a+i;return a<=r.currentKeyboardActiveIndex&&u>=r.currentKeyboardActiveIndex&&(o=r.currentViewPort.start),{firstVisibleIndex:o,keyboardActiveIndex:r.currentKeyboardActiveIndex}}},{key:"_handleHome",value:function(r){return{firstVisibleIndex:r.currentDataSize.start,keyboardActiveIndex:r.currentDataSize.start}}},{key:"_handleEnd",value:function(r){var o=r.currentDataSize.end,a=this._getCurrentViewPortCount(),i=Math.max(o-a+1,r.currentDataSize.start);return{keyboardActiveIndex:o,firstVisibleIndex:i,lastVisibleIndex:Math.max(r.currentDataSize.start,o)}}},{key:"_getFirstVisibleIndexForPageUp",value:function(r,o,a,i){var u=void 0,s=void 0,c=this._currentFirstVisible(a.top),f=this._getPreviousViewPortCount(c),p=this._getCurrentViewPortCount(),v=c<=o&&o<=c+p;return v?(u=Math.max(c-f,r),s=Math.max(c-1,r)):u=i,{firstVisibleIndex:u,lastVisibleIndex:s}}},{key:"_handlePageUp",value:function(r){var o=r.currentKeyboardActiveIndex,a=this._getPreviousViewPortCount(o),i=Math.max(r.currentKeyboardActiveIndex-a,r.currentDataSize.start),u=this._getFirstVisibleIndexForPageUp(r.currentDataSize.start,r.currentKeyboardActiveIndex,r.currentViewPortSize,i),s=u.firstVisibleIndex,c=u.lastVisibleIndex;return{keyboardActiveIndex:i,firstVisibleIndex:s,lastVisibleIndex:c}}},{key:"_handlePageDown",value:function(r){var o=r.currentKeyboardActiveIndex,a=this._getNextViewPortCount(o),i=Math.max(r.currentKeyboardActiveIndex+a,r.currentDataSize.start);i=Math.min(i,r.currentDataSize.end);var u=this._currentFirstVisible(r.currentViewPortSize.top),s=this._getFirstVisibleIndexForPgDown(r.currentDataSize.start,r.currentKeyboardActiveIndex,i,u),c=s.firstVisibleIndex;return c=c>r.currentDataSize.end?u:c,{keyboardActiveIndex:i,firstVisibleIndex:c}}},{key:"_getFirstVisibleIndexForPgDown",value:function(r,o,a,i){var u=void 0,s=this._getCurrentViewPortCount(),c=i<=o&&o<=i+s-1;return c?u=Math.max(i+s,r):u=a,{firstVisibleIndex:u}}},{key:"_handleArrowDown",value:function(r){var o=Math.min(r.currentKeyboardActiveIndex+1,r.currentDataSize.end),a=this._currentFirstVisible(r.currentViewPortSize.top),i=this._getCurrentViewPortCount(),u=void 0,s=a<=o&&o<=a+i-1;s?u=a:u=Math.max(a+1,r.currentDataSize.start);var c=a+i;return c=c<=o?o:null,{keyboardActiveIndex:o,firstVisibleIndex:u,lastVisibleIndex:c}}},{key:"_handleArrowUp",value:function(r){var o=Math.max(r.currentKeyboardActiveIndex-1,r.currentDataSize.start),a=this._currentFirstVisible(r.currentViewPortSize.top),i=this._getCurrentViewPortCount(),u=a+i,s=o;return a<=o&&u>=o&&(s=a),{keyboardActiveIndex:o,firstVisibleIndex:s}}},{key:"_handleArrowRight",value:function(r){var o=r.currentKeyboardActiveNode.isExpanded&&r.currentKeyboardActiveNode.isExpandable;if(o)return this._handleArrowDown(r);this._expandNode(r.currentKeyboardActiveNode);var a=this._getCurrentViewPortCount(),i=this._currentFirstVisible(r.currentViewPortSize.top),u=i<=r.currentKeyboardActiveIndex&&r.currentKeyboardActiveIndex<=i+a-1;if(u){var s=i;return{keyboardActiveIndex:r.currentKeyboardActiveIndex,firstVisibleIndex:s}}return{keyboardActiveIndex:r.currentKeyboardActiveIndex,firstVisibleIndex:r.currentKeyboardActiveIndex}}},{key:"_handleArrowLeft",value:function(r){var o=r.currentKeyboardActiveNode.isExpandable&&!r.currentKeyboardActiveNode.isExpanded,a=!r.currentKeyboardActiveNode.isExpandable;if(o||a)return{keyboardActiveNode:r.currentKeyboardActiveNode,parentIsNewKeyboardActiveNode:!0};this._collapseNode(r.currentKeyboardActiveNode);var i=this._getCurrentViewPortCount(),u=this._currentFirstVisible(r.currentViewPortSize.top),s=u<=r.currentKeyboardActiveIndex&&r.currentKeyboardActiveIndex<=u+i-1;if(s){var c=u;return{keyboardActiveIndex:r.currentKeyboardActiveIndex,firstVisibleIndex:c}}return{keyboardActiveIndex:r.currentKeyboardActiveIndex,firstVisibleIndex:r.currentKeyboardActiveIndex}}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(20),l(61),l(232),l(74)],C=l.dj.d(A,function(h,d,n,e){"use strict";var t=function(){function r(o){m(this,r),this._viewModel=o.viewModel,this._getViewIndexOfNode=o.treeNodeHandler}return y(r,[{key:"getActiveNodeInfo",value:function(a){var i=this,u=new h;return this._getInitialActiveNodeIndex(a,n.ACTIVE_NODE).then(function(s){return s?(u.resolve(s),!0):!1}).then(function(s){s||i._getInitialActiveNodeIndex(a,n.POTENTIAL_ACTIVE_NODE).then(function(c){c.isPotentialActiveNode=!c.isDefaultInitialIndex,u.resolve(c)})}),u}},{key:"_getInitialActiveNodeIndex",value:function(a,i){var u=this._viewModel.getStateByKey(i),s=void 0;return u&&u.value?(u=u.value,s=this._getViewIndexOfNode(u)):s={isDefaultInitialIndex:!0,index:a.currentDataSize.start},d(s)}},{key:"_getViewportEnd",value:function(a,i,u){return Math.max(0,Math.min(a+i-1,u))}},{key:"_boundedScrollTo",value:function(a){var i=a,u=this._viewModel.dataSize,s=void 0;return s=Math.max(Math.min(i,u.rows.end),0),s}},{key:"_isActiveIndexInViewPort",value:function(a){var i=this._viewModel.viewPort,u=i.size.top,s=e.getViewPortCount(this._viewModel),c=e.getFirstVisibleRow(u,this._viewModel).index,f=c+s-1;return a>c&&a<f}},{key:"_getNodeInfoFromViewPort",value:function(a){var i=this._viewModel.getStateByKey("currentViewPortData").value,u=i(a)(0).value;return u}},{key:"_updateViewPort",value:function(a,i){var u=this,s=this._boundedScrollTo(i);if(e.updateLogicalViewPort(this._viewModel,s),e.isViewPortRangeInDataBuffer(this._viewModel))this._updateActiveNodeInViewModel(a,!0);else{var c=new h,f=this._viewModel.on("currentViewPortData",function(){f.remove(),u._updateActiveNodeInViewModel(a,!0),c.resolve()});return e.updateDataBuffer(this._viewModel),c.promise}}},{key:"_updateActiveNodeInViewModel",value:function(a,i){var u=this._getNodeInfoFromViewPort(a);this._viewModel.setState("keyboardActive",u),this._viewModel.setState("keyboardActiveIndex",a),i&&this._viewModel.setState("shouldScroll",!0),this._viewModel.deleteState("potentialNextKeyboardActiveNode")}},{key:"setActiveNode",value:function(a,i,u){this._isActiveIndexInViewPort(a.index)?this._updateActiveNodeInViewModel(a.index,!1):(u?this._viewModel.setState("scrollTopCalc",e.dynamicScrollTopForBottomNodeCalculator(u,this._viewModel)):this._viewModel.setState("scrollTopCalc",e.dynamicScrollTopCalculator(i,this._viewModel)),this._updateViewPort(a.index,i),this._viewModel.setState("shouldScrollOnKeyPressed",!0))}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(15),l(29),l(233),l(458),l(156),l(90),l(31)],C=l.dj.d(A,function(e,t,r,o,a,i,u){var s=function(c){n(f,c);function f(p,v,g){h(this,f);var E=d(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));E._view=p,E._viewModel=v,E._dataStore=g,E._keyHandlerList=[];var D={};return D.treeKeyPressed=function(F,w,x,R){return E._keyPressHandler(F,w,x,R)},E._view.registerEventCallback(D,!0),E}return m(f,[{key:"_keyPressHandler",value:function(v,g,E,D){var F=this;this._defaultPrevented=!1;var w=Object.assign([],this._getKeyHandlerList());if(w){var x={};x.preventDefault=this._preventDefault.bind(this),x.selectedNodes=this._getSelection(),x.focusedNode=this._getFocused();var R=w.filter(function(O){return F._isKeyHandlerObjInTheList(v,O)}),T=!0,S=!1,I=void 0;try{for(var B=R[Symbol.iterator](),P;!(T=(P=B.next()).done);T=!0){var L=P.value;if(L[a.KEY_HANDLER](x),this._defaultPrevented)return new Promise(function(O){O({prevented:!0})})}}catch(O){S=!0,I=O}finally{try{!T&&B.return&&B.return()}finally{if(S)throw I}}}if(!this._defaultPrevented)return new Promise(function(O){O(F._handleNextEvent(v,g,E,D))})}},{key:"_handleNextEvent",value:function(v,g,E,D){var F={eventToEmit:g,eventProperties:v,eventCallback:D};E(F)}},{key:"addCustomKeyHandler",value:function(v,g,E){if(!v||typeof v!="string")throw new Error("Invalid KeyHandlerName, "+v+" should be a String.");var D=this._getKeyHandlerList();if(u.isPropertyInTheObject(D,a.KEY_HANDLER_NAME,v))throw new Error("Invalid KeyHandlerName, "+v+" should be Unique, "+v+" is already bound to addCustomKeyHandler API.");if(typeof E!="function")throw new Error("Invalid KeyHandler callback, "+E+" should be a function.");this._generateKeyHandlerList(v,g,E,D)}},{key:"_generateKeyHandlerList",value:function(v,g,E,D){var F=arguments.length>4&&arguments[4]!==void 0?arguments[4]:i.internal.ALL;if(g&&Array.isArray(g)){if(o.validatingKeyBindingLength(g),u.hasDuplicates(g))throw new Error("Invalid KeyBinding, Duplicate keycode found.");var w=!0,x=!1,R=void 0;try{for(var T=g[Symbol.iterator](),S;!(w=(S=T.next()).done);w=!0){var I=S.value;this._validatingIndividualKeyCombination(I,F,D);var B=r.isKeyBindingInHandlerList(I,v,D);if(B){var P=r.findPropertyInTheObject(I,v,D);P&&P[a.PLATFORMS]&&this._updateKeyHandlerObjectWithPlatform(P[a.PLATFORMS],F)}if(I&&!B){var L=r.getModifierLookupList();Array.isArray(I)&&(L=r.getModifierKeyCodeList(I));var O={};O[a.KEY_CODE]=I,O[a.KEY_HANDLER_NAME]=v,O[a.KEY_HANDLER]=E,O[a.PLATFORMS]=[F],O[a.MODIFIER_KEY_LIST]=L,D.push(O)}}}catch(j){x=!0,R=j}finally{try{!w&&T.return&&T.return()}finally{if(x)throw R}}}else if(g&&(typeof g=="undefined"?"undefined":y(g))==="object"){o.validatingKeyBindingLength(Object.keys(g)),o.validatingPlatformInKeyBinding(g);for(var W in g)g.hasOwnProperty(W)&&this._generateKeyHandlerList(v,g[W],E,D,W)}else throw new Error("Invalid KeyBinding, it should be an Array or Object")}},{key:"_validatingIndividualKeyCombination",value:function(v,g,E){if(!v)throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc.");if(Array.isArray(v)){if(v.length<=1)throw new Error("Invalid KeyBinding, Key Combination should have one regular key and multiple modifier keys");o.validateSequenceOfKeyCombination(v),o.validateKeyCombinations(v,g,E)}else{if(!r.keyCodeLookUpArray().includes(v))throw new Error("Invalid KeyBinding, Please refer to valid keycode in jsDoc");var D=r.findKeyCodeInTheList(v,g,E);if(D&&D[a.KEY_HANDLER_NAME])throw new Error("Invalid KeyBinding, "+u.getKeyByValue(t,v)+" is already bound to "+D[a.KEY_HANDLER_NAME]+" KeyHandler")}}},{key:"_updateKeyHandlerObjectWithPlatform",value:function(v,g){var E=r.isPlatformInTheList(v,g);!E&&Array.isArray(v)&&v.push(g)}},{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_getSelectionState",value:function(){var v=this._viewModel.getStateByKey("selected");return v&&v.value?v.rangeList:[]}},{key:"_getSelection",value:function(){var v=this._getSelectionState(),g=v[0]?v[0]:[];return g=g.map(function(E){return{id:E.id}}),g}},{key:"_getFocusedState",value:function(){return this._viewModel.getStateByKey("focused")||null}},{key:"_getFocused",value:function(){var v={},g=this._getFocusedState();return g&&g.value&&(v.id=g.value.id),v}},{key:"_getKeyHandlerList",value:function(){return this._keyHandlerList}},{key:"_setKeyHandlerList",value:function(v){this._keyHandlerList=v}},{key:"_isKeyHandlerObjInTheList",value:function(v,g){var E=u.getUsersPlaform(),D=g[a.KEY_CODE],F=g.modifierKeyList;Array.isArray(D)&&(D=r.getKeyCodeArray(D)[0]);var w=r.isPlatformInTheList(g[a.PLATFORMS],E),x=w;return!w&&g[a.PLATFORMS][0]===i.internal.ALL&&(x=!0),v[a.KEY_CODE]===D&&v[a.ALT_KEY]===F[a.ALT_KEY]&&v[a.CTRL_KEY]===F[a.CTRL_KEY]&&v[a.META]===F[a.META]&&v[a.SHIFT_KEY]===F[a.SHIFT_KEY]&&x}},{key:"removeCustomKeyHandler",value:function(v){if(!v||typeof v!="string")throw new Error("Invalid KeyHandlerName, "+v+" should be a String.");var g=this._getKeyHandlerList();if(!u.isPropertyInTheObject(g,a.KEY_HANDLER_NAME,v))throw new Error("Invalid KeyHandlerName, "+v+" has not been added by addCustomKeyHandler API.");g&&Array.isArray(g)&&g.length>0&&(g=g.filter(function(E){return E[a.KEY_HANDLER_NAME]!==v}),this._setKeyHandlerList(g))}},{key:"destroy",value:function(){}},{key:"exposedAPI",value:function(){return{addCustomKeyHandler:this.addCustomKeyHandler.bind(this),removeCustomKeyHandler:this.removeCustomKeyHandler.bind(this)}}},{key:"emits",get:function(){return[]}}]),f}(e);return s},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(233),l(31),l(90),l(156)],C=l.dj.d(A,function(h,d,n,e){var t=function(){function r(){m(this,r)}return y(r,null,[{key:"validatingKeyBindingLength",value:function(a){if(d.isArrayEmpty(a))throw new Error("Invalid KeyBinding, one or more values are empty")}},{key:"validatingPlatformInKeyBinding",value:function(a){var i=n.exposed.WINDOWS in a,u=n.exposed.LINUX in a,s=n.exposed.MAC in a;if(!(i&&u&&s))throw new Error("Invalid KeyBinding, it should have Tree.PLATFORMS.WINDOWS, Tree.PLATFORMS.LINUX and Tree.PLATFORMS.MAC as a key")}},{key:"validateSequenceOfKeyCombination",value:function(a){if(a){if(d.hasDuplicates(a))throw new Error("Invalid KeyBinding, Duplicate Key Combination found");var i=h.getKeyCodeArray(a);if(i.length!==1)throw new Error("Invalid KeyBinding, Excluding modifiers, there can only be one key for the binding");return!0}return!1}},{key:"validateKeyCombinations",value:function(a,i,u){if(a&&i&&u){var s=u.filter(function(D){return Array.isArray(D.keyCode)}),c=!0,f=!1,p=void 0;try{for(var v=s[Symbol.iterator](),g;!(c=(g=v.next()).done);c=!0){var E=g.value;if(d.isArrayMatching(E[e.KEY_CODE],a)&&h.isThePlatformInObject(E[e.PLATFORMS],i))throw new Error("Invalid KeyBinding, Key Combination is already bound to addCustomKeyHandler API")}}catch(D){f=!0,p=D}finally{try{!c&&v.return&&v.return()}finally{if(f)throw p}}}}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(20),l(7),l(15),l(31),l(74)],C=l.dj.d(A,function(n,e,t,r,o){var a=function(i){d(u,i);function u(s,c,f){m(this,u);var p=h(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));p._view=s,p._viewModel=c,p._dataStore=f;var v={};return v.treeScroll=function(g){return p._handleScroll(g)},v.treeProgrammaticScroll=function(g){return p._handleProgrammaticScroll(g)},p._view.registerEventCallback(v,!0),p}return y(u,[{key:"_scrollToIndex",value:function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{maintainPositionIfInView:!0};if(f.maintainPositionIfInView){var p=o.isTreeNodeCompletelyInsideViewPort(c,this._viewModel);if(p)return}var v=this._viewModel.getStateByKey("nodeHeightInPx").value;this._viewModel.viewPort.size.top=c*v,this._viewModel.setState("scrollTopCalc",o.dynamicScrollTopCalculator(c,this._viewModel)),o.calculateAndUpdateLogicalViewPort(this._viewModel,this._viewModel.viewPort.size)}},{key:"_scrollToNode",value:function(c,f){var p=this;return this._dataStore.expandTo(c).then(function(v){if(v){var g=v.index;p._scrollToIndex(g,f)}})}},{key:"_handleProgrammaticScroll",value:function(c){if(!(!c.treeNodeScroll&&!(c.nodeIndex>=0)))return c.treeNodeScroll?this._scrollToNode(c.treeNodeScroll.treeNode,c.treeNodeScroll.options):this._scrollToIndex(c.nodeIndex)}},{key:"_handleScroll",value:function(c){this._handleUpdateViewPort(c)}},{key:"_handleUpdateViewPort",value:function(c){var f={left:c.scrollLeft,top:c.scrollTop,width:c.clientWidth,height:c.clientHeight};o.calculateAndUpdateLogicalViewPort(this._viewModel,f)}},{key:"destroy",value:function(){}},{key:"exposedAPI",value:function(){return{}}}]),u}(t);return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(461),l(20),l(31),l(234),l(89)],C=l.dj.d(A,function(n,e,t,r,o,a){"use strict";var i=function(u){d(s,u);function s(c,f,p,v){m(this,s);var g=h(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));g._view=c,g._viewModel=f,g._dataStore=p,g.executeAction=g.executeAction.bind(g);var E={},D={},F=v.actions[o.ACTIONS.DELETE];return F&&(D.deleteActionCompleted=function(w){return g._handleDeleteActionCompleted(w)},D.deleteActionsCompleted=function(w){return g._handleDeleteActionsCompleted(w)},g._deleteActionImpl=new e(f,p,D,F),E.deleteActionEvent=function(){return g._deleteActionImpl.performAction()}),g._view.registerEventCallback(E,!0),g}return y(s,[{key:"executeAction",value:function(f){switch(f){case o.ACTIONS.DELETE:this._view.executeAction(f);break;default:break}}},{key:"_handleDeleteActionCompleted",value:function(f){this.emit("deleteActionCompleted",f)}},{key:"_handleDeleteActionsCompleted",value:function(f){this.emit("deleteActionsCompleted",f)}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return["deleteActionCompleted","deleteActionsCompleted"]}}]),s}(n);return i},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(31)],C=l.dj.d(A,function(d){"use strict";var n=function(){function e(t,r,o,a){h(this,e),this._viewModel=t,this._dataStore=r,this._handlers=o,this._parseConfig(a)}return m(e,[{key:"_parseConfig",value:function(r){var o=this._isObject(r)&&r.beforeAction;o&&(this._beforeAction=r.beforeAction)}},{key:"_isObject",value:function(r){return r&&(typeof r=="undefined"?"undefined":y(r))==="object"&&!Array.isArray(r)}},{key:"performAction",value:function(){var r=this,o=d.getSelectedNodes(this._viewModel),a=o.map(function(i){var u=this;return new Promise(function(s){var c=i||{id:null};u._beforeAction?u._handleBeforeAction(i,s):u._deleteNode(c,s)})},this);Promise.all(a).then(function(i){i=i.filter(function(s){return s&&s.id}),i=i.map(function(s){return s.id});var u={nodeIds:i};r._handlers.deleteActionsCompleted(u)})}},{key:"_handleBeforeAction",value:function(r,o){var a=this,i=this._beforeAction(r);if(i.then)i.then(function(){a._deleteNode(r,o)},function(){a._handlers.deleteActionCompleted({}),o()});else throw new Error("Expected: beforeAction should return a Promise")}},{key:"_deleteNode",value:function(r,o){var a=this;this._dataStore.remove(null,{id:r.id}).then(function(){d.removeNodeSelectionState(a._viewModel,r),d.removeNodeFocusState(a._viewModel,r),a._handlers.deleteActionCompleted({id:r.id}),o(r)})}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(153),l(229),l(15),l(29)],C=l.dj.d(A,function(e,t,r,o){var a=function(i){n(u,i);function u(s,c,f){h(this,u);var p=d(this,(u.__proto__||Object.getPrototypeOf(u)).call(this));p._view=s,p._viewModel=c,p._dataStore=f;var v={};return v[e.INTERACTIVE_RENDERER_CLICK]=function(g){return p._handleInteractiveClick(g)},v[e.KEYUP_TOGGLE_CHECKED_STATE]=function(g){return p._handleKeyPressEvent(g)},p._view.registerEventCallback(v,!0),p._preventDefault=p._preventDefault.bind(p),p}return y(u,[{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"eventList",value:function(){var c={};return c[e.INTERACTIVE_CELL_CLICK]=this._handleCellClickEvent.bind(this),c}},{key:"_handleInteractiveClick",value:function(c){var f=c.renderer,p=c.node,v=c.evt,g=v.ctrlKey,E=v.meta,D=v.shiftKey,F=v.altKey,w=g||F||E||D;if(!w&&"handleAction"in f){var x=f.handleAction(p.value.data,{actionName:t.CLICK,target:v.target});if(x.hasChanged){var R={oldValue:x.oldValue,newValue:x.newValue};this._updateDataStore(R)}}}},{key:"_updateDataStore",value:function(c){var f=Object.assign({},c.oldValue),p=Object.assign({},c.newValue),v=Object.keys(p).reduce(function(g,E){return f[E]===p[E]?g:Object.assign(g,m({},E,p[E]))},{});this._dataStore.update(null,{id:c.oldValue.id},v),this._emitEditCompletedEvt(f,p)}},{key:"_emitEditCompletedEvt",value:function(c,f){this.emit(e.EDIT_COMPLETED,{nodeId:c.id,oldValue:c,newValue:f})}},{key:"_isSpacePressed",value:function(c){var f=c.ctrlKey||c.metaKey||c.altKey||c.shiftKey;return!(c.keyCode!==o.SPACE||f)}},{key:"_handleKeyPressEvent",value:function(c){var f=this;if(this._isSpacePressed(c))return new Promise(function(p,v){var g=f._viewModel.getStateByKey("keyboardActive");f._dataStore.getNode(g.value).then(function(E){if(!E){p();return}var D=f._dataStore.getLocalRowMetaData?f._dataStore.getLocalRowMetaData(E.index):{};if(D.readonly){p();return}if(D.interactiveRenderer){var F=D.interactiveRenderer,w=g.value.data?g.value.data:g.value,x=F.handleAction(w,{actionName:t.KEY_PRESS});x.hasChanged&&(f._updateDataStore(x),p())}})})}},{key:"emits",get:function(){return[e.EDIT_COMPLETED]}}]),u}(r);return a},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(157)],C=l.dj.d(A,function(h){return function(){function d(n){m(this,d),this._toggledIds=[],this._allExpanded=!1,n.allExpanded&&(this._allExpanded=!0)}return y(d,[{key:"isExpanded",value:function(e){var t=this._toggledIds.indexOf(e),r=t>=0;return this._allExpanded?!r:r}},{key:"expandAll",value:function(){var e=this._toggledIds.length>0||!this._allExpanded;return this._allExpanded=!0,this._toggledIds=[],{changeOccurred:e,allExpanded:this._allExpanded,updateAll:!0}}},{key:"collapseAll",value:function(){var e=this._toggledIds.length>0||this._allExpanded;return this._allExpanded=!1,this._toggledIds=[],{changeOccurred:e,updateAll:!0}}},{key:"expand",value:function(e){if(!Array.isArray(e))throw new Error("'expand' expected an array in proxyNodeList.");for(var t=!1,r=this._toggledIds.slice(0),o=0;o<e.length;o+=1){var a=h.normalize(e[o]),i=a.id,u=r.indexOf(i);this._allExpanded?u>=0&&(r.splice(u,1),t=!0):u<0&&(r.push(i),t=!0)}this._toggledIds=r;var s=e.map(function(c){return c.id});return{changeOccurred:t,changedIds:t?s:[],updateAll:!1}}},{key:"collapse",value:function(e){if(!Array.isArray(e))throw new Error("'expand' expected an array in proxyNodeList.");for(var t=!1,r=this._toggledIds.slice(0),o=0;o<e.length;o+=1){var a=h.normalize(e[o]),i=a.id,u=r.indexOf(i);this._allExpanded?u<0&&(r.push(i),t=!0):u>=0&&(r.splice(u,1),t=!0)}this._toggledIds=r;var s=e.map(function(c){return c.id});return{changeOccurred:t,changedIds:t?s:[],updateAll:!1}}},{key:"getState",value:function(){return{toggledIds:this._toggledIds,allExpanded:this._allExpanded}}},{key:"setState",value:function(e){this._toggledIds=e.toggledIds,this._allExpanded=e.allExpanded}}]),d}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(237),l(471),l(92)],C=l.dj.d(A,function(n,e,t){var r=function(i){var u={};return i.forEach(function(s,c){u[s]=c}),u},o=function(a){d(i,a);function i(u,s){m(this,i);var c=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,u,s));return c._columnMap=s.columnMap||[0],c._columnMap||(c._columnMap=Object.keys(c._data[0])),c.defaultColumnCount=c._columnMap.length,c._paramToIndexMap=r(c._columnMap),s.metaDataColumns=s.metaDataColumns||[0],c._metaDataColumns=s.metaDataColumns.map(function(f){return c._paramToIndexMap[f]}),c._metaDataRanges=t.columnArray(c._metaDataColumns),c._isFiltering=!1,c._filterOptions={},c}return y(i,[{key:"normalizeFilterCriteria",value:function(s){var c={field:"",value:""};return s&&(s.field||s.and||s.or||s.metadata)?s:c}},{key:"_instantiateFilter",value:function(){for(var s=arguments.length,c=Array(s),f=0;f<s;f++)c[f]=arguments[f];return new(Function.prototype.bind.apply(e,[null].concat(c)))}},{key:"_addFilterAncestors",value:function(s){for(;s!==this._treeRootId&&!this._filter.isFiltered(s);)this._filter.addtoFilterCache(s),s=this.getParentId(this._treeNodeIdCache.get(s))}},{key:"runSort",value:function(s,c){return c.keepSorted===!0?(this._sort.configurePersistentSort(s),this._sort.sort(this._data),this.setSortState(s),this._indexCache._reindex(),this._createParentCache(),{changeOccurred:!0,updateAll:!0}):(this._sort.removePersistentSort(),this._data.sort(this._sort.generateCompareFunctionFromList(s)),this.setSortState(s),this._indexCache._reindex(),this._createParentCache(),{changeOccurred:!0,updateAll:!0})}}]),i}(n);return o},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";return function(){function h(){m(this,h),this._cache=Object.create(null)}return y(h,[{key:"set",value:function(n,e){this.canIndex(n)&&(this._cache[n]=e)}},{key:"get",value:function(n){if(this.has(n))return this._cache[n]}},{key:"has",value:function(n){return n in this._cache}},{key:"remove",value:function(n){delete this._cache[n]}},{key:"keys",value:function(){var n=[];for(var e in this._cache)n.push(e);return n}},{key:"canIndex",value:function(n){return typeof n=="string"}}]),h}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";return function(){function h(){m(this,h),this._cache=new Map}return y(h,[{key:"set",value:function(n,e){this._cache.set(n,e)}},{key:"get",value:function(n){return this._cache.get(n)}},{key:"has",value:function(n){return this._cache.has(n)}},{key:"remove",value:function(n){this._cache.delete(n)}},{key:"keys",value:function(){return Array.from(this._cache.keys())}},{key:"canIndex",value:function(n){return!0}}]),h}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(238),l(65)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a,i){m(this,o);var u=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,a,i));return u._searchCache=new e,u._getId=i.getId,u}return y(o,[{key:"_getCriteriaField",value:function(i){return i.field}},{key:"_getSearchColumnCriteria",value:function(i){return{value:i.value}}},{key:"_isBaseCriteria",value:function(i){return Boolean(i&&"value"in i&&"field"in i)}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(161),l(115)],C=l.dj.d(A,function(e,t){var r=[{field:"label",order:t.order.ASC,compare:t.compare.STRING}],o=function(a){n(i,a);function i(u){h(this,i);var s=d(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,u));return s.configurePersistentSort(u),s}return m(i,[{key:"configurePersistentSort",value:function(s){Array.isArray(s)?(this._sorted=!0,this._sortOptions=s):((typeof s=="undefined"?"undefined":y(s))==="object"||s===!0)&&(this._sorted=!0,this._sortOptions=r)}},{key:"_getSortField",value:function(s){return s.field}},{key:"_validateFieldToSort",value:function(s,c){if(!s.field)throw new Error("Field must be specified for sort in Tree")}}]),i}(e);return o},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(161)],C=l.dj.d(A,function(n){var e=function(t){d(r,t);function r(o,a){m(this,r);var i=h(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,o));return i.columnMap=a||[],i}return y(r,[{key:"configurePersistentSort",value:function(a,i){this.columnMap=i||[],Array.isArray(a)&&(this._sorted=!0,this._sortOptions=a)}},{key:"_getSortField",value:function(a){var i=a.columnIndex,u=this.columnMap.length>0?this.columnMap[i]:i;return u}},{key:"_validateFieldToSort",value:function(a,i){if(!Number.isInteger(a.columnIndex))throw new Error("Column index must be Integer value specified for sort in TreeTable");if(a.columnIndex<i.columns.start||a.columnIndex>i.columns.end)throw new Error("columnIndex is out of bounds")}}]),r}(n);return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=1,d=-1,n=500;A=[l(65)],C=l.dj.d(A,function(e){return function(){function t(r,o){var a=o.getId;m(this,t),this._indexCache=new e,this._data=r,this._history=[],this.getId=a,this._reindex()}return y(t,[{key:"_reindex",value:function(){this._history=[];for(var o=this._data.length,a=0;a<o;a++){var i=this._data[a];this._indexCache.set(this.getId(i),{index:a,node:i,timestamp:0})}}},{key:"getIndex",value:function(o){return this.hasIndex(o)?(this._history.length>=n&&this._reindex(),this._calcIndex(o)):-1}},{key:"hasIndex",value:function(o){return this._indexCache.has(o)}},{key:"setNode",value:function(o,a,i){var u=i.index,s=i.node;this._updateHistory({op:h,opIdx:a}),this._indexCache.set(o,{index:u,node:s,timestamp:this._history.length})}},{key:"removeNode",value:function(o,a){this._updateHistory({op:d,opIdx:a}),this._indexCache.remove(o)}},{key:"_updateHistory",value:function(o){this._history.push(o)}},{key:"_calcIndex",value:function(o){for(var a=this._indexCache.get(o),i=a.index,u=a.timestamp,s=this._history.length,c=u;c<s;c++){var f=this._history[c],p=f.op,v=f.opIdx;i>=v&&(i+=p)}return i}}]),t}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(239)],C=l.dj.d(A,function(n){var e=function(t){d(r,t);function r(){return m(this,r),h(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return y(r,[{key:"_extractValueToFilter",value:function(a,i){return a[i.field]}},{key:"_hasFilteringProperty",value:function(a,i){return a.hasOwnProperty(i.field)}},{key:"_isBaseCriteria",value:function(a){return"value"in a&&"field"in a}},{key:"_isCheckedCriteria",value:function(a){return"metadata"in a&&"checked"in a.metadata}}]),r}(n);return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7),l(91)],C=l.dj.d(A,function(h,d){var n=function(){function e(){m(this,e),this._orderedRules=[]}return y(e,[{key:"add",value:function(r){this._orderedRules.push(r)}},{key:"remove",value:function(r){var o=[],a=d.findIndex(this._orderedRules,function(u){return u.name===r});if(a>=0){var i=this._orderedRules.splice(a,1);o=i[0].rangeList}return o}},{key:"getRulesForRange",value:function(r){for(var o=[],a=0;a<this._orderedRules.length;a+=1){for(var i=this._orderedRules[a],u=i.rangeList,s=!1,c=0;c<u.length&&(s=h.doesRangeIntersect(u[c],r),!s);c+=1);!s||i.applyMetaDataFunction(r.rows.start,r.columns.start)&&o.push(i)}return o}}]),e}();return n},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(91)],C=l.dj.d(A,function(h){var d=function(){function n(){m(this,n),this._hierarchicalOrderedRules=[]}return y(n,[{key:"add",value:function(t){this._hierarchicalOrderedRules.push(t)}},{key:"remove",value:function(t){var r=[],o=h.findIndex(this._hierarchicalOrderedRules,function(i){return i.name===t});if(o>=0){var a=this._hierarchicalOrderedRules.splice(o,1);r=a[0].rangeList}return r}},{key:"getRulesForRange",value:function(t){for(var r=[],o=0;o<this._hierarchicalOrderedRules.length;o+=1){var a=this._hierarchicalOrderedRules[o];a.applyMetaDataFunction(t)&&r.push(a)}var i=r.slice();return i.length!==0&&(r=this._rearrangeHierarchyRules(i,t)),r}},{key:"_rearrangeHierarchyRules",value:function(t,r){for(var o=[],a=r.dynamic.path,i=a.length-1;i>=0&&t.length>0;i--){for(var u=[],s=0;s<t.length;s++)t[s].dataSelector.value.includes(a[i])&&(u.push(t[s]),t.splice(s,1),s--);u.reverse().forEach(function(c){o.unshift(c)})}return o}}]),n}();return d},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(160),l(241)],C=l.dj.d(A,function(y,m){"use strict";function h(r){var o=!1,a=r.queryCriteria,i=d(a),u=e(r);return o=i&&u,o}function d(r){var o=!1,a=!0,i=!1,u=r&&r.compare&&r.compare.dataType;return u&&(a=n(r.compare.dataType)),i=r&&r.metadata,o=i&&a,o}function n(r){var o=!1;return(r===y.dataType.STRING||r===y.dataType.BOOLEAN||r===y.dataType.NUMBER)&&(o=!0),o}function e(r){var o=!1,a=r.position;return(a===m.POSITION.NEXT||a===m.POSITION.PREVIOUS||a===m.POSITION.FIRST||a===m.POSITION.LAST)&&(o=!0),o}function t(r,o){if(r===y.dataType.STRING)return String(o).toLowerCase();if(r===y.dataType.NUMBER)return Number(o);if(r===y.dataType.BOOLEAN)return Boolean(o)}return{isValidCriteria:h,getValueByType:t}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function m(d){if(Array.isArray(d)){for(var n=0,e=Array(d.length);n<d.length;n++)e[n]=d[n];return e}else return Array.from(d)}function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(114),l(7),l(92),l(476),l(158),l(477),l(242),l(478),l(240),l(116),l(20),l(49)],C=l.dj.d(A,function(d,n,e,t,r,o,a,i,u,s,c,f){"use strict";var p="addOrRemoveRows",v="addOrRemoveColumns",g=function(F){var w=new c;setTimeout(function(){return F(w.resolve,w.reject)},0),this.then=w.promise.then},E=function(){function D(F){var w=this,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};h(this,D),this._on=new d,this._listeners=[],this._type=x.type,this._metaDataRules=new u,this._dataSave=x.dataSave||{},this._dataSize=n.range(),this._sort=new t,this._filtering=!1,this._searching=!1,this.replaceAll(F,x),this._listeners.push(this._metaDataRules.on("metaDataChanged",function(R){for(var T=[],S=[],I=0;I<R.rangeList.length;I+=1){var B=R.rangeList[I];if(n.isRowRange(B)){var P=B.setColumns(0,0);S.push(P)}if(n.isColumnRange(B)){var L=B.setRows(0,0);T.push(L)}}T.length>0&&w._emitPagedColumnMetaDataChanged(T),S.length>0&&w._emitPagedRowMetaDataChanged(S),w._dataChanged(R.rangeList)}))}return y(D,[{key:"_getSortState",value:function(){return this._sortState}},{key:"_setSortState",value:function(w){this._sortState=w}},{key:"_updateSortState",value:function(){return this._sort.sorted?!1:(this._setSortState(null),!0)}},{key:"addMetaDataRule",value:function(w,x){this._metaDataRules.add(w,x)}},{key:"removeMetaDataRule",value:function(w){this._metaDataRules.remove(w)}},{key:"createMetaDataRule",value:function(w,x){return s.create(w,x,this._type)}},{key:"managePaging",value:function(w){}},{key:"_isRangeAddingRows",value:function(w){return Boolean(w.rows.start===w.rows.end&&this._isRowRange(w))}},{key:"_isRangeAddingColumns",value:function(w){return Boolean(w.columns.start===w.columns.end&&this._isColumnRange(w))}},{key:"_getDataSizeOnAdd",value:function(w,x,R){if(this._isRangeAddingRows(x))return w.setRows(0,w.rows.end+R);if(this._isRangeAddingColumns(x))return w.setColumns(0,w.columns.end+R)}},{key:"_getDataSizeOnRemove",value:function(w,x){if(this._isRowRange(x)){var R=w.rows.count-x.rows.count-1;return R=R<-1?-1:R,w.setRows(0,R)}if(this._isColumnRange(x)){var T=w.columns.count-x.columns.count-1;return T=T<-1?-1:T,w.setColumns(0,T)}}},{key:"_addRowLabelRules",value:function(w){var x=this,R=n.range().setColumns(0,1/0).setRows(0,1/0),T=this.createMetaDataRule.bind(this),S=T({row:function(B){var P=x.getLocalCellData(B.rowIndex,x._rowLabelIndex),L=P?P.value:void 0;return{label:L}}},{type:"rangeList",value:[R]});this._metaDataRules.addBuiltIn("$setRowLabels",S)}},{key:"_updateDataSize",value:function(){var w=D._calcTableSize(this._data,this._defaultColumnCount);(w.rows.count!==this._dataSize.rows.count||w.columns.count!==this._dataSize.columns.count)&&(this._dataSize=w,this._on.emit("dataSizeChanged",{dataSize:w}))}},{key:"getLocalCellData",value:function(w,x){var R=this._data[w];if(!!R)return R[x]}},{key:"getLocalRowMetaData",value:function(w){var x=this._gatherRowForMetaData(w),R=void 0,T=null;if(x!==void 0){try{R=this._getId(x)}catch(I){}T={id:R}}var S=this._metaDataRules.getRowMetaData({rowIndex:w,dynamic:T});return S.id=R,S}},{key:"getLocalColumnMetaData",value:function(w){var x={},R=this._metaDataRules.getColumnMetaData({columnIndex:w,dynamic:x});return this._getColumnNumbersForSortCriteria(this._getSortState()).indexOf(w)>=0&&(R.sorted=this._getSortState()),R}},{key:"_getColumnNumbersForSortCriteria",value:function(w){var x=[];return w&&w.forEach(function(R){return x.push(R.columnIndex)}),x}},{key:"updateColumnHeader",value:function(w){var x=w.id,R=w.value;return this._headers.updateHeader({id:x,value:R}),new g(function(T){setTimeout(T,0)})}},{key:"updateRowHeader",value:function(w,x){var R=this,T=w.rowIndex,S=x.value;return new g(function(I,B){try{var P=n.range().setRows(T,T).setColumns(R._rowLabelIndex,R._rowLabelIndex);I(R.update(P,[[{value:S}]]))}catch(L){B(L)}})}},{key:"getLocalColumnSpanningMetaData",value:function(w){return{value:this._headers.getHeaderHierarchy(w)}}},{key:"getLocalCellMetaData",value:function(w,x){var R=this.getLocalCellData(w,x),T=null;if(R!==void 0){var S=this._gatherRowForMetaData(w);T={id:this._getId(S),value:R},this._searching&&(T._row={data:this._data[w]})}var I=this._metaDataRules.getCellMetaData({rowIndex:w,columnIndex:x,dynamic:T});return I}},{key:"_emitPagedColumnMetaDataChanged",value:function(w){this._on.emit("pagedColumnMetaDataChanged",{rangeList:w})}},{key:"_emitPagedRowMetaDataChanged",value:function(w){this._on.emit("pagedRowMetaDataChanged",{rangeList:w})}},{key:"getIndex",value:function(w){var x=this;return new g(function(R,T){for(var S=0;S<x._data.length;S+=1){var I=x._gatherRowForMetaData(S);w.id===x._getId(I)&&R({index:S})}R({index:null})})}},{key:"getData",value:function(w){var x=this,R=w.slice(),T=new g(function(S,I){var B=[];R.forEach(function(P,L){if(P.columns.end===1/0&&(P=P.setColumns(P.columns.start,x.dataSize.columns.end)),P.rows.end===1/0&&(P=P.setRows(P.rows.start,x.dataSize.rows.end)),!n.isRangeInside(x.dataSize,P)){I(new Error("Range exceeds data size"));return}var O=P.rows.start,W=P.rows.end,j=P.columns.start,K=P.columns.end,H=x._getCellBlock(O,W,j,K);H.range=P,B[L]=H}),S(B)});return T}},{key:"_gatherRowForMetaData",value:function(w){for(var x=[],R=0;R<this._metaDataColumns.length;R+=1){var T=this._metaDataColumns[R];x[T]=this.getLocalCellData(w,T)}return x}},{key:"_getCellBlock",value:function(w,x,R,T){for(var S=[],I=w;I<=x;I+=1){for(var B=[],P=R;P<=T;P+=1)B[P]=this.getLocalCellData(I,P);S[I]=B}return S}},{key:"add",value:function(w){for(var x=arguments.length,R=Array(x>1?x-1:0),T=1;T<x;T++)R[T-1]=arguments[T];return Array.isArray(w)?this._addRecords.apply(this,[w].concat(R)):this._addRecord.apply(this,[w].concat(R))}},{key:"_addRecords",value:function(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0};if(this._filtering)throw new Error("Data cannot be added in filter mode. Clear filter before adding data.");return this._doModifyData(w,x,this._validateAddingRecords.bind(this),this._dataSave.beforeAdd,this._performAdd.bind(this))}},{key:"_addRecord",value:function(w,x){if(this._filtering)throw new Error("Data cannot be added in filter mode. Clear filter before adding data.");var R=[{range:w,data:x}],T=this._validateAddingRecords(R);return this._doSaveOperation(this._dataSave.beforeAdd,this._bulkifyDataAdd,T[0])}},{key:"_bulkifyDataAdd",value:function(w){return this._performAdd([w])}},{key:"_performAdd",value:function(w){if(w.length!==0){for(var x=1/0,R=1/0,T=!1,S=!1,I=0;I<=w.length-1;I++){var B=this._add(w[I]);w[I][p]&&(x=Math.min(x,B.rows.start),T=!0),w[I][v]&&(R=Math.min(R,B.columns.start),S=!0)}x=S?0:x,R=T?0:R;var P=[n.range().setRows(x,1/0).setColumns(R,1/0)];this._updateDataSize(),this._dataChanged(P,this._checkSortStateThenSort(P))}}},{key:"_determineAddExtraOptions",value:function(w){if(w[p])return{addOrRemoveRows:!0};if(w[v])return{addOrRemoveColumns:!0}}},{key:"_isRowRange",value:function(w){return Boolean(w.columns.start===0&&w.columns.end===1/0)}},{key:"_isColumnRange",value:function(w){return Boolean(w.rows.start===0&&w.rows.end===1/0)}},{key:"_validateAddingRecords",value:function(w){for(var x=[],R=this._dataSize,T=0;T<=w.length-1;T++){var S=w[T].range,I=w[T].data;if(this._isRangeAddingRows(S)){if(S.rows.start>R.rows.count||S.rows.start<0)throw new Error("Index "+S.rows.start+" is out of range for adding row(s)");for(var B=0;B<I.length;B+=1)if(I[B].length!==R.columns.count)throw new Error("data["+B+"] needs to contain "+R.columns.count+" columns of data for adding row(s)");R=this._getDataSizeOnAdd(R,S,I.length),x.push({range:S,data:I,addOrRemoveRows:!0})}else if(this._isRangeAddingColumns(S)){if(S.columns.start>R.columns.count||S.columns.start<0)throw new Error("Index "+S.columns.start+" is out of range for adding column(s)");var P=-1;if(I.length!==R.rows.count&&R.rows.count>0)throw new Error("data needs to contain "+R.rows.count+" rows of data for adding column(s)");for(var L=0;L<I.length;L+=1)if(P===-1)P=I[L].length;else if(P!==I[L].length)throw new Error("The data["+L+"] needs to contain the same number of columns ("+P+") as the first row for adding column(s)");R=this._getDataSizeOnAdd(R,S,I[0].length),x.push({range:S,data:I,addOrRemoveColumns:!0})}else throw new Error("Could not determine add type for given range")}return x}},{key:"_addRows",value:function(w,x,R){if(w.rows.start>this._dataSize.rows.count||w.rows.start<0)throw new Error("Index "+w.rows.start+" is out of range for adding row(s)");for(var T=0;T<x.length;T+=1)if(x[T].length!==this._dataSize.columns.count)throw new Error("data["+T+"] needs to contain "+this._dataSize.columns.count+" columns of data for adding row(s)");R.addOrRemoveRows=!0}},{key:"_addColumns",value:function(w,x,R){if(w.columns.start>this._dataSize.columns.count||w.columns.start<0)throw new Error("Index "+w.columns.start+" is out of range for adding column(s)");var T=null;if(x.length!==this._dataSize.rows.count&&this._dataSize.rows.count>0)throw new Error("data needs to contain "+this._dataSize.rows.count+" rows of data for adding column(s)");for(var S=0;S<x.length;S+=1)if(T===null)T=x[S].length;else if(T!==x[S].length)throw new Error("The data["+S+"] needs to contain the same number of columns ("+T+") as the first row for adding column(s)");R.addOrRemoveColumns=!0}},{key:"_add",value:function(w){var x=w.range,R=w.data,T=w.addOrRemoveRows,S=w.addOrRemoveColumns,I=void 0;if(T){var B;(B=this._data).splice.apply(B,[x.rows.start,0].concat(m(R))),I=n.range().setRows(x.rows.start,1/0).setColumns(0,1/0)}else if(S){for(var P=0;P<R.length;P+=1){var L=this._data[P];L?L.splice.apply(L,[x.columns.start,0].concat(m(R[P]))):this._data[P]=R[P]}I=n.range().setRows(0,1/0).setColumns(x.columns.start,1/0)}return I}},{key:"_getSuccessInfo",value:function(w){return{message:w.message||"",reason:"",custom:w.custom||{},success:!0}}},{key:"_getFailureInfo",value:function(w){var x=new Error(w.message||"");return x.reason=r[w.reason]||r.ERROR_UNKNOWN,x.custom=w.custom||{},x.success=!1,x}},{key:"_doSaveOperation",value:function(w,x,R){var T=this,S=void 0;if(w)S=w.call(this,R);else{var I=new c;I.resolve({}),S=I.promise}return S.then(function(B){try{x.call(T,R)}catch(P){throw P.reason=r[P.reason]||r.ERROR_UNKNOWN,P.custom=P.custom||{},P.success=!1,P}return T._getSuccessInfo(B)},function(B){throw T._getFailureInfo(B)})}},{key:"_checkSortStateThenSort",value:function(w){for(var x=this._updateSortState(),R=!1,T=0;T<=w.length-1;T++)if(this._shouldSort(w[T].columns)){R=!0;break}return R&&this.sortData(this._sort.sortOptions),x}},{key:"_shouldSort",value:function(w){if(this._sort.sorted===!1)return!1;for(var x=0;x<this._sort.sortOptions.length;x++){var R=this._getColumnFromSortOption(this._sort.sortOptions[x]);if(R>=w.start&&R<=w.end)return!0}return!1}},{key:"_getColumnFromSortOption",value:function(w){return w&&Number.isInteger(w.columnIndex)?w.columnIndex:-1}},{key:"_doValidateOperation",value:function(w,x){var R=this;return new Promise(function(T,S){var I=void 0;w?I=w.call(R,x):I=new Promise(function(B){B({})}),I.then(function(B){T(R._getSuccessInfo(B))},function(B){S(R._getFailureInfo(B))})})}},{key:"update",value:function(w){for(var x=arguments.length,R=Array(x>1?x-1:0),T=1;T<x;T++)R[T-1]=arguments[T];return Array.isArray(w)?this._updateRecords.apply(this,[w].concat(R)):this._updateRecord.apply(this,[w].concat(R))}},{key:"_updateRecord",value:function(w,x){var R=[{range:w,data:x}],T=this._validateUpdatingRecords(R);return this._doSaveOperation(this._dataSave.beforeUpdate,this._bulkifyUpdate,T[0])}},{key:"_bulkifyUpdate",value:function(w){return this._performUpdate([w])}},{key:"_updateRecords",value:function(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0};return this._doModifyData(w,x,this._validateUpdatingRecords.bind(this),this._dataSave.beforeUpdate,this._performUpdate.bind(this))}},{key:"_doModifyData",value:function(w,x,R,T,S){var I=this,B=[];return new Promise(function(P,L){var O=R(w);if(x.dataSave)for(var W=0;W<w.length;W++)B.push(I._doValidateOperation(T,O[W]));else B.push(Promise.resolve({}));Promise.all(B).then(function(j){S(O),P(j)},function(j){return L(j)})})}},{key:"_performUpdate",value:function(w){if(w.length!==0){for(var x=[],R=0;R<w.length;R++){var T=this._update({range:w[R].range,data:w[R].data});x.push(T)}this._dataChanged(x,this._checkSortStateThenSort(x)),this._filtering&&this.filter(this._filter.getFilterCriteria())}}},{key:"_validateUpdatingRecords",value:function(w){for(var x=[],R=0;R<w.length;R++){var T=w[R].range,S=w[R].data;if(T.rows.count!==S.length)throw new Error("Range rows count "+T.rows.count+" does not match data.length for update");if(!n.isRangeInside(this.dataSize,T))throw new Error("Range exceeds dataSize for update");for(var I=0;I<S.length;I+=1)if(S[I].length!==T.columns.count)throw new Error("data["+I+"] needs to contain "+T.columns.count+" columns of data for update");x.push({range:T,data:S})}return x}},{key:"_update",value:function(w){for(var x=w.range,R=w.data,T=0,S=x.rows.start;S<=x.rows.end;S+=1){var I=this._data[S];I.splice.apply(I,[x.columns.start,x.columns.count].concat(m(R[T]))),T+=1}return x}},{key:"remove",value:function(w){for(var x=arguments.length,R=Array(x>1?x-1:0),T=1;T<x;T++)R[T-1]=arguments[T];return Array.isArray(w)?this._removeRecords.apply(this,[w].concat(R)):this._removeRecord.apply(this,[w].concat(R))}},{key:"_removeRecord",value:function(w){if(this._filtering)throw new Error("Data cannot be removed in filter mode. Clear filter before deleting data.");var x=[w],R=this._validateRemovingRecords(x);return this._doSaveOperation(this._dataSave.beforeRemove,this._bulkifyRemove,R[0])}},{key:"_bulkifyRemove",value:function(w){return this._performRemove([w])}},{key:"_removeRecords",value:function(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0};if(this._filtering)throw new Error("Data cannot be removed in filter mode. Clear filter before deleting data.");return this._doModifyData(w,x,this._validateRemovingRecords.bind(this),this._dataSave.beforeRemove,this._performRemove.bind(this))}},{key:"_performRemove",value:function(w){if(w.length!==0){for(var x=1/0,R=1/0,T=!1,S=!1,I=0;I<w.length;I++){var B=this._remove(w[I]);w[I][p]&&(x=Math.min(x,B.rows.start),T=!0),w[I][v]&&(R=Math.min(R,B.columns.start),S=!0)}x=S?0:x,R=T?0:R;var P=[n.range().setRows(x,1/0).setColumns(R,1/0)];this._updateDataSize(),this._dataChanged(P,this._checkSortStateThenSort(P))}}},{key:"_validateRemovingRecords",value:function(w){for(var x=[],R=this._dataSize,T=0;T<w.length;T++){var S=w[T];if(this._isRowRange(S)){if(S.rows.start>=R.rows.count||S.rows.start<0)throw new Error("Index "+S.rows.start+" is out of range for removing row(s)");R=this._getDataSizeOnRemove(R,S),x.push({range:S,addOrRemoveRows:!0})}else if(this._isColumnRange(S)){if(S.columns.start>=R.columns.count||S.columns.start<0)throw new Error("Index "+S.columns.start+" is out of range for removing column(s)");R=this._getDataSizeOnRemove(R,S),x.push({range:S,addOrRemoveColumns:!0})}else throw new Error("Could not determine remove type for given range")}return x}},{key:"_remove",value:function(w){var x=w.range,R=w.addOrRemoveRows,T=w.addOrRemoveColumns,S=void 0;if(R)this._data.splice(x.rows.start,x.rows.count),S=n.range().setRows(x.rows.start,1/0).setColumns(0,1/0);else if(T){for(var I=0;I<this._data.length;I+=1)this._data[I].splice(x.columns.start,x.columns.count);S=n.range().setRows(0,1/0).setColumns(x.columns.start,1/0)}return S}},{key:"replaceAll",value:function(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this._data=w||[],this._defaultColumnCount=x.defaultColumnCount,this._defaultColumnCount!==0&&!(this._defaultColumnCount>0)&&this._data.length>0&&(this._defaultColumnCount=this._data[0].length||0),this._metaDataColumns=x.metaDataColumns||this._metaDataColumns||[],x.getId){if(this._metaDataColumns.length===0)throw new Error("Must specify at least one column to derive the value of getId");this._getId=x.getId}else this._getId||(this._getId=function(){});x.rowLabelIndex&&x.rowLabelIndex>=0&&(this._rowLabelIndex=x.rowLabelIndex,this._metaDataColumns.push(this._rowLabelIndex),this._addRowLabelRules(x)),this._metaDataRanges=e.columnArray(this._metaDataColumns),this._setSortState(null),this._updateDataSize(),this._dataChanged([n.range().setRows(0,1/0).setColumns(0,1/0)],!0),this._filtering&&(this._filter.setUnfilteredData(this._data),this._filter.filter())}},{key:"sort",value:function(w){var x=this,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{keepSorted:!1};if(!(!w||w.length===0||this.dataSize.rows.count<2)){for(var T=0;T<=w.length-1;T++)this._sort.validateSortField(w[T],this.dataSize);return new Promise(function(S,I){R.keepSorted===!0&&x._sort.configurePersistentSort(w),R.keepSorted===!1&&x._sort.removePersistentSort(),x.sortData(w),x._emitPagedColumnMetaDataChanged([n.range().setRows(0,0).setColumns(0,x.dataSize.columns.end)]),S({})})}}},{key:"sortData",value:function(w){if(this._runSort(w),this._filtering){var x=this._filter.getUnfilteredData();x.sort(this._sort.generateCompareFunctionFromList(w,this.dataSize)),this._filter.setUnfilteredData(x)}this._setSortState(w),this._dataChanged([n.range().setRows(0,1/0).setColumns(0,1/0)])}},{key:"_runSort",value:function(w){this._data.sort(this._sort.generateCompareFunctionFromList(w,this.dataSize))}},{key:"registerSortType",value:function(w){var x=w.name,R=w.compareFn;if(!(x&&typeof x=="string"&&R&&typeof R=="function"))throw new Error("A valid compare type name and comparator function must be specified");if(x.indexOf(".")!==-1)throw new Error("The name of sort type cannot contain a period.");return this._registerCustomSort(x,R),x}},{key:"_registerCustomSort",value:function(w,x){this._sort.validateCustomSortName(w),this._sort.addCustomCompare(w,x)}},{key:"_dataChanged",value:function(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._on.emit("dataChanged",{rangeList:w}),n.doesRangeListIntersect(w,this._metaDataRanges)&&this._emitPagedRowMetaDataChanged(w.map(function(R){return R.setColumns(0,0)})),x&&this._emitPagedColumnMetaDataChanged([n.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"filter",value:function(w){return this._filtering&&(this._data=this._filter.getUnfilteredData()),this._filtering=!0,this._filter=new o(w,{data:this._data}),this._filter.filter(),this._data=this._filter.getFilteredData(),this._dataChanged([n.range().setRows(0,1/0).setColumns(0,1/0)]),this._updateDataSize(),new g(function(x){setTimeout(x,0)})}},{key:"search",value:function(w){if(this._search=new a(w,this.createMetaDataRule,{type:this._type}),!!this._search.isCriteriaValid()){var x=this._search.createRule();this._searching=!0,this._addSearchResults(x)}}},{key:"clearFilter",value:function(){return this._filtering&&(this._data=this._filter.getUnfilteredData(),this._dataChanged([n.range().setRows(0,1/0).setColumns(0,1/0)]),this._updateDataSize(),this._filtering=!1),new g(function(w){setTimeout(w,0)})}},{key:"clearSearch",value:function(){this._searching&&(this._removeSearchResults(),this._searching=!1)}},{key:"__setHeaders",value:function(w){this._headers?this._headers.setHeaders(w):this._headers=new i(w)}},{key:"__getHeaders",value:function(){return this._headers.getHeaders()}},{key:"__setSpanningHeaders",value:function(w){this._headers&&this._headers.setSpanningHeaders(w)}},{key:"__getSpanningHeaders",value:function(){return this._headers.getSpanningHeaders()}},{key:"_addSearchResults",value:function(w){this._metaDataRules.addBuiltIn("$Search",w)}},{key:"_removeSearchResults",value:function(){this._metaDataRules.removeBuiltIn("$Search")}},{key:"destroy",value:function(){for(var w=0;w<this._listeners.length;w+=1)this._listeners[w].remove()}},{key:"on",value:function(w,x){return this._on.on(w,x)}},{key:"dataSize",get:function(){return this._dataSize}}],[{key:"_calcTableSize",value:function(w,x){var R=function(B){return B?{start:0,end:B.length-1}:{start:0,end:-1}},T=n.range(),S=R(w);return T=T.setRows(S.start,S.end),T.rows.count>0?S=R(w[0]):S=R({length:x||0}),T=T.setColumns(S.start,S.end),T}}]),D}();return E},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(161)],C=l.dj.d(A,function(n){var e=function(t){d(r,t);function r(o){m(this,r);var a=h(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,o));return a.configurePersistentSort(o),a}return y(r,[{key:"configurePersistentSort",value:function(a){Array.isArray(a)&&(this._sorted=!0,this._sortOptions=a)}},{key:"_getSortField",value:function(a){return a.columnIndex}},{key:"validateSortField",value:function(a,i){return this._validateSortOption(a,i)}},{key:"_validateFieldToSort",value:function(a,i){if(!Number.isInteger(a.columnIndex))throw new Error("Column index must be Integer value specified for sort in TreeTable");if(a.columnIndex<i.columns.start||a.columnIndex>i.columns.end)throw new Error("columnIndex is out of bounds")}}]),r}(n);return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(159)],C=l.dj.d(A,function(h){return function(){function d(n,e){m(this,d),this._unfilteredData=e.data,this._data=[],this._filterCriteria=n}return y(d,[{key:"filter",value:function(){var e=this.getFilterCriteria();this._data=[];for(var t=0;t<this._unfilteredData.length;t=t+1)h.filterRow(this._unfilteredData[t],e)&&this._data.push(this._unfilteredData[t])}},{key:"getFilteredData",value:function(){return this._data}},{key:"getUnfilteredData",value:function(){return this._unfilteredData}},{key:"setUnfilteredData",value:function(e){this._unfilteredData=e}},{key:"getFilterCriteria",value:function(){return this._filterCriteria}}]),d}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){return function(){function h(d){m(this,h),this._allHeadersCache={},this._headerHierarchyMap={},this.setHeaders(d),this._createHeadersCache(this._headers)}return y(h,[{key:"setHeaders",value:function(n){n=n||[],this._headers=n,this._createHeadersCache(this._headers)}},{key:"getHeaders",value:function(){return this._headers}},{key:"setSpanningHeaders",value:function(n){Object.keys(n).length&&(this._spanningHeaders=n,this._createHeadersCache(Object.values(n)))}},{key:"getSpanningHeaders",value:function(){return this._spanningHeaders}},{key:"updateHeader",value:function(n){var e=n.id,t=n.value;this._allHeadersCache[e].label=t}},{key:"_createHeadersCache",value:function(n){for(var e=0;e<n.length;e=e+1)this._allHeadersCache[n[e].columnId]=n[e]}},{key:"getHeaderHierarchy",value:function(n){for(var e={},t=this._headers[n];t&&t.parentId;){var r=this._allHeadersCache[t.parentId];e[r.columnId]=r,t=r}return e}}]),h}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),m=function e(t,r,o){t===null&&(t=Function.prototype);var a=Object.getOwnPropertyDescriptor(t,r);if(a===void 0){var i=Object.getPrototypeOf(t);return i===null?void 0:e(i,r,o)}else{if("value"in a)return a.value;var u=a.get;return u===void 0?void 0:u.call(o)}};function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(20),l(236),l(157),l(65),l(7),l(480),l(482),l(483),l(116),l(242),l(91)],C=l.dj.d(A,function(e,t,r,o,a,i,u,s,c,f,p){"use strict";var v=function(x){var R=new e;setTimeout(function(){return x(R.resolve,R.reject)},0),this.then=R.promise.then},g=function(x){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};x.id=R.id,x.level=R.level,x.isExpanded=R.isExpanded,x.isExpandable=R.isExpandable,x.groupRow=R.groupRow,x.highlight=R.highlight,R.hasOwnProperty("check")&&(x.check=R.check),x.hasOwnProperty("path")||Object.defineProperty(x,"path",{get:function(){return R.path}})},E=function(x){if(!x)return x;var R={};return g(R,x.node),{index:x.index,node:R}},D={ARRAY:i,OBJECT:u},F=function(w){n(x,w);function x(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};h(this,x);var S=d(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,R,T));return S._type=T.type,S._searching=!1,S}return y(x,[{key:"addMetaDataRule",value:function(T,S){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"addMetaDataRule",this).call(this,T,S)}},{key:"removeMetaDataRule",value:function(T){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"removeMetaDataRule",this).call(this,T)}},{key:"createMetaDataRule",value:function(T,S){return c.create(T,S,this._type)}},{key:"replaceAll",value:function(T){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};S.isCheckboxTree===!0&&(this.updateChecked=this._updateChecked,this.getCheckNodes=this._getCheckNodes,this._isCheckboxTree=!0);var I=D[S.rowDataType];if(!I)throw new Error("rowDataType is invalid - valid options:"+Object.keys(D).join(", "));S=Object.assign(S,{type:this._type});var B=Object.assign({},S);S.setId&&(this.setId=S.setId),this._rowDataType=S.rowDataType,B.isExpanded=S.isExpanded||this._isExpanded.bind(this),B.createTreeNode=S.createTreeNode||this._createTreeNode.bind(this),B.isCheckboxTree=this._isCheckboxTree,B.getCheck=S.getCheck,B.setCheck=S.setCheck,this._dataSave=S.dataSave||{},this._internalDataStore=new I(T,B),this._getParentId=this._internalDataStore.getParentId.bind(this._internalDataStore),this._flattenedTree=[],this._flatten=this._internalDataStore.flatten.bind(this._internalDataStore),this._getSortState=this._internalDataStore.getSortState.bind(this._internalDataStore),this._groupOptions||this._filterCriteria?(this._groupOptions&&this.groupBy(this._groupOptions),this._filterCriteria&&this.filter(this._filterCriteria)):(this._flattenedTree=this._flatten(),this._updateDataSize(),this._dataChanged([a.range().setRows(0,1/0).setColumns(0,1/0)],!0))}},{key:"_calculateDataSize",value:function(){var T=a.range().setRows(0,this._flattenedTree.length-1);return T.setColumns(0,this._internalDataStore.getNumColumns()-1)}},{key:"groupBy",value:function(T){if(!this.setId)throw new Error("Please add setId function in DataStore options in order to use groupBy API");if(this.isCheckboxTree)throw new Error("groupBy is incompatible with checkbox treetable feature");this._groupOptions=T||[],this._group=new s(T,{getCell:this._internalDataStore.getCell.bind(this._internalDataStore),setCell:this._internalDataStore.setCell.bind(this._internalDataStore),setParentId:this._internalDataStore.setParentId.bind(this._internalDataStore),getParentId:this._internalDataStore.getParentId.bind(this._internalDataStore),getId:this._internalDataStore.getId.bind(this._internalDataStore),setId:this.setId.bind(this),flatten:this._internalDataStore.flatten.bind(this._internalDataStore),rowDataType:this._rowDataType,columnNum:this._internalDataStore.getNumColumns()});var S=this._group.getGroupByFn();this._internalDataStore.setGrouping(S),this._flattenedTree=this._internalDataStore.flatten.bind(this._internalDataStore)(),this._updateDataSize(),this._dataChanged([a.range().setRows(0,1/0).setColumns(0,1/0)]),this._emitPagedColumnMetaDataChanged([a.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"clearGroupBy",value:function(){this._internalDataStore.clearGrouping(),this._groupOptions=null,this._flattenedTree=this._internalDataStore.flatten.bind(this._internalDataStore)(),this._updateDataSize(),this._dataChanged([a.range().setRows(0,1/0).setColumns(0,1/0)]),this._emitPagedColumnMetaDataChanged([a.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"getLocalRowMetaData",value:function(T){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"getLocalRowMetaData",this).call(this,T)}},{key:"getLocalColumnMetaData",value:function(T){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"getLocalColumnMetaData",this).call(this,T)}},{key:"_getColumnNumbersForSortCriteria",value:function(T){if(!T)return[];var S=[];return T.forEach(function(I){return S.push(I.columnIndex)}),S}},{key:"getLocalCellData",value:function(T,S){if(!!this._flattenedTree[T])return this._internalDataStore.getCell(this._flattenedTree[T].data,S)}},{key:"getLocalCellMetaData",value:function(T,S){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"getLocalCellMetaData",this).call(this,T,S)}},{key:"getData",value:function(){var T=this,S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Array.isArray(S)){var I=S;return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"getData",this).call(this,I)}return new v(function(B,P){var L=S.proxyNodes;if(L){if(!Array.isArray(L)){P(new Error("The proxyNodes property should be an array"));return}}else{P(new Error("Expected an object with a property of proxyNodes"));return}for(var O=L.map(function(J){return J.id}),W=T._internalDataStore.getNodesByIds(O),j=new o,K=0;K<O.length;K+=1){var H=O[K];if(j.has(H)){var V=j.get(H);V.push(K)}else j.set(H,[K])}for(var $=O.map(function(){return null}),G=function(Y){var X=W[Y];if(X){var Z=T._internalDataStore.getId(X);if(j.has(Z)){var q=j.get(Z);q.forEach(function(ee){$[ee]=X})}else P(Error("Node id "+Z+" found in results but was not in requested"))}},Q=0;Q<W.length;Q+=1)G(Q);B($)})}},{key:"expandTo",value:function(){for(var T,S=arguments.length,I=Array(S),B=0;B<S;B++)I[B]=arguments[B];return(T=m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"expandTo",this)).call.apply(T,[this].concat(I)).then(function(P){return E(P)})}},{key:"getRowIds",value:function(T){var S=this,I=new v(function(B,P){var L=[];T.forEach(function(O,W){if(!a.isRangeInside(S.dataSize,O)){P(new Error("Range exceeds data size"));return}for(var j=O.rows.start,K=O.rows.end,H=j;H<=K;H+=1){var V=S._flattenedTree[H];L.push(V.id)}}),B(L)});return I}},{key:"getParentNode",value:function(){for(var T,S=arguments.length,I=Array(S),B=0;B<S;B++)I[B]=arguments[B];return(T=m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"getParentNode",this)).call.apply(T,[this].concat(I)).then(function(P){return E(P)})}},{key:"getNode",value:function(){for(var T,S=arguments.length,I=Array(S),B=0;B<S;B++)I[B]=arguments[B];return(T=m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"getNode",this)).call.apply(T,[this].concat(I)).then(function(P){return E(P)})}},{key:"getChildNodes",value:function(T){var S=this;return T=r.normalize(T),new v(function(I){var B=[],P=S._internalDataStore.getChildIndiciesByParent(T.id),L=new v(function(O){P.length===0&&O(B),P.forEach(function(W){var j=S._internalDataStore.getId(W.node);S.getNode({id:j}).then(function(K){if(!K){var H=S._internalDataStore._createTreeNode(W.node,null);K={index:null,node:{groupRow:H.groupRow,id:H.id,isExpandable:H.isExpandable,isExpanded:H.isExpanded,level:H.level,check:H.check}}}B.push(K),B.length===P.length&&O(B)})})});L.then(function(O){O.length>0?I(O):I(null)})})}},{key:"add",value:function(T){for(var S,I=arguments.length,B=Array(I>1?I-1:0),P=1;P<I;P++)B[P-1]=arguments[P];return(S=m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"add",this)).call.apply(S,[this,T].concat(B))}},{key:"remove",value:function(T){for(var S,I=arguments.length,B=Array(I>1?I-1:0),P=1;P<I;P++)B[P-1]=arguments[P];if(Array.isArray(T)){var L;return(L=m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"remove",this)).call.apply(L,[this,T].concat(B))}return(S=m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"remove",this)).call.apply(S,[this,{id:null},T].concat(B))}},{key:"move",value:function(T,S,I){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"move",this).call(this,{id:null},T,S,I)}},{key:"update",value:function(T){for(var S,I=arguments.length,B=Array(I>1?I-1:0),P=1;P<I;P++)B[P-1]=arguments[P];if(Array.isArray(T)){var L;return(L=m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"update",this)).call.apply(L,[this,T].concat(B))}return(S=m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"update",this)).call.apply(S,[this,{id:null},T].concat(B))}},{key:"_emitDataChanged",value:function(T){this._on.emit("dataChanged",{rangeList:T})}},{key:"filter",value:function(T,S){return this._filterCriteria=T,m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"filter",this).call(this,T,S)}},{key:"clearFilter",value:function(){return this._filterCriteria=null,m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"clearFilter",this).call(this)}},{key:"search",value:function(T){if(this._search=new f(T,this.createMetaDataRule,{type:this._type,columnMap:this._internalDataStore.getColumnMap()}),!!this._search.isCriteriaValid()){var S=this._search.createRule();this._searching=!0,this._addSearchResults(S)}}},{key:"clearSearch",value:function(){this._searching&&(this._removeSearchResults(),this._searching=!1)}},{key:"sort",value:function(T,S){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"sort",this).call(this,T,S)}},{key:"registerSortType",value:function(T){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"registerSortType",this).call(this,T)}},{key:"_emitPagedColumnMetaDataChanged",value:function(T){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"_emitPagedColumnMetaDataChanged",this).call(this,T)}},{key:"_emitPagedRowMetaDataChanged",value:function(T){return m(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"_emitPagedRowMetaDataChanged",this).call(this,T)}},{key:"_addSearchResults",value:function(T){this._metaDataRules.add("$Search",T)}},{key:"_removeSearchResults",value:function(){this._metaDataRules.removeBuiltIn("$Search")}},{key:"isCheckboxTree",get:function(){return this._isCheckboxTree?this._isCheckboxTree===!0:!1}}]),x}(t);return F},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(243),l(92),l(49)],C=l.dj.d(A,function(n,e,t){return function(r){d(o,r);function o(a,i){var u;m(this,o);for(var s=arguments.length,c=Array(s>2?s-2:0),f=2;f<s;f++)c[f-2]=arguments[f];var p=h(this,(u=o.__proto__||Object.getPrototypeOf(o)).call.apply(u,[this,a,i].concat(c)));return p.defaultColumnCount=i.defaultColumnCount,p.defaultColumnCount!==0&&!(p.defaultColumnCount>0)&&a.length>0&&(p.defaultColumnCount=a[0].length||0),i.metaDataColumns=i.metaDataColumns||[],p._metaDataColumns=i.metaDataColumns.slice(0),p._metaDataRanges=e.columnArray(p._metaDataColumns),p}return y(o,[{key:"getNumColumns",value:function(){return this._data.length>0?this._data[0].length||this.defaultColumnCount:this.defaultColumnCount}},{key:"getCell",value:function(i,u){return i[u]}},{key:"setCell",value:function(i,u,s){i[u]=s}},{key:"getMetaDataRanges",value:function(){return this._metaDataRanges}}]),o}(n)},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(239)],C=l.dj.d(A,function(n){var e=function(t){d(r,t);function r(){return m(this,r),h(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return y(r,[{key:"_getValueToFilter",value:function(a,i){for(var u=a,s=i.split("."),c=0;c<s.length;c++)u=u[s[c]];return u}},{key:"_extractValueToFilter",value:function(a,i){var u=a[this._getColumnIndex(i)];return i.field?this._getValueToFilter(u,i.field):u}},{key:"_getColumnIndex",value:function(a){return this._columnMap?this._columnMap[a.columnIndex]:a.columnIndex}},{key:"_hasFilteringProperty",value:function(a,i){return a.hasOwnProperty(this._getColumnIndex(i))}},{key:"_isBaseCriteria",value:function(a){return"value"in a&&"columnIndex"in a}},{key:"_isCheckedCriteria",value:function(a){return"metadata"in a&&"checked"in a.metadata}}]),r}(n);return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),m=function e(t,r,o){t===null&&(t=Function.prototype);var a=Object.getOwnPropertyDescriptor(t,r);if(a===void 0){var i=Object.getPrototypeOf(t);return i===null?void 0:e(i,r,o)}else{if("value"in a)return a.value;var u=a.get;return u===void 0?void 0:u.call(o)}};function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(243),l(92),l(49)],C=l.dj.d(A,function(e,t,r){var o=function(i){var u={};return i.forEach(function(s,c){u[s]=c}),u};return function(a){n(i,a);function i(u,s){var c;h(this,i);for(var f=arguments.length,p=Array(f>2?f-2:0),v=2;v<f;v++)p[v-2]=arguments[v];var g=d(this,(c=i.__proto__||Object.getPrototypeOf(i)).call.apply(c,[this,u,s].concat(p)));return g.defaultColumnCount=g._columnMap.length,g._paramToIndexMap=o(g._columnMap),s.metaDataColumns=s.metaDataColumns||[],g._metaDataColumns=s.metaDataColumns.map(function(E){return g._paramToIndexMap[E]}),g._metaDataRanges=t.columnArray(g._metaDataColumns),g}return y(i,[{key:"getNumColumns",value:function(){return this._columnMap.length}},{key:"getCell",value:function(s,c){return s[this._columnMap[c]]}},{key:"setCell",value:function(s,c,f){s[this._columnMap[c]]=f}},{key:"getMetaDataRanges",value:function(){return this._metaDataRanges}},{key:"update",value:function(s){for(var c=0;c<s.length;c++)s[c].fieldsToMerge=this._translateFieldsToMerge(s[c].fieldsToMerge);return m(i.prototype.__proto__||Object.getPrototypeOf(i.prototype),"update",this).call(this,s)}},{key:"_translateFieldsToMerge",value:function(s){var c={},f=!0;for(var p in s)if(isNaN(p)){f=!1;break}else{var v=this._columnMap[p];if(v!==void 0)c[v]=s[p];else{f=!1;break}}return f&&(s=c),s}}]),i}(e)},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h=function(){function d(n,e){m(this,d),this._groupOptions=n,this._getCell=e.getCell,this._setCell=e.setCell,this._setParentId=e.setParentId,this._getParentId=e.getParentId,this._getId=e.getId,this._setId=e.setId,this._rowDataType=e.rowDataType,this._flatten=e.flatten,this._columnNum=e.columnNum,this._treeRootId=null}return y(d,[{key:"_flattenOriginalDataForGrouping",value:function(){var e=this,t=this._flatten(!0);return t.forEach(function(r){var o=e._getParentId(r.data);o==null&&(r.isRoot=!0)}),t}},{key:"getGroupByFn",value:function(){var e=this;return function(){return e._flattenedGroupingRows=e._flattenOriginalDataForGrouping(),e._groupingMaps=[],e._parentGroupMapping={},e._getParentIdForGrouping=function(t,r){if(r)return e._parentGroupMapping[r]||e._treeRootId;var o=e._parentGroupMapping[e._getId(t)];return o||e._getParentId(t)},e._updateGroupingView(e._groupOptions),e.getGroupingInfoAndData()}}},{key:"_updateGroupingView",value:function(e){for(var t=0;t<e.length;t++){this._groupingMaps[t]={};var r=e[t];this._createGroupRowsAndGroupingMaps(r,this._groupingMaps[t],t)}}},{key:"getGroupingInfoAndData",value:function(){var e=this,t={};this._groupingMaps.forEach(function(a,i){Object.keys(a).forEach(function(u){t[u]={summary:{count:a[u].summary.count},groupByColIndex:a[u].groupByColIndex},e._parentGroupMapping[u]=a[u].parent})});var r=this._flattenedGroupingRows.map(function(a){return a.data}),o=this._getParentIdForGrouping;return{groupingData:r,groupRowMeta:t,getParentIdForGrouping:o}}},{key:"_addGroupRow",value:function(e,t,r,o){var a={};a.id=t,a.groupRow={summary:{},groupByColIndex:e[t].groupByColIndex},a.isExpandable=!0,a.isExpanded=!0,a.level=r,this._rowDataType==="OBJECT"?a.data={}:this._rowDataType==="ARRAY"&&(a.data=[]),this._setId(a.data,t),this._setParentId(a.data,r===0?null:e[t].parent),this._setLabelOnGroupRow(a.data,e[t].label),this._flattenedGroupingRows.splice(o,0,a)}},{key:"_setLabelOnGroupRow",value:function(e,t){for(var r=0;r<this._columnNum;r++)this._getCell(e,r)===void 0&&this._setCell(e,r,t)}},{key:"_createGroupRowsAndGroupingMaps",value:function(e,t,r){for(var o=this._getGroupingLabelFn(e),a=0;a<this._flattenedGroupingRows.length;a++){var i=this._flattenedGroupingRows[a],u=i.data,s=void 0;if(!i.groupRow){if(i.isRoot){var c=o(u);c?s="group_level"+r+"_"+c:s="group_level"+r+"_empty_group",t[s]?t[s].summary.count+=1:(t[s]={},t[s].label=c,t[s].groupByColIndex=e.columnIndex,t[s].summary={},t[s].summary.count=1,r>0&&(t[s].parent=this._getParentIdForGrouping(u)),this._addGroupRow(t,s,r,a),a+=1)}this._updateRowInGroup(i,s)}}}},{key:"_updateRowInGroup",value:function(e,t){e.level+=1,t&&(e.parentGroupId=t,this._parentGroupMapping[e.id]=t)}},{key:"_getGroupingLabelFn",value:function(e){var t=this,r=e.columnIndex,o=e.field;if(o){var a=o.split(".");return function(i){for(var u=t._getCell(i,r),s=0;s<a.length;s=s+1)u&&(u=u[a[s]]);return u}}else return function(i){return t._getCell(i,r)}}}]),d}();return h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7)],C=l.dj.d(A,function(h){"use strict";var d=function(){function n(e){m(this,n),this._getLocalCell=e.getLocalCell,this._pagedRangeList=[],this._pagedData=[]}return y(n,[{key:"managePaging",value:function(t){var r=this._pagedRangeList;return this._pagedRangeList=t,this._reactToNewPageRanges(r,t),{dataChanged:!1,data:this._pagedData}}},{key:"dataArrived",value:function(t){var r=this._reactToNewData(t);return{dataChanged:r,data:this._pagedData}}},{key:"_reactToNewPageRanges",value:function(t,r){this._discardOrphanedPagedData(t,r),this._fillInMissingPagedData(r)}},{key:"_discardOrphanedPagedData",value:function(t,r){var o=this,a=this._pagedData.length;a>r.length&&(this._pagedData=this._pagedData.slice(0,r.length));var i=function(s,c,f,p,v){for(var g=s;g<f;)v(g),g=g+1;for(g=p+1;g<=c;)v(g),g=g+1};r.forEach(function(u,s){var c=t[s];c?(i(c.rows.start,c.rows.end,u.rows.start,u.rows.end,function(f){o._pagedData[s][f]=void 0}),(c.columns.start<u.columns.start||c.columns.end>u.columns.end)&&function(){for(var f=Math.max(u.rows.start,c.rows.start),p=Math.min(u.rows.end,c.rows.end),v=f;v<=p;)i(c.columns.start,c.columns.end,u.columns.start,u.columns.end,function(g){o._pagedData[s][v][g]=void 0}),v=v+1}()):o._pagedData[s]=[]})}},{key:"_fillInMissingPagedData",value:function(t){var r=this;t.forEach(function(o,a){var i=r._pagedData[a];if(!(i.range&&h.isRangeEqual(i.range,o))){if(i.range&&h.isRangeInside(i.range,o)){i.range=o;return}var u=!i.range||o.columns.start<i.range.columns.start||o.columns.end>i.range.columns.end,s=o.rows.start,c=o.rows.end,f=o.columns.start,p=o.columns.end;i=r._updateCellRange(i,s,c,f,p,u,!0),i.range=o,r._pagedData[a]=i}})}},{key:"_reactToNewData",value:function(t){var r=this,o=this._pagedRangeList,a=!1;return o.forEach(function(i,u){t.forEach(function(s){if(!!h.doesRangeIntersect(i,s)){var c=r._pagedData[u],f=Math.max(i.rows.start,s.rows.start),p=Math.min(i.rows.end,s.rows.end),v=Math.max(i.columns.start,s.columns.start),g=Math.min(i.columns.end,s.columns.end),E=!0;c=r._updateCellRange(c,f,p,v,g,E,!1),r._pagedData[u]=c,a=!0}})}),a}},{key:"_updateCellRange",value:function(t,r,o,a,i,u,s){for(var c=r;c<=o;c+=1){var f=t[c];if(u||!f){var p=[];if(f){for(var v=t.range.columns.start;v<a;v+=1)p[v]=t[c][v];for(var g=i+1;g<=t.range.columns.end;g+=1)p[g]=t[c][g]}for(var E=a;E<=i;E+=1)if(s&&f&&t.range.columns.start<=E&&t.range.columns.end>=E)p[E]=t[c][E];else{var D=this._getLocalCell(c,E);p[E]=this._shallowCopyIfObject(D)}t[c]=p}}return t}},{key:"_shallowCopyIfObject",value:function(t){if(!(t instanceof Object))return t;var r=Object.getPrototypeOf(t),o=Object.create(r),a=Object.keys(t);return a.forEach(function(i){o[i]=t[i]}),t.hasOwnProperty("path")&&!o.hasOwnProperty("path")&&Object.defineProperty(o,"path",{get:function(){return t.path}}),o}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(486),l(487),l(489),l(7)],C=l.dj.d(A,function(h,d,n,e){"use strict";var t=function(){function r(o){m(this,r),this._stateCategoryIndex={},this._stateRangeIndex=new h,this._events={},this._columnDataMapper=new d,this._rowDataMapper=new d,this._dataModel=o,this._viewColumnRange=o,this._rowMetaData=new n({rankType:"row",dataViewMapper:this._rowDataMapper}),this._columnMetaData=new n({rankType:"column",dataViewMapper:this._columnDataMapper}),this._columnSpanningMetaData=new n({rankType:"column",dataViewMapper:this._columnDataMapper}),this._dataMapper=new d,this._dataModel=o,this._viewColumnRange=o.dataSize.columns,this._ownedListeners=[],this.setColumnHeaders([]),this._manageDataModelPaging=this._dataModel.managePaging.bind(this._dataModel),this._addOwnListeners(this._dataModel.on("pagedDataChanged",this._handlePagedDataChanged.bind(this))),this._addOwnListeners(this._dataModel.on("dataSizeChanged",this._emitDataSizeChanged.bind(this)))}return y(r,[{key:"setRowMetaData",value:function(a,i,u){this._rowMetaData.setViewMetaData(a,i,u),this._emitViewDataChanged()}},{key:"deleteRowMetaData",value:function(a,i){this._rowMetaData.deleteViewMetaData(a,i),this._emitViewDataChanged()}},{key:"setColumnMetaData",value:function(a,i,u){this._columnMetaData.setViewMetaData(a,i,u),this._emitViewDataChanged()}},{key:"deleteColumnMetaData",value:function(a,i){this._columnMetaData.deleteViewMetaData(a,i),this._emitViewDataChanged()}},{key:"_emitDataSizeChanged",value:function(){this._emit("dataSizeChanged",{dataSize:this.dataSize})}},{key:"_handlePagedDataChanged",value:function(a){var i=this.getStateByKey("viewBuffer");i&&(this._viewData=this._columnDataMapper.modelToViewDataMapping(a.pagedData,a.cellMetaData,i.rangeList),this._rowMetaData.setRangeList(i.rangeList),this._columnMetaData.setRangeList(i.rangeList),this._columnMetaData.setDataMetaData(a.columnMetaData),this._rowMetaData.setDataMetaData(a.rowMetaData),this._columnSpanningMetaData=a.columnSpanningMetaData,this._emitViewDataChanged())}},{key:"_emitViewDataChanged",value:function(){var a=this.getStateByKey("viewBuffer");if(a){var i=this._columnMetaData.getUnifiedMetaData(),u=this._rowMetaData.getUnifiedMetaData(),s=this._columnMetaData.getMetaDataRangeList(),c=this._rowMetaData.getMetaDataRangeList();if(this._viewData&&this._viewData.length===s.length&&this._viewData.length===c.length){for(var f=0;f<this._viewData.length;f+=1){var p=this._viewData[f].range,v=s[f],g=c[f];if(p.columns.start!==v.columns.start||p.columns.end!==v.columns.end||p.rows.start!==g.rows.start||p.rows.end!==g.rows.end)return}this._emit("viewDataChanged",{viewData:this._viewData,columnMetaData:i,rowMetaData:u,rangeList:a.rangeList,columnSpanningMetaData:this._columnSpanningMetaData})}}}},{key:"sort",value:function(a){for(var i=[],u=0;u<a.length;u+=1){var s=a[u];if(s.columnIndex<this.dataSize.columns.start||s.columnIndex>this.dataSize.columns.end)throw new Error("columnIndex is out of bounds");var c={columnIndex:this._columnDataMapper.viewToDataIndex(s.columnIndex),order:s.order,compare:s.compare};i.push(c)}this._dataModel.sort(i)}},{key:"setColumnHeaders",value:function(a){if(!a||a.length===0){if(this._columnDataMapper.viewColumnIndexToDataIndex=[],this._viewColumnRange=this._dataModel,this._dataModel.setHeaders)this._dataModel.setHeaders(a);else{var i=[e.range().setColumns(0,-1).setRows(0,1/0)];this.setState("columnHeaders",[],i)}this._columnMetaData.setViewHeaders([]),this._emitDataSizeChanged();return}var u=[e.range().setColumns(0,a.length-1).setRows(0,1/0)];this._viewColumnRange={dataSize:u[0]},this._columnDataMapper.viewColumnIndexToDataIndex=a.map(function(s){return s.dataIndex}),this._columnMetaData.setViewHeaders(a),this._dataModel.setHeaders?this._dataModel.setHeaders(a):this.setState("columnHeaders",a,u)}},{key:"setSpanningHeaders",value:function(a){this._dataModel.setSpanningHeaders&&this._dataModel.setSpanningHeaders(a)}},{key:"getSpanningHeaders",value:function(){return this._dataModel.getSpanningHeaders?this._dataModel.getSpanningHeaders():{}}},{key:"updateHeader",value:function(a){return this._dataModel.updateHeader(a)}},{key:"getColumnHeaders",value:function(){return this._dataModel.getHeaders?this._dataModel.getHeaders()||[]:this.getStateByKey("columnHeaders").value}},{key:"setState",value:function(a,i){var u=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(["all","keys"].indexOf(a)>=0)throw new Error("The key '"+a+"' is reserved, and cannot be used to setState");var c=s.slice(),f={value:i,rangeList:c,pointerList:[]};this._deleteState(a),this._stateCategoryIndex[a]=f,c.forEach(function(p){var v=u._stateRangeIndex.insert(p,a);f.pointerList.push(v)}),this._emit(a,this.getStateByKey(a))}},{key:"deleteState",value:function(a){this._deleteState(a),this._emit(a)}},{key:"_deleteState",value:function(a){var i=this;if(!!this._stateCategoryIndex[a]){var u=this._stateCategoryIndex[a];delete this._stateCategoryIndex[a],u.pointerList.forEach(function(s){i._stateRangeIndex.remove(s)})}}},{key:"getStateByKey",value:function(a){var i=this._stateCategoryIndex[a];return i?{value:i.value,rangeList:i.rangeList.slice()}:null}},{key:"getStateByRangeList",value:function(a){var i=this,u={};return u.keys=[],a.forEach(function(s){i._stateRangeIndex.forEach(function(c){var f=c.key,p=c.value;u[p]||e.doesRangeIntersect(s,f)&&(u[p]=i.getStateByKey(p),u[p].firstMatch=f,u.keys.push(p))})}),u}},{key:"on",value:function(a,i){var u=this;this._events[a]||(this._events[a]=[]),this._events[a].push(i);var s={};return s.remove=function(){var c=u._events[a].indexOf(i);u._events[a].splice(c,1),s.remove=function(){return null}},s}},{key:"_addOwnListeners",value:function(a){this._ownedListeners.push(a)}},{key:"_removeOwnListeners",value:function(){this._ownedListeners.forEach(function(a){return a.remove()})}},{key:"destroy",value:function(){this._removeOwnListeners(),this._dataModel=null}},{key:"_emit",value:function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=this._events.all,s=this._events[a],c=Object.getOwnPropertyNames(i),f={};c.forEach(function(v){f[v]=i[v]}),f.eventName=a;var p=function(g){g&&g.forEach(function(E){E(f)})};p(s),p(u)}},{key:"_viewColumnRange",set:function(a){this._viewColumnObject=a},get:function(){return this._viewColumnObject.dataSize.columns}},{key:"viewBuffer",set:function(a){var i=a.size,u=a.rangeList,s=u.slice(),c=this._columnDataMapper.viewToModelRangeMapping(s);this.setState("viewBuffer",i,s),this._manageDataModelPaging(c)},get:function(){var a=this.getStateByKey("viewBuffer");return{size:a.value,rangeList:a.rangeList}}},{key:"viewPort",set:function(a){var i=a.size,u=a.rangeList;this.setState("viewPort",i,u)},get:function(){var a=this.getStateByKey("viewPort");return{size:a.value,rangeList:a.rangeList}}},{key:"dataSize",get:function(){var a=e.range();return a=a.setColumns(this._viewColumnRange.start,this._viewColumnRange.end),a=a.setRows(this._dataModel.dataSize.rows.start,this._dataModel.dataSize.rows.end),a}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(){function n(e,t){m(this,n),this._next=null,this._prev=null,this._value=t,this._key=e}return y(n,[{key:"next",get:function(){return this._next},set:function(t){this._next=t}},{key:"prev",get:function(){return this._prev},set:function(t){this._prev=t}},{key:"isLast",get:function(){return this._next===null}},{key:"isFirst",get:function(){return this._prev===null}},{key:"key",get:function(){return this._key}},{key:"value",get:function(){return this._value}}]),n}(),d=function(){function n(){m(this,n),this._root=null}return y(n,[{key:"insert",value:function(t,r){var o=new h(t,r);return this._root!==null&&(this._root.prev=o,o.next=this._root),this._root=o,o}},{key:"find",value:function(t){if(this._root===null)return null;for(var r=this._root;r;){if(r.key===t)return r;r=r.next}return null}},{key:"forEach",value:function(t){if(this._root!==null)for(var r=this._root;r;)t(r),r=r.next}},{key:"removeWithKey",value:function(t){var r=this.find(t);this.remove(r)}},{key:"remove",value:function(t){t&&(t.isFirst?(this._root=t.next,this.root&&!this.root.isLast&&(t.next.prev=null)):t.isLast?t.prev.next=null:(t.prev.next=t.next,t.next.prev=t.prev))}},{key:"root",get:function(){return this._root}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(488),l(7)],C=l.dj.d(A,function(h,d){"use strict";var n=function(a,i){var u=[],s=[];if(i.length===0)s=a.slice(0);else{if(a.forEach(function(v){if(v.start>=i.length||v.end>=i.length)throw new Error("RangeIndex exceeds dataIndexMap size");var g=i.slice(v.start,v.end+1);u=u.concat(g)}),u.length===0)return[];u.sort(function(v,g){return v-g});var c={start:u[0],end:u[0]};s.push(c);for(var f=1;f<u.length;f+=1){var p=u[f];c.end+1===p||c.end===p?c.end=p:(c={start:p,end:p},s.push(c))}}return s},e=function(a,i){var u=[],s=a.map(function(f){return f.columns}),c=n(s,i);return u=u.concat(c.map(function(f){return d.range().setColumns(f.start,f.end).setRows(a[0].rows.start,a[0].rows.end)})),u},t=function(a,i,u){var s=e([a],u),c=[];return s.forEach(function(f){for(var p=!1,v=0;v<i.length;v+=1)if(d.isRangeInside(f,i[v])){p=!0,c.push(v);break}if(!p)throw new Error("Data Range to view range mapping not found")}),c},r=function(){function o(){m(this,o),this._viewColumnIndexToDataIndex=[]}return y(o,[{key:"viewToModelRangeMapping",value:function(i){var u=this,s=[],c=d.groupRangeListByRow(i);return c.forEach(function(f){var p=e(f,u.viewColumnIndexToDataIndex);s=s.concat(p)}),s}},{key:"modelToViewDataMapping",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i,c=arguments[2],f=[],p=i.map(function(v){return v.range});return c.forEach(function(v,g){var E=void 0;E=t(v,p,u.viewColumnIndexToDataIndex),E.sort(function(x,R){return i[x].range.columns.start-i[R].range.columns.start});var D=[];f[g]=function(x){if(x<D.length)return D[x];throw new Error("No Data Found for rowIndex: "+x)},f[g].range=v;for(var F=v.rows.start;F<=v.rows.end;F+=1){var w=o._createRow(F,E,i,s,u.viewColumnIndexToDataIndex);D[F]=w}}),f}},{key:"viewToDataIndex",value:function(i){var u=this.viewColumnIndexToDataIndex;return u.length>0?u[i]:i}},{key:"viewColumnIndexToDataIndex",set:function(i){this._viewColumnIndexToDataIndex=i},get:function(){return this._viewColumnIndexToDataIndex}}],[{key:"_createRow",value:function(i,u,s,c,f){var p=u.map(function(v){var g=s[v],E=[];return c&&(E=c[v]),{start:g.range.columns.start,end:g.range.columns.end,cells:g[i],metaData:E[i]||[]}});return h(p,f)}}]),o}();return r},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y={};return function(m,h){if(m.length<0)throw new Error("No rowData Present");var d=function n(e){var t=void 0;h.length===0?t=e:t=h[e];var r=n._lastAccessRowDataIndex;do{if(t>=m[r].start&&t<=m[r].end)return{value:m[r].cells[t],metaData:m[r].metaData[t]||y,isEqual:function(a){return a.value===this.value&&a.metaData===this.metaData}};r+=1,r=r%m.length}while(r!==n._lastAccessRowDataIndex);throw new Error("No Data Found for cellIndex: "+e)};return d._lastAccessRowDataIndex=0,d._rowData=m,d._dataIndexMap=h,d.isEqual=function(n){if(n._rowData.length!==m.length||h!==n._dataIndexMap)return!1;for(var e=0;e<=m.length;e+=1)if(d._rowData[e].data!==m[e].data)return!1;return!0},d}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";return function(){function h(d){m(this,h),this._flatRangeList=[],this._headerMetaData=[],this._dataMetaData=[],this._viewMetaData=[],this._rankType=d.rankType||"row",this._rankType==="row"?(this._flattenRangeDimension=function(n){return n.setColumns(0,0)},this._flattenData=function(n,e,t){return n[e](t)(0)}):this._rankType==="column"&&(this._flattenRangeDimension=function(n){return n.setRows(0,0)},this._flattenData=function(n,e,t){return n[e](0)(t)}),this._dataViewMapper=d.dataViewMapper}return y(h,[{key:"setViewHeaders",value:function(n){var e=n.slice(0);this._headerMetaData=e}},{key:"setRangeList",value:function(n){this._flatRangeList=n.map(this._flattenRangeDimension)}},{key:"setViewMetaData",value:function(n,e,t){this._viewMetaData[t]||(this._viewMetaData[t]={version:0,value:{}}),this._viewMetaData[t].value[n]=e,this._viewMetaData[t].version+=1}},{key:"deleteViewMetaData",value:function(n,e){!this._viewMetaData[e]||(delete this._viewMetaData[e].value[n],this._viewMetaData[e].version+=1)}},{key:"setDataMetaData",value:function(n){var e=[];n&&(e=this._transform(n,this._dataViewMapper,this._flattenData)),this._dataMetaData=e}},{key:"getMetaDataRangeList",value:function(){return this._flatRangeList}},{key:"getUnifiedMetaData",value:function(){for(var n=this,e=this._dataMetaData,t=this._headerMetaData,r=[],o=function(s,c){return Object.keys(s).forEach(function(f){c[f]=s[f]}),c},a=function(s){var c=s;r.push(function(f){var p=e[c](f).value;p=Object(p);var v={};v=o(p,v);var g={_dataMetaData:e[c](f),isEqual:function(x){return this._headerMetaData===x._headerMetaData&&this._viewMetaDataVersion===x._viewMetaDataVersion&&this._dataMetaData.isEqual(x._dataMetaData)}};if(t[f]){var E=t[f];v=o(E,v),g._headerMetaData=t}if(n._viewMetaData[f]){var D=n._viewMetaData[f].value,F=n._viewMetaData[f].version;Object.keys(D).forEach(function(w){v[w]=D[w]}),g._viewMetaDataVersion=F}return g.value=v,g})},i=0;i<e.length;i+=1)a(i);return r}},{key:"_transform",value:function(n,e,t){for(var r=e.modelToViewDataMapping(n,n,this._flatRangeList),o=[],a=t.bind(this,r),i=0;i<r.length;i+=1){var u=a.bind(this,i);o.push(u)}return o}}]),h}()},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(245),l(492)],C=l.dj.d(A,function(y,m){"use strict";var h=Object.freeze({DefaultEditor:y,DesignTimeEditor:m});return h},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(29)],C=l.dj.d(A,function(h){"use strict";var d=function(){function n(){m(this,n)}return y(n,null,[{key:"config",value:function(t,r){return function(o,a){return Object.keys(t).forEach(function(i){a[i]=t[i]}),r(o,a)}}},{key:"_shallowCloneObject",value:function(t){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r}},{key:"decorateEditor",value:function(t){var r=this._handleContextMenu(t),o=this._handleKeyDown(t),a=this._handleKeyUp(t),i=this._handleBlur(t),u=this._handleInput(t),s=this._handleMouseDown(t);t._configureListeners([{event:"contextmenu",handler:r},{event:"blur",handler:i},{event:"input",handler:u},{event:"keydown",handler:o},{event:"keyup",handler:a},{event:"mousedown",handler:s}])}},{key:"_handleContextMenu",value:function(t){return function(r){r.stopPropagation()}}},{key:"_handleMouseDown",value:function(t){return function(r){r.stopPropagation()}}},{key:"_handleKeyUp",value:function(t){return function(r){r.stopPropagation()}}},{key:"_handleKeyDown",value:function(t){return function(r){switch(r.stopPropagation(),r.keyCode){case h.ENTER:{t._validateAndCompleteEdit(!0);break}case h.ESCAPE:{t._getTextField().value=t._oldValue.label,t._emitEditCompleteEvent(t._oldValue,t._oldValue);break}case h.END:{if(!r.shiftKey){var o=t._getInputNode().value.length;t._getInputNode().setSelectionRange(o,o),r.preventDefault()}break}case h.HOME:{r.shiftKey||(t._getInputNode().setSelectionRange(0,0),r.preventDefault());break}case h.PAGE_UP:case h.PAGE_DOWN:{r.preventDefault();break}case h.ARROW_UP:case h.ARROW_RIGHT:case h.ARROW_DOWN:case h.ARROW_LEFT:{t.arrowKeyPressed&&t.arrowKeyPressed(r);break}}}}},{key:"_handleInput",value:function(t){return function(r){r.currentTarget.size=r.target.value.length||1,t._handleTextChange(r.target.value)}}},{key:"_handleBlur",value:function(t){return function(r){t._validateAndCompleteEdit(!1)}}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(29),l(245)],C=l.dj.d(A,function(n,e,t){"use strict";var r=function(o){d(a,o);function a(){return m(this,a),h(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return y(a,[{key:"setFocus",value:function(){this._textField.focus(),this._config.firstChar?(this._textField.value=this._config.firstChar,this._textField.setSelectionRange(this._textField.value.length,this._textField.value.length)):this._textField.select()}}]),a}(t);return r},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({FIRST_NODE:{},LAST_NODE:{}});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(15),l(153)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a,i,u){m(this,o);var s=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));s._view=a,s._viewModel=i,s._dataStore=u,s._eventEnum=e;var c={};return c[s._eventEnum.TREE_NODE_DOUBLE_CLICKED]=function(f){return s._handleDoubleclick(f)},s._view.registerEventCallback(c,!0),s._preventDefault=s._preventDefault.bind(s),s}return y(o,[{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_handleDoubleclick",value:function(i){this._defaultPrevented=!1;var u=i.node,s={node:u,preventDefault:this._preventDefault};this.emit(this._eventEnum.DOUBLE_CLICKED,s),!this._defaultPrevented&&i.defaultFn&&i.defaultFn()}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[this._eventEnum.DOUBLE_CLICKED]}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(12),l(4),l(496),l(13)],C=l.dj.d(A,function(y,m,h,d){"use strict";function n(e){var t,r,o,a,i;if(!e)throw new Error("Expected a valid url in urlToEmptyJsFile");return t={},t.framedoc=null,r="error",o=h.get(e,t,!0),a=y.byId(o.id,t.frameDoc),i=m(a,r,function(u){d.info("CheckUrlService detected an error accessing url: "+e),o.handleResponse(null,u),i.remove()}),o.promise}return n},_,M),_.exports=C},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__.dj.m(module),__webpack_require__(142),__webpack_require__(107),__webpack_require__(6),__webpack_require__(9),__webpack_require__(0),__webpack_require__(4),__webpack_require__(12),__webpack_require__(10),__webpack_require__(8),__webpack_require__(21)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(module,watch,util,kernel,array,lang,on,dom,domConstruct,has,win){has.add("script-readystatechange",function(_,M){var l=M.createElement("script");return typeof l.onreadystatechange!="undefined"&&(typeof _.opera=="undefined"||_.opera.toString()!=="[object Opera]")});var mid=module.id.replace(/[\/\.\-]/g,"_"),counter=0,loadEvent=has("script-readystatechange")?"readystatechange":"load",readyRegExp=/complete|loaded/,callbacks=kernel.global[mid+"_callbacks"]={},deadScripts=[];function attach(_,M,l,A){var C=l||win.doc,y=C.createElement("script");A&&on.once(y,"error",A),y.type="text/javascript";try{y.src=M}catch(m){A&&A(y)}return y.id=_,y.async=!0,y.charset="utf-8",C.getElementsByTagName("head")[0].appendChild(y)}function remove(_,M,l){domConstruct.destroy(dom.byId(_,M)),callbacks[_]&&(l?callbacks[_]=function(){delete callbacks[_]}:delete callbacks[_])}function _addDeadScript(_){var M=_.response.options,l=M.ioArgs?M.ioArgs.frameDoc:M.frameDoc;deadScripts.push({id:_.id,frameDoc:l}),M.ioArgs&&(M.ioArgs.frameDoc=null),M.frameDoc=null}function canceler(_,M){_.canDelete&&script._remove(_.id,M.options.frameDoc,!0)}function isValid(_){return deadScripts&&deadScripts.length&&(array.forEach(deadScripts,function(M){script._remove(M.id,M.frameDoc),M.frameDoc=null}),deadScripts=[]),_.options.jsonp?!_.data:!0}function isReadyScript(_){return!!this.scriptLoaded}function isReadyCheckString(response){var checkString=response.options.checkString;return checkString&&eval("typeof("+checkString+') !== "undefined"')}function handleResponse(_,M){this.canDelete&&_addDeadScript(this),M?this.reject(M):this.resolve(_)}function script(_,M,l){var A=util.parseArgs(_,util.deepCopy({},M));_=A.url,M=A.options;var C=util.deferred(A,canceler,isValid,M.jsonp?null:M.checkString?isReadyCheckString:isReadyScript,handleResponse);if(lang.mixin(C,{id:mid+counter++,canDelete:!1}),M.jsonp){var y=new RegExp("[?&]"+M.jsonp+"=");y.test(_)||(_+=(~_.indexOf("?")?"&":"?")+M.jsonp+"="+(M.frameDoc?"parent.":"")+mid+"_callbacks."+C.id),C.canDelete=!0,callbacks[C.id]=function(d){A.data=d,C.handleResponse(A)}}if(util.notify&&util.notify.emit("send",A,C.promise.cancel),!M.canAttach||M.canAttach(C)){var m=script._attach(C.id,_,M.frameDoc,function(d){if(!(d instanceof Error)){var n=new Error("Error loading "+(d.target?d.target.src:"script"));n.source=d,d=n}C.reject(d),script._remove(C.id,M.frameDoc,!0)});if(!M.jsonp&&!M.checkString)var h=on(m,loadEvent,function(d){(d.type==="load"||readyRegExp.test(m.readyState))&&(h.remove(),C.scriptLoaded=d)})}return watch(C),l?C:C.promise}return script.get=script,script._attach=attach,script._remove=remove,script._callbacksProperty=mid+"_callbacks",script},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},function(_,M,l){"use strict";var A,C;function y(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}function m(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}function h(d,n,e){return n&&m(d.prototype,n),e&&m(d,e),d}A=[],C=l.dj.d(A,function(){return function(){function d(n){y(this,d),this._childIframes=[],this._inFlightTransactions={},this._noop=function(){},this._webSocket=null,this._withCredentials=n.withCredentials||!1,this._parent=n.parent,this.postMessage("ready","")}return h(d,[{key:"postMessage",value:function(e,t){this._parent.postMessage(e+";"+t||"","*")}},{key:"handleXhrResponse",value:function(e,t){var r=e+";success;"+t;this.postMessage("sendMessageResponse",r)}},{key:"handleXhrFault",value:function(e,t,r){var o=e+";fault;"+t+";"+r;this.postMessage("sendMessageResponse",o)}},{key:"handleMessage",value:function(e){var t=this,r,o,a,i,u,s,c,f,p,v,g,E=e.data.indexOf(";"),D=e.data.substring(0,E);if(!D)throw new Error("Unable to parse message, no action specified: "+e.data);switch(D){case"sendMessage":if(r=e.data.indexOf(";",E+1),o=e.data.indexOf(";",r+1),c=e.data.indexOf(";",o+1),a=e.data.substring(E+1,r),i=e.data.substring(r+1,o),f=JSON.parse(e.data.substring(o+1,c)),u=e.data.substring(c+1,e.data.length),a&&i&&u)try{if(p=new XMLHttpRequest,this._inFlightTransactions[a]={xhr:p},v=!1,p.onreadystatechange=function(){var R;p.readyState===0?(v=!0,t.handleXhrFault(a,"XHR readyState 0")):p.readyState===4&&!v&&(v=!0,R=p.status||0,R>=200&&R<300||R===304?t.handleXhrResponse(a,p.responseText):t.handleXhrFault(a,p.responseText,R)),v&&p&&(p.onreadystatechange=t._noop,p=null,delete t._inFlightTransactions[a].xhr,delete t._inFlightTransactions[a])},p.open("POST",i,!0),p.withCredentials=this._withCredentials,p.setRequestHeader("Content-Type",f.contentType?f.contentType:"application/json"),p.setRequestHeader("X-Requested-With","XMLHttpRequest"),f.headers)for(g in f.headers)f.headers.hasOwnProperty(g)&&p.setRequestHeader(g,f.headers[g]);p.send(u)}catch(R){this.handleXhrFault(a,"Unable to send data: "+R.toString())}else throw new Error("Invalid message to send: "+e.data);break;case"createUploadIframe":a=e.data.substring(E+1,e.data.length),document.getElementById(a)||(s=document.createElement("iframe"),s.id=a,s.name=a,s.src="about:blank",s.width=0,s.height=0,s.style="visibility: hidden; display: none;",this._childIframes.push(s),document.body.appendChild(s));break;case"cancelUpload":a=e.data.substring(E+1,e.data.length);var F=document.getElementById(a);F&&(navigator.appVersion.indexOf("MSIE")!==-1?F.contentWindow.document.execCommand("Stop"):F.contentWindow.stop());break;case"abort":a=e.data.substring(E+1,e.data.length),this._inFlightTransactions[a]&&this._inFlightTransactions[a].xhr.abort();break;case"connectWebsocket":var w=e.data.substring(E+1,e.data.length);this._webSocket=new WebSocket(w),this._webSocket.onopen=function(){t._parent.postMessage("websocketOpened;","*")},this._webSocket.onmessage=function(R){var T={data:R.data},S=JSON.stringify(T);t._parent.postMessage("websocketMsg;"+S,"*")},this._webSocket.onclose=function(R){var T={code:R.code,reason:R.reason,wasClean:R.wasClean},S=JSON.stringify(T);t._parent.postMessage("websocketClosed;"+S,"*")},this._webSocket.onerror=function(){t._parent.postMessage("websocketError;","*")};break;case"websocketSend":var x=e.data.substring(E+1,e.data.length);this._webSocket.send(x);break;case"closeWebsocket":this._webSocket.close();break;default:throw new Error("Unknown action: "+D)}}}]),d}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(9),l(1),l(0)],C=l.dj.d(A,function(y,m,h){return m([],{constructor:function(n){n=n||{},this.faultHandlers=n.faultHandlers||{},this.topLevelHandlers=n.topLevelHandlers||[],this.endPointLevelHandlers=n.endPointLevelHandlers||{}},registerFaultHandler:function(n,e,t){t&&(e=h.hitch(t,e)),this.faultHandlers[n]=e},deregisterFaultHandler:function(n){delete this.faultHandlers[n]},registerTopLevelFaultHandler:function(n,e,t){var r;if(t&&(e=h.hitch(t,e)),h.isString(n)){if(n==="*")return r={matcher:n,handler:e},this.defaultTopLevelHandler=e,r;n=this._constructMatcherFromQuery(n)}return r={matcher:n,handler:e},this.topLevelHandlers.push(r),r},registerEndpointLevelFaultHandler:function(n,e,t,r){var o;return r&&(t=h.hitch(r,t)),h.isString(e)&&(e=this._constructMatcherFromQuery(e)),o={matcher:e,handler:t},this.endPointLevelHandlers[n]||(this.endPointLevelHandlers[n]=[]),this.endPointLevelHandlers[n].push(o),o},deregisterTopLevelFaultHandler:function(n){var e=this.topLevelHandlers.indexOf(n);e>-1?this.topLevelHandlers.splice(e,1):n.matcher==="*"&&delete this.defaultTopLevelHandler},_constructMatcherFromQuery:function(n){var e=n.split("||"),t=[];return e.forEach(function(r){r=h.trim(r),r=r.replace(/([.])/g,"\\$1"),r=r.replace(/\*/g,".*"),t.push(new RegExp("^"+r+"$"))}),function(r){return y.some(t,function(o){return o.test(r.faultCode||r.code||"")})}},handleFault:function(n){var e,t=function(a,i){var u,s=n.getMessageClassifier(i);s&&(u=[a,s].join(":"),this.faultHandlers[u]&&this.faultHandlers[u](n.fault,n.context))};for(e in n.requestMessages)if(n.requestMessages.hasOwnProperty(e)){this.faultHandlers[e]&&this.faultHandlers[e](n.fault,n.context);var r=n.requestMessages[e];Array.isArray(r)&&r.forEach(h.hitch(this,t,e))}this.faultHandlers["*"]&&this.faultHandlers["*"](n.fault,n.context),this.endPointLevelHandlers[n.endPointName]?this._handleEndpointLevelFault(n):this._handleTopLevelFault(n)},_handleEndpointLevelFault:function(n){var e=!1,t=y.filter(this.endPointLevelHandlers[n.endPointName],function(r){return r.matcher.call(this,n.fault,n.context)},this);return t.length>0&&t[0].handler&&(e=!0,t[0].handler.call(this,n.fault,n.context,n)),e},_handleTopLevelFault:function(n){var e=y.filter(this.topLevelHandlers,function(r){return r.matcher.call(this,n.fault,n.context)},this),t=e.length>0?e[0].handler:this.defaultTopLevelHandler;t&&t.call(this,n.fault,n.context,n)},handleNonTransactionFault:function(n){var e=y.filter(this.topLevelHandlers,function(r){return r.matcher.call(this,n)},this),t=e.length>0?e[0].handler:this.defaultTopLevelHandler;t&&t.call(this,n)}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(9),l(1),l(40),l(0),l(66),l(501),l(163)],C=l.dj.d(A,function(y,m,h,d,n,e,t){return m([],{defaultMapping:e,constructor:function(o){o=o||{},this.defaultFactories=o.defaultFactories||{},this.mockHandlers=o.mockHandlers||{},this.mapping=o.mapping||this.defaultMapping,this.responseManager=o.responseManager},registerDefaultMessageFactory:function(o,a,i){i&&(a=d.hitch(i,a)),this.defaultFactories[o]=a},deregisterDefaultMessageFactory:function(o){delete this.defaultFactories[o]},registerMockResponseGenerator:function(o,a,i){var u=this;a=d.hitch(i||this,a),this.mockHandlers[o]=function(s,c){var f,p=t.construct(c);f=a(s,p),f||(f=new h,f.callback()),f.addCallback(function(){u.responseManager._processResult(p)})}},deregisterMockResponseGenerator:function(o){delete this.mockHandlers[o]},sendMessage:function(o,a,i){var u={},s={},c,f,p;for(a=a||{},this._createAndFillTransactions(o,a,i,u,s),c=Object.keys(u),f=0;f<c.length;f=f+1)p=c[f],this._callMocks(s[p]),u[p].send(),this.responseManager.handleTransaction(u[p])},_getTransaction:function(o,a){var i=t.construct({context:a,computeToken:this.computeToken,endPointName:o});return i},_getMockTransaction:function(o,a,i){var u=t.construct({context:a,computeToken:this.computeToken,endPointName:o,uuid:i});return u},_createAndFillTransactions:function(o,a,i,u,s){var c,f,p=function(F){var w,x,R,T,S,I,B;if(S=n.getEndPointForMessageType(F),I=u[S],B=s[S],I||(I=this._getTransaction(S,a),B=this._getMockTransaction(S,a,I.uuid),u[S]=I,s[S]=B),this.defaultFactories[F]){if(w=this.defaultFactories[F](I.context),!w)return;x=F.split(":"),R=x[0],T=x.slice(1,x.length).join(":"),this.mockHandlers[F]||I.addRequestMessage(R,w,T),B.addRequestMessage(R,w,T)}},v,g;for(c in o)if(o.hasOwnProperty(c)){var E=n.getEndPointForMessageType(c);v=s[E],g=u[E],u[E]||(g=this._getTransaction(E,a),v=this._getMockTransaction(E,a,g.uuid),u[E]=g,s[E]=v),f=[c,i].join(":"),this.mockHandlers[c]||this.mockHandlers[f]||g.addRequestMessage(c,o[c],i),v.addRequestMessage(c,o[c],i),this.mapping[f]?this.mapping[f].forEach(p,this):this.mapping[c]&&this.mapping[c].forEach(p,this)}},_callMocks:function(o){var a,i,u=o.context;delete o.context;var s=function(f,p){var v,g=a.getMessageClassifier(p);g&&(v=[f,g].join(":"),this.mockHandlers[v]&&this.mockHandlers[v]([p],a))};for(i in o.requestMessages)o.requestMessages.hasOwnProperty(i)&&(a=d.mixin({},o),a.context=u,this.mockHandlers.hasOwnProperty(i)&&this.mockHandlers[i](a.requestMessages[i],a),Array.isArray(a.requestMessages[i])?a.requestMessages[i].forEach(d.hitch(this,s,i)):s(i,a.requestMessages[i]));this.mockHandlers["*"]&&this.mockHandlers["*"](i,a.requestMessages[i],a)}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(9),l(40),l(0),l(162)],C=l.dj.d(A,function(y,m,h,d,n){return y([],{constructor:function(){this.DirectXhrConstants={ENABLED:"ENABLED",DISABLED:"DISABLED",UNRESOLVED:"UNRESOLVED"},this._setDirectXhrCommunicationState(!1),this._directXhrChecks={},this._initializeEndPointsCollection()},_initializeEndPointsCollection:function(){this.endPointsCollection={ROUTER_LEAF_INSECURE_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/json",messages:["RouterLogin","CreateAccount","CurrentUser","Login","UpdateAccount","ServiceRegistry","ClientType","AuthorizationDetails","AcquireMatlab"],iframeProxyName:"remoteProducer",withCredentials:!0,acceptsMessageContainerMessages:!0,directXhr:this.DirectXhrConstants.UNRESOLVED},ROUTER_LEAF_SECURE_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/json/secure",messages:[],iframeProxyName:"remoteProducer",withCredentials:!0,acceptsMessageContainerMessages:!0,directXhr:this.DirectXhrConstants.UNRESOLVED},WORKER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!1,iframeProxyUrl:"",pathSuffix:"messageservice/json/secure",messages:[],iframeProxyName:"remoteWorkerProducer",withCredentials:!0,acceptsMessageContainerMessages:!0,directXhr:this.DirectXhrConstants.UNRESOLVED},WORKER_ASYNC_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/async",messages:[],iframeProxyName:"remoteWorkerAsyncProducer",withCredentials:!0,acceptsMessageContainerMessages:!0,directXhr:this.DirectXhrConstants.UNRESOLVED},USAGE_DATA_ROUTER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"udc/service/v1/events",messages:["UsageDataEventCollection"],iframeProxyName:"remoteUDCProducer",withCredentials:!1,acceptsMessageContainerMessages:!1,directXhr:this.DirectXhrConstants.UNRESOLVED},HELP_DATA_ROUTER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"",messages:["HelpDataEventCollection"],iframeProxyName:"doc_center",withCredentials:!1,acceptsMessageContainerMessages:!1,directXhr:this.DirectXhrConstants.UNRESOLVED}}},_setDirectXhrCommunicationState:function(t){this._useDirectXhrForCommunication=t},reset:function(){this._initializeEndPointsCollection(),this._directXhrChecks={}},setUpNewEndPoint:function(t,r,o,a,i){this.endPointsCollection[t]={routingHost:"",routingKey:"",pathSuffix:o,enabled:r,messages:[],iframeProxy:null,iframeProxyName:a,acceptsMessageContainerMessages:i,directXhr:this.DirectXhrConstants.UNRESOLVED}},getPathSuffixForEndPoint:function(t){return this.endPointsCollection[t].pathSuffix},setPathSuffixForEndPoint:function(t,r){this.endPointsCollection[t].pathSuffix=r},getEndPointNames:function(){var t={},r;for(r in this.endPointsCollection)this.endPointsCollection.hasOwnProperty(r)&&(t[r]=r);return t},setRoutingHostAndRoutingKey:function(t,r,o){r&&r.lastIndexOf("/")!==r.length-1&&(r+="/"),this.endPointsCollection[t].routingHost=r,o&&(this.endPointsCollection[t].routingKey=o),this._checkIfEndpointAllowsDirectXhr(t,!0).then(d.hitch(this,this._processEndPointAllowsXhrResponse,t,r))},_processEndPointAllowsXhrResponse:function(t,r,o){this._setEndpointAllowsDirectXhr(o),o.status!==this.DirectXhrConstants.ENABLED&&r&&this._setIframeRoutingHostAndRoutingkey(t)},_setEndpointAllowsDirectXhr:function(t){this.endPointsCollection[t.endPointName]&&t.status in this.DirectXhrConstants&&(this.endPointsCollection[t.endPointName].directXhr=t.status)},_setIframeRoutingHostAndRoutingkey:function(t){var r=this.getIframeProxyClientForEndPoint(t);r&&r.setRemotePageHost(this.endPointsCollection[t].routingHost,this.endPointsCollection[t].routingKey,null,this.endPointsCollection[t].iframeProxyUrl,{withCredentials:this.endPointsCollection[t].withCredentials})},getEndPointAllowsDirectXhr:function(t){return this._checkIfEndpointAllowsDirectXhr(t,!1)},_checkIfEndpointAllowsDirectXhr:function(t,r){if(this._directXhrChecks[t]&&!r)return this._directXhrChecks[t];var o=new h;this._directXhrChecks[t]=o;var a=this.getDirectXhrAllowed(t),i=this.DirectXhrConstants,u={endPointName:t,status:i.UNRESOLVED},s;if(typeof URL=="function")try{s=new URL(this.getRoutingHost(t))}catch(p){return u.status=i.DISABLED,o.resolve(u),o.promise}else s=document.createElement("a"),s.href=this.getRoutingHost(t);if(this._useDirectXhrForCommunication)if(s.origin===window.location.origin)u.status=i.ENABLED,o.resolve(u);else if(a===i.UNRESOLVED){var c=new XMLHttpRequest,f=this.getRemoteUrlForEndPoint(t);c.open("OPTIONS",f),c.send(),c.onload=function(){c.status===200?(u.status=i.ENABLED,o.resolve(u)):(u.status=i.DISABLED,o.resolve(u))},c.onerror=function(){u.status=i.DISABLED,o.resolve(u)}}else u.status=a,o.resolve(u);else u.status=i.DISABLED,o.resolve(u);return o.promise},getRoutingHost:function(t){return this.endPointsCollection[t].routingHost},getRoutingKey:function(t){return this.endPointsCollection[t].routingKey},getMessageTypesMappedToEndPoint:function(t){return this.endPointsCollection[t].messages},isEndPointEnabled:function(t){return this.endPointsCollection[t].enabled},setMessageTypesToEndPoint:function(t,r){this.endPointsCollection[t].messages=r},enableEndPoint:function(t){this.endPointsCollection[t].enabled=!0},getDirectXhrAllowed:function(t){return this.endPointsCollection[t].directXhr},disableEndPoint:function(t){this.endPointsCollection[t].enabled=!1},getEndPointForMessageType:function(t){var r=null,o;for(o in this.endPointsCollection)if(this.endPointsCollection.hasOwnProperty(o)&&(r=m.lastIndexOf(this.endPointsCollection[o].messages,t)>-1?o:r,r)){if(this.isEndPointEnabled(r))break;r=null}return r||this.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT},getRemoteUrlForEndPoint:function(t){var r=this.endPointsCollection[t].routingHost+this.endPointsCollection[t].pathSuffix;return this.endPointsCollection[t].routingKey&&(r=r+"?routingkey="+this.endPointsCollection[t].routingKey),r},setIframeProxyClientForEndPoint:function(t,r){this.endPointsCollection[t].iframeProxy=r},getIframeProxyClientForEndPoint:function(t){var r=this.endPointsCollection[t].iframeProxy;return r||(r=new n(this.endPointsCollection[t].iframeProxyName),this.endPointsCollection[t].iframeProxy=r),r},isEndpointMessageContainerBased:function(t){return t&&this.endPointsCollection[t]?this.endPointsCollection[t].acceptsMessageContainerMessages:!0},addMessagesTypesToEndPoint:function(t,r){this.endPointsCollection[t]&&this.endPointsCollection[t].messages.indexOf(r)===-1&&this.endPointsCollection[t].messages.push(r)},removeMessageTypesFromEndPoint:function(t,r){if(this.endPointsCollection[t]){var o=this.endPointsCollection[t].messages.indexOf(r);o>-1&&this.endPointsCollection[t].messages.splice(o,1)}}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{Eval:["CurrentFolder","ListFolder"],"Eval:Ping":[],"Eval:RunFile":["UpdateFile","CurrentFolder","ListFolder"],"Eval:MlsPublishPre":["UpdateFile"],"FEval:liveEvalInstrumentCode":[],Interrupt:[],"FEval:GetFigures":["CurrentFolder","ListFolder"],"FEval:CloseFigure":["FEval:GetFigures"],"FEval:SelectFigure":["FEval:GetFigures"],"FEval:ResetAxes":["FEval:GetFigures"],"FEval:ResizeFigure":["FEval:GetFigures"],"FEval:AxesInteraction2D":["FEval:GetFigures"],"FEval:AxesInteraction3D":["FEval:GetFigures"],CurrentUser:["ServiceRegistry"],RouterLogin:["ServiceRegistry"],CurrentFolder:["ListFolder"],MoveFile:["CurrentFolder"],Variable:[],CloseFile:["SaveSession"],UpdateFile:["SaveSession"],SaveSession:["UpdateFile"],SaveSessionState:["UpdateFile"],Logout:["CloseFile"],UpdateShare:["ListFolder"],AcquireMatlab:["ServiceRegistry"]}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m};A=[l(26),l(13)],C=l.dj.d(A,function(m,h){var d={deprecated:function(e){var t,r,o=!!m.isDebug||!!window.showDeprecationsAsErrors;o&&this._isConfigValid(e)&&(r=!!window.showDeprecationsAsErrors||e.deprecationLevel===this.ERROR?this.ERROR:this.WARN,t="DEPRECATED: ",e.deprecated&&(t+=e.deprecated.module,e.deprecated.method&&(t+="."+e.deprecated.method+"()"),t+="."),e.replacement&&(t+=" Use "+e.replacement.module,e.replacement.method&&(t+="."+e.replacement.method+"()"),t+=" instead."),e.removalVersion&&(t+=" Will be removed in version: "+e.removalVersion+"."),e.geckNumber&&(t+=" Please use g"+e.geckNumber+" to track latest information regarding this deprecation"),e.additionalInformation&&(t+=" "+e.additionalInformation),h[r](t))},_isConfigValid:function(e){var t=!!e.deprecated&&y(e.deprecated)==="object"&&e.deprecated.hasOwnProperty("module");return e.replacement&&(t=t&&y(e.replacement)==="object"&&e.replacement.hasOwnProperty("module")),e.geckNumber&&(t=t&&typeof e.geckNumber=="number"),t||h.error("Supplied deprecationConfig properties are not valid. Please refer to http://inside.mathworks.com/wiki/Web_Widgets_Deprecation_API for right API"),t}};return Object.defineProperties(d,{WARN:{value:"warn",enumerable:!0},ERROR:{value:"error",enumerable:!0}}),d},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(0),l(13),l(66)],C=l.dj.d(A,function(y,m,h,d){return y([],{constructor:function(e){e=e||{},this.responseHandlers=e.responseHandlers||{},this.faultManager=e.faultManager,this.transactions=e.transactions||[]},registerResponseHandler:function(e,t,r){r&&(t=m.hitch(r,t)),this.responseHandlers[e]=t},deregisterResponseHandler:function(e){delete this.responseHandlers[e]},handleTransaction:function(e){this.transactions.push(e),e.deferred.addCallback(m.hitch(this,this._processAll,e)),e.deferred.addCallback(m.hitch(this,this._processResult,e)),e.deferred.addErrback(m.hitch(this,this._processAll,e)),e.deferred.addErrback(m.hitch(this,this._processFault,e))},_processAll:function(e){var t;t=this.transactions.indexOf(e),t>=0&&this.transactions.splice(t,1)},_processResult:function(e){e.getResponseMessageTypes().forEach(function(t){var r=e.responseMessages[t],o=[];try{Array.isArray(r)&&(r.forEach(function(i){var u,s=e.getMessageClassifier(i);if(s){u=[t,s].join(":");var c=this,f=!1;e.getRequestMessageTypes().forEach(function(p){var v=e.requestMessages[p];Array.isArray(v)?v.forEach(function(g){c.responseHandlers[u]&&g.uuid===i.uuid&&(c.responseHandlers[u]([i],e.context),f=!0)}):c.responseHandlers[u]&&v.uuid===i.uuid&&(c.responseHandlers[u]([i],e.context),f=!0)}),f||o.push(i)}else o.push(i)},this),o.length>0&&this.responseHandlers[t]&&this.responseHandlers[t](o,e.context),this.responseHandlers["*"]&&this.responseHandlers["*"](t,e.responseMessages[t],e.context))}catch(i){var a=2;h.error(`Remote: Fault occurred while processing response.
|
||
Message: `+i.message+`
|
||
Type: `+t+`
|
||
Response: `+JSON.stringify(r,null,a))}},this),this._processUdcResponses(e),e.fault&&this.faultManager.handleFault(e)},_processUdcResponses:function(e){var t=d.isEndpointMessageContainerBased(e.endPointName);if(!t){var r=Object.keys(e.requestMessages)[0];this.responseHandlers[r]&&this.responseHandlers[r](e.responseMessages)}},_processFault:function(e){this.faultManager.handleFault(e)}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(505),l(164)],C=l.dj.d(A,function(y,m,h){return y([m],{_doSend:function(n){return h.sendPayload(n,this.endPointName)}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(109),l(0),l(66),l(163)],C=l.dj.d(A,function(y,m,h,d,n){return y(n,{constructor:function(t){t=t||{},this.uuid=t.uuid||this._generateUuid()},_getRequest:function(t){var r=d.isEndpointMessageContainerBased(this.endPointName),o=null;if(r)o={uuid:this.uuid,messages:t},this.computeToken&&(o.computeToken=this.computeToken);else{var a=Object.keys(t);a.forEach(function(i){o=t[i]})}return this._sanitizeForJson(o),JSON.stringify(o,null,0)},_sanitizeForJson:function(t){var r;if(h.isArray(t))t.forEach(this._sanitizeForJson,this);else if(h.isObject(t))for(r in t)t.hasOwnProperty(r)&&(t[r]===void 0?delete t[r]:(h.isObject(t[r])||h.isArray(t[r]))&&this._sanitizeForJson(t[r]))},_doSend:function(t){return m.post({url:this._getEndpoint(),contentType:"application/json",handleAs:"json",postData:t})},_processResponse:function(t){this.stopTime=new Date().getTime(),t?(t.fault&&(this.fault=t.fault),t.messages?this.responseMessages=t.messages:this.responseMessages=t):this.fault={faultCode:"Connection.Fault",message:"Unable to communicate with server, no response."}},_processFault:function(t){this.stopTime=new Date().getTime(),this.fault={faultCode:"Connection.Fault",message:t}}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(20),l(10),l(246),l(66),l(164),l(508)],C=l.dj.d(A,function(y,m,h,d,n,e,t){return y([],{constructor:function(){},upload:function(o,a,i){var u=this;if(this._uploadHandler=new m(function(){u.postMessageToUploadIframe("cancelUpload"),u._unloadIframe()}),this._workerEndpoint=i.endpoint,o instanceof FileList){var s={csrfToken:void 0,validForMs:void 0},c=e.sendPayload(JSON.stringify({messages:{CreateCsrfToken:[{}]}}),n.getEndPointNames().WORKER_ENDPOINT);return c.then(function(f){if(f.messages.CreateCsrfTokenResponse.forEach(function(F){F.messageFaults&&F.messageFaults.length>0||(s={csrfToken:F.csrfToken,validForMs:F.validForMs})}),window.MW_USE_IFRAME_OUT_OF_MODEL){var p=encodeURI(i.uploadIframeProxyUrl)+"&uploadDestinationUrl="+u._workerEndpoint+"upload?dest="+encodeURIComponent(a)+"&csrfToken="+encodeURIComponent(s.csrfToken);u._createUploadIframe(o,p)}else{var v=new URL(i.uploadIframeProxyUrl),g=v.searchParams,E=g.get("computeToken"),D=g.get("routingkey");u._createUploadIframeNew(o,{uploadDestinationUrl:u._workerEndpoint+"upload",computeToken:E,routingkey:D,fileDestination:encodeURIComponent(a),csrfToken:encodeURIComponent(s.csrfToken)})}}),this._uploadHandler}},_createUploadIframe:function(o,a){var i=this;this._eventCallBack=function(u){if(i.getHostName(u.origin)===i.getHostName(i._workerEndpoint))switch(u.data.type){case"iframeIsReady":i.postMessageToUploadIframe(o);break;case"updateProgress":i._uploadHandler.progress({loaded:u.data.loaded,total:u.data.total});break;case"uploadFinished":i._uploadHandler.resolve({status:u.data.status,response:u.data.response}),i._unloadIframe();break;case"uploadError":i._uploadHandler.reject({status:u.data.status,response:u.data.response});break;default:break}},this._uploadIframe=h.create("iframe",{id:"uploadIframe",src:a,width:0,height:0,style:"visibility: hidden; display: none;"}),document.body.appendChild(this._uploadIframe),window.addEventListener("message",this._eventCallBack,!1)},_createUploadIframeNew:function(o,a){var i=this;this._eventCallBack=function(u){switch(u.data.type){case"updateProgress":i._uploadHandler.progress({loaded:u.data.loaded,total:u.data.total});break;case"uploadFinished":i._uploadHandler.resolve({status:u.data.status,response:u.data.response}),i._unloadIframe();break;case"uploadError":i._uploadHandler.reject({status:u.data.status,response:u.data.response});break;default:break}},a.postMessage=this._eventCallBack,this._ReplaceUploadIframe=new t(a),this.postMessageToUploadIframe(o)},_unloadIframe:function(){window.MW_USE_IFRAME_OUT_OF_MODEL?this._uploadIframe&&(window.removeEventListener("message",this._eventCallBack,!1),this._uploadIframe.parentNode.removeChild(this._uploadIframe),h.destroy(this._uploadIframe),this._uploadIframe=void 0):this._ReplaceUploadIframe=null},getHostName:function(o){var a=d.parseUrl(o);return a.hostname},postMessageToUploadIframe:function(o){window.MW_USE_IFRAME_OUT_OF_MODEL?this._uploadIframe.contentWindow.postMessage(o,this._workerEndpoint):this._ReplaceUploadIframe&&this._ReplaceUploadIframe.handleMessage({data:o})}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){var y={A:["target","href","title"],ABBR:["title"],ADDRESS:[],AREA:["shape","coords","href","alt"],ARTICLE:[],ASIDE:[],AUDIO:["autoplay","controls","loop","preload","src"],B:[],BDI:["dir"],BDO:["dir"],BIG:[],BLOCKQUOTE:["cite"],BR:[],CAPTION:[],CENTER:[],CITE:[],CODE:[],COL:["align","valign","span","width"],COLGROUP:["align","valign","span","width"],DD:[],DEL:["datetime"],DETAILS:["open"],DIV:[],DL:[],DT:[],EM:[],FONT:["color","size","face"],FOOTER:[],H1:[],H2:[],H3:[],H4:[],H5:[],H6:[],HEADER:[],HR:[],I:[],IMG:["src","alt","title","width","height"],INS:["datetime"],LI:[],MARK:[],NAV:[],OL:[],P:[],PRE:[],S:[],SECTION:[],SMALL:[],SPAN:[],SUB:[],SUP:[],STRONG:[],TABLE:["width","border","align","valign"],TBODY:["align","valign"],TD:["width","rowspan","colspan","align","valign"],TFOOT:["align","valign"],TH:["width","rowspan","colspan","align","valign"],THEAD:["align","valign"],TR:["rowspan","align","valign"],TT:[],U:[],UL:[],VIDEO:["autoplay","controls","loop","preload","src","height","width"]},m=Object.assign(y),h={href:{"http:":!0,"https:":!0,"mailto:":!0,"matlab:":!0,relative:{"#":!0,"/":!0}},src:{"http:":!0,"https:":!0,"mailto:":!0,relative:{"#":!0,"/":!0}}},d=Object.assign(h),n=["backgroundColor","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","color","fontFamily","fontSize","fontStyle","fontWeight","height","lineHeight","margin","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textAnchor","textDecoration","textIndent","textOverflow","textShadow","textTransform","width"],e=[].concat(n);e.push("whiteSpace");var t=function(a,i,u){var s=void 0,c=i.getAttribute("style");if(s=u?n:e,a.style&&c!==null&&c!=="")for(var f=0;f<s.length;f+=1){var p=s[f],v=i.style[p];a.style[p]!==void 0&&(a.style[p]=v)}},r=function(a,i,u,s){return function(c){var f=function(x,R){var T=String.prototype.trim.call(R),S=T.indexOf(":");if(S<0&&x.relative[T.charAt(0)])return T;var I=T.substring(0,S);return x[I+":"]?T:"#"},p=function(x,R){for(var T=[],S=0;S<x.length;S+=1){var I=x[S];if(R.hasAttribute(I)){var B=R.getAttribute(I),P="";i[I]?P=f(i[I],B):P=B,T.push({key:I,value:P})}}return T},v=function(x){var R=void 0;if(x.nodeType===window.Node.ELEMENT_NODE){var T=a[x.tagName];if(T){R=document.createElement(x.tagName);var S=a[x.tagName],I=p(S,x);I.forEach(function(B){R.setAttribute(B.key,B.value)}),u&&t(R,x,s)}else R=document.createDocumentFragment()}else x.nodeType===window.Node.TEXT_NODE?R=document.createTextNode(x.textContent):R=document.createDocumentFragment();return R},g=function w(x){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,T=document.createDocumentFragment();if(R>150||!x)return T;for(var S=x.firstChild;S;S=S.nextSibling){var I=v(S);S.nodeType===window.Node.ELEMENT_NODE&&I.appendChild(w(S,R+1)),T.appendChild(I)}return T},E=new DOMParser,D=E.parseFromString(c,"text/html"),F=void 0;return D.body?F=g(D.body):F=document.createDocumentFragment(),F}};return{sanitizeHtmlFromJava:r(y,h,!0,"java"),sanitizeHtml:r(m,d,!0)}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;function y(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}function m(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}function h(d,n,e){return n&&m(d.prototype,n),e&&m(d,e),d}A=[],C=l.dj.d(A,function(){"use strict";return function(){function d(n){y(this,d),this._xhr=null,this._uploadDestinationUrl=n.uploadDestinationUrl,this._computeToken=n.computeToken,this._routingkey=n.routingkey,this._fileDestination=n.fileDestination,this._csrfToken=n.csrfToken,this._postMessage=function(e){n.postMessage(e)}}return h(d,[{key:"_postMessageToParent",value:function(e){this._postMessage({data:e})}},{key:"_createFormDataFromFileList",value:function(e){for(var t=new window.FormData,r="uploadFileName",o=0;o<e.length;o++){var a=e[o];t.append(r,a,a.name)}return t}},{key:"_createAndSendXhr",value:function(e){var t=this;this._xhr=new XMLHttpRequest,this._xhr.upload.onprogress=function(r){t._postMessageToParent({type:"updateProgress",loaded:r.loaded,total:r.total})},this._xhr.onload=function(){t._postMessageToParent({type:"uploadFinished",status:t._xhr.status,response:t._xhr.response})},this._xhr.onerror=function(){t._postMessageToParent({type:"uploadError",status:t._xhr.status,response:t._xhr.response})},this._xhr.open("POST","".concat(this._uploadDestinationUrl,"?dest=").concat(this._fileDestination,"&computeToken=").concat(this._computeToken,"&routingkey=").concat(this._routingkey,"&csrfToken=").concat(this._csrfToken),!0),this._xhr.withCredentials=!0,this._xhr.send(e)}},{key:"handleMessage",value:function(e){if(e.data instanceof FileList){var t=this._createFormDataFromFileList(e.data);this._createAndSendXhr(t);return}e.data==="cancelUpload"&&(this._xhr&&this._xhr.abort(),this._postMessageToParent({type:"uploadCanceled"}))}}]),d}()},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(13)],C=l.dj.d(A,function(y){var m=new RegExp("^(?:[a-z]+:)?//","i"),h=["localhost","127.0.0.1","[::1]"];return{createWorkerRoutingHostUrl:function(n,e){var t=n,r="",o="",a=e.host,i=e.sessionId,u=e.routingKey,s=!0;try{if(r=new URL(a),this.isAbsoluteUrl(n))if(o=new URL(n),o.origin&&h.includes(o.hostname)){var c=o.pathname;t=new URL(c,r).href,t=t+o.search}else o.origin&&o.hostname!==r.hostname&&(s=!1);else n&&n.startsWith("/")?t=r+n.substr(1,n.length):t=r+n;return s&&(t+=(t.indexOf("?")>=0?"&":"?")+"mre="+encodeURIComponent(r),u&&i&&(t+="&routingkey="+u+"&computeToken="+encodeURIComponent(i))),t}catch(f){y.error("Input URL is malformed")}return t},isAbsoluteUrl:function(n){return!!m.test(n)}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(511),l(48),l(53)],C=l.dj.d(A,function(y,m){return m(y,"",l.dj.c(),!0)},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(140),l(246)],C=l.dj.d(A,function(y,m){var h=!1,d={};d._serviceData={},d.getServiceRegistryEndpoint=function(o){if(d._serviceData.serviceregistry){var a,i;for(a=d._serviceData.serviceregistry.length,i=0;i<a;i+=1)if(d._serviceData.serviceregistry[i].name===o)return d._serviceData.serviceregistry[i].endpoint}return""};var n=function(a){var i=m.parseQueryString().mre;if(i){var u=new URL(i,window.location.href);if(e(u)){i=u.href;var s=a.serviceregistry;s=Array.isArray(s)?s:[];var c=!1;s.forEach(function(f){f.name&&f.name==="primary"&&(f.endpoint=i,c=!0)}),c||(s.push({name:"primary",endpoint:i}),a.serviceregistry=s)}}return a},e=function(a){return!!(a.origin===window.location.origin||t(a))},t=function(a){var i=a.origin;a.port&&(i=a.origin.replace(":"+a.port,""));var u=[".mathworks.com",".mathworks.cn"];for(var s in u){var c=u[s];if(i.endsWith(c))return!0}return!1},r={_doXhr:function(a,i){return y(a,{handleAs:"json",failOk:!0,method:"GET",timeout:15e3,sync:i})},_reset:function(){h=!1,d._serviceData={}},load:function(a,i,u){if(h)u(d);else{var s=!i.async;r._doXhr("/serviceregistrylookup/1/service",s).then(function(c){c instanceof Object||(c={}),d._serviceData=n(c),h=!0,u(d)},function(){d._serviceData=n({}),h=!0,u(d)})}}};return r},_,M),_.exports=C},function(_,M,l){var A,C;/**
|
||
* @preserve Copyright 2018-2022 The MathWorks, Inc.
|
||
*/A=[l(27),l(513),l(248),l(12),l(201),l(827)],C=l.dj.d(A,function(y,m,h,d,n){return{start:function(){const e=h(d.byId("contentArea"));m(d.byId("leftPanel"),e,window.reportPages),window.globalMessageDispatcher=n()}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(12),l(10),l(4),l(248),l(203),l(27),l(17),l(47),l(93),l(202)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a){let i=null,u=null,s=null,c=null,f=null;const p=[];let v=null;const g="pages/webview/webview.html",E="gainsboro";return o.start(),function(O,W,j){i=O,u=j,s=W,c=window.dataJson.files,v=s.crObj,window.cr=v,m.create("div",{innerHTML:"<p>Content</p>",class:"title"},i);const K=R();m.place(K,i),m.create("div",{innerHTML:"<p>Code</p>",class:"title"},i);const H=m.create("div",{id:"treeContainer",height:"100%"},i);return f=x(),m.place(f.domNode,H),f.startup(),f.expandAll(),F(),w(),P(),D(),I(),{postHistory:B}};function D(){const O=window.parent.location.search.substring(1),W=r.queryToObject(O);W.sid===void 0&&p[0].click(),window.parent.postMessage({message:"currentModelChanged",model:window.modelInfo.model},"*");try{if(W.sid){v.highlightor.bySids([W.sid]);let j=v.highlightor.getCurrent();if(j){const K=j.file,H=j.line;s.showCode("line",K,H)}else if(W.inputLocs){const H=JSON.parse(W.inputLocs).data,V={};V.title="Highlighting",V.data=[];for(let $=0;$<H.length;$++){const G=H[$],Q=G.file,J=G.line;for(let Y=0;Y<J.length;Y++){const X=J[Y],Z={};Z.file=Q,Z.line=parseInt(X),V.data.push(Z)}}if(v.highlightor.byExternalInput(V),j=v.highlightor.getCurrent(),j){const $=j.file,G=j.line;s.showCode("line",$,G)}else{const $=v.data.currentFile;s.showCode("file",$)}}else{const K=v.data.currentFile;s.showCode("file",K)}}}catch(j){}}function F(){t.after(v,"show",function(){s.isShowingCode()&&W()}),t.after(v,"show",W),t.after(s,"showCode",O);function O(){const j=s.getCodeFileName();f.setSelection([{id:j}]),S()}function W(){const j=v.data.currentFile,K=v.code.grid.getScrollPosition();B(j,K,s.lineNum,s.funcName),O()}}function w(){e.subscribe("/jumpToCode",function(O){const W=O.location;if(/.+\.\w+$/.test(W))s.showCode("file",W);else if(/.+\.\w+:\d+/.test(W)){const j=W.match(/(.+\.\w+):(\d+)/),K=j[1],H=parseInt(j[2]);s.showCode("line",K,H)}else s.showCode("func",W)}),e.subscribe("/showCodeView",function(){s.revealCodeView()}),e.subscribe("/legacyMCall",function(O){const W=O.expr;o.publish("/report",{action:"reportV2CallLegacyMFunc",mExpression:W,model:window.modelInfo.model})}),e.subscribe("/report",function(O){const W=O.line;s.revealCodeView(),v.code.scrollToLine(W),v.code.grid.select(W)}),e.subscribe("/traceToWebview",function(O){const W=O.modelName,j=O.sid;s.traceToWebviewReport(W,j)}),e.subscribe("/codeviewToWebview",function(O){const W=O.sids,j=O.action;j==="hover"||j==="clear"||W!=null&&(W.length<=1?s.traceToWebviewCodeviewSingle(W[0]):s.traceToWebviewCodeviewMultiple(W,j))}),e.subscribe("/jumpToReport",function(O){const W=O.url,j=O.modelName;window.parent.modelNavigator.updateReport(W,j),window.parent.modelNavigator.updateModelHierarchy()}),e.subscribe("/gotoReportPage",function(O){const W=O.pageName;document.getElementById(W).click()}),e.subscribe("/reportPageLoaded",function(O){const j=new URL(O.url).pathname.split("/").pop().split(".")[0],K=document.getElementById(j);T(K)})}function x(){let O=null;return j(),W();function W(){const K=new n(O);return K.on("selectionChanged",function(H){const V=H.nodeIds[0];V.match(/.+\..+/)&&s.showCode("file",V)}),K.setSelection([]),K}function j(){const K={};for(let H=0;H<c.length;++H)K[c[H].group]=c[H].groupDisplay;O=[];for(const H in K)Object.prototype.hasOwnProperty.call(K,H)&&O.push({id:H,label:K[H],parent:null});for(let H=0;H<c.length;++H){const V=c[H];O.push({id:V.name,label:V.name,parent:V.group})}}}function R(){const O=m.create("div",{id:"contentLinks"});for(let j=0;j<u.length;++j){const K=u[j][0],H=u[j][1],V="pages/"+H,G=H.split(".")[0],Q=m.create("div"),J=m.create("a",{href:"javascript: void(0)",innerHTML:K,id:G},Q);W(J,V,j),m.place(Q,O),p.push(J)}return O;function W(j,K,H){h(j,"click",function(){s.loadLocalPage(K,H)})}}function T(O){S(),O.parentNode.style.backgroundColor=E,f.setSelection([])}function S(){for(let O=0;O<p.length;++O)p[O].parentNode.style.backgroundColor=""}function I(){window.hasWebview?window.fetch(g).then(function(O){O.status===404?(s.hideWebviewFrame(),e.publish("/webviewStatus",!1)):(s.loadWebview(g),e.publish("/webviewStatus",!0))}).catch(O=>{e.publish("/webviewStatus",!0),s.loadWebview(g),console.log(O)}):(s.hideWebviewFrame(),e.publish("/webviewStatus",!1))}function B(O,W,j,K){const H={message:"postHistory",model:window.modelInfo.model,pageLinkIndex:s.getLocalPageLinkIndex(),codeFileName:O,coord:W,ln:j,fname:K};O!==void 0&&(H.pageLinkIndex=void 0),window.parent.postMessage(H,"*")}function P(){e.subscribe("/loadHistoryState",function(O){L(O)})}function L(O){window.globalMessageDispatcher.pause(),O.pageLinkIndex!==void 0?s.revealContentView():O.ln!==null?s.showCode("line",O.codeFileName,O.ln):O.fname!==null?s.showCode("func",O.fname):s.showCode("coord",O.codeFileName,O.coord),window.globalMessageDispatcher.resume()}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(515),l(10),l(11),l(20),l(27),l(520),l(779),l(782),l(271),l(37),l(41),l(783),l(38),l(176),l(194),l(826),l(318),l(265)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p,v,g){return function(E){s.model=E.model;const D=g({id:"ToolTip",placement:"top"});window.popout=D,D.referenceNode=document.createElement("div"),D.trigger="hover",document.getElementById("ToolTip")||document.body.appendChild(D);let F=!0,w=!0,x=!0;E.hasOwnProperty("tokenLevelTrace")&&(F=E.tokenLevelTrace),E.hasOwnProperty("lineLevelTrace")&&(w=E.lineLevelTrace),E.hasOwnProperty("loadFromMATLAB")&&(x=E.loadFromMATLAB);const R={placeAt:O,show:P,showLocation:L,refresh:W,jumpToDef:B,history:p,back:j,forward:K,gotoState:H,parser:v,traceConfig:{tokenLevelTrace:F,lineLevelTrace:w}},T=m.create("div",{class:"code-report"});s.model||h.add(T,"standalone"),R.domNode=T,R.config=o(R),R.nav=t(R),R.code=e(R),R.highlightor=r(R),R.footer=m.create("div",{id:"footer"}),m.create("div",{id:"Information"},R.footer);const S=m.create("div",{id:"FileBanner"},R.footer);m.create("div",{id:"FilePath",onclick:function(){const V=this.innerText;V&&i.publish({action:"openFile",fileName:V})}},S),m.create("div",{id:"LnCol"},S),R._config=s,T.appendChild(R.nav.domNode),T.appendChild(R.code.domNode),T.appendChild(R.footer),m.create("div",{id:"ErrorPage"},T);const I=new y;return I.set("target",document.body),I.show(),R.busy=I,u(R),x&&a.start(),R.utils=a,R.config.showAnnotation&&h.add(R.domNode,"show-annotation"),s.readonly&&h.add(R.domNode,"readonly"),window.cr=R,R;function B(V){const G=R.data.define.get(V);if(G!==void 0){const Q=G.file,J=G.line;R.show(Q,J,!0)}}function P(V,$,G){const Q=R.history,J=Q.getState(),Y=R.data,X=Y.currentFile,Z=Y.files;let q;typeof V=="number"?q=Z.data[V]:V&&(q=Z.get(V));let ee;if(q?(ee=q.name,Y.currentFile=ee):(ee=Y.currentFile,q=Z.get(ee)),!q){R.nav.refresh();return}if($===void 0){const he=R.highlightor;if(he.inHighlight){const me=he.getCurrent();me&&me.file===ee&&($=me.line)}}$=$||0;const re=ee+"["+$+"]";if(console.time(re),$&&a.expandToLine(q.codeList,$),R.refresh(),R.code.scrollToLine($),G&&R.code.grid.select($),J){const he=Q.getState();J.file===he.file&&J.scroll.y===he.scroll.y||(Q.pushState(J),R.nav.refresh())}n.publish(s.channel,{file:q.name,line:$}),Y.currentFile!==X&&i.publish({action:"FileChange",file:q.name}),console.timeEnd(re)}function L(V,$){const G=R.data,Q=G.files;let J;typeof V=="number"?J=Q.data[V]:V&&(J=Q.get(V));let Y;J?(Y=J.name,G.currentFile=Y):(Y=G.currentFile,J=Q.get(Y)),R.refresh(),$&&R.code.grid.scrollTo($),i.publish({action:"FileChange",file:J.name})}function O(V){m.place(T,V,"only")}function W(){if(D&&D.open&&D.close(),R.config.refresh(),c.refresh(),f.refresh(),R.nav.refresh(),R.code.refresh(),s.snc){const V=R.footer.querySelector("#FilePath"),$=R.data.currentFile,G=R.data.files.get($);if(G){const Q=R.data.arch.ispc?"\\":"/",J=G.path+Q+G.name;V.innerText=J,R.data.arch.isunix?h.add(V,"unix"):h.remove(V,"unix")}}}function j(){const $=this.history.back();!$||this.gotoState($)}function K(){const $=this.history.forward();!$||this.gotoState($)}function H(V){const $=V.file,G=V.scroll,Q=V.selection;this.data.currentFile=$,this.refresh();const J=this.code.grid;J.scrollTo(G),Q.forEach(function(Y){J.select(Y)})}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(4),l(20),l(89),l(35),l(39),l(46),l(249),l(13),l(519)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a){var i={spinnerSize:"large"},u={spinnerSize:"medium"},s={spinnerSize:"small"},c={spinnerSize:"xsmall"},f=y("MW.utils.BusyOverlay",[e,t],{_displayed:!1,_started:!1,_spinner:null,_size:null,target:null,_text:"",_textSpan:null,_spinnerTextNode:null,templateString:a,_resizeEvent:null,constructor:function(v){this._textSpan=document.createElement("span"),this._spinnerTextNode=document.createElement("div"),this._spinnerTextNode.classList.add("spinnerText"),this._spinnerTextNode.appendChild(this._textSpan),this._preventKeyBoardInteractions=this._preventKeyBoardInteractions.bind(this),this._handleFocusInTargetOnKeyDown=this._handleFocusInTargetOnKeyDown.bind(this),Object.defineProperty(this,"text",{set:function(g){this._text=g,!this._resizeEvent&&this.registerResize(),this._text&&typeof this._text=="string"?this._textSpan.textContent=this._text:(this._text="",this._textSpan.textContent=this._text),this._started&&this._updateTitle()},get:function(){return this._text},enumerable:!0,configurable:!0}),v&&v.text&&this.set("text",v.text),this._setSpinnerSize(v)},_setSpinnerSize:function(v){try{if(v==null)this._size=i;else if(typeof v=="object")v.size?this._size=v.size:v.spinnerSize?this._size=v:this._size=i;else throw new Error("Incorrect argument passed to BusyOverlay Object.")}catch(g){o.error(g.message)}},_updateTitle:function(){this._textSpan.classList.remove("spinnerCenter"),this._textSpan.classList.add("spinnerCenter")},_updateTextStyle:function(){this._spinnerTextNode.style.marginTop="",this._text&&this.text.toString().trim()!==""&&(this._spinnerTextNode.style.marginTop="10px")},startup:function(){if(!this._started){if(this._spinner=this._createSpinner(),this._firstElement=this._createFirstElement(),this.target){if(typeof this.target=="string"){let v=n.byId(this.target);this.target=v?v.domNode:document.getElementById(this.target)}this.target.appendChild(this.domNode),this._spinnerBgPanel.appendChild(this._spinnerTextNode)}this._text&&(this._updateTitle(),!this._resizeEvent&&this.registerResize()),this._started=!0,this.inherited(arguments)}},_createSpinner(){let v=r({type:"spinner",size:this._size.spinnerSize});return v.updateComplete.then(()=>{v&&v.setAttribute("tabindex","-1")}),v.setAttribute("aria-indeterminate","true"),v.style.overflow="hidden",v},postCreate:function(){this._underlayNode.style.zIndex=2e9,this.inherited(arguments)},show:function(){this._displayed||(this._started||this.startup(),this._displayed=!0,this._busyOverlayNode.style.display="inline",this._busyOverlayNode.className="mw-busyIndicator",this._updateTextStyle(),this._spinnerTextNode.style.display="block",this._spinnerNode.appendChild(this._spinner),this.onShow(),this._handleFocusOnShow())},_handleFocusOnShow(){this._isTargetPresent()&&(this.target.prepend(this._firstElement),this.target.removeEventListener("focusin",this._preventKeyBoardInteractions),this.target.addEventListener("focusin",this._preventKeyBoardInteractions),this.target.removeEventListener("keydown",this._handleFocusInTargetOnKeyDown),this.target.addEventListener("keydown",this._handleFocusInTargetOnKeyDown))},_isTargetPresent(){return this.target&&this.target instanceof Element},_handleFocusInTargetOnKeyDown:function(v){v.key!=="Tab"&&!(v.shiftKey&&(v.key==="Shift"||v.key==="Tab"))&&this._spinnerBgPanel.focus()},_preventKeyBoardInteractions:function(v){if(this._displayed&&this._isTargetPresent()){v.preventDefault();let g=this._spinnerBgPanel,E=this._firstElement,D=v.relatedTarget,F=v.target;if(F===E||F===g){this._lastFocusedNode=D;return}if(D===E){this._lastFocusedNode=F,g.focus();return}if(D===g){this._lastFocusedNode=F,E.focus();return}this._lastFocusedNode=F,g.focus()}},_createFirstElement(){let v=document.createElement("div");return v.setAttribute("tabindex","0"),v.className="mw-busyIndicator-focus-first",v},hide:function(){this._displayed&&(this._handleFocusOnHide(),this._displayed=!1,this._busyOverlayNode.style.display="none",this._spinnerNode.removeChild(this._spinner),this._spinnerTextNode.style.display="none",this.onHide())},_handleFocusOnHide(){this._isTargetPresent()&&(this.target.removeEventListener("focusin",this._preventKeyBoardInteractions),this.target.removeEventListener("keydown",this._handleFocusInTargetOnKeyDown)),this._lastFocusedNode&&(document.activeElement===this._spinnerBgPanel||document.activeElement===this._firstElement)&&(this._lastFocusedNode.focus(),this._lastFocusedNode=null),this._firstElement&&this._firstElement.remove()},showUntilFinished:function(v){var g=new h;v.always(function(){g.resolve()}),this.isVisible()||this.show(),this._hideBusyIndicatorPromise?this._hideBusyIndicatorPromise=d([this._hideBusyIndicatorPromise,g.promise]):this._hideBusyIndicatorPromise=g.promise;var E=this._hideBusyIndicatorPromise;E.then(function(){E===this._hideBusyIndicatorPromise&&this.hide()}.bind(this))},uninitialize:function(){if(this.hide(),this.target=null,this._spinner=null,this._displayed=!1,this._firstElement=null,this._busyOverlayNode)for(var v=this._busyOverlayNode.querySelectorAll(".spinnerText"),g=0;g<v.length;g++)v[g].remove();this._textSpan=null,this._spinnerTextNode=null,this.inherited(arguments),this._resizeEvent&&this._resizeEvent.remove()},isVisible:function(){return this._displayed},onShow:function(){},onHide:function(){this.inherited(arguments)},registerResize:function(){this._resizeEvent=m(window,"resize",this._updateTextStyle.bind(this)),this.own(this._resizeEvent)}}),p={LARGE:i,MEDIUM:u,SMALL:s,XSMALL:c};return f.SIZE=p,Object.freeze(f.SIZE),Object.freeze(f.SIZE.LARGE),Object.freeze(f.SIZE.MEDIUM),Object.freeze(f.SIZE.SMALL),Object.freeze(f.SIZE.XSMALL),f},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(250),l(251),l(517)],C=l.dj.d(A,function(y){"use strict";class m{static createView(){return y.getViewInstance.call(this)}}return m},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(207),l(250),l(251),l(165),l(166)],C=l.dj.d(A,function(y,m,h,d,n){class e extends h{constructor(r){super();this.properties=r}getProgress(){super.getProgress();const r=this.properties.customSize||this.properties.size;let o=0;switch(r){case d.XSMALL:o=16;break;case d.SMALL:o=24;break;case d.MEDIUM:o=32;break;case d.LARGE:o=48;break;case d.XLARGE:o=64;break;default:o=this.properties.customSize;break}o=o<=1?2:o,this.outerRadius=o/2;const a=this.outerRadius/4+1,i=a/2;return this.innerRadius=this.outerRadius-i,this.circleAttrs={radius:this.innerRadius,strokeWidth:a,cx:0,cy:0},this.innerRadius=this.outerRadius-a,2*Math.PI*this.circleAttrs.radius}update(){super.update(),this.properties.currentProgress=this.getProgress(),this.properties.strokeGap=this.properties.currentProgress;let r=this.properties.hasAttribute("indeterminate");const o=25;this.properties.strokeDash=r?this.properties.strokeGap*o/100:this.properties.value*this.properties.currentProgress/100}getView(){return super.getView(),this.properties.value<100?y`
|
||
<svg class="progressIndicatorSvg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="${-this.outerRadius} ${-this.outerRadius} ${2*this.outerRadius} ${2*this.outerRadius}">
|
||
<g>
|
||
<circle class="${this.properties.baseClass}-gutter" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"></circle>
|
||
<circle class="${this.properties.baseClass} ${this.properties.strokeClass}" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
|
||
stroke-dasharray="${this.properties.strokeDash}, ${this.properties.strokeGap}" stroke="${this.properties.color}"></circle>
|
||
<circle class="${this.properties.baseClass} ${this.properties.baseClass}-border " r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
|
||
stroke-dasharray="${1}, ${this.properties.strokeDash-1}, ${1}, ${this.properties.strokeGap-1}"></circle>
|
||
</g>
|
||
${this.properties.border?y`<g class="outer-group">
|
||
<path d="M 0 ${-this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${-this.outerRadius} Z M 0 ${-this.outerRadius+1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${this.outerRadius-1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${-this.outerRadius+1} Z"></path>
|
||
<path d="M 0 ${-this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${-this.innerRadius} Z M 0 ${-this.innerRadius+1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${this.innerRadius-1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${-this.innerRadius+1} Z"></path>
|
||
</g>`:""}
|
||
</svg>`:y`
|
||
<svg class="progressIndicatorSvg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="${-this.outerRadius} ${-this.outerRadius} ${2*this.outerRadius} ${2*this.outerRadius}">
|
||
<g>
|
||
<circle class="${this.properties.baseClass}-gutter" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"></circle>
|
||
<circle class="${this.properties.baseClass} ${this.properties.strokeClass}" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
|
||
stroke-dasharray="${this.properties.strokeDash}, ${this.properties.strokeGap}" stroke="${this.properties.color}"></circle>
|
||
<circle class="${this.properties.baseClass} ${this.properties.baseClass}-border " r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
|
||
stroke-dasharray="${0}, ${this.properties.strokeDash}, ${0}, ${this.properties.strokeGap}" ></circle>
|
||
</g>
|
||
${this.properties.border?y`<g class="outer-group">
|
||
<path d="M 0 ${-this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${-this.outerRadius} Z M 0 ${-this.outerRadius+1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${this.outerRadius-1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${-this.outerRadius+1} Z"></path>
|
||
<path d="M 0 ${-this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${-this.innerRadius} Z M 0 ${-this.innerRadius+1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${this.innerRadius-1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${-this.innerRadius+1} Z"></path>
|
||
</g>`:""}
|
||
</svg>`}}return m.setView(n.SPINNER,e),e},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(166),l(165)],C=l.dj.d(A,function(y,m){"use strict";class h{static _isHexaColor(n){return/^#([0-9A-F]{3}){1,2}$/i.test(n)}static validate(n,e){switch(e){case"size":let t=Object.values(m);if(typeof n!="string"||!t.includes(n.toLowerCase()))throw new Error("Value of "+e+" property should be xsmall/small/medium/large/xlarge");break;case"type":if(typeof n!="string"||n.toLowerCase()!==y.SPINNER)throw new Error("Value of "+e+" property should be spinner");break;case"value":if(isNaN(parseFloat(n))||parseFloat(n)<0||parseFloat(n)>100)throw new Error("Value of "+e+" property should be Number between 0-100");break;case"color":let r=h._isHexaColor(n);if(typeof n!="string"||!r)throw new Error("Value of "+e+" css should be in valid supported css color in hex code");break;case"customSize":if(isNaN(n)||parseFloat(n)<0||n===null)throw new Error("Value of "+e+" should be a Number greater than 0");break;case"border":if(n===void 0||!(n.toString()==="false"||n.toString()==="true"))throw new Error("Value of "+e+" should be a true or false value");break}}static addStyles(n,e){n&&e&&Object.keys(e).length>0&&Object.keys(e).forEach(t=>{n.style[t]=e[t]})}static removeStyles(n,e){if(n&&e&&Array.isArray(e)&&e.length>0){let r=(n.getAttribute("style")||"").split(";");e.forEach(a=>{r=r.filter(i=>i.trim().startsWith(a)===!1)}),r=r.filter(a=>a.trim().length>0);const o=r.join(";");n.setAttribute("style",o)}}static addAttributes(n,e){n&&e&&Object.keys(e).length>0&&Object.keys(e).forEach(t=>n.setAttribute(t,e[t]))}static removeAttributes(n,e){n&&e&&Array.isArray(e)&&e.length>0&&e.forEach(t=>{n.hasAttribute(t)&&n.removeAttributes(t)})}}return h},_,M),_.exports=C},function(_,M){_.exports=`<div class="mw-busyIndicator" data-dojo-attach-point="_busyOverlayNode">
|
||
<div class="underlayNode" data-dojo-attach-point="_underlayNode"></div>
|
||
<div class="spinnerBgPanel" tabindex = "0" data-dojo-attach-point="_spinnerBgPanel">
|
||
<div class="spinnerNode" data-dojo-attach-point="_spinnerNode" ></div>
|
||
</div>
|
||
</div>
|
||
`},function(_,M,l){"use strict";var A,C;A=[l(1),l(9),l(10),l(11),l(14),l(4),l(36),l(17),l(27),l(252),l(531),l(167),l(535),l(549),l(37),l(173),l(176),l(194),l(38)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p,v,g,E){return function(D){let F=0,w=0,x=null;const R=D.config,T=h.create("div",{class:"code",onclick:function(){o.publish("expandConfig",!1)}}),S=y([a,i]),I=new S({id:"CodeGrid",class:"code-grid",store:new u,query:J,keepScrollPosition:!0,renderRow:W,allowTextSelection:!0,deselectOnRefresh:!0});h.place(I.domNode,T),c(D,I),I.startup();const B={domNode:T,grid:I,scrollToLine:Q,refresh:L},P=s(D);return B.indicator=P,h.place(P.domNode,T),B;function L(){const Y=D.data;B.file!==Y.currentFile?O(Y.currentFile):I.refresh(),P.refresh()}function O(Y){if(!Y)return;const Z=D.data.files.get(Y);w=Z.codeList.length.toString().length+1,F=Z.maxCols+1,x=Z.lang,I.store.setData(Z.codeList),I.refresh(),I.resize(),I.domNode.setAttribute("filetype",Z.ext),B.file=Z.name}function W(Y){const X=h.create("div",{class:"code-row"});X.setAttribute("line",Y.id);const Z=j(Y),q=K(Y),ee=H(Y);return X.appendChild(Z),X.appendChild(q),X.appendChild(ee),D.highlightor.addStyle(q),v.render(X,Y),g.render(X,Y),X}function j(Y){const X=h.create("div",{class:"head"});X.setAttribute("line",Y.id);const Z=V(Y),q=$(Y);return X.appendChild(Z),X.appendChild(q),X}function K(Y){const X=h.create("div",{class:"main"});return X.setAttribute("line",Y.id),G(Y,X),X}function H(Y){const X=h.create("div",{class:"tail"}),Z=Y.id;return X.setAttribute("line",Z),p.render(Z,X),X}function V(Y){const X=h.create("div",{class:"line-num"});return X.setAttribute("line",Y.id),Y.isTraceable&&d.add(X,"trace-line"),n.set(X,"width",w+"ch"),X}function $(Y){const X=h.create("div",{class:"code-folding"});if(X.setAttribute("line",Y.id),Y.to&&Y.to-Y.id>1){d.add(X,"has-icon");const Z=h.create("div",{class:"icon"},X);Y.expand?(d.remove(Z,"plus"),d.add(Z,"minus")):(d.remove(Z,"minus"),d.add(Z,"plus"))}return X}function G(Y,X){const Z=Y.id;X.setAttribute("line",Z),R.showComments===!1&&d.add(X,"hide-comments"),n.set(X,"min-width",F+"ch");const q=h.create("div",{class:"indent"});h.place(q,X,"first"),Y.up&&Y.up.forEach(function(te,oe){const ue=h.create("div",{class:"indent-space",line:te},q),ce=Y.spaces[oe];n.set(ue,"left",ce+"ch")});const ee=x.createNodes(Y.tokens),re=h.create("div",{class:"code-text"},X);ee.forEach(te=>re.appendChild(te));const he=re.querySelectorAll("c");for(let te=0,oe=he.length;te<oe;te++){const ue=he[te];ue.setAttribute("col",te+1),ue.setAttribute("ln",Z)}const me=D.data;m.forEach(ee,function(te){const oe=te.innerText;if(te.setAttribute("token",oe),!E.readonly){const ue=te.id,ce=me.records.get(ue);ce&&ce.traceable&&d.add(te,"traceable")}});const se=X.querySelectorAll(".br");m.forEach(se,function(te){te.setAttribute("line",Z)}),Y.to&&Y.to!==Y.id&&!Y.expand&&h.create("div",{class:"dots",innerHTML:"..."},X).setAttribute("line",Y.id)}function Q(Y){const X=I.rowHeight,Z=I.store.data;let q=Math.max(1,Y);q=Math.min(q,Z.length)-1;let ee=0;for(let ue=0;ue<q;ue++){const ce=Z[ue];J(ce)&&ee++}const re=ee*X,he=I.getScrollPosition().y,me=re-he,se=I.domNode,te=5*X,oe=se.getBoundingClientRect().height-te;if(me<te||me>oe){const ue=Math.min(te,oe/2);I.scrollTo({y:re-ue})}}function J(Y){return Y.show&&(Y.isCodeLine||R.showComments)}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(4),l(255),l(522),l(77),l(523)],C=l.dj.d(A,function(y,m,h,d,n){var e=50,t=30,r={},o={},a=1,i=8,u=/^translate(?:3d)?\((-?\d+)(?:\.\d*)?(?:px)?, (-?\d+)/,s=/^matrix\(1, 0, 0, 1, (-?\d+)(?:\.\d*)?(?:px)?, (-?\d+)/,c=d("css-transitions"),f=d("transitionend"),p=d("css-transforms"),v=d("css-transforms3d"),g,E,D,F,w;if(v?(F="translate3d(",w=",0)"):p&&(F="translate(",w=")"),!c||!F)return console.warn("CSS3 features unavailable for touch scroll effects."),function(){};D=v||p,D=D===!0?"transform":D+"Transform",E=c===!0?"transition":c+"Transition",g=p===!0?"":"-"+p.toLowerCase()+"-";function x(K,H){var V=K.touchNode,$=V.parentNode,G=$.offsetWidth-i,Q=$.offsetHeight-i,J=H.scrollWidth=V.scrollWidth,Y=H.scrollHeight=V.scrollHeight,X=H.parentWidth=$.offsetWidth,Z=H.parentHeight=$.offsetHeight,q;J>X?(K._scrollbarXNode||(q=n($,"div.touchscroll-x")),q=K._scrollbarXNode=K._scrollbarXNode||n(q,"div.touchscroll-bar"),q.style.width=G*G/J+"px",q.style.left=V.offsetLeft+"px",n($,".touchscroll-scrollable-x"),H.scrollableX=!0):n($,"!touchscroll-scrollable-x"),Y>Z?(K._scrollbarYNode||(q=n($,"div.touchscroll-y")),q=K._scrollbarYNode=K._scrollbarYNode||n(q,"div.touchscroll-bar"),q.style.height=Q*Q/Y+"px",q.style.top=V.offsetTop+"px",n($,".touchscroll-scrollable-y"),H.scrollableY=!0):n($,"!touchscroll-scrollable-y"),n($,"!touchscroll-fadeout")}function R(K,H){var V=K.touchNode,$=r[K.id],G,Q,J,Y,X;typeof H!="object"?(Y=H,X=arguments[2],H=arguments[3],Q=J=!0):(Q="x"in H,J="y"in H,(!Q||!J)&&(G=K.getScrollPosition()),Y=Q?H.x:G.x,X=J?H.y:G.y),V.style[D]=F+-Y+"px,"+-X+"px"+w,$&&Q&&K._scrollbarXNode&&(K._scrollbarXNode.style[D]=F+Y*$.parentWidth/$.scrollWidth+"px,0"+w),$&&J&&K._scrollbarYNode&&(K._scrollbarYNode.style[D]=F+"0,"+X*$.parentHeight/$.scrollHeight+"px"+w),m.emit(K.touchNode.parentNode,"scroll",{scrollLeft:Y,scrollTop:X})}function T(K){return r[K.id]?s.exec(window.getComputedStyle(K.touchNode)[D]):u.exec(K.touchNode.style[D])}function S(K){var H=this.widget,V=[this.node,H._scrollbarXNode,H._scrollbarYNode],$=V.length;for(this.timer&&(clearTimeout(this.timer),this.timer=null),this.transitionHandler&&this.transitionHandler.remove();$--;)V[$]&&(V[$].style[E+"Duration"]="0");(!K||!K.preserveScrollbars)&&n(this.node.parentNode,".touchscroll-fadeout"),delete this.resetEffects}function I(K){var H=K.widget,V=H.touchNode,$=H.id,G=0,Q=0,J,Y,X;h.countCurrentTouches(K,V)===H.touchesToScroll&&(Y=T(H),Y&&(G=+Y[1],Q=+Y[2]),(X=r[$])&&(X.resetEffects&&X.resetEffects({preserveScrollbars:!0}),V.style[D]=F+G+"px,"+Q+"px"+w,o[$]=X),J=K.targetTouches[0],X=r[$]={widget:H,node:V,startX:G-J.pageX,startY:Q-J.pageY,lastX:G,lastY:Q,pageX:J.pageX,pageY:J.pageY,tickFunc:function(){L($)}},X.timer=setTimeout(X.tickFunc,e))}function B(K){var H=K.widget,V=H.id,$=H.touchesToScroll,G=r[V],Q,J,Y,X,Z,q,ee,re;if(!G||(Q=h.countCurrentTouches(K,H.touchNode))!==$){Q>$&&H.cancelTouchScroll();return}if(J=K.targetTouches,Y=J[0],!G.scrollbarsShown&&(o[V]||Math.abs(Y.pageX-G.pageX)>H.scrollThreshold||Math.abs(Y.pageY-G.pageY)>H.scrollThreshold))for(x(H,G),G.scrollbarsShown=!0,re=J.length;re--;)J[re].touchScrolled=!0;G.scrollbarsShown&&(G.scrollableX||G.scrollableY)&&(K.preventDefault(),X=G.scrollableX?G.startX+Y.pageX:0,Z=G.scrollableY?G.startY+Y.pageY:0,q=G.scrollableX?-(G.scrollWidth-G.parentWidth):0,ee=G.scrollableY?-(G.scrollHeight-G.parentHeight):0,X>0?X=X/2:X<q&&(X=q-(q-X)/2),Z>0?Z=Z/2:Z<ee&&(Z=ee-(ee-Z)/2),R(H,-X,-Z))}function P(K){var H=K.widget,V=H.id,$=r[V];!$||h.countCurrentTouches(K,H.touchNode)!=H.touchesToScroll-1||W(V)}function L(K){var H=r[K],V,$,G,Q;!H||(V=H.node,$=u.exec(V.style[D]),$?(G=+$[1],Q=+$[2],H.velX=G-H.lastX,H.velY=Q-H.lastY,H.lastX=G,H.lastY=Q):H.lastX=H.lastY=0,H.timer=setTimeout(H.tickFunc,e))}function O(K,H,V){var $=r[K],G=$.widget,Q=$.node,J,Y=$.scrollableX?Math.max(Math.min(0,H),-($.scrollWidth-$.parentWidth)):H,X=$.scrollableY?Math.max(Math.min(0,V),-($.scrollHeight-$.parentHeight)):V;function Z(){delete $.transitionHandler,$.resetEffects(),delete r[K]}delete $.timer,Y!=H||X!=V?($.transitionHandler=m.once(Q,f,Z),Q.style[E+"Duration"]=G.bounceDuration+"ms",Q.style[D]=F+Y+"px,"+X+"px"+w,Y!=H&&$.scrollableX&&(J=$.widget._scrollbarXNode,J.style[E+"Duration"]=G.bounceDuration+"ms",H>Y?J.style[D]=F+"0,0"+w:J.style[D]=F+(J.parentNode.offsetWidth-J.offsetWidth)+"px,0"+w),X!=V&&$.scrollableY&&(J=$.widget._scrollbarYNode,J.style[E+"Duration"]=G.bounceDuration+"ms",V>X?J.style[D]=F+"0,0"+w:J.style[D]=F+"0,"+(J.parentNode.offsetHeight-J.offsetHeight)+"px"+w)):Z()}function W(K){var H=r[K],V=o[K],$,G,Q,J=1.15;if(delete o[K],H.timer&&clearTimeout(H.timer),H.resetEffects=S,$=u.exec(H.node.style[D]),$?(G=+$[1],Q=+$[2]):G=Q=0,!H.velX&&!H.velY||(G>=0||G<=-(H.scrollWidth-H.parentWidth))&&(Q>=0||Q<=-(H.scrollHeight-H.parentHeight))){O(K,G,Q);return}function Y(X,Z){return(X.velX<=0&&Z.velX<=0||X.velX>=0&&Z.velX>=0)&&(X.velY<=0&&Z.velY<=0||X.velY>=0&&Z.velY>=0)}V&&(V.velX||V.velY)&&Y(H,V)&&(H.velX=(H.velX+V.velX)*J,H.velY=(H.velY+V.velY)*J),H.lastX=G,H.lastY=Q,H.calcFunc=function(){j(K)},H.timer=setTimeout(H.calcFunc,t)}function j(K){var H=r[K],V,$,G,Q,J,Y,X,Z,q=6;if(!!H)if(V=H.node,$=V.parentNode,G=H.widget,X=G.glideDecel(H.velX),Z=G.glideDecel(H.velY),Math.abs(X)>=a||Math.abs(Z)>=a){if(J=H.lastX+X,Y=H.lastY+Z,J>0||J<-(H.scrollWidth-H.parentWidth))for(Q=q;Q--;)X=G.glideDecel(X);if(Y>0||Y<-(H.scrollHeight-H.parentHeight))for(Q=q;Q--;)Z=G.glideDecel(Z);R(G,-J,-Y),H.lastX=J,H.lastY=Y,H.velX=X,H.velY=Z,H.timer=setTimeout(H.calcFunc,t)}else O(K,H.lastX,H.lastY)}return y(null,{touchesToScroll:1,touchNode:null,scrollThreshold:10,bounceDuration:300,postCreate:function(){this._initTouch(),this.inherited(arguments)},_initTouch:function(){var K=this.touchNode=this.touchNode||this.containerNode,H=this,V;if(!K||!K.parentNode){console.warn("TouchScroll requires a nested node upon which to operate.");return}V=K.parentNode,V.style.overflow="hidden",K.style[E+"Property"]=g+"transform",K.style[E+"TimingFunction"]="cubic-bezier(0.33, 0.66, 0.66, 1)";function $(){H.cancelTouchScroll()}function G(Q){return function(J){J.widget=H,J.cancelTouchScroll=$,Q.call(this,J)}}this._touchScrollListeners=[m(V,"touchstart",G(I)),m(V,"touchmove",G(B)),m(V,"touchend,touchcancel",G(P))]},destroy:function(){for(var K=this._touchScrollListeners.length;K--;)this._touchScrollListeners[K].remove();delete r[this.id],this.inherited(arguments)},scrollTo:function(K){var H=r[this.id],V=this.touchNode,$=V.parentNode;!K.preserveMomentum&&H&&H.resetEffects&&H.resetEffects(),K.x&&(K.x=Math.max(0,Math.min(K.x,V.scrollWidth-$.offsetWidth))),K.y&&(K.y=Math.max(0,Math.min(K.y,V.scrollHeight-$.offsetHeight))),R(this,K)},getScrollPosition:function(){var K=T(this);return K?{x:-K[1],y:-K[2]}:{x:0,y:0}},cancelTouchScroll:function(){var K=r[this.id];!K||(K.resetEffects?K.resetEffects():(K.timer&&clearTimeout(K.timer),n(K.node.parentNode,".touchscroll-fadeout")),delete r[this.id])},glideDecel:function(K){return K*.9}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(8)],C=l.dj.d(A,function(y){var m=["ms","O","Moz","Webkit"];function h(d,n){var e=d.style,t;if(n in e)return!0;for(n=n.slice(0,1).toUpperCase()+n.slice(1),t=m.length;t--;)if(m[t]+n in e)return m[t];return!1}return y.add("css-transitions",function(d,n,e){return h(e,"transitionProperty")}),y.add("css-transforms",function(d,n,e){return h(e,"transform")}),y.add("css-transforms3d",function(d,n,e){return h(e,"perspective")}),y.add("transitionend",function(){var d=y("css-transitions");return d?d===!0?"transitionend":{ms:"MSTransitionEnd",O:"oTransitionEnd",Moz:"transitionend",Webkit:"webkitTransitionEnd"}[d]:!1}),y},_,M),_.exports=C},function(_,M,l){var A=l(256),C=l(524);C=C.__esModule?C.default:C,typeof C=="string"&&(C=[[_.i,C,""]]);var y={};y.insert="head",y.singleton=!1;var m=A(C,y);_.exports=C.locals||{}},function(_,M,l){M=_.exports=l(257)(!1),M.push([_.i,`/* styles for scrollbars during touch-scroll */
|
||
|
||
.touchscroll-x, .touchscroll-y {
|
||
display: none; /* overridden below */
|
||
overflow: hidden; /* cut off ends of scrollbar during rubber-banding */
|
||
position: absolute;
|
||
/* establish base style for scrollbar fade-in/out */
|
||
opacity: 0.7;
|
||
}
|
||
.touchscroll-fadeout .touchscroll-x, .touchscroll-fadeout .touchscroll-y {
|
||
opacity: 0;
|
||
-webkit-transition: opacity 0.3s ease-out 0.1s;
|
||
-moz-transition: opacity 0.3s ease-out 0.1s;
|
||
-o-transition: opacity 0.3s ease-out 0.1s;
|
||
transition: opacity 0.3s ease-out 0.1s;
|
||
}
|
||
|
||
.touchscroll-bar {
|
||
background-color: rgba(88,88,88,0.97);
|
||
border: 1px solid rgba(88,88,88,1);
|
||
border-radius: 3px;
|
||
|
||
/* the borders aren't anti-aliased on Android, so this smooths it out a bit */
|
||
-webkit-box-shadow: 0 0 1px rgba(88,88,88,0.4);
|
||
}
|
||
|
||
.touchscroll-x {
|
||
left: 1px;
|
||
right: 3px;
|
||
bottom: 1px;
|
||
height: 5px;
|
||
}
|
||
.touchscroll-y {
|
||
top: 1px;
|
||
bottom: 3px;
|
||
right: 1px;
|
||
width: 5px;
|
||
}
|
||
|
||
.touchscroll-scrollable-x .touchscroll-x, .touchscroll-scrollable-y .touchscroll-y {
|
||
display: block; /* display scrollbar when appropriate */
|
||
}
|
||
|
||
.touchscroll-bar {
|
||
/* Establish transition property and timing function for scrollbars */
|
||
-webkit-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
|
||
-moz-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
|
||
-o-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
|
||
transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
|
||
}
|
||
|
||
/* indicator of a successful load */
|
||
#dgrid-css-TouchScroll-loaded {
|
||
display: none;
|
||
}`,""])},function(_,M,l){var A,C;A=[l(8)],C=l.dj.d(A,function(y){var m={};return function(){for(var h,d=arguments,n=0;n<d.length;n++){var h=d[n];if(!m[h]){m[h]=!0;var e=h.match(/^(no-)?(.+?)((-[\d\.]+)(-[\d\.]+)?)?$/),t=y(e[2]),r=-e[4];(r>0?r<=t&&(-e[5]||r)>=t:!!t)==!e[1]&&(document.documentElement.className+=" has-"+h)}}}},_,M),_.exports=C},function(_,M,l){var A=l(256),C=l(527);C=C.__esModule?C.default:C,typeof C=="string"&&(C=[[_.i,C,""]]);var y={};y.insert="head",y.singleton=!1;var m=A(C,y);_.exports=C.locals||{}},function(_,M,l){var A=l(528);M=_.exports=l(257)(!1),M.push([_.i,`/* This stylesheet provides the structural CSS for the dgrid */
|
||
.dgrid {
|
||
position: relative;
|
||
overflow: hidden; /* This is needed by IE to prevent crazy scrollbar flashing */
|
||
border: 1px solid #ddd;
|
||
height: 30em;
|
||
display: block;
|
||
}
|
||
|
||
.dgrid-header {
|
||
background-color: #eee;
|
||
}
|
||
|
||
.dgrid-header-row {
|
||
position: absolute;
|
||
right: 17px; /* scrollbar width; revised in List.js if necessary */
|
||
left: 0;
|
||
}
|
||
|
||
.dgrid-header-scroll {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
}
|
||
|
||
.dgrid-footer {
|
||
position: absolute;
|
||
bottom: 0;
|
||
width: 100%;
|
||
}
|
||
|
||
.dgrid-header-hidden,
|
||
html.has-quirks .dgrid-header-hidden .dgrid-cell {
|
||
/*
|
||
Used to "hide" header, without losing size information for reference.
|
||
!important is used to supersede theme styles at higher specificity.
|
||
Left/right box styles are untouched, as they may influence width of
|
||
.dgrid-content as updated in Grid's resize method.
|
||
Note: Still not quite perfect in IE Quirks mode (1px left over).
|
||
*/
|
||
font-size: 0; /* allow shrinkage in IE Quirks mode for Lists */
|
||
height: 0 !important;
|
||
border-top: none !important;
|
||
border-bottom: none !important;
|
||
margin-top: 0 !important;
|
||
margin-bottom: 0 !important;
|
||
padding-top: 0 !important;
|
||
padding-bottom: 0 !important;
|
||
}
|
||
|
||
.dgrid-footer-hidden {
|
||
/* Hiding footer is much simpler; simply set its display to none. */
|
||
display: none;
|
||
}
|
||
|
||
.dgrid-sortable {
|
||
cursor: pointer;
|
||
}
|
||
.dgrid-header, .dgrid-header-row, .dgrid-footer {
|
||
overflow: hidden;
|
||
background-color: #eee;
|
||
}
|
||
|
||
.dgrid-row-table {
|
||
border-collapse: collapse;
|
||
border: none;
|
||
table-layout: fixed;
|
||
empty-cells: show;
|
||
width: 100%; /* this becomes 'auto' for IE7 (non-quirks) */
|
||
height: 100%;
|
||
}
|
||
.dgrid-cell {
|
||
padding: 0px;
|
||
text-align: left;
|
||
overflow: hidden;
|
||
vertical-align: top;
|
||
border: 1px solid #ddd;
|
||
border-top-style: none;
|
||
|
||
box-sizing: border-box;
|
||
-moz-box-sizing: border-box;
|
||
-ms-box-sizing: border-box;
|
||
-webkit-box-sizing: border-box;
|
||
}
|
||
.dgrid-cell-padding {
|
||
padding: 3px;
|
||
}
|
||
|
||
.dgrid-content {
|
||
position: relative;
|
||
height: 99%;
|
||
}
|
||
|
||
.dgrid-scroller {
|
||
overflow-x: auto;
|
||
overflow-y: scroll;
|
||
position: absolute;
|
||
top: 0px;
|
||
margin-top: 25px; /* this will be adjusted programmatically to fit below the header*/
|
||
bottom: 0px;
|
||
width: 100%;
|
||
}
|
||
|
||
.dgrid-preload {
|
||
/* Force IE6 to honor 0 height */
|
||
font-size: 0;
|
||
line-height: 0;
|
||
}
|
||
|
||
.dgrid-loading {
|
||
position: relative;
|
||
height: 100%;
|
||
}
|
||
.dgrid-above {
|
||
position: absolute;
|
||
bottom: 0;
|
||
}
|
||
|
||
.ui-icon {
|
||
width: 16px;
|
||
height: 16px;
|
||
background-image: url(`+A(l(529))+`);
|
||
}
|
||
|
||
.ui-icon-triangle-1-e {
|
||
background-position: -32px -16px;
|
||
}
|
||
.ui-icon-triangle-1-se {
|
||
background-position: -48px -16px;
|
||
}
|
||
|
||
.dgrid-expando-icon {
|
||
width: 16px;
|
||
height: 16px;
|
||
}
|
||
.dgrid-tree-container {
|
||
-webkit-transition-duration: 0.3s;
|
||
-moz-transition-duration: 0.3s;
|
||
-ms-transition-duration: 0.3s;
|
||
-o-transition-duration: 0.3s;
|
||
transition-duration: 0.3s;
|
||
overflow: hidden;
|
||
}
|
||
.dgrid-tree-container.dgrid-tree-resetting {
|
||
-webkit-transition-duration: 0;
|
||
-moz-transition-duration: 0;
|
||
-ms-transition-duration: 0;
|
||
-o-transition-duration: 0;
|
||
transition-duration: 0;
|
||
}
|
||
|
||
/* Single Sort */
|
||
.dgrid-sort-arrow {
|
||
background-position: -64px -16px;
|
||
display: block;
|
||
float: right;
|
||
margin: 0 4px 0 5px;
|
||
height: 12px;
|
||
}
|
||
.dgrid-sort-up .dgrid-sort-arrow {
|
||
background-position: 0px -16px;
|
||
}
|
||
|
||
/* selection*/
|
||
.dgrid-selected {
|
||
background-color: #bfd6eb;
|
||
}
|
||
|
||
.dgrid-input {
|
||
width: 99%;
|
||
}
|
||
|
||
/* UA-specific hacks*/
|
||
html.has-mozilla .dgrid *:focus, html.has-opera .dgrid *:focus {
|
||
/* firefox's focus doesn't work by default for divs prior to actually tabbing into it. This fixes that
|
||
(we don't do any other browsers because we are trying to stay as close to native as possible) */
|
||
outline: 1px dotted;
|
||
}
|
||
html.has-ie-6-7.has-no-quirks .dgrid-row-table {
|
||
/* in IE7 this is needed instead of 100% to make it not create a horizontal scroll bar*/
|
||
width: auto;
|
||
}
|
||
html.has-quirks .dgrid-row-table, html.has-ie-6 .dgrid-row-table {
|
||
/* similar story, height looks too high */
|
||
height: auto;
|
||
}
|
||
|
||
html.has-quirks .dgrid-header-scroll,
|
||
html.has-ie-6 .dgrid-header-scroll {
|
||
/* ensure that header scroll node can shrink to 0 height in IE6 & quirks */
|
||
font-size: 0;
|
||
}
|
||
|
||
html.has-mozilla .dgrid-focus {
|
||
/* fix row focus outline (prevents horizontal scroll in FF 3.6) */
|
||
outline-offset: -1px;
|
||
}
|
||
|
||
/* will be used to calculate the width of the scrollbar */
|
||
.dgrid-scrollbar-measure {
|
||
width: 100px;
|
||
height: 100px;
|
||
overflow: scroll;
|
||
position: absolute;
|
||
top: -9999px;
|
||
}
|
||
|
||
/* Styles for auto-height grids; simply add the dgrid-autoheight class */
|
||
.dgrid-autoheight {
|
||
height: auto;
|
||
}
|
||
.dgrid-autoheight .dgrid-scroller {
|
||
position: relative;
|
||
overflow-y: hidden;
|
||
}
|
||
.dgrid-autoheight .dgrid-header-scroll {
|
||
display: none;
|
||
}
|
||
.dgrid-autoheight .dgrid-header {
|
||
right: 0;
|
||
}
|
||
|
||
/* indicator of a successful load */
|
||
#dgrid-css-dgrid-loaded {
|
||
display: none;
|
||
}`,""])},function(_,M){_.exports=function(A){return typeof A!="string"?A:(/^['"].*['"]$/.test(A)&&(A=A.slice(1,-1)),/["'() \t\n]/.test(A)?'"'+A.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':A)}},function(_,M,l){_.exports=l.p+"images/ui-icons_222222_256x240-ebe6b6902a408fbf9cac6379a1477525.png"},function(_,M,l){var A,C;A=[l(6),l(1),l(0),l(40),l(4),l(17),l(77)],C=l.dj.d(A,function(y,m,h,d,n,e,t){function r(a){return a}function o(a){if(typeof a!="object")a=new Error(a);else if(a.dojoType==="cancel")return;a.grid=this,n.emit(this.domNode,"dgrid-error",{grid:this,error:a,cancelable:!0,bubbles:!0})&&console.error(a)}return m(null,{store:null,query:null,queryOptions:null,getBeforePut:!0,noDataMessage:"",loadingMessage:"",constructor:function(){this.query={},this.queryOptions={},this.dirty={},this._updating={},this._columnsWithSet={},e.before(this,"configStructure",h.hitch(this,function(){this._columnsWithSet={}}))},postCreate:function(){this.inherited(arguments),this.store&&this._updateNotifyHandle(this.store)},destroy:function(){this.inherited(arguments),this._notifyHandle&&this._notifyHandle.remove()},_configColumn:function(a){a.set&&(this._columnsWithSet[a.field]=a),this.inherited(arguments)},_updateNotifyHandle:function(a){if(this._notifyHandle&&(this._notifyHandle.remove(),delete this._notifyHandle),a&&typeof a.notify=="function"){this._notifyHandle=e.after(a,"notify",h.hitch(this,"_onNotify"),!0);var i=this.get("sort");(!i||!i.length)&&console.warn("Observable store detected, but no sort order specified. You may experience quirks when adding/updating items. These can be resolved by setting a sort order on the list or grid.")}},_setStore:function(a,i,u){this._updateNotifyHandle(a),this.store=a,this.dirty={},this.set("query",i,u)},_setQuery:function(a,i){var u=i&&i.sort;this.query=a!==void 0?a:this.query,this.queryOptions=i||this.queryOptions,u?this.set("sort",u):this.refresh()},setStore:function(a,i,u){y.deprecated("setStore(...)",'use set("store", ...) instead',"dgrid 0.4"),this.set("store",a,i,u)},setQuery:function(a,i){y.deprecated("setQuery(...)",'use set("query", ...) instead',"dgrid 0.4"),this.set("query",a,i)},_getQueryOptions:function(){var a=h.delegate(this.queryOptions,{});return(typeof this._sort=="function"||this._sort.length)&&(a.sort=this._sort),a},_getQuery:function(){var a=this.query;return typeof a=="object"&&a!=null?h.delegate(a,{}):a},_setSort:function(a,i){this.store&&(this._lastCollection=null),this.inherited(arguments)},_onNotify:function(a,i){this.inherited(arguments),a&&this._numObservers<1&&this.refresh({keepScrollPosition:!0})},refresh:function(){var a=this.inherited(arguments);return this.store||(this.noDataNode=t(this.contentNode,"div.dgrid-no-data"),this.noDataNode.innerHTML=this.noDataMessage),a},renderArray:function(){var a=this,i=this.inherited(arguments);return this.store||d.when(i,function(u){u.length&&a.noDataNode&&t(a.noDataNode,"!")}),i},insertRow:function(a,i,u,s,c){var f=this.store,p=this.dirty,v=f&&f.getIdentity(a),g;return v in p&&!(v in this._updating)&&(g=p[v]),g&&(a=h.delegate(a,g)),this.inherited(arguments)},updateDirty:function(a,i,u){var s=this.dirty,c=s[a];c||(c=s[a]={}),c[i]=u},setDirty:function(a,i,u){y.deprecated("setDirty(...)","use updateDirty() instead","dgrid 0.4"),this.updateDirty(a,i,u)},save:function(){var a=this,i=this.store,u=this.dirty,s=new d,c=s.promise,f=function(E){var D;return a.getBeforePut||!(D=a.row(E).data)?function(){return i.get(E)}:function(){return D}};function p(E,D){return function(F){var w=a._columnsWithSet,x=a._updating,R,T;if(typeof F.set=="function")F.set(D);else for(R in D)F[R]=D[R];for(R in w)T=w[R].set(F),T!==void 0&&(F[R]=T);return x[E]=!0,d.when(i.put(F),function(){delete u[E],delete x[E]})}}for(var v in u){var g=p(v,u[v]);c=c.then(f(v)).then(g)}return s.resolve(),c},revert:function(){this.dirty={},this.refresh()},_trackError:function(a){var i;typeof a=="string"&&(a=h.hitch(this,a));try{i=a()}catch(u){o.call(this,u)}return d.when(i,r,h.hitch(this,o))},newRow:function(){var a=this.inherited(arguments);return this.noDataNode&&(t(this.noDataNode,"!"),delete this.noDataNode),a},removeRow:function(a,i){var u={element:a};return!i&&this.noDataMessage&&this.up(u).element===a&&this.down(u).element===a&&(this.noDataNode=t(this.contentNode,"div.dgrid-no-data"),this.noDataNode.innerHTML=this.noDataMessage),this.inherited(arguments)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(1),l(40),l(4),l(8),l(17),l(253),l(532),l(255),l(77),l(36),l(86)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a){n.add("dom-comparedocumentposition",function(E,D,F){return!!F.compareDocumentPosition}),n.add("css-user-select",function(E,D,F){var w=F.style,x=["Khtml","O","ms","Moz","Webkit"],R=x.length,T="userSelect";do if(typeof w[T]!="undefined")return T;while(R--&&(T=x[R]+"UserSelect"));return!1}),n.add("dom-selectstart",typeof document.onselectstart!="undefined");var i=n("mac")?"metaKey":"ctrlKey",u=n("css-user-select"),s=r.pointer,c=r.MSPointer,f=s?s+(c?"Down":"down"):"mousedown",p=s?s+(c?"Up":"up"):"mouseup";function v(E,D){for(var F=E.unselectable=D?"on":"",w=E.getElementsByTagName("*"),x=w.length;--x;)w[x].tagName==="INPUT"||w[x].tagName==="TEXTAREA"||(w[x].unselectable=F)}function g(E,D){var F=E.bodyNode,w=D?"text":n("ff")<21?"-moz-none":"none";u&&u!=="msUserSelect"?F.style[u]=w:n("dom-selectstart")?!D&&!E._selectstartHandle?E._selectstartHandle=d(F,"selectstart",function(x){var R=x.target&&x.target.tagName;R!=="INPUT"&&R!=="TEXTAREA"&&x.preventDefault()}):D&&E._selectstartHandle&&(E._selectstartHandle.remove(),delete E._selectstartHandle):(v(F,!D),!D&&!E._unselectableHandle?E._unselectableHandle=e.after(E,"renderRow",function(x){return v(x,!0),x}):D&&E._unselectableHandle&&(E._unselectableHandle.remove(),delete E._unselectableHandle))}return m(null,{selectionDelegate:".dgrid-row",selectionEvents:f+","+p+",dgrid-cellfocusin",selectionTouchEvents:n("touch")?o.tap:null,deselectOnRefresh:!0,allowSelectAll:!1,selection:{},selectionMode:"extended",allowTextSelection:void 0,_selectionTargetType:"rows",create:function(){return this.selection={},this.inherited(arguments)},postCreate:function(){this.inherited(arguments),this._initSelectionEvents();var E=this.selectionMode;this.selectionMode="",this._setSelectionMode(E)},destroy:function(){this.inherited(arguments),this._selectstartHandle&&this._selectstartHandle.remove(),this._unselectableHandle&&this._unselectableHandle.remove(),this._removeDeselectSignals&&this._removeDeselectSignals()},_setSelectionMode:function(E){E!=this.selectionMode&&(this.clearSelection(),this.selectionMode=E,this._selectionHandlerName="_"+E+"SelectionHandler",this._setAllowTextSelection(this.allowTextSelection))},setSelectionMode:function(E){y.deprecated("setSelectionMode(...)",'use set("selectionMode", ...) instead',"dgrid 0.4"),this.set("selectionMode",E)},_setAllowTextSelection:function(E){typeof E!="undefined"?g(this,E):g(this,this.selectionMode==="none"),this.allowTextSelection=E},_handleSelect:function(E,D){!this[this._selectionHandlerName]||!this.allowSelect(this.row(D))||E.type==="dgrid-cellfocusin"&&E.parentType===f||E.type===p&&D!=this._waitForMouseUp||(this._waitForMouseUp=null,this._selectionTriggerEvent=E,(!E.keyCode||!E.ctrlKey||E.keyCode==32)&&(!E.shiftKey&&E.type===f&&this.isSelected(D)?this._waitForMouseUp=D:this[this._selectionHandlerName](E,D)),this._selectionTriggerEvent=null)},_singleSelectionHandler:function(E,D){var F=E.keyCode?E.ctrlKey:E[i];this._lastSelected===D?this.select(D,null,!F||!this.isSelected(D)):(this.clearSelection(),this.select(D),this._lastSelected=D)},_multipleSelectionHandler:function(E,D){var F=this._lastSelected,w=E.keyCode?E.ctrlKey:E[i],x;E.shiftKey||(x=w?null:!0,F=null),this.select(D,F,x),F||(this._lastSelected=D)},_extendedSelectionHandler:function(E,D){(E.button===2?!this.isSelected(D):!(E.keyCode?E.ctrlKey:E[i]))&&this.clearSelection(null,!0),this._multipleSelectionHandler(E,D)},_toggleSelectionHandler:function(E,D){this.select(D,null,null)},_initSelectionEvents:function(){var E=this,D=this.contentNode,F=this.selectionDelegate;this._selectionEventQueues={deselect:[],select:[]},n("touch")&&!n("pointer")&&this.selectionTouchEvents?(d(D,o.selector(F,this.selectionTouchEvents),function(w){E._handleSelect(w,this),E._ignoreMouseSelect=this}),d(D,d.selector(F,this.selectionEvents),function(w){E._ignoreMouseSelect!==this?E._handleSelect(w,this):w.type===p&&(E._ignoreMouseSelect=null)})):d(D,d.selector(F,this.selectionEvents),function(w){E._handleSelect(w,this)}),this.addKeyHandler&&this.addKeyHandler(32,function(w){E._handleSelect(w,w.target)}),this.allowSelectAll&&this.on("keydown",function(w){w[i]&&w.keyCode==65&&!/\bdgrid-input\b/.test(w.target.className)&&(w.preventDefault(),E[E.allSelected?"clearSelection":"selectAll"]())}),this._setStore&&e.after(this,"_setStore",function(){E._updateDeselectionAspect()}),this._updateDeselectionAspect()},_updateDeselectionAspect:function(){var E=this,D=this.store,F,w;function x(R,T,S){var I=T||R&&R[E.idProperty||"id"];if(I!=null){var B=E.row(I),P=B&&E.selection[B.id];P&&E[S](B,null,P)}}this._removeDeselectSignals&&this._removeDeselectSignals(),D&&D.notify?(F=e.before(D,"notify",function(R,T){R||x(R,T,"deselect")}),w=e.after(D,"notify",function(R,T){x(R,T,"select")},!0),this._removeDeselectSignals=function(){F.remove(),w.remove()}):(F=e.before(this,"removeRow",function(R,T){var S;T||(S=this.row(R),S&&S.id in this.selection&&this.deselect(S))}),this._removeDeselectSignals=function(){F.remove()})},allowSelect:function(E){return!0},_fireSelectionEvent:function(E){var D=this._selectionEventQueues[E],F=this._selectionTriggerEvent,w;w={bubbles:!0,grid:this},F&&(w.parentType=F.type),w[this._selectionTargetType]=D,d.emit(this.contentNode,"dgrid-"+E,w),this._selectionEventQueues[E]=[]},_fireSelectionEvents:function(){var E=this._selectionEventQueues,D;for(D in E)E[D].length&&this._fireSelectionEvent(D)},_select:function(E,D,F){var w,x,R,T,S;if(typeof F=="undefined"&&(F=!0),E.element||(E=this.row(E)),(F===!1||this.allowSelect(E))&&(w=this.selection,x=!!w[E.id],F===null&&(F=!x),R=E.element,!F&&!this.allSelected?delete this.selection[E.id]:w[E.id]=F,R&&(F?a(R,".dgrid-selected"+(this.addUiClasses?".ui-state-active":"")):a(R,"!dgrid-selected!ui-state-active")),F!==x&&R&&this._selectionEventQueues[(F?"":"de")+"select"].push(E),D)){if(D.element||(D=this.row(D)),!D){this._lastSelected=R,console.warn("The selection range has been reset because the beginning of the selection is no longer in the DOM. If you are using OnDemandList, you may wish to increase farOffRemoval to avoid this, but note that keeping more nodes in the DOM may impact performance.");return}if(T=D.element,T)for(S=this._determineSelectionDirection(R,T),S||(T=document.getElementById(T.id),S=this._determineSelectionDirection(R,T));E.element!=T&&(E=this[S](E));)this._select(E,null,F)}},_determineSelectionDirection:n("dom-comparedocumentposition")?function(E,D){var F=D.compareDocumentPosition(E);return F&1?!1:F===2?"down":"up"}:function(E,D){return D.sourceIndex<1?!1:D.sourceIndex>E.sourceIndex?"down":"up"},select:function(E,D,F){this._select(E,D,F),this._fireSelectionEvents()},deselect:function(E,D){this.select(E,D,!1)},clearSelection:function(E,D){this.allSelected=!1;for(var F in this.selection)E!==F&&this._select(F,null,!1);D||(this._lastSelected=null),this._fireSelectionEvents()},selectAll:function(){this.allSelected=!0,this.selection={};for(var E in this._rowIdToObject){var D=this.row(this._rowIdToObject[E]);this._select(D.id,null,!0)}this._fireSelectionEvents()},isSelected:function(E){return typeof E=="undefined"||E===null?!1:(E.element||(E=this.row(E)),E.id in this.selection?!!this.selection[E.id]:this.allSelected&&(!E.data||this.allowSelect(E)))},refresh:function(){return this.deselectOnRefresh&&this.clearSelection(),this._lastSelected=null,this.inherited(arguments)},renderArray:function(){var E=this,D=this.inherited(arguments);return h.when(D,function(F){var w=E.selection,x,R,T;for(x=0;x<F.length;x++)R=E.row(F[x]),T=R.id in w?w[R.id]:E.allSelected,T&&E._select(R,null,T);E._fireSelectionEvents()}),D}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(8)],C=l.dj.d(A,function(y){y.add("pointer",function(n){return"PointerEvent"in n?"pointer":"MSPointerEvent"in n?"MSPointer":!1});var m=y("pointer"),h=m&&m.slice(0,2)==="MS",d={};return d.pointer=m,d.MSPointer=h,d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(0),l(61)],C=l.dj.d(A,function(y,m,h){var d=function(n){if(!n)return n;var e=!!n.then;e&&(n=m.delegate(n));function t(r){n[r]=function(){var o=arguments,a=h(n,function(i){return Array.prototype.unshift.call(o,i),d(y[r].apply(y,o))});if(r!=="forEach"||e)return a}}return t("forEach"),t("filter"),t("map"),n.total==null&&(n.total=h(n,function(r){return r.length})),n};return m.setObject("dojo.store.util.QueryResults",d),d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9)],C=l.dj.d(A,function(y){return function(m,h){switch(typeof m){default:throw new Error("Can not query with a "+typeof m);case"object":case"undefined":var d=m;m=function(e){for(var t in d){var r=d[t];if(r&&r.test){if(!r.test(e[t],e))return!1}else if(r!=e[t])return!1}return!0};break;case"string":if(!this[m])throw new Error("No filter function "+m+" was found in store");m=this[m];case"function":}function n(e){var t=y.filter(e,m),r=h&&h.sort;if(r&&t.sort(typeof r=="function"?r:function(a,i){for(var u,s=0;u=r[s];s++){var c=a[u.attribute],f=i[u.attribute];if(c=c!=null?c.valueOf():c,f=f!=null?f.valueOf():f,c!=f)return!!u.descending==(c==null||c>f)?-1:1}return 0}),h&&(h.start||h.count)){var o=t.length;t=t.slice(h.start||0,(h.start||0)+(h.count||1/0)),t.total=o}return t}return n.matches=m,n}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(10),l(11),l(14),l(56),l(4),l(36),l(50)],C=l.dj.d(A,function(y,m,h,d,n,e,t){return function(r){const o=1e3,a=y.create("div",{class:"indicator"});return n(a,n.selector(".bar","click"),E),{domNode:a,refresh:u,clear:p};function u(){const D=r.data,F=D.currentFile;if(!F)return;const w=D.files.get(F),x=w.codeList.length,R=r.highlightor;p(),R.inHighlight&&v(w.codeList),s(x,w),c(x,w),f(x,r.annotator.data[F])}function s(D,F){if(!r.config.covOn)return;const w=r.config.covType,x=F.cov,R=x&&x[w];if(!R)return;const T={};R.probes.forEach(function(S){const I=S.line;T[I]=!0}),Object.keys(T).forEach(function(S){const I=parseInt(S),P=F.codeList[I-1].cov[w].level,L=y.create("div",{class:"cov"},a);L.setAttribute("covLevel",P);const O=(I-.9)*100/D+"%",W=(D-I+.1)*100/D+"%";h.set(L,"top",O),h.set(L,"bottom",W)})}function c(D,F){if(!r.config.cpOn)return;const w=F.profiling;!w||w.forEach(function(x){const R=y.create("div",{class:"cp"},a),T=(x-.9)*100/D+"%",S=(D-x+.1)*100/D+"%";h.set(R,"top",T),h.set(R,"bottom",S)})}function f(D,F){F.forEach(function(w){const x=y.create("div",{class:"anno"},a);x.setAttribute("flag",w.flag);const R=w.lines,T=R[0],S=R[1],I=(T-.9)*100/D+"%",B=(D-S+.1)*100/D+"%";h.set(x,"top",I),h.set(x,"bottom",B)})}function p(){a.innerHTML=""}function v(D){const F=D.length,w=D.filter(function(P){return P.hlcache.length>0}).map(function(P){return P.id});if(w.length===0)return;const x={},R=w.map(function(P){return g(P,F)}).filter(function(P){const L=P.scaled;return x.hasOwnProperty(L)?!1:(x[L]=!0,!0)}),T=r.highlightor.getCurrent(),S=T.file===r.data.currentFile?g(T.line,F):null,I=R.map(function(P){const L=y.create("div",{class:"bar"}),O=P.orig;L.setAttribute("line",O);const W=d.substitute(t.getString("SimulinkCoderApp:report:GoToLine"),[O]);L.setAttribute("title",W);const j=P.scaled*100/o;return j<50?h.set(L,"top",j+"%"):h.set(L,"bottom",100-j+"%"),S&&P.scaled===S.scaled&&m.add(L,"current"),L}),B=y.create("div");I.forEach(function(P){B.appendChild(P)}),a.innerHTML=B.innerHTML}function g(D,F){return{orig:D,scaled:Math.floor((D-1)*o/F)}}function E(D){const F=D.target,w=parseInt(F.getAttribute("line")),x=r.highlightor,R=x.getResults(),T=r.data.currentFile;R.some(function(S,I){if(S.file===T&&S.line===w)return x.setCurrent(S),!0}),r.show()}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(62),l(48),l(537),l(538),l(539),l(540)],C=l.dj.d(A,function(y,m){return m(y,"report/resources/RTW/nls/traceInfo",l.dj.c(),!0)},_,M),_.exports=C},function(_,M,l){_.exports={CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7",FunRate:"\u30BF\u30A4\u30DE\u30FC",HeaderNotFound:"Trace Matrix \u306F\u30D8\u30C3\u30C0\u30FC\u884C\u3092\u542B\u3093\u3067\u3044\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30C4\u30FC\u30EB\u306F\u3001\u524D\u306E\u30B3\u30E1\u30F3\u30C8 (\u5B58\u5728\u3059\u308B\u5834\u5408) \u3068\u4E00\u81F4\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093\u3002",IECLicenseNotAvailable:"IEC Certification Kit \u3082 DO Qualification kit \u306E\u30E9\u30A4\u30BB\u30F3\u30B9\u3082\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002",InitFun:"\u95A2\u6570",LicenseNotAvailable:"${0} \u306E\u30E9\u30A4\u30BB\u30F3\u30B9\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002",NoBuildDir:"\u30D3\u30EB\u30C9\u60C5\u5831\u3092\u5FA9\u65E7\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9\u3092\u518D\u751F\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",NoTraceForSelectedBlocks:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u9078\u629E\u3057\u305F\u30D6\u30ED\u30C3\u30AF\u3067\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002",NotAPC:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u95A2\u6570\u306F Windows \u30D9\u30FC\u30B9\u306E\u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u30FC\u4E0A\u3067\u5B9F\u884C\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",OneShot:"1 \u56DE\u547C\u3073\u51FA\u3057",RTWReportInformationSource:"\u30C7\u30FC\u30BF \u30BD\u30FC\u30B9\u306E\u30EC\u30DD\u30FC\u30C8",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Excel \u30B5\u30FC\u30D0\u30FC\u3092\u8D77\u52D5\u3067\u304D\u307E\u305B\u3093\u3002\u5236\u9650\u306B\u3064\u3044\u3066\u306F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C6\u30FC\u30B7\u30E7\u30F3\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"\u95A2\u6570",TermFun:"\u95A2\u6570",TraceFailure:"ExportTraceReport \u306B\u5931\u6557\u3057\u305F\u3089\u3001\u30E2\u30C7\u30EB\u304C\u958B\u3044\u3066\u3044\u308B\u3053\u3068\u3001\u30B3\u30FC\u30C9\u304C\u751F\u6210\u3055\u308C\u305F\u3053\u3068\u3001\u30B3\u30FC\u30C9\u306E\u30B3\u30E1\u30F3\u30C8\u304C\u6709\u52B9\u3067\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u307E\u3059\u3002",TraceUsagedo178b:"ExportTraceReport \u306F\u3001\u5C11\u306A\u304F\u3068\u3082\u30E2\u30C7\u30EB\u540D do178c.ExportTraceReport(<model>) \u3067\u547C\u3073\u51FA\u3055\u308C\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",TraceUsageiec:"ExportTraceReport \u304C\u5C11\u306A\u304F\u3068\u3082\u30E2\u30C7\u30EB\u540D iec.ExportTraceReport(<model>) \u3067\u547C\u3073\u51FA\u3055\u308C\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",UnableToOpenExcelFile:"Microsoft Office Excel \u3092\u8D77\u52D5\u3067\u304D\u307E\u305B\u3093",UpdateFun:"\u95A2\u6570",blockNotInModel:"'${0}' \u306F\u3001\u540C\u3058\u30E2\u30C7\u30EB\u306B\u5C5E\u3057\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",blockOutsideSystem:"'${0}' \u306F\u3001\u30BD\u30FC\u30B9\u306E\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u306E\u5916\u5074\u306B\u3042\u308B\u305F\u3081\u3001\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",blockToCodeHighlighting:"\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u3078\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3",browseButton:"\u5F37\u8ABF\u8868\u793A\u3059\u308B\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u53C2\u7167\u3057\u307E\u3059\u3002",buildDirBrowseButton:"\u53C2\u7167...",buildDirBrowseToolTip:"\u5F37\u8ABF\u8868\u793A\u3059\u308B\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u53C2\u7167\u3057\u307E\u3059\u3002",buildDirNotFound:"\u30E2\u30C7\u30EB ${1} \u306E\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC ${0} \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9\u304C\u751F\u6210\u3055\u308C\u305F\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",buildDirectory:"\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC",buildDirectoryToolTip:"\u8FFD\u8DE1\u3059\u308B\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",codeInfoNotAvailable:"\u3053\u306E\u30E2\u30C7\u30EB\u3067\u306F\u30B3\u30FC\u30C9\u60C5\u5831\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002",commentOptionOff:"'${0}' \u3067\u306F\u6B21\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3001[\u30B3\u30FC\u30C9\u751F\u6210]\u3001[\u30B3\u30E1\u30F3\u30C8]\u3001[\u30B3\u30E1\u30F3\u30C8\u3092\u542B\u3081\u308B] \u304A\u3088\u3073 [\u30B3\u30FC\u30C9\u751F\u6210]\u3001[\u30B3\u30E1\u30F3\u30C8]\u3001[Simulink \u30D6\u30ED\u30C3\u30AF / Stateflow \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30B3\u30E1\u30F3\u30C8] \u3092\u9078\u629E\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u9078\u629E\u3057\u3066\u30E2\u30C7\u30EB\u3092\u30EA\u30D3\u30EB\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",dlgDescription:`\u65E2\u5B58\u306E\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u304B\u3089\u751F\u6210\u30B3\u30FC\u30C9\u3092\u53D6\u308A\u51FA\u3057\u307E\u3059\u3002\u3053\u306E\u30B9\u30C6\u30C3\u30D7\u306F\u3001\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u73FE\u5728\u306E\u4F5C\u696D\u30D5\u30A9\u30EB\u30C0\u30FC\u306B\u306A\u304F\u3001\u30E2\u30C7\u30EB\u304C\u9589\u3058\u3089\u308C\u3066\u304A\u308A\u3001\u30B3\u30FC\u30C9\u751F\u6210\u5F8C\u306B\u518D\u5EA6\u958B\u304B\u308C\u305F\u5834\u5408\u306B\u306E\u307F\u5FC5\u8981\u3067\u3059\u3002
|
||
|
||
\u30E1\u30E2: \u30EA\u30D3\u30EB\u30C9\u3001\u307E\u305F\u306F\u30E2\u30C7\u30EB\u3092\u9589\u3058\u305F\u5834\u5408\u3001\u8A2D\u5B9A\u306F\u5931\u308F\u308C\u307E\u3059\u3002`,dlgDescriptionTitle:"\u8AAC\u660E",emptySubsystem:"Empty SubSystem",generatedCode:"\u751F\u6210\u30B3\u30FC\u30C9\u306E\u53D6\u5F97",htmlNotFound:"\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",htmlTimeStampNotMatch:"\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u3068\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002",illegalCharacter:"'${0}' \u306F\u3001\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u3078\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u5316\u3059\u308B\u4E0D\u6B63\u306A\u6587\u5B57 (\u4E00\u91CD\u5F15\u7528\u7B26) \u3092\u542B\u3093\u3067\u3044\u307E\u3059\u3002\u30D6\u30ED\u30C3\u30AF\u540D\u304B\u3089\u4E00\u91CD\u5F15\u7528\u7B26\u3092\u524A\u9664\u3057\u3001\u30E2\u30C7\u30EB\u3092\u30EA\u30D3\u30EB\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' \u306F\u3001\u30DE\u30B9\u30AF \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u3001Subsystem \u30D6\u30ED\u30C3\u30AF\u306E\u30EC\u30D9\u30EB\u3067\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u3001\u30DE\u30B9\u30AF\u5185\u306E\u500B\u3005\u306E\u30D6\u30ED\u30C3\u30AF\u306B\u5BFE\u3057\u3066\u5229\u7528\u3067\u304D\u307E\u3059\u3002",maskedSubsystem:"Masked SubSystem",modelChanged:"\u30E2\u30C7\u30EB\u306F\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u73FE\u5728\u306E\u3082\u306E\u3067\u306F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",modelDirNotMatch:`\u30E2\u30C7\u30EB\u306E\u73FE\u5728\u306E\u30D1\u30B9\u306F\u3001\u30B3\u30FC\u30C9\u751F\u6210\u6642\u306E\u3082\u306E\u3068\u540C\u3058\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002
|
||
\u73FE\u5728\u306E\u30D1\u30B9:
|
||
'\${0}'
|
||
\u4EE5\u524D\u306E\u30D1\u30B9:
|
||
'\${1}'`,modelUnsaved:"\u30E2\u30C7\u30EB\u3078\u306E\u5909\u66F4\u306F\u4FDD\u5B58\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u73FE\u5728\u306E\u3082\u306E\u3067\u306F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",notGenerated:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u304C\u751F\u6210\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",notReady:"\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",notTraceable:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u304C\u898B\u3064\u304B\u3089\u306A\u3044\u305F\u3081\u3001'${0}' \u306B\u95A2\u3059\u308B\u30B3\u30FC\u30C9\u306F\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' \u306F\u3001\u30E2\u30C7\u30EB '${1}' \u306B\u5BFE\u3059\u308B\u6709\u52B9\u306A\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u6709\u52B9\u306A\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u3078\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093\u3002",reducedBlock:"'${0}' \u306F\u3001\u30E2\u30C7\u30EB\u306E\u30B3\u30F3\u30D1\u30A4\u30EB\u4E2D\u306B\u524A\u6E1B\u3055\u308C\u307E\u3059\u3002\u30B3\u30FC\u30C9\u306F\u524A\u6E1B\u3055\u308C\u305F\u30D6\u30ED\u30C3\u30AF\u306B\u5BFE\u3057\u3066\u751F\u6210\u3055\u308C\u307E\u305B\u3093\u3002",reusableFunction:"'${0}' \u306B\u5BFE\u3059\u308B\u30B3\u30FC\u30C9\u306F\u3001\u518D\u5229\u7528\u53EF\u80FD\u306A\u95A2\u6570\u304B\u3089\u306E\u3082\u306E\u3067\u3042\u308B\u305F\u3081\u3001\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",srcNotFound:"\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u304C\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u5185\u3067\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",srcTimeStampNotFound:"\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u304C\u73FE\u5728\u306E\u3082\u306E\u3067\u3042\u308B\u304B\u3069\u3046\u304B\u3092\u691C\u8A3C\u3059\u308B\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",srcTimeStampNotMatch:"\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3068\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002",tInfoExcelCheckSumFailed:"\u95A2\u6570\u306F\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0\u3092\u8A08\u7B97\u3067\u304D\u307E\u305B\u3093",tInfoExcelCodeInfoTab:"\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9",tInfoExcelError_BadHeader:"\u5165\u529B\u306E\u30D8\u30C3\u30C0\u30FC \u30D5\u30A1\u30A4\u30EB\u306F\u30BB\u30EB\u914D\u5217\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093",tInfoExcelError_ExcelFileFiledToOpen:"Excel \u30D5\u30A1\u30A4\u30EB '${0}' \u3092\u958B\u304F\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093",tInfoExcelError_InvalidHeaderEntry:"\u30D8\u30C3\u30C0\u30FC\u306E\u30A8\u30F3\u30C8\u30EA '${0}' \u306F\u3001\u6709\u52B9\u306A\u30A8\u30F3\u30C8\u30EA\u3067\u306F\u3042\u308A\u307E\u305B\u3093",tInfoExcelError_NoWritePer:"MATLAB \u306F\u9078\u629E\u3057\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA '${0}' \u306B\u66F8\u304D\u8FBC\u307F\u3067\u304D\u307E\u305B\u3093; \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u66F8\u304D\u8FBC\u307F\u6A29\u9650\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",tInfoExcelFileList:"\u30B3\u30FC\u30C9 \u30D5\u30A1\u30A4\u30EB",tInfoExcelFileLocation:"\u30D5\u30A1\u30A4\u30EB\u306E\u30D5\u30A9\u30EB\u30C0\u30FC",tInfoExcelFileName:"\u30D5\u30A1\u30A4\u30EB\u540D",tInfoExcelGUI_BadDirectory:"\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA '${0}' \u306F\u6709\u52B9\u306A\u9078\u629E\u3067\u306F\u3042\u308A\u307E\u305B\u3093",tInfoExcelGlobal:"\u30B0\u30ED\u30FC\u30D0\u30EB",tInfoExcelInfoTab:"\u30E2\u30C7\u30EB\u60C5\u5831",tInfoExcelLastUpdate:"\u6B21\u306E\u6700\u7D42\u66F4\u65B0\u65E5\u306B\u66F4\u65B0\u3055\u308C\u305F\u30E2\u30C7\u30EB",tInfoExcelLastUpdateBy:"\u6B21\u306E\u6700\u7D42\u7DE8\u96C6\u8005\u304C\u7DE8\u96C6\u3057\u305F\u30E2\u30C7\u30EB",tInfoExcelModelAuthor:"\u30E2\u30C7\u30EB\u306E\u4F5C\u6210\u8005",tInfoExcelModelCheckSum:"\u30E2\u30C7\u30EB\u306E\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0",tInfoExcelModelCol_1:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u540D",tInfoExcelModelCol_10:"\u8981\u4EF6\u30BD\u30FC\u30B9",tInfoExcelModelCol_11:"\u8981\u4EF6\u4F4D\u7F6E",tInfoExcelModelCol_12:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u56FA\u6709 ID",tInfoExcelModelCol_13:"\u30E2\u30C7\u30EB\u6700\u9069\u5316\u7406\u7531",tInfoExcelModelCol_14:"\u30E6\u30FC\u30C6\u30A3\u30EA\u30C6\u30A3\u95A2\u6570",tInfoExcelModelCol_15:"\u6700\u9069\u5316\u3055\u308C\u305F\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8",tInfoExcelModelCol_16:"\u30E2\u30C7\u30EB \u30D5\u30A1\u30A4\u30EB",tInfoExcelModelCol_17:"\u30E2\u30C7\u30EB \u30D5\u30A1\u30A4\u30EB\u306E\u5834\u6240",tInfoExcelModelCol_18:"\u30B3\u30FC\u30C9 \u30B3\u30E1\u30F3\u30C8\u306E\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0",tInfoExcelModelCol_19:"\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u4F7F\u7528\u65B9\u6CD5\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059",tInfoExcelModelCol_2:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30D1\u30B9",tInfoExcelModelCol_3:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0",tInfoExcelModelCol_4:"\u30B3\u30FC\u30C9 \u30D5\u30A1\u30A4\u30EB\u306E\u5834\u6240",tInfoExcelModelCol_5:"\u30B3\u30FC\u30C9 \u30D5\u30A1\u30A4\u30EB\u540D",tInfoExcelModelCol_6:"\u30B3\u30FC\u30C9\u95A2\u6570",tInfoExcelModelCol_7:"\u30B3\u30FC\u30C9\u884C\u756A\u53F7",tInfoExcelModelCol_8:"\u76F8\u5BFE\u4F4D\u7F6E",tInfoExcelModelCol_9:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30BF\u30A4\u30D7",tInfoExcelModelCreationDate:"\u6B21\u306E\u4F5C\u6210\u65E5\u306B\u4F5C\u6210\u3055\u308C\u305F\u30E2\u30C7\u30EB",tInfoExcelModelName:"\u30E2\u30C7\u30EB / \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u540D",tInfoExcelModelVersion:"\u30E2\u30C7\u30EB \u30D0\u30FC\u30B8\u30E7\u30F3",tInfoExcelNone:"\u306A\u3057",tInfoExcelNotUnique:"\u884C\u306F\u56FA\u6709\u3067\u306F\u3042\u308A\u307E\u305B\u3093:",tInfoExcelReport:"\u30EC\u30DD\u30FC\u30C8",tInfoExcelSubsystemCheckSum:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30C1\u30A7\u30C3\u30AF\u30B5\u30E0",tInfoExcelSubsystemCheckSumUsed:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u306E\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0\u5024\u304C\u30EC\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F",tInfoExcelSubsystemUsed:"\u30E1\u30E2: \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u304C\u5B9F\u884C\u3055\u308C\u307E\u3057\u305F\u3002",tInfoGUIAvailCol:"\u4F7F\u7528\u53EF\u80FD\u306A\u5217",tInfoGUIBrowse:"\u53C2\u7167...",tInfoGUIBrowseToolTip:"\u66F4\u65B0\u3059\u308B\u65E2\u5B58\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E\u3059\u308B\u304B\u3001\u65B0\u3057\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044",tInfoGUIDescription:"\u8AAC\u660E",tInfoGUIDescriptionText:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306F\u3001\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3001\u751F\u6210\u30B3\u30FC\u30C9\u3001\u304A\u3088\u3073\u30E2\u30C7\u30EB\u8981\u4EF6\u9593\u306E\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u3092 Excel \u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u3067\u63D0\u4F9B\u3057\u307E\u3059\u3002<br /><br /><b>[\u53C2\u7167]</b> \u30DC\u30BF\u30F3\u3092\u4F7F\u7528\u3057\u3066\u65E2\u5B58\u306E\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9 \u30EC\u30DD\u30FC\u30C8\u3092\u9078\u629E\u3057\u3066\u66F4\u65B0\u3059\u308B\u304B\u3001\u65B0\u3057\u3044\u30EC\u30DD\u30FC\u30C8\u306E\u540D\u524D\u3068\u5834\u6240\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30EA\u30B9\u30C8 \u30DA\u30A4\u30F3\u3092\u4F7F\u7528\u3057\u3066\u30EC\u30DD\u30FC\u30C8\u306E\u5217\u898B\u51FA\u3057\u3092\u5B9A\u7FA9\u3057\u307E\u3059\u3002<br><br><b>[\u751F\u6210]</b> \u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9 \u30EC\u30DD\u30FC\u30C8\u3092\u751F\u6210\u3057\u3066\u304F\u3060\u3055\u3044",tInfoGUIDiagTitle:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306E\u751F\u6210",tInfoGUIExcelFile:"Excel \u30D5\u30A1\u30A4\u30EB",tInfoGUIGenerate:"\u751F\u6210",tInfoGUIGenerateToolTip:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u3092\u751F\u6210\u3057\u307E\u3059",tInfoGUISelectedCol:"\u9078\u629E\u5217",tInfoGUIStarText:"<b>*</b> \u8981\u6C42\u3055\u308C\u305F\u9805\u76EE\u306E\u9078\u629E\u3092\u89E3\u9664\u3067\u304D\u307E\u305B\u3093",tooManyLines:"\u30D6\u30ED\u30C3\u30AF\u306E\u30B3\u30FC\u30C9\u306F\u3001\u5F37\u8ABF\u8868\u793A\u3059\u308B\u884C\u304C\u591A\u3059\u304E\u307E\u3059\u3002\u3044\u304F\u3064\u304B\u306E\u884C\u306F\u3001\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u5185\u3092\u5F37\u8ABF\u8868\u793A\u3055\u308C\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",traceInfoFileNotFound:`\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u304C\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC
|
||
'\${0}' \u5185\u306B
|
||
\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3059\u308B\u524D\u306B\u3001[\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC] \u30C0\u30A4\u30A2\u30ED\u30B0 \u30DC\u30C3\u30AF\u30B9\u3067 <a href="matlab:configset.highlightParameter('\${1}', 'GenerateTraceInfo')">[\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u306B]</a> \u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,traceInfoFileNotValid:`\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC
|
||
'\${0}'
|
||
\u306B\u683C\u7D0D\u3055\u308C\u3066\u3044\u308B\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u3092\u518D\u751F\u6210\u3059\u308B\u305F\u3081\u306B\u30E2\u30C7\u30EB\u3092\u30EA\u30D3\u30EB\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,traceInfoNotAvailable:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u3001\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u751F\u6210\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002[\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC] \u30C0\u30A4\u30A2\u30ED\u30B0 \u30DC\u30C3\u30AF\u30B9\u3067 <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">[\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u306B]</a> \u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",virtualBlock:"'${0}' \u306F\u30D0\u30FC\u30C1\u30E3\u30EB \u30D6\u30ED\u30C3\u30AF\u3067\u3059\u3002\u30B3\u30FC\u30C9\u306F\u30D0\u30FC\u30C1\u30E3\u30EB \u30D6\u30ED\u30C3\u30AF\u306B\u5BFE\u3057\u3066\u751F\u6210\u3055\u308C\u307E\u305B\u3093\u3002",virtualSubsystem:"Virtual SubSystem"}},function(_,M,l){_.exports={CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"Prototype",FunRate:"Timing",HeaderNotFound:"The Trace Matrix did not contain a header row. The tool will not be able to match previous comments (if present).",IECLicenseNotAvailable:"Neither an IEC Certification Kit or DO Qualification kit license are available.",InitFun:"Function",LicenseNotAvailable:"A ${0} license is not available.",NoBuildDir:"Cannot recover build information. Please regenerate code.",NoTraceForSelectedBlocks:"Traceability information is not available for the selected blocks.",NotAPC:"The Traceability Matrix Export function must be run on a Windows based machine.",OneShot:"Called once",RTWReportInformationSource:"Report data source",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Could not start Excel server. See documentation for resulting limitations",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"Function",TermFun:"Function",TraceFailure:"ExportTraceReport failed, verify that the model is open, that code was generated and that code comments were enabled.",TraceUsagedo178b:"ExportTraceReport must be called with at least the model name do178c.ExportTraceReport(<model>).",TraceUsageiec:"ExportTraceReport must be called with at least the model name iec.ExportTraceReport(<model>).",UnableToOpenExcelFile:"Microsoft Office Excel failed to start",UpdateFun:"Function",blockNotInModel:"'${0}' does not belong to the same model and cannot be traced.",blockOutsideSystem:"'${0}' is outside of source subsystem and cannot be traced.",blockToCodeHighlighting:"Model-to-code navigation",browseButton:"Browse to build folder to highlight.",buildDirBrowseButton:"Browse ...",buildDirBrowseToolTip:"Browse to build folder to highlight.",buildDirNotFound:"Cannot find build folder ${0} of model ${1}. Verify that code was generated.",buildDirectory:"Build folder",buildDirectoryToolTip:"Set build folder to be traced.",codeInfoNotAvailable:"Code information is not available for this model.",commentOptionOff:"'${0}' requires the following parameters be selected: 'Code Generation > Comments > Include comments' and 'Code Generation> Comments > Simulink block / Stateflow object comments'. Select the parameters and rebuild model.",dlgDescription:`Retrieve generated code from existing build folder. This step is necessary only when the build folder is not located in the current working folder and the model was closed and reopened after code generation.
|
||
|
||
Note: The setting is lost when you rebuild or close the model.`,dlgDescriptionTitle:"Description",emptySubsystem:"Empty SubSystem",generatedCode:"Retrieve generated code",htmlNotFound:"Code generation report cannot be found.",htmlTimeStampNotMatch:"Timestamps of code generation report and generated code do not match.",illegalCharacter:"'${0}' contains illegal character (single quote) that disables model-to-code navigation. Remove single quote from block name and rebuild model.",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' is a masked subsystem and cannot be traced at the subsystem block level. Traceability information is available for individual blocks under the mask.",maskedSubsystem:"Masked SubSystem",modelChanged:"Model has been modified. Traceability information might not be current.",modelDirNotMatch:`The current path to the model is not the same as it was at the time of code generation.
|
||
Current path:
|
||
'\${0}'
|
||
Previous path:
|
||
'\${1}'`,modelUnsaved:"Changes to model have not been saved. Traceability information might not be current.",notGenerated:"Traceability information has not been generated.",notReady:"Build folder is not set.",notTraceable:"Code for '${0}' cannot be traced because traceability information is not found.",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' is not a valid build folder for model '${1}'. Select a valid build folder.",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"Model-to-code navigation is not enabled.",reducedBlock:"'${0}' is reduced during model compilation. Code is not generated for reduced blocks.",reusableFunction:"Code for '${0}' is from reusable function and cannot be traced.",srcNotFound:"Generated code is not found in build folder.",srcTimeStampNotFound:"Cannot find timestamp to verify if generated code is current.",srcTimeStampNotMatch:"Timestamps of generated code and traceability information do not match.",tInfoExcelCheckSumFailed:"The function was unable to calculate a checksum",tInfoExcelCodeInfoTab:"Code Interface",tInfoExcelError_BadHeader:"The input header file must be a cell array",tInfoExcelError_ExcelFileFiledToOpen:"The Excel file '${0}' failed to open",tInfoExcelError_InvalidHeaderEntry:"The header entry '${0}' is not a valid entry",tInfoExcelError_NoWritePer:"MATLAB is not able to write to the selected directory '${0}'; check the write permission for the directory",tInfoExcelFileList:"Code Files",tInfoExcelFileLocation:"File Folder",tInfoExcelFileName:"File Name",tInfoExcelGUI_BadDirectory:"The directory '${0}' is not a valid selection'",tInfoExcelGlobal:"Global",tInfoExcelInfoTab:"Model Information",tInfoExcelLastUpdate:"The model was last updated on",tInfoExcelLastUpdateBy:"The model was last saved by",tInfoExcelModelAuthor:"Model Author",tInfoExcelModelCheckSum:"Model Checksum",tInfoExcelModelCol_1:"Model Object Name",tInfoExcelModelCol_10:"Requirements Source",tInfoExcelModelCol_11:"Requirements Location",tInfoExcelModelCol_12:"Model Object Unique ID",tInfoExcelModelCol_13:"Model Optimization Rationale",tInfoExcelModelCol_14:"Utility Function",tInfoExcelModelCol_15:"Model Object Optimized",tInfoExcelModelCol_16:"Model File",tInfoExcelModelCol_17:"Model File Location",tInfoExcelModelCol_18:"Code Comment Checksum",tInfoExcelModelCol_19:"Object usage has changed",tInfoExcelModelCol_2:"Model Object Path",tInfoExcelModelCol_3:"Model Object Subsystem",tInfoExcelModelCol_4:"Code File Location",tInfoExcelModelCol_5:"Code File Name",tInfoExcelModelCol_6:"Code Function",tInfoExcelModelCol_7:"Code Line Number",tInfoExcelModelCol_8:"Relative Position",tInfoExcelModelCol_9:"Model Object Type",tInfoExcelModelCreationDate:"The model was created on",tInfoExcelModelName:"Model / Subsystem Name",tInfoExcelModelVersion:"Model Version",tInfoExcelNone:"None",tInfoExcelNotUnique:"Row is not unique:",tInfoExcelReport:"Report",tInfoExcelSubsystemCheckSum:"Subsystem Checksum",tInfoExcelSubsystemCheckSumUsed:"The Subsystem checksum value was reported",tInfoExcelSubsystemUsed:"NOTE: The traceability matrix export was performed on a sub-system.",tInfoGUIAvailCol:"Available columns",tInfoGUIBrowse:"Browse...",tInfoGUIBrowseToolTip:"Select an existing file to update or create a new file",tInfoGUIDescription:"Description",tInfoGUIDescriptionText:"The traceability matrix provides traceability among model objects, generated code, and model requirements in an excel file format.<br /><br />Use the <b>Browse</b> button to select an existing Traceability Matrix Report to update or to select the name and location of a new report. Use the list panes to define the column headings in the report.<br><br>Click <b>Generate</b> to generate the Traceability Matrix Report",tInfoGUIDiagTitle:"Generate Traceability Matrix",tInfoGUIExcelFile:"Excel file",tInfoGUIGenerate:"Generate",tInfoGUIGenerateToolTip:"Generate traceability matrix",tInfoGUISelectedCol:"Selected columns",tInfoGUIStarText:"<b>*</b> Required items cannot be deselected",tooManyLines:"Block code has too many lines to highlight. Some lines might not be highlighted in code generation report.",traceInfoFileNotFound:`Cannot find traceability information in build folder,
|
||
'\${0}'.
|
||
Select <a href="matlab:configset.highlightParameter('\${1}', 'GenerateTraceInfo')">'Model-to-code'</a> in the Configuration Parameters dialog box before generating code.`,traceInfoFileNotValid:`Traceability information stored in build folder,
|
||
'\${0}'
|
||
is not valid. Rebuild model to regenerate traceability information.`,traceInfoNotAvailable:"Traceability information has not been generated for model '${0}'. Select <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">'Model-to-code'</a> in the Configuration Parameters dialog box.",virtualBlock:"'${0}' is a virtual block. Code is not generated for virtual blocks.",virtualSubsystem:"Virtual SubSystem"}},function(_,M,l){_.exports={CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"\u539F\u578B",FunRate:"\u5B9A\u65F6",HeaderNotFound:"The Trace Matrix did not contain a header row. The tool will not be able to match previous comments (if present).",IECLicenseNotAvailable:"Neither an IEC Certification Kit or DO Qualification kit license are available.",InitFun:"\u51FD\u6570",LicenseNotAvailable:"${0} \u8BB8\u53EF\u8BC1\u4E0D\u53EF\u7528\u3002",NoBuildDir:"\u65E0\u6CD5\u6062\u590D\u7F16\u8BD1\u4FE1\u606F\u3002\u8BF7\u91CD\u65B0\u751F\u6210\u4EE3\u7801\u3002",NoTraceForSelectedBlocks:"\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u5BF9\u6240\u9009\u6A21\u5757\u4E0D\u53EF\u7528\u3002",NotAPC:"The Traceability Matrix Export function must be run on a Windows based machine.",OneShot:"\u8C03\u7528\u4E00\u6B21",RTWReportInformationSource:"\u62A5\u544A\u6570\u636E\u6E90",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Could not start Excel server. See documentation for resulting limitations",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"\u51FD\u6570",TermFun:"\u51FD\u6570",TraceFailure:"ExportTraceReport failed, verify that the model is open, that code was generated and that code comments were enabled.",TraceUsagedo178b:"ExportTraceReport must be called with at least the model name do178c.ExportTraceReport(<model>).",TraceUsageiec:"ExportTraceReport must be called with at least the model name iec.ExportTraceReport(<model>).",UnableToOpenExcelFile:"Microsoft Office Excel failed to start",UpdateFun:"\u51FD\u6570",blockNotInModel:"'${0}' does not belong to the same model and cannot be traced.",blockOutsideSystem:"'${0}' is outside of source subsystem and cannot be traced.",blockToCodeHighlighting:"\u6A21\u578B\u5230\u4EE3\u7801\u5BFC\u822A",browseButton:"\u6D4F\u89C8\u5230\u8981\u7A81\u51FA\u663E\u793A\u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u3002",buildDirBrowseButton:"\u6D4F\u89C8...",buildDirBrowseToolTip:"\u6D4F\u89C8\u5230\u8981\u7A81\u51FA\u663E\u793A\u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u3002",buildDirNotFound:"Cannot find build folder ${0} of model ${1}. Verify that code was generated.",buildDirectory:"\u7F16\u8BD1\u6587\u4EF6\u5939",buildDirectoryToolTip:"\u8BBE\u7F6E\u8981\u8FFD\u6EAF\u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u3002",codeInfoNotAvailable:"\u6CA1\u6709\u5BF9\u6B64\u6A21\u578B\u53EF\u7528\u7684\u4EE3\u7801\u4FE1\u606F\u3002",commentOptionOff:"'${0}' \u8981\u6C42\u9009\u62E9\u4EE5\u4E0B\u53C2\u6570: '\u4EE3\u7801\u751F\u6210 > \u6CE8\u91CA > \u5305\u62EC\u6CE8\u91CA' \u548C '\u4EE3\u7801\u751F\u6210 > \u6CE8\u91CA > Simulink \u6A21\u5757/Stateflow \u5BF9\u8C61\u6CE8\u91CA'\u3002\u9009\u62E9\u53C2\u6570\u5E76\u91CD\u65B0\u7F16\u8BD1\u6A21\u578B\u3002",dlgDescription:`\u4ECE\u73B0\u6709\u7F16\u8BD1\u6587\u4EF6\u5939\u4E2D\u68C0\u7D22\u751F\u6210\u7684\u4EE3\u7801\u3002\u4EC5\u5F53\u7F16\u8BD1\u6587\u4EF6\u5939\u4E0D\u5728\u5F53\u524D\u5DE5\u4F5C\u6587\u4EF6\u5939\u4E2D\u5E76\u4E14\u6A21\u578B\u5728\u4EE3\u7801\u751F\u6210\u540E\u5173\u95ED\u5E76\u91CD\u65B0\u6253\u5F00\u65F6\uFF0C\u6B64\u6B65\u9AA4\u624D\u662F\u5FC5\u9700\u7684\u3002
|
||
|
||
\u6CE8\u610F: \u91CD\u65B0\u7F16\u8BD1\u6216\u5173\u95ED\u6A21\u578B\u65F6\uFF0C\u8BBE\u7F6E\u4F1A\u4E22\u5931\u3002`,dlgDescriptionTitle:"\u63CF\u8FF0",emptySubsystem:"Empty SubSystem",generatedCode:"\u68C0\u7D22\u751F\u6210\u7684\u4EE3\u7801",htmlNotFound:"\u627E\u4E0D\u5230\u4EE3\u7801\u751F\u6210\u62A5\u544A\u3002",htmlTimeStampNotMatch:"\u4EE3\u7801\u751F\u6210\u62A5\u544A\u548C\u751F\u6210\u4EE3\u7801\u7684\u65F6\u95F4\u6233\u4E0D\u5339\u914D\u3002",illegalCharacter:"'${0}' \u5305\u542B\u7528\u4E8E\u7981\u7528\u6A21\u578B\u5230\u4EE3\u7801\u5BFC\u822A\u7684\u975E\u6CD5\u5B57\u7B26(\u5355\u5F15\u53F7)\u3002\u8BF7\u4ECE\u6A21\u5757\u540D\u79F0\u4E2D\u5220\u9664\u5355\u5F15\u53F7\u5E76\u91CD\u65B0\u7F16\u8BD1\u6A21\u578B\u3002",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' \u662F\u5C01\u88C5\u5B50\u7CFB\u7EDF\uFF0C\u65E0\u6CD5\u5728\u5B50\u7CFB\u7EDF\u6A21\u5757\u7EA7\u522B\u8FDB\u884C\u8FFD\u6EAF\u3002\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u5BF9\u5C01\u88C5\u5185\u90E8\u7684\u5355\u4E2A\u6A21\u5757\u53EF\u7528\u3002",maskedSubsystem:"Masked SubSystem",modelChanged:"\u6A21\u578B\u5DF2\u4FEE\u6539\u3002\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u53EF\u80FD\u4E0D\u662F\u6700\u65B0\u7684\u3002",modelDirNotMatch:`\u6A21\u578B\u7684\u5F53\u524D\u8DEF\u5F84\u4E0E\u4EE3\u7801\u751F\u6210\u65F6\u7684\u8DEF\u5F84\u4E0D\u540C\u3002
|
||
\u5F53\u524D\u8DEF\u5F84:
|
||
'\${0}'
|
||
\u4EE5\u524D\u7684\u8DEF\u5F84:
|
||
'\${1}'`,modelUnsaved:"\u5BF9\u6A21\u578B\u7684\u66F4\u6539\u5C1A\u672A\u4FDD\u5B58\u3002\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u53EF\u80FD\u4E0D\u662F\u6700\u65B0\u7684\u3002",notGenerated:"\u5C1A\u672A\u751F\u6210\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u3002",notReady:"Build folder is not set.",notTraceable:"Code for '${0}' cannot be traced because traceability information is not found.",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' is not a valid build folder for model '${1}'. Select a valid build folder.",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"\u6A21\u578B\u5230\u4EE3\u7801\u5BFC\u822A\u672A\u542F\u7528\u3002",reducedBlock:"\u6A21\u578B\u7F16\u8BD1\u671F\u95F4\u7B80\u5316\u4E86 '${0}'\u3002\u4E0D\u4F1A\u4E3A\u7B80\u5316\u6A21\u5757\u751F\u6210\u4EE3\u7801\u3002",reusableFunction:"'${0}' \u7684\u4EE3\u7801\u6765\u81EA\u53EF\u91CD\u7528\u51FD\u6570\uFF0C\u65E0\u6CD5\u8FFD\u6EAF\u3002",srcNotFound:"\u5728\u7F16\u8BD1\u6587\u4EF6\u5939\u4E2D\u627E\u4E0D\u5230\u751F\u6210\u7684\u4EE3\u7801\u3002",srcTimeStampNotFound:"\u627E\u4E0D\u5230\u65F6\u95F4\u6233\u6765\u9A8C\u8BC1\u751F\u6210\u7684\u4EE3\u7801\u662F\u5426\u4E3A\u6700\u65B0\u3002",srcTimeStampNotMatch:"\u751F\u6210\u4EE3\u7801\u7684\u65F6\u95F4\u6233\u548C\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u4E0D\u5339\u914D\u3002",tInfoExcelCheckSumFailed:"\u51FD\u6570\u65E0\u6CD5\u8BA1\u7B97\u6821\u9A8C\u548C",tInfoExcelCodeInfoTab:"\u4EE3\u7801\u63A5\u53E3",tInfoExcelError_BadHeader:"The input header file must be a cell array",tInfoExcelError_ExcelFileFiledToOpen:"The Excel file '${0}' failed to open",tInfoExcelError_InvalidHeaderEntry:"\u5934\u6587\u4EF6\u6761\u76EE '${0}' \u4E0D\u662F\u6709\u6548\u6761\u76EE",tInfoExcelError_NoWritePer:"MATLAB \u65E0\u6CD5\u5199\u5165\u6240\u9009\u76EE\u5F55 '${0}'\uFF1B\u8BF7\u68C0\u67E5\u8BE5\u76EE\u5F55\u7684\u5199\u5165\u6743\u9650",tInfoExcelFileList:"\u4EE3\u7801\u6587\u4EF6",tInfoExcelFileLocation:"\u6587\u4EF6\u5939",tInfoExcelFileName:"\u6587\u4EF6\u540D",tInfoExcelGUI_BadDirectory:"\u76EE\u5F55 '${0}' \u4E0D\u662F\u6709\u6548\u7684\u9009\u62E9",tInfoExcelGlobal:"\u5168\u5C40",tInfoExcelInfoTab:"\u6A21\u578B\u4FE1\u606F",tInfoExcelLastUpdate:"\u6A21\u578B\u4E0A\u6B21\u66F4\u65B0\u65F6\u95F4",tInfoExcelLastUpdateBy:"\u6A21\u578B\u4E0A\u6B21\u4FDD\u5B58\u8005",tInfoExcelModelAuthor:"\u6A21\u578B\u4F5C\u8005",tInfoExcelModelCheckSum:"\u6A21\u578B\u6821\u9A8C\u548C",tInfoExcelModelCol_1:"\u6A21\u578B\u5BF9\u8C61\u540D\u79F0",tInfoExcelModelCol_10:"\u9700\u6C42\u6E90",tInfoExcelModelCol_11:"\u9700\u6C42\u4F4D\u7F6E",tInfoExcelModelCol_12:"\u6A21\u578B\u5BF9\u8C61\u552F\u4E00 ID",tInfoExcelModelCol_13:"\u6A21\u578B\u4F18\u5316\u539F\u7406",tInfoExcelModelCol_14:"\u5DE5\u5177\u51FD\u6570",tInfoExcelModelCol_15:"\u6A21\u578B\u5BF9\u8C61\u5DF2\u4F18\u5316",tInfoExcelModelCol_16:"\u6A21\u578B\u6587\u4EF6",tInfoExcelModelCol_17:"\u6A21\u578B\u6587\u4EF6\u4F4D\u7F6E",tInfoExcelModelCol_18:"\u4EE3\u7801\u6CE8\u91CA\u6821\u9A8C\u548C",tInfoExcelModelCol_19:"\u5BF9\u8C61\u7528\u9014\u5DF2\u66F4\u6539",tInfoExcelModelCol_2:"\u6A21\u578B\u5BF9\u8C61\u8DEF\u5F84",tInfoExcelModelCol_3:"\u6A21\u578B\u5BF9\u8C61\u5B50\u7CFB\u7EDF",tInfoExcelModelCol_4:"\u4EE3\u7801\u6587\u4EF6\u4F4D\u7F6E",tInfoExcelModelCol_5:"\u4EE3\u7801\u6587\u4EF6\u540D",tInfoExcelModelCol_6:"\u4EE3\u7801\u51FD\u6570",tInfoExcelModelCol_7:"\u4EE3\u7801\u884C\u53F7",tInfoExcelModelCol_8:"\u76F8\u5BF9\u4F4D\u7F6E",tInfoExcelModelCol_9:"\u6A21\u578B\u5BF9\u8C61\u7C7B\u578B",tInfoExcelModelCreationDate:"\u6A21\u578B\u521B\u5EFA\u65F6\u95F4",tInfoExcelModelName:"\u6A21\u578B/\u5B50\u7CFB\u7EDF\u540D\u79F0",tInfoExcelModelVersion:"\u6A21\u578B\u7248\u672C",tInfoExcelNone:"\u65E0",tInfoExcelNotUnique:"\u884C\u4E0D\u552F\u4E00:",tInfoExcelReport:"\u62A5\u544A",tInfoExcelSubsystemCheckSum:"\u5B50\u7CFB\u7EDF\u6821\u9A8C\u548C",tInfoExcelSubsystemCheckSumUsed:"\u5DF2\u62A5\u544A\u5B50\u7CFB\u7EDF\u6821\u9A8C\u548C\u503C",tInfoExcelSubsystemUsed:"\u6CE8\u610F: \u8FFD\u6EAF\u77E9\u9635\u5BFC\u51FA\u662F\u5BF9\u5B50\u7CFB\u7EDF\u6267\u884C\u7684\u3002",tInfoGUIAvailCol:"\u53EF\u7528\u5217",tInfoGUIBrowse:"\u6D4F\u89C8...",tInfoGUIBrowseToolTip:"\u9009\u62E9\u73B0\u6709\u6587\u4EF6\u4EE5\u66F4\u65B0\u6216\u521B\u5EFA\u65B0\u6587\u4EF6",tInfoGUIDescription:"\u63CF\u8FF0",tInfoGUIDescriptionText:"\u8FFD\u6EAF\u77E9\u9635\u4EE5 excel \u6587\u4EF6\u683C\u5F0F\u63D0\u4F9B\u6A21\u578B\u5BF9\u8C61\u3001\u751F\u6210\u7684\u4EE3\u7801\u548C\u6A21\u578B\u9700\u6C42\u4E4B\u95F4\u7684\u53EF\u8FFD\u6EAF\u6027\u3002<br /><br />\u4F7F\u7528<b>\u6D4F\u89C8</b>\u6309\u94AE\u9009\u62E9\u8981\u66F4\u65B0\u7684\u73B0\u6709\u8FFD\u6EAF\u77E9\u9635\u62A5\u544A\uFF0C\u6216\u9009\u62E9\u65B0\u62A5\u544A\u7684\u540D\u79F0\u548C\u4F4D\u7F6E\u3002\u4F7F\u7528\u5217\u8868\u7A97\u683C\u5B9A\u4E49\u62A5\u544A\u4E2D\u7684\u5217\u6807\u9898\u3002<br><br>\u70B9\u51FB<b>\u751F\u6210</b>\u751F\u6210\u8FFD\u6EAF\u77E9\u9635\u62A5\u544A",tInfoGUIDiagTitle:"\u751F\u6210\u8FFD\u6EAF\u77E9\u9635",tInfoGUIExcelFile:"Excel \u6587\u4EF6",tInfoGUIGenerate:"\u751F\u6210",tInfoGUIGenerateToolTip:"\u751F\u6210\u8FFD\u6EAF\u77E9\u9635",tInfoGUISelectedCol:"\u6240\u9009\u5217",tInfoGUIStarText:"<b>*</b>\u5FC5\u9700\u9879\u65E0\u6CD5\u53D6\u6D88\u9009\u4E2D",tooManyLines:"Block code has too many lines to highlight. Some lines might not be highlighted in code generation report.",traceInfoFileNotFound:`Cannot find traceability information in build folder,
|
||
'\${0}'.
|
||
Select <a href="matlab:configset.highlightParameter('\${1}', 'GenerateTraceInfo')">'Model-to-code'</a> in the Configuration Parameters dialog box before generating code.`,traceInfoFileNotValid:`Traceability information stored in build folder,
|
||
'\${0}'
|
||
is not valid. Rebuild model to regenerate traceability information.`,traceInfoNotAvailable:"Traceability information has not been generated for model '${0}'. Select <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">'Model-to-code'</a> in the Configuration Parameters dialog box.",virtualBlock:"'${0}' \u662F\u4E00\u4E2A\u865A\u62DF\u6A21\u5757\u3002\u4E0D\u4F1A\u4E3A\u865A\u62DF\u6A21\u5757\u751F\u6210\u4EE3\u7801\u3002",virtualSubsystem:"Virtual SubSystem"}},function(_,M,l){_.exports={root:{CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"Prototype",FunRate:"Timing",HeaderNotFound:"The Trace Matrix did not contain a header row. The tool will not be able to match previous comments (if present).",IECLicenseNotAvailable:"Neither an IEC Certification Kit or DO Qualification kit license are available.",InitFun:"Function",LicenseNotAvailable:"A ${0} license is not available.",NoBuildDir:"Cannot recover build information. Please regenerate code.",NoTraceForSelectedBlocks:"Traceability information is not available for the selected blocks.",NotAPC:"The Traceability Matrix Export function must be run on a Windows based machine.",OneShot:"Called once",RTWReportInformationSource:"Report data source",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Could not start Excel server. See documentation for resulting limitations",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"Function",TermFun:"Function",TraceFailure:"ExportTraceReport failed, verify that the model is open, that code was generated and that code comments were enabled.",TraceUsagedo178b:"ExportTraceReport must be called with at least the model name do178c.ExportTraceReport(<model>).",TraceUsageiec:"ExportTraceReport must be called with at least the model name iec.ExportTraceReport(<model>).",UnableToOpenExcelFile:"Microsoft Office Excel failed to start",UpdateFun:"Function",blockNotInModel:"'${0}' does not belong to the same model and cannot be traced.",blockOutsideSystem:"'${0}' is outside of source subsystem and cannot be traced.",blockToCodeHighlighting:"Model-to-code navigation",browseButton:"Browse to build folder to highlight.",buildDirBrowseButton:"Browse ...",buildDirBrowseToolTip:"Browse to build folder to highlight.",buildDirNotFound:"Cannot find build folder ${0} of model ${1}. Verify that code was generated.",buildDirectory:"Build folder",buildDirectoryToolTip:"Set build folder to be traced.",codeInfoNotAvailable:"Code information is not available for this model.",commentOptionOff:"'${0}' requires the following parameters be selected: 'Code Generation > Comments > Include comments' and 'Code Generation> Comments > Simulink block / Stateflow object comments'. Select the parameters and rebuild model.",dlgDescription:`Retrieve generated code from existing build folder. This step is necessary only when the build folder is not located in the current working folder and the model was closed and reopened after code generation.
|
||
|
||
Note: The setting is lost when you rebuild or close the model.`,dlgDescriptionTitle:"Description",emptySubsystem:"Empty SubSystem",generatedCode:"Retrieve generated code",htmlNotFound:"Code generation report cannot be found.",htmlTimeStampNotMatch:"Timestamps of code generation report and generated code do not match.",illegalCharacter:"'${0}' contains illegal character (single quote) that disables model-to-code navigation. Remove single quote from block name and rebuild model.",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' is a masked subsystem and cannot be traced at the subsystem block level. Traceability information is available for individual blocks under the mask.",maskedSubsystem:"Masked SubSystem",modelChanged:"Model has been modified. Traceability information might not be current.",modelDirNotMatch:`The current path to the model is not the same as it was at the time of code generation.
|
||
Current path:
|
||
'\${0}'
|
||
Previous path:
|
||
'\${1}'`,modelUnsaved:"Changes to model have not been saved. Traceability information might not be current.",notGenerated:"Traceability information has not been generated.",notReady:"Build folder is not set.",notTraceable:"Code for '${0}' cannot be traced because traceability information is not found.",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' is not a valid build folder for model '${1}'. Select a valid build folder.",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"Model-to-code navigation is not enabled.",reducedBlock:"'${0}' is reduced during model compilation. Code is not generated for reduced blocks.",reusableFunction:"Code for '${0}' is from reusable function and cannot be traced.",srcNotFound:"Generated code is not found in build folder.",srcTimeStampNotFound:"Cannot find timestamp to verify if generated code is current.",srcTimeStampNotMatch:"Timestamps of generated code and traceability information do not match.",tInfoExcelCheckSumFailed:"The function was unable to calculate a checksum",tInfoExcelCodeInfoTab:"Code Interface",tInfoExcelError_BadHeader:"The input header file must be a cell array",tInfoExcelError_ExcelFileFiledToOpen:"The Excel file '${0}' failed to open",tInfoExcelError_InvalidHeaderEntry:"The header entry '${0}' is not a valid entry",tInfoExcelError_NoWritePer:"MATLAB is not able to write to the selected directory '${0}'; check the write permission for the directory",tInfoExcelFileList:"Code Files",tInfoExcelFileLocation:"File Folder",tInfoExcelFileName:"File Name",tInfoExcelGUI_BadDirectory:"The directory '${0}' is not a valid selection'",tInfoExcelGlobal:"Global",tInfoExcelInfoTab:"Model Information",tInfoExcelLastUpdate:"The model was last updated on",tInfoExcelLastUpdateBy:"The model was last saved by",tInfoExcelModelAuthor:"Model Author",tInfoExcelModelCheckSum:"Model Checksum",tInfoExcelModelCol_1:"Model Object Name",tInfoExcelModelCol_10:"Requirements Source",tInfoExcelModelCol_11:"Requirements Location",tInfoExcelModelCol_12:"Model Object Unique ID",tInfoExcelModelCol_13:"Model Optimization Rationale",tInfoExcelModelCol_14:"Utility Function",tInfoExcelModelCol_15:"Model Object Optimized",tInfoExcelModelCol_16:"Model File",tInfoExcelModelCol_17:"Model File Location",tInfoExcelModelCol_18:"Code Comment Checksum",tInfoExcelModelCol_19:"Object usage has changed",tInfoExcelModelCol_2:"Model Object Path",tInfoExcelModelCol_3:"Model Object Subsystem",tInfoExcelModelCol_4:"Code File Location",tInfoExcelModelCol_5:"Code File Name",tInfoExcelModelCol_6:"Code Function",tInfoExcelModelCol_7:"Code Line Number",tInfoExcelModelCol_8:"Relative Position",tInfoExcelModelCol_9:"Model Object Type",tInfoExcelModelCreationDate:"The model was created on",tInfoExcelModelName:"Model / Subsystem Name",tInfoExcelModelVersion:"Model Version",tInfoExcelNone:"None",tInfoExcelNotUnique:"Row is not unique:",tInfoExcelReport:"Report",tInfoExcelSubsystemCheckSum:"Subsystem Checksum",tInfoExcelSubsystemCheckSumUsed:"The Subsystem checksum value was reported",tInfoExcelSubsystemUsed:"NOTE: The traceability matrix export was performed on a sub-system.",tInfoGUIAvailCol:"Available columns",tInfoGUIBrowse:"Browse...",tInfoGUIBrowseToolTip:"Select an existing file to update or create a new file",tInfoGUIDescription:"Description",tInfoGUIDescriptionText:"The traceability matrix provides traceability among model objects, generated code, and model requirements in an excel file format.<br /><br />Use the <b>Browse</b> button to select an existing Traceability Matrix Report to update or to select the name and location of a new report. Use the list panes to define the column headings in the report.<br><br>Click <b>Generate</b> to generate the Traceability Matrix Report",tInfoGUIDiagTitle:"Generate Traceability Matrix",tInfoGUIExcelFile:"Excel file",tInfoGUIGenerate:"Generate",tInfoGUIGenerateToolTip:"Generate traceability matrix",tInfoGUISelectedCol:"Selected columns",tInfoGUIStarText:"<b>*</b> Required items cannot be deselected",tooManyLines:"Block code has too many lines to highlight. Some lines might not be highlighted in code generation report.",traceInfoFileNotFound:`Cannot find traceability information in build folder,
|
||
'\${0}'.
|
||
Select <a href="matlab:configset.highlightParameter('\${1}', 'GenerateTraceInfo')">'Model-to-code'</a> in the Configuration Parameters dialog box before generating code.`,traceInfoFileNotValid:`Traceability information stored in build folder,
|
||
'\${0}'
|
||
is not valid. Rebuild model to regenerate traceability information.`,traceInfoNotAvailable:"Traceability information has not been generated for model '${0}'. Select <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">'Model-to-code'</a> in the Configuration Parameters dialog box.",virtualBlock:"'${0}' is a virtual block. Code is not generated for virtual blocks.",virtualSubsystem:"Virtual SubSystem"},"ja-jp":!0,"ko-kr":!0,"zh-cn":!0}},function(_,M,l){var A,C;A=[l(62),l(48),l(542),l(543),l(544)],C=l.dj.d(A,function(y,m){return m(y,"report/resources/SimulinkCoderApp/nls/report",l.dj.c(),!0)},_,M),_.exports=C},function(_,M,l){_.exports={AddToReview:"\u30EC\u30D3\u30E5\u30FC\u5BFE\u8C61\u306B\u8FFD\u52A0",AverageExecutionTime:"\u5E73\u5747\u5B9F\u884C\u6642\u9593",AverageSelfTime:"\u5E73\u5747\u81EA\u5DF1\u6642\u9593",Calls:"\u547C\u3073\u51FA\u3057",CodeMetrics:"\u30B3\u30FC\u30C9 \u30E1\u30C8\u30EA\u30AF\u30B9",CodeMetrics_Size:"\u30B5\u30A4\u30BA: ${0} \u30D0\u30A4\u30C8",CodeMetrics_Stack:"\u30B9\u30BF\u30C3\u30AF: ${0} \u30D0\u30A4\u30C8",CodeMetrics_TotalStack:"\u5408\u8A08\u30B9\u30BF\u30C3\u30AF: ${0} \u30D0\u30A4\u30C8",CodeMetrics_TotalStackRecursion:"\u5408\u8A08\u30B9\u30BF\u30C3\u30AF: \u518D\u5E30",CodePanelName:"\u30B3\u30FC\u30C9",CodeProfiling:"\u30B3\u30FC\u30C9\u306E\u30D7\u30ED\u30D5\u30A1\u30A4\u30EA\u30F3\u30B0",CodeTabName:"\u30BD\u30FC\u30B9",CodeView_C_Title:"\u30B3\u30FC\u30C9",CodeView_HDL_Title:"HDL \u30B3\u30FC\u30C9",CodeView_PLC_Title:"PLC \u30B3\u30FC\u30C9",Col:"\u5217",ConfigCodeFolding:"\u30B3\u30FC\u30C9\u306E\u6298\u308A\u305F\u305F\u307F",ConfigCodeFolding_ExpandAll:"\u3059\u3079\u3066\u5C55\u958B\u3059\u308B",ConfigCodeFolding_FoldAll:"\u3059\u3079\u3066\u6298\u308A\u305F\u305F\u3080",ConfigGroup_Analysis:"\u89E3\u6790",ConfigGroup_Display:"\u8868\u793A",ConfigGroup_Review:"\u78BA\u8A8D",ConfigShowCodeMetrics:"\u30B3\u30FC\u30C9 \u30E1\u30C8\u30EA\u30AF\u30B9\u3092\u8868\u793A",ConfigShowCodeProfiling:"\u30B3\u30FC\u30C9 \u30D7\u30ED\u30D5\u30A1\u30A4\u30EA\u30F3\u30B0\u306E\u8868\u793A",ConfigShowCoverage:"\u30B3\u30FC\u30C9 \u30AB\u30D0\u30EC\u30C3\u30B8\u3092\u8868\u793A",Customization:"\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",DefinedIn:"\u6B21\u3067\u5B9A\u7FA9",Definition:"\u5B9A\u7FA9",DictionaryDefault:"\u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306E\u65E2\u5B9A\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",GenerateCodeGroupName:"\u30B3\u30FC\u30C9\u751F\u6210",GenerateCodeGroupName_STFMismatch:"\u53C2\u7167\u30E2\u30C7\u30EB\u3067 [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u4E0D\u4E00\u81F4\u3092\u4FEE\u6B63\u3057\u307E\u3059\u3002",GenerateCodeText:"\u30E2\u30C7\u30EB\u3092\u30D3\u30EB\u30C9\u3057\u3001\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3057\u307E\u3059\u3002",GenerateCodeText_STFMismatch:"\u30A2\u30AF\u30C6\u30A3\u30D6 \u30E2\u30C7\u30EB\u306E [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u3092\u5909\u66F4\u3057\u3001\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB\u3068\u4E00\u81F4\u3055\u305B\u3066\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3057\u307E\u3059\u3002",GoToLine:"\u6B21\u306E\u884C\u306B\u79FB\u52D5: ${0}",HL_LineUpdate:"\u5F37\u8ABF\u8868\u793A: \u6700\u5F8C\u306E\u30D3\u30EB\u30C9\u3067\u5909\u66F4\u3055\u308C\u305F\u884C",HL_SelectedBlk:"\u5F37\u8ABF\u8868\u793A: \u9078\u629E\u3057\u305F ${0} \u500B\u306E\u30D6\u30ED\u30C3\u30AF",HighlightCode:"\u30B3\u30FC\u30C9\u306E\u5F37\u8ABF\u8868\u793A",Highlight_DataType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u5165\u529B\u30C7\u30FC\u30BF\u306F\u3001'file' \u30D5\u30A3\u30FC\u30EB\u30C9\u3068 'line' \u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u3082\u3064 struct \u306E cell \u914D\u5217\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_FileType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u30D5\u30A1\u30A4\u30EB\u306F\u3001\u7A7A\u3067\u306A\u3044 string \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_InputType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u5165\u529B\u306F\u3001'title' \u30D5\u30A3\u30FC\u30EB\u30C9\u3068 'data' \u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u3082\u3064 struct \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_LineType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u884C\u306F\u3001\u6B63\u306E\u6574\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_LocType:"Code View highlight location must be a 1X2 numerical vector representing starting and ending columns.",Highlight_TitleType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u5165\u529B\u306E\u30BF\u30A4\u30C8\u30EB\u306F\u3001\u7A7A\u3067\u306A\u3044 string \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlighting:"\u5F37\u8ABF\u8868\u793A",Individual:"\u500B\u3005\u306E\u8981\u7D20\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",Info_DefaultMapping:"\u65E2\u5B9A\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",Info_IndividualMapping:"\u500B\u3005\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",LaunchStandaloneReport:"\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u3092\u958B\u304F",Ln:"\u884C",MaximumExecutionTime:"\u6700\u5927\u5B9F\u884C\u6642\u9593",MaximumSelfTime:"\u6700\u5927\u81EA\u5DF1\u6642\u9593",ModelDefault:"\u30E2\u30C7\u30EB\u306E\u65E2\u5B9A\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",ModelElements:"\u30E2\u30C7\u30EB\u8981\u7D20",ModelRefSTFNotMatch:'"${0}" \u306E [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u8A2D\u5B9A\u306F "${1}"\u3001\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB "${2}" \u306E\u8A2D\u5B9A\u306F "${3}" \u3067\u3059\u3002\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u8A2D\u5B9A\u306F\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB\u306E\u8A2D\u5B9A\u3068\u540C\u3058\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002',NoCode:'"${0}" \u306E\u30B3\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093\u3002',NoCodeGenReport:"\u30B3\u30FC\u30C9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",NumberOfCalls:"\u547C\u3073\u51FA\u3057\u6570",ProgressBarGenCode:"\u30B3\u30FC\u30C9\u751F\u6210",ReloadBtnName:"\u518D\u8AAD\u307F\u8FBC\u307F",ReloadCodeGroupName:"\u30B3\u30FC\u30C9\u306E\u518D\u8AAD\u307F\u8FBC\u307F",ReloadCodeText:'MATLAB \u306E\u73FE\u5728\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u5909\u66F4\u3057\u3066\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u4F5C\u6210\u3057\u3001"${0}" \u30DC\u30BF\u30F3\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u307E\u3059\u3002',ReportTabName:"\u30EC\u30DD\u30FC\u30C8",Search:"\u691C\u7D22",ShowAnnotation:"\u30B3\u30FC\u30C9\u6CE8\u91C8\u306E\u8868\u793A",ShowComments:"\u30B3\u30E1\u30F3\u30C8\u3068\u7A7A\u306E\u884C\u3092\u8868\u793A",Statistics:"\u7D71\u8A08",Suggest:"\u63A8\u5968\u30A2\u30AF\u30B7\u30E7\u30F3:",Task:"\u30BF\u30B9\u30AF",Type_Class:"\u30AF\u30E9\u30B9",Type_Function:"\u95A2\u6570",Type_Type:"\u578B",Type_Variable:"\u5909\u6570",UnitOfTime:"\u6642\u9593\u5358\u4F4D:"}},function(_,M,l){_.exports={AddToReview:"\u6DFB\u52A0\u81F3\u5BA1\u6838",AverageExecutionTime:"\u5E73\u5747\u6267\u884C\u65F6\u95F4",AverageSelfTime:"\u5E73\u5747\u81EA\u7528\u65F6\u95F4",Calls:"\u8C03\u7528\u6B21\u6570",CodeMetrics:"\u4EE3\u7801\u5EA6\u91CF",CodeMetrics_Size:"\u5927\u5C0F: ${0} \u5B57\u8282",CodeMetrics_Stack:"\u5806\u6808: ${0} \u5B57\u8282",CodeMetrics_TotalStack:"\u603B\u5806\u6808: ${0} \u5B57\u8282",CodeMetrics_TotalStackRecursion:"\u603B\u5806\u6808: \u9012\u5F52",CodePanelName:"\u4EE3\u7801",CodeProfiling:"\u4EE3\u7801\u5206\u6790",CodeTabName:"\u6E90",CodeView_C_Title:"\u4EE3\u7801",CodeView_HDL_Title:"HDL \u4EE3\u7801",CodeView_PLC_Title:"PLC \u4EE3\u7801",Col:"\u5217",ConfigCodeFolding:"\u4EE3\u7801\u6298\u53E0",ConfigCodeFolding_ExpandAll:"\u5168\u90E8\u5C55\u5F00",ConfigCodeFolding_FoldAll:"\u5168\u90E8\u6298\u53E0",ConfigGroup_Analysis:"\u5206\u6790",ConfigGroup_Display:"\u663E\u793A",ConfigGroup_Review:"\u5BA1\u6838",ConfigShowCodeMetrics:"\u663E\u793A\u4EE3\u7801\u5EA6\u91CF",ConfigShowCodeProfiling:"\u663E\u793A\u4EE3\u7801\u63A2\u67E5",ConfigShowCoverage:"\u663E\u793A\u4EE3\u7801\u8986\u76D6\u7387",Customization:"\u81EA\u5B9A\u4E49",DefinedIn:"\u5B9A\u4E49\u4F4D\u7F6E",Definition:"\u5B9A\u4E49",DictionaryDefault:"\u5B57\u5178\u9ED8\u8BA4\u6620\u5C04",GenerateCodeGroupName:"\u751F\u6210\u4EE3\u7801",GenerateCodeGroupName_STFMismatch:'\u4FEE\u590D\u5F15\u7528\u6A21\u578B\u7684 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u53C2\u6570\u4E0D\u5339\u914D\u3002',GenerateCodeText:"\u7F16\u8BD1\u6A21\u578B\u5E76\u751F\u6210\u4EE3\u7801\u3002",GenerateCodeText_STFMismatch:'\u66F4\u6539\u6D3B\u52A8\u6A21\u578B\u7684 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u4EE5\u5339\u914D\u6839\u6A21\u578B\u5E76\u751F\u6210\u4EE3\u7801\u3002',GoToLine:"\u8F6C\u81F3\u884C: ${0}",HL_LineUpdate:"\u7A81\u51FA\u663E\u793A: \u5728\u4E0A\u6B21\u7F16\u8BD1\u4E2D\u4FEE\u6539\u7684\u884C",HL_SelectedBlk:"\u7A81\u51FA\u663E\u793A: \u9009\u5B9A\u7684 ${0} \u4E2A\u6A21\u5757",HighlightCode:"\u7A81\u51FA\u663E\u793A\u4EE3\u7801",Highlight_DataType:"Code View highlight input data must be a cell array of struct with field 'file' and 'line'.",Highlight_FileType:"Code View highlight file must be a non-empty string.",Highlight_InputType:"Code View highlight input must be a struct with field 'title' and 'data'.",Highlight_LineType:"Code View highlight line must be a positive integer.",Highlight_LocType:"Code View highlight location must be a 1X2 numerical vector representing starting and ending columns.",Highlight_TitleType:"Code View highlight input title must be a non-empty string.",Highlighting:"\u7A81\u51FA\u663E\u793A",Individual:"\u5355\u4E2A\u5143\u7D20\u6620\u5C04",Info_DefaultMapping:"\u9ED8\u8BA4\u6620\u5C04",Info_IndividualMapping:"\u5355\u4E2A\u6620\u5C04",LaunchStandaloneReport:"\u6253\u5F00\u4EE3\u7801\u751F\u6210\u62A5\u544A",Ln:"\u884C",MaximumExecutionTime:"\u6700\u5927\u6267\u884C\u65F6\u95F4",MaximumSelfTime:"\u6700\u5927\u81EA\u7528\u65F6\u95F4",ModelDefault:"\u6A21\u578B\u9ED8\u8BA4\u6620\u5C04",ModelElements:"\u6A21\u578B\u5143\u7D20",ModelRefSTFNotMatch:'"${0}" \u7684 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u8BBE\u7F6E\u4E3A "${1}"\uFF0C\u6839\u6A21\u578B "${2}" \u4E3A "${3}"\u3002\u6B64\u53C2\u6570\u7684\u8BBE\u7F6E\u5FC5\u987B\u4E0E\u6839\u6A21\u578B\u7684\u8BBE\u7F6E\u76F8\u540C\u3002',NoCode:'\u6CA1\u6709 "${0}" \u7684\u4EE3\u7801\u3002',NoCodeGenReport:"\u627E\u4E0D\u5230\u4EE3\u7801\u3002",NumberOfCalls:"\u8C03\u7528\u6B21\u6570",ProgressBarGenCode:"\u751F\u6210\u4EE3\u7801",ReloadBtnName:"\u91CD\u65B0\u52A0\u8F7D",ReloadCodeGroupName:"\u91CD\u65B0\u52A0\u8F7D\u4EE3\u7801",ReloadCodeText:'\u5C06 MATLAB \u5F53\u524D\u6587\u4EF6\u5939\u66F4\u6539\u4E3A\u7F16\u8BD1\u6587\u4EF6\u5939\uFF0C\u7136\u540E\u70B9\u51FB "${0}" \u6309\u94AE\u3002',ReportTabName:"\u62A5\u544A",Search:"\u641C\u7D22",ShowAnnotation:"\u663E\u793A\u4EE3\u7801\u6CE8\u91CA",ShowComments:"\u663E\u793A\u6CE8\u91CA\u548C\u7A7A\u884C",Statistics:"\u7EDF\u8BA1\u4FE1\u606F",Suggest:"\u5EFA\u8BAE\u7684\u64CD\u4F5C:",Task:"\u4EFB\u52A1",Type_Class:"\u7C7B",Type_Function:"\u51FD\u6570",Type_Type:"\u7C7B\u578B",Type_Variable:"\u53D8\u91CF",UnitOfTime:"\u65F6\u95F4\u5355\u4F4D:"}},function(_,M,l){_.exports={root:{AddToReview:"Add to review",AverageExecutionTime:"Average Execution Time",AverageSelfTime:"Average Self Time",Calls:"Calls",CodeMetrics:"Code metrics",CodeMetrics_Size:"size: ${0} byte",CodeMetrics_Stack:"stack: ${0} byte",CodeMetrics_TotalStack:"total stack: ${0} byte",CodeMetrics_TotalStackRecursion:"total stack: recursion",CodePanelName:"Code",CodeProfiling:"Code profiling",CodeTabName:"Source",CodeView_C_Title:"Code",CodeView_HDL_Title:"HDL Code",CodeView_PLC_Title:"PLC Code",Col:"Col",ConfigCodeFolding:"Code folding",ConfigCodeFolding_ExpandAll:"Expand all",ConfigCodeFolding_FoldAll:"Fold all",ConfigGroup_Analysis:"Analysis",ConfigGroup_Display:"Display",ConfigGroup_Review:"Review",ConfigShowCodeMetrics:"Show code metrics",ConfigShowCodeProfiling:"Show code profiling",ConfigShowCoverage:"Show code coverage",Customization:"Customization",DefinedIn:"defined in",Definition:"Definition",DictionaryDefault:"Dictionary default mapping",GenerateCodeGroupName:"Generate code",GenerateCodeGroupName_STFMismatch:'Fix "System target file" parameter mismatch for referenced model.',GenerateCodeText:"Build model and generate code.",GenerateCodeText_STFMismatch:'Change "System target file" for active model to match root model and generate code.',GoToLine:"go to line: ${0}",HL_LineUpdate:"Highlighting: lines modified in last build",HL_SelectedBlk:"Highlighting: selected ${0} blocks",HighlightCode:"Highlight Code",Highlight_DataType:"Code View highlight input data must be a cell array of struct with field 'file' and 'line'.",Highlight_FileType:"Code View highlight file must be a non-empty string.",Highlight_InputType:"Code View highlight input must be a struct with field 'title' and 'data'.",Highlight_LineType:"Code View highlight line must be a positive integer.",Highlight_LocType:"Code View highlight location must be a 1X2 numerical vector representing starting and ending columns.",Highlight_TitleType:"Code View highlight input title must be a non-empty string.",Highlighting:"Highlighting",Individual:"Individual element mapping",Info_DefaultMapping:"Default mapping",Info_IndividualMapping:"Individual mapping",LaunchStandaloneReport:"Open code generation report",Ln:"Ln",MaximumExecutionTime:"Maximum Execution Time",MaximumSelfTime:"Maximum Self Time",ModelDefault:"Model default mapping",ModelElements:"Model elements",ModelRefSTFNotMatch:'"System target file" setting for "${0}" is "${1}" and root model "${2}" is "${3}". Setting for this parameter must be same as setting for root model.',NoCode:'No code for "${0}".',NoCodeGenReport:"Code is not found.",NumberOfCalls:"Number of Calls",ProgressBarGenCode:"Generating Code",ReloadBtnName:"Reload",ReloadCodeGroupName:"Reload code",ReloadCodeText:'Change MATLAB current folder to build folder and click "${0}" button.',ReportTabName:"Report",Search:"Search",ShowAnnotation:"Show code annotation",ShowComments:"Show comments and empty lines",Statistics:"Statistics",Suggest:"Suggested actions:",Task:"Task",Type_Class:"Class",Type_Function:"Function",Type_Type:"Type",Type_Variable:"Variable",UnitOfTime:"Unit of time :"},"ja-jp":!0,"zh-cn":!0}},function(_,M,l){var A,C;A=[l(62),l(48),l(546),l(547),l(548)],C=l.dj.d(A,function(y,m){return m(y,"report/resources/coderdictionary/nls/mapping",l.dj.c(),!0)},_,M),_.exports=C},function(_,M,l){_.exports={ASAPAttributesTitle:"ASAP2 \u5C5E\u6027",AUTOSARAttributes:"\u8FFD\u52A0\u5C5E\u6027",AutoGenerate:"Auto",BlockParameterArguments:"Block parameter arguments",BlockParameters:"Block parameters",CannotChangeIOAccessToNone:"Access method '${0}' cannot be changed to 'None' when visibility is set to 'private'.",CannotConfigureClassMemoryType:"Cannot configure 'External Pointer' for model element type '${0}'.",CannotMapFcnCallInport:"Inport \u30D6\u30ED\u30C3\u30AF\u304C\u95A2\u6570\u547C\u3073\u51FA\u3057\u306E\u30C8\u30EA\u30AC\u30FC\u4FE1\u53F7\u3092\u51FA\u529B\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u3053\u308C\u306F\u5165\u529B\u7AEF\u5B50\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",CodeIdentifierColumnName:"Identifier",CodeIdentifierSpecifiedOnVirtualBusState:"Block '${0}' has a virtual bus input signal and a state that is configured with storage class other than Auto. Set storage class to Auto or use a nonvirtual bus with a Simulink.Bus object on the input signal to this block.",CodeInterfaceSwitched:'\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092 "${0}" \u304B\u3089 "${1}" \u306B\u5207\u308A\u66FF\u3048\u305F\u3053\u3068\u306B\u3088\u308A\u3001\u65B0\u3057\u3044\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u8A2D\u5B9A\u3092\u30E2\u30C7\u30EB\u306B\u53CD\u6620\u3057\u307E\u3057\u305F\u3002\u524D\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u4FDD\u6301\u3055\u308C\u3001\u4E0A\u66F8\u304D\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002',CodeMapping_AddBlockParameter_Tooltip:"\u9078\u629E\u3057\u305F\u30D6\u30ED\u30C3\u30AF\u306E\u30D6\u30ED\u30C3\u30AF \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u8FFD\u52A0\u3057\u307E\u3059\u3002",CodeMapping_AddSignal_Tooltip:"\u9078\u629E\u3057\u305F\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u8FFD\u52A0\u3057\u307E\u3059\u3002",CodeMapping_RemoveBlockParameter_Tooltip:"\u30E2\u30C7\u30EB\u306E\u30D6\u30ED\u30C3\u30AF\u7DDA\u56F3\u3067\u9078\u629E\u3055\u308C\u305F\u30D6\u30ED\u30C3\u30AF \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3001\u307E\u305F\u306F\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u9078\u629E\u3055\u308C\u305F\u30D6\u30ED\u30C3\u30AF \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u524A\u9664\u3057\u307E\u3059\u3002",CodeMapping_RemoveSignal_Tooltip:"\u9078\u629E\u3057\u305F\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304B\u3089\u524A\u9664\u3057\u307E\u3059\u3002",CodeMapping_SyncNamedSignals_Tooltip:"\u540D\u524D\u4ED8\u304D\u306E\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u8FFD\u52A0\u3057\u307E\u3059\u3002",CodeMappingsAdaptiveAutosar:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsAutosar:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsAutosarSubComponent:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B5\u30D6\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9",CodeMappingsC:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsComponent:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsCpp:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsDDS:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsDefaults:"\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 ${0}",CodeMappingsEditorInconsistentApp:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304D\u307E\u3059</a>\u3002",CodeMappingsEditorInconsistentCIP:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304D</a>\u3001\u30E2\u30C7\u30EB \u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u5316] \u306E\u8A2D\u5B9A\u3092 '${1}' \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",CodeMappingsEditorInconsistentMapping:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304F</a>\u304B\u3001\u30E2\u30C7\u30EB '${0}' \u306B\u3064\u3044\u3066\u3001\u30E2\u30C7\u30EB \u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u306E\u8A2D\u5B9A\u3092 '${1}' \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",CodeMappingsEditorInconsistentSTFandCIP:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304D</a>\u3001\u30E2\u30C7\u30EB \u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u3092 '${1}' \u306B\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u5316] \u3092 '${2}' \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",CodeMappingsEditorMappingCreation:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002<a href=\"matlab:Simulink.CodeMapping.UI_Launch('${0}');\">\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3057\u3066\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u958B\u3044\u3066\u304F\u3060\u3055\u3044\u3002</a>",CodeMappingsEditorNoMappings:"\u30E2\u30C7\u30EB '${0}' \u3067\u306F\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u307E\u305B\u3093\u3002",CodeMappingsNCDefault:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 ${0}",CodeMappingsSubAssembly:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B5\u30D6\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeProperties_CCodeSyncStage:"C \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306E\u540C\u671F",CodeProperties_Refresh:"Refresh",CodeProperties_Refresh_Tooltip:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u66F4\u65B0\u3057\u307E\u3059\u3002\u30D6\u30ED\u30C3\u30AF\u7DDA\u56F3\u306E\u66F4\u65B0\u304C\u958B\u59CB\u3055\u308C\u307E\u3059\u3002",CoderDictBtnToolTip:"Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3092\u4F7F\u7528\u3057\u3066\u3001\u30C7\u30FC\u30BF\u3068\u95A2\u6570\u306E\u30B3\u30FC\u30C9\u5B9A\u7FA9\u3092\u4F5C\u6210\u3057\u307E\u3059\u3002",ConfigurationModeLabel:"Configuration Mode",ConfigureArguments:"\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u306E\u8A2D\u5B9A",ConflictingModelRefInportStorageClass:"\u4FE1\u53F7\u306E\u69CB\u6210\u304C\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059\u3002\u53C2\u7167\u30E2\u30C7\u30EB '${1}' \u306E\u5165\u529B\u7AEF\u5B50 ${0} \u3068\u3001\u5165\u529B\u7AEF\u5B50\u306B\u63A5\u7D9A\u3055\u308C\u3066\u3044\u308B\u30D6\u30ED\u30C3\u30AF '${3}' \u306E\u51FA\u529B\u7AEF\u5B50 ${2} \u306B\u306F\u3001Auto \u4EE5\u5916\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5404\u7AEF\u5B50\u306F\u540C\u3058\u4FE1\u53F7\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u3044\u305A\u308C\u304B\u306E\u7AEF\u5B50\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",ConflictingModelRefOutportStorageClass:"\u4FE1\u53F7\u306E\u69CB\u6210\u304C\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059\u3002\u53C2\u7167\u30E2\u30C7\u30EB '${1}' \u306E\u51FA\u529B\u7AEF\u5B50 ${0} \u306B\u306F\u3001Auto \u4EE5\u5916\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u30E2\u30C7\u30EB\u3067\u306F\u3001\u540C\u3058\u7AEF\u5B50\u306B Auto \u4EE5\u5916\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u7AEF\u5B50\u306F\u540C\u3058\u4FE1\u53F7\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u308B\u305F\u3081\u3001\u4E00\u65B9\u306E\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Constants:"Constants",ConstantsToolTip:"Constant \u30D6\u30ED\u30C3\u30AF I/O \u304A\u3088\u3073\u5B9A\u6570\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC",CppAccessColumnName:"\u30E1\u30F3\u30D0\u30FC \u30A2\u30AF\u30BB\u30B9 \u30E1\u30BD\u30C3\u30C9",CppClassSettingDialogToolstripDescription:"\u30AF\u30E9\u30B9\u540D\u3068\u540D\u524D\u7A7A\u9593\u3092\u69CB\u6210\u3057\u307E\u3059",CppClassSettingDialogToolstripLabel:"\u30AF\u30E9\u30B9\u540D\u3068\u540D\u524D\u7A7A\u9593",CppCodeMappingToolstripDescription:"\u30C7\u30FC\u30BF\u3068\u30E1\u30BD\u30C3\u30C9\u306E\u30AF\u30E9\u30B9 \u30E1\u30F3\u30D0\u30FC\u3092\u69CB\u6210\u3057\u307E\u3059",CppCodeMappingToolstripLabel:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0",CppCommunicationToolstripLabel:"\u901A\u4FE1\u306E\u69CB\u6210",CppDataPropertyKind:"\u30C7\u30FC\u30BF \u30A2\u30AF\u30BB\u30B9",CppDataSettings:"\u30C7\u30FC\u30BF",CppIOAccessNotNoneWithFPCConfigured:"[I/O \u5F15\u6570 step \u30E1\u30BD\u30C3\u30C9] \u30B9\u30BF\u30A4\u30EB\u306E step \u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3059\u308B\u306B\u306F\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u5165\u529B\u7AEF\u5B50\u3068\u51FA\u529B\u7AEF\u5B50\u306E [\u30C7\u30FC\u30BF\u306E\u53EF\u8996\u6027] \u3092 [public] \u306B\u3001[\u30E1\u30F3\u30D0\u30FC \u30A2\u30AF\u30BB\u30B9 \u30E1\u30BD\u30C3\u30C9] \u3092 [\u306A\u3057] \u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",CppMethodNameColumnName:"\u30E1\u30BD\u30C3\u30C9\u540D",CppMethodPreviewColumnName:"\u30E1\u30BD\u30C3\u30C9\u306E\u30D7\u30EC\u30D3\u30E5\u30FC",CppMethodVisibilityColumnName:"\u30C7\u30FC\u30BF\u306E\u53EF\u8996\u6027",CppStaticMainPointerDataAccess:`\u30E2\u30C7\u30EB "\${0}" \u306B\u3064\u3044\u3066\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067 "\${1}" \u306E\u30C7\u30FC\u30BF \u30A2\u30AF\u30BB\u30B9 \u30D7\u30ED\u30D1\u30C6\u30A3\u304C [\u30DD\u30A4\u30F3\u30BF\u30FC] \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u69CB\u6210\u3067\u306F\u3001\u30E2\u30C7\u30EB\u304C\u3001\u30B5\u30F3\u30D7\u30EB\u306E ERT \u30E1\u30A4\u30F3\u306E\u751F\u6210\u3001SIL \u307E\u305F\u306F PIL \u30E2\u30C7\u30EB \u30D6\u30ED\u30C3\u30AF\u306E\u4F5C\u6210\u3001\u307E\u305F\u306F\u30B3\u30FC\u30C9\u306E\u307F\u306E\u751F\u6210\u306E\u3044\u305A\u308C\u304B\u3092\u884C\u3046\u3088\u3046\u306B\u69CB\u6210\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002 <actions exclusiveFixIts="yes"> <action type="fixit" id="CppStaticMainPointerDataAccess" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'on')</cmd> <txt>[Generate Sample Main] \u3092 [\u30AA\u30F3] \u306B\u8A2D\u5B9A\u3059\u308B\u3002</txt> </action> </actions>`,DDSDefault:"Default",DataCategoryColumnName:"Model Element Category",DataDefaultsSettings:"Data Defaults",DataMemorySectionNotApplicable:"Cannot configure memory sections for '${0}' in the code mapping. To configure memory sections for '${0}', define a storage class and apply the memory section to the storage class. To use const or volatile qualifiers, configure the properties of the storage class.",DataMemorySectionNotConfigurable:"Cannot get or set memory section for category '${0}' because category is mapped to storage class '${1}'. To get or set the memory section, set storage class to Default or the name of a storage class defined in a package where memory section property is instance specific.",DataReadModeColumnName:"Data Read Mode",DataReaderLabel:"Data Reader",DataStore:"Data store",DataTransferNotConfigurableMessage:`\u30C7\u30FC\u30BF\u8EE2\u9001\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u30C7\u30FC\u30BF\u8EE2\u9001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
|
||
|
||
\u547C\u3073\u51FA\u3057\u53EF\u80FD\u306A\u95A2\u6570\u3092\u63A5\u7D9A\u3059\u308B\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u306E\u500B\u3005\u306E\u4FE1\u53F7\u306B\u5BFE\u3057\u30C7\u30FC\u30BF\u8EE2\u9001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,DataTransferSignalAddedToSignalMapping:"For model '${0}', data transfer signal '${1}' was added to model code mappings as a signal. Remove signal '${1}' from signal code mappings.",DataTransfers:"Data transfers",DataTransfersMode:"Data Transfer Service",DataTransfersToolTip:"\u30BF\u30B9\u30AF\u9593\u306E\u30C7\u30FC\u30BF\u8EE2\u9001",DataViewDataStores:"Data Stores",DataViewDataTransfers:"Data Transfers",DataViewInports:"Inports",DataViewInternalMembers:"Internal Members",DataViewOutports:"Outports",DataViewParameters:"Parameters",DataViewSignals:"Signals",DataViewSignalsStates:"Signals/States",DataViewStates:"States",DataWriteModeColumnName:"Data Write Mode",DataWriterLabel:"Data Writer",DefaultMapping:"Model default: ${0}",DefaultMappingForAPI:"Model default",DeleteLabel:"\u524A\u9664",DirectDataAccessTooltip:"Generate data elements as class members that are nonstatic structs.",DisabledMappingInspectorTooltip:"\u8FFD\u52A0\u30D7\u30ED\u30D1\u30C6\u30A3\u306A\u3057\u3002",DocBtnToolTip:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3057\u3066\u3001\u30E2\u30C7\u30EB\u306E\u30C7\u30FC\u30BF\u8981\u7D20\u3068\u95A2\u6570\u3092\u30B3\u30FC\u30C9\u751F\u6210\u306E\u69CB\u6210\u306B\u95A2\u9023\u4ED8\u3051\u307E\u3059\u3002",DplTypeDlgCancelButtonLabel:"\u30AD\u30E3\u30F3\u30BB\u30EB",DplTypeDlgCppClassLabel:"C++ \u30AF\u30E9\u30B9\u540D:",DplTypeDlgCppClassLabelToolTip:"C++ \u30AF\u30E9\u30B9\u540D\u3002",DplTypeDlgCppClassNamespaceLabel:"C++ \u30AF\u30E9\u30B9\u540D\u7A7A\u9593:",DplTypeDlgCppClassNamespaceLabelToolTip:"C++ \u30AF\u30E9\u30B9\u540D\u7A7A\u9593\u3002",DplTypeDlgCppClassNamespaceTextboxToolTip:"\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u3066\u65E2\u5B9A\u306E\u30AF\u30E9\u30B9\u540D\u7A7A\u9593\u3092\u4F7F\u3046\u304B\u3001\u30AF\u30E9\u30B9\u540D\u7A7A\u9593\u3068\u3057\u3066\u6709\u52B9\u306A C++ \u8B58\u5225\u5B50\u3092\u5165\u529B\u3057\u307E\u3059\u3002",DplTypeDlgCppClassTextboxToolTip:"\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u3066\u65E2\u5B9A\u306E\u30AF\u30E9\u30B9\u540D\u3092\u4F7F\u3046\u304B\u3001\u30AF\u30E9\u30B9\u540D\u3068\u3057\u3066\u6709\u52B9\u306A C++ \u8B58\u5225\u5B50\u3092\u5165\u529B\u3057\u307E\u3059\u3002",DplTypeDlgDescription:"C++ \u30AF\u30E9\u30B9\u8A2D\u5B9A\u3092\u69CB\u6210\u3057\u307E\u3059",DplTypeDlgHelpButtonLabel:"\u30D8\u30EB\u30D7",DplTypeDlgInvalidIdentifier:"\u7121\u52B9\u306A C++ \u8B58\u5225\u5B50",DplTypeDlgOKButtonLabel:"OK",DplTypeDlgTitle:"'${0}' \u306E C++ \u30AF\u30E9\u30B9\u8A2D\u5B9A\u306E\u69CB\u6210",ERTFunctionGroupMappingLabel:"\u30E2\u30C7\u30EB\u6A5F\u80FD\u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3",EntryPointFunctions:"Functions",EntryPointMethods:"Methods",Error:"\u30A8\u30E9\u30FC",Execution:"Execution",ExecutionCoreColumnName:"Execution Core",ExecutionToolTip:"\u30B9\u30C6\u30C3\u30D7\u95A2\u6570\u3084\u30EA\u30BB\u30C3\u30C8\u95A2\u6570\u306A\u3069\u306E\u95A2\u6570",ExportedFuncPrefix:"Exported Function:",FilterExpressionLabel:"Filter Expression",FilterKindLabel:"Filter Kind",FilterKindSqlLabel:"SQL",FilterKindStringLabel:"String Match",FilterParameterListLabel:"Filter Parameter List",FunctionCallers:"Function Callers",FunctionCategoryColumnName:"Model Function Category",FunctionClass:"FunctionCustomizationTemplate",FunctionClassColumnName:"Function Customization Template",FunctionExecutionModeColumnName:"Execution Mode",FunctionMappingForStateflowFunctionCaller:'In model "${0}", Simulink function "${1}" with customized code prototype "${2}" invokes or is invoked by a Stateflow chart. Code generation for such functions is supported only when functions are configured with default function prototype. <actions exclusiveFixIts="yes"> <action type="fixit" id="StateflowFunctionCallerFPC" retvalue="false"> <cmd>codermapping.internal.simulinkfunction.reconfigureDefaultPrototype(\'${0}\',\'${1}\')</cmd> <txt>Reconfigure Simulink function \'${2}\' to have default code prototype.</txt> </action> </actions>',FunctionMemorySectionNotConfigurable:"Cannot get or set memory section for function category '${0}' because category is mapped to function customization template '${1}'. To get or set memory section, set function customization template to Default.",FunctionNameColumnName:"Function Name",FunctionPreviewColumnName:"Function Preview",FunctionPriorityColumnName:"Priority",FunctionTriggeringTypeColumnName:"Triggering Type",FunctionsDefaultsSettings:"Function Defaults",FunctionsNotConfigurableMessage:`\u95A2\u6570\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u95A2\u6570\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
|
||
|
||
\u500B\u3005\u306E\u30E2\u30C7\u30EB\u95A2\u6570\u306B\u5BFE\u3057\u95A2\u6570\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,GlobalDataStores:"Global data stores",GlobalDataStoresToolTip:"\u30D9\u30FC\u30B9 \u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u307E\u305F\u306F\u30C7\u30FC\u30BF \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u30C7\u30FC\u30BF \u30B9\u30C8\u30A2",GlobalParameters:"External parameters",GlobalParametersToolTip:"\u30D9\u30FC\u30B9 \u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u307E\u305F\u306F\u30C7\u30FC\u30BF \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC",HelpBtnLabel:"\u30C7\u30FC\u30BF\u3068\u95A2\u6570\u3092\u30B3\u30FC\u30C9\u751F\u6210\u7528\u306B\u69CB\u6210\u3059\u308B\u305F\u3081\u306E\u30D8\u30EB\u30D7\u3002",InaccessibleCppPrivateIO:"C++ \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u306F\u3001\u5165\u529B\u7AEF\u5B50\u307E\u305F\u306F\u51FA\u529B\u7AEF\u5B50\u304C [\u30C7\u30FC\u30BF\u306E\u53EF\u8996\u6027] \u3092 [\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8] \u306B\u8A2D\u5B9A\u3057\u3066\u69CB\u6210\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001[\u30E1\u30F3\u30D0\u30FC \u30A2\u30AF\u30BB\u30B9 \u30E1\u30BD\u30C3\u30C9] \u3092 [\u306A\u3057] \u4EE5\u5916\u306E\u5024\u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",IncompatiblePrototype:"Function caller prototype '${0}' is not compatible with function definition '${1}'.",InconsistentMemorySectionPackage:"For model '${1}', subsystem '${0}' uses memory section '${2}' from package '${3}'. Model configuration parameter 'Package' specifies that package, but Embedded Coder Dictionary for model loads package '${4}'. Specify same package in model configuration parameter and dictionary or set subsystem memory section to 'Inherit from model' or 'Default'.",InheritFromSignal:"From signal object: ${0}",InitializeTerminate:"Initialize/Terminate",InitializeTerminateToolTip:"\u30E2\u30C7\u30EB\u5185\u3067 Initialize Function \u30D6\u30ED\u30C3\u30AF\u3001Reset Function \u30D6\u30ED\u30C3\u30AF\u3001\u304A\u3088\u3073 Terminate Function \u30D6\u30ED\u30C3\u30AF\u3068\u3057\u3066\u8868\u3055\u308C\u308B\u95A2\u6570\u3002",InlineInportAccessMethodTooltip:"Generate set access method defined in class declaration for each inport.",InlineOutportAccessMethodTooltip:"Generate get access method defined in class declaration for each outport.",InlineStructureBasedAccessMethodTooltip:"Generate get and one set access method for data category defined in class declaration.",InlinedParameters:"'Auto' will be inlined",Inport:"Inport",InportAccessMethodTooltip:"Generate set access method for each inport.",InportSCPresent:"\u30E2\u30C7\u30EB \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u5165\u529B\u7AEF\u5B50\u306E\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C '${0}' \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306F\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u306E\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u6A5F\u80FD\u306B\u5BFE\u5FDC\u3057\u307E\u305B\u3093\u3002\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 [\u65E2\u5B9A] \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",Inports:"Inports",InportsNotConfigurableMessage:`\u5165\u529B\u7AEF\u5B50\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
|
||
|
||
\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u306E\u500B\u3005\u306E\u5165\u529B\u7AEF\u5B50\u306B\u5BFE\u3057\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,InportsToolTip:"\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50",InstanceSpecificParameters:"Parameter arguments",InstanceSpecificParametersToolTip:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u56FA\u6709\u306E\u5024\u3092\u3082\u3064\u30E2\u30C7\u30EB \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5F15\u6570 (\u65E2\u5B9A\u5024\u306F\u3053\u306E\u30E2\u30C7\u30EB\u3067\u5B9A\u7FA9)",InternalData:"Signals, states, and internal data",InternalDataMemorySectionColumnName:"Internal Data Memory Section",InternalDataSwAddrMethodColumnName:"Internal Data SwAddrMethod",InternalDataToolTip:"\u30D6\u30ED\u30C3\u30AF\u306E\u96E2\u6563\u72B6\u614B\u3001\u30D6\u30ED\u30C3\u30AF\u306E\u51FA\u529B\u4FE1\u53F7\u3001\u304A\u3088\u3073\u30BC\u30ED\u30AF\u30ED\u30C3\u30B7\u30F3\u30B0\u4FE1\u53F7\u3068\u4EE5\u524D\u306E\u30BC\u30ED\u30AF\u30ED\u30C3\u30B7\u30F3\u30B0\u4FE1\u53F7",InvalidBlockForInportMappings:"\u5165\u529B\u7AEF\u5B50\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3001\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u306B\u306E\u307F\u5BFE\u5FDC\u3057\u3066\u3044\u307E\u3059\u3002",InvalidBlockForOutportMappings:"Outport code mappings are for root-level outports only.",InvalidBusElementPortInFunctionComponent:"\u30E2\u30C7\u30EB\u306F\u30D0\u30FC\u30C1\u30E3\u30EB\u306E In Bus Element \u30D6\u30ED\u30C3\u30AF\u307E\u305F\u306F Out Bus Element \u30D6\u30ED\u30C3\u30AF\u3092\u542B\u307F\u3001\u30B5\u30FC\u30D3\u30B9 \u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u3092\u5B9A\u7FA9\u3059\u308B\u5171\u6709 Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30FC\u30D3\u30B9 \u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u3092\u5B9A\u7FA9\u3059\u308B\u30B3\u30FC\u30C0\u30FC \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306B\u30EA\u30F3\u30AF\u3055\u308C\u305F\u30E2\u30C7\u30EB\u306E\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3059\u308B\u306B\u306F\u3001In Bus Element \u30D6\u30ED\u30C3\u30AF\u3068 Out Bus Element \u30D6\u30ED\u30C3\u30AF\u306F\u975E\u30D0\u30FC\u30C1\u30E3\u30EB\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",InvalidDataStoreObjectConfiguration:"For model '${0}', code mapping of data store memory block '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that data store memory block. Change one of the specifications to '${3}'.",InvalidDataStoreObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object that is associated with that inport. Change storage class setting for external data object to 'Auto'.",InvalidDataTransferDataObjectConfigurationFcnComponent:"For model '${0}', code mapping for data transfer signal '${1}' conflicts with storage class setting for external data object associated with that data transfer signal. Change external data object storage class to 'Auto'.",InvalidFunctionName:"For model '${0}', '${1}' is an invalid function name. Specify function name as a valid C identifier or an identifier format control macro.",InvalidIOPortDataObjectConfiguration:"For model '${0}', code mapping for ${1} block '${2}' to storage class '${3}' conflicts with storage class setting for external data object associated with that outport. Change one of the specifications to '${4}'.",InvalidIOportDataObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object associated with that inport block. Change external data object storage class to 'Auto' or remove external data object.",InvalidIdentifierForData:"For model '${0}', identifier '${1}' specified for ${2} '${3}' is not valid. Valid identifiers start with an alphabetic or '_' character, followed by alphanumeric or '_' characters. Identifiers starting with 'rt' are reserved unless you set model configuration parameter 'rt prefix for identifiers' to 'warning' or 'none'.",InvalidInportDataMappingDueToMessage:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u4FE1\u3059\u308B\u5165\u529B\u7AEF\u5B50\u304C\u30E2\u30C7\u30EB\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001'${6}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidInputError:'"${0}" \u30D7\u30ED\u30D1\u30C6\u30A3\u306B\u6307\u5B9A\u3055\u308C\u305F\u5024\u304C\u7121\u52B9\u3067\u3059\u3002',InvalidInternalDataMappingDueToMessage:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u3001\u307E\u305F\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D7\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50\u304C\u30E2\u30C7\u30EB\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001'${6}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidMaxMsgNumValue:"\u30C7\u30FC\u30BF\u578B\u304C\u7121\u52B9\u3067\u3059\u3002\u6700\u5927\u5024\u306F\u7B26\u53F7\u306A\u3057\u6574\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",InvalidOutportDataMappingDueToMessage:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D7\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50\u304C\u30E2\u30C7\u30EB\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001'${6}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidPriorityValue:"\u30C7\u30FC\u30BF\u578B\u304C\u7121\u52B9\u3067\u3059\u3002\u512A\u5148\u9806\u4F4D\u306E\u5024\u306F\u7B26\u53F7\u306A\u3057\u6574\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093",InvalidPrototype:"\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7 '${0}' \u306F\u6709\u52B9\u306A\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u6709\u52B9\u306A\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidSignalConfiguration4Merge:'Conflicting signal configurations. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} and for signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} are inconsistent but feed Merge block ${4} and share memory. Signals entering a Merge block must have the same configuration. Use a Signal Conversion block upstream of the Merge block to isolate signal configurations.',InvalidSignalConfigurationForSameActSrc:'Conflicting signal configuration. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} conflicts with signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} because outputs map to same signal.',InvalidSignalObjectConfiguration:"For model '${0}', code mapping of signal '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that signal. Change one of the specifications to '${3}'.",InvalidSignalObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for signal '${1}' conflicts with storage class setting for external data object that is associated with that signal. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStateObjectConfiguration:"For model '${0}', code mapping of state '${1}' to storage class '${2}' conflicts with storage class setting for external data object associated with that state. Change storage class setting for code mapping or external data object to '${3}'.",InvalidStateObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for state '${1}' conflicts with storage class setting for external data object that is associated with that state. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStorageClassName:"For model '${0}', \"${1}\" is not a valid storage class for ${2}.",InvalidStorageClassTooltip:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set '${6}' to a valid '${5}'.",InvalidStorageClassTooltipIndividual:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001${6} '${7}' \u3092\u6709\u52B9\u306A '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidStorageClassTooltipIndividualBusElementPort:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u30D0\u30FC\u30C1\u30E3\u30EB \u30D0\u30B9 \u30C7\u30FC\u30BF\u578B\u306E\u30D0\u30B9\u8981\u7D20\u7AEF\u5B50\u3067\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001${6} '${7}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidStorageClassTooltipIndividualMessageInport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level inports that send messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageOutport:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D7\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50\u3067\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001${6} '${7}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",LegacyMemorySectionNotFound:"Unable to find memory section '${0}' in package '${1}'.",LocalParameters:"Model parameters",LocalParametersToolTip:"\u3053\u306E\u30E2\u30C7\u30EB\u5185\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC (\u5024\u306F\u30E2\u30C7\u30EB \u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u9593\u3067\u5171\u6709)",LookupTables:"Lookup Tables",MDSAperiodicPartition:"Aperiodic partition:${0}",MDSUnmappedAperiodicPartition:"Unmapped aperiodic partition",MappedToColumnName:"Mapped To",MappingFunctionDefault:"Default",MappingInspectorError:"1 \u3064\u4EE5\u4E0A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30D7\u30ED\u30D1\u30C6\u30A3\u306B\u6307\u5B9A\u3055\u308C\u305F\u5024\u304C\u7121\u8996\u3055\u308C\u307E\u3057\u305F\u3002",MappingInspectorTooltip:"\u8FFD\u52A0\u306E\u30DE\u30C3\u30D4\u30F3\u30B0 \u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u69CB\u6210\u3057\u307E\u3059\u3002",MappingNone:"None",MappingNotFound_AUTOSAR:"\u30E2\u30C7\u30EB '${0}' \u306B\u306F AUTOSAR \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3042\u308A\u307E\u305B\u3093\u3002",MappingNotFound_C:"\u30E2\u30C7\u30EB '${0}' \u306B\u306F C \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3042\u308A\u307E\u305B\u3093\u3002",MaxMsgNumLabel:"Capacity",MeasurementServiceColumnName:"Measurement Service",MemorySectionColumnName:"Memory Section",MemorySectionGlobalAndLocalParamsNotCompatible:"For model '${0}', default mapping of categories ${1} and ${2} are mapped to ${3} '${4}' with different memory sections. Map the categories to the same memory section.",MemorySectionInMultiplePackages:"For model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages: ${1} and ${2}. Memory sections configured for data and function default categories must be defined in the same package.",MemorySectionNotCompatible:"For model '${2}', default mapping of category ${0} to memory section '${1}' is not compatible with mapping of category ${3} to memory section '${4}' for reference model '${5}'.",MessageQueueNameLabel:"Message Queue Name",MigrateCPPFromCSRef:"\u53C2\u7167\u5148\u306E\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30BB\u30C3\u30C8 '${0}' \u304B\u3089\u306E\u60C5\u5831\u304C C++ \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u30A4\u30F3\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F\u3002",MigrateFromCSRef:"\u53C2\u7167\u5148\u306E\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30BB\u30C3\u30C8 '${0}' \u304B\u3089\u306E\u60C5\u5831\u304C Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3068 C \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u30A4\u30F3\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F\u3002",MissingDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule omits $C token, which is required for ${2} \"${3}\".",MissingResolvedObjectError:"\u89E3\u6C7A\u6E08\u307F\u306E\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",ModelData:"Self data structure",ModelDataStoreNotFound:"For model '${1}', unable to find data store '${0}' in model workspace.",ModelDataToolTip:"\u81EA\u5DF1\u30C7\u30FC\u30BF\u69CB\u9020\u4F53",ModelDefaultMapping:"Dictionary default: ${0}",ModelDefaultMappingForAPI:"Dictionary default",ModelMappingAlreadyExist:"\u540C\u3058\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u3064\u3044\u3066 '${0}' \u3068\u3044\u3046\u540D\u524D\u306E\u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u4EE5\u524D\u306B\u4F5C\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002",ModelParameter:"Model parameter",ModelParameterArgument:"Model parameter argument",ModelParameterArguments:"Model parameter arguments",ModelParameterArgumentsToolTip:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u56FA\u6709\u306E\u5024\u3092\u3082\u3064\u30E2\u30C7\u30EB \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5F15\u6570 (\u65E2\u5B9A\u5024\u306F\u3053\u306E\u30E2\u30C7\u30EB\u3067\u5B9A\u7FA9)",ModelParameters:"Model parameters",ModelParametersToolTip:"\u3053\u306E\u30E2\u30C7\u30EB\u5185\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC (\u5024\u306F\u30E2\u30C7\u30EB \u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u9593\u3067\u5171\u6709)",NewStorageClassModelReference:"\u53C2\u7167\u30E2\u30C7\u30EB '${0}' \u3067\u3001${1} '${2}' \u304C Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u3068\u51FA\u529B\u7AEF\u5B50\u3001\u304A\u3088\u3073\u30EB\u30FC\u30C8\u5165\u529B\u7AEF\u5B50\u3092\u30BD\u30FC\u30B9\u3068\u3059\u308B\u4FE1\u53F7\u3092 Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3059\u308B\u3053\u3068\u306F\u3001\u53C2\u7167\u30E2\u30C7\u30EB\u306E\u30B3\u30FC\u30C9\u751F\u6210\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002${1} \u3092\u30B3\u30FC\u30C9\u751F\u6210\u88FD\u54C1\u3067\u6307\u5B9A\u3055\u308C\u305F\u3001\u307E\u305F\u306F\u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",NoCoderDictionaryWarn:`\u30E2\u30C7\u30EB '\${0}' \u306B C \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3042\u308A\u307E\u3059\u304C\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306F\u3042\u308A\u307E\u305B\u3093\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NoCoderDictionaryWarnFix" retvalue="false"> <cmd>coder.dictionary.create('\${0}')</cmd> <txt>\u30E2\u30C7\u30EB '\${0}' \u306B Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3092\u4F5C\u6210\u3059\u308B\u3002 </txt> </action> </actions>`,NoGroupInDictionary:"Storage class '${0}' is not defined in Embedded Coder Dictionary.",NoMapping:"Auto",NoMeasurementService:"Not measured",NoTuningService:"Not tunable",NoneAccessTooltip:"Do not generate access methods.",NoneVisibilityTooltip:"Generate data elements in application code as arguments passed into methods.",Outport:"Outport",OutportAccessMethodTooltip:"Generate get access method for each outport.",OutportSCPresent:"\u30E2\u30C7\u30EB \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u51FA\u529B\u7AEF\u5B50\u306E\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C '${0}' \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306F\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u306E\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u6A5F\u80FD\u306B\u5BFE\u5FDC\u3057\u307E\u305B\u3093\u3002\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 [\u65E2\u5B9A] \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",Outports:"Outports",OutportsNotConfigurableMessage:`\u51FA\u529B\u7AEF\u5B50\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
|
||
|
||
\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u306E\u500B\u3005\u306E\u51FA\u529B\u7AEF\u5B50\u306B\u5BFE\u3057\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,OutportsToolTip:"\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50",OutputArgReturnByVal:"\u7AEF\u5B50 '${0}' \u306F\u975E\u30B9\u30AB\u30E9\u30FC\u5024\u3092\u4FDD\u6301\u3059\u308B\u305F\u3081\u3001\u623B\u308A\u5F15\u6570\u3068\u3057\u3066\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093",PackageSelectionToolTip:`sldataclassdesigner \u3068 cscdesigner \u3092\u4F7F\u7528\u3057\u3066\u4F5C\u6210\u3055\u308C\u3001
|
||
\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3068\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092\u542B\u3080\u30D1\u30C3\u30B1\u30FC\u30B8\u3092\u9078\u629E\u3057\u307E\u3059\u3002`,ParameterArguments:"Model parameter arguments",ParameterArgumentsToolTip:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u56FA\u6709\u306E\u5024\u3092\u3082\u3064\u30E2\u30C7\u30EB \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5F15\u6570 (\u65E2\u5B9A\u5024\u306F\u3053\u306E\u30E2\u30C7\u30EB\u3067\u5B9A\u7FA9)",ParameterServiceColumnName:"Parameter Tuning Service",PlatformDefault:"Dictionary default",PlatformDefaultDecorated:"Dictionary default: ${0}",PointerDataAccessTooltip:"Generate data elements as class members that are non-static pointers to structs.",PortNameNotPresent:"\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3067\u6307\u5B9A\u3055\u308C\u305F\u7AEF\u5B50\u540D '${0}' \u304C\u30E2\u30C7\u30EB\u5185\u306B\u3042\u308A\u307E\u305B\u3093\u3002\u95A2\u6570\u306E\u5F15\u6570\u3092\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",PriorityLabel:"Priority",PrivateVisibilityTooltip:"Generate data elements as class members with private C++ access specifier.",PropertyInspectorHyperlink:"\u30D7\u30ED\u30D1\u30C6\u30A3 \u30A4\u30F3\u30B9\u30DA\u30AF\u30BF\u30FC\u3067\u958B\u304F",ProtectedVisibilityTooltip:"Generate data elements as class members with protected C++ access specifier.",PublicVisibilityTooltip:"Generate data elements as class members with public C++ access specifier.",ReadOnly:"[\u8AAD\u307F\u53D6\u308A\u5C02\u7528]",ReadServiceColumnName:"Receiver Service",ReaderQoSLabel:"Reader QoS",ReaderXMLTagLabel:"Reader XML Path",ResolvedStorageClassError:"\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9 '${1}' \u3078\u306E ${0} \u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3001\u305D\u306E ${0} \u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u305F\u5916\u90E8\u30C7\u30FC\u30BF \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u8A2D\u5B9A\u3068\u7AF6\u5408\u3057\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u8A2D\u5B9A\u3092\u5909\u66F4\u3059\u308B\u304B\u3001\u5916\u90E8\u30C7\u30FC\u30BF \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092 Auto \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",ResovledSignalContextMenu_Create:"\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u4F5C\u6210...",ResovledSignalContextMenu_Explore:"\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u63A2\u7D22",ResovledSignalContextMenu_Open:"\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u958B\u304F",RunnableSwAddrMethodColumnName:"SwAddrMethod",SameNameMessageCustomizationExisted:"'${0}' \u3068\u3044\u3046\u540D\u524D\u306E MessageCustomization \u306F\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059\u3002",SameStorageClassForLocalAndParameterArgument:"\u30E2\u30C7\u30EB '${0}' \u306E \"${1}\" '${2}' \u304A\u3088\u3073 \"${3}\" '${4}' \u306F\u540C\u3058\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9 '${5}' \u3092\u4F7F\u7528\u3057\u3066\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u7570\u306A\u308B\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092\u4F7F\u7528\u3057\u3066 \"${6}\" \u3068 \"${7}\" \u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SelectReaderXMLTagLabel:"Use Reader XML Path",SelectStr:"Select ...",SelectTopicLabel:"Use Topic and QoS",SelectWriterXMLTagLabel:"Use Writer XML Path",SelectXMLTagLabel:"Use XML Tag",SelfDataStructure:"Self data structure",SelfDataStructureToolTip:"\u81EA\u5DF1\u30C7\u30FC\u30BF\u69CB\u9020\u4F53",SharedDictionaryIncompatibleWithCodeMappings:"Code interface defined in shared Embedded Coder Dictionary '${0}' is configured for a '${1}', which is not compatible with current code mappings for model ${2} that are configured for a '${3}'. Link model to the original shared coder dictionary or <a href=\"matlab:Simulink.CodeMapping.resetCoderInterface('${2}');\">replace the current code mappings with new '${1}' code mappings</a>.",SharedLocalDataStores:"Shared local data stores",SharedLocalDataStoresToolTip:"\u30E2\u30C7\u30EB\u304C\u518D\u547C\u3073\u51FA\u3057\u53EF\u80FD\u306A\u5834\u5408\u306B\u30E2\u30C7\u30EB \u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u9593\u3067\u5171\u6709\u3055\u308C\u308B\u30C7\u30FC\u30BF \u30B9\u30C8\u30A2",SharedUtility:"Shared utility",SharedUtilityToolTip:"\u30E2\u30C7\u30EB\u5185\u306E\u56FA\u5B9A\u5C0F\u6570\u70B9\u95A2\u6570\u3001\u30EB\u30C3\u30AF\u30A2\u30C3\u30D7 \u30C6\u30FC\u30D6\u30EB\u95A2\u6570\u3001\u30D0\u30A4\u30CA\u30EA\u691C\u7D22\u95A2\u6570\u306A\u3069\u306E\u95A2\u6570",Signal:"Signal",SimulinkGlobal:"Default",StageCreateDefaultCompMsg:"\u65E2\u5B9A\u306E\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u4F5C\u6210",State:"State",StepFPCombinedIOOrdering:"\u540C\u3058\u540D\u524D\u3092\u3082\u3064\u7AEF\u5B50\u306E\u30DA\u30A2\u306F\u3001\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u5185\u3067\u96A3\u308A\u5408\u308F\u305B\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",StorageClassColumnName:"Storage Class",StructureBasedAccessMethodTooltip:"Generate get and one set access method for data category.",StructuredNewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}' is mapped to a structured storage class that was defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root-level inport source, mappings to structured storage classes that are defined in an Embedded Coder Dictionary are not supported for referenced model code generation. Change storage type to \"Unstructured\" or map ${1} to a built-in storage class or a storage class that is defined in a package.",SubsystemBuildFPCForC:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C \u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u69CB\u6210\u306F\u5C06\u6765\u306E\u30EA\u30EA\u30FC\u30B9\u3067\u524A\u9664\u3055\u308C\u308B\u4E88\u5B9A\u3067\u3059\u3002\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemBuildFPCForCPP:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C++ \u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u30E2\u30C7\u30EB\u306E\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemConversionForFunctionPlatformError:"\u30E2\u30C7\u30EB '${0}' \u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u304B\u3089\u53C2\u7167\u30E2\u30C7\u30EB\u3078\u306E\u5909\u63DB\u3067\u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u30B3\u30D4\u30FC\u3055\u308C\u307E\u305B\u3093\u3002\u5909\u63DB\u3092\u7D9A\u884C\u3059\u308B\u306B\u306F\u3001\u30E2\u30C7\u30EB\u53C2\u7167\u5909\u63DB\u30A2\u30C9\u30D0\u30A4\u30B6\u30FC\u3067\u3001[\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u30B3\u30D4\u30FC] \u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u30AA\u30D5\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemConversionForFunctionPlatformWarn:"\u30E2\u30C7\u30EB '${0}' \u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u304B\u3089\u53C2\u7167\u30E2\u30C7\u30EB\u3078\u306E\u5909\u63DB\u3067\u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u30B3\u30D4\u30FC\u3055\u308C\u307E\u305B\u3093\u3002",SubsystemConversionForServiceInterfaceNotification:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u306B\u63A5\u7D9A\u3055\u308C\u305F\u30E2\u30C7\u30EB\u8981\u7D20\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001\u4F5C\u6210\u3055\u308C\u305F\u53C2\u7167\u30E2\u30C7\u30EB '${1}' \u306B\u30B3\u30D4\u30FC\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002",SubsystemFpcNewConfigurationForC:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C \u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u69CB\u6210\u306F\u5C06\u6765\u306E\u30EA\u30EA\u30FC\u30B9\u3067\u524A\u9664\u3055\u308C\u308B\u4E88\u5B9A\u3067\u3059\u3002\u65B0\u898F\u306E\u69CB\u6210\u3067\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u30E2\u30C7\u30EB\u306E\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemFpcNewConfigurationForCPP:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C++ \u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u30E2\u30C7\u30EB\u306E\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemMemSecPkgMisMatch:"\u30E2\u30C7\u30EB '${0}' \u5185\u306E '${1}' \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u306F\u3001\u30C7\u30FC\u30BF\u307E\u305F\u306F\u95A2\u6570\u306E\u30AB\u30C6\u30B4\u30EA\u304C\u3001'${2}' \u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u3088\u308A\u8A2D\u5B9A\u3055\u308C\u3001\u30C7\u30FC\u30BF\u307E\u305F\u306F\u95A2\u6570\u306E\u65E2\u5B9A\u306E\u30AB\u30C6\u30B4\u30EA\u306F\u3001'${3}' \u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u3088\u308A\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u540C\u3058\u30D1\u30C3\u30B1\u30FC\u30B8\u304B\u3089\u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemMemorySectionInMultiplePackages:"\u30E2\u30C7\u30EB '${0}' \u5185\u306E '${1}' \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u306F\u3001\u30C7\u30FC\u30BF\u307E\u305F\u306F\u95A2\u6570\u306E\u65E2\u5B9A\u306E\u30AB\u30C6\u30B4\u30EA\u304C\u3001\u5C11\u306A\u304F\u3068\u3082 2 \u3064\u306E\u30D1\u30C3\u30B1\u30FC\u30B8 (${2} \u304A\u3088\u3073 ${3}) \u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u3088\u308A\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30C7\u30FC\u30BF\u304A\u3088\u3073\u95A2\u6570\u306E\u65E2\u5B9A\u306E\u30AB\u30C6\u30B4\u30EA\u306B\u5BFE\u3057\u8A2D\u5B9A\u3055\u308C\u308B\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306F\u3001\u540C\u3058\u30D1\u30C3\u30B1\u30FC\u30B8\u5185\u3067\u5B9A\u7FA9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SwAddrMethodForInternalDataTooltip:"SectionType \u304C 'Var' \u306E SwAddrMethod \u3092\u9078\u629E\u3057\u307E\u3059\u3002",SwAddrMethodForRunnableTooltip:"SectionType \u304C 'Code' \u306E SwAddrMethod \u3092\u9078\u629E\u3057\u307E\u3059\u3002",TimerServiceColumnName:"Timer Service",TopicLabel:"Topic",TunableParameters:"'Auto' will be tunable",UnnamedInport:"In model '${0}', root-level inport '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedInportServicePort:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50 '${1}' \u306F\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9\u901A\u4FE1\u3092\u4F7F\u7528\u3059\u308B\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u3067\u4F7F\u7528\u3059\u308B\u3088\u3046\u306B\u69CB\u6210\u3055\u308C\u3066\u304A\u308A\u3001\u8B58\u5225\u5B50\u306F\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5165\u529B\u7AEF\u5B50\u306E\u8B58\u5225\u5B50\u3092\u6307\u5B9A\u3059\u308B\u304B\u3001\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u306E\u30C7\u30FC\u30BF\u901A\u4FE1\u65B9\u6CD5\u306E\u8A2D\u5B9A\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",UnnamedOutport:"In model '${0}', Outport block '${1}' has an empty Identifier and is configured with a storage class other than Auto. Set a non-empty Identifier for Outport block, or set storage class for Outport block to Auto.",UnnamedOutportServicePort:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001\u51FA\u529B\u7AEF\u5B50 '${1}' \u306F\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9\u901A\u4FE1\u3092\u4F7F\u7528\u3059\u308B\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u3067\u4F7F\u7528\u3059\u308B\u3088\u3046\u306B\u69CB\u6210\u3055\u308C\u3066\u304A\u308A\u3001\u8B58\u5225\u5B50\u306F\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u51FA\u529B\u7AEF\u5B50\u306E\u8B58\u5225\u5B50\u3092\u6307\u5B9A\u3059\u308B\u304B\u3001\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u306E\u30C7\u30FC\u30BF\u901A\u4FE1\u65B9\u6CD5\u306E\u8A2D\u5B9A\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",UnnamedSignal:"In model '${0}', signal '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedSignalServicePort:"In model '${0}', signal '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnnamedState:"In model '${0}', state '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedStateServicePort:"In model '${0}', state '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnresolvedCell:"\u95A2\u9023\u4ED8\u3051\u306A\u3057",UnresolvedDictionaryItemError:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set '${5}' to a valid '${4}'.",UnresolvedDictionaryItemErrorIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set ${5} '${6}' to '${4}'.",UnresolvedDictionaryItemForIndividualFunction:"For model '${0}', '${1}' mapped to '${2}' for entry-point functions does not resolve to valid entry in Embedded Coder Dictionary. Set'${3}' to a valid value.",UnsupportedDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $C token, which is valid for ${2} \"${4}\" only.",UnsupportedDollarMToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $M token, which is valid for ${2} \"${4}\" and \"${5}\" only.",ValidateMapping_Tooltip:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u691C\u8A3C\u3057\u307E\u3059",WriteServiceColumnName:"Sender Service",WriterQoSLabel:"Writer QoS",WriterXMLTagLabel:"Writer XML Path",duplicateMappedEntryPointFunction:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u30A8\u30F3\u30C8\u30EA\u30DD\u30A4\u30F3\u30C8\u95A2\u6570 '${0}' \u3068 '${1}' \u304C\u540C\u3058\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u3067\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4E00\u65B9\u306E\u30A8\u30F3\u30C8\u30EA\u30DD\u30A4\u30F3\u30C8\u95A2\u6570\u306E\u95A2\u6570\u540D\u3092\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",duplicateMappedFcnCallInport:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u30D6\u30ED\u30C3\u30AF '${0}' \u3068 '${1}' \u304C\u540C\u3058\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u3067\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4E00\u65B9\u306E\u30D6\u30ED\u30C3\u30AF\u306E\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u3092\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",duplicateMappingFound:"\u91CD\u8907\u3059\u308B '${0}' \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002mappingObj.removeInvalidInternalDataMappings \u3092\u4F7F\u7528\u3057\u3066\u91CD\u8907\u3059\u308B\u8981\u7D20\u3092\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002",inactiveMappingsLost:"\u30E2\u30C7\u30EB '${0}' \u306B\u3001${1} \u7528\u306B\u69CB\u6210\u3055\u308C\u305F\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u3089\u306E\u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3001\u30E2\u30C7\u30EB\u3092\u4EE5\u524D\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3059\u308B\u3068\u5931\u308F\u308C\u307E\u3059\u3002",invalidBlockParameterName:"\u30D6\u30ED\u30C3\u30AF ${1} \u306B\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC '${0}' \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",invalidSelectionForAddingBlockParameters:"\u9078\u629E\u3057\u305F\u30D6\u30ED\u30C3\u30AF\u306B\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",invalidSignalMappingSpecification1:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because cannot add unique mapping to valid signal in the model. Insert Signal Conversion block after output port and configure output signal of Signal Conversion block.',invalidSignalMappingSpecification2:"Argument Inport \u30D6\u30ED\u30C3\u30AF ${0} \u306E\u51FA\u529B\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9\u751F\u6210\u7528\u306B\u69CB\u6210\u3067\u304D\u307E\u305B\u3093\u3002",invalidSignalMappingSpecification3:"Signal connected to root-level inport ${0}. Map signals that are sourced from root-level inports as inports instead of signals.",invalidSignalMappingSpecification4:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because it is a message signal.',unmappedEntryPointFunction:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u30A8\u30F3\u30C8\u30EA\u30DD\u30A4\u30F3\u30C8\u95A2\u6570 '${0}' \u306E\u95A2\u6570\u540D\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u95A2\u6570\u540D\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",unmappedFcnCallInport:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u306F\u3001\u30D6\u30ED\u30C3\u30AF '${0}' \u306E\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u306F\u8A2D\u5B9A\u3055\u308C\u307E\u305B\u3093\u3002",unmappedIOBlock:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u30D6\u30ED\u30C3\u30AF '${0}' \u306E\u69CB\u6210\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u3068\u51FA\u529B\u7AEF\u5B50\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},function(_,M,l){_.exports={ASAPAttributesTitle:"ASAP2 \u5C5E\u6027",AUTOSARAttributes:"\u5176\u4ED6\u5C5E\u6027",AutoGenerate:"Auto",BlockParameterArguments:"Block parameter arguments",BlockParameters:"Block parameters",CannotChangeIOAccessToNone:"Access method '${0}' cannot be changed to 'None' when visibility is set to 'private'.",CannotConfigureClassMemoryType:"Cannot configure 'External Pointer' for model element type '${0}'.",CannotMapFcnCallInport:"Inport \u6A21\u5757\u8F93\u51FA\u51FD\u6570\u8C03\u7528\u89E6\u53D1\u4FE1\u53F7\uFF0C\u8F93\u5165\u7AEF\u53E3\u4EE3\u7801\u6620\u5C04\u4E0D\u652F\u6301\u8BE5\u4FE1\u53F7\u3002",CodeIdentifierColumnName:"Identifier",CodeIdentifierSpecifiedOnVirtualBusState:"Block '${0}' has a virtual bus input signal and a state that is configured with storage class other than Auto. Set storage class to Auto or use a nonvirtual bus with a Simulink.Bus object on the input signal to this block.",CodeInterfaceSwitched:'\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u5DF2\u5C06\u4EE3\u7801\u63A5\u53E3\u4ECE "${0}" \u5207\u6362\u5230 "${1}" \u4EE5\u53CD\u6620\u6A21\u578B\u7684\u65B0\u4EE3\u7801\u63A5\u53E3\u8BBE\u7F6E\u3002\u4FDD\u7559\u4EE5\u524D\u7684\u4EE3\u7801\u6620\u5C04\u800C\u4E0D\u8986\u76D6\u3002',CodeMapping_AddBlockParameter_Tooltip:"\u5C06\u6240\u9009\u6A21\u5757\u7684\u6A21\u5757\u53C2\u6570\u6DFB\u52A0\u5230\u4EE3\u7801\u6620\u5C04\u3002",CodeMapping_AddSignal_Tooltip:"\u5C06\u6240\u9009\u4FE1\u53F7\u6DFB\u52A0\u5230\u4EE3\u7801\u6620\u5C04\u3002",CodeMapping_RemoveBlockParameter_Tooltip:"\u5220\u9664\u5728\u6A21\u578B\u56FE\u4E2D\u9009\u62E9\u7684\u6A21\u5757\u7684\u53C2\u6570\u6216\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u9009\u62E9\u7684\u6A21\u5757\u53C2\u6570\u3002",CodeMapping_RemoveSignal_Tooltip:"\u4ECE\u4EE3\u7801\u6620\u5C04\u4E2D\u5220\u9664\u6240\u9009\u4FE1\u53F7\u3002",CodeMapping_SyncNamedSignals_Tooltip:"\u5C06\u547D\u540D\u4FE1\u53F7\u6DFB\u52A0\u5230\u4EE3\u7801\u6620\u5C04\u3002",CodeMappingsAdaptiveAutosar:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsAutosar:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsAutosarSubComponent:"\u4EE3\u7801\u6620\u5C04 - \u5B50\u7EC4\u4EF6\u63A5\u53E3",CodeMappingsC:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsComponent:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsCpp:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsDDS:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsDefaults:"\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04 ${0}",CodeMappingsEditorInconsistentApp:"\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href=\"matlab:open_system('${0}');\">\u5C06\u6A21\u578B\u4F5C\u4E3A\u9876\u5C42\u6A21\u578B\u6253\u5F00</a>\u3002",CodeMappingsEditorInconsistentCIP:`\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '\${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href="matlab:open_system('\${0}');">\u5C06\u6A21\u578B\u4F5C\u4E3A\u9876\u5C42\u6A21\u578B\u6253\u5F00</a>\uFF0C\u5E76\u5C06\u6A21\u578B\u914D\u7F6E\u53C2\u6570 "\u4EE3\u7801\u63A5\u53E3\u6253\u5305" \u7684\u8BBE\u7F6E\u66F4\u6539\u4E3A '\${1}'\u3002`,CodeMappingsEditorInconsistentMapping:"\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href=\"matlab:open_system('${0}');\">\u5C06\u6A21\u578B\u4F5C\u4E3A\u6839\u6A21\u578B\u6253\u5F00</a>\uFF1B\u6216\u8005\uFF0C\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u5C06\u6A21\u578B\u914D\u7F6E\u53C2\u6570 \"\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6\" \u7684\u8BBE\u7F6E\u66F4\u6539\u4E3A '${1}'\u3002",CodeMappingsEditorInconsistentSTFandCIP:`\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '\${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href="matlab:open_system('\${0}');">\u5C06\u6A21\u578B\u4F5C\u4E3A\u9876\u5C42\u6A21\u578B\u6253\u5F00</a>\uFF0C\u5E76\u5C06\u6A21\u578B\u914D\u7F6E\u53C2\u6570 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u66F4\u6539\u4E3A '\${1}'\uFF0C\u5C06\u53C2\u6570 "\u4EE3\u7801\u63A5\u53E3\u6253\u5305" \u66F4\u6539\u4E3A '\${2}'\u3002`,CodeMappingsEditorMappingCreation:"\u4EE3\u7801\u6620\u5C04\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '${0}'\u3002<a href=\"matlab:Simulink.CodeMapping.UI_Launch('${0}');\">\u914D\u7F6E\u9ED8\u8BA4\u4EE3\u7801\u63A5\u53E3\u5E76\u6253\u5F00\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u3002</a>",CodeMappingsEditorNoMappings:"\u6A21\u578B '${0}' \u4E0D\u652F\u6301\u4EE3\u7801\u6620\u5C04\u3002",CodeMappingsNCDefault:"\u4EE3\u7801\u6620\u5C04 ${0}",CodeMappingsSubAssembly:"\u4EE3\u7801\u6620\u5C04 - \u5B50\u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeProperties_CCodeSyncStage:"C \u4EE3\u7801\u6620\u5C04\u540C\u6B65",CodeProperties_Refresh:"Refresh",CodeProperties_Refresh_Tooltip:"\u66F4\u65B0\u4EE3\u7801\u6620\u5C04\u3002\u542F\u52A8\u66F4\u65B0\u56FE\u3002",CoderDictBtnToolTip:"\u4F7F\u7528 Embedded Coder \u5B57\u5178\u4E3A\u6570\u636E\u548C\u51FD\u6570\u521B\u5EFA\u4EE3\u7801\u5B9A\u4E49\u3002",ConfigurationModeLabel:"Configuration Mode",ConfigureArguments:"\u914D\u7F6E\u539F\u578B",ConflictingModelRefInportStorageClass:"Conflicting signal configuration. Inport port ${0} for referenced model '${1}' and output port ${2} from block '${3}', which feeds the inport port, are configured with storage classes other than Auto. Because the ports map to the same signal, you must set the storage class for one of the ports to Auto.",ConflictingModelRefOutportStorageClass:"Conflicting signal configuration. Outport port ${0} for referenced model '${1}' is configured with a storage class other than Auto. The same port is configured with a storage class other than Auto in this model. Because the port maps to the same signal, you must set the storage class for one instance to Auto.",Constants:"Constants",ConstantsToolTip:"\u5E38\u91CF\u6A21\u5757 I/O \u548C\u5E38\u91CF\u53C2\u6570",CppAccessColumnName:"\u6210\u5458\u8BBF\u95EE\u65B9\u6CD5",CppClassSettingDialogToolstripDescription:"\u914D\u7F6E\u7C7B\u540D\u79F0\u548C\u547D\u540D\u7A7A\u95F4",CppClassSettingDialogToolstripLabel:"\u7C7B\u540D\u79F0\u548C\u547D\u540D\u7A7A\u95F4",CppCodeMappingToolstripDescription:"\u914D\u7F6E\u6570\u636E\u548C\u65B9\u6CD5\u7C7B\u6210\u5458",CppCodeMappingToolstripLabel:"\u4EE3\u7801\u6620\u5C04",CppCommunicationToolstripLabel:"\u914D\u7F6E\u901A\u4FE1",CppDataPropertyKind:"\u6570\u636E\u8BBF\u95EE",CppDataSettings:"\u6570\u636E",CppIOAccessNotNoneWithFPCConfigured:"\u8981\u751F\u6210 'I/O \u53C2\u6570\u5355\u6B65\u65B9\u6CD5' \u6837\u5F0F\u5355\u6B65\u65B9\u6CD5\uFF0C\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u914D\u7F6E\u8F93\u5165\u7AEF\u53E3\u548C\u8F93\u51FA\u7AEF\u53E3\u65F6\uFF0C\u5FC5\u987B\u5C06 '\u6570\u636E\u53EF\u89C1\u6027' \u8BBE\u7F6E\u4E3A '\u516C\u5171'\uFF0C\u5E76\u5C06 '\u6210\u5458\u8BBF\u95EE\u65B9\u6CD5' \u8BBE\u7F6E\u4E3A '\u65E0'\u3002",CppMethodNameColumnName:"\u65B9\u6CD5\u540D\u79F0",CppMethodPreviewColumnName:"\u65B9\u6CD5\u9884\u89C8",CppMethodVisibilityColumnName:"\u6570\u636E\u53EF\u89C1\u6027",CppStaticMainPointerDataAccess:`\u5BF9\u4E8E\u6A21\u578B "\${0}"\uFF0C"\${1}" \u7684\u6570\u636E\u8BBF\u95EE\u5C5E\u6027\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u8BBE\u7F6E\u4E3A "\u6307\u9488"\u3002\u5728\u6B64\u914D\u7F6E\u4E2D\uFF0C\u6A21\u578B\u5FC5\u987B\u914D\u7F6E\u4E3A\u751F\u6210\u793A\u4F8B ERT \u4E3B\u7A0B\u5E8F\uFF0C\u521B\u5EFA\u4E00\u4E2A SIL \u6216 PIL \u6A21\u578B\u6A21\u5757\uFF0C\u6216\u4EC5\u751F\u6210\u4EE3\u7801\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="CppStaticMainPointerDataAccess" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'on')</cmd> <txt>\u5C06\u751F\u6210\u793A\u4F8B main \u6587\u4EF6\u8BBE\u7F6E\u4E3A 'on'\u3002</txt> </action> </actions>`,DDSDefault:"Default",DataCategoryColumnName:"Model Element Category",DataDefaultsSettings:"Data Defaults",DataMemorySectionNotApplicable:"Cannot configure memory sections for '${0}' in the code mapping. To configure memory sections for '${0}', define a storage class and apply the memory section to the storage class. To use const or volatile qualifiers, configure the properties of the storage class.",DataMemorySectionNotConfigurable:"Cannot get or set memory section for category '${0}' because category is mapped to storage class '${1}'. To get or set the memory section, set storage class to Default or the name of a storage class defined in a package where memory section property is instance specific.",DataReadModeColumnName:"Data Read Mode",DataReaderLabel:"Data Reader",DataStore:"Data store",DataTransferNotConfigurableMessage:`\u6570\u636E\u4F20\u8F93\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u6570\u636E\u4F20\u8F93\u670D\u52A1\u3002
|
||
|
||
\u8981\u4E3A\u8FDE\u63A5\u53EF\u8C03\u7528\u51FD\u6570\u7684\u9876\u5C42\u6A21\u578B\u7684\u5404\u4E2A\u4FE1\u53F7\u914D\u7F6E\u6570\u636E\u4F20\u8F93\u670D\u52A1\u63A5\u53E3\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,DataTransferSignalAddedToSignalMapping:"For model '${0}', data transfer signal '${1}' was added to model code mappings as a signal. Remove signal '${1}' from signal code mappings.",DataTransfers:"Data transfers",DataTransfersMode:"Data Transfer Service",DataTransfersToolTip:"\u4EFB\u52A1\u95F4\u7684\u6570\u636E\u4F20\u8F93",DataViewDataStores:"Data Stores",DataViewDataTransfers:"Data Transfers",DataViewInports:"Inports",DataViewInternalMembers:"Internal Members",DataViewOutports:"Outports",DataViewParameters:"Parameters",DataViewSignals:"Signals",DataViewSignalsStates:"Signals/States",DataViewStates:"States",DataWriteModeColumnName:"Data Write Mode",DataWriterLabel:"Data Writer",DefaultMapping:"Model default: ${0}",DefaultMappingForAPI:"Model default",DeleteLabel:"\u5220\u9664",DirectDataAccessTooltip:"Generate data elements as class members that are nonstatic structs.",DisabledMappingInspectorTooltip:"\u6CA1\u6709\u5176\u4ED6\u5C5E\u6027\u3002",DocBtnToolTip:"\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u5C06\u6A21\u578B\u6570\u636E\u5143\u7D20\u548C\u51FD\u6570\u4E0E\u4EE3\u7801\u751F\u6210\u914D\u7F6E\u76F8\u5173\u8054\u3002",DplTypeDlgCancelButtonLabel:"\u53D6\u6D88",DplTypeDlgCppClassLabel:"C++ \u7C7B\u540D\u79F0:",DplTypeDlgCppClassLabelToolTip:"C++ \u7C7B\u540D\u79F0\u3002",DplTypeDlgCppClassNamespaceLabel:"C++ \u7C7B\u547D\u540D\u7A7A\u95F4:",DplTypeDlgCppClassNamespaceLabelToolTip:"C++ \u7C7B\u547D\u540D\u7A7A\u95F4\u3002",DplTypeDlgCppClassNamespaceTextboxToolTip:"\u5C06\u9ED8\u8BA4\u7C7B\u540D\u79F0\u7A7A\u95F4\u7559\u7A7A\uFF0C\u6216\u4E3A\u7C7B\u540D\u79F0\u7A7A\u95F4\u8F93\u5165\u6709\u6548\u7684 C++ \u6807\u8BC6\u7B26\u3002",DplTypeDlgCppClassTextboxToolTip:"\u5C06\u9ED8\u8BA4\u7C7B\u540D\u79F0\u7559\u7A7A\uFF0C\u6216\u4E3A\u7C7B\u540D\u79F0\u8F93\u5165\u6709\u6548\u7684 C++ \u6807\u8BC6\u7B26\u3002",DplTypeDlgDescription:"\u914D\u7F6E C++ \u7C7B\u8BBE\u7F6E",DplTypeDlgHelpButtonLabel:"\u5E2E\u52A9",DplTypeDlgInvalidIdentifier:"\u65E0\u6548\u7684 C++ \u6807\u8BC6\u7B26",DplTypeDlgOKButtonLabel:"\u786E\u5B9A",DplTypeDlgTitle:"\u4E3A '${0}' \u914D\u7F6E C++ \u7C7B\u8BBE\u7F6E",ERTFunctionGroupMappingLabel:"\u6A21\u578B\u51FD\u6570\u7684\u5185\u5B58\u6BB5",EntryPointFunctions:"Functions",EntryPointMethods:"Methods",Error:"\u9519\u8BEF",Execution:"Execution",ExecutionCoreColumnName:"Execution Core",ExecutionToolTip:"\u51FD\u6570\uFF0C\u4F8B\u5982 step \u548C reset \u51FD\u6570",ExportedFuncPrefix:"Exported Function:",FilterExpressionLabel:"Filter Expression",FilterKindLabel:"Filter Kind",FilterKindSqlLabel:"SQL",FilterKindStringLabel:"String Match",FilterParameterListLabel:"Filter Parameter List",FunctionCallers:"Function Callers",FunctionCategoryColumnName:"Model Function Category",FunctionClass:"FunctionCustomizationTemplate",FunctionClassColumnName:"Function Customization Template",FunctionExecutionModeColumnName:"Execution Mode",FunctionMappingForStateflowFunctionCaller:'In model "${0}", Simulink function "${1}" with customized code prototype "${2}" invokes or is invoked by a Stateflow chart. Code generation for such functions is supported only when functions are configured with default function prototype. <actions exclusiveFixIts="yes"> <action type="fixit" id="StateflowFunctionCallerFPC" retvalue="false"> <cmd>codermapping.internal.simulinkfunction.reconfigureDefaultPrototype(\'${0}\',\'${1}\')</cmd> <txt>Reconfigure Simulink function \'${2}\' to have default code prototype.</txt> </action> </actions>',FunctionMemorySectionNotConfigurable:"Cannot get or set memory section for function category '${0}' because category is mapped to function customization template '${1}'. To get or set memory section, set function customization template to Default.",FunctionNameColumnName:"Function Name",FunctionPreviewColumnName:"Function Preview",FunctionPriorityColumnName:"Priority",FunctionTriggeringTypeColumnName:"Triggering Type",FunctionsDefaultsSettings:"Function Defaults",FunctionsNotConfigurableMessage:`\u51FD\u6570\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u51FD\u6570\u81EA\u5B9A\u4E49\u6A21\u677F\u3002
|
||
|
||
\u8981\u4E3A\u5404\u4E2A\u6A21\u578B\u51FD\u6570\u914D\u7F6E\u51FD\u6570\u81EA\u5B9A\u4E49\u6A21\u677F\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,GlobalDataStores:"Global data stores",GlobalDataStoresToolTip:"\u57FA\u7840\u5DE5\u4F5C\u533A\u6216\u6570\u636E\u5B57\u5178\u4E2D\u7684\u6570\u636E\u5B58\u50A8",GlobalParameters:"External parameters",GlobalParametersToolTip:"\u57FA\u7840\u5DE5\u4F5C\u533A\u6216\u6570\u636E\u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u53C2\u6570",HelpBtnLabel:"\u4E3A\u4EE3\u7801\u751F\u6210\u914D\u7F6E\u6570\u636E\u548C\u51FD\u6570\u7684\u5E2E\u52A9\u3002",InaccessibleCppPrivateIO:"\u5728 C++ \u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u5982\u679C\u5728\u914D\u7F6E\u8F93\u5165\u7AEF\u53E3\u6216\u8F93\u51FA\u7AEF\u53E3\u65F6\u5C06 '\u6570\u636E\u53EF\u89C1\u6027' \u8BBE\u7F6E\u4E3A '\u79C1\u6709'\uFF0C\u5219\u5FC5\u987B\u5C06 '\u6210\u5458\u8BBF\u95EE\u65B9\u6CD5' \u8BBE\u7F6E\u4E3A '\u65E0' \u4EE5\u5916\u7684\u503C\u3002",IncompatiblePrototype:"Function caller prototype '${0}' is not compatible with function definition '${1}'.",InconsistentMemorySectionPackage:"For model '${1}', subsystem '${0}' uses memory section '${2}' from package '${3}'. Model configuration parameter 'Package' specifies that package, but Embedded Coder Dictionary for model loads package '${4}'. Specify same package in model configuration parameter and dictionary or set subsystem memory section to 'Inherit from model' or 'Default'.",InheritFromSignal:"From signal object: ${0}",InitializeTerminate:"Initialize/Terminate",InitializeTerminateToolTip:"\u6A21\u578B\u4E2D\u8868\u793A\u4E3A Initialize Function\u3001Reset Function \u548C Terminate Function \u6A21\u5757\u7684\u51FD\u6570\u3002",InlineInportAccessMethodTooltip:"Generate set access method defined in class declaration for each inport.",InlineOutportAccessMethodTooltip:"Generate get access method defined in class declaration for each outport.",InlineStructureBasedAccessMethodTooltip:"Generate get and one set access method for data category defined in class declaration.",InlinedParameters:"'Auto' will be inlined",Inport:"Inport",InportAccessMethodTooltip:"Generate set access method for each inport.",InportSCPresent:"\u5728\u6A21\u578B\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8F93\u5165\u7AEF\u53E3\u7684\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '${0}'\uFF0C\u4F7F\u5F97\u751F\u6210\u7684\u4EE3\u7801\u4E0D\u7B26\u5408\u51FD\u6570\u539F\u578B\u63A7\u5236\u529F\u80FD\u7684\u8981\u6C42\u3002\u8BF7\u5C06\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '\u9ED8\u8BA4'\u3002",Inports:"Inports",InportsNotConfigurableMessage:`\u8F93\u5165\u7AEF\u53E3\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u63A5\u6536\u65B9\u670D\u52A1\u63A5\u53E3\u3002
|
||
|
||
\u8981\u4E3A\u9876\u5C42\u6A21\u578B\u7684\u5404\u4E2A\u8F93\u5165\u7AEF\u53E3\u914D\u7F6E\u63A5\u6536\u65B9\u670D\u52A1\u63A5\u53E3\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,InportsToolTip:"\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3",InstanceSpecificParameters:"Parameter arguments",InstanceSpecificParametersToolTip:"\u5177\u6709\u7279\u5B9A\u4E8E\u5B9E\u4F8B\u503C(\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u503C)\u7684\u6A21\u578B\u53C2\u6570\u53C2\u91CF",InternalData:"Signals, states, and internal data",InternalDataMemorySectionColumnName:"Internal Data Memory Section",InternalDataSwAddrMethodColumnName:"Internal Data SwAddrMethod",InternalDataToolTip:"\u79BB\u6563\u6A21\u5757\u72B6\u6001\u3001\u6A21\u5757\u8F93\u51FA\u4FE1\u53F7\u3001\u8FC7\u96F6\u548C\u5148\u524D\u7684\u8FC7\u96F6\u4FE1\u53F7",InvalidBlockForInportMappings:"\u8F93\u5165\u7AEF\u53E3\u4EE3\u7801\u6620\u5C04\u4EC5\u7528\u4E8E\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u3002",InvalidBlockForOutportMappings:"Outport code mappings are for root-level outports only.",InvalidBusElementPortInFunctionComponent:"\u6A21\u578B\u5305\u62EC\u865A\u62DF In Bus Element \u6216 Out Bus Element \u6A21\u5757\uFF0C\u5E76\u94FE\u63A5\u5230\u5B9A\u4E49\u670D\u52A1\u4EE3\u7801\u63A5\u53E3\u914D\u7F6E\u7684\u5171\u4EAB Embedded Coder \u5B57\u5178\u3002\u8981\u4E3A\u94FE\u63A5\u5230\u5B9A\u4E49\u670D\u52A1\u4EE3\u7801\u63A5\u53E3\u914D\u7F6E\u7684\u4EE3\u7801\u751F\u6210\u5668\u5B57\u5178\u7684\u6A21\u578B\u751F\u6210\u4EE3\u7801\uFF0CIn Bus Element \u548C Out Bus Element \u6A21\u5757\u5FC5\u987B\u4E3A\u975E\u865A\u62DF\u6A21\u5757\u3002",InvalidDataStoreObjectConfiguration:"For model '${0}', code mapping of data store memory block '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that data store memory block. Change one of the specifications to '${3}'.",InvalidDataStoreObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object that is associated with that inport. Change storage class setting for external data object to 'Auto'.",InvalidDataTransferDataObjectConfigurationFcnComponent:"For model '${0}', code mapping for data transfer signal '${1}' conflicts with storage class setting for external data object associated with that data transfer signal. Change external data object storage class to 'Auto'.",InvalidFunctionName:"For model '${0}', '${1}' is an invalid function name. Specify function name as a valid C identifier or an identifier format control macro.",InvalidIOPortDataObjectConfiguration:"For model '${0}', code mapping for ${1} block '${2}' to storage class '${3}' conflicts with storage class setting for external data object associated with that outport. Change one of the specifications to '${4}'.",InvalidIOportDataObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object associated with that inport block. Change external data object storage class to 'Auto' or remove external data object.",InvalidIdentifierForData:"For model '${0}', identifier '${1}' specified for ${2} '${3}' is not valid. Valid identifiers start with an alphabetic or '_' character, followed by alphanumeric or '_' characters. Identifiers starting with 'rt' are reserved unless you set model configuration parameter 'rt prefix for identifiers' to 'warning' or 'none'.",InvalidInportDataMappingDueToMessage:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\uFF0C\u56E0\u4E3A\u6A21\u578B\u5305\u542B\u53D1\u9001\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 '${6}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidInputError:'\u4E3A "${0}" \u5C5E\u6027\u6307\u5B9A\u7684\u503C\u65E0\u6548\u3002',InvalidInternalDataMappingDueToMessage:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\uFF0C\u56E0\u4E3A\u6A21\u578B\u5305\u542B\u53D1\u9001\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u6216\u63A5\u6536\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 '${6}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidMaxMsgNumValue:"\u6570\u636E\u7C7B\u578B\u65E0\u6548\u3002\u5BB9\u91CF\u5FC5\u987B\u4E3A\u65E0\u7B26\u53F7\u6574\u6570\u3002",InvalidOutportDataMappingDueToMessage:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\uFF0C\u56E0\u4E3A\u6A21\u578B\u5305\u542B\u63A5\u6536\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 '${6}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidPriorityValue:"\u6570\u636E\u7C7B\u578B\u65E0\u6548\u3002\u4F18\u5148\u7EA7\u503C\u5FC5\u987B\u4E3A\u65E0\u7B26\u53F7\u6574\u6570",InvalidPrototype:"\u51FD\u6570\u539F\u578B '${0}' \u4E0D\u662F\u6709\u6548\u7684\u539F\u578B\u3002\u8BF7\u8F93\u5165\u6709\u6548\u7684\u539F\u578B\u3002",InvalidSignalConfiguration4Merge:'Conflicting signal configurations. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} and for signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} are inconsistent but feed Merge block ${4} and share memory. Signals entering a Merge block must have the same configuration. Use a Signal Conversion block upstream of the Merge block to isolate signal configurations.',InvalidSignalConfigurationForSameActSrc:'Conflicting signal configuration. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} conflicts with signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} because outputs map to same signal.',InvalidSignalObjectConfiguration:"For model '${0}', code mapping of signal '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that signal. Change one of the specifications to '${3}'.",InvalidSignalObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for signal '${1}' conflicts with storage class setting for external data object that is associated with that signal. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStateObjectConfiguration:"For model '${0}', code mapping of state '${1}' to storage class '${2}' conflicts with storage class setting for external data object associated with that state. Change storage class setting for code mapping or external data object to '${3}'.",InvalidStateObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for state '${1}' conflicts with storage class setting for external data object that is associated with that state. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStorageClassName:"For model '${0}', \"${1}\" is not a valid storage class for ${2}.",InvalidStorageClassTooltip:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set '${6}' to a valid '${5}'.",InvalidStorageClassTooltipIndividual:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 ${6} '${7}' \u8BBE\u7F6E\u4E3A\u6709\u6548\u7684 '${5}'\u3002",InvalidStorageClassTooltipIndividualBusElementPort:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\u3002\u5BF9\u4E8E\u5177\u6709\u865A\u62DF\u603B\u7EBF\u6570\u636E\u7C7B\u578B\u7684\u603B\u7EBF\u5143\u7D20\u7AEF\u53E3\uFF0C\u8BF7\u5C06\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A \"\u81EA\u52A8\"\u3002\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8BF7\u5C06 ${6} '${7}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidStorageClassTooltipIndividualMessageInport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level inports that send messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageOutport:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\u3002\u5BF9\u4E8E\u63A5\u6536\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3\uFF0C\u8BF7\u5C06\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A \"\u81EA\u52A8\"\u3002\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8BF7\u5C06 ${6} '${7}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",LegacyMemorySectionNotFound:"Unable to find memory section '${0}' in package '${1}'.",LocalParameters:"Model parameters",LocalParametersToolTip:"\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u53EF\u8C03\u53C2\u6570(\u8DE8\u6A21\u578B\u5B9E\u4F8B\u5171\u4EAB\u503C)",LookupTables:"Lookup Tables",MDSAperiodicPartition:"Aperiodic partition:${0}",MDSUnmappedAperiodicPartition:"Unmapped aperiodic partition",MappedToColumnName:"Mapped To",MappingFunctionDefault:"Default",MappingInspectorError:"\u5DF2\u5FFD\u7565\u4E3A\u4E00\u4E2A\u6216\u591A\u4E2A\u4EE3\u7801\u6620\u5C04\u5C5E\u6027\u6307\u5B9A\u7684\u503C\u3002",MappingInspectorTooltip:"\u914D\u7F6E\u5176\u4ED6\u6620\u5C04\u5C5E\u6027\u3002",MappingNone:"None",MappingNotFound_AUTOSAR:"\u6A21\u578B '${0}' \u6CA1\u6709 AUTOSAR \u6620\u5C04\u3002",MappingNotFound_C:"\u6A21\u578B '${0}' \u6CA1\u6709 C \u6620\u5C04\u3002",MaxMsgNumLabel:"Capacity",MeasurementServiceColumnName:"Measurement Service",MemorySectionColumnName:"Memory Section",MemorySectionGlobalAndLocalParamsNotCompatible:"For model '${0}', default mapping of categories ${1} and ${2} are mapped to ${3} '${4}' with different memory sections. Map the categories to the same memory section.",MemorySectionInMultiplePackages:"For model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages: ${1} and ${2}. Memory sections configured for data and function default categories must be defined in the same package.",MemorySectionNotCompatible:"For model '${2}', default mapping of category ${0} to memory section '${1}' is not compatible with mapping of category ${3} to memory section '${4}' for reference model '${5}'.",MessageQueueNameLabel:"Message Queue Name",MigrateCPPFromCSRef:"\u5F15\u7528\u914D\u7F6E\u96C6 '${0}' \u4E2D\u7684\u4FE1\u606F\u5BFC\u5165 C++ \u4EE3\u7801\u6620\u5C04\u4E2D\u3002",MigrateFromCSRef:"\u5F15\u7528\u914D\u7F6E\u96C6 '${0}' \u4E2D\u7684\u4FE1\u606F\u5BFC\u5165 Embedded Coder \u5B57\u5178\u548C C \u4EE3\u7801\u6620\u5C04\u4E2D\u3002",MissingDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule omits $C token, which is required for ${2} \"${3}\".",MissingResolvedObjectError:"\u627E\u4E0D\u5230\u89E3\u6790\u7684\u4FE1\u53F7\u5BF9\u8C61",ModelData:"Self data structure",ModelDataStoreNotFound:"For model '${1}', unable to find data store '${0}' in model workspace.",ModelDataToolTip:"\u81EA\u6570\u636E\u7ED3\u6784\u4F53",ModelDefaultMapping:"Dictionary default: ${0}",ModelDefaultMappingForAPI:"Dictionary default",ModelMappingAlreadyExist:"\u5148\u524D\u5DF2\u4E3A\u540C\u4E00\u76EE\u6807\u521B\u5EFA\u540D\u4E3A '${0}' \u7684\u6620\u5C04\u3002",ModelParameter:"Model parameter",ModelParameterArgument:"Model parameter argument",ModelParameterArguments:"Model parameter arguments",ModelParameterArgumentsToolTip:"\u5177\u6709\u7279\u5B9A\u4E8E\u5B9E\u4F8B\u503C(\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u503C)\u7684\u6A21\u578B\u53C2\u6570\u53C2\u91CF",ModelParameters:"Model parameters",ModelParametersToolTip:"\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u53EF\u8C03\u53C2\u6570(\u8DE8\u6A21\u578B\u5B9E\u4F8B\u5171\u4EAB\u503C)",NewStorageClassModelReference:"\u5BF9\u4E8E\u5F15\u7528\u6A21\u578B '${0}'\uFF0C${1} '${2}' \u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u5B58\u50A8\u7C7B\u3002\u5BF9\u4E8E\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u548C\u8F93\u51FA\u7AEF\u53E3\u4EE5\u53CA\u5177\u6709\u6839\u8F93\u5165\u7AEF\u53E3\u6E90\u7684\u4FE1\u53F7\uFF0C\u5F15\u7528\u6A21\u578B\u4EE3\u7801\u751F\u6210\u4E0D\u652F\u6301\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u5B58\u50A8\u7C7B\u3002\u8BF7\u5C06 ${1} \u6620\u5C04\u5230\u7531\u4EE3\u7801\u751F\u6210\u5668\u4EA7\u54C1\u63D0\u4F9B\u7684\u5B58\u50A8\u7C7B\u6216\u5728\u5305\u4E2D\u5B9A\u4E49\u7684\u5B58\u50A8\u7C7B\u3002",NoCoderDictionaryWarn:`\u6A21\u578B '\${0}' \u5177\u6709 C \u4EE3\u7801\u6620\u5C04\uFF0C\u4F46\u6CA1\u6709 Embedded Coder \u5B57\u5178\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NoCoderDictionaryWarnFix" retvalue="false"> <cmd>coder.dictionary.create('\${0}')</cmd> <txt>\u5728\u6A21\u578B '\${0}' \u4E2D\u521B\u5EFA\u4E00\u4E2A Embedded Coder \u5B57\u5178\u3002</txt> </action> </actions>`,NoGroupInDictionary:"Storage class '${0}' is not defined in Embedded Coder Dictionary.",NoMapping:"Auto",NoMeasurementService:"Not measured",NoTuningService:"Not tunable",NoneAccessTooltip:"Do not generate access methods.",NoneVisibilityTooltip:"Generate data elements in application code as arguments passed into methods.",Outport:"Outport",OutportAccessMethodTooltip:"Generate get access method for each outport.",OutportSCPresent:"\u5728\u6A21\u578B\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8F93\u51FA\u7AEF\u53E3\u7684\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '${0}'\uFF0C\u4F7F\u5F97\u751F\u6210\u7684\u4EE3\u7801\u4E0D\u7B26\u5408\u51FD\u6570\u539F\u578B\u63A7\u5236\u529F\u80FD\u7684\u8981\u6C42\u3002\u8BF7\u5C06\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '\u9ED8\u8BA4'\u3002",Outports:"Outports",OutportsNotConfigurableMessage:`\u8F93\u51FA\u7AEF\u53E3\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u53D1\u9001\u65B9\u670D\u52A1\u63A5\u53E3\u3002
|
||
|
||
\u8981\u4E3A\u9876\u5C42\u6A21\u578B\u7684\u5404\u4E2A\u8F93\u51FA\u7AEF\u53E3\u914D\u7F6E\u53D1\u9001\u65B9\u670D\u52A1\u63A5\u53E3\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,OutportsToolTip:"\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3",OutputArgReturnByVal:"\u7AEF\u53E3 '${0}' \u65E0\u6CD5\u8BBE\u7F6E\u4E3A\u8FD4\u56DE\u53C2\u6570\uFF0C\u56E0\u4E3A\u5B83\u5305\u542B\u975E\u6807\u91CF\u503C",PackageSelectionToolTip:`\u9009\u62E9\u4E00\u4E2A\u901A\u8FC7\u4F7F\u7528 sldataclassdesigner \u548C
|
||
cscdesigner \u521B\u5EFA\u7684\u5305\u542B\u5185\u5B58\u6BB5\u548C\u5B58\u50A8\u7C7B\u7684\u5305\u3002`,ParameterArguments:"Model parameter arguments",ParameterArgumentsToolTip:"\u5177\u6709\u7279\u5B9A\u4E8E\u5B9E\u4F8B\u503C(\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u503C)\u7684\u6A21\u578B\u53C2\u6570\u53C2\u91CF",ParameterServiceColumnName:"Parameter Tuning Service",PlatformDefault:"Dictionary default",PlatformDefaultDecorated:"Dictionary default: ${0}",PointerDataAccessTooltip:"Generate data elements as class members that are non-static pointers to structs.",PortNameNotPresent:"\u51FD\u6570\u539F\u578B\u4E2D\u6307\u5B9A\u7684\u7AEF\u53E3\u540D\u79F0 '${0}' \u4E0D\u5728\u6A21\u578B\u4E2D\u3002\u8BF7\u91CD\u65B0\u914D\u7F6E\u51FD\u6570\u53C2\u6570\u3002",PriorityLabel:"Priority",PrivateVisibilityTooltip:"Generate data elements as class members with private C++ access specifier.",PropertyInspectorHyperlink:"\u5728\u5C5E\u6027\u68C0\u67E5\u5668\u4E2D\u6253\u5F00",ProtectedVisibilityTooltip:"Generate data elements as class members with protected C++ access specifier.",PublicVisibilityTooltip:"Generate data elements as class members with public C++ access specifier.",ReadOnly:"[\u53EA\u8BFB]",ReadServiceColumnName:"Receiver Service",ReaderQoSLabel:"Reader QoS",ReaderXMLTagLabel:"Reader XML Path",ResolvedStorageClassError:"${0} \u5230\u5B58\u50A8\u7C7B '${1}' \u7684\u4EE3\u7801\u6620\u5C04\u4E0E\u5173\u8054\u5230\u8BE5 ${0} \u7684\u5916\u90E8\u6570\u636E\u5BF9\u8C61\u7684\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u51B2\u7A81\u3002\u8BF7\u5C06\u4EE3\u7801\u6620\u5C04\u6216\u5916\u90E8\u6570\u636E\u5BF9\u8C61\u7684\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u66F4\u6539\u4E3A \"\u81EA\u52A8\"\u3002",ResovledSignalContextMenu_Create:"\u521B\u5EFA\u4FE1\u53F7\u5BF9\u8C61...",ResovledSignalContextMenu_Explore:"\u6D4F\u89C8\u4FE1\u53F7\u5BF9\u8C61",ResovledSignalContextMenu_Open:"\u6253\u5F00\u4FE1\u53F7\u5BF9\u8C61",RunnableSwAddrMethodColumnName:"SwAddrMethod",SameNameMessageCustomizationExisted:"\u540D\u4E3A '${0}' \u7684 MessageCustomization \u5DF2\u5B58\u5728\u3002",SameStorageClassForLocalAndParameterArgument:"For model '${0}', \"${1}\" '${2}' and \"${3}\" '${4}' are configured with the same storage class '${5}'. Configure \"${6}\" and \"${7}\" with different storage classes.",SelectReaderXMLTagLabel:"Use Reader XML Path",SelectStr:"Select ...",SelectTopicLabel:"Use Topic and QoS",SelectWriterXMLTagLabel:"Use Writer XML Path",SelectXMLTagLabel:"Use XML Tag",SelfDataStructure:"Self data structure",SelfDataStructureToolTip:"\u81EA\u6570\u636E\u7ED3\u6784\u4F53",SharedDictionaryIncompatibleWithCodeMappings:"Code interface defined in shared Embedded Coder Dictionary '${0}' is configured for a '${1}', which is not compatible with current code mappings for model ${2} that are configured for a '${3}'. Link model to the original shared coder dictionary or <a href=\"matlab:Simulink.CodeMapping.resetCoderInterface('${2}');\">replace the current code mappings with new '${1}' code mappings</a>.",SharedLocalDataStores:"Shared local data stores",SharedLocalDataStoresToolTip:"\u5F53\u6A21\u578B\u53EF\u91CD\u5165\u65F6\u5728\u6A21\u578B\u5B9E\u4F8B\u4E4B\u95F4\u5171\u4EAB\u7684\u6570\u636E\u5B58\u50A8",SharedUtility:"Shared utility",SharedUtilityToolTip:"\u51FD\u6570\uFF0C\u4F8B\u5982\u6A21\u578B\u4E2D\u7684\u5B9A\u70B9\u51FD\u6570\u3001\u67E5\u627E\u8868\u51FD\u6570\u548C\u4E8C\u5206\u641C\u7D22\u51FD\u6570",Signal:"Signal",SimulinkGlobal:"Default",StageCreateDefaultCompMsg:"\u521B\u5EFA\u9ED8\u8BA4\u7EC4\u4EF6",State:"State",StepFPCombinedIOOrdering:"\u5728\u51FD\u6570\u539F\u578B\u4E2D\uFF0C\u540C\u540D\u7684\u7AEF\u53E3\u5BF9\u7EC4\u5FC5\u987B\u76F8\u90BB\u3002",StorageClassColumnName:"Storage Class",StructureBasedAccessMethodTooltip:"Generate get and one set access method for data category.",StructuredNewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}' is mapped to a structured storage class that was defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root-level inport source, mappings to structured storage classes that are defined in an Embedded Coder Dictionary are not supported for referenced model code generation. Change storage type to \"Unstructured\" or map ${1} to a built-in storage class or a storage class that is defined in a package.",SubsystemBuildFPCForC:"\u5728\u4EE5\u540E\u7684\u7248\u672C\u4E2D\u5C06\u5220\u9664\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C \u51FD\u6570\u539F\u578B\u914D\u7F6E\u3002\u8981\u914D\u7F6E\u51FD\u6570\u539F\u578B\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\u3002",SubsystemBuildFPCForCPP:"\u4E0D\u652F\u6301\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C++ \u7C7B\u63A5\u53E3\u914D\u7F6E\u3002\u8981\u914D\u7F6E\u7C7B\u63A5\u53E3\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\uFF0C\u5E76\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u4E3A\u6A21\u578B\u914D\u7F6E\u7C7B\u63A5\u53E3\u3002",SubsystemConversionForFunctionPlatformError:"\u6A21\u578B '${0}' \u662F\u4F7F\u7528\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u8FDB\u884C\u914D\u7F6E\u7684\u3002\u5B50\u7CFB\u7EDF\u5230\u5F15\u7528\u6A21\u578B\u7684\u8F6C\u6362\u4E0D\u4F1A\u590D\u5236\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u3002\u8981\u7EE7\u7EED\u8F6C\u6362\uFF0C\u8BF7\u5728\u6A21\u578B\u5F15\u7528\u8F6C\u6362\u987E\u95EE\u4E2D\u6E05\u9664 '\u590D\u5236\u4EE3\u7801\u6620\u5C04' \u9009\u9879\u3002",SubsystemConversionForFunctionPlatformWarn:"\u6A21\u578B '${0}' \u662F\u4F7F\u7528\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u8FDB\u884C\u914D\u7F6E\u7684\u3002\u5B50\u7CFB\u7EDF\u5230\u5F15\u7528\u6A21\u578B\u7684\u8F6C\u6362\u4E0D\u4F1A\u590D\u5236\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u3002",SubsystemConversionForServiceInterfaceNotification:"\u5411\u5B50\u7CFB\u7EDF '${0}' \u9988\u9001\u6570\u636E\u7684\u6A21\u578B\u5143\u7D20\u7684\u4EE3\u7801\u6620\u5C04\u672A\u590D\u5236\u5230\u521B\u5EFA\u7684\u5F15\u7528\u6A21\u578B '${1}'\u3002",SubsystemFpcNewConfigurationForC:"\u5728\u4EE5\u540E\u7684\u7248\u672C\u4E2D\u5C06\u5220\u9664\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C \u51FD\u6570\u539F\u578B\u914D\u7F6E\u3002\u5BF9\u4E8E\u65B0\u914D\u7F6E\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\uFF0C\u5E76\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u4E3A\u6A21\u578B\u914D\u7F6E\u51FD\u6570\u539F\u578B\u3002",SubsystemFpcNewConfigurationForCPP:"\u4E0D\u652F\u6301\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C++ \u7C7B\u63A5\u53E3\u914D\u7F6E\u3002\u8981\u914D\u7F6E\u7C7B\u63A5\u53E3\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\uFF0C\u5E76\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u4E3A\u6A21\u578B\u914D\u7F6E\u7C7B\u63A5\u53E3\u3002",SubsystemMemSecPkgMisMatch:"\u5BF9\u4E8E\u6A21\u578B '${0}' \u4E2D\u7684 '${1}' \u5B50\u7CFB\u7EDF\uFF0C\u4E3A\u6570\u636E\u6216\u51FD\u6570\u7C7B\u522B\u914D\u7F6E\u4E86\u5728 '${2}' \u5305\u4E2D\u5B9A\u4E49\u7684\u5185\u5B58\u6BB5\uFF0C\u540C\u65F6\u4E5F\u4E3A\u6570\u636E\u6216\u51FD\u6570\u9ED8\u8BA4\u7C7B\u522B\u914D\u7F6E\u4E86\u5728 '${3}' \u5305\u4E2D\u5B9A\u4E49\u7684\u5185\u5B58\u6BB5\u3002\u8BF7\u4ECE\u540C\u4E00\u5305\u4E2D\u9009\u62E9\u5185\u5B58\u6BB5\u3002",SubsystemMemorySectionInMultiplePackages:"\u5BF9\u4E8E\u6A21\u578B '${0}' \u4E2D\u7684 '${1}' \u5B50\u7CFB\u7EDF\uFF0C\u4E3A\u6570\u636E\u6216\u51FD\u6570\u9ED8\u8BA4\u7C7B\u522B\u914D\u7F6E\u4E86\u81F3\u5C11\u5728\u4E24\u4E2A\u5305(${2} \u548C ${3})\u4E2D\u5B9A\u4E49\u7684\u5185\u5B58\u6BB5\u3002\u8BF7\u5728\u540C\u4E00\u4E2A\u5305\u4E2D\u5B9A\u4E49\u4E3A\u6570\u636E\u548C\u51FD\u6570\u9ED8\u8BA4\u7C7B\u522B\u914D\u7F6E\u7684\u5185\u5B58\u6BB5\u3002",SwAddrMethodForInternalDataTooltip:"\u9009\u62E9 SectionType \u4E3A 'Var' \u7684 SwAddrMethod\u3002",SwAddrMethodForRunnableTooltip:"\u9009\u62E9 SectionType \u4E3A 'Code' \u7684 SwAddrMethod\u3002",TimerServiceColumnName:"Timer Service",TopicLabel:"Topic",TunableParameters:"'Auto' will be tunable",UnnamedInport:"In model '${0}', root-level inport '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedInportServicePort:"\u5728\u6A21\u578B '${0}' \u4E2D\uFF0C\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3 '${1}' \u914D\u7F6E\u4E3A\u7528\u4E8E\u4F7F\u7528\u76F4\u63A5\u8BBF\u95EE\u901A\u4FE1\u7684\u63A5\u6536\u65B9\u670D\u52A1\uFF0C\u4F46\u672A\u6307\u5B9A\u6807\u8BC6\u7B26\u3002\u8BF7\u4E3A\u8F93\u5165\u7AEF\u53E3\u6307\u5B9A\u6807\u8BC6\u7B26\u6216\u66F4\u6539\u63A5\u6536\u65B9\u670D\u52A1\u6570\u636E\u901A\u4FE1\u65B9\u6CD5\u8BBE\u7F6E\u3002",UnnamedOutport:"In model '${0}', Outport block '${1}' has an empty Identifier and is configured with a storage class other than Auto. Set a non-empty Identifier for Outport block, or set storage class for Outport block to Auto.",UnnamedOutportServicePort:"\u5728\u6A21\u578B '${0}' \u4E2D\uFF0C\u8F93\u51FA\u7AEF\u53E3 '${1}' \u914D\u7F6E\u4E3A\u7528\u4E8E\u4F7F\u7528\u76F4\u63A5\u8BBF\u95EE\u901A\u4FE1\u7684\u53D1\u9001\u65B9\u670D\u52A1\uFF0C\u4F46\u672A\u6307\u5B9A\u6807\u8BC6\u7B26\u3002\u8BF7\u4E3A\u8F93\u51FA\u7AEF\u53E3\u6307\u5B9A\u6807\u8BC6\u7B26\u6216\u66F4\u6539\u53D1\u9001\u65B9\u670D\u52A1\u6570\u636E\u901A\u4FE1\u65B9\u6CD5\u8BBE\u7F6E\u3002",UnnamedSignal:"In model '${0}', signal '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedSignalServicePort:"In model '${0}', signal '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnnamedState:"In model '${0}', state '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedStateServicePort:"In model '${0}', state '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnresolvedCell:"\u672A\u89E3\u51B3",UnresolvedDictionaryItemError:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set '${5}' to a valid '${4}'.",UnresolvedDictionaryItemErrorIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set ${5} '${6}' to '${4}'.",UnresolvedDictionaryItemForIndividualFunction:"For model '${0}', '${1}' mapped to '${2}' for entry-point functions does not resolve to valid entry in Embedded Coder Dictionary. Set'${3}' to a valid value.",UnsupportedDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $C token, which is valid for ${2} \"${4}\" only.",UnsupportedDollarMToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $M token, which is valid for ${2} \"${4}\" and \"${5}\" only.",ValidateMapping_Tooltip:"\u9A8C\u8BC1\u4EE3\u7801\u6620\u5C04",WriteServiceColumnName:"Sender Service",WriterQoSLabel:"Writer QoS",WriterXMLTagLabel:"Writer XML Path",duplicateMappedEntryPointFunction:"\u4EE3\u7801\u6620\u5C04\u4F7F\u7528\u76F8\u540C\u7684\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u914D\u7F6E\u5165\u53E3\u51FD\u6570 '${0}' \u548C '${1}'\u3002\u8BF7\u4E3A\u5176\u4E2D\u4E00\u4E2A\u5165\u53E3\u51FD\u6570\u91CD\u65B0\u914D\u7F6E\u51FD\u6570\u540D\u79F0\u3002",duplicateMappedFcnCallInport:"\u4EE3\u7801\u6620\u5C04\u4F7F\u7528\u76F8\u540C\u7684\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u914D\u7F6E\u6A21\u5757 '${0}' \u548C '${1}'\u3002\u8BF7\u4E3A\u5176\u4E2D\u4E00\u4E2A\u6A21\u5757\u91CD\u65B0\u914D\u7F6E\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u3002",duplicateMappingFound:"\u53D1\u73B0\u91CD\u590D\u7684 '${0}' \u6620\u5C04\u3002\u8BF7\u4F7F\u7528 mappingObj.removeInvalidInternalDataMappings \u5220\u9664\u91CD\u590D\u7684\u5143\u7D20\u3002",inactiveMappingsLost:"\u6A21\u578B '${0}' \u5305\u542B\u4E3A ${1} \u914D\u7F6E\u7684\u975E\u6D3B\u52A8\u4EE3\u7801\u6620\u5C04\u3002\u5C06\u6A21\u578B\u5BFC\u51FA\u4E3A\u4EE5\u524D\u7684\u7248\u672C\u65F6\uFF0C\u8FD9\u4E9B\u6620\u5C04\u5C06\u4E22\u5931\u3002",invalidBlockParameterName:"\u627E\u4E0D\u5230\u6A21\u5757 ${1} \u7684\u53EF\u8C03\u53C2\u6570 '${0}'\u3002",invalidSelectionForAddingBlockParameters:"\u627E\u4E0D\u5230\u6240\u9009\u6A21\u5757\u7684\u53EF\u8C03\u53C2\u6570\u3002",invalidSignalMappingSpecification1:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because cannot add unique mapping to valid signal in the model. Insert Signal Conversion block after output port and configure output signal of Signal Conversion block.',invalidSignalMappingSpecification2:"\u65E0\u6CD5\u4E3A\u4EE3\u7801\u751F\u6210\u914D\u7F6E Argument Inport \u6A21\u5757 ${0} \u7684\u8F93\u51FA\u4FE1\u53F7\u3002",invalidSignalMappingSpecification3:"Signal connected to root-level inport ${0}. Map signals that are sourced from root-level inports as inports instead of signals.",invalidSignalMappingSpecification4:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because it is a message signal.',unmappedEntryPointFunction:"\u4EE3\u7801\u6620\u5C04\u6CA1\u6709\u4E3A\u5165\u53E3\u51FD\u6570 '${0}' \u914D\u7F6E\u51FD\u6570\u540D\u79F0\u3002\u8BF7\u914D\u7F6E\u51FD\u6570\u540D\u79F0\u3002",unmappedFcnCallInport:"\u4EE3\u7801\u6620\u5C04\u6CA1\u6709\u4E3A\u6A21\u5757 '${0}' \u914D\u7F6E\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u3002",unmappedIOBlock:"\u4EE3\u7801\u6620\u5C04\u4E0D\u5305\u62EC\u6A21\u5757 '${0}' \u7684\u914D\u7F6E\u3002\u8BF7\u914D\u7F6E\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u548C\u8F93\u51FA\u7AEF\u53E3\u3002"}},function(_,M,l){_.exports={root:{ASAPAttributesTitle:"ASAP2 attributes",AUTOSARAttributes:"Additional attributes",AutoGenerate:"Auto",BlockParameterArguments:"Block parameter arguments",BlockParameters:"Block parameters",CannotChangeIOAccessToNone:"Access method '${0}' cannot be changed to 'None' when visibility is set to 'private'.",CannotConfigureClassMemoryType:"Cannot configure 'External Pointer' for model element type '${0}'.",CannotMapFcnCallInport:"Inport block outputs function-call trigger signal, which is not supported by inport code mappings.",CodeIdentifierColumnName:"Identifier",CodeIdentifierSpecifiedOnVirtualBusState:"Block '${0}' has a virtual bus input signal and a state that is configured with storage class other than Auto. Set storage class to Auto or use a nonvirtual bus with a Simulink.Bus object on the input signal to this block.",CodeInterfaceSwitched:'Code Mappings editor switched code interface from "${0}" to "${1}" to reflect new code interface setting for model. Previous code mappings retained and not overwritten.',CodeMapping_AddBlockParameter_Tooltip:"Add block parameters for selected blocks to code mappings.",CodeMapping_AddSignal_Tooltip:"Add selected signals to code mappings.",CodeMapping_RemoveBlockParameter_Tooltip:"Remove parameters for blocks selected in model diagram or a block parameter selected in code mappings.",CodeMapping_RemoveSignal_Tooltip:"Remove selected signals from code mappings.",CodeMapping_SyncNamedSignals_Tooltip:"Add named signals to code mappings.",CodeMappingsAdaptiveAutosar:"Code Mappings - Component Interface ${0}",CodeMappingsAutosar:"Code Mappings - Component Interface ${0}",CodeMappingsAutosarSubComponent:"Code Mappings - Subcomponent Interface",CodeMappingsC:"Code Mappings - Component Interface ${0}",CodeMappingsComponent:"Code Mappings - Component Interface ${0}",CodeMappingsCpp:"Code Mappings - Component Interface ${0}",CodeMappingsDDS:"Code Mappings - Component Interface ${0}",CodeMappingsDefaults:"Default Code Mappings ${0}",CodeMappingsEditorInconsistentApp:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open the model as a top model</a>.",CodeMappingsEditorInconsistentCIP:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open model as a top model</a> and change setting of model configuration parameter Code interface packaging to '${1}'.",CodeMappingsEditorInconsistentMapping:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open model as a root model</a> or, for model '${0}', change setting of model configuration parameter System target file to '${1}'.",CodeMappingsEditorInconsistentSTFandCIP:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open model as a top model</a> and change model configuration parameter System target file to '${1}' and parameter Code interface packaging to '${2}'.",CodeMappingsEditorMappingCreation:"Code Mappings are not available for model '${0}'. <a href=\"matlab:Simulink.CodeMapping.UI_Launch('${0}');\">Configure default code interfaces and open Code Mappings editor.</a>",CodeMappingsEditorNoMappings:"Model '${0}' does not support code mappings.",CodeMappingsNCDefault:"Code Mappings ${0}",CodeMappingsSubAssembly:"Code Mappings - Subcomponent Interface ${0}",CodeProperties_CCodeSyncStage:"C code mapping synchronization",CodeProperties_Refresh:"Refresh",CodeProperties_Refresh_Tooltip:"Update code mappings. Initiates an update diagram.",CoderDictBtnToolTip:"Create code definitions for data and functions by using Embedded Coder Dictionary.",ConfigurationModeLabel:"Configuration Mode",ConfigureArguments:"Configure Prototype",ConflictingModelRefInportStorageClass:"Conflicting signal configuration. Inport port ${0} for referenced model '${1}' and output port ${2} from block '${3}', which feeds the inport port, are configured with storage classes other than Auto. Because the ports map to the same signal, you must set the storage class for one of the ports to Auto.",ConflictingModelRefOutportStorageClass:"Conflicting signal configuration. Outport port ${0} for referenced model '${1}' is configured with a storage class other than Auto. The same port is configured with a storage class other than Auto in this model. Because the port maps to the same signal, you must set the storage class for one instance to Auto.",Constants:"Constants",ConstantsToolTip:"Constant block I/O and constant parameters",CppAccessColumnName:"Member Access Method",CppClassSettingDialogToolstripDescription:"Configure class name and namespace",CppClassSettingDialogToolstripLabel:"Class Name & Namespace",CppCodeMappingToolstripDescription:"Configure data and method class members",CppCodeMappingToolstripLabel:"Code Mappings",CppCommunicationToolstripLabel:"Configure Communication",CppDataPropertyKind:"Data Access",CppDataSettings:"Data",CppIOAccessNotNoneWithFPCConfigured:"To generate 'I/O arguments step method' style step methods, in code mappings, inports and outports must be configured with 'Data Visibility' set to 'public' and 'Member Access Method' set to 'None'.",CppMethodNameColumnName:"Method Name",CppMethodPreviewColumnName:"Method Preview",CppMethodVisibilityColumnName:"Data Visibility",CppStaticMainPointerDataAccess:`For model "\${0}", the data access property for "\${1}" is set to "Pointer" in the code mappings. In this configuration, the model must be configured to either generate a sample ERT main, create a SIL or PIL model block, or generate code only. <actions exclusiveFixIts="yes"> <action type="fixit" id="CppStaticMainPointerDataAccess" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'on')</cmd> <txt>Set Generate Sample Main to 'on'.</txt> </action> </actions>`,DDSDefault:"Default",DataCategoryColumnName:"Model Element Category",DataDefaultsSettings:"Data Defaults",DataMemorySectionNotApplicable:"Cannot configure memory sections for '${0}' in the code mapping. To configure memory sections for '${0}', define a storage class and apply the memory section to the storage class. To use const or volatile qualifiers, configure the properties of the storage class.",DataMemorySectionNotConfigurable:"Cannot get or set memory section for category '${0}' because category is mapped to storage class '${1}'. To get or set the memory section, set storage class to Default or the name of a storage class defined in a package where memory section property is instance specific.",DataReadModeColumnName:"Data Read Mode",DataReaderLabel:"Data Reader",DataStore:"Data store",DataTransferNotConfigurableMessage:`Data Transfers are mapped to the default data transfer service defined in Embedded Coder Dictionary.
|
||
|
||
To configure data transfer service interface for individual signals of a top model that connect callable functions, set deployment type to Component.`,DataTransferSignalAddedToSignalMapping:"For model '${0}', data transfer signal '${1}' was added to model code mappings as a signal. Remove signal '${1}' from signal code mappings.",DataTransfers:"Data transfers",DataTransfersMode:"Data Transfer Service",DataTransfersToolTip:"Transfer of data between tasks",DataViewDataStores:"Data Stores",DataViewDataTransfers:"Data Transfers",DataViewInports:"Inports",DataViewInternalMembers:"Internal Members",DataViewOutports:"Outports",DataViewParameters:"Parameters",DataViewSignals:"Signals",DataViewSignalsStates:"Signals/States",DataViewStates:"States",DataWriteModeColumnName:"Data Write Mode",DataWriterLabel:"Data Writer",DefaultMapping:"Model default: ${0}",DefaultMappingForAPI:"Model default",DeleteLabel:"Delete",DirectDataAccessTooltip:"Generate data elements as class members that are nonstatic structs.",DisabledMappingInspectorTooltip:"No additional properties.",DocBtnToolTip:"Use Code Mappings editor to associate model data elements and functions with code generation configurations.",DplTypeDlgCancelButtonLabel:"Cancel",DplTypeDlgCppClassLabel:"C++ Class Name :",DplTypeDlgCppClassLabelToolTip:"C++ Class Name.",DplTypeDlgCppClassNamespaceLabel:"C++ Class Namespace :",DplTypeDlgCppClassNamespaceLabelToolTip:"C++ Class Namespace.",DplTypeDlgCppClassNamespaceTextboxToolTip:"Leave blank for default class name space or enter a valid C++ identifier for class name space.",DplTypeDlgCppClassTextboxToolTip:"Leave blank for default class name or enter a valid C++ identifier for class name.",DplTypeDlgDescription:"Configure C++ Class Settings",DplTypeDlgHelpButtonLabel:"Help",DplTypeDlgInvalidIdentifier:"Invalid C++ Identifier",DplTypeDlgOKButtonLabel:"OK",DplTypeDlgTitle:"Configure C++ Class Settings for '${0}'",ERTFunctionGroupMappingLabel:"Memory sections for model functions",EntryPointFunctions:"Functions",EntryPointMethods:"Methods",Error:"Error",Execution:"Execution",ExecutionCoreColumnName:"Execution Core",ExecutionToolTip:"Functions such as step and reset functions",ExportedFuncPrefix:"Exported Function:",FilterExpressionLabel:"Filter Expression",FilterKindLabel:"Filter Kind",FilterKindSqlLabel:"SQL",FilterKindStringLabel:"String Match",FilterParameterListLabel:"Filter Parameter List",FunctionCallers:"Function Callers",FunctionCategoryColumnName:"Model Function Category",FunctionClass:"FunctionCustomizationTemplate",FunctionClassColumnName:"Function Customization Template",FunctionExecutionModeColumnName:"Execution Mode",FunctionMappingForStateflowFunctionCaller:'In model "${0}", Simulink function "${1}" with customized code prototype "${2}" invokes or is invoked by a Stateflow chart. Code generation for such functions is supported only when functions are configured with default function prototype. <actions exclusiveFixIts="yes"> <action type="fixit" id="StateflowFunctionCallerFPC" retvalue="false"> <cmd>codermapping.internal.simulinkfunction.reconfigureDefaultPrototype(\'${0}\',\'${1}\')</cmd> <txt>Reconfigure Simulink function \'${2}\' to have default code prototype.</txt> </action> </actions>',FunctionMemorySectionNotConfigurable:"Cannot get or set memory section for function category '${0}' because category is mapped to function customization template '${1}'. To get or set memory section, set function customization template to Default.",FunctionNameColumnName:"Function Name",FunctionPreviewColumnName:"Function Preview",FunctionPriorityColumnName:"Priority",FunctionTriggeringTypeColumnName:"Triggering Type",FunctionsDefaultsSettings:"Function Defaults",FunctionsNotConfigurableMessage:`Functions are mapped to the default function customization templates defined in Embedded Coder Dictionary.
|
||
|
||
To configure function customization templates for individual model functions, set deployment type to Component.`,GlobalDataStores:"Global data stores",GlobalDataStoresToolTip:"Data stores in base workspace or data dictionary",GlobalParameters:"External parameters",GlobalParametersToolTip:"Parameters defined in base workspace or data dictionary",HelpBtnLabel:"Help for configuring data and functions for code generation.",InaccessibleCppPrivateIO:"In C++ code mapping, if inports or outports are configured with 'Data Visibility' set to 'private', you must set 'Member Access Method' to a value other than 'None'.",IncompatiblePrototype:"Function caller prototype '${0}' is not compatible with function definition '${1}'.",InconsistentMemorySectionPackage:"For model '${1}', subsystem '${0}' uses memory section '${2}' from package '${3}'. Model configuration parameter 'Package' specifies that package, but Embedded Coder Dictionary for model loads package '${4}'. Specify same package in model configuration parameter and dictionary or set subsystem memory section to 'Inherit from model' or 'Default'.",InheritFromSignal:"From signal object: ${0}",InitializeTerminate:"Initialize/Terminate",InitializeTerminateToolTip:"Functions represented in model as Initialize Function, Reset Function, and Terminate Function blocks.",InlineInportAccessMethodTooltip:"Generate set access method defined in class declaration for each inport.",InlineOutportAccessMethodTooltip:"Generate get access method defined in class declaration for each outport.",InlineStructureBasedAccessMethodTooltip:"Generate get and one set access method for data category defined in class declaration.",InlinedParameters:"'Auto' will be inlined",Inport:"Inport",InportAccessMethodTooltip:"Generate set access method for each inport.",InportSCPresent:"In model code mappings, default storage class for inports is set to '${0}', making generated code noncompliant with function prototype control feature. Set default storage class to 'Default'.",Inports:"Inports",InportsNotConfigurableMessage:`Inports are mapped to the default receiver service interface defined in Embedded Coder Dictionary.
|
||
|
||
To configure receiver service interface for individual inports of a top model, set deployment type to Component.`,InportsToolTip:"Root-level inports",InstanceSpecificParameters:"Parameter arguments",InstanceSpecificParametersToolTip:"Model parameter arguments with instance-specific values (default value defined in this model)",InternalData:"Signals, states, and internal data",InternalDataMemorySectionColumnName:"Internal Data Memory Section",InternalDataSwAddrMethodColumnName:"Internal Data SwAddrMethod",InternalDataToolTip:"Discrete block states, block output signals, and zero-crossing and previous zero-crossing signals",InvalidBlockForInportMappings:"Inport code mappings are for root-level inports only.",InvalidBlockForOutportMappings:"Outport code mappings are for root-level outports only.",InvalidBusElementPortInFunctionComponent:"Model includes virtual In Bus Element or Out Bus Element blocks and is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration. To generate code for a model linked to a coder dictionary that defines a service code interface configuration, In Bus Element and Out Bus Element blocks must be nonvirtual.",InvalidDataStoreObjectConfiguration:"For model '${0}', code mapping of data store memory block '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that data store memory block. Change one of the specifications to '${3}'.",InvalidDataStoreObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object that is associated with that inport. Change storage class setting for external data object to 'Auto'.",InvalidDataTransferDataObjectConfigurationFcnComponent:"For model '${0}', code mapping for data transfer signal '${1}' conflicts with storage class setting for external data object associated with that data transfer signal. Change external data object storage class to 'Auto'.",InvalidFunctionName:"For model '${0}', '${1}' is an invalid function name. Specify function name as a valid C identifier or an identifier format control macro.",InvalidIOPortDataObjectConfiguration:"For model '${0}', code mapping for ${1} block '${2}' to storage class '${3}' conflicts with storage class setting for external data object associated with that outport. Change one of the specifications to '${4}'.",InvalidIOportDataObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object associated with that inport block. Change external data object storage class to 'Auto' or remove external data object.",InvalidIdentifierForData:"For model '${0}', identifier '${1}' specified for ${2} '${3}' is not valid. Valid identifiers start with an alphabetic or '_' character, followed by alphanumeric or '_' characters. Identifiers starting with 'rt' are reserved unless you set model configuration parameter 'rt prefix for identifiers' to 'warning' or 'none'.",InvalidInportDataMappingDueToMessage:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}' because model contains a root-level inport that sends a message. In code mappings, set '${6}' to '${5}'.",InvalidInputError:'Value specified for "${0}" property is invalid.',InvalidInternalDataMappingDueToMessage:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}' because model contains a root-level inport that sends or root-level outport that receives a message. In code mappings, set '${6}' to '${5}'.",InvalidMaxMsgNumValue:"Invalid data type. Capacity must be an unsigned integer.",InvalidOutportDataMappingDueToMessage:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}' because the model contains a root-level outport that receives a message. In code mappings, set '${6}' to '${5}'.",InvalidPriorityValue:"Invalid data type. Priority value must be an unsigned integer",InvalidPrototype:"Function prototype '${0}' is not a valid prototype. Enter a valid prototype.",InvalidSignalConfiguration4Merge:'Conflicting signal configurations. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} and for signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} are inconsistent but feed Merge block ${4} and share memory. Signals entering a Merge block must have the same configuration. Use a Signal Conversion block upstream of the Merge block to isolate signal configurations.',InvalidSignalConfigurationForSameActSrc:'Conflicting signal configuration. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} conflicts with signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} because outputs map to same signal.',InvalidSignalObjectConfiguration:"For model '${0}', code mapping of signal '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that signal. Change one of the specifications to '${3}'.",InvalidSignalObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for signal '${1}' conflicts with storage class setting for external data object that is associated with that signal. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStateObjectConfiguration:"For model '${0}', code mapping of state '${1}' to storage class '${2}' conflicts with storage class setting for external data object associated with that state. Change storage class setting for code mapping or external data object to '${3}'.",InvalidStateObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for state '${1}' conflicts with storage class setting for external data object that is associated with that state. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStorageClassName:"For model '${0}', \"${1}\" is not a valid storage class for ${2}.",InvalidStorageClassTooltip:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set '${6}' to a valid '${5}'.",InvalidStorageClassTooltipIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set ${6} '${7}' to a valid '${5}'.",InvalidStorageClassTooltipIndividualBusElementPort:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For bus element ports with a virtual bus data type, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageInport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level inports that send messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageOutport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level outports that receive messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",LegacyMemorySectionNotFound:"Unable to find memory section '${0}' in package '${1}'.",LocalParameters:"Model parameters",LocalParametersToolTip:"Tunable parameters defined in this model (value shared across model instances)",LookupTables:"Lookup Tables",MDSAperiodicPartition:"Aperiodic partition:${0}",MDSUnmappedAperiodicPartition:"Unmapped aperiodic partition",MappedToColumnName:"Mapped To",MappingFunctionDefault:"Default",MappingInspectorError:"Values specified for one or more code mapping properties ignored.",MappingInspectorTooltip:"Configure additional mapping properties.",MappingNone:"None",MappingNotFound_AUTOSAR:"Model '${0}' does not have AUTOSAR mapping.",MappingNotFound_C:"Model '${0}' does not have C mapping.",MaxMsgNumLabel:"Capacity",MeasurementServiceColumnName:"Measurement Service",MemorySectionColumnName:"Memory Section",MemorySectionGlobalAndLocalParamsNotCompatible:"For model '${0}', default mapping of categories ${1} and ${2} are mapped to ${3} '${4}' with different memory sections. Map the categories to the same memory section.",MemorySectionInMultiplePackages:"For model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages: ${1} and ${2}. Memory sections configured for data and function default categories must be defined in the same package.",MemorySectionNotCompatible:"For model '${2}', default mapping of category ${0} to memory section '${1}' is not compatible with mapping of category ${3} to memory section '${4}' for reference model '${5}'.",MessageQueueNameLabel:"Message Queue Name",MigrateCPPFromCSRef:"Information from referenced configuration set '${0}' imported into C++ code mappings.",MigrateFromCSRef:"Information from referenced configuration set '${0}' imported into Embedded Coder Dictionary and C code mappings.",MissingDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule omits $C token, which is required for ${2} \"${3}\".",MissingResolvedObjectError:"Resolved signal object cannot be found",ModelData:"Self data structure",ModelDataStoreNotFound:"For model '${1}', unable to find data store '${0}' in model workspace.",ModelDataToolTip:"Self data structure",ModelDefaultMapping:"Dictionary default: ${0}",ModelDefaultMappingForAPI:"Dictionary default",ModelMappingAlreadyExist:"A mapping with name '${0}' for the same target was previously created.",ModelParameter:"Model parameter",ModelParameterArgument:"Model parameter argument",ModelParameterArguments:"Model parameter arguments",ModelParameterArgumentsToolTip:"Model parameter arguments with instance-specific values (default value defined in this model)",ModelParameters:"Model parameters",ModelParametersToolTip:"Tunable parameters defined in this model (value shared across model instances)",NewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}'is mapped to storage class defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root inport source, mappings to storage classes that are defined in Embedded Coder Dictionary are not supported for reference model code generation. Map ${1} to a storage class provided by the coder product or that is defined in a package.",NoCoderDictionaryWarn:`Model '\${0}' has a C code mapping but has no Embedded Coder Dictionary. <actions exclusiveFixIts="yes"> <action type="fixit" id="NoCoderDictionaryWarnFix" retvalue="false"> <cmd>coder.dictionary.create('\${0}')</cmd> <txt>Create an Embedded Coder Dictionary in model '\${0}'.</txt> </action> </actions>`,NoGroupInDictionary:"Storage class '${0}' is not defined in Embedded Coder Dictionary.",NoMapping:"Auto",NoMeasurementService:"Not measured",NoTuningService:"Not tunable",NoneAccessTooltip:"Do not generate access methods.",NoneVisibilityTooltip:"Generate data elements in application code as arguments passed into methods.",Outport:"Outport",OutportAccessMethodTooltip:"Generate get access method for each outport.",OutportSCPresent:"In model code mappings, default storage class for outports is set to '${0}', making generated code noncompliant with function prototype control feature. Set default storage class to 'Default'.",Outports:"Outports",OutportsNotConfigurableMessage:`Outports are mapped to the default sender service interface defined in Embedded Coder Dictionary.
|
||
|
||
To configure sender service interface for individual outports of a top model, set deployment type to Component.`,OutportsToolTip:"Root-level outports",OutputArgReturnByVal:"Port '${0}' cannot be set as return argument since it holds non-scalar value",PackageSelectionToolTip:`Select a package that was created by using sldataclassdesigner
|
||
and cscdesigner and that contains memory sections and storage classes.`,ParameterArguments:"Model parameter arguments",ParameterArgumentsToolTip:"Model parameter arguments with instance-specific values (default value defined in this model)",ParameterServiceColumnName:"Parameter Tuning Service",PlatformDefault:"Dictionary default",PlatformDefaultDecorated:"Dictionary default: ${0}",PointerDataAccessTooltip:"Generate data elements as class members that are non-static pointers to structs.",PortNameNotPresent:"Port name '${0}', specified in function prototype, is not in model. Reconfigure function arguments.",PriorityLabel:"Priority",PrivateVisibilityTooltip:"Generate data elements as class members with private C++ access specifier.",PropertyInspectorHyperlink:"Open in Property Inspector",ProtectedVisibilityTooltip:"Generate data elements as class members with protected C++ access specifier.",PublicVisibilityTooltip:"Generate data elements as class members with public C++ access specifier.",ReadOnly:"[Read-only]",ReadServiceColumnName:"Receiver Service",ReaderQoSLabel:"Reader QoS",ReaderXMLTagLabel:"Reader XML Path",ResolvedStorageClassError:"Code mapping of ${0} to storage class '${1}' conflicts with storage class setting for external data object associated with that ${0}. Change storage class setting for code mapping or external data object to Auto.",ResovledSignalContextMenu_Create:"Create signal object...",ResovledSignalContextMenu_Explore:"Explore signal object",ResovledSignalContextMenu_Open:"Open signal object",RunnableSwAddrMethodColumnName:"SwAddrMethod",SameNameMessageCustomizationExisted:"MessageCustomization named '${0}' already exists.",SameStorageClassForLocalAndParameterArgument:"For model '${0}', \"${1}\" '${2}' and \"${3}\" '${4}' are configured with the same storage class '${5}'. Configure \"${6}\" and \"${7}\" with different storage classes.",SelectReaderXMLTagLabel:"Use Reader XML Path",SelectStr:"Select ...",SelectTopicLabel:"Use Topic and QoS",SelectWriterXMLTagLabel:"Use Writer XML Path",SelectXMLTagLabel:"Use XML Tag",SelfDataStructure:"Self data structure",SelfDataStructureToolTip:"Self data structure",SharedDictionaryIncompatibleWithCodeMappings:"Code interface defined in shared Embedded Coder Dictionary '${0}' is configured for a '${1}', which is not compatible with current code mappings for model ${2} that are configured for a '${3}'. Link model to the original shared coder dictionary or <a href=\"matlab:Simulink.CodeMapping.resetCoderInterface('${2}');\">replace the current code mappings with new '${1}' code mappings</a>.",SharedLocalDataStores:"Shared local data stores",SharedLocalDataStoresToolTip:"Data stores shared between model instances when model is reentrant",SharedUtility:"Shared utility",SharedUtilityToolTip:"Functions such as fixed-point functions, lookup table functions, and binary search functions in model",Signal:"Signal",SimulinkGlobal:"Default",StageCreateDefaultCompMsg:"Create Default Component",State:"State",StepFPCombinedIOOrdering:"Pair of ports with same name must be next to each other in function prototype.",StorageClassColumnName:"Storage Class",StructureBasedAccessMethodTooltip:"Generate get and one set access method for data category.",StructuredNewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}' is mapped to a structured storage class that was defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root-level inport source, mappings to structured storage classes that are defined in an Embedded Coder Dictionary are not supported for referenced model code generation. Change storage type to \"Unstructured\" or map ${1} to a built-in storage class or a storage class that is defined in a package.",SubsystemBuildFPCForC:"C function prototype configuration for subsystem build will be removed in a future release. To configure the function prototype, convert subsystem '${0}' to a referenced model.",SubsystemBuildFPCForCPP:"C++ class interface configuration for subsystem build is not supported. To configure class interface, convert subsystem '${0}' to a referenced model and configure class interface for model by using code mappings.",SubsystemConversionForFunctionPlatformError:"Model '${0}' is configured with service interface code mappings. Conversion of subsystem to referenced model does not copy service interface code mappings. To proceed with conversion, in Model Reference Conversion Advisor, clear 'Copy code mapppings' option.",SubsystemConversionForFunctionPlatformWarn:"Model '${0}' is configured with service interface code mappings. Conversion of subsystem to referenced model does not copy service interface code mappings.",SubsystemConversionForServiceInterfaceNotification:"Code mappings for model elements that feed subsystem '${0}' were not copied to created reference model '${1}'.",SubsystemFpcNewConfigurationForC:"C function prototype configuration for subsystem build will be removed in a future release. For new configurations, convert subsystem '${0}' to a referenced model and configure function prototypes for model by using code mappings.",SubsystemFpcNewConfigurationForCPP:"C++ class interface configuration for subsystem build is not supported. To configure class interface, convert subsystem '${0}' to a referenced model and configure class interface for model by using code mappings.",SubsystemMemSecPkgMisMatch:"For '${1}' subsystem within model '${0}', data or function categories are configured with memory sections that are defined in '${2}' package and data or function default categories are configured with memory sections that are defined in '${3}' package. Select memory sections from the same package.",SubsystemMemorySectionInMultiplePackages:"For '${1}' subsystem within model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages - ${2} and ${3}. Define memory sections configured for data and function default categories in the same package.",SwAddrMethodForInternalDataTooltip:"Select SwAddrMethod with SectionType 'Var'.",SwAddrMethodForRunnableTooltip:"Select SwAddrMethod with SectionType 'Code'.",TimerServiceColumnName:"Timer Service",TopicLabel:"Topic",TunableParameters:"'Auto' will be tunable",UnnamedInport:"In model '${0}', root-level inport '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedInportServicePort:"In model '${0}', root-level inport '${1}' is configured for use with a receiver service that uses direct-access communication and no identifier is specified. Specify an identifier for the inport or change receiver service data communication method setting.",UnnamedOutport:"In model '${0}', Outport block '${1}' has an empty Identifier and is configured with a storage class other than Auto. Set a non-empty Identifier for Outport block, or set storage class for Outport block to Auto.",UnnamedOutportServicePort:"In model '${0}', outport '${1}' is configured for use with a sender service that uses direct-access communication and no identifier is specified. Specify an identifier for the outport or change sender service data communication method setting.",UnnamedSignal:"In model '${0}', signal '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedSignalServicePort:"In model '${0}', signal '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnnamedState:"In model '${0}', state '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedStateServicePort:"In model '${0}', state '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnresolvedCell:"Unresolved",UnresolvedDictionaryItemError:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set '${5}' to a valid '${4}'.",UnresolvedDictionaryItemErrorIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set ${5} '${6}' to '${4}'.",UnresolvedDictionaryItemForIndividualFunction:"For model '${0}', '${1}' mapped to '${2}' for entry-point functions does not resolve to valid entry in Embedded Coder Dictionary. Set'${3}' to a valid value.",UnsupportedDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $C token, which is valid for ${2} \"${4}\" only.",UnsupportedDollarMToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $M token, which is valid for ${2} \"${4}\" and \"${5}\" only.",ValidateMapping_Tooltip:"Validate Code Mappings",WriteServiceColumnName:"Sender Service",WriterQoSLabel:"Writer QoS",WriterXMLTagLabel:"Writer XML Path",duplicateMappedEntryPointFunction:"Code mappings configures entry-point functions '${0}' and '${1}' with same code function name. Reconfigure function name for one of the entry-point functions.",duplicateMappedFcnCallInport:"Code mapping configures blocks '${0}' and '${1}' with same code function name. Reconfigure code function name for one of the blocks.",duplicateMappingFound:"Duplicate '${0}' mapping found. Use mappingObj.removeInvalidInternalDataMappings to delete duplicate elements.",inactiveMappingsLost:"Model '${0}' contains inactive code mappings configured for ${1}. These mappings will be lost when exporting the model to a previous version.",invalidBlockParameterName:"Tunable parameter '${0}' for block ${1} not found.",invalidSelectionForAddingBlockParameters:"Tunable parameters for selected blocks not found.",invalidSignalMappingSpecification1:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because cannot add unique mapping to valid signal in the model. Insert Signal Conversion block after output port and configure output signal of Signal Conversion block.',invalidSignalMappingSpecification2:"Unable to configure output signal of Argument Inport block ${0} for code generation.",invalidSignalMappingSpecification3:"Signal connected to root-level inport ${0}. Map signals that are sourced from root-level inports as inports instead of signals.",invalidSignalMappingSpecification4:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because it is a message signal.',unmappedEntryPointFunction:"Code mappings does not configure function name for entry-point function '${0}'. Configure function name.",unmappedFcnCallInport:"Code mappings does not configure code function name for block '${0}'.",unmappedIOBlock:"Code mappings does not include configuration for block '${0}'. Configure root-level inports and outports."},"ja-jp":!0,"zh-cn":!0}},function(_,M,l){"use strict";var A,C;A=[l(9),l(11),l(4),l(54),l(36),l(258),l(553),l(585),l(37),l(41),l(173),l(50),l(38),l(274)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s){return function(c,f){const p=f.domNode;s.readonly||(h(p,h.selector(".blk","mouseover"),T),h(p,h.selector(".tk",d.enter),S),h(p,h.selector(".trace-line","click"),F),h(p,h.selector(".trace-line","mouseover"),D),h(p,h.selector(".tk.traceable","click"),w),h(p,h.selector(".blk, .libblk","click"),x),h(p,h.selector(".req","click"),R)),h(p,h.selector(".has-icon, .dots","click"),W),h(p,h.selector(".br","mouseover"),P),h(p,h.selector(".br","click"),O),h(p,h.selector(".line-num, .annotation, cov","mouseover"),v),h(p,h.selector(".code-folding.has-icon","mouseover"),g),h(p,h.selector("c","mouseover"),j),i.setup(c,f),e({connectId:["root"],selector:".annotation",getContent:function(K){return K.getAttribute("annotation-text")}});function v(K){const H=K.target;let V=H;for(;V&&!V.classList.contains("code-row");)V=V.parentElement;V&&(m.add(V,"hover"),h.once(H,"mouseleave",function($){const G=document.querySelectorAll(".code .code-row");y.forEach(G,function(Q){m.remove(Q,"hover")})}))}function g(K){const H=this,V=H.getAttribute("line"),$=document.querySelectorAll('.indent-space[line="'+V+'"]');y.forEach($,function(G){m.add(G,"hover")}),h.once(H,"mouseleave",E)}function E(){const K=document.querySelectorAll(".indent-space");y.forEach(K,function(H){m.remove(H,"hover")})}function D(K){const H=K.target,V=parseInt(H.getAttribute("line"));let $=[];s.component==="HDL"?$=o.getHDLLineData(c.data,V):$=o.getLineData(c.data,V),h.once(H,"mouseleave",function(G){I(H,$)}),$.action="hover",a.publish($)}function F(K){const V=parseInt(this.getAttribute("line"));if(s.component==="HDL"){const $=o.getHDLLineData(c.data,V);$.action="hdl_line2mdl",a.publish($)}else{const $=o.getLineData(c.data,V);$.action="line2mdl",a.publish($)}}function w(K){const H=this,V=o.getUnitData(c.data,H);V.action="token2mdl",a.publish(V)}function x(K){const H=this,V=o.getUnitData(c.data,H);V.action="blk2mdl",a.publish(V)}function R(K){const H=this,V=H.getAttribute("blockpath"),$=c.data.blocks.get(V);let G;$?G=$.sid:G=V;const Q=H.getAttribute("req_id"),J={action:"code2req",userData:{sid:G,reqId:Q}};a.publish(J)}function T(K){const H=this,V=H.id,$=o.getUnitData(c.data,H);if($){h.once(H,"mouseleave",function(Q){I(H,$)}),$.action="hover",$.sids.length>0&&a.publish($);const G=c.data.records.get(V);if(G){const Q=G.define;Q&&document.querySelectorAll('[defid="'+Q.id+'"]').forEach(function(Y){m.add(Y,"hover")})}}}function S(K){const H=this,V=H.id;r(c,H);const $=o.getUnitData(c.data,H);if($){h.once(H,"mouseleave",function(Q){Q.stopPropagation(),I(H,$)}),$.action="hover",$.sids.length>0&&a.publish($);const G=c.data.records.get(V);if(G){const Q=G.define;Q&&document.querySelectorAll('[defid="'+Q.id+'"]').forEach(function(Y){m.add(Y,"hover")})}}}function I(K,H){H.action="clear",a.publish(H);const V=p.querySelectorAll(".hover");y.forEach(V,function($){m.remove($,"hover")})}function B(K){const H=K.getAttribute("line"),$=f.store.get(H);let G,Q;K.innerText==="{"?(G="}",Q=$.to):(G="{",Q=$.from);const J=f.id+"-row-"+Q,Y=document.getElementById(J);if(Y){const X=Y.querySelectorAll(".br"),Z=y.filter(X,function(q){return q.innerText===G})[0];return{line:Q,ele:Z}}else return{line:Q}}function P(K){const H=this;h.once(H,"mouseleave",L);const V=B(H).ele;V&&m.add(V,"hover")}function L(K){const V=B(this).ele;V&&m.remove(V,"hover")}function O(K){const $=B(this).line;$&&c.show(null,$,!0)}function W(K){const V=parseInt(this.getAttribute("line")),$=f.store,G=$.get(V);G.expand=!G.expand,o.updateData($.data),f.refresh()}function j(K){const H=this,V=H.getAttribute("col"),$=H.getAttribute("ln"),G=document.getElementById("LnCol"),Q=u.getString("SimulinkCoderApp:report:Ln"),J=u.getString("SimulinkCoderApp:report:Col");G.innerHTML='<span class="label">'+Q+'</span><span class="number">'+$+'</span><span class="label">'+J+'</span><span class="number">'+V+"</span>"}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(6),l(0),l(9),l(26)],C=l.dj.d(A,function(y,m,h,d){var n=y.Color=function(e){e&&this.setColor(e)};return n.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:d.transparentColor||[0,0,0,0]},m.extend(n,{r:255,g:255,b:255,a:1,_set:function(e,t,r,o){var a=this;a.r=e,a.g=t,a.b=r,a.a=o},setColor:function(e){return m.isString(e)?n.fromString(e,this):m.isArray(e)?n.fromArray(e,this):(this._set(e.r,e.g,e.b,e.a),e instanceof n||this.sanitize()),this},sanitize:function(){return this},toRgb:function(){var e=this;return[e.r,e.g,e.b]},toRgba:function(){var e=this;return[e.r,e.g,e.b,e.a]},toHex:function(){var e=h.map(["r","g","b"],function(t){var r=this[t].toString(16);return r.length<2?"0"+r:r},this);return"#"+e.join("")},toCss:function(e){var t=this,r=t.r+", "+t.g+", "+t.b;return(e?"rgba("+r+", "+t.a:"rgb("+r)+")"},toString:function(){return this.toCss(!0)}}),n.blendColors=y.blendColors=function(e,t,r,o){var a=o||new n;return a.r=Math.round(e.r+(t.r-e.r)*r),a.g=Math.round(e.g+(t.g-e.g)*r),a.b=Math.round(e.b+(t.b-e.b)*r),a.a=e.a+(t.a-e.a)*r,a.sanitize()},n.fromRgb=y.colorFromRgb=function(e,t){var r=e.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return r&&n.fromArray(r[1].split(/\s*,\s*/),t)},n.fromHex=y.colorFromHex=function(e,t){var r=t||new n,o=e.length==4?4:8,a=(1<<o)-1;return e=Number("0x"+e.substr(1)),isNaN(e)?null:(h.forEach(["b","g","r"],function(i){var u=e&a;e>>=o,r[i]=o==4?17*u:u}),r.a=1,r)},n.fromArray=y.colorFromArray=function(e,t){var r=t||new n;return r._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(r.a)&&(r.a=1),r.sanitize()},n.fromString=y.colorFromString=function(e,t){var r=n.named[e];return r&&n.fromArray(r,t)||n.fromRgb(e,t)||n.fromHex(e,t)},n},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(26),l(0),l(35),l(44)],C=l.dj.d(A,function(y,m,h,d,n){var e={};return y.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(t){e[t]=d[t]}),h.mixin(e,{defaultDuration:m.defaultDuration||200}),h.mixin(n,e),n},_,M),_.exports=C},function(_,M){_.exports=`<div class="dijitTooltip dijitTooltipLeft" id="dojoTooltip" data-dojo-attach-event="mouseenter:onMouseEnter,mouseleave:onMouseLeave"
|
||
><div class="dijitTooltipConnector" data-dojo-attach-point="connectorNode"></div
|
||
><div class="dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point="containerNode" role='alert'></div
|
||
></div>
|
||
`},function(_,M,l){"use strict";var A,C;A=[l(10),l(11),l(14),l(56),l(37),l(50),l(41)],C=l.dj.d(A,function(y,m,h,d,n,e,t){const r={fcn:e.getString("SimulinkCoderApp:report:Type_Function"),var:e.getString("SimulinkCoderApp:report:Type_Variable"),type:e.getString("SimulinkCoderApp:report:Type_Type"),cls:e.getString("SimulinkCoderApp:report:Type_Class")};return function(f,p){let v=p.querySelector(".info"),g;if(v)g=v.querySelector(".content");else{v=y.create("div",{class:"info",onclick:function(T){T.stopPropagation()}},p);const R=y.create("div",{class:"smart"},v);g=y.create("div",{class:"content"},R),o(v,g,p,f.data)}const E=p.getBoundingClientRect();let D=E.left,F=E.width;E.width<10&&(D-=5,F+=10);const w=window.innerHeight-E.top,x=E.bottom;x<100?(h.set(v,"top",x+"px"),h.set(v,"bottom","")):(h.set(v,"top",""),h.set(v,"bottom",w+"px")),h.set(v,"left",D+"px"),h.set(v,"width",F+"px"),h.set(g,"max-width",window.innerWidth-D+"px"),f.config.cmOn?m.add(v,"show-code-metrics"):m.remove(v,"show-code-metrics"),f.config.cpOn?m.add(v,"show-code-profiling"):m.remove(v,"show-code-profiling")};function o(f,p,v,g){const E=a(v,g);let D=null,F=null;window.cr.traceConfig.tokenLevelTrace&&(D=i(v,g),F=u(v,g));const w=s(v,g),x=c(v,g),R=[E,D,F,w,x].filter(function(T){return T});R.length===0?m.add(f,"empty"):R.forEach(function(T){y.place(T,p)})}function a(f,p){const v=f.id,g=p.records.get(v);if(!g)return;const E=g.define;if(!E)return;const D=y.create("div",{class:"section definition"});y.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:Definition")},D);const F=y.create("div",{class:"title"},D),w=window.cr,x=r[E.def],R=E.file,T=E.line,S=w.data.files.get(R),I=S.codeList[T-1];if(F.innerHTML='<span class="type">'+x+"</span> "+e.getString("SimulinkCoderApp:report:DefinedIn")+' <span class="file">'+R+"</span>",E!==g){const B=y.create("div",{class:"body code-ref"},D);y.create("span",{class:"line",innerHTML:T},B),S.lang.createNodes(I.tokens).forEach(L=>B.appendChild(L)),y.create("div",{class:"overlay",onclick:function(L){L.stopPropagation(),w.show(R,T,!0)}},B)}return D}function i(f,p){const v=p.records.get(f.id);if(!v)return;const g=v.sid;if(!g||g.size===0)return;const E=[...g].map(function(w){return p.blocks.queryBySid(w)}).filter(function(w){return w});if(E.length===0)return;const D=y.create("div",{class:"section model-elements"});y.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:ModelElements")},D);const F=y.create("div",{class:"body"},D);return E.forEach(function(w){const x=n.createUnit({type:"blk",text:w.blk});x.setAttribute("sid",w.sid),x.onclick=function(R){R.stopPropagation();const S=R.target.getAttribute("sid");t.publish({action:"blk2mdl",sids:[S]})},y.place(x,F)}),D}function u(f,p){const v=f.id,g=p.records.get(v);if(!g)return;const E=g.customTrace;if(!E||E.size===0)return;const D=E.get("StorageClass"),F=E.get("ModelElemCategory");if(!D||!F)return;const w=y.create("div",{class:"section customization"});y.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:Customization")},w);const x=E.get("StorageClassSource")||"ModelDefault",R=e.getString("SimulinkCoderApp:report:"+x);let T;x==="Individual"?T=E.get("ModelDataSource"):T=e.getString("coderdictionary:mapping:"+F)||F,y.create("div",{class:"title",textContent:R},w);const S=y.create("div",{class:"body storage-class",category:F},w);return y.create("span",{class:"category-name",textContent:T+": "},S),y.create("span",{class:"storage-class-name",textContent:D},S),S.onclick=function(I){I.stopPropagation(),t.publish({action:"code2mapping",id:v,userData:E})},w}function s(f,p){const v=p.cm;if(!v)return;const g=f.getAttribute("token"),E=p.define.get(g);if(!E||E.type!=="fcn"&&E.type!=="var")return;const D=y.create("div",{class:"section code-metrics"});y.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:CodeMetrics")},D);const F=y.create("div",{class:"body"},D);if(E.type==="fcn"){const x=p.currentFile+":"+g,R=v.fcn;let T=R.get(x);if(T||(T=R.get(g)),T){const S='<span class="cm-num">'+T.Stack+"</span>",I=e.getString("SimulinkCoderApp:report:CodeMetrics_Stack"),B=d.substitute(I,[S]);let P;if(T.StackTotal===-1)P=e.getString("SimulinkCoderApp:report:CodeMetrics_TotalStackRecursion");else{const L='<span class="cm-num">'+T.StackTotal+"</span>",O=e.getString("SimulinkCoderApp:report:CodeMetrics_TotalStack");P=d.substitute(O,[L])}return F.innerHTML=B+", "+P,D}}else if(E.type==="var"){const x=v.var.get(g);if(x){const R='<span class="cm-num">'+x.Size+"</span>",T=e.getString("SimulinkCoderApp:report:CodeMetrics_Size");return F.innerHTML=d.substitute(T,[R]),D}}}function c(f,p){if(!p.profiling)return;const g=p.profiling.proInfo,E=f.getAttribute("token"),D=g.find(function(oe){return oe.CodeSectionName===E});if(!D||D.FileNames[0]!==p.currentFile)return;const F=p.profiling.UnitOfTime,w=p.profiling.TimerTicksPerSecond,x=f.getElementsByTagName("c"),R=parseInt(x[0].getAttribute("ln")),T=D.LineNumbers[0],S=T.length,I=T[0],B=T[S-1];if(!(R>=I&&R<=B))return;const L=y.create("div",{class:"section code-profiling"});y.create("div",{class:"name",textContent:e.getString("SimulinkCoderApp:report:CodeProfiling")},L);const O=y.create("div",{class:"body"},L),W=D.MaximumExecutionTimeInTicks/w,j=W<1||W>99999?W.toExponential(2):W,K='<table class="cp-table"><tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:MaximumExecutionTime")+"</td>",H='<td class="cp-td"><span class="cp-num">'+j+"</span></td></tr>",V=D.TotalExecutionTimeInTicks/D.NumCalls/w,$=V<1||V>99999?V.toExponential(2):V.toFixed(0),G='<tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:AverageExecutionTime")+"</td>",Q='<td class="cp-td"><span class="cp-num">'+$+"</span></td></tr>",J=D.MaximumSelfTimeInTicks/w,Y=J<1||J>99999?J.toExponential(2):J,X='<tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:MaximumSelfTime")+"</td>",Z=' <td class="cp-td"><span class="cp-num">'+Y+"</span></td></tr>",q=D.TotalSelfTimeInTicks/D.NumCalls/w,ee=q<1||q>99999?q.toExponential(2):q.toFixed(0),re='<tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:AverageSelfTime")+"</td>",he='<td class="cp-td"><span class="cp-num">'+ee+"</span></td></tr>",me='<tr class="cp-tr"><td class="cp-td">'+e.getString("SimulinkCoderApp:report:NumberOfCalls")+"</td>",se='<td class="cp-td"><span class="cp-num">'+D.NumCalls+"</span></td></tr></table>",te=e.getString("SimulinkCoderApp:report:UnitOfTime");return O.innerHTML=K+H+G+Q+X+Z+re+he+me+se+te+" "+F,L}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(555)],C=l.dj.d(A,function(y){return{getMVM:function(){return y.get("user-mvm")}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(13),l(93),l(67),l(569),l(264),l(572),l(573),l(575),l(577),l(169),l(578),l(579),l(583),l(584)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f){const p=y(null,{constructor:function(g,E){m.assert(g==="user-mvm","Only user-mvm is supported at this time"),h.isStarted()||h.start(),this._MVMid=g,this._destroyCallback=E,this._refCount=0,this._attach=new n(h,this._MVMid);const D=new e(h,this._attach.getChannelPrefix());this._mvmSink=new a(D),this._eventManager=new o(D),this._evalFevalCancel=new r(D,this._eventManager),this._outputCallback={},this._errorCallback={},this._debugger=new t(D),this._errSinkTraits={},this._outSinkTraits={},this._features=new u(this._MVMid)},feval:function(v,g,E,D){return this._evalFevalCancel.feval(v,g,E,D)},eval:function(v,g,E){return this._evalFevalCancel.eval(v,g,E)},cancelGroup:function(v,g){return this._evalFevalCancel.cancelGroup(v,g)},interrupt:function(){return this._evalFevalCancel.interrupt()},destroy:function(){--this._refCount,!(this._refCount>0)&&(this._features&&this._features.destroy(),this._evalFevalCancel&&this._evalFevalCancel.destroy(),this._eventManager&&this._eventManager.destroy(),this._debugger&&this._debugger.destroy(),this._mvmSink&&this._mvmSink.destroy(),this._attach&&this._attach.destroy(),this._destroyCallback())},getFeatures:function(){return this._features},whenMVMReady:function(){return this._attach.getChannelPrefix().then(function(){},function(v){throw new Error("MVM rejected connection")})},setTextCallbacks:function(v){return this._mvmSink.setSinks(v.outputCallback,v.errorCallback,v.outSinkTraits,v.errSinkTraits)},getEventManager:function(){return this._eventManager},getDebugger:function(){return this._debugger},getMore:function(){return this._more===void 0&&(this._more=new s(this)),this._more},getPause:function(){return this._pause===void 0&&(this._pause=new c(this)),this._pause},getBang:function(){return this._bang===void 0&&(this._bang=new f(this)),this._bang}});return{get:function(v){let g=this._mvmMap[v];return g===void 0&&(g=new p(v,function(){delete this._mvmMap[v]}.bind(this)),this._mvmMap[v]=g),++g._refCount,g},_mvmMap:{}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0),l(17),l(4),l(557)],C=l.dj.d(A,function(y,m,h,d){return function(e){const t=new d,r={messageService:t,subscribe:y.hitch(t,"subscribe"),unsubscribe:y.hitch(t,"unsubscribe"),publish:y.hitch(t,"publish"),start:y.hitch(t,"start"),stop:y.hitch(t,"stop"),isRunning:y.hitch(t,"isStarted"),isStarted:y.hitch(t,"isStarted"),isConnected:y.hitch(t,"isConnected"),isFatallyDisconnected:y.hitch(t,"isFatallyDisconnected"),isDisconnected:y.hitch(t,"isDisconnected"),setLatency:y.hitch(t,"setLatency"),setErrorRate:y.hitch(t,"setErrorRate"),getTransport:y.hitch(t,"getTransport"),onConnected:function(){},onDisconnected:function(){},onReconnected:function(){},onFatallyDisconnected:function(){},onNotConnected:function(){},on:function(o,a){return h(this.messageService,o,a)},handleMessage:y.hitch(t,"handleMessage"),internalMotwDisableStart:function(){this._startFunction=this.start,this.start=function(){}},internalMotwEnableStart:function(){this._startFunction&&(this.start=this._startFunction,this._startFunction=null)}};return m.after(t,"onConnected",y.hitch(r,"onConnected"),!0),m.after(t,"onDisconnected",y.hitch(r,"onDisconnected"),!0),m.after(t,"onReconnected",y.hitch(r,"onReconnected"),!0),m.after(t,"onFatallyDisconnected",y.hitch(r,"onFatallyDisconnected"),!0),m.after(t,"onNotConnected",y.hitch(r,"onNotConnected"),!0),t.setDelegate(e),r}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(0),l(17),l(20),l(13),l(558),l(262)],C=l.dj.d(A,function(y,m,h,d,n,e,t){return y([e],{logSubscriptions:!1,constructor:function(){this.batching=!0,this.typeSerializers=[],this.typeDeserializers={},this.channelSubscriptions={}},setDelegate:function(r){this.inherited("setDelegate",arguments),h.after(this._delegate,"onMessage",m.hitch(this,this.handleMessage),!0)},publish:function(r,o){if(this.isConnected()||this._currentState==="resubscribing"){const a=this._queuePublish(r,this.serialize(o));return this._deferProcessQueue(),a}else return this._queuePublish(r,this.serialize(o))},subscribe:function(r,o,a){if(this.logSubscriptions&&n.info("MessageService subscribe: "+r,o,a),this._addHandler(this.channelSubscriptions,r,o,a),this.isConnected()||this._currentState==="resubscribing"){const i=this._queueSubscribe(r,o,a);return this._deferProcessQueue(),i}else return this._queueSubscribe(r,o,a)},unsubscribe:function(r,o,a){if(this.logSubscriptions&&n.info("MessageService unsubscribe: "+r,o,a),this._removeHandler(this.channelSubscriptions,r,o,a)){if(this._removeQueuedMatchingSubscribe(r,o,a))return new d().resolve();if(this.isConnected()||this._currentState==="resubscribing"){const u=this._queueUnsubscribe(r,o,a);return this._deferProcessQueue(),u}else return new d().resolve()}else return n.error("Not subscribed to channel: "+r+", can't unsubscribe."),new d().reject("Not subscribed to channel: "+r+", can't unsubscribe.")},flush:function(){if(this.isConnected())this._processQueue();else throw new Error("Can only manually flush the queue when connected.")},setLatency:function(r){this._delegate&&this._delegate.doSetLatency&&this._delegate.doSetLatency(r)},setErrorRate:function(r){this._delegate&&this._delegate.doSetErrorRate&&this._delegate.doSetErrorRate(r)},getTransport:function(){return this._delegate&&this._delegate.getTransport?this._delegate.getTransport():t.UNKNOWN},_enterDisconnected:function(){this.inherited("_enterDisconnected",arguments),this._queuedOps=[]},_enterConnecting:function(){this.inherited("_enterConnecting",arguments),Object.keys(this.channelSubscriptions).forEach(r=>{this.channelSubscriptions[r].subscribed=!1})},_enterConnected:function(){this.inherited("_enterConnected",arguments),this._processQueue()},_enterDisconnecting:function(){this._processQueue(),this.inherited("_enterDisconnecting",arguments)},_queuePublish:function(r,o){const a=new d;return this._queuedOps.push({type:"publish",channel:r,data:o,deferred:a}),a.promise},_queueSubscribe:function(r,o,a){const i=new d;return this._queuedOps.push({type:"subscribe",channel:r,handler:o,scope:a,deferred:i}),i.promise},_removeQueuedMatchingSubscribe:function(r,o,a){let i;for(let u=this._queuedOps.length-1;u>=0;u-=1)if(i=this._queuedOps[u],i.type==="subscribe"&&i.channel===r&&i.handler===o&&i.scope===a){this._queuedOps.splice(u,1);const s=this._delegate&&this._delegate.delegateConnected();return this.isConnected()&&s&&i.deferred.resolve(),!0}},_queueUnsubscribe:function(r,o,a){const i=new d;return this._queuedOps.push({type:"unsubscribe",channel:r,handler:o,scope:a,deferred:i}),i.promise},_processQueue:function(){const r=this._delegate&&this._delegate.delegateConnected();if(!(this.isConnected()&&r)&&this._currentState!=="disconnecting")return;this._delegate.doStartBatch();const a=this._queuedOps;this._queuedOps=[],a.forEach(function(i){let u;i.type==="publish"?u=this._delegate.doPublish(i.channel,i.data):i.type==="subscribe"?u=this._doSubscribe(i.channel,i.handler,i.scope):i.type==="unsubscribe"&&(u=this._doUnsubscribe(i.channel,i.handler,i.scope)),u.then(i.deferred.resolve,i.deferred.reject)},this),this._delegate.doEndBatch()},_deferProcessQueue:function(){if(this.batching&&!this._deferredTimeout){const r=this;this._deferredTimeout=setTimeout(function(){r._deferredTimeout=!1,r._processQueue()},0)}else this.batching||this._processQueue()},_doSubscribe:function(r){if(this.channelSubscriptions[r].subscribed)return new d().resolve();{const o=this._delegate.doSubscribe(r);return this.channelSubscriptions[r].subscribed=!0,o}},_doUnsubscribe:function(r){return this.channelSubscriptions[r]?new d().resolve():this._delegate.doUnsubscribe(r)},handleMessage:function(r){let o;if(r&&r.channel){r.data&&(r.data=this.deserialize(r.data));const a=r.channel.split("/");for(o=1;o<=a.length;o+=1)this._callHandlers(this.channelSubscriptions,a.slice(0,o).concat("**").join("/"),r);this._callHandlers(this.channelSubscriptions,a.slice(0,a.length-1).concat("*").join("/"),r),this._callHandlers(this.channelSubscriptions,a.concat("*").join("/"),r),this._callHandlers(this.channelSubscriptions,r.channel,r)}},registerMessageHandler:function(r,o,a){n.error("registerMessageHandler is not supported any more.")},deregisterMessageHandler:function(r,o,a){n.error("deregisterMessageHandler is not supported any more.")},registerTypeSerializer:function(r,o,a){this.typeSerializers.push({typeMatcher:r,type:o,serializer:a})},registerTypeDeserializer:function(r,o){this.typeDeserializers[r]=o},serialize:function(r){return m.isArray(r)?this._serializeArray(r):r instanceof Number||r instanceof Boolean||m.isString(r)?r:this._serializeObject(r)},deserialize:function(r){return m.isArray(r)?this._deserializeArray(r):r instanceof Number||r instanceof Boolean||m.isString(r)?r:this._deserializeObject(r)},_addHandler:function(r,o,a,i){if(i=i||this,typeof a=="string"&&typeof i[a]!="function"){n.warn("Not adding invalid handler: "+a);return}let u=r[o];u||(u=[],r[o]=u);const s={channel:o,handler:a,scope:i};u.push(s),u.sort(function(c){return c.exclusive?-1:0})},_removeHandler:function(r,o,a,i){i=i||this;const u=r[o],s=this._getHandlerIndex(u,{handler:a,scope:i});return s>=0&&u.splice(s,1),(!u||u.length===0)&&delete r[o],s>=0},_callHandlers:function(r,o,a){let i,u;if(Object.prototype.hasOwnProperty.call(r,o))for(i=r[o],u=0;u<i.length;u+=1)try{typeof i[u].handler=="string"?i[u].scope[i[u].handler].call(i[u].scope,a):i[u].handler.call(i[u].scope,a)}catch(s){const c=2;n.error("Error while executing message handler on channel: "+o+", message: "+JSON.stringify(a,null,c)+", error: ",s)}},_getHandlerIndex:function(r,o){if(!r)return-1;let a;for(a=0;a<r.length;a+=1)if(o.handler===r[a].handler&&o.scope===r[a].scope)return a;return-1},_serializeObject:function(r){let o,a;for(a=0;a<this.typeSerializers.length;a+=1){const i=this.typeSerializers[a];if(i.typeMatcher(r))return{__type__:i.type,__value__:i.serializer.call(this,r)}}if(r instanceof window.Image)return r;for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(r[o]=this.serialize(r[o]));return r},_serializeArray:function(r){let o;const a=r.length;for(o=0;o<a;o+=1)r[o]=this.serialize(r[o]);return r},_deserializeObject:function(r){let o;if(r==null)return null;if(Object.prototype.hasOwnProperty.call(r,"__type__")&&Object.prototype.hasOwnProperty.call(r,"__value__"))try{return this.typeDeserializers[r.__type__].call(this,r.__value__)}catch(a){n.error("Error while trying to deserialize: ",r,"Error: ",a)}for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&r[o]!==null&&r[o]!==void 0&&(r[o]=this.deserialize(r[o]));return r},_deserializeArray:function(r){let o;const a=r.length;for(o=0;o<a;o+=1)r[o]=this.deserialize(r[o]);return r}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(60),l(0),l(17),l(89),l(559),l(13)],C=l.dj.d(A,function(y,m,h,d,n,e,t){return y([m],{_MAX_RETRIES:30,logStateChanges:!1,constructor:function(){this._stateOptions={context:this,name:"WraDataService",namespace:"MOTW.wra",defaultSubstate:"disconnected",substates:{disconnected:{transitions:{onEnterState:this._enterDisconnected,start:"connecting"}},connecting:{transitions:{onEnterState:this._enterConnecting,_connectSuccess:"resubscribing",_connectFailure:"reconnecting",stop:"disconnected"}},reconnecting:{transitions:{onEnterState:this._enterReconnecting,_connectSuccess:"resubscribing",_connectFailure:[this._retryFailure,"retryDelay"],stop:"disconnected"}},retryDelay:{transitions:{"timeout 2":"reconnecting",_reconnect:"reconnecting",stop:"disconnected"}},resubscribing:{transitions:{onEnterState:this._enterResubscribing,_resubscribeSuccess:"connected",_resubscribeFailure:"reconnecting",stop:"disconnecting"}},connected:{transitions:{onEnterState:this._enterConnected,_reconnect:"reconnecting",stop:"disconnecting"}},disconnecting:{transitions:{onEnterState:this._enterDisconnecting,_disconnectSuccess:"disconnected",_disconnectFailure:"disconnected","timeout 2":"disconnected"}},fatallyDisconnected:{transitions:{onEnterState:this._enterFatallyDisconnected,stop:"disconnected"}}}}},setDelegate:function(r){if(this._delegate!==r){this._delegate=r;const o=this;d.after(r,"onConnectionError",function(){o._currentState==="connected"&&(t.warn("MessageService received connection error, reconnecting"),o._reconnect())},!0),this._states=new e(this._stateOptions),d.after(this._states,"onEnterState",h.hitch(this,this._enterState),!0),this._states.start()}},onConnected:function(){this.emit("connected")},onNewlyConnected:function(){},onDisconnected:function(){this.emit("disconnected")},onReconnected:function(){this.emit("reconnected")},onFatallyDisconnected:function(){this.emit("fatallyDisconnected")},onNotConnected:function(){this.emit("notConnected")},isStarted:function(){return this._currentState!=="disconnecting"&&this._currentState!=="disconnected"},isConnected:function(){return this._currentState==="connected"},isFatallyDisconnected:function(){return this._currentState==="fatallyDisconnected"},isDisconnected:function(){return this._currentState==="disconnected"},start:function(){},stop:function(){},_enterState:function(r){const o=this._currentState;this._currentState=r,this.logStateChanges&&t.info("MessageService state change: "+o+" -> "+r),o==="connected"&&this.onNotConnected(),r==="connected"&&this._previouslyConnected?this.onReconnected():r==="connected"&&!this._previouslyConnected&&this.onNewlyConnected()},_enterDisconnected:function(){this._previouslyConnected=!1,this._delegate.cleanup(),this.onDisconnected()},_enterConnecting:function(){this._retryCount=0,this._delegate.connect().then(this._connectSuccess,this._connectFailure)},_enterReconnecting:function(){this._retryCount+=1,t.info("Reconnecting message service. Attempt "+this._retryCount,arguments),this._delegate.cleanup(),this._delegate.connect().then(this._connectSuccess,this._connectFailure)},_reconnect:function(){},_connectSuccess:function(){},_connectFailure:function(){},_timeoutAction:function(){this.logStateChanges&&t.info("MessageService timeout:",arguments)},_retryFailure:function(){let r;return this._retryCount>=this._MAX_RETRIES&&(t.error("Message service fatally disconnected."),r="fatallyDisconnected"),r},_enterResubscribing:function(){let r,o;const a=[];this._delegate.doStartBatch();for(r in this.channelSubscriptions)Object.prototype.hasOwnProperty.call(this.channelSubscriptions,r)&&(o=this.channelSubscriptions[r],a.push(this._delegate.doSubscribe(r)),o.subscribed=!0);this._delegate.doEndBatch(),n(a).then(this._resubscribeSuccess,this._resubscribeFailure)},_resubscribeSuccess:function(){},_resubscribeFailure:function(){},_enterConnected:function(){this._delegate.delegateConnected()?(this._retryCount=0,this._previouslyConnected&&t.info("Successfully connected."),this._previouslyConnected=!0,this.onConnected()):this._reconnect()},_enterFatallyDisconnected:function(){this.onFatallyDisconnected()},_enterDisconnecting:function(){this._delegate.disconnect().then(this._disconnectSuccess,this._disconnectFailure)},_disconnectSuccess:function(){},_disconnectFailure:function(){}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(560)],C=l.dj.d(A,function(y,m){return y([],{constructor:function(h){h.stateMachine=this,this.state=new m(h)},start:function(){this.state.enter()},stop:function(){this.state.exit()},_changeState:function(h,d){this.state.enter(h,d)},onEnterState:function(h){},onExitState:function(h){}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(0),l(13),l(561),l(562),l(563),l(564),l(565)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){var o;return o=y([],{constructor:function(a){this.stateMachine=a.stateMachine||{_changeState:function(){},onEnterState:function(){},onExitState:function(){}},this.namespace=a.namespace||"",this.name=a.name||this.getDefaultName(),this.context=a.context||{},this.data=a.data||{},this.composition=a.composition||"XOR",this.defaultSubstate=a.defaultSubstate||"",this.constructSubstates(a.substates),this.constructTriggersAndTransitions(a.transitions),this.active=a.active||!1},getDefaultName:function(){var a,i;return this.namespace.length>0?(a=this.namespace.split("."),i=a.pop()):h.warn("State: state name is not specified."),i||""},constructSubstates:function(a){var i={},u,s;for(u in a)a.hasOwnProperty(u)&&(s=a[u],s.name&&s.name!==u&&h.error("State: error constructing substate: "+u+", the specified names don't match: "+s.name),s.name=u,s.namespace=s.namespace||[this.namespace,this.name].join("."),s.stateMachine=s.stateMachine||this.stateMachine,s.context=s.context||this.context,i[s.name]=new o(s));this.substates=i},constructTriggersAndTransitions:function(a){var i,u={},s=[],c;for(i in a)a.hasOwnProperty(i)&&(c=this.constructTrigger(i),c&&s.push(c),u[i]=this.constructTransition(i,a[i]));this.transitions=u,this.triggers=s},constructTrigger:function(a){var i,u,s;return i=a.split(" "),i.length===2?i[0]==="subscribe"?s=n:i[0]==="response"||i[0]==="fault"?s=e:i[0]==="timeout"&&(s=t):(a!=="onEnterState"||a!=="onExitState")&&(s=d),s&&(u=new s({name:a,context:this.context,triggerHandler:m.hitch(this,this.handleTrigger)})),u},constructTransition:function(a,i){var u,s;return(m.isFunction(i)||m.isString(i)||m.isArray(i))&&(a==="onEnterState"||a==="onExitState"?(u=i,i={},i.action=u,i.target=""):(s=i,i={},i.target=s)),i.state=this,new r(i)},enter:function(a,i){this.active||(this.active=!0,this.enableTriggers(),this.stateMachine.onEnterState(this.name),this.handleTrigger.apply(this,["onEnterState"].concat(i))),a?this.changeSubstates(a,i):this.changeToDefaultSubstate(i)},exit:function(){var a=this.activeSubstates();this.active=!1,this.disableTriggers(),a.forEach(function(i){i.exit()}),this.handleTrigger("onExitState"),this.stateMachine.onExitState(this.name)},enableTriggers:function(){this.triggers.forEach(function(a){a.enable()})},disableTriggers:function(){this.triggers.forEach(function(a){a.disable()})},handleTrigger:function(a){var i,u;this.transitions[a]&&(u=Array.prototype.slice.call(arguments,1,arguments.length),i=this.transitions[a].handleTrigger(a,u),i&&(m.isString(i)||(u=i.args,i=i.target),this.stateMachine._changeState(i,u)))},changeSubstates:function(a,i){var u=this.activeSubstates();this.substates[a]&&(u.length>=0&&u[0].name!==a&&u.forEach(function(s){s.exit()}),this.substates[a].enter(void 0,i))},changeToDefaultSubstate:function(a){this.activeSubstates().length===0&&this.substates[this.defaultSubstate]&&this.substates[this.defaultSubstate].enter(void 0,a)},activeSubstates:function(){var a=[],i;for(i in this.substates)this.substates.hasOwnProperty(i)&&this.substates[i].active&&a.push(this.substates[i]);return a}}),o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(0),l(17),l(13),l(118)],C=l.dj.d(A,function(y,m,h,d,n){return y(n,{constructor:function(){this.connection={}},enable:function(){m.isFunction(this.context[this.name])&&(this.cachedFunction=this.context[this.name]),this.connection=h.after(this.context,this.name,m.hitch(null,this.triggerHandler,this.name),!0)},disable:function(){this.connection.remove(),this.cachedFunction&&(this.context[this.name]=this.cachedFunction)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(0),l(27),l(13),l(118)],C=l.dj.d(A,function(y,m,h,d,n){return y(n,{constructor:function(){var e=this.name.split(" ");(e.length<2||e[0]!=="subscribe")&&d.error("Invalid trigger name for a MessageTrigger. Could not parse out the message name."),this.messageId=e[1]||"",this.subscrition={}},enable:function(){this.subscription=h.subscribe(this.messageId,m.hitch(null,this.triggerHandler,this.name))},disable:function(){this.subscription.remove()}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(0),l(13),l(117),l(118)],C=l.dj.d(A,function(y,m,h,d,n){return y(n,{constructor:function(){var e=this.name.split(" ");(e.length<2||e[0]!=="response"&&e[0]!=="fault")&&h.error("Invalid trigger name for a RemoteTrigger. Could not parse out the type of handler."),(!d.registerResponseHandler||!d.registerFaultHandler)&&h.error("The remote package is not available, this type of trigger will not work."),this.messageId=e[1]||"",this.handlerType=e[0]},enable:function(){this.handlerType==="response"?d.registerResponseHandler(this.messageId,m.hitch(null,this.triggerHandler,this.name)):d.registerFaultHandler(this.messageId,m.hitch(null,this.triggerHandler,this.name))},disable:function(){this.handlerType==="response"?d.deregisterResponseHandler(this.messageId):d.deregisterFaultHandler(this.messageId)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(0),l(13),l(118)],C=l.dj.d(A,function(y,m,h,d){return y(d,{constructor:function(){var n=this.name.split(" ");(n.length<2||n[0]!=="timeout")&&h.error("Invalid trigger name for a TimeoutTrigger. Could not parse out the type of handler."),this.timeoutInSeconds=parseFloat(n[1]),this.handlerType=n[0]},enable:function(){this.disable(),this.timeoutHandle=setTimeout(m.hitch(null,this.triggerHandler,this.name),this.timeoutInSeconds*1e3)},disable:function(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=null)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(0),l(13)],C=l.dj.d(A,function(y,m,h){return y([],{constructor:function(d){this.state={},this.target="",this.condition=null,this.action=null,y.safeMixin(this,d)},handleTrigger:function(d,n){var e="";return this.checkCondition(d,n)&&(this.runAction(d,n),e=this.getTarget(d,this.target,n)),e},checkCondition:function(d,n){if(!this.condition)return!0;var e=m.hitch(this.state.context,this.condition);return e.apply(null,[d,this.state.data].concat(n))},runAction:function(d,n){var e,t=this;this.action&&(e=m.hitch(this.state.context,this.action),e.apply(null,[d,t.state.data].concat(n)))},getTarget:function(d,n,e){var t,r,o,a;if(m.isString(n))r=n;else if(m.isFunction(n))o=m.hitch(this.state.context,n),r=o.apply(null,[d,this.state.data].concat(e));else if(m.isArray(n))for(t=0;t<n.length;t+=1){if(r=this.getTarget(d,n[t],e),m.isString(r)){r={target:r},m.mixin(r,a);break}if(r&&r.target){m.mixin(r,a);break}a=r||{}}else h.warn("Transition: improper target: ",n);return r}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(26),l(17),l(88),l(20),l(263),l(567),l(262),l(168),l(13),l(162)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i){const u=e.Utils.setTimeout,s=e.Utils.clearTimeout;e.JSON.toJSON=d.stringify,e.JSON.fromJSON=d.parse;const c=!1;let f=0,p=0;const v={},g=200;setInterval(function(){f+=g,Object.keys(v).forEach(function(w){const x=v[w];x.execTime<=f&&(x.func(),delete v[w])})},g);const E=function(w,x,R,T,S){const I=new e.LongPollingTransport,B=e.Transport.derive(I);B.xhrSend=function(L){let O;return T.remoteSupportsSendPayload?(L.headers=L.headers||{},L.headers.computeToken=T.computeToken,O=S.sendPayload(L.body,T.endPointName,{headers:L.headers})):O=x.sendMessage(L.body,T.url,{headers:L.headers}),O.then(L.onSuccess,function(W){L.onError(W,W)}),{abort:function(){O.cancel()}}};const P=new e.Cometd(w);return e.Utils.setTimeout=function(L,O,W){if(W===0)return u(L,O,W);{p+=1;const j=`t-${p}`;return v[j]={func:function(){try{O()}catch(K){P._debug("Exception invoking timed function",O,K)}},execTime:f+W},j}},e.Utils.clearTimeout=function(L){typeof L=="number"?s(L):delete v[L]},T.remoteSupportsSendPayload?T.endPointAllowsDirectXhr.then(function(L){L.status!=="ENABLED"&&(e.WebSocket=i.WebSocket,i.WebSocket.proxyClient=x)}):(e.WebSocket=i.WebSocket,i.WebSocket.proxyClient=x),P.registerExtension("ack",new t),R[r.WEBSOCKET]&&P.registerTransport(r.WEBSOCKET,new e.WebSocketTransport,0),P.registerTransport(r.LONG_POLLING,B,1),P},D=function(w,x){w.successful?x.resolve(w):(a.warn("Message failed: ",w),x.reject(w))},F=y([],{BASE_PREFIX:"/matlab",BASE_END_POINT:"messageservice/async",logCometdLifecycle:!1,logCometdSubscriptions:!1,constructor:function(w,x,R,T,S){S=S||{},this.remote=w,this.constructCometD=x||E;const I=o[S.instanceType];I&&(this.BASE_PREFIX=I.BASE_PREFIX,this.BASE_END_POINT=I.BASE_END_POINT),this.cometdProperties=T||{connectTimeout:5e3,maxBackoff:1e4,logLevel:"info",maxNetworkDelay:2e4,appendMessageTypeToURL:!1,autoBatch:!0},this._webSocket={try:!0,connectedAtLeastOnce:!1};const B=["maxNetworkDelay","connectTimeout","logLevel"],P=m.cometdProperties;if(P)for(let O=0;O<B.length;O+=1){const W=B[O];P[W]!==void 0&&(this.cometdProperties[W]=P[W])}this.workerProxyAsyncClient=R||new i("remoteWorkerAsyncProducer");const L=this;h.after(this.workerProxyAsyncClient,"onError",function(O){if(L.cometd){L.logCometdLifecycle&&a.info("MessageServiceAsync disconnecting cometd due to IFrame error."),L.cometd.isDisconnected()||L.doDisconnect().then(()=>{L.onConnectionError(O)},()=>{L.onConnectionError(O)});return}L.onConnectionError(O)},!0),this.subscriptions={},this.recentMessages=[],this._deferredCleanupFunction=()=>{this._deferredCleanup=!1,this.recentMessages=[]}},onMessage:function(w){},onConnectionError:function(){},connect:function(){this.routingHost=F.workerHostOverride||this.remote.getWorkerRoutingHost(),this.routingKey=this.remote.getWorkerRoutingKey(),this.computeToken=this.remote.getComputeSessionId();const w=this.remote.getEndPointByName("WORKER_ASYNC_ENDPOINT");this.withCredentials=w?w.withCredentials:!1;const x=this._setUpEndPoint();this.computeToken&&(x.computeToken=this.computeToken),x.remoteSupportsSendPayload||this.workerProxyAsyncClient.setRemotePageHost(this.routingHost,this.routingKey,this.computeToken,"",{withCredentials:this.withCredentials});const R={};F.enableWebsocket&&this._webSocket.try?R.websocket=!0:(R.websocket=!1,this._webSocket.try=!1);const S=this.constructCometD("messageService",this.workerProxyAsyncClient,R,x,this.remote);this.cometd=S,this.logCometdLifecycle&&a.info("MessageServiceAsync constructing new cometd instance.");const I=this._createOneShotMessagePromise("/meta/handshake");this._createListenerForUnknownClient();const B=this,P=new n;return I.then(function(L){B.logCometdLifecycle&&a.info("MessageServiceAsync cometd handshake successful.",L,S.getClientId(),S),S.isDisconnected()?B.cometd===S?(a.error("MessageServiceAsync cometd handshake successful but still disconnected!"),B.doDisconnect().then(()=>{P.reject(L)},()=>{P.reject(L)})):P.reject(L):(S.getTransport().getType()===r.WEBSOCKET&&(B._webSocket.connectedAtLeastOnce=!0),P.resolve(L))},function(L){if(B.logCometdLifecycle&&a.info("MessageServiceAsync disconnecting cometd due to handshake failure.",L,S.getClientId(),S),S.disconnect(),S.isDisconnected()||console.error("MessageService expects after a failed handshake followed by a disconnect call to be disconnected here."),L.request&&L.request.supportedConnectionTypes){const O=L.request.supportedConnectionTypes;O.length>1&&O[0]===r.WEBSOCKET&&!B._webSocket.connectedAtLeastOnce&&(B._webSocket.try=!1)}P.reject(L)}),this.cometdProperties.url=x.url,S.init(this.cometdProperties),P.promise},disconnect:function(){this.logCometdLifecycle&&a.info("MessageServiceAsync disconnecting cometd due to disconnect call.",this.cometd.getClientId());const w=this._createOneShotMessagePromise("/meta/disconnect");return this.cometd.disconnect(),w},cleanup:function(){this.cometd&&(this.logCometdLifecycle&&a.info("MessageServiceAsync disconnecting cometd due to cleanup call.",this.cometd,this.cometd&&this.cometd.getClientId()),this.cometd.disconnect(),this.cometd=null)},delegateConnected:function(){return this.cometd?!this.cometd.isDisconnected():!1},doPublish:function(w,x){const R=new n;return this.cometd.publish(this._getRequestChannel(w),x,{},function(T){D(T,R)}),R.promise},doSubscribe:function(w){this.logCometdSubscriptions&&a.info("MessageServiceAsync subscribing cometd to channel: "+w);const x=this._createOneShotMessagePromise("/meta/subscribe");return this.subscriptions[w]=this.cometd.subscribe(this._getRequestChannel(w),this,this._handleCometResponse),x},doDisconnect:function(){this.logCometdSubscriptions&&a.info("MessageServiceAsync sending disconnect to cometd");const w=this._createOneShotMessagePromise("/meta/disconnect");return this.cometd.disconnect(!0),w},doUnsubscribe:function(w){if(this.subscriptions[w]){this.logCometdSubscriptions&&a.info("MessageServiceAsync unsubscribing cometd from channel: "+w);const x=this._createOneShotMessagePromise("/meta/unsubscribe");return this.cometd.unsubscribe(this.subscriptions[w]),delete this.subscriptions[w],x}else return new n().resolve({successful:!0})},doStartBatch:function(){this.cometd.startBatch()},doEndBatch:function(){this.cometd.endBatch()},doSetLatency:function(w){this.workerProxyAsyncClient.setLatency(w)},doSetErrorRate:function(w){this.workerProxyAsyncClient.setErrorRate(w)},getTransport:function(){return this.cometd&&!this.cometd.isDisconnected()?this.cometd.getTransport().getType():r.UNKNOWN},_handleCometResponse:function(w){this._shouldHandleMessage(w)&&this.onMessage(this._stripBasePrefixAndConvertToJson(w))},_shouldHandleMessage:function(w){return w.id?!1:this.recentMessages.indexOf(w)<0?(this.recentMessages.push(w),this._deferRecentMessagesCleanup(),!0):!1},_deferRecentMessagesCleanup:function(){this._deferredCleanup||(this._deferredCleanup=setTimeout(this._deferredCleanupFunction,0))},_createOneShotMessagePromise:function(w){const x=new n;return this._addOneShotListener(w,function(R){D(R,x)}),x.promise},_addOneShotListener:function(w,x){const R=this,T=this.cometd,S=this.cometd.addListener(w,function(I){T.removeListener(S),x.apply(R,arguments)})},_createListenerForUnknownClient:function(){const w=this.cometd,x=this;w.addListener("/meta/*",function(R){!R.successful&&R.advice&&R.advice.reconnect==="handshake"&&x.doDisconnect().then(()=>{x.onConnectionError(R.error)},()=>{x.onConnectionError(R.error)})})},_setUpEndPoint:function(){let w,x=!1;const R="MESSAGE_SERVICE_ASYNC_ENDPOINT",T=!0,S=!0;let I;return c&&typeof this.remote.sendPayload=="function"?(x=!0,this.remote.createNewEndPoint(R,T,this.BASE_END_POINT,"remoteWorkerAsyncProducer",S),this.remote.setServiceEndPoint(R,this.routingHost,this.routingKey),w=this.remote.getUrlForEndPoint(R),I=this.remote.getEndPointAllowsDirectXhr(R)):(w=this.routingHost||"/",w.slice(-1)!=="/"&&(w+="/"),w+=this.BASE_END_POINT,this.routingKey&&(w+="?routingkey="+this.routingKey)),{remoteSupportsSendPayload:x,url:w,endPointName:R,endPointAllowsDirectXhr:I}},_getRequestChannel:function(w){return this.BASE_PREFIX+w},_stripBasePrefixAndConvertToJson:function(w){return{channel:w.channel.substring(this.BASE_PREFIX.length),data:w.data}}});return F.enableWebsocket=!1,F.workerHostOverride=!1,window.location.search.indexOf("websocket=on")>=0&&(F.enableWebsocket=!0),F},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(263)],C=l.dj.d(A,function(y){return y.AckExtension=function(){var m,h=!1,d=-1;function n(e,t){m._debug(e,t)}this.registered=function(e,t){m=t,n("AckExtension: executing registration callback")},this.unregistered=function(){n("AckExtension: executing unregistration callback"),m=null},this.incoming=function(e){var t=e.channel;if(t=="/meta/handshake")h=e.ext&&e.ext.ack,n("AckExtension: server supports acks",h);else if(h&&t=="/meta/connect"&&e.successful){var r=e.ext;r&&typeof r.ack=="number"&&(d=r.ack,n("AckExtension: server sent ack id",d))}return e},this.outgoing=function(e){var t=e.channel;return t=="/meta/handshake"?(e.ext||(e.ext={}),e.ext.ack=m&&m.ackEnabled!==!1,d=-1):h&&t=="/meta/connect"&&(e.ext||(e.ext={}),e.ext.ack=d,n("AckExtension: client sending ack id",d)),e}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(168)],C=l.dj.d(A,function(y){const m=/AppServiceHost/i,h=n=>n.serviceName.match(m)!==null,d=(n,e)=>h(e)?n[y.APP_SERVICE_HOST.name]():n[y.MATLAB_SERVICE_HOST.name]();return function(e,t){if(t.serviceName){if(!t.serviceName.length||t.serviceName.length<5)throw new Error("serviceName must be longer than 4 characters")}else throw new Error("Must provide a serviceName");const r=d(e,t),o={};return["subscribe","unsubscribe","publish","isStarted","isConnected","isFatallyDisconnected","isDisconnected","setLatency","setErrorRate","getTransport","on","onConnected","onDisconnected"].forEach(a=>{o[a]=r[a].bind(r)}),o.messageService=r.messageService,o}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(264),l(94)],C=l.dj.d(A,function(y,m,h){return y(null,{constructor:function(d,n){const e={mvmID:n,supportedApiVersions:["r23a0"]},t=new m(d,Promise.resolve("/mvm"));this._attachConnection=new h(t,"attach"),this._detachConnection=new h(t,"detach"),this._attachPromise=this._attachConnection.makeRequest(e).then(function(o){this._apiVersion=o.apiVersion,this._channelPrefix=o.channelPrefix}.bind(this)),this._attachRequestID=e.requestID;const r=new m(d,this.getChannelPrefix());this._stillAliveConnection=new h(r,"connection"),this._stillAliveConnection.subscribe("stillAlive","_stillAlive",this).catch(function(o){this.getChannelPrefix().then(function(){throw o},function(a){if(a!==o)throw o})}.bind(this))},destroy:function(){const d={requestIDtoDetach:this._attachRequestID};this._detachConnection.makeRequest(d).finally(function(){this._attachConnection.destroy(),this._detachConnection.destroy(),this._stillAliveConnection.destroy()}.bind(this))},getAPIVersion:function(){return this._attachPromise.then(function(){return this._apiVersion}.bind(this))},getChannelPrefix:function(){return this._attachPromise.then(function(){return this._channelPrefix}.bind(this))},_stillAlive:function(){}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1)],C=l.dj.d(A,function(y){return y(null,{constructor:function(h,d,n){this._file=h,this._func=d,this._line=n},getFileName:function(){return this._file},getFunctionName:function(){return this._func},getLineNumber:function(){return this._line}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;/*!
|
||
* The outcome of executing some M-code.
|
||
*/A=[],C=l.dj.d(A,function(){var y={};y.inEXECUTION_SUCCESS="inEXECUTION_SUCCESS";/*! < it worked */y.inCOMPILE_ERROR="inCOMPILE_ERROR";/*! < couldn't parse it */y.inRUNTIME_ERROR="inRUNTIME_ERROR";/*! < parsed it, but it bombed when I ran it */y.inEXECUTION_DBQUIT="inEXECUTION_DBQUIT";/*! < dbquit from code */y.inEXECUTION_CTRLC="inEXECUTION_CTRLC";/*! < user interrupted execution */y.inCOMM_ERROR="inCOMM_ERROR";/*! communication error (e.g., connection closed) -- can happen only when
|
||
* using MATLAB as a compute server through an IPC protocol like MIPC */return y.inEXECUTION_STATUS_MAX="inEXECUTION_STATUS_MAX",y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(94)],C=l.dj.d(A,function(y,m){return y(null,{constructor:function(h){this._setGlobalBreakpointConnection=new m(h,"setGlobalBreakpoint"),this._clearGlobalBreakpointConnection=new m(h,"clearGlobalBreakpoint"),this._setLineBreakpointConnection=new m(h,"setLineBreakpoint"),this._clearLineBreakpointConnection=new m(h,"clearLineBreakpoint"),this._clearAllBreakpointsConnection=new m(h,"clearAllBreakpoints"),this._breakInDebuggerConnection=new m(h,"breakInDebugger")},setLineBreakpoint:function(h){const d={breakpoint:h};return this._setLineBreakpointConnection.makeRequest(d)},setGlobalBreakpoint:function(h){const d={breakpoint:h};return this._setGlobalBreakpointConnection.makeRequest(d)},clearLineBreakpoint:function(h){const d={breakpoint:h};return this._clearLineBreakpointConnection.makeRequest(d)},clearGlobalBreakpoint:function(h){const d={breakpoint:h};return this._clearGlobalBreakpointConnection.makeRequest(d)},clearAllBreakpoints:function(){const h={};return this._clearAllBreakpointsConnection.makeRequest(h)},breakInDebugger:function(){const h={};this._breakInDebuggerConnection.makeRequest(h)},destroy:function(){this._setGlobalBreakpointConnection.destroy(),this._clearGlobalBreakpointConnection.destroy(),this._setLineBreakpointConnection.destroy(),this._clearLineBreakpointConnection.destroy(),this._clearAllBreakpointsConnection.destroy(),this._breakInDebuggerConnection.destroy()}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(94),l(574),l(169)],C=l.dj.d(A,function(y,m,h,d){return y(null,{constructor:function(n,e){this._fevalConnection=new m(n,"feval"),this._evalConnection=new m(n,"eval"),this._cancelConnection=new m(n,"cancel"),this._cancelGroupConnection=new m(n,"cancelGroup"),this._interruptConnection=new m(n,"interrupt"),this._textConnection=new m(n,"text"),this._textConnection.subscribe("output","_handleOutput",this).catch(function(t){}),this._textConnection.subscribe("error","_handleError",this).catch(function(t){}),this._eventMgr=e,this._outSinkMap={},this._errSinkMap={}},feval:function(n,e,t,r){if(!this._isFunctionNameValid(n))return this._makeRejectedPromise("Invalid function name.");if(e==null||!(typeof e=="number"||e instanceof Number)||e<0)return this._makeRejectedPromise("Invalid numberOfOutput.");let o=[];if(t!==void 0){if(!Array.isArray(t))return this._makeRejectedPromise("Invalid inputArgs");o=t.map(function(i){return JSON.stringify(i)})}const a={function:n,rhsArgs:o,numOutputsExpected:e};return this._commonEvalFevalImpl(r,a,this._fevalConnection)},eval:function(n,e,t){if(!this._isFunctionNameValid(n))return this._makeRejectedPromise("Invalid function name.");const r={command:n,isUserEval:t};return this._commonEvalFevalImpl(e,r,this._evalConnection)},cancelGroup:function(n,e){const t={requestGroupNametoCancel:n};return e!==void 0&&(t.interrupt=e),this._cancelGroupConnection.makeRequest(t)},interrupt:function(){const n={};return this._interruptConnection.makeRequest(n)},_getOutSink:function(n){if(n in this._outSinkMap)return this._outSinkMap[n]},_getErrSink:function(n){if(n in this._errSinkMap)return this._errSinkMap[n]},_makeRejectedPromise:function(n){const e=h.makeControlObject(),t=new h(e);return e.reject(new d("inCOMPILE_ERROR",n,1)),t},destroy:function(){this._fevalConnection.destroy(),this._evalConnection.destroy(),this._textConnection.destroy();const n=!1;this._cancelConnection.destroy(n),this._cancelGroupConnection.destroy(n);const e=!1;this._interruptConnection.destroy(e)},_commonEvalFevalImpl:function(n,e,t){const r=h.makeControlObject();let o;const a=new h(r,function(c){return o?this._makeCancelRequest(o,c):Promise.reject(new d("inCOMM_ERROR","missing requestID"))}.bind(this));let i,u;if(n){if(u=n._serializeAndVerifyRunOptions(),u.error)return r.reject(new d("inCOMPILE_ERROR",u.error,1)),a;u.runOptions.eventConnections=this._prepareRunOptionEvents(n,a),i=n.getTimeOut()}e.runOptions=u?u.runOptions:void 0;const s=t.makeRequest(e,i,this._makeCancelRequest.bind(this));return o=e.requestID,n&&(this._outSinkMap[o]=n.getOutTextCallback(),this._errSinkMap[o]=n.getErrTextCallback()),s.then(function(c){c&&c.result?r.resolve(c.result):r.resolve()},function(c){r.reject(c)}).finally(function(){o in this._outSinkMap&&delete this._outSinkMap[o],o in this._errSinkMap&&delete this._errSinkMap[o]}.bind(this)),a},_handleOutput:function(n){const e=n.data,t=this._getOutSink(e.requestID);t&&t(e.text)},_handleError:function(n){const e=n.data,t=this._getErrSink(e.requestID);t&&t(e.text)},_makeCancelRequest:function(n,e){if(n===void 0)return this._makeRejectedPromise("Empty requestIDtoCancel");const t={requestIDtoCancel:n};return e!==void 0&&(t.interrupt=e),this._cancelConnection.makeRequest(t)},_prepareRunOptionEvents:function(n,e){const t=n.getEventCallbacks(),r={};return t!==void 0&&Object.keys(t).forEach(function(o){const a=t[o],i=function(s){Promise.resolve().then(function(){}).then(function(){a(s)})},u=this._eventMgr._runOptionsSubscribe(o,i);r[u._uId]=o,e.catch(function(){}).finally(function(){u.destroy()})}.bind(this)),r},_isFunctionNameValid:function(n){return n!=null&&(typeof n=="string"||n instanceof String)}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return class extends Promise{static makeControlObject(){return{resolve:void 0,reject:void 0}}constructor(m,h){super(function(d,n){m.resolve=d,m.reject=n});this._cancel=h,this._cancel===void 0&&(this.cancel=void 0)}cancel(m){return m===void 0&&(m=!1),this._cancel(m)}static get[Symbol.species](){return Promise}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(576),l(94),l(13),l(67)],C=l.dj.d(A,function(y,m,h,d,n){return y(null,{constructor:function(e){this._subscribeConnection=new h(e,"subscribeEvent"),this._disconnectConnection=new h(e,"disconnectEvent"),this._eventConnection=new h(e,"event"),this._eventConnection.subscribe("fireEvent","_handleEvent",this).catch(function(t){e.onChannelPrefix().then(function(){throw t},function(r){if(r!==t)throw t})}),this._callbackMap={}},subscribe:function(e,t){if(e===void 0)return new m(Promise.reject(new Error("eventName is not defined")),"invalid",this);const r={eventName:e},o=this._subscribeConnection.makeRequest(r);return this._subscribeHelper(r.requestID,t,o)},destroy:function(){for(const t in this._callbackMap)this._disconnect(t);this._eventConnection.destroy(),this._subscribeConnection.destroy();const e=!1;this._disconnectConnection.destroy(e)},_disconnect:function(e){if(!this._isConnected(e))return Promise.resolve();this._callbackMap[e]=function(){};const t={requestIDtoDisconnect:e};return this._disconnectConnection.makeRequest(t).then(function(){delete this._callbackMap[e]}.bind(this),function(o){throw delete this._callbackMap[e],o}.bind(this))},_runOptionsSubscribe:function(e,t){const r=n.generateUuid();return this._subscribeHelper(r,t,Promise.resolve())},_subscribeHelper:function(e,t,r){return this._callbackMap[e]=t,new m(r,e,this)},_handleEvent:function(e){const t=e.data;if(!this._isConnected(t.requestID))return;this._callbackMap[t.requestID](t.eventData)},_isConnected:function(e){return e in this._callbackMap}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1)],C=l.dj.d(A,function(y){return y(null,{constructor:function(m,h,d){this._subscriptionPromise=m,this._subscriptionPromise.catch(function(){}),this._uId=h,this._eventMgr=d},destroy:function(){this.disconnect()},isValid:function(){return this._eventMgr._isConnected(this._uId)?this._subscriptionPromise:Promise.reject("Disconnected")},disconnect:function(){return this._eventMgr._disconnect(this._uId)}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(94)],C=l.dj.d(A,function(y){return class{constructor(h){this._mvmSinkConnection=new y(h,"mvmSinks"),this._mvmSinkConnection.subscribe("output","_handleOutput",this).catch(function(d){h.onChannelPrefix().then(function(){throw d},function(n){if(n!==d)throw d})})}setSinks(h,d,n,e){this._outCallback=h,this._errCallback=d;const t={outSinkTraits:n,errSinkTraits:e};return this._mvmSinkConnection.makeRequest(t)}destroy(){this._mvmSinkConnection.destroy()}_handleOutput(h){const d=h.data;switch(d.stream){case 0:typeof this._outCallback=="function"&&this._outCallback(d.text);break;case 1:typeof this._errCallback=="function"&&this._errCallback(d.text);break;default:}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(20),l(13),l(93),l(67)],C=l.dj.d(A,function(y,m,h,d,n){return y(null,{_channels:{ADDCB:"/fctrl/addcb",ADDCB_RESPONSE:"/fctrl/response/addcb",RMCB:"/fctrl/rmcb",RMCB_RESPONSE:"/fctrl/response/rmcb",SET:"/fctrl/set",SET_RESPONSE:"/fctrl/response/set"},constructor:function(e=""){d.isStarted()||d.start(),this._mvmID=e,this._uuid=n.generateUuid(),this._counter=0,this._cache={},this._responses={},d.subscribe(this._channels.ADDCB_RESPONSE,"_fctrlCbResponse",this),d.subscribe(this._channels.SET_RESPONSE,"_fctrlSetResponse",this)},destroy:function(){Object.values(this._cache).forEach(e=>{e.destroy()})},getFeature:function(e){const t=new m,r=this._getCache(e),o=this;return r.deferred.then(function(a){t.resolve(o._clone(r.current.value))},function(a){t.reject(o._clone(a.error))}),t},setFeature:function(e,t){const r=new m,o=this._getCache(e),a=this._nextid(),i={id:a,mvm:this._mvmID,name:e,value:t},u=this;return o.deferred.then(function(s){u._responses[a]=function(c){Object.prototype.hasOwnProperty.call(c.data,"error")?r.reject(c.data):r.resolve(c.data)},h.info("assigning feature: "+e+" = "+t),d.publish(u._channels.SET,i)},function(s){r.reject(u._clone(s.error))}),r},addCallback:function(e,t){const r=this._nextid(),o=new m,a=this,i=this._getCache(e);i.deferred.then(function(s){const c=function(){const f={name:a._clone(e),value:a._clone(i.current.value)};t(f)};i.callbacks[r]=c,c()},function(s){o.reject(a._clone(s.error))});const u=y(null,{constructor:function(s){this._func=s},destroy:function(){this._func()},disconnect:function(){const s=this._func;this._func=function(){},s()}});return new u(function(){delete i.callbacks[r]})},_nextid:function(){return++this._counter,JSON.stringify({uuid:this._uuid,counter:this._counter})},_getCache:function(e){if(!Object.prototype.hasOwnProperty.call(this._cache,e)){h.info("accessing feature: "+e);const t=this._nextid(),r=new m,o=this,a={id:t,name:e,mvm:this._mvmID},i={deferred:r,current:void 0,callbacks:{},destroy:function(){d.publish(o._channels.RMCB,a)}};this._cache[e]=i,this._responses[t]=function(u){i.current=u.data,h.info(u.data),h.assert(Object.prototype.hasOwnProperty.call(u.data,"value")||Object.prototype.hasOwnProperty.call(u.data,"error"),"msg.data: "+JSON.stringify(u.data)),r.isFulfilled()||(Object.prototype.hasOwnProperty.call(u.data,"error")?r.reject(u.data):r.resolve(i)),Object.prototype.hasOwnProperty.call(i.current,"value")&&Object.values(i.callbacks).forEach(c=>{c()})},d.publish(this._channels.ADDCB,a)}return this._cache[e]},_fctrlCbResponse:function(e){const t=e.data.id;Object.prototype.hasOwnProperty.call(this._responses,t)&&this._responses[t](e)},_fctrlSetResponse:function(e){const t=e.data.id;if(Object.prototype.hasOwnProperty.call(this._responses,t)){const r=this._responses[t];delete this._responses[t],r(e)}},_clone:function(e){if(e==null||typeof e!="object")return e;{const t={};return Object.entries(e).forEach(r=>{const[o,a]=r;t[o]=this._clone(a)}),t}}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(170)],C=l.dj.d(A,function(y){return class{constructor(h){this._mvm=h}_fevalHelper(h,d){const n=new y({queueName:"SingleKeyPress"});return d&&n.setGroupNames(d),this._mvm.feval(h,0,[],n)}nextPage(h){return this._fevalHelper("matlab.internal.singlekeypress.more.nextpage",h)}nextLine(h){return this._fevalHelper("matlab.internal.singlekeypress.more.nextline",h)}quit(h){return this._fevalHelper("matlab.internal.singlekeypress.more.quit",h)}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(581)],C=l.dj.d(A,function(y){return{capabilityFullList:[y.InteractiveCommandLine,y.Swing,y.ComplexSwing,y.LocalClient,y.WebWindow,y.ModalDialogs,y.Debugging],getFullCapabilitiesList:function(){return this.capabilityFullList.slice()},getCapabilitiesListDiff:function(h,d){var n=h.filter(function(e){return d.indexOf(e)<0});return n}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){var y={};return y.InteractiveCommandLine="InteractiveCommandLine",y.Swing="Swing",y.ComplexSwing="ComplexSwing",y.LocalClient="LocalClient",y.WebWindow="WebWindow",y.ModalDialogs="ModalDialogs",y.Debugging="Debugging",y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){let y={};return y.DEQUEUE_AT_PPE="DEQUEUE_AT_PPE",y.DEQUEUE_AT_PAUSE="DEQUEUE_AT_PAUSE",y.DEQUEUE_AT_PROMPT="DEQUEUE_AT_PROMPT",y.DEQUEUE_AT_NON_DEBUG_PROMPT="DEQUEUE_AT_NON_DEBUG_PROMPT",y.DEQUEUE_AT_DEBUG_PROMPT="DEQUEUE_AT_DEBUG_PROMPT",y.DEQUEUE_AT_IDLE="DEQUEUE_AT_IDLE",y.DEQUEUE_AT_BOOTSTRAP="DEQUEUE_AT_BOOTSTRAP",y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(170)],C=l.dj.d(A,function(y){return class{constructor(h){this._mvm=h}resume(){return this._mvm.feval("matlab.internal.singlekeypress.pause.resume",0,[],new y({queueName:"SingleKeyPress"}))}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(170)],C=l.dj.d(A,function(y){return class{constructor(h){this._mvm=h}process(h){return this._mvm.feval("matlab.internal.singlekeypress.bang.process",0,[h],new y({queueName:"SingleKeyPress"}))}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(10),l(11),l(14),l(4),l(54),l(36),l(56),l(265),l(119),l(37),l(50),l(41),l(38)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s){const c={fcn:i.getString("SimulinkCoderApp:report:Type_Function"),var:i.getString("SimulinkCoderApp:report:Type_Variable"),type:i.getString("SimulinkCoderApp:report:Type_Type"),cls:i.getString("SimulinkCoderApp:report:Type_Class")};return function(F,w){const x=document.getElementById("ToolTip"),R=f(w,F.data);if(!R)return;if(x.referenceNode!==w){const{observer:S}=o.observeElementInDom(x.referenceNode);x._referenceObserver=S,x.referenceNode=w,x.open||setTimeout(()=>{x.show()},500)}x.content=R,F.config.cmOn?m.add(R,"show-code-metrics"):m.remove(R,"show-code-metrics"),F.config.cpOn?m.add(R,"show-code-profiling"):m.remove(R,"show-code-profiling")};function f(F,w){let x=null;const R=p(F,w);let T=null,S=null;window.cr.traceConfig.tokenLevelTrace&&(T=v(F,w),S=g(F,w));const I=E(F,w),B=D(F,w),P=[R,T,S,I,B].filter(function(L){return L});return P.length>0&&(x=y.create("div",{class:"content"}),P.forEach(function(L){y.place(L,x)})),x}function p(F,w){const x=F.id,R=w.records.get(x);if(!R)return;const T=R.define;if(!T)return;const S=y.create("div",{class:"section definition"});y.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:Definition")},S);const I=y.create("div",{class:"title"},S),B=window.cr,P=c[T.def],L=T.file,O=T.line,W=B.data.files.get(L),j=W.codeList[O-1];if(I.innerHTML='<span class="type">'+P+"</span> "+i.getString("SimulinkCoderApp:report:DefinedIn")+' <span class="file">'+L+"</span>",T!==R){const K=y.create("div",{class:"body code-ref"},S);y.create("span",{class:"line",innerHTML:O},K),W.lang.createNodes(j.tokens).forEach(V=>K.appendChild(V)),y.create("div",{class:"overlay",onclick:function(V){V.stopPropagation(),B.show(L,O,!0)}},K)}return S}function v(F,w){const x=w.records.get(F.id);if(!x)return;const R=x.sid;if(!R||R.size===0)return;const T=[...R].map(function(B){return w.blocks.queryBySid(B)}).filter(function(B){return B});if(T.length===0)return;const S=y.create("div",{class:"section model-elements"});y.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:ModelElements")},S);const I=y.create("div",{class:"body"},S);return T.forEach(function(B){const P=a.createUnit({type:"blk",text:B.blk});P.setAttribute("sid",B.sid),P.onclick=function(L){L.stopPropagation();const W=L.target.getAttribute("sid");u.publish({action:"blk2mdl",sids:[W]})},y.place(P,I)}),S}function g(F,w){const x=F.id,R=w.records.get(x);if(!R)return;const T=R.customTrace;if(!T||T.size===0)return;const S=T.get("StorageClass"),I=T.get("ModelElemCategory");if(!S||!I)return;const B=y.create("div",{class:"section customization"});y.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:Customization")},B);const P=T.get("StorageClassSource")||"ModelDefault",L=i.getString("SimulinkCoderApp:report:"+P);let O;P==="Individual"?O=T.get("ModelDataSource"):O=i.getString("coderdictionary:mapping:"+I)||I,y.create("div",{class:"title",textContent:L},B);const W=y.create("div",{class:"body storage-class",category:I},B);return y.create("span",{class:"category-name",textContent:O+": "},W),y.create("span",{class:"storage-class-name",textContent:S},W),W.onclick=function(j){j.stopPropagation(),u.publish({action:"code2mapping",id:x,userData:T})},B}function E(F,w){const x=w.cm;if(!x)return;const R=F.getAttribute("token"),T=w.define.get(R);if(!T||T.type!=="fcn"&&T.type!=="var")return;const S=y.create("div",{class:"section code-metrics"});y.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:CodeMetrics")},S);const I=y.create("div",{class:"body"},S);if(T.type==="fcn"){const P=w.currentFile+":"+R,L=x.fcn;let O=L.get(P);if(O||(O=L.get(R)),O){const W='<span class="cm-num">'+O.Stack+"</span>",j=i.getString("SimulinkCoderApp:report:CodeMetrics_Stack"),K=t.substitute(j,[W]);let H;if(O.StackTotal===-1)H=i.getString("SimulinkCoderApp:report:CodeMetrics_TotalStackRecursion");else{const V='<span class="cm-num">'+O.StackTotal+"</span>",$=i.getString("SimulinkCoderApp:report:CodeMetrics_TotalStack");H=t.substitute($,[V])}return I.innerHTML=K+", "+H,S}}else if(T.type==="var"){const P=x.var.get(R);if(P){const L='<span class="cm-num">'+P.Size+"</span>",O=i.getString("SimulinkCoderApp:report:CodeMetrics_Size");return I.innerHTML=t.substitute(O,[L]),S}}}function D(F,w){if(!w.profiling)return;const R=w.profiling.proInfo,T=F.getAttribute("token"),S=R.find(function(ke){if(ke.FileNames[0]===w.currentFile){if(ke.CodeSectionName===T)return ke;if(ke.CodeSectionName!==T&&ke.LineNumbers[0].includes(parseInt(F.id.split(":")[1].split("c")[0])))return ke}});if(!S||S.FileNames[0]!==w.currentFile)return;const I=w.profiling.UnitOfTime,B=w.profiling.TimerTicksPerSecond,P=F.getElementsByTagName("c"),L=parseInt(P[0].getAttribute("ln")),O=S.LineNumbers[0],W=O.length,j=O[0],K=O[W-1];if(!(L>=j&&L<=K))return;const V=y.create("div",{class:"section code-profiling"});y.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:CodeProfiling")},V);const $=y.create("div",{class:"body"},V),G=S.MaximumExecutionTimeInTicks/B,Q=G<1||G>99999?G.toExponential(2):G,J='<table class="cp-table"><tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:MaximumExecutionTime")+"</td>",Y='<td class="cp-td"><span class="cp-num">'+Q+"</span></td></tr>",X=S.TotalExecutionTimeInTicks/S.NumCalls/B,Z=X<1||X>99999?X.toExponential(2):X.toFixed(0),q='<tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:AverageExecutionTime")+"</td>",ee='<td class="cp-td"><span class="cp-num">'+Z+"</span></td></tr>",re=S.MaximumSelfTimeInTicks/B,he=re<1||re>99999?re.toExponential(2):re,me='<tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:MaximumSelfTime")+"</td>",se=' <td class="cp-td"><span class="cp-num">'+he+"</span></td></tr>",te=S.TotalSelfTimeInTicks/S.NumCalls/B,oe=te<1||te>99999?te.toExponential(2):te.toFixed(0),ue='<tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:AverageSelfTime")+"</td>",ce='<td class="cp-td"><span class="cp-num">'+oe+"</span></td></tr>",ve='<tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:NumberOfCalls")+"</td>",Se='<td class="cp-td"><span class="cp-num">'+S.NumCalls+"</span></td></tr>",Be=i.getString("SimulinkCoderApp:report:UnitOfTime");if(s.features.showProfilingInfo){const ke='<tr class="cp-tr"><td class="cp-td">Statistics</td>';let Ge='<td class="cp-td icons">';S.Statistics.Data[0]&&S.Statistics.Data[1]&&(Ge+=`<span class="cp-num">
|
||
<a href="matlab:${S.Statistics.Data[0]}" title="${S.Statistics.Data[1].trim()}">
|
||
<img src="/toolbox/coder/profile/resources/membrane_16.png" class="icon" role="button" />
|
||
</a>
|
||
</span>`),S.Statistics.Histogram[0]&&S.Statistics.Histogram[1]&&(Ge+=`<span class="cp-num">
|
||
<a href="matlab:${S.Statistics.Histogram[0]}" title="${S.Statistics.Histogram[1].trim()}">
|
||
<img src="/toolbox/coder/profile/resources/histogram_16.png" class="icon" role="button" />
|
||
</a>
|
||
</span>`),S.Statistics.SDIPlot[0]&&S.Statistics.SDIPlot[1]&&(Ge+=`<span class="cp-num">
|
||
<a href="matlab:${S.Statistics.SDIPlot[0]}" title="${S.Statistics.SDIPlot[1].trim()}">
|
||
<img src="/toolbox/coder/profile/resources/SimulationDataInspector_16.png" class="icon" role="button" />
|
||
</a>
|
||
</span>`),S.Statistics.PieChart[0]&&S.Statistics.PieChart[1]&&(Ge+=`<span class="cp-num">
|
||
<a href="matlab:${S.Statistics.PieChart[0]}" title="${S.Statistics.PieChart[1].trim()}">
|
||
<img src="/toolbox/coder/profile/resources/pie_16.png" class="icon" role="button" />
|
||
</a>
|
||
</span>`),Ge+=`</td>
|
||
</tr>
|
||
</table>`,$.innerHTML=J+Y+q+ee+me+se+ue+ce+ve+Se+ke+Ge+Be+" "+I}else $.innerHTML=J+Y+q+ee+me+se+ue+ce+ve+Se+Be+" "+I;return V}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(148)],C=l.dj.d(A,function(y){"use strict";return y.html},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(588),l(267),l(268),l(95),l(171),l(172)],C=l.dj.d(A,function(y,m,h,d,n,e){"use strict";class t{constructor(){this._currentPopout=null,this._currentReferenceNode=null,this._handleTab=this._handleTab.bind(this)}_handleTab(o){if(o.keyCode===n.TAB&&!o.shiftKey){let a=m.get(o.target);if(a){let i=y.getKeyboardFocusableElements(a);o.preventDefault(),y.trapFocus(a,i),this._currentPopout=a,y.isFocusInsidePopout(a)&&h.set(d.FOCUS_WITHIN,a)}}}set(o,a,i){if(i===e.HOVER){let u=y.getKeyboardFocusableElements(a),s=document.activeElement;y.trapFocus(a,u,s),this._currentPopout=a,y.isFocusInsidePopout(a)&&h.set(d.FOCUS_WITHIN,a)}else o.addEventListener("keydown",this._handleTab);document.activeElement===o&&(this._currentPopout=a,this._currentReferenceNode=o)}remove(o,a){o.removeEventListener("keydown",this._handleTab),a||m.get(o)===this._currentPopout&&o.focus()}handle(o){h.has(d.FOCUS_WITHIN,o)&&(y.freeFocus(o),h.clear(d.FOCUS_WITHIN))}}return new t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(171),l(589)],C=l.dj.d(A,function(y,m){"use strict";let h=null;class d{static getKeyboardFocusableElements(e=document){return[...e.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter(t=>!t.hasAttribute("disabled"))}static isFocusInsidePopout(e){let t=document.activeElement;return e===t||e.contains(t)}static trapFocus(e,t,r){let o=t[0],a=t[t.length-1];if((!r||o===a)&&(e.firstElementChild.setAttribute(m.FOCUSED,""),e.setAttribute(m.FOCUSED,""),o.focus()),r&&document.activeElement===o&&(e.firstElementChild.setAttribute(m.FOCUSED,""),e.setAttribute(m.FOCUSED,"")),h)return;let i;t[1]&&(i=t[1]),h=d.keydownHandler.bind(this,{firstFocusableEl:o,popout:e,lastFocusableEl:a,secondFocusableEl:i}),e.firstElementChild.addEventListener("keydown",h)}static keydownHandler(e,t){let{popout:r,firstFocusableEl:o,secondFocusableEl:a,lastFocusableEl:i}=e;var u=t.keyCode===y.TAB||t.key==="Tab";!u||(t.shiftKey?(r.firstElementChild.removeAttribute(m.FOCUSED,""),r.removeAttribute(m.FOCUSED,""),a&&document.activeElement===a?(r.firstElementChild.setAttribute(m.FOCUSED,""),r.setAttribute(m.FOCUSED,""),o.focus(),t.preventDefault()):o&&document.activeElement===o&&(i.focus(),t.preventDefault()),o===i&&(o.focus(),r.firstElementChild.setAttribute(m.FOCUSED,""),r.setAttribute(m.FOCUSED,""))):(r.firstElementChild.removeAttribute(m.FOCUSED,""),r.removeAttribute(m.FOCUSED,""),document.activeElement===i&&(o&&(o.focus(),r.firstElementChild.setAttribute(m.FOCUSED,""),r.setAttribute(m.FOCUSED,"")),t.preventDefault())))}static freeFocus(e){e.referenceNode.focus(),e.firstElementChild.removeAttribute(m.FOCUSED),e.removeAttribute(m.FOCUSED,""),e.firstElementChild.removeEventListener("keydown",h),h=null}}return d},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({FOCUSED:"mwPopoutFocused"})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({ID_STANDARD:"mw-popout-sr-helper-standard",ID_ERROR:"mw-popout-sr-helper-error",ID_WARNING:"mw-popout-sr-helper-warning",ID_INFO:"mw-popout-sr-helper-info",ID_SUCCESS:"mw-popout-sr-helper-success",CLASSNAME:"mw-popout-sr-helper",TEXT:"has popup"})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowRight:"ArrowRight",ArrowLeft:"ArrowLeft",PageUp:"PageUp",PageDown:"PageDown",ScrollJump:43})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(270)],C=l.dj.d(A,function(y){let m;class h{constructor(){this.themeClass={light:"mw-theme-light",dark:"mw-theme-dark"},this.themeName={"mw-theme-light":y.LIGHT,"mw-theme-dark":y.DARK},this.windowMediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this._mediaQueryEventHandler=this._mediaQueryEventHandler.bind(this)}set useSystemMode(e){e?this._setThemeBySystemMode():this._removeSystemMode()}set useSettings(e){e&&(m=e,m.getSetting(["matlab","appearance"],"MATLABTheme").then(t=>{this._settingsValueHandler(t.value)}),m.listenTo(["matlab","appearance"],"MATLABTheme",t=>{this._settingsValueHandler(t.newValue)}))}_settingsValueHandler(e){let t;switch(e){case"System":this.useSystemMode=!0;break;case"Light":this.useSystemMode=!1,t=this.getTheme(),this.setTheme(y.LIGHT),this._emitEvent(t,y.LIGHT);break;case"Dark":this.useSystemMode=!1,t=this.getTheme(),this.setTheme(y.DARK),this._emitEvent(t,y.DARK);break}}_setThemeBySystemMode(){let e=this.getTheme();this.windowMediaQuery.matches?(this.setTheme(y.DARK),this._emitEvent(e,y.DARK)):(this.setTheme(y.LIGHT),this._emitEvent(e,y.LIGHT)),this.windowMediaQuery&&this.windowMediaQuery.addEventListener("change",this._mediaQueryEventHandler)}_removeSystemMode(){this.windowMediaQuery.removeEventListener("change",this._mediaQueryEventHandler)}_mediaQueryEventHandler(e){let t=this.getTheme();e.matches?(this.setTheme(y.DARK),this._emitEvent(t,y.DARK)):(this.setTheme(y.LIGHT),this._emitEvent(t,y.LIGHT))}_emitEvent(e,t){let r={oldTheme:e,newTheme:t},o=new CustomEvent("themechanged",{detail:r});if(document.body.dispatchEvent(o),m){const a=t.charAt(0).toUpperCase()+t.slice(1);m.setSetting(["matlab","appearance"],"CurrentTheme",a)}}setTheme(e,t){if(Object.keys(this.themeClass).includes(e)){let r=t||document.getElementsByTagName("body")[0];if(r&&r instanceof HTMLElement){for(let o in this.themeClass)r.classList.contains(this.themeClass[o])&&r.classList.remove(this.themeClass[o]);r.style.colorScheme=e,r.classList.add(this.themeClass[e])}}else throw new Error("The requested theme is not supported")}getTheme(e){let t=e||document.getElementsByTagName("body")[0];return window.getComputedStyle(t).getPropertyValue("--mw-themeName").trim()}}var d=new h;return Object.freeze(d),d},_,M),_.exports=C},function(_,M,l){var A,C;A=[M],C=l.dj.d(A,function(y){"use strict";function m(pe){var fe=pe.getBoundingClientRect();return{width:fe.width,height:fe.height,top:fe.top,right:fe.right,bottom:fe.bottom,left:fe.left,x:fe.left,y:fe.top}}function h(pe){if(pe==null)return window;if(pe.toString()!=="[object Window]"){var fe=pe.ownerDocument;return fe&&fe.defaultView||window}return pe}function d(pe){var fe=h(pe),Ee=fe.pageXOffset,Re=fe.pageYOffset;return{scrollLeft:Ee,scrollTop:Re}}function n(pe){var fe=h(pe).Element;return pe instanceof fe||pe instanceof Element}function e(pe){var fe=h(pe).HTMLElement;return pe instanceof fe||pe instanceof HTMLElement}function t(pe){if(typeof ShadowRoot=="undefined")return!1;var fe=h(pe).ShadowRoot;return pe instanceof fe||pe instanceof ShadowRoot}function r(pe){return{scrollLeft:pe.scrollLeft,scrollTop:pe.scrollTop}}function o(pe){return pe===h(pe)||!e(pe)?d(pe):r(pe)}function a(pe){return pe?(pe.nodeName||"").toLowerCase():null}function i(pe){return((n(pe)?pe.ownerDocument:pe.document)||window.document).documentElement}function u(pe){return m(i(pe)).left+d(pe).scrollLeft}function s(pe){return h(pe).getComputedStyle(pe)}function c(pe){var fe=s(pe),Ee=fe.overflow,Re=fe.overflowX,Ie=fe.overflowY;return/auto|scroll|overlay|hidden/.test(Ee+Ie+Re)}function f(pe,fe,Ee){Ee===void 0&&(Ee=!1);var Re=i(fe),Ie=m(pe),je=e(fe),Ke={scrollLeft:0,scrollTop:0},Le={x:0,y:0};return(je||!je&&!Ee)&&((a(fe)!=="body"||c(Re))&&(Ke=o(fe)),e(fe)?(Le=m(fe),Le.x+=fe.clientLeft,Le.y+=fe.clientTop):Re&&(Le.x=u(Re))),{x:Ie.left+Ke.scrollLeft-Le.x,y:Ie.top+Ke.scrollTop-Le.y,width:Ie.width,height:Ie.height}}function p(pe){var fe=m(pe),Ee=pe.offsetWidth,Re=pe.offsetHeight;return Math.abs(fe.width-Ee)<=1&&(Ee=fe.width),Math.abs(fe.height-Re)<=1&&(Re=fe.height),{x:pe.offsetLeft,y:pe.offsetTop,width:Ee,height:Re}}function v(pe){return a(pe)==="html"?pe:pe.assignedSlot||pe.parentNode||(t(pe)?pe.host:null)||i(pe)}function g(pe){return["html","body","#document"].indexOf(a(pe))>=0?pe.ownerDocument.body:e(pe)&&c(pe)?pe:g(v(pe))}function E(pe,fe){var Ee;fe===void 0&&(fe=[]);var Re=g(pe),Ie=Re===((Ee=pe.ownerDocument)==null?void 0:Ee.body),je=h(Re),Ke=Ie?[je].concat(je.visualViewport||[],c(Re)?Re:[]):Re,Le=fe.concat(Ke);return Ie?Le:Le.concat(E(v(Ke)))}function D(pe){return["table","td","th"].indexOf(a(pe))>=0}function F(pe){return!e(pe)||s(pe).position==="fixed"?null:pe.offsetParent}function w(pe){for(var fe=navigator.userAgent.toLowerCase().includes("firefox"),Ee=v(pe);e(Ee)&&["html","body"].indexOf(a(Ee))<0;){var Re=s(Ee);if(Re.transform!=="none"||Re.perspective!=="none"||Re.contain==="paint"||["transform","perspective"].includes(Re.willChange)||fe&&Re.willChange==="filter"||fe&&Re.filter&&Re.filter!=="none")return Ee;Ee=Ee.parentNode}return null}function x(pe){for(var fe=h(pe),Ee=F(pe);Ee&&D(Ee)&&s(Ee).position==="static";)Ee=F(Ee);return Ee&&(a(Ee)==="html"||a(Ee)==="body"&&s(Ee).position==="static")?fe:Ee||w(pe)||fe}var R="top",T="bottom",S="right",I="left",B="auto",P=[R,T,S,I],L="start",O="end",W="clippingParents",j="viewport",K="popper",H="reference",V=P.reduce(function(pe,fe){return pe.concat([fe+"-"+L,fe+"-"+O])},[]),$=[].concat(P,[B]).reduce(function(pe,fe){return pe.concat([fe,fe+"-"+L,fe+"-"+O])},[]),G="beforeRead",Q="read",J="afterRead",Y="beforeMain",X="main",Z="afterMain",q="beforeWrite",ee="write",re="afterWrite",he=[G,Q,J,Y,X,Z,q,ee,re];function me(pe){var fe=new Map,Ee=new Set,Re=[];pe.forEach(function(je){fe.set(je.name,je)});function Ie(je){Ee.add(je.name);var Ke=[].concat(je.requires||[],je.requiresIfExists||[]);Ke.forEach(function(Le){if(!Ee.has(Le)){var ze=fe.get(Le);ze&&Ie(ze)}}),Re.push(je)}return pe.forEach(function(je){Ee.has(je.name)||Ie(je)}),Re}function se(pe){var fe=me(pe);return he.reduce(function(Ee,Re){return Ee.concat(fe.filter(function(Ie){return Ie.phase===Re}))},[])}function te(pe){var fe;return function(){return fe||(fe=new Promise(function(Ee){Promise.resolve().then(function(){fe=void 0,Ee(pe())})})),fe}}function oe(pe){return pe.split("-")[0]}function ue(pe){var fe=pe.reduce(function(Ee,Re){var Ie=Ee[Re.name];return Ee[Re.name]=Ie?Object.assign({},Ie,Re,{options:Object.assign({},Ie.options,Re.options),data:Object.assign({},Ie.data,Re.data)}):Re,Ee},{});return Object.keys(fe).map(function(Ee){return fe[Ee]})}function ce(pe){var fe=h(pe),Ee=i(pe),Re=fe.visualViewport,Ie=Ee.clientWidth,je=Ee.clientHeight,Ke=0,Le=0;return Re&&(Ie=Re.width,je=Re.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(Ke=Re.offsetLeft,Le=Re.offsetTop)),{width:Ie,height:je,x:Ke+u(pe),y:Le}}var ve=Math.max,Se=Math.min,Be=Math.round;function ke(pe){var fe,Ee=i(pe),Re=d(pe),Ie=(fe=pe.ownerDocument)==null?void 0:fe.body,je=ve(Ee.scrollWidth,Ee.clientWidth,Ie?Ie.scrollWidth:0,Ie?Ie.clientWidth:0),Ke=ve(Ee.scrollHeight,Ee.clientHeight,Ie?Ie.scrollHeight:0,Ie?Ie.clientHeight:0),Le=-Re.scrollLeft+u(pe),ze=-Re.scrollTop;return s(Ie||Ee).direction==="rtl"&&(Le+=ve(Ee.clientWidth,Ie?Ie.clientWidth:0)-je),{width:je,height:Ke,x:Le,y:ze}}function Ge(pe,fe){var Ee=fe.getRootNode&&fe.getRootNode();if(pe.contains(fe))return!0;if(Ee&&t(Ee)){var Re=fe;do{if(Re&&pe.isSameNode(Re))return!0;Re=Re.parentNode||Re.host}while(Re)}return!1}function rt(pe){return Object.assign({},pe,{left:pe.x,top:pe.y,right:pe.x+pe.width,bottom:pe.y+pe.height})}function ut(pe){var fe=m(pe);return fe.top=fe.top+pe.clientTop,fe.left=fe.left+pe.clientLeft,fe.bottom=fe.top+pe.clientHeight,fe.right=fe.left+pe.clientWidth,fe.width=pe.clientWidth,fe.height=pe.clientHeight,fe.x=fe.left,fe.y=fe.top,fe}function ht(pe,fe){return fe===j?rt(ce(pe)):e(fe)?ut(fe):rt(ke(i(pe)))}function dt(pe){var fe=E(v(pe)),Ee=["absolute","fixed"].indexOf(s(pe).position)>=0,Re=Ee&&e(pe)?x(pe):pe;return n(Re)?fe.filter(function(Ie){return n(Ie)&&Ge(Ie,Re)&&a(Ie)!=="body"}):[]}function Tt(pe,fe,Ee){var Re=fe==="clippingParents"?dt(pe):[].concat(fe),Ie=[].concat(Re,[Ee]),je=Ie[0],Ke=Ie.reduce(function(Le,ze){var Ze=ht(pe,ze);return Le.top=ve(Ze.top,Le.top),Le.right=Se(Ze.right,Le.right),Le.bottom=Se(Ze.bottom,Le.bottom),Le.left=ve(Ze.left,Le.left),Le},ht(pe,je));return Ke.width=Ke.right-Ke.left,Ke.height=Ke.bottom-Ke.top,Ke.x=Ke.left,Ke.y=Ke.top,Ke}function Ot(pe){return pe.split("-")[1]}function Ct(pe){return["top","bottom"].indexOf(pe)>=0?"x":"y"}function jt(pe){var fe=pe.reference,Ee=pe.element,Re=pe.placement,Ie=Re?oe(Re):null,je=Re?Ot(Re):null,Ke=fe.x+fe.width/2-Ee.width/2,Le=fe.y+fe.height/2-Ee.height/2,ze;switch(Ie){case R:ze={x:Ke,y:fe.y-Ee.height};break;case T:ze={x:Ke,y:fe.y+fe.height};break;case S:ze={x:fe.x+fe.width,y:Le};break;case I:ze={x:fe.x-Ee.width,y:Le};break;default:ze={x:fe.x,y:fe.y}}var Ze=Ie?Ct(Ie):null;if(Ze!=null){var $e=Ze==="y"?"height":"width";switch(je){case L:ze[Ze]=ze[Ze]-(fe[$e]/2-Ee[$e]/2);break;case O:ze[Ze]=ze[Ze]+(fe[$e]/2-Ee[$e]/2);break}}return ze}function Lt(){return{top:0,right:0,bottom:0,left:0}}function Qt(pe){return Object.assign({},Lt(),pe)}function bt(pe,fe){return fe.reduce(function(Ee,Re){return Ee[Re]=pe,Ee},{})}function pt(pe,fe){fe===void 0&&(fe={});var Ee=fe,Re=Ee.placement,Ie=Re===void 0?pe.placement:Re,je=Ee.boundary,Ke=je===void 0?W:je,Le=Ee.rootBoundary,ze=Le===void 0?j:Le,Ze=Ee.elementContext,$e=Ze===void 0?K:Ze,ft=Ee.altBoundary,_t=ft===void 0?!1:ft,Qe=Ee.padding,Je=Qe===void 0?0:Qe,lt=Qt(typeof Je!="number"?Je:bt(Je,P)),qe=$e===K?H:K,Dt=pe.elements.reference,Et=pe.rects.popper,wt=pe.elements[_t?qe:$e],ye=Tt(n(wt)?wt:wt.contextElement||i(pe.elements.popper),Ke,ze),Pe=m(Dt),We=jt({reference:Pe,element:Et,strategy:"absolute",placement:Ie}),Ue=rt(Object.assign({},Et,We)),gt=$e===K?Ue:Pe,mt={top:ye.top-gt.top+lt.top,bottom:gt.bottom-ye.bottom+lt.bottom,left:ye.left-gt.left+lt.left,right:gt.right-ye.right+lt.right},Wt=pe.modifiersData.offset;if($e===K&&Wt){var yt=Wt[Ie];Object.keys(mt).forEach(function(St){var Ht=[S,T].indexOf(St)>=0?1:-1,Kt=[R,T].indexOf(St)>=0?"y":"x";mt[St]+=yt[Kt]*Ht})}return mt}var Bt={placement:"bottom",modifiers:[],strategy:"absolute"};function kt(){for(var pe=arguments.length,fe=new Array(pe),Ee=0;Ee<pe;Ee++)fe[Ee]=arguments[Ee];return!fe.some(function(Re){return!(Re&&typeof Re.getBoundingClientRect=="function")})}function sn(pe){pe===void 0&&(pe={});var fe=pe,Ee=fe.defaultModifiers,Re=Ee===void 0?[]:Ee,Ie=fe.defaultOptions,je=Ie===void 0?Bt:Ie;return function(Le,ze,Ze){Ze===void 0&&(Ze=je);var $e={placement:"bottom",orderedModifiers:[],options:Object.assign({},Bt,je),modifiersData:{},elements:{reference:Le,popper:ze},attributes:{},styles:{}},ft=[],_t=!1,Qe={state:$e,setOptions:function(Dt){lt(),$e.options=Object.assign({},je,$e.options,Dt),$e.scrollParents={reference:n(Le)?E(Le):Le.contextElement?E(Le.contextElement):[],popper:E(ze)};var Et=se(ue([].concat(Re,$e.options.modifiers)));return $e.orderedModifiers=Et.filter(function(wt){return wt.enabled}),Je(),Qe.update()},forceUpdate:function(){if(!_t){var Dt=$e.elements,Et=Dt.reference,wt=Dt.popper;if(!!kt(Et,wt)){$e.rects={reference:f(Et,x(wt),$e.options.strategy==="fixed"),popper:p(wt)},$e.reset=!1,$e.placement=$e.options.placement,$e.orderedModifiers.forEach(function(Wt){return $e.modifiersData[Wt.name]=Object.assign({},Wt.data)});for(var ye=0;ye<$e.orderedModifiers.length;ye++){if($e.reset===!0){$e.reset=!1,ye=-1;continue}var Pe=$e.orderedModifiers[ye],We=Pe.fn,Ue=Pe.options,gt=Ue===void 0?{}:Ue,mt=Pe.name;typeof We=="function"&&($e=We({state:$e,options:gt,name:mt,instance:Qe})||$e)}}}},update:te(function(){return new Promise(function(qe){Qe.forceUpdate(),qe($e)})}),destroy:function(){lt(),_t=!0}};if(!kt(Le,ze))return Qe;Qe.setOptions(Ze).then(function(qe){!_t&&Ze.onFirstUpdate&&Ze.onFirstUpdate(qe)});function Je(){$e.orderedModifiers.forEach(function(qe){var Dt=qe.name,Et=qe.options,wt=Et===void 0?{}:Et,ye=qe.effect;if(typeof ye=="function"){var Pe=ye({state:$e,name:Dt,instance:Qe,options:wt}),We=function(){};ft.push(Pe||We)}})}function lt(){ft.forEach(function(qe){return qe()}),ft=[]}return Qe}}var st={passive:!0};function At(pe){var fe=pe.state,Ee=pe.instance,Re=pe.options,Ie=Re.scroll,je=Ie===void 0?!0:Ie,Ke=Re.resize,Le=Ke===void 0?!0:Ke,ze=h(fe.elements.popper),Ze=[].concat(fe.scrollParents.reference,fe.scrollParents.popper);return je&&Ze.forEach(function($e){$e.addEventListener("scroll",Ee.update,st)}),Le&&ze.addEventListener("resize",Ee.update,st),function(){je&&Ze.forEach(function($e){$e.removeEventListener("scroll",Ee.update,st)}),Le&&ze.removeEventListener("resize",Ee.update,st)}}var Ut={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:At,data:{}};function Vt(pe){var fe=pe.state,Ee=pe.name;fe.modifiersData[Ee]=jt({reference:fe.rects.reference,element:fe.rects.popper,strategy:"absolute",placement:fe.placement})}var le={name:"popperOffsets",enabled:!0,phase:"read",fn:Vt,data:{}},De={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(pe){var fe=pe.x,Ee=pe.y,Re=window,Ie=Re.devicePixelRatio||1;return{x:Be(Be(fe*Ie)/Ie)||0,y:Be(Be(Ee*Ie)/Ie)||0}}function ge(pe){var fe,Ee=pe.popper,Re=pe.popperRect,Ie=pe.placement,je=pe.offsets,Ke=pe.position,Le=pe.gpuAcceleration,ze=pe.adaptive,Ze=pe.roundOffsets,$e=Ze===!0?ie(je):typeof Ze=="function"?Ze(je):je,ft=$e.x,_t=ft===void 0?0:ft,Qe=$e.y,Je=Qe===void 0?0:Qe,lt=je.hasOwnProperty("x"),qe=je.hasOwnProperty("y"),Dt=I,Et=R,wt=window;if(ze){var ye=x(Ee),Pe="clientHeight",We="clientWidth";ye===h(Ee)&&(ye=i(Ee),s(ye).position!=="static"&&(Pe="scrollHeight",We="scrollWidth")),ye=ye,Ie===R&&(Et=T,Je-=ye[Pe]-Re.height,Je*=Le?1:-1),Ie===I&&(Dt=S,_t-=ye[We]-Re.width,_t*=Le?1:-1)}var Ue=Object.assign({position:Ke},ze&&De);if(Le){var gt;return Object.assign({},Ue,(gt={},gt[Et]=qe?"0":"",gt[Dt]=lt?"0":"",gt.transform=(wt.devicePixelRatio||1)<2?"translate("+_t+"px, "+Je+"px)":"translate3d("+_t+"px, "+Je+"px, 0)",gt))}return Object.assign({},Ue,(fe={},fe[Et]=qe?Je+"px":"",fe[Dt]=lt?_t+"px":"",fe.transform="",fe))}function Ae(pe){var fe=pe.state,Ee=pe.options,Re=Ee.gpuAcceleration,Ie=Re===void 0?!0:Re,je=Ee.adaptive,Ke=je===void 0?!0:je,Le=Ee.roundOffsets,ze=Le===void 0?!0:Le,Ze={placement:oe(fe.placement),popper:fe.elements.popper,popperRect:fe.rects.popper,gpuAcceleration:Ie};fe.modifiersData.popperOffsets!=null&&(fe.styles.popper=Object.assign({},fe.styles.popper,ge(Object.assign({},Ze,{offsets:fe.modifiersData.popperOffsets,position:fe.options.strategy,adaptive:Ke,roundOffsets:ze})))),fe.modifiersData.arrow!=null&&(fe.styles.arrow=Object.assign({},fe.styles.arrow,ge(Object.assign({},Ze,{offsets:fe.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ze})))),fe.attributes.popper=Object.assign({},fe.attributes.popper,{"data-popper-placement":fe.placement})}var we={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ae,data:{}};function Ne(pe){var fe=pe.state;Object.keys(fe.elements).forEach(function(Ee){var Re=fe.styles[Ee]||{},Ie=fe.attributes[Ee]||{},je=fe.elements[Ee];!e(je)||!a(je)||(Object.assign(je.style,Re),Object.keys(Ie).forEach(function(Ke){var Le=Ie[Ke];Le===!1?je.removeAttribute(Ke):je.setAttribute(Ke,Le===!0?"":Le)}))})}function He(pe){var fe=pe.state,Ee={popper:{position:fe.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(fe.elements.popper.style,Ee.popper),fe.styles=Ee,fe.elements.arrow&&Object.assign(fe.elements.arrow.style,Ee.arrow),function(){Object.keys(fe.elements).forEach(function(Re){var Ie=fe.elements[Re],je=fe.attributes[Re]||{},Ke=Object.keys(fe.styles.hasOwnProperty(Re)?fe.styles[Re]:Ee[Re]),Le=Ke.reduce(function(ze,Ze){return ze[Ze]="",ze},{});!e(Ie)||!a(Ie)||(Object.assign(Ie.style,Le),Object.keys(je).forEach(function(ze){Ie.removeAttribute(ze)}))})}}var tt={name:"applyStyles",enabled:!0,phase:"write",fn:Ne,effect:He,requires:["computeStyles"]};function Xe(pe,fe,Ee){var Re=oe(pe),Ie=[I,R].indexOf(Re)>=0?-1:1,je=typeof Ee=="function"?Ee(Object.assign({},fe,{placement:pe})):Ee,Ke=je[0],Le=je[1];return Ke=Ke||0,Le=(Le||0)*Ie,[I,S].indexOf(Re)>=0?{x:Le,y:Ke}:{x:Ke,y:Le}}function it(pe){var fe=pe.state,Ee=pe.options,Re=pe.name,Ie=Ee.offset,je=Ie===void 0?[0,0]:Ie,Ke=$.reduce(function($e,ft){return $e[ft]=Xe(ft,fe.rects,je),$e},{}),Le=Ke[fe.placement],ze=Le.x,Ze=Le.y;fe.modifiersData.popperOffsets!=null&&(fe.modifiersData.popperOffsets.x+=ze,fe.modifiersData.popperOffsets.y+=Ze),fe.modifiersData[Re]=Ke}var Nt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:it},fn={left:"right",right:"left",bottom:"top",top:"bottom"};function Gt(pe){return pe.replace(/left|right|bottom|top/g,function(fe){return fn[fe]})}var ln={start:"end",end:"start"};function Gn(pe){return pe.replace(/start|end/g,function(fe){return ln[fe]})}function Nr(pe,fe){fe===void 0&&(fe={});var Ee=fe,Re=Ee.placement,Ie=Ee.boundary,je=Ee.rootBoundary,Ke=Ee.padding,Le=Ee.flipVariations,ze=Ee.allowedAutoPlacements,Ze=ze===void 0?$:ze,$e=Ot(Re),ft=$e?Le?V:V.filter(function(Je){return Ot(Je)===$e}):P,_t=ft.filter(function(Je){return Ze.indexOf(Je)>=0});_t.length===0&&(_t=ft);var Qe=_t.reduce(function(Je,lt){return Je[lt]=pt(pe,{placement:lt,boundary:Ie,rootBoundary:je,padding:Ke})[oe(lt)],Je},{});return Object.keys(Qe).sort(function(Je,lt){return Qe[Je]-Qe[lt]})}function ri(pe){if(oe(pe)===B)return[];var fe=Gt(pe);return[Gn(pe),fe,Gn(fe)]}function ii(pe){var fe=pe.state,Ee=pe.options,Re=pe.name;if(!fe.modifiersData[Re]._skip){for(var Ie=Ee.mainAxis,je=Ie===void 0?!0:Ie,Ke=Ee.altAxis,Le=Ke===void 0?!0:Ke,ze=Ee.fallbackPlacements,Ze=Ee.padding,$e=Ee.boundary,ft=Ee.rootBoundary,_t=Ee.altBoundary,Qe=Ee.flipVariations,Je=Qe===void 0?!0:Qe,lt=Ee.allowedAutoPlacements,qe=fe.options.placement,Dt=oe(qe),Et=Dt===qe,wt=ze||(Et||!Je?[Gt(qe)]:ri(qe)),ye=[qe].concat(wt).reduce(function(Mt,$t){return Mt.concat(oe($t)===B?Nr(fe,{placement:$t,boundary:$e,rootBoundary:ft,padding:Ze,flipVariations:Je,allowedAutoPlacements:lt}):$t)},[]),Pe=fe.rects.reference,We=fe.rects.popper,Ue=new Map,gt=!0,mt=ye[0],Wt=0;Wt<ye.length;Wt++){var yt=ye[Wt],St=oe(yt),Ht=Ot(yt)===L,Kt=[R,T].indexOf(St)>=0,Ft=Kt?"width":"height",hn=pt(fe,{placement:yt,boundary:$e,rootBoundary:ft,altBoundary:_t,padding:Ze}),Rt=Kt?Ht?S:I:Ht?T:R;Pe[Ft]>We[Ft]&&(Rt=Gt(Rt));var Jt=Gt(Rt),Zt=[];if(je&&Zt.push(hn[St]<=0),Le&&Zt.push(hn[Rt]<=0,hn[Jt]<=0),Zt.every(function(Mt){return Mt})){mt=yt,gt=!1;break}Ue.set(yt,Zt)}if(gt)for(var qt=Je?3:1,en=function($t){var pn=ye.find(function(Mr){var jn=Ue.get(Mr);if(jn)return jn.slice(0,$t).every(function(Pr){return Pr})});if(pn)return mt=pn,"break"},vn=qt;vn>0;vn--){var Cn=en(vn);if(Cn==="break")break}fe.placement!==mt&&(fe.modifiersData[Re]._skip=!0,fe.placement=mt,fe.reset=!0)}}var xr={name:"flip",enabled:!0,phase:"main",fn:ii,requiresIfExists:["offset"],data:{_skip:!1}};function oi(pe){return pe==="x"?"y":"x"}function Ln(pe,fe,Ee){return ve(pe,Se(fe,Ee))}function ai(pe){var fe=pe.state,Ee=pe.options,Re=pe.name,Ie=Ee.mainAxis,je=Ie===void 0?!0:Ie,Ke=Ee.altAxis,Le=Ke===void 0?!1:Ke,ze=Ee.boundary,Ze=Ee.rootBoundary,$e=Ee.altBoundary,ft=Ee.padding,_t=Ee.tether,Qe=_t===void 0?!0:_t,Je=Ee.tetherOffset,lt=Je===void 0?0:Je,qe=pt(fe,{boundary:ze,rootBoundary:Ze,padding:ft,altBoundary:$e}),Dt=oe(fe.placement),Et=Ot(fe.placement),wt=!Et,ye=Ct(Dt),Pe=oi(ye),We=fe.modifiersData.popperOffsets,Ue=fe.rects.reference,gt=fe.rects.popper,mt=typeof lt=="function"?lt(Object.assign({},fe.rects,{placement:fe.placement})):lt,Wt={x:0,y:0};if(!!We){if(je||Le){var yt=ye==="y"?R:I,St=ye==="y"?T:S,Ht=ye==="y"?"height":"width",Kt=We[ye],Ft=We[ye]+qe[yt],hn=We[ye]-qe[St],Rt=Qe?-gt[Ht]/2:0,Jt=Et===L?Ue[Ht]:gt[Ht],Zt=Et===L?-gt[Ht]:-Ue[Ht],qt=fe.elements.arrow,en=Qe&&qt?p(qt):{width:0,height:0},vn=fe.modifiersData["arrow#persistent"]?fe.modifiersData["arrow#persistent"].padding:Lt(),Cn=vn[yt],Mt=vn[St],$t=Ln(0,Ue[Ht],en[Ht]),pn=wt?Ue[Ht]/2-Rt-$t-Cn-mt:Jt-$t-Cn-mt,Mr=wt?-Ue[Ht]/2+Rt+$t+Mt+mt:Zt+$t+Mt+mt,jn=fe.elements.arrow&&x(fe.elements.arrow),Pr=jn?ye==="y"?jn.clientTop||0:jn.clientLeft||0:0,Qn=fe.modifiersData.offset?fe.modifiersData.offset[fe.placement][ye]:0,fi=We[ye]+pn-Qn-Pr,hi=We[ye]+Mr-Qn;if(je){var pr=Ln(Qe?Se(Ft,fi):Ft,Kt,Qe?ve(hn,hi):hn);We[ye]=pr,Wt[ye]=pr-Kt}if(Le){var $i=ye==="x"?R:I,zi=ye==="x"?T:S,gr=We[Pe],Or=gr+qe[$i],Jn=gr-qe[zi],mr=Ln(Qe?Se(Or,fi):Or,gr,Qe?ve(Jn,hi):Jn);We[Pe]=mr,Wt[Pe]=mr-gr}}fe.modifiersData[Re]=Wt}}var hr={name:"preventOverflow",enabled:!0,phase:"main",fn:ai,requiresIfExists:["offset"]},kn=function(fe,Ee){return fe=typeof fe=="function"?fe(Object.assign({},Ee.rects,{placement:Ee.placement})):fe,Qt(typeof fe!="number"?fe:bt(fe,P))};function ui(pe){var fe,Ee=pe.state,Re=pe.name,Ie=pe.options,je=Ee.elements.arrow,Ke=Ee.modifiersData.popperOffsets,Le=oe(Ee.placement),ze=Ct(Le),Ze=[I,S].indexOf(Le)>=0,$e=Ze?"height":"width";if(!(!je||!Ke)){var ft=kn(Ie.padding,Ee),_t=p(je),Qe=ze==="y"?R:I,Je=ze==="y"?T:S,lt=Ee.rects.reference[$e]+Ee.rects.reference[ze]-Ke[ze]-Ee.rects.popper[$e],qe=Ke[ze]-Ee.rects.reference[ze],Dt=x(je),Et=Dt?ze==="y"?Dt.clientHeight||0:Dt.clientWidth||0:0,wt=lt/2-qe/2,ye=ft[Qe],Pe=Et-_t[$e]-ft[Je],We=Et/2-_t[$e]/2+wt,Ue=Ln(ye,We,Pe),gt=ze;Ee.modifiersData[Re]=(fe={},fe[gt]=Ue,fe.centerOffset=Ue-We,fe)}}function Xn(pe){var fe=pe.state,Ee=pe.options,Re=Ee.element,Ie=Re===void 0?"[data-popper-arrow]":Re;Ie!=null&&(typeof Ie=="string"&&(Ie=fe.elements.popper.querySelector(Ie),!Ie)||!Ge(fe.elements.popper,Ie)||(fe.elements.arrow=Ie))}var Wn={name:"arrow",enabled:!0,phase:"main",fn:ui,effect:Xn,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function bn(pe,fe,Ee){return Ee===void 0&&(Ee={x:0,y:0}),{top:pe.top-fe.height-Ee.y,right:pe.right-fe.width+Ee.x,bottom:pe.bottom-fe.height+Ee.y,left:pe.left-fe.width-Ee.x}}function vr(pe){return[R,S,T,I].some(function(fe){return pe[fe]>=0})}function si(pe){var fe=pe.state,Ee=pe.name,Re=fe.rects.reference,Ie=fe.rects.popper,je=fe.modifiersData.preventOverflow,Ke=pt(fe,{elementContext:"reference"}),Le=pt(fe,{altBoundary:!0}),ze=bn(Ke,Re),Ze=bn(Le,Ie,je),$e=vr(ze),ft=vr(Ze);fe.modifiersData[Ee]={referenceClippingOffsets:ze,popperEscapeOffsets:Ze,isReferenceHidden:$e,hasPopperEscaped:ft},fe.attributes.popper=Object.assign({},fe.attributes.popper,{"data-popper-reference-hidden":$e,"data-popper-escaped":ft})}var Br={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:si},li=[Ut,le,we,tt],Vi=sn({defaultModifiers:li}),ci=[Ut,le,we,tt,Nt,xr,hr,Wn,Br],di=sn({defaultModifiers:ci});y.applyStyles=tt,y.arrow=Wn,y.computeStyles=we,y.createPopper=di,y.createPopperLite=Vi,y.defaultModifiers=ci,y.detectOverflow=pt,y.eventListeners=Ut,y.flip=xr,y.hide=Br,y.offset=Nt,y.popperGenerator=sn,y.popperOffsets=le,y.preventOverflow=hr,Object.defineProperty(y,"__esModule",{value:!0})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(11),l(8),l(55),l(0),l(4),l(139),l(200),l(595),l(596),l(46),l(597),l(44)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s){var c=y("dijit.TooltipDialog",[r,i,a,o],{title:"",doLayout:!1,autofocus:!0,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:u,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments),this.own(e(this.domNode,"keydown",n.hitch(this,"_onKey")))},orient:function(f,p,v){var g={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[p+"-"+v];m.replace(this.domNode,g,this._currentOrientClass||""),this._currentOrientClass=g},focus:function(){this._getFocusItems(),t.focus(this._firstFocusItem)},onOpen:function(f){this.orient(this.domNode,f.aroundCorner,f.corner);var p=f.aroundNodePos;f.corner.charAt(0)=="M"&&f.aroundCorner.charAt(0)=="M"?(this.connectorNode.style.top=p.y+(p.h-this.connectorNode.offsetHeight>>1)-f.y+"px",this.connectorNode.style.left=""):f.corner.charAt(1)=="M"&&f.aroundCorner.charAt(1)=="M"&&(this.connectorNode.style.left=p.x+(p.w-this.connectorNode.offsetWidth>>1)-f.x+"px"),this._onShow()},onClose:function(){this.onHide()},_onKey:function(f){if(f.keyCode==d.ESCAPE)this.defer("onCancel"),f.stopPropagation(),f.preventDefault();else if(f.keyCode==d.TAB){var p=f.target;this._getFocusItems(),this._firstFocusItem==this._lastFocusItem?(f.stopPropagation(),f.preventDefault()):p==this._firstFocusItem&&f.shiftKey?(t.focus(this._lastFocusItem),f.stopPropagation(),f.preventDefault()):p==this._lastFocusItem&&!f.shiftKey?(t.focus(this._firstFocusItem),f.stopPropagation(),f.preventDefault()):f.stopPropagation()}}});return h("dojo-bidi")&&c.extend({_setTitleAttr:function(f){this.containerNode.title=this.textDir&&this.enforceTextDirWithUcc?this.enforceTextDirWithUcc(null,f):f,this._set("title",f)},_setTextDirAttr:function(f){(!this._created||this.textDir!=f)&&(this._set("textDir",f),this.textDir&&this.title&&(this.containerNode.title=this.enforceTextDirWithUcc(null,this.title)))}}),c},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(106)],C=l.dj.d(A,function(y,m){return y("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute(),this.execute(this.get("value"))},_getFocusItems:function(){var h=m._getTabNavigable(this.domNode);this._firstFocusItem=h.lowest||h.first||this.closeButtonNode||this.domNode,this._lastFocusItem=h.last||h.highest||this._firstFocusItem}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(1),l(6),l(0),l(4),l(45)],C=l.dj.d(A,function(y,m,h,d,n,e){return m("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(t){var r=[];return y.forEach(t||this.getChildren(),function(o){"value"in o?r.push(o):r=r.concat(this._getDescendantFormWidgets(o.getChildren()))},this),r},reset:function(){y.forEach(this._getDescendantFormWidgets(),function(t){t.reset&&t.reset()})},validate:function(){var t=!1;return y.every(y.map(this._getDescendantFormWidgets(),function(r){r._hasBeenBlurred=!0;var o=r.disabled||!r.validate||r.validate();return!o&&!t&&(e.scrollIntoView(r.containerNode||r.domNode),r.focus(),t=!0),o}),function(r){return r})},setValues:function(t){return h.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0"),this.set("value",t)},_setValueAttr:function(t){var r={};y.forEach(this._getDescendantFormWidgets(),function(u){if(!!u.name){var s=r[u.name]||(r[u.name]=[]);s.push(u)}});for(var o in r)if(!!r.hasOwnProperty(o)){var a=r[o],i=d.getObject(o,!1,t);i!==void 0&&(i=[].concat(i),typeof a[0].checked=="boolean"?y.forEach(a,function(u){u.set("value",y.indexOf(i,u._get("value"))!=-1)}):a[0].multiple?a[0].set("value",i):y.forEach(a,function(u,s){u.set("value",i[s])}))}},getValues:function(){return h.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0"),this.get("value")},_getValueAttr:function(){var t={};return y.forEach(this._getDescendantFormWidgets(),function(r){var o=r.name;if(!(!o||r.disabled)){var a=r.get("value");if(typeof r.checked=="boolean")if(/Radio/.test(r.declaredClass))a!==!1?d.setObject(o,a,t):(a=d.getObject(o,!1,t),a===void 0&&d.setObject(o,null,t));else{var i=d.getObject(o,!1,t);i||(i=[],d.setObject(o,i,t)),a!==!1&&i.push(a)}else{var u=d.getObject(o,!1,t);typeof u!="undefined"?d.isArray(u)?u.push(a):d.setObject(o,[u,a],t):d.setObject(o,a,t)}}}),t},isValid:function(){return this.state==""},onValidStateChange:function(){},_getState:function(){var t=y.map(this._descendants,function(r){return r.get("state")||""});return y.indexOf(t,"Error")>=0?"Error":y.indexOf(t,"Incomplete")>=0?"Incomplete":""},disconnectChildren:function(){},connectChildren:function(t){this._descendants=this._getDescendantFormWidgets(),y.forEach(this._descendants,function(r){r._started||r.startup()}),t||this._onChildChange()},_onChildChange:function(t){(!t||t=="state"||t=="disabled")&&this._set("state",this._getState()),(!t||t=="value"||t=="disabled"||t=="checked")&&(this._onChangeDelayTimer&&this._onChangeDelayTimer.remove(),this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer,this._set("value",this.get("value"))},10))},startup:function(){this.inherited(arguments),this._descendants=this._getDescendantFormWidgets(),this.value=this.get("value"),this.state=this._getState();var t=this;this.own(n(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(r){r.target!=t.domNode&&t._onChildChange(r.type.replace("attrmodified-",""))})),this.watch("state",function(r,o,a){this.onValidStateChange(a=="")})},destroy:function(){this.inherited(arguments)}})},_,M),_.exports=C},function(_,M){_.exports=`<div role="alertdialog" tabIndex="-1">
|
||
<div class="dijitTooltipContainer" role="presentation">
|
||
<div data-dojo-attach-point="contentsNode" class="dijitTooltipContents dijitTooltipFocusNode">
|
||
<div data-dojo-attach-point="containerNode"></div>
|
||
\${!actionBarTemplate}
|
||
</div>
|
||
</div>
|
||
<div class="dijitTooltipConnector" role="presentation" data-dojo-attach-point="connectorNode"></div>
|
||
</div>
|
||
`},function(_,M,l){var A,C;A=[l(9),l(17),l(1),l(12),l(34),l(10),l(24),l(14),l(8),l(55),l(0),l(4),l(260),l(261),l(108),l(44),l(72)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p){function v(){this._popupWrapper&&(e.destroy(this._popupWrapper),delete this._popupWrapper)}var g=h(null,{_stack:[],_beginZIndex:1e3,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var E=this._firstAroundPosition,D=t.position(this._firstAroundNode,!0),F=D.x-E.x,w=D.y-E.y;if(F||w){this._firstAroundPosition=D;for(var x=0;x<this._stack.length;x++){var R=this._stack[x].wrapper.style;R.top=parseFloat(R.top)+w+"px",R.right=="auto"?R.left=parseFloat(R.left)+F+"px":R.right=parseFloat(R.right)-F+"px"}}this._aroundMoveListener=setTimeout(i.hitch(this,"_repositionAll"),F||w?10:50)}},_createWrapper:function(E){var D=E._popupWrapper,F=E.domNode;if(!D){D=e.create("div",{class:"dijitPopup",style:{display:"none"},role:"region","aria-label":E["aria-label"]||E.label||E.name||E.id},E.ownerDocumentBody),D.appendChild(F);var w=F.style;w.display="",w.visibility="",w.position="",w.top="0px",E._popupWrapper=D,m.after(E,"destroy",v,!0),"ontouchend"in document&&u(D,"touchend",function(x){/^(input|button|textarea)$/i.test(x.target.tagName)||x.preventDefault()}),D.dojoClick=!0}return D},moveOffScreen:function(E){var D=this._createWrapper(E),F=t.isBodyLtr(E.ownerDocument),w={visibility:"hidden",top:"-9999px",display:""};return w[F?"left":"right"]="-9999px",w[F?"right":"left"]="auto",r.set(D,w),D},hide:function(E){var D=this._createWrapper(E);r.set(D,{display:"none",height:"auto",overflowY:"visible",border:""});var F=E.domNode;"_originalStyle"in F&&(F.style.cssText=F._originalStyle)},getTopPopup:function(){for(var E=this._stack,D=E.length-1;D>0&&E[D].parent===E[D-1].widget;D--);return E[D]},open:function(E){var D=this._stack,F=E.popup,w=F.domNode,x=E.orient||["below","below-alt","above","above-alt"],R=E.parent?E.parent.isLeftToRight():t.isBodyLtr(F.ownerDocument),T=E.around,S=E.around&&E.around.id?E.around.id+"_dropdown":"popup_"+this._idGen++;if(!E.doNotClose)for(;D.length&&(!E.parent||!d.isDescendant(E.parent.domNode,D[D.length-1].widget.domNode));)this.close(D[D.length-1].widget);var I=this.moveOffScreen(F);F.startup&&!F._started&&F.startup();var B,P=t.position(w);if("maxHeight"in E&&E.maxHeight!=-1)B=E.maxHeight||1/0;else{var L=f.getEffectiveBox(this.ownerDocument),O=T?t.position(T,!1):{y:E.y-(E.padding||0),h:(E.padding||0)*2};B=Math.floor(Math.max(O.y,L.h-(O.y+O.h)))}if(P.h>B){var W=r.getComputedStyle(w),j=W.borderLeftWidth+" "+W.borderLeftStyle+" "+W.borderLeftColor;r.set(I,{overflowY:"scroll",height:B+"px",border:j}),w._originalStyle=w.style.cssText,w.style.border="none"}n.set(I,{id:S,style:{zIndex:this._beginZIndex+D.length},class:"dijitPopup "+(F.baseClass||F.class||"").split(" ")[0]+"Popup",dijitPopupParent:E.parent?E.parent.id:""}),D.length==0&&T&&(this._firstAroundNode=T,this._firstAroundPosition=t.position(T,!0),this._aroundMoveListener=setTimeout(i.hitch(this,"_repositionAll"),50)),o("config-bgIframe")&&!F.bgIframe&&(F.bgIframe=new c(I));var K=F.orient?i.hitch(F,"orient"):null,H=T?s.around(I,T,x,R,K):s.at(I,E,x=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],E.padding,K);I.style.visibility="visible",w.style.visibility="visible";var V=[];return V.push(u(I,"keydown",i.hitch(this,function($){if($.keyCode==a.ESCAPE&&E.onCancel)$.stopPropagation(),$.preventDefault(),E.onCancel();else if($.keyCode==a.TAB){$.stopPropagation(),$.preventDefault();var G=this.getTopPopup();G&&G.onCancel&&G.onCancel()}}))),F.onCancel&&E.onCancel&&V.push(F.on("cancel",E.onCancel)),V.push(F.on(F.onExecute?"execute":"change",i.hitch(this,function(){var $=this.getTopPopup();$&&$.onExecute&&$.onExecute()}))),D.push({widget:F,wrapper:I,parent:E.parent,onExecute:E.onExecute,onCancel:E.onCancel,onClose:E.onClose,handlers:V}),F.onOpen&&F.onOpen(H),H},close:function(E){for(var D=this._stack;E&&y.some(D,function(T){return T.widget==E})||!E&&D.length;){var F=D.pop(),w=F.widget,x=F.onClose;w.bgIframe&&(w.bgIframe.destroy(),delete w.bgIframe),w.onClose&&w.onClose();for(var R;R=F.handlers.pop();)R.remove();w&&w.domNode&&this.hide(w),x&&x()}D.length==0&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return p.popup=new g},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(4),l(39),l(199),l(272),l(197),l(46),l(600),l(601),l(603),l(604),l(605),l(273),l(175),l(174),l(611),l(612),l(613),l(614),l(615),l(616),l(617)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p,v,g,E,D,F,w){var x=13,R=32,T=9;return y(D.validate([h,d,n,e,t,r,o,a,i,u,s,c,f,p,v,g,E,F]),{baseClass:"mwWidget mwPushButton",templateString:w,postCreate:function(){this.inherited(arguments),this.own(m(this.domNode,"keydown",this._handleKeydown.bind(this)),m(this.domNode,"keyup",this._handleKeyup.bind(this)))},_handleKeydown:function(S){if(!(this.domNode.closest(".enableInactive")!=null&&S.keyCode!=T))switch(S.keyCode){case x:this.get("disabled")||S.target.click(),S.preventDefault();break;case R:S.preventDefault();break}},_handleKeyup:function(S){if(!(this.domNode.closest(".enableInactive")!=null&&S.keyCode!=T))switch(S.keyCode){case x:S.preventDefault();break;case R:this.get("disabled")||S.target.click(),S.preventDefault();break}},_qeClick:function(){this.emit("click")}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1)],C=l.dj.d(A,function(y){return y(null,{tag:"",_setTagAttr:function(m){if(typeof m!="string")throw new Error("tag property expects a 'String'");this.domNode.setAttribute("data-tag",m),this._set("tag",m)},postCreate:function(){this.inherited(arguments),this.set("tag",this.get("tag"))}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(602)],C=l.dj.d(A,function(y,m){return y(null,{description:"",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwDescriptionMixin"),this.set("description",this.get("description"))},_setDescriptionAttr:function(h){if(typeof h!="string")throw new Error("'description' property expects a literal string!");this._updateDescription(h),this._set("description",h)},_updateDescription:function(h){this._lastKnownDescription=h,this.descriptionNode?(this.descriptionNode.textContent=h,this.get("showDescription")===!1?this.domNode.classList.add("mwHideDescription"):h===""?this.domNode.classList.add("mwHideDescription"):this.domNode.classList.remove("mwHideDescription")):this._updateTitle(h)},_updateTitle:function(h,d){var n;d?(h!==""&&h!==void 0&&(h=this._lastKnownDescription===""?h:" ("+h+")"),n=this._lastKnownDescription+h):this.get("shortcut")?n=h?h+" ("+m.getPlatformSpecificString(this.get("shortcut"))+")":m.getPlatformSpecificString(this.get("shortcut")):n=h;var e=this.getTitleNodes();e.forEach(function(t){t.setAttribute("title",n)})},getTitleNodes:function(){return[this.domNode]}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(18)],C=l.dj.d(A,function(y){var m=y("mac")?"":"+",h=y("mac")?"":"NumPad-",d=y("mac")?"":"NumPad ",n="NUMPAD-",e=/NUMPAD-\d/,t=["CTRL","ALT","SHIFT","META"],r={CTRL:{macString:"\u2303",otherPlatformString:"Ctrl"},META:{macString:"\u2318",otherPlatformString:"Ctrl"},SHIFT:{macString:"\u21E7",otherPlatformString:"Shift"},ALT:{macString:"\u2325",otherPlatformString:"Alt"},ENTER:{macString:"\u23CE",otherPlatformString:"Enter"},DELETE:{macString:"\u2326",otherPlatformString:"Delete"},DEL:{macString:"\u2326",otherPlatformString:"Del"},SPACEBAR:{macString:"\u2423",otherPlatformString:"Spacebar"},SPACE:{macString:"\u2423",otherPlatformString:"Space"},UP:{macString:"\u2191",otherPlatformString:"Up"},DOWN:{macString:"\u2193",otherPlatformString:"Down"},LEFT:{macString:"\u2190",otherPlatformString:"Left"},RIGHT:{macString:"\u2192",otherPlatformString:"Right"},HOME:{macString:"\u2196",otherPlatformString:"Home"},END:{macString:"\u2198",otherPlatformString:"End"},PAGEUP:{macString:"\u21DE",otherPlatformString:"Page Up"},PAGEDOWN:{macString:"\u21DF",otherPlatformString:"Page Down"},PLUS:{macString:"+",otherPlatformString:"Plus"},"+":{macString:"+",otherPlatformString:"Plus"},MINUS:{macString:"-",otherPlatformString:"Minus"},"-":{macString:"-",otherPlatformString:"Minus"},TAB:{macString:"\u21E5",otherPlatformString:"Tab"},ESCAPE:{macString:"\u238B",otherPlatformString:"Esc"},BACKSPACE:{macString:"\u232B",otherPlatformString:"Backspace"},CLEAR:{macString:"\u2327",otherPlatformString:"Clear"},PAUSE:{macString:"Pause",otherPlatformString:"Pause"},INSERT:{macString:"Insert",otherPlatformString:"Insert"}};function o(i){var u=i.match(e)?h:d;return i.replace(n,u)}function a(i){i.sort(function(u,s){return t.indexOf(u)-t.indexOf(s)})}return{getPlatformSpecificString:function(i,u){u=u||{},i=i.replace(/ /g,""),i=i.replace(/_/g,"+"),i=i.toUpperCase(),i=i.replace(/CNTRL|CONTROL/g,"CTRL"),y("mac")&&!u.dontConvertCtrlToCmd&&(i=i.replace(/CTRL/g,"META")),i.match(/NUMPAD\D$/)&&(i=i.replace("NUMPAD",n)),/[^+-]\+$/.test(i)&&(i+="+");var s=i.split(/\+(?!$)/),c=s.pop();c.indexOf(n)===0&&(c=o(c)),u.sortModifiers&&a(s),s.push(c);var f=s.map(function(p){var v=r[p];return v?y("mac")?v.macString:v.otherPlatformString:p});return f.join(m)}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1)],C=l.dj.d(A,function(y){return y(null,{disabled:!1,postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwDisabledMixin"),this.set("disabled",this.get("disabled")),this._disableInteractionHandler=this._disableInteractionHandler.bind(this),this._addDisableListener(this.domNode,this._disableInteractionHandler)},startup:function(){this.inherited(arguments),this.get("disabled")&&(this.domNode.dojoClick=!1)},destroy:function(){this.domNode&&this._removeDisableListener(this.domNode,this._disableInteractionHandler),this.inherited(arguments)},_disableInteractionHandler:function(m){this.get("disabled")&&this._disabledInteraction(m)},_disabledInteraction:function(m){m.stopImmediatePropagation();var h=document.createEvent("MouseEvent");h.initMouseEvent(m.type,m.bubbles,m.cancelable,m.view,m.detail,m.screenX,m.screenY,m.clientX,m.clientY,m.ctrlKey,m.altKey,m.shiftKey,m.metaKey,m.button,m.relatedTarget),this.domNode.parentElement.dispatchEvent(h)},_addDisableListener:function(m,h){window.PointerEvent&&m.addEventListener("pointerdown",h,!0),m.addEventListener("mousedown",h,!0),m.addEventListener("click",h,!0)},_removeDisableListener:function(m,h){window.PointerEvent&&m.removeEventListener("pointerdown",h,!0),m.removeEventListener("mousedown",h,!0),m.removeEventListener("click",h,!0)},_updateDisableNode:function(m){m?(this.domNode.classList.add("mwDisabled"),this.domNode.classList.remove("mwEnabled")):(this.domNode.classList.add("mwEnabled"),this.domNode.classList.remove("mwDisabled"))},_setDisabledAttr:function(m){if(typeof m!="boolean")throw new Error("'disabled' property expects a boolean!");this._set("disabled",m),this._updateDisableNode(m),this.set("hovering",!1),this.set("active",!1),this._setAriaDisabled(),this.baseClass.split(" ").forEach(function(h){m?this.domNode.classList.add(h+"Disabled"):this.domNode.classList.remove(h+"Disabled")}.bind(this)),m?(this.domNode.classList.add("dijitDisabled"),this.domNode.dojoClick=!1):(this.domNode.classList.remove("dijitDisabled"),this.domNode.dojoClick=void 0),this._setTabIndexOnNode(this.focusNode)},_setTabIndexOnNode:function(m){this.get("disabled")?m.removeAttribute("tabIndex"):m.setAttribute("tabIndex","0")},_setAriaDisabled:function(){var m=this.disabledNode?this.disabledNode:this.domNode;m.setAttribute("aria-disabled",this.get("disabled")&&!this.get("dropDownNeverDisabled")?"true":"false")}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1)],C=l.dj.d(A,function(y){var m=["left","center","right"],h="mwHorizontalAlignment",d={},n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)};return Object.keys(m).forEach(function(e){d[m[e]]=h+n(m[e])}),y(null,{horizontalAlignment:"center",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwHorizontalAlignmentMixin")},_setHorizontalAlignmentAttr:function(e){if(m.indexOf(e)===-1)throw new Error("'Vertical alignment' property expects '' one of these values: "+m);this._applyHorizontalAlignmentClass(e),this._set("horizontalAlignment",e)},_applyHorizontalAlignmentClass:function(e){var t,r,o;t=this.get("horizontalAlignment"),r=d[t],r&&this.domNode.classList.remove(r),o=d[e],this.domNode.classList.add(o)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(10),l(174),l(273)],C=l.dj.d(A,function(y,m,h,d){var n=y(null,{CLASS_NAME_PREFIX:"mwIconAlignment",constructor:function(){this.ICON_ALIGNMENT_CONFIGURATION={top:{className:this.CLASS_NAME_PREFIX+"Top",textNodeLocation:"after"},right:{className:this.CLASS_NAME_PREFIX+"Right",textNodeLocation:"before"},bottom:{className:this.CLASS_NAME_PREFIX+"Bottom",textNodeLocation:"before"},left:{className:this.CLASS_NAME_PREFIX+"Left",textNodeLocation:"after"}}},iconAlignment:"left",_supportedValues:["top","right","bottom","left"],postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwIconAlignmentMixin")},_setIconAlignmentAttr:function(e){if(!(this.get("iconAlignment")===e&&this._started)){if(this._supportedValues.indexOf(e)===-1)throw new Error("'iconAlignment' property expects one of these values: "+this._supportedValues);var t=this.ICON_ALIGNMENT_CONFIGURATION[this.get("iconAlignment")].className;this.domNode.classList.remove(t);var r=this.ICON_ALIGNMENT_CONFIGURATION[e].className;this.domNode.classList.add(r);var o=this.ICON_ALIGNMENT_CONFIGURATION[e].textNodeLocation;m.place(this.textNode,this.iconNode,o),this._set("iconAlignment",e)}}});return n._dependencies=[{mixin:h,orderDependent:!1},{mixin:d,orderDependent:!1}],n},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(607),l(609),l(610),l(13)],C=l.dj.d(A,function(y,m,h,d){class n{static getInstance(t){let r,o,a;if(t){switch(a=t.iconFactoryConfig,a){case m.MATLAB:r=h.MATLAB;break;case m.MAVEN:r=h.MAVEN;break;case m.OTHER:r=t.config;break;default:r=h.MATLAB}r.id=t.id||n._DEFAULT_ID,o=n.createInstance(r)}else n._instances[n._DEFAULT_ID]?o=n._instances[n._DEFAULT_ID]:(r=h.MATLAB,r.id=n._DEFAULT_ID,o=n.createInstance(r));return o}static createInstance(t){const r=t.id?t.id:n._DEFAULT_ID;return n._instances[r]=new y(t),n._instances[r]}static destroyInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n._DEFAULT_ID;n._instances.hasOwnProperty(t)&&delete n._instances[t]}static _logOnce(t,r){n._logOnceCache.hasOwnProperty(t)||(d.log(r),n._logOnceCache[t]=!0)}}return n._logOnceCache={},n._instances={},n._DEFAULT_ID="mw-icons/default",n},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(608),l(13)],C=l.dj.d(A,function(y,m){class h{constructor(n){this._iconData={},this._iconsLocation=n.iconsLocation,this._iconsLocation[this._iconsLocation.length-1]!=="/"&&(this._iconsLocation+="/"),this._resolvePath=n.resolvePath,this._resolvePath||(this._resolvePath=function(e){return e}),this._setupCompleted=this._loadConfigData(n.registryLocation)}getIcon(n){let e=n.id;return new Promise(function(t,r){this._ready().then(function(){n.width===void 0&&(n.width=n.height||24),n.height===void 0&&(n.height=n.width||24),this._validateProps(n)?t(this._getSvg(e,n.width,n.height)):r(new Error("Failed to fetch icon with requested size. { id: ".concat(e,", width: ").concat(n.width,", height: ").concat(n.height," }")))}.bind(this))}.bind(this))}_validateProps(n){return typeof n.id=="string"&&typeof n.height=="number"&&typeof n.width=="number"&&this._iconData.hasOwnProperty(n.id)&&this._iconData[n.id].indexOf("".concat(n.width,"x").concat(n.height))>=0}isValidIcon(n){return new Promise(function(e,t){this._ready().then(function(){e(this._iconData.hasOwnProperty(n))}.bind(this))}.bind(this))}validateIconProperties(n){return new Promise(function(e,t){this._ready().then(function(){n.width===void 0&&(n.width=n.height||24),n.height===void 0&&(n.height=n.width||24),e(this._validateProps(n))}.bind(this))}.bind(this))}_ready(){return this._setupCompleted}_loadConfigData(n){return new Promise(function(e,t){fetch(this._resolvePath(n),{mode:"cors",credentials:"include"}).then(function(r){r.status===200?r.json().then(function(o){this._iconData=o,e()}.bind(this)):(m.warn("Could not load Icons Registry."),e())}.bind(this),function(r){t(r)})}.bind(this))}_getSvg(n,e,t){return y.buildSvg({url:this._resolvePath("".concat(this._iconsLocation).concat(e,"x").concat(t,"/").concat(n,".svg")),iconId:n,width:e,height:t})}}return h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){const y="http://www.w3.org/2000/svg",m="#00000000";class h{static buildSvg(n){let{url:e,iconId:t,width:r,height:o}=n;const a=document.createElementNS(y,"svg");return a.setAttribute("fill",m),a.setAttribute("height",o),a.setAttribute("width",r),this.injectSVG({url:e,node:a,iconId:t,height:o,width:r}),a.setAttribute("data-test-id",t),a}static injectSVG(n){let{url:e,node:t,iconId:r,height:o,width:a}=n;const i="".concat(r,"_").concat(a,"x").concat(o);h._svgTextCache[i]!==void 0?t.innerHTML=h._svgTextCache[i]:h._pendingContainerNodes[i]!==void 0?h._pendingContainerNodes[i].push(t):(h._pendingContainerNodes[i]=[t],fetch(e,{mode:"cors",credentials:"include"}).then(function(u){u.text().then(function(s){h._svgTextCache[i]=s,h._pendingContainerNodes[i].forEach(function(f){f.innerHTML=h._svgTextCache[i]}),delete h._pendingContainerNodes[i];const c=new CustomEvent("iconfetchsuccess",{detail:{id:r}});t.dispatchEvent(c)})}))}}return h._svgTextCache={},h._pendingContainerNodes={},h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({MATLAB:"matlab",MAVEN:"maven",OTHER:"other"})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(117)],C=l.dj.d(A,function(y){return{MATLAB:{iconsLocation:"ui/icons/",registryLocation:"ui/icons/registry.json",resolvePath:y.createWorkerRoutingHostUrl},MAVEN:{iconsLocation:"/target/dependencies/mw-icons-store/",registryLocation:"/target/dependencies/mw-icons-store/registry.json"}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1)],C=l.dj.d(A,function(y){var m="mw",h="VisualFamily";return y(null,{visualFamily:"default",_setVisualFamilyAttr:function(d){if(typeof d!="string"||d.length===0)throw new Error("'visualFamily' property expects a literal non-empty string!");var n=this._getClassNameForVisualFamily(this.get("visualFamily"));this.domNode.classList.remove(n);var e=this._getClassNameForVisualFamily(d);this.domNode.classList.add(e),this._set("visualFamily",d)},_getClassNameForVisualFamily:function(d){return m+d.charAt(0).toUpperCase()+d.slice(1)+h}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(175)],C=l.dj.d(A,function(y,m){var h=["top","middle","bottom"],d="mwVerticalAlignment",n={},e=function(r){return r.charAt(0).toUpperCase()+r.slice(1)};Object.keys(h).forEach(function(r){n[h[r]]=d+e(h[r])});var t=y(null,{verticalAlignment:"middle",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwVerticalAlignmentMixin")},_setVerticalAlignmentAttr:function(r){if(h.indexOf(r)===-1)throw new Error("'Vertical alignment' property expects '' one of these values: "+h[r]);this._applyVerticalAlignmentClass(r),this._set("verticalAlignment",r)},_applyVerticalAlignmentClass:function(r){var o,a,i;o=this.get("verticalAlignment"),a=n[o],a&&this.domNode.classList.remove(a),i=n[r],this.domNode.classList.add(i)}});return t._dependencies=[{mixin:m,orderDependent:!0}],t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(14),l(175)],C=l.dj.d(A,function(y,m,h){var d=y(null,{_paddingAndBorder:6,_setSize:function(n,e){if(this.inherited(arguments),!!this._started){var t="";e==="auto"||e==="100%"?(t=e,this._setSpecialSizeOnAdditionalNodes(n,"none")):(t=this._getAdjustedSize(n,e,this.domNode),this._setSpecialSizeOnAdditionalNodes(n,parseFloat(t)-this._paddingAndBorder+"px")),this.contentWrapperNode.style[n]="100%"}},_setSpecialSizeOnAdditionalNodes:function(n,e){n==="width"?this.iconAndTextContainerNode.style.maxWidth=e:n==="height"&&(this.textNode.style.maxHeight=e)}});return d._dependencies=[{mixin:h,orderDependent:!0}],d},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(4)],C=l.dj.d(A,function(y,m){return y(null,{postCreate:function(){this.inherited(arguments),this._getNonSelectableNodes().forEach(function(h){m(h,"selectstart",function(d){["INPUT","TEXTAREA"].indexOf(d.target.nodeName)===-1&&d.preventDefault()})})},_getNonSelectableNodes:function(){return[this.domNode]}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=function(h,d){if(h<d)throw new Error("mixin dependency specified in invalid order")},m=function(h){return h};return{validate:m}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(174)],C=l.dj.d(A,function(y,m){var h=y(null,{postCreate:function(){this.inherited(arguments);var d=this.id+"_label";this.focusNode.setAttribute("aria-labelledby",d),this.textNode.setAttribute("id",d)}});return h._dependencies=[{mixin:m,orderDependent:!1}],h},_,M),_.exports=C},function(_,M){_.exports=`<div data-dojo-attach-point="focusNode" role="button"
|
||
><div data-dojo-attach-point="contentWrapperNode" class="mwContentWrapperNode"
|
||
><div data-dojo-attach-point="iconAndTextContainerNode" class="mwIconAndTextContainerNode mwAlignmentNode"
|
||
><div data-dojo-attach-point="iconNode" class="mwIconNode"></div
|
||
><div data-dojo-attach-point="textNode" class="mwTextNode"></div
|
||
></div
|
||
></div
|
||
></div>`},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(4),l(619),l(620),l(621),l(622),l(623),l(628),l(278),l(631),l(640),l(641),l(642),l(3),l(282),l(177),l(290),l(689),l(23),l(97),l(7),l(115),l(244),l(690),l(129),l(695)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a,i,u,s,c,f,p,v,g,E,D,F,w,x,R,T,S,I){"use strict";var B={IdController:d,GeometryController:n,Scroll:e,TableResize:t,EventsController:r,DoubleClickController:o,ColConfigController:a,EditControllerProxy:i,HeaderEditController:u,AttributesController:s,CustomKeyController:c},P=function(){function L(O){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};m(this,L),this._events=[],this._eventMap={},this.resizeHandler=this.resizeHandler.bind(this);var j=this._viewModel=I.setViewModel(R,T,O,w);typeof W.keepSorted!="boolean"&&(W.keepSorted=!1);var K=S.getRowHeaderConfig(W);j.setState(f.protected.testId,"__MW_TABLE__"+W.dataTestId),j.setState(f.protected.SORT_BEHAVIOUR,W.keepSorted),j.setRowHeaderConfig(K),I.setupRegistration(this,j);var H=this._tableView=I.initializeTableView(j,O,B,p,W),V=H.registry;I.mixinFacade(this,V),I.facadeListeners(this,V)}return y(L,[{key:"registerRenderer",value:function(W,j){I.registerRenderer(this,this._viewModel,W,j)}},{key:"registerEditor",value:function(W,j){I.registerEditor(this,this._viewModel,W,j)}},{key:"startup",value:function(){var W=g.SYNC;this._tableView.renderTable(),this._viewModel.setRenderType(W)}},{key:"destroy",value:function(){this._events.forEach(function(W){W.remove()}),this._tableView.removeTable(this._container)}},{key:"on",value:function(W,j){var K=h(this._eventMap[W],W,j);return this._events.push(K),K}},{key:"getRangeFromId",value:function(W){}},{key:"resizeHandler",value:function(){this._tableView.throttledResize()}},{key:"focus",value:function(){this._tableView.focus()}},{key:"editCell",value:function(){this.focus();var W=this._tableView.domNode;this._editCell({container:W})}},{key:"emits",value:function(){}},{key:"domNode",get:function(){return this._tableView.domNode}}],[{key:"range",value:function(){return w.range()}},{key:"FEATURE",get:function(){return p.AVAILABLE}},{key:"gridStyle",get:function(){return v.public_enum}},{key:"compare",get:function(){return x.compare}},{key:"REORDER",get:function(){return E.AVAILABLE}},{key:"PLATFORMS",get:function(){return F.exposed}},{key:"KEYS",get:function(){return D}}]),L}();return P},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7)],C=l.dj.d(A,function(h){var d=function(){function n(e){m(this,n),this._dataStore=e.dataStore,this.getRangeFromId=this.getRangeFromId.bind(this)}return y(n,[{key:"eventList",value:function(){return{}}},{key:"exposedAPI",value:function(){return{getRangeFromId:this.getRangeFromId}}},{key:"getRangeFromId",value:function(t){if(!t||t.id===void 0)throw new Error("You must provide a id to locate a range");return this._dataStore.getIndex({id:t.id}).then(function(r){return r&&r.index!=null?h.range().setRows(r.index,r.index):null})}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function m(d,n,e){return n in d?Object.defineProperty(d,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):d[n]=e,d}function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(5),l(3)],C=l.dj.d(A,function(d,n){var e=function(){function t(r){h(this,t);var o=r.viewModel;this._vm=o,this._vm.setState(n.ROW_HEADER_NODE,{offsetWidth:0}),this._publishNode={},this._subscribeNode={}}return y(t,[{key:"exposedAPI",value:function(){return{}}},{key:"eventList",value:function(){var o=this,a,i=(a={},m(a,d.internal.NODE_PUBLISH,function(u){return o._nodePublish(u.event)}),m(a,d.internal.NODE_SUBSCRIBE,function(u){return o._nodeSubscribe(u.event)}),m(a,d.internal.NODE_UNSUBSCRIBE,function(u){return o._nodeUnsubscribe(u.event)}),m(a,d.protected.NODE_NOTIFY,function(u){return o._notifyChannel(u.event)}),m(a,d.protected.FORCE_LAYOUT,this._notifyAll.bind(this)),a);return i}},{key:"_nodePublish",value:function(o){var a=o.publisherFn,i=o.publisherId;this._publishNode[i]=a}},{key:"_nodeSubscribe",value:function(o){var a=o.subscriberFn,i=o.subscriberId,u=o.subscribeTo;this._subscribeNode[i]={subscriberFn:a,publisherId:u}}},{key:"_nodeUnsubscribe",value:function(o){var a=o.subscriberId;delete this._subscribeNode[a]}},{key:"_notifyChannel",value:function(o){var a=o.publisherFn,i=o.publisherId,u=m({},i,a());this._notifySubscribers(u)}},{key:"_notifyAll",value:function(){var o=this,a={};Object.keys(this._publishNode).forEach(function(i){var u=o._publishNode[i];a[i]=u()}),this._notifySubscribers(a)}},{key:"_notifySubscribers",value:function(o){var a=this;Object.keys(this._subscribeNode).forEach(function(i){if(a._subscribeNode[i]){var u=a._subscribeNode[i],s=u.subscriberFn,c=u.publisherId;o.hasOwnProperty(c)&&s(o[c])}})}}]),t}();return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function d(n,e){var t=[],r=!0,o=!1,a=void 0;try{for(var i=n[Symbol.iterator](),u;!(r=(u=i.next()).done)&&(t.push(u.value),!(e&&t.length===e));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&i.return&&i.return()}finally{if(o)throw a}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(25),l(275),l(5),l(3),l(22),l(96)],C=l.dj.d(A,function(d,n,e,t,r,o){var a=function(){function i(u){h(this,i),this._viewPortList=u.viewPortList,this.viewModel=u.viewModel,this._geomObjectX={scrollLeft:0,translateX:0},this._geomObjectY={translateY:0,scrollTop:0},this._scrollLeft=0,this._scrollTop=0,this._maxTranslateY=1/0,this._size=new o(this.viewModel),this._headerRects=function(){return{}},this._rowCellRects=function(){return{}},this._rowRects=function(){return{}}}return m(i,[{key:"exposedAPI",value:function(){return{}}},{key:"eventList",value:function(){var s=this,c={};return c[e.internal.TABLE_SCROLL]=function(f){return s._handler(f.event)},c[e.internal.COMPUTE_TRANSLATEX]=function(f){return s._getTranslateX(f.event)},c[e.internal.COMPUTE_TRANSLATEY_AND_HEIGHT]=function(f){return s._getTranslateYAndHeight(f.event)},c[e.internal.TABLE_WIDTH]=function(f){return s._updateGeomObjectForCols(f.event)},c[e.protected.HEADER_RECTS]=function(f){return s._setHeaderNodes(f)},c[e.protected.ROW_CELL_RECTS]=function(f){return s._setRowCellRects(f)},c[e.protected.ROW_RECTS]=function(f){return s._setRowRects(f)},c[e.internal.SCROLL_COMPONENT_UPDATED]=function(f){return s._setScrollBarUpdate(f.event)},c}},{key:"_setScrollBarUpdate",value:function(s){var c=s.scrollHorizontal;this.viewModel.setState(t.CAN_SCROLL_HORIZONTAL,c)}},{key:"_setHeaderNodes",value:function(s){this._headerRects=s.event.children}},{key:"_setRowCellRects",value:function(s){this._rowCellRects=s.event.children}},{key:"_setRowRects",value:function(s){this._rowRects=s.event.children}},{key:"_rowCellRectsHeaderFallback",value:function(s){var c=this._rowCellRects(s);return Object.keys(c).length===0&&s.row!==void 0&&s.col===void 0?this._headerRects():c}},{key:"_calcMaxHeight",value:function(s){for(var c=this._viewPortList[0].getHeight(),f=0,p=Object.keys(s).sort(function(w,x){return w-x}),v=void 0,g=p.length-1;g>=0&&(v=p[g],f+=s[v].height,!(f>c));g-=1);v=Math.max(v,0);var E=(f-c)/s[v].height,D=v,F=Math.floor(this._size.ROW_HEIGHT*(E+D));return[F+c,F]}},{key:"_calcMaxWidth",value:function(s,c){for(var f=this._viewPortList[0].getWidth(),p=0,v=Object.keys(s).sort(function(x,R){return x-R}),g=void 0,E=v.length-1;E>=0&&(g=v[E],p+=s[g].width,!(p>f));E-=1);g=Math.max(g,0);var D=(p-f)/s[g].width,F=g,w=Math.floor(this._size.COL_WIDTH*(D+F));return[w+f,w]}},{key:"_allColumnsInView",value:function(s){var c=this.viewModel.viewBuffer.rangeList[0],f=this.viewModel.getColumnCount();if(c.columns.count===f)return this._geomObjectX.translateX=0,s.result=this._geomObjectX,this._geomObjectX.translateX}},{key:"_isBufferCountZero",value:function(){var s=this.viewModel.viewBuffer.rangeList[0],c=s.rows.count;return c===0}},{key:"_allRowsInView",value:function(){var s=this.viewModel.viewBuffer.rangeList[0],c=this.viewModel.dataSize.rows.end,f=this.viewModel.dataSize.rows.start,p=s.rows.end,v=s.rows.start;return v===f&&c<=p}},{key:"_scrollExceedsTableWidth",value:function(s){this._updateGeomObjectForCols(s);var c=this._geomObjectX,f=c.maxScroll,p=c.physicalWidth,v=c.childClientWidth;if(!d.isColumnHeaderHidden(this.viewModel)&&this._scrollLeft>=f)return this._geomObjectX.translateX=p-v,this._geomObjectX.translateX}},{key:"_setPostUpdateX",value:function(s){var c=this,f=this.viewModel.getStateByKey("LastScrollColumnFn").value,p=this._viewPortList[0].getFirstBufferedRow(),v=f(this._rowCellRectsHeaderFallback({row:p}));v!==s?setTimeout(function(){c.viewModel.deleteState("LastScrollColumn"),c.viewModel.deleteState("LastScrollColumnFn"),c._viewPortList[0].setScrollLeftPx(v,!0)},0):(this.viewModel.deleteState("LastScrollColumn"),this.viewModel.deleteState("LastScrollColumnFn"))}},{key:"_setPostUpdateY",value:function(s){var c=this,f=this.viewModel.getStateByKey("LastScrollRowFn").value,p=f(this._rowRects());p!==s?window.requestAnimationFrame(function(){c.viewModel.deleteState("LastScrollRow"),c.viewModel.deleteState("LastScrollRowFn"),c._viewPortList[0].setScrollTopPx(p,!0)}):(this.viewModel.deleteState("LastScrollRow"),this.viewModel.deleteState("LastScrollRowFn"))}},{key:"_keyboardScrollTranslateY",value:function(s){var c=this._viewPortList[0].getHeight(),f=this._viewPortList[0].getScrollTop(),p=0,v=this.viewModel.getStateByKey("LastScrollRow");if(v)for(var g=v.value,E=this._rowRects(),D=Object.keys(E),F=0;F<D.length;F+=1){var w=D[F];if(p+=E[w].height,Number(w)===g){this._setPostUpdateY(f);var x=Math.min(f-p+c,f);this._geomObjectY.translateY=x;var R=this.viewModel.dataSize.rows.end;return s.result=this._geomObjectY,R===g&&(this._maxTranslateY=x),this._geomObjectY.translateY}}}},{key:"_keyboardScrollTranslateX",value:function(s){var c=this._viewPortList[0].getWidth(),f=this._viewPortList[0].getScrollLeft(),p=0,v=this.viewModel.getStateByKey("LastScrollColumn"),g=this._viewPortList[0].getFirstBufferedRow();if(v)for(var E=v.value,D=this._rowCellRectsHeaderFallback({row:g}),F=Object.keys(D),w=0;w<F.length;w+=1){var x=F[w];if(p+=D[x].width,Number(x)===E){this._setPostUpdateX(f);var R=Math.min(f-p+c-1,f);return this._geomObjectX.translateX=R,s.result=this._geomObjectX,this._geomObjectX.translateX}}}},{key:"_computeTranslateY",value:function(s,c){for(var f=Object.keys(c).sort(function(B,P){return B-P}),p=this._geomObjectY,v=p.physScrollY,g=p.scrollHeight,E=p.scrollYPos,D=p.bufferedRowCount,F=0,w=0;w<D;w+=1){var x=f[w];c[x]&&(F+=c[x].height-this._size.ROW_HEIGHT)}var R=g/this._size.ROW_HEIGHT-1,T=v%this._size.ROW_HEIGHT,S=Math.floor(E-F-R*T),I=Math.min(S,this._maxTranslateY);return this._geomObjectY.translateY=I,s.result=this._geomObjectY,this._geomObjectY.translateY}},{key:"_scrollExceedsTableHeight",value:function(s,c){var f=this._geomObjectY,p=f.maxScroll,v=f.physicalHeight,g=0;if(this._scrollTop>=p){for(var E=Object.keys(c).length,D=0;D<E;D+=1){var F=Object.keys(c)[D];c[F]&&(g=g+c[F].height)}return this._geomObjectY.translateY=v-g,this._geomObjectY.translateY}}},{key:"_getTranslateYAndHeight",value:function(s){s.result=this._geomObjectY;var c=this._rowRects(),f=this._updateGeomObjectForRows(s,c),p=f.isTranslateYChanged;if(!p)return this._scrollExceedsTableHeight(s,c)||this._keyboardScrollTranslateY(s,c)||this._computeTranslateY(s,c)}},{key:"_computeTranslateX",value:function(s){for(var c=this._viewPortList[0].getFirstBufferedRow(),f=this._rowCellRectsHeaderFallback({row:c}),p=Object.keys(f).sort(function(I,B){return I-B}),v=this._geomObjectX,g=v.physScrollX,E=v.scrollWidth,D=v.scrollXPos,F=v.bufferedColCount,w=0,x=0;x<F;x+=1){var R=p[x];f[R]&&(w+=f[R].width-this._size.COL_WIDTH)}var T=E/this._size.COL_WIDTH-1,S=g%this._size.COL_WIDTH;return this._geomObjectX.translateX=Math.floor(D-w-T*S),s.result=this._geomObjectX,this._geomObjectX.translateX}},{key:"_getTranslateX",value:function(s){return s.result=this._geomObjectX,this._allColumnsInView(s)===0?this._geomObjectX.translateX:this._scrollExceedsTableWidth(s)||this._keyboardScrollTranslateX(s)||this._computeTranslateX(s)}},{key:"_updateGeomObjectForCols",value:function(s){var c=s.headerThead,f=this.viewModel.viewBuffer.rangeList,p=f[0].columns.start,v=this._size.COL_WIDTH*p,g=this._viewPortList[0].getLastBufferedColumn(),E=this.viewModel.dataSize.columns.count-1,D=Math.min(E,n.calculateFirstVisible(this._size.COL_WIDTH,this._scrollLeft)),F=E*this._size.COL_WIDTH,w=this._viewPortList[0].getWidth(),x=this.viewModel.getColumnCount();if(f[0].columns.count!==x){var R=Math.min(Math.max(0,D-p),g),T=1/0,S=0,I=Math.floor((F-w)/this._size.COL_WIDTH),B=this._viewPortList[0].getFirstBufferedRow(),P=this._rowCellRectsHeaderFallback({row:B});if(I-r.buffers.COL_OVERSCAN<=p&&g===E){var L=this._calcMaxWidth(P,p),O=y(L,2),W=O[0],j=O[1];T=j,S=Math.floor(W)}this._geomObjectX={maxScroll:T,physicalWidth:S,childClientWidth:c.offsetWidth,scrollXPos:v,bufferedColCount:R,scrollWidth:(P[D]?P[D]:P[p]).width,physScrollX:this._scrollLeft,translateX:this._geomObjectX.translateX}}else{var K=this._viewPortList[0].getFirstBufferedRow(),H=this._rowCellRectsHeaderFallback({row:K}),V=Object.keys(H),$=0;if(V.length>0){for(var G=H[V[0]].left,Q=H[V[0]].right,J=0;J<V.length;J=J+1){var Y=V[J];H[Y].left<G&&(G=H[Y].left),H[Y].right>Q&&(Q=H[Y].right)}$=Q-G}this._geomObjectX.physicalWidth=$}s.result=this._geomObjectX}},{key:"_updateGeomObjectForRows",value:function(s,c){var f=!1,p=this.viewModel.viewBuffer.rangeList,v=p[0].rows.start,g=this._size.ROW_HEIGHT*v,E=this._viewPortList[0].getLastBufferedRow(),D=this.viewModel.dataSize.rows.count-1,F=Math.min(D,n.calculateFirstVisible(this._size.ROW_HEIGHT,this._scrollTop)),w=D*this._size.ROW_HEIGHT,x=this._viewPortList[0].getHeight();if(!this._allRowsInView()&&!this._isBufferCountZero()){var R=Math.min(Math.max(0,F-v),E),T=1/0,S=0,I=Math.floor((w-x)/this._size.ROW_HEIGHT);if(I-r.buffers.ROW_OVERSCAN<=v&&E===D){var B=this._calcMaxHeight(c,v),P=y(B,2),L=P[0],O=P[1];T=O,S=Math.floor(L)}this._geomObjectY={maxScroll:T,physicalHeight:S,scrollYPos:g,bufferedRowCount:R,scrollHeight:(c[F]?c[F]:c[v]).height,physScrollY:this._scrollTop,translateY:this._geomObjectY.translateY}}else{var W=Object.keys(c),j=0;if(W.length>0)for(var K=0;K<W.length;K=K+1)j=c[K].height+j;this._geomObjectY.physicalHeight=j,this._geomObjectY.translateY=0,f=!0}return s.result=this._geomObjectY,{isTranslateYChanged:f}}},{key:"_handler",value:function(s){var c=this.viewModel.viewPort;c.rangeList[0]=this._viewPortList[0].getViewPort(),this._scrollLeft=s.target.scrollLeft,this._scrollTop=s.target.scrollTop,this.viewModel.viewPort=c,d.renderUpdate(this.viewModel,this._viewPortList[0].getBufferedViewPort())}}]),i}();return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(25),l(3),l(5)],C=l.dj.d(A,function(h,d,n){var e=function(){function t(r){m(this,t),this.viewModel=r.viewModel,this._viewPortList=r.viewPortList}return y(t,[{key:"eventList",value:function(){var o=this,a={};return a[n.internal.TABLE_RESIZE]=function(i){return o.handleResize(i.event)},a[n.internal.TABLE_MOUNT]=function(i){return o.handleInit(i.event)},a}},{key:"handleInit",value:function(o){var a=o.table;this._viewPortList[0].setContainer(a)}},{key:"_getContainerWidth",value:function(o){if(o)return o.clientWidth}},{key:"handleResize",value:function(o){var a=this._getContainerWidth(o.container),i=this.viewModel.viewPort;i.rangeList[0]=this._viewPortList[0].getViewPort(a),this.viewModel.viewPort=i,h.renderUpdate(this.viewModel,this._viewPortList[0].getBufferedViewPort(a))}}]),t}();return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(5),l(3),l(30),l(7)],C=l.dj.d(A,function(n,e,t,r,o){var a=function(i){d(u,i);function u(s){m(this,u);var c=h(this,(u.__proto__||Object.getPrototypeOf(u)).call(this)),f=s.viewModel;return c._viewModel=f,c}return y(u,[{key:"exposedAPI",value:function(){var c={};return Object.defineProperty(c,"disable",{get:this._getTableDisabled.bind(this),set:this._setTableDisabled.bind(this),enumerable:!0}),c}},{key:"eventList",value:function(){var c={};return c[e.internal.TABLE_RIGHT_CLICK]=this._handleRightClick.bind(this),c}},{key:"_setTableDisabled",value:function(c){this._viewModel.setState(t.TABLE_DISABLED,c)}},{key:"_getTableDisabled",value:function(){return this._viewModel.getStateByKey(t.TABLE_DISABLED)?this._viewModel.getStateByKey(t.TABLE_DISABLED).value:!1}},{key:"_handleRightClick",value:function(c){var f=c.event,p=f.row,v=f.col,g=f.colEnd,E=f.top,D=f.left,F=f.target,w=this._getRangeFromCellIndices(p,v,g),x=this._viewModel.getStateForCustomEvent(),R=this._viewModel.viewRangeListToDataRangeList([w]);if(R.length>1)throw new Error("Single viewRange cell mapped to multiple ranges");var T=R[0],S=Object.assign(x,{top:E,left:D,viewRange:w,dataRange:T,target:F});r.validateContextMenuEventInfo(S),this.emit(e.exposed.CONTEXT_MENU,S)}},{key:"_getRangeFromCellIndices",value:function(c,f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f,v=Math.max(0,c),g=Math.max(-1,c),E=Math.max(0,f),D=Math.max(-1,p);return o.range().setRows(v,g).setColumns(E,D)}},{key:"emits",get:function(){return[e.exposed.CONTEXT_MENU]}}]),u}(n);return a},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(120),l(276),l(122),l(25)],C=l.dj.d(A,function(d,n,e,t){"use strict";var r=function(){function o(a){h(this,o),a=a||{};var i=a,u=i.isChecked,s=i.getValueForAction,c=i.getA11yProperties,f=i.alignment;this._checkboxDefaultClasses=["mwDefaultVisualFamily","mwEnabled","mwWidget","mwCheckBox","mw-data-checkbox-renderer"],this._checkboxCheckedClasses=["mwCheckBoxChecked"],u&&(this._isChecked=u),s&&(this.getValueForAction=s),c&&(this._getA11yProperties=c),f===n.LEFT||f===n.RIGHT?this._alignment=f:this._alignment=n.CENTER}return m(o,[{key:"_isChecked",value:function(i){return(typeof i=="undefined"?"undefined":y(i))==="object"&&i.checked===!0}},{key:"_getLabel",value:function(i){return i&&i.label?i.label.trim():""}},{key:"getTooltip",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",u="";return this._alignment===n.LEFT&&(u={text:this._getLabel(i)}),u}},{key:"getDomNode",value:function(i,u){var s=document.createElement("span"),c=document.createElement("span"),f=document.createElement("div"),p=document.createElement("div"),v=this._isChecked(i);if(v?c.className=this._checkboxDefaultClasses.concat(this._checkboxCheckedClasses).join(" "):c.className=this._checkboxDefaultClasses.join(" "),i&&i.a11y&&i.a11y.checkboxDescription)f.setAttribute("aria-label",i.a11y.checkboxDescription);else if(this._getA11yProperties){var g=this._getA11yProperties(i);g&&g.checkboxDescription&&f.setAttribute("aria-label",g.checkboxDescription)}var E=t.isInteractive(u)&&!t.isReadOnly(u);if(f.setAttribute("role","checkbox"),f.setAttribute("data-clickable",E),p.setAttribute("data-clickable",E),f.setAttribute("aria-checked",v),f.classList.add("mwCheckBoxRadioIconNode"),p.classList.add("mwCheckBoxRadioIconInner"),f.appendChild(p),c.appendChild(f),this._alignment===n.LEFT){var D=this._getlabelNode(i,u);c.classList.add("mwLabeledCheckbox"),f.classList.add("mwLabeledCheckboxIcon"),c.appendChild(D)}else this._alignment===n.RIGHT&&c.classList.add("mwRightAlignCheckbox");return s.appendChild(c),s.className="mw-table-cell-content mwRenderer",s}},{key:"_getlabelNode",value:function(i,u){var s=document.createElement("span"),c=this._getLabel(i);return s.setAttribute("checkbox-label",!0),e.metaHasHighlightMatches(u)?(s.setAttribute("data-test-id","highlightLabel"),e.appendHighlightDom(s,c,u)):(s.textContent=c,s.setAttribute("data-test-id","label2")),s}},{key:"getAriaLabel",value:function(i){var u=this._isChecked(i)?"checked":"unchecked",s="checkbox "+u;if(i&&i.a11y&&i.a11y.checkboxDescription)return i.a11y.checkboxDescription+" "+s;if(this._getA11yProperties){var c=this._getA11yProperties(i);if(c&&c.checkboxDescription)return c.checkboxDescription+" "+s}return s}},{key:"getValueForAction",value:function(i){var u=d().shallowCopy(i);return(typeof u=="undefined"?"undefined":y(u))==="object"&&u.hasOwnProperty("checked")&&(u.checked=!u.checked),{oldValue:i,newValue:u}}},{key:"handleAction",value:function(i){i=i||{};var u=i,s=u.value,c=u.shouldUpdate,f=u.target;return c===!0||f&&f.getAttribute("data-clickable")?this.getValueForAction(s):null}}]),o}();return r.ALIGNMENT=n,r},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(2)],C=l.dj.d(A,function(y){"use strict";return{getHighlightedTextDOM:function(h,d){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"mw-table-highlight";return this._getHighlightedDomNodes(h,d,n,this._createHighlightedTextContentForDisplay,this._createNonHighlightedTextContentForDisplay)},getHighlightedReact:function(h,d){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"mw-table-highlight";return this._getHighlightedDomNodes(h,d,n,this._createReactHighlightedTextContentForDisplay,this._createReactNonHighlightedTextContentForDisplay)},getFieldSpecificHighlightData:function(h,d){return h.field===d&&Array.isArray(h.matches)?h.matches:!1},_getHighlightedDomNodes:function(h,d,n,e,t){var r=[];if(!(Array.isArray(d)&&d.length>0))return r.push(t(h)),r;for(var o=void 0,a=void 0,i=this._createClassNameLookUp(h,d,n),u=0;u<i.length;){var s=void 0,c=void 0;if(i[u]===0){for(s=u;i[u]===0&&u<i.length;)u++;c=u,o=t(h.substring(s,c)),r.push(o)}if(u<i.length){s=u;for(var f=i[u];i[u]!==0&&u<i.length&&f===i[u];)u++;c=u,a=e(h.substring(s,c),f),a.className=f,r.push(a)}}return r},_createClassNameLookUp:function(h,d,n){for(var e=new Array(h.length).fill(0),t=0;t<d.length;t++)for(var r=d[t],o=r.className||d.className||n,a=r.start+r.count,i=r.start;i<a;i++)e[i]=o;return e},_createHighlightedTextContentForDisplay:function(h){var d=document.createElement("mark");return d.textContent=h,d},_createNonHighlightedTextContentForDisplay:function(h){var d=document.createTextNode(h);return d},_createReactHighlightedTextContentForDisplay:function(h,d){var n=h?h.toString():"";return y.createElement("mark",{className:d,"data-region":!0},n)},_createReactNonHighlightedTextContentForDisplay:function(h){var d=h?h.toString():"";return y.createElement(y.Fragment,{"data-region":!0},d)}}},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var d=function(){function n(){h(this,n)}return m(n,null,[{key:"shallowCopy",value:function(t){var r={};if(t!==null&&(typeof t=="undefined"?"undefined":y(t))==="object"&&!Array.isArray(t)){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r}else return t}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(277)],C=l.dj.d(A,function(n){"use strict";var e=function(t){d(r,t);function r(){return m(this,r),h(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return y(r,[{key:"_createLabelElement",value:function(){var a=document.createElement("span");return a.className="mw-data-label-renderer",a}},{key:"handleAction",value:function(a){return{hasChanged:!0}}}]),r}(n);return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(124),l(16),l(5)],C=l.dj.d(A,function(n,e,t){var r=function(o){d(a,o);function a(i){m(this,a);var u=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));u._handleDoubleClick=u._handleDoubleClick.bind(u),u._preventDefault=u._preventDefault.bind(u);var s=i.viewModel;return u._viewModel=s,u}return y(a,[{key:"eventList",value:function(){var u=this,s={};return s[t.protected.CELL_DBL_CLICK]=function(c){return u._handleDoubleClick(c.event)},s}},{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_handleDoubleClick",value:function(u){this._defaultPrevented=!1;var s=n.getRangeForCell(u.row,u.column),c=this._viewModel.getStateForCustomEvent(),f=Object.assign(c,{cellRange:s,preventDefault:this._preventDefault});this.emit(t.exposed.DOUBLE_CLICKED,f),!this._defaultPrevented&&u.defaultFn&&u.defaultFn()}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[t.exposed.DOUBLE_CLICKED]}}]),a}(e);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function h(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}function d(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var n=function(){function r(){d(this,r)}return y(r,[{key:"isNothing",get:function(){return!1}},{key:"isJust",get:function(){return!1}}],[{key:"fromType",value:function(a,i){return a(i)?new t(a,i):new e}}]),r}(),e=function(r){h(o,r);function o(){return d(this,o),m(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return y(o,[{key:"chain",value:function(i){return this}},{key:"filter",value:function(){return this}},{key:"orElse",value:function(i){return i}},{key:"isNothing",get:function(){return!0}}]),o}(n),t=function(r){h(o,r);function o(a,i){d(this,o);var u=m(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return u._typeCheck=a,u._value=i,u}return y(o,[{key:"chain",value:function(i){return n.fromType(this._typeCheck,i(this._value))}},{key:"filter",value:function(i){return n.fromType(i,this._value)}},{key:"orElse",value:function(){return this._value}},{key:"isJust",get:function(){return!0}}]),o}(n);return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";function y(m,h){var d=[];function n(o){return!(!o||o.columnId===null||o.columnId===void 0||isNaN(h[o.columnId])||h[o.columnId]<0)}function e(o){return!(!o||o.index===null||o.index===void 0||isNaN(o.index))}function t(o,a){return o.parentId===a.parentId}var r={getColumn:{value:function(a){if(!n(a))return null;var i=h[a.columnId];if(!this[i]){var u=Object.create(m[i]);this[i]=u}return this[i]},writable:!1},moveColumn:{value:function(a,i){if(!n(a)){console.warn("invalid column source"+a.columnId+".");return}if(!e(i)){console.warn("invalid target "+i+".");return}var u=i.targetParent,s=Math.min(Math.max(i.index,0),m.length-1),c=h[a.columnId],f=u&&t(m[c],u);if(t(m[c],m[s])||f)return d.push({item:m[c],toIndex:s}),!0;console.warn("The destination index ("+s+") does not share the same parent as the column being moved (columnId: "+a.columnId+")")},writable:!1},moveByParentColumnId:{value:function(a,i){var u=a.colIndexs,s=a.sourceParent,c=a.columnId,f=i.targetParent;if(!!e(i)){var p=Math.min(Math.max(i.index,0),m.length-1);if(!t(s,m[p])&&!t(s,f)){console.warn("The destination index ("+p+") does not share the same parent as the column being moved (columnId: "+c+")");return}return u.map(function(v){d.push({item:m[v],toIndex:p})}),u[0]>p&&d.reverse(),!0}},writable:!1},_moves:{get:function(){return d}}};return Object.create(null,r)}return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(3),l(632),l(635),l(636),l(639)],C=l.dj.d(A,function(n,e,t,r,o){var a=function(i){d(u,i);function u(s){m(this,u);var c=h(this,(u.__proto__||Object.getPrototypeOf(u)).call(this)),f=s.viewModel;return s.emitEditCompleted=c.emitEditCompleted.bind(c),s.emitEditCanceled=c.emitEditCanceled.bind(c),s.emitIconAction=c.emitIconAction.bind(c),c._editController=new e(s),c._widget=f.getStateByKey(n.protected.WIDGET_TYPE).value,c._interactiveController=c._widget===n.protected.TYPE.TABLE?new t(s):new r(s),c}return y(u,[{key:"exposedTreeTableAPIs",value:function(){return{_editCell:this.editCell.bind(this)}}},{key:"emits",get:function(){return["editCompleted","editCanceled","iconAction"]}},{key:"treeTableEmits",get:function(){return["editCompleted","editCanceled","iconAction"]}}]),u}(o);return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(3),l(23),l(7),l(25),l(32),l(633),l(634)],C=l.dj.d(A,function(h,d,n,e,t,r,o){var a=function(){function i(u){m(this,i);var s=u.emitEditCompleted,c=u.dataStore,f=u.viewModel,p=u.emitEditCanceled;this._dataStore=c,this._viewModel=f,this._emitEditCompleted=s,this._emitEditCanceled=p,this._validKeys={},this._editPromise=null,this._editPromiseResolve=null,this._unmountEditor=!1,this._widget=this._viewModel.getStateByKey(h.protected.WIDGET_TYPE).value,this._widgetController=this._widget===h.protected.TYPE.TABLE?r:o;for(var v=d.BACKSPACE;v<=d.SYM2_END;v++)this._validKeys[v]=this._widgetController.isValidKeyDownEvent(v)}return y(i,[{key:"editCell",value:function(s){var c=this,f=s.container;this._editPromise?this._editPromise.then(function(){c._setEditorOnFocusedCell(f)}):this._setEditorOnFocusedCell(f)}},{key:"_setEditorOnFocusedCell",value:function(s){var c=this._viewModel.getStateByKey(h.protected.FOCUSED)||{},f=c;if(f.rangeList&&f.rangeList.length>0){var p=f.rangeList[0];this._widgetController.isTargetCellEditable(s,p)&&this._widgetController.setupEditorOnRange(p,this._viewModel,this._dataStore)}}},{key:"_createEditPromise",value:function(){var s=this;this._editPromise=new Promise(function(c){s._editPromiseResolve=c})}},{key:"_resolveEditPromise",value:function(){this._editPromiseResolve(),this._editPromiseResolve=null,this._editPromise=null}},{key:"eventList",value:function(){var s=this,c={tableKeyPress:function(p){return s.setEditorOnKeyPress(p)},editComplete:function(p){return s.editHandler(p)},enterEditMode:function(p){return s.setEditorOnCell(p)},editCancel:function(p){return s.removeEditorOnCell(p)},editValidation:function(p){return s.handleEditValidation(p)},processEdit:function(p){return s.handleProcessEdit(p)}};return c}},{key:"_updateProcessStart",value:function(s){return this._createEditPromise(),this._setEditProcessingState(s.event),this._widgetController.updateDataStore({obj:s.event,viewModel:this._viewModel,dataStore:this._dataStore})}},{key:"_setEditProcessingState",value:function(s){var c=void 0;if(s){var f=s.row,p=s.column,v=s.oldValue,g=s.newValue,E=s.validationResult;E=E||null,c={},c={location:f+","+p,oldValue:v,newValue:g,validationResult:E}}else c=!1;this._viewModel.setState(h.protected.EDIT_PROCESSING,c)}},{key:"editHandler",value:function(s){var c=this;if(this._editPromise){this._unmountEditor=!0;return}var f=this._widgetController.getDataObj(s,this._viewModel);this._updateProcessStart(s).then(function(){return c._updateSuccess(f)},function(p){return c._updateFailedWithCanceled(f,p)})}},{key:"handleProcessEdit",value:function(s){var c=this;if(!this._editPromise){var f=this._widgetController.getDataObj(s,this._viewModel);this._updateProcessStart(s).then(function(){return c._updateSuccess(f)},function(p){return c._updateFailedWithValidation(f,p)})}}},{key:"_updateSuccess",value:function(s){this._resolveEditPromise(),this.removeEditorOnCell();var c=this._widgetController.getOriginalValuePromise();c.then(function(f){s.oldValue=f}),this._widgetController.emitEditCompletedEvent(s,this._emitEditCompleted.bind(this))}},{key:"_updateFailedWithCanceled",value:function(s,c){var f=e.getValidationInfo(c);this._resolveEditPromise(),this.removeEditorOnCell(),this._widgetController.handleEditCancel({obj:s,validationResult:f,emitEditCanceled:this._emitEditCanceled.bind(this)})}},{key:"_updateFailedWithValidation",value:function(s,c){var f=e.getValidationInfo(c);s.validationResult=f;var p=!this._unmountEditor;p?(this._viewModel.setState(h.protected.EDIT_VALIDATION,{error:!0}),this._resolveEditPromise(),this._setEditProcessingState(s)):(this._resolveEditPromise(),this.removeEditorOnCell(),this._widgetController.handleEditCancel({obj:s,validationResult:f,emitEditCanceled:this._emitEditCanceled.bind(this)}))}},{key:"handleEditValidation",value:function(s){var c=e.getState(h.protected.EDIT_VALIDATION,this._viewModel);c=c===null?{error:!1}:c.value,s.event.error!==c.error&&this._viewModel.setState(h.protected.EDIT_VALIDATION,s.event)}},{key:"setEditorOnCell",value:function(s){if(!t.hasModifierKey(s.event)){var c=s.event,f=c.row,p=c.column,v=n.range().setRows(f,f).setColumns(p,p);this._widgetController.setupEditorOnRange(v,this._viewModel,this._dataStore)}}},{key:"removeEditorOnCell",value:function(s){var c=s?s.event:null;if(this._unmountEditor=!1,this._editPromise===null){e.getState(h.protected.EDIT_STATE,this._viewModel)&&this._viewModel.deleteState(h.protected.EDIT_STATE),e.getState(h.protected.EDIT_TRIGGER,this._viewModel)&&this._viewModel.deleteState(h.protected.EDIT_TRIGGER);var f=e.getState(h.protected.EDIT_VALIDATION,this._viewModel);f&&f.value&&f.value.error&&this._viewModel.setState(h.protected.EDIT_VALIDATION,{error:!1});var p=e.getState(h.protected.EDIT_PROCESSING,this._viewModel);p&&p.value&&this._setEditProcessingState(!1),c&&this._widgetController.handleRemoveEditor(c,this._emitEditCanceled,this._viewModel)}}},{key:"setEditorOnKeyPress",value:function(s){this._widgetController.setEditorOnKeyPress({evt:s,viewModel:this._viewModel,dataStore:this._dataStore,setEditorOnFocusedCell:this._setEditorOnFocusedCell.bind(this),validKeys:this._validKeys})}}]),i}();return a},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(3),l(23),l(25)],C=l.dj.d(A,function(y,m,h){var d={then:function(){}};return{updateDataStore:function(e){var t=e.obj,r=e.viewModel,o=e.dataStore,a=t.row,i=t.column,u=t.newValue,s=h.getViewAndDataRange(a,i,r),c=s.dataRange;return r.clearCurrentSortState(),o.update(c,[[u]])},getDataObj:function(e,t){var r=e.event,o=r.row,a=r.column,i=r.newValue,u=r.oldValue,s=h.getViewAndDataRange(o,a,t),c=s.viewRange,f=s.dataRange;return{oldValue:u,newValue:i,viewRange:c,dataRange:f,row:o,column:a}},emitEditCompletedEvent:function(e,t){delete e.row,delete e.column,t(e)},handleRemoveEditor:function(e,t,r){var o=e.oldValue,a=e.newValue,i=e.validationResult,u=e.row,s=e.column;if(o!==a){var c=h.getViewAndDataRange(u,s,r),f=c.viewRange,p=c.dataRange,v={oldValue:o,newValue:a,viewRange:f,dataRange:p};this.handleEditCancel({obj:v,validationResult:i,emitEditCanceled:t})}},handleEditCancel:function(e){var t=e.obj,r=e.validationResult,o=e.emitEditCanceled;r?t.validationResult=[r]:t.validationResult=[],o(t)},setEditorOnKeyPress:function(e){var t=e.evt,r=e.viewModel,o=e.dataStore,a=e.validKeys,i=t.event;if(!(i.ctrlKey||i.altKey||i.meta||i.shiftKey&&i.keyCode===m.SPACE||this._editPromise)&&a[i.keyCode]){var u=h.getState(y.protected.FOCUSED,r)||{},s=u;if(s.rangeList&&s.rangeList.length>0){var c=s.rangeList[0];if(this.isTargetCellEditable(i.nativeEvent.target,c)){var f=null;return i.keyCode!==m.ENTER&&i.keyCode!==m.SPACE&&(f=i),this.setupEditorOnRange(c,r,o,f)}}}},isTargetCellEditable:function(e,t){if(!e.hasAttribute("data-cell-type")&&t){var r=t.rows.start,o=t.columns.start,a=e.querySelectorAll('[data-row="'+r+'"][data-col="'+o+'"][data-cell-type="EditableTableCell"]');return a.length===1}return e.getAttribute("data-cell-type")==="EditableTableCell"},getOriginalValuePromise:function(){return d},setupEditorOnRange:function(e,t,r,o){var a=h.viewRangeToDataRange(e,t);if(d=h.setOriginalValuePromise(a,r),h.isFocusedRange(e,t)){var i={};i[e.rows.start+","+e.columns.start]=!0,t.setState(y.protected.EDIT_STATE,i,[e]),o&&t.setState(y.protected.EDIT_TRIGGER,o.nativeEvent.key)}},isValidKeyDownEvent:function(e){return e=e||1,e>=m.NUM_START&&e<=m.NUM_END||e===m.SPACE||e===m.ENTER||e>=m.ALPHA_START&&e<=m.ALPHA_END||e>=m.NUMPAD_START&&e<=m.NUMPAD_END||e>=m.SYM1_START&&e<=m.SYM1_END||e>=m.SYM2_START&&e<=m.SYM2_END}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(125),l(25),l(23),l(7)],C=l.dj.d(A,function(y,m,h,d){var n={then:function(){}};return{updateDataStore:function(t){var r=t.obj,o=t.viewModel,a=t.dataStore,i=r.newValue,u=r.column,s=r.node,c=o.getColumnHeaders()[Number(u)]||{dataIndex:u},f=c.dataIndex;o.clearCurrentSortState();var p=[];return p[f]=i,a.update({id:s.id},p)},getDataObj:function(t){return t.event},emitEditCompletedEvent:function(t,r){var o=t.newValue,a=t.oldValue,i=t.column,u=t.node,s=t.columnId;r({cellInfo:{id:u.id,column:i,columnId:s},newValue:o,oldValue:a})},handleRemoveEditor:function(t,r){this.handleEditCancel({obj:t,validationResult:t.validationResult,emitEditCanceled:r})},handleEditCancel:function(t){var r=t.obj,o=t.validationResult,a=t.emitEditCanceled,i=r.newValue,u=r.oldValue,s=r.column,c=r.node,f=r.columnId,p={cellInfo:{id:c.id,column:s,columnId:f},newValue:i,oldValue:u,validationResult:[]};o&&(p.validationResult=[o]),a(p)},setEditorOnKeyPress:function(t){var r=t.evt,o=t.setEditorOnFocusedCell,a=t.validKeys,i=r.event;i.ctrlKey||i.altKey||i.meta||i.shiftKey&&i.keyCode===h.SPACE||a[i.keyCode]&&o(i.nativeEvent.target)},isTargetCellEditable:function(t,r){var o=t,a="Editable";if(!o.hasAttribute("data-cell-type")){var i=r.rows.start,u=r.columns.start,s=o.querySelectorAll('[data-row="'+i+'"][data-col="'+u+'"]'+('[data-cell-type^="'+a+'"]'));return s.length===1}var c=o.getAttribute("data-cell-type");return c.indexOf(a)===0},getOriginalValuePromise:function(){return n},setupEditorOnRange:function(t,r,o){var a=m.viewRangeToDataRange(t,r);n=m.setOriginalValuePromise(a,o);var i={};i[t.rows.start+","+t.columns.start]=!0,r.setState(y.protected.EDIT_STATE,i,[t])},isValidKeyDownEvent:function(t){return t=t||1,t===h.F2||t===h.ENTER}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(5),l(3),l(23),l(25),l(7)],C=l.dj.d(A,function(h,d,n,e,t){var r=function(){function o(a){m(this,o);var i=a.emitEditCompleted,u=a.emitIconAction,s=a.dataStore,c=a.viewModel;this._viewModel=c,this._dataStore=s,this._emitEditCompleted=i,this._emitIconAction=u}return y(o,[{key:"eventList",value:function(){var i={};return i[h.internal.INTERACTIVE_CELL_CLICK]=this._handleCellClickEvent.bind(this),i[h.internal.TABLE_KEY_PRESS]=this._handleKeyPressEvent.bind(this),i}},{key:"_mapViewColumnsToDataColumns",value:function(i){for(var u={},s=i.columns.start;s<=i.columns.end;s++)u[this._getDataColumn(s)]=s;return u}},{key:"_convertViewRangeToDataRange",value:function(i){var u=void 0,s=this._getDataColumn(i.columns.start),c=this._getDataColumn(i.columns.end);i.rows.end===1/0?u=this._dataStore.dataSize.rows.end:u=i.rows.end;var f=t.range().setRows(i.rows.start,u).setColumns(s,c);return f}},{key:"_getNewValueIfUnchecked",value:function(i,u){var s=i.handleAction({value:u,shouldUpdate:!0}),c=void 0;return s?c=!1:c=!0,{oldState:c,value:s}}},{key:"_getDataColumn",value:function(i){var u=this._viewModel.getColumnHeaders()[Number(i)]||{},s=u.dataIndex;return(s<=-1||s===void 0)&&(s=i),s}},{key:"_getOldValueToToggle",value:function(i,u){for(var s=u.range,c=u.renderer,f=this._convertViewRangeToDataRange(s),p=this._mapViewColumnsToDataColumns(s),v=void 0,g=void 0,E=void 0,D=void 0,F=f.rows.start;F<=f.rows.end;F++)for(var w=f.columns.start;w<=f.columns.end;w++){var x=this._getNewValueIfUnchecked(c,i[0][F][w]).oldState;if(x)return g=t.range().setRows(F,F).setColumns(w,w),v=c.handleAction({value:i[0][F][w],shouldUpdate:!0,shouldToggle:!0}),E=p[w],D=t.range().setRows(F,F).setColumns(E,E),{value:v,dataRange:g,viewRange:D}}}},{key:"_updateIconAction",value:function(i,u){this._emitIconAction({viewRange:u,dataRange:i})}},{key:"_updateDataStore",value:function(i,u,s){this._dataStore.update(i,[[s.newValue]]),this._emitEditCompleted({oldValue:s.oldValue,newValue:s.newValue,viewRange:u,dataRange:i})}},{key:"_updateToggledValues",value:function(i){var u=this,s=i.interactiveRenderer,c=i.newToggledValue,f=this,p=s.renderer,v=this._getViewandDataRange(i),g=v.dataRange,E=v.viewRange,D=this._convertViewRangeToDataRange(s.range);this._dataStore.getData([D]).then(function(F){if(c=c||u._getNewValueIfUnchecked(p,F[0][g.rows.start][g.columns.start]).value,c){var w=f._getOldValueToToggle(F,s);w&&u._dataStore.update(w.dataRange,[[w.value.newValue]]),u._updateDataStore(g,E,c)}})}},{key:"_getViewandDataRange",value:function(i){var u=i.viewPosition,s=i.viewRange;u&&(s=t.range().setRows(u.row,u.row).setColumns(u.column,u.column));var c=this._getDataColumn(s.columns.start),f=t.range().setRows(s.rows.start,s.rows.start).setColumns(c,c);return{viewRange:s,dataRange:f}}},{key:"_handleCellClickEvent",value:function(i){var u=this,s=this._viewModel.getStateByKey("interactiveRenderer")||{},c=e.getInteractiveRendererFor(s,i.event.row,i.event.column);if(!!c){var f=c.renderer,p={interactiveRenderer:c,viewPosition:{row:i.event.row,column:i.event.column},newToggledValue:i.event},v=this._getViewandDataRange(p);f.toggle?this._updateToggledValues(p):f.iconAction?this._updateIconAction(v.dataRange,v.viewRange):u._updateDataStore(v.dataRange,v.viewRange,i.event)}}},{key:"_handleKeyPressEvent",value:function(i){var u=this,s=[n.SPACE,n.ENTER],c=[n.SPACE];if(s.includes(i.event.keyCode)){var f=this._viewModel.getStateByKey(d.protected.FOCUSED),p=this._viewModel.getStateByKey("interactiveRenderer")||{};if(f&&f.rangeList&&f.rangeList.length>0){var v=e.getViewIndex(f),g=v.viewRange,E=v.viewColIndex,D=v.viewRowIndex,F=e.getInteractiveRendererFor(p,D,E);if(!F)return;var w=F.renderer;if(!w.iconAction&&!c.includes(i.event.keyCode))return;var x=e.getColumnConfig(this._viewModel,E),R=this._dataStore.getLocalCellMetaData(D,x.dataIndex);if(e.isReadOnly(R)||x.readonly===!0)return;var T={interactiveRenderer:F,viewRange:g},S=this._getViewandDataRange(T),I=S.dataRange;w.toggle?this._updateToggledValues(T):w.iconAction?this._updateIconAction(I,g):this._dataStore.getData([I]).then(function(B){var P=u._getNewValueIfUnchecked(w,B[0][I.rows.start][I.columns.start]).value;P&&u._updateDataStore(I,g,P)})}}}}]),o}();return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(280),l(125),l(23),l(637),l(20),l(638),l(32),l(25)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a){var i=function(){function u(s){m(this,u);var c=s.emitEditCompleted,f=s.emitIconAction,p=s.dataStore,v=s.viewModel;this._viewModel=v,this._dataStore=p,this._emitEditCompleted=c,this._emitIconAction=f}return y(u,[{key:"eventList",value:function(){var c={};return c[h.internal.INTERACTIVE_CELL_CLICK]=this._handleCellClickEvent.bind(this),c[h.internal.TABLE_KEY_PRESS]=this._handleKeyPressEvent.bind(this),c}},{key:"_getInteractiveRenderer",value:function(c,f){var p=this._viewModel.getStateByKey("interactiveRenderer")||{},v=a.getInteractiveRendererFor(p,c,f);if(!!v){var g=v.renderer;return g}}},{key:"_getCurrentlyCheckedValue",value:function(c){var f=this,p=c.data,v=c.row,g=c.column,E=c.renderer,D=c.metaData,F=c.rowIndices,w=this._viewModel.getColumnHeaders()[Number(g)]||{dataIndex:g},x=w.dataIndex,R=void 0;switch(D.rendererConfig.groupBy){case e.PARENT:R=p.map(function(S,I){var B=F[I];return E=f._getInteractiveRenderer(B,g),{row:I,column:x,arrayIndex:I,dataIndex:x,renderer:E}});break;case e.ROW:R=p[0].map(function(S,I){return E=f._getInteractiveRenderer(v,I),{row:0,column:I,arrayIndex:0,dataIndex:I,renderer:E}});break}var T=this._getCheckedValue(R,p);return T}},{key:"_getCheckedValue",value:function(c,f){var p=void 0,v=!0,g=!1,E=void 0;try{for(var D=c[Symbol.iterator](),F;!(v=(F=D.next()).done);v=!0){var w=F.value;if(w.renderer&&w.renderer.toggle&&(p=w.renderer.handleAction(f[w.row][w.column],{actionName:r.CONTROLLER}),p.hasChanged))return{dataIndex:w.dataIndex,value:p,arrayIndex:w.arrayIndex}}}catch(x){g=!0,E=x}finally{try{!v&&D.return&&D.return()}finally{if(g)throw E}}return null}},{key:"_updateToggledValues",value:function(c){var f=this,p=c.row,v=c.column,g=c.node,E=c.metaData,D=c.renderer,F=new t,w=[],x=void 0,R=void 0;switch(E.rendererConfig.groupBy){case e.PARENT:R=this._dataStore.getChildNodes({id:c.metaData.parentId}).then(function(T){return x=T.map(function(S){return w.push(S.index),{id:S.node.id}}),f._dataStore.getData({proxyNodes:x})}).then(function(T){var S={data:T,rowIndices:w,row:p,column:v,metaData:E,renderer:D},I=f._getCurrentlyCheckedValue(S);return F.resolve({currentlyCheckedValue:I,proxyNodes:x}),F.promise});break;case e.ROW:x=[{id:g.id}],R=this._dataStore.getData({proxyNodes:x}).then(function(T){var S={data:T,row:p,column:v,metaData:E,renderer:D},I=f._getCurrentlyCheckedValue(S);return F.resolve({currentlyCheckedValue:I,proxyNodes:x}),F.promise});break}this._updateDataStoreForToggleRenderer(R,c)}},{key:"_updateDataStoreForToggleRenderer",value:function(c,f){var p=this;c.then(function(v){var g=v.currentlyCheckedValue,E=v.proxyNodes;if(g){var D=[],F=E[g.arrayIndex].id;D[g.dataIndex]=g.value.newValue,p._dataStore.update({id:F},D)}p._updateDataStore({newValue:f.newValue,oldValue:f.oldValue,id:f.node.id,row:f.row,column:f.column})})}},{key:"_handleCellClickEvent",value:function(c){var f=c.event,p=f.row,v=f.column,g=this._getInteractiveRenderer(p,v);!g||(c.event.renderer=g,g.toggle?this._updateToggledValues(c.event):g.iconAction?this._updateIconAction(c.event):this._updateDataStore(c.event))}},{key:"_updateIconAction",value:function(c){var f=this._viewModel.getColumnHeaders()[Number(c.column)],p=void 0;c.node?p=c.node.id:p=c.id,this._emitIconAction({cellInfo:{id:p,column:c.column,columnId:f.columnId}})}},{key:"_updateDataStore",value:function(c){var f=this._viewModel.getColumnHeaders()[Number(c.column)]||{dataIndex:c.column},p=f.dataIndex,v=[],g=void 0;v[p]=c.newValue,c.node?g=c.node.id:g=c.id,this._dataStore.update({id:g},v),this._emitEditCompleted({cellInfo:{id:g,column:c.column,columnId:f.columnId},newValue:c.newValue,oldValue:c.oldValue})}},{key:"_handleKeyPressEvent",value:function(c){var f=this,p=o.hasModifierKey(c.event),v=[n.SPACE,n.ENTER],g=[n.SPACE];if(v.includes(c.event.keyCode)&&!p){var E=this._viewModel.getStateByKey(d.protected.FOCUSED);if(E&&E.rangeList&&E.rangeList.length>0){var D=a.getViewIndex(E),F=D.viewColIndex,w=D.viewRowIndex,x=this._getInteractiveRenderer(w,F);if(!x||!x.iconAction&&!g.includes(c.event.keyCode))return;var R=a.getColumnConfig(this._viewModel,F),T=this._dataStore.getLocalCellData(w,R.dataIndex),S=this._dataStore.getLocalCellMetaData(w,R.dataIndex);if(a.isReadOnly(S)||R.readonly===!0)return;var I=x.handleAction(T,{actionName:r.KEY_PRESS});I.hasChanged&&(x.toggle?this._dataStore.getNode({id:S.id}).then(function(B){var P={node:B.node,row:w,column:F,renderer:x,metaData:S,oldValue:I.oldValue,newValue:I.newValue};f._updateToggledValues(P)}):x.iconAction?this._updateIconAction({id:E.value,row:w,column:F}):this._updateDataStore({newValue:I.newValue,oldValue:I.oldValue,id:E.value,row:w,column:F}))}}}}]),u}();return i},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({PARENT:"parent",ROW:"row"});return y},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({CLICK:"click",KEY_PRESS:"keypress",CONTROLLER:"controller"});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16)],C=l.dj.d(A,function(n){var e=function(t){d(r,t);function r(o){return m(this,r),h(this,(r.__proto__||Object.getPrototypeOf(r)).call(this))}return y(r,[{key:"editCell",value:function(a){this._editController.editCell(a)}},{key:"exposedAPI",value:function(){return{_editCell:this.editCell.bind(this)}}},{key:"eventList",value:function(){return[this._editController.eventList(),this._interactiveController.eventList()]}},{key:"emitEditCompleted",value:function(a){this.emit("editCompleted",a)}},{key:"emitEditCanceled",value:function(a){this.emit("editCanceled",a)}},{key:"emitIconAction",value:function(a){this.emit("iconAction",a)}}]),r}(n);return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(3),l(16)],C=l.dj.d(A,function(n,e){var t=function(i){var u=i.event,s=u.ctrlKey,c=u.meta,f=u.shiftKey,p=u.altKey;return s||p||c||f},r="headerEditCompleted",o=function(a){d(i,a);function i(u){m(this,i);var s=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this)),c=u.viewModel;return s._viewModel=c,s}return y(i,[{key:"_isEditInProgress",value:function(){var s=this._viewModel.getStateByKey(n.protected.EDIT_PROCESSING);return s?!!s.value:!1}},{key:"exposedAPI",value:function(){return{}}},{key:"eventList",value:function(){var s=this;return{enterColEditMode:function(f){return s._setEditorOnCol(f)},colEditComplete:function(f){return s._colEditHandler(f)},leaveColEditMode:function(){return s._removeEditor(n.protected.COL_EDIT_STATE)},enterRowEditMode:function(f){return s._setEditorOnRow(f)},rowEditComplete:function(f){return s._rowEditHandler(f)},leaveRowEditMode:function(f){return s._editCompleted(n.protected.ROW_HEADER_EDIT_STATE,r,!1)}}}},{key:"_colEditHandler",value:function(s){var c=this,f=s.event,p=f.oldValue,v=f.newValue,g=f.columnId,E={oldValue:p,newValue:v,columnId:g};return this._viewModel.updateHeader({id:g,value:v}).then(function(){return c._editCompleted(n.protected.COL_EDIT_STATE,r,E)})}},{key:"_rowEditHandler",value:function(s){var c=this,f=s.event,p=f.oldValue,v=f.newValue,g=f.row,E={oldValue:p,newValue:v,rowIndex:g};return this._viewModel.updateRowHeader({rowIndex:g},{value:v}).then(function(){return c._editCompleted(n.protected.ROW_HEADER_EDIT_STATE,r,E)})}},{key:"_editCompleted",value:function(s,c,f){this._removeEditor(s),this.emit(c,f)}},{key:"_setEditorOnCol",value:function(s){if(!(t(s)||this._isEditInProgress())){var c=s.event.columnId;c&&(this._viewModel.setState(n.protected.EDIT_STATE,{}),this._viewModel.setState(n.protected.COL_EDIT_STATE,c))}}},{key:"_setEditorOnRow",value:function(s){if(!(t(s)||this._isEditInProgress())){var c=s.event.row;this._viewModel.setState(n.protected.EDIT_STATE,{}),this._viewModel.setState(n.protected.ROW_HEADER_EDIT_STATE,c)}}},{key:"_removeEditor",value:function(s){this._viewModel.deleteState(n.protected.EDIT_STATE),this._viewModel.deleteState(s)}},{key:"emits",get:function(){return[r]}}]),i}(e);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(3),l(25),l(79)],C=l.dj.d(A,function(n,e,t,r){var o=function(a){d(i,a);function i(u){m(this,i);var s=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this)),c=u.viewModel,f=u.viewPortList;return s._viewPortList=f,s._viewModel=c,s}return y(i,[{key:"exposedAPI",value:function(){var s={};return Object.defineProperty(s,"minRowHeight",{get:this._getMinRowHeight.bind(this),set:this._setMinRowHeight.bind(this),enumerable:!0}),s}},{key:"eventList",value:function(){return{}}},{key:"_setMinRowHeight",value:function(s){r.setAttributes(this._viewModel,{minRowHeight:s}),t.renderUpdate(this._viewModel,this._viewPortList[0].getBufferedViewPort())}},{key:"_getMinRowHeight",value:function(){if(this._viewModel.getStateByKey(e.ROW_HEIGHT))return this._viewModel.getStateByKey(e.ROW_HEIGHT).value;throw new Error("Table does not have a minimum row height")}},{key:"emits",get:function(){return[]}}]),i}(n);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(281),l(32),l(643),l(97),l(280),l(178),l(125),l(23)],C=l.dj.d(A,function(d,n,e,t,r,o,a,i){"use strict";var u=function(){function s(c){h(this,s);var f=c.dataStore,p=c.viewModel;this._viewModel=p,this._dataStore=f,this._keyHandlerList=[],this._preventDefault=this._preventDefault.bind(this),this._widget=this._viewModel.getStateByKey(a.protected.WIDGET_TYPE).value}return m(s,[{key:"_getKeyHandlerList",value:function(){return this._keyHandlerList}},{key:"_setKeyHandlerList",value:function(f){this._keyHandlerList=f}},{key:"eventList",value:function(){var f={};return f[r.protected.KEY_PRESS]=this._handleTableKeyPress.bind(this),f}},{key:"exposedTreeTableAPIs",value:function(){return{addCustomKeyHandler:this.addCustomKeyHandler.bind(this),removeCustomKeyHandler:this.removeCustomKeyHandler.bind(this)}}},{key:"exposedAPI",value:function(){return{addCustomKeyHandler:this.addCustomKeyHandler.bind(this),removeCustomKeyHandler:this.removeCustomKeyHandler.bind(this)}}},{key:"removeCustomKeyHandler",value:function(f){if(!f||typeof f!="string")throw new Error("Invalid KeyHandlerName, "+f+" should be a String.");var p=this._getKeyHandlerList();if(!n.isPropertyInTheObject(p,o.KEY_HANDLER_NAME,f))throw new Error("Invalid KeyHandlerName, "+f+" has not been added by addCustomKeyHandler API.");p&&Array.isArray(p)&&p.length>0&&(p=p.filter(function(v){return v[o.KEY_HANDLER_NAME]!==f}),this._setKeyHandlerList(p))}},{key:"addCustomKeyHandler",value:function(f,p,v){if(!f||typeof f!="string")throw new Error("Invalid KeyHandlerName, "+f+" should be a String.");var g=this._getKeyHandlerList();if(n.isPropertyInTheObject(g,o.KEY_HANDLER_NAME,f))throw new Error("Invalid KeyHandlerName, "+f+" should be Unique, "+f+" is already bound to addCustomKeyHandler API.");if(typeof v!="function")throw new Error("Invalid KeyHandler callback, "+v+" should be a function.");this._generateKeyHandlerList(f,p,v,g)}},{key:"_generateKeyHandlerList",value:function(f,p,v,g){var E=arguments.length>4&&arguments[4]!==void 0?arguments[4]:t.internal.ALL;if(p&&Array.isArray(p)){if(e.validatingKeyBindingLength(p),n.hasDuplicates(p))throw new Error("Invalid KeyBinding, Duplicate keycode found.");var D=!0,F=!1,w=void 0;try{for(var x=p[Symbol.iterator](),R;!(D=(R=x.next()).done);D=!0){var T=R.value;this._validatingIndividualKeyCombination(T,E,g);var S=d.isKeyBindingInHandlerList(T,f,g);if(S){var I=d.findPropertyInTheObject(T,f,g);I&&I[o.PLATFORMS]&&this._updateKeyHandlerObjectWithPlatform(I[o.PLATFORMS],E)}if(T&&!S){var B=d.getModifierLookupList();Array.isArray(T)&&(B=d.getModifierKeyCodeList(T));var P={};P[o.KEY_CODE]=T,P[o.KEY_HANDLER_NAME]=f,P[o.KEY_HANDLER]=v,P[o.PLATFORMS]=[E],P[o.MODIFIER_KEY_LIST]=B,g.push(P)}}}catch(O){F=!0,w=O}finally{try{!D&&x.return&&x.return()}finally{if(F)throw w}}}else if(p&&(typeof p=="undefined"?"undefined":y(p))==="object"){e.validatingKeyBindingLength(Object.keys(p)),e.validatingPlatformInKeyBinding(p);for(var L in p)p.hasOwnProperty(L)&&this._generateKeyHandlerList(f,p[L],v,g,L)}else throw new Error("Invalid KeyBinding, it should be an Array or Object")}},{key:"_validatingIndividualKeyCombination",value:function(f,p,v){if(!f)throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc.");if(Array.isArray(f)){if(f.length<=1)throw new Error("Invalid KeyBinding, Key Combination should have one regular key and multiple modifier keys");e.validateSequenceOfKeyCombination(f),e.validateKeyCombinations(f,p,v)}else{if(!d.keyCodeLookUpArray().includes(f))throw new Error("Invalid KeyBinding, Please refer to valid keycode in jsDoc");var g=d.findKeyCodeInTheList(f,p,v);if(g&&g[o.KEY_HANDLER_NAME])throw new Error("Invalid KeyBinding, "+n.getKeyByValue(i,f)+" is already bound to "+g[o.KEY_HANDLER_NAME]+" KeyHandler")}}},{key:"_updateKeyHandlerObjectWithPlatform",value:function(f,p){var v=d.isPlatformInTheList(f,p);!v&&Array.isArray(f)&&f.push(p)}},{key:"_getTableSelectionState",value:function(){var f=this._viewModel.getStateByKey(a.protected.SELECTED);return f&&f.rangeList?f.rangeList:null}},{key:"_getTreeTableSelectionState",value:function(){var f=this._viewModel.getStateByKey(a.protected.SELECTED);return f&&f.value?f.value:[]}},{key:"_getSelection",value:function(){if(this._widget==="Table"){var f=this._getTableSelectionState();return f}else if(this._widget==="TreeTable"){var p=this._getTreeTableSelectionState(),v=p.map(function(g){return{id:g}});return v}}},{key:"_getFocusedState",value:function(){return this._viewModel.getStateByKey(a.protected.FOCUSED)||null}},{key:"_getFocused",value:function(){var f={},p=this._getFocusedState();if(this._widget==="Table")return p;if(this._widget==="TreeTable")return p&&p.rangeList[0]&&p.value&&(f.column=p.rangeList[0].columns.start,f.id=p.value),f}},{key:"_handleTableKeyPress",value:function(f){var p=this;this._defaultPrevented=!1;var v=Object.assign([],this._getKeyHandlerList()),g=f.event,E={};if(E.preventDefault=this._preventDefault,E.selectedRows=this._getSelection(),E.focusedCell=this._getFocused(),v){var D=v.filter(function(I){return p._isKeyHandlerObjInTheList(g,I)}),F=!0,w=!1,x=void 0;try{for(var R=D[Symbol.iterator](),T;!(F=(T=R.next()).done);F=!0){var S=T.value;if(S[o.KEY_HANDLER](E),this._defaultPrevented)break}}catch(I){w=!0,x=I}finally{try{!F&&R.return&&R.return()}finally{if(w)throw x}}}!this._defaultPrevented&&g.eventCallback&&this._emitExistingEvents(g)}},{key:"_isKeyHandlerObjInTheList",value:function(f,p){var v=n.getUsersPlaform(),g=p[o.KEY_CODE],E=p.modifierKeyList;Array.isArray(g)&&(g=d.getKeyCodeArray(g)[0]);var D=d.isPlatformInTheList(p[o.PLATFORMS],v),F=D;return!D&&p[o.PLATFORMS][0]===t.internal.ALL&&(F=!0),f[o.KEY_CODE]===g&&f[o.ALT_KEY]===E[o.ALT_KEY]&&f[o.CTRL_KEY]===E[o.CTRL_KEY]&&f[o.META]===E[o.META]&&f[o.SHIFT_KEY]===E[o.SHIFT_KEY]&&F}},{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_emitExistingEvents",value:function(f){var p=f.nativeEvent,v=f.keyCode,g=f.meta,E=f.ctrlKey,D=f.shiftKey,F=f.altKey,w=r.internal.TABLE_KEY_PRESS;f.eventCallback&&f.eventCallback(w,{nativeEvent:p,keyCode:v,meta:g,ctrlKey:E,shiftKey:D,altKey:F})}}]),s}();return u},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(281),l(32),l(97),l(178)],C=l.dj.d(A,function(h,d,n,e){var t=function(){function r(){m(this,r)}return y(r,null,[{key:"validatingKeyBindingLength",value:function(a){if(d.isArrayEmpty(a))throw new Error("Invalid KeyBinding, one or more values are empty")}},{key:"validatingPlatformInKeyBinding",value:function(a){var i=n.exposed.WINDOWS in a,u=n.exposed.LINUX in a,s=n.exposed.MAC in a;if(!(i&&u&&s))throw new Error("Invalid KeyBinding, it should have TreeTable.PLATFORMS.WINDOWS, TreeTable.PLATFORMS.LINUX and TreeTable.PLATFORMS.MAC as a key")}},{key:"validateSequenceOfKeyCombination",value:function(a){if(a){if(d.hasDuplicates(a))throw new Error("Invalid KeyBinding, Duplicate Key Combination found");var i=h.getKeyCodeArray(a);if(i.length!==1)throw new Error("Invalid KeyBinding, Excluding modifiers, there can only be one key for the binding");return!0}return!1}},{key:"validateKeyCombinations",value:function(a,i,u){if(a&&i&&u){var s=u.filter(function(D){return Array.isArray(D.keyCode)}),c=!0,f=!1,p=void 0;try{for(var v=s[Symbol.iterator](),g;!(c=(g=v.next()).done);c=!0){var E=g.value;if(d.isArrayMatching(E[e.KEY_CODE],a)&&h.isThePlatformInObject(E[e.PLATFORMS],i))throw new Error("Invalid KeyBinding, Key Combination is already bound to addCustomKeyHandler API")}}catch(D){f=!0,p=D}finally{try{!c&&v.return&&v.return()}finally{if(f)throw p}}}}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(124),l(19),l(179),l(16),l(647),l(23)],C=l.dj.d(A,function(h,d,n,e,t,r){"use strict";var o=function(){function a(i){var u=this;m(this,a),this.adaptor=i.adaptor,this.eventCallback=i.eventCallback;var s=new e;this._emit=s.emit.bind(s),this.on=s.on.bind(s),this._events={},i.adaptor.on("cellFocusClick",function(c){return u._rowClicked(c)}),i.adaptor.on("cellFocusKeyPress",function(c){return u._keyPressed(c)})}return y(a,[{key:"exposedAPI",value:function(){return{setCellFocus:this.setCellFocus.bind(this),getFocusedCell:this.getFocusedCell.bind(this)}}},{key:"_rowClicked",value:function(u){var s=h.getRangeForCell(u.row,u.column);this.adaptor.setFocusState([s]),this._emit("cellFocused",s)}},{key:"_keyPressed",value:function(u){var s=u.range?[u.range]:[];this.adaptor.setFocusState(s)}},{key:"setCellFocus",value:function(u){var s=this;return d.convertSyncFunctionToPromise(function(){return s.adaptor.setFocusState(u)})}},{key:"getFocusedCell",value:function(){var u=this.adaptor.getFocusState(),s={};return u&&u.rangeList[0]&&(s.row=u.rangeList[0].rows.start,s.column=u.rangeList[0].columns.start),s}},{key:"emits",get:function(){return["cellFocused"]}},{key:"listensOn",get:function(){return["cellFocusClick","cellFocusKeyPress"]}}],[{key:"adaptor",get:function(){return t}}]),a}();return o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(22)],C=l.dj.d(A,function(y){"use strict";function m(h){function d(r,o){for(var a=Math.max(r,0),i=0;o[a-=1];)i+=o[a].height;return i}function n(r,o,a){var i=Math.max(o,0),u=0;do u+=a[i].height;while(a[i-=1]);return Math.max(0,u-r)}function e(r,o){for(var a=Math.max(r,0),i=0;o[a-=1];)i+=o[a].width;return i}function t(r,o,a){var i=Math.max(o,0),u=0;do u+=a[i].width;while(a[i-=1]);return Math.max(0,u-r)}return{getScrollLeftPosition:e,getScrollRightPosition:t,getScrollBottomPosition:n,getScrollTopPosition:d}}return m},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(283)],C=l.dj.d(A,function(y){"use strict";function m(h){function d(r){return Math.max(0,r)*h.ROW_HEIGHT}function n(r,o,a){var i=y.maybe(a[o]).chain(function(g){return g.height}).therefore(-1,function(g){return r-g});if(i<0)return Math.max(d(o+1)-r,0);for(var u=o,s=0;a[u-=1]&&s<i;)s+=a[u].height;u+=1;var c=s-i,f=Math.max(0,c/a[u].height),p=Math.floor(f*h.ROW_HEIGHT),v=Math.floor(h.ROW_HEIGHT*u)+p;return v}function e(r){return Math.max(0,h.COL_WIDTH*r)}function t(r,o,a){var i=y.maybe(a[o]).chain(function(g){return g.width}).therefore(-1,function(g){return r-g});if(i<0)return Math.max(e(o)-r,0);for(var u=o,s=0;a[u-=1]&&s<i;)s+=a[u].width;u+=1;var c=s-i,f=Math.max(0,c/a[u].width),p=Math.floor(f*h.COL_WIDTH),v=Math.floor(h.COL_WIDTH*u)+p;return v}return{getScrollLeftPosition:e,getScrollRightPosition:t,getScrollBottomPosition:n,getScrollTopPosition:d}}return m},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(16),l(19),l(7),l(68),l(3),l(5)],C=l.dj.d(A,function(h,d,n,e,t,r){"use strict";var o=function(){function a(i){m(this,a);var u=new h;this._emit=u.emit.bind(u),this.on=u.on.bind(u),this._tableView=i.tableView,this.viewModel=i.viewModel,this._logicalViewPort=i.viewPortList[0],this._events={},this._resizeSelection=!1,this._rowCellRects=function(){return{}},this._headerRects=function(){return{}}}return y(a,[{key:"eventList",value:function(){var u=this,s={};return s[r.protected.TABLE_CELL_CLICK]=function(c){return u._emit(r.protected.CELL_FOCUS_CLICK,c.event)},s[r.protected.TABLE_CELL_FOCUS]=function(c){return u._emit(r.protected.CELL_FOCUS_CLICK,c.event)},s[r.internal.TABLE_KEY_PRESS]=function(c){return u._processAndEmitKeyPress(c)},s[r.protected.ROW_SELECTION_CLICK]=function(c){return u._rowHeaderWithFocus(c)},s[r.protected.CELL_DOM_FOCUS_CACHE]=this._cacheFocusToOuterWrapper.bind(this),s[r.protected.RESIZE_SELECTION_BEGIN]=function(c){return u._handleResizeBegin(c)},s[r.protected.RESIZE_SELECTION_END]=function(c){return u._handleResizeEnd(c)},s[r.protected.ROW_CELL_RECTS]=function(c){return u._setRowCellRects(c)},s}},{key:"_setRowCellRects",value:function(u){this._rowCellRects=u.event.children}},{key:"_handleResizeBegin",value:function(u){this._resizeSelection=!0}},{key:"_handleResizeEnd",value:function(u){this._resizeSelection=!1}},{key:"_rowHeaderWithFocus",value:function(u){var s=u.event.row,c=this.getFocusState(),f=void 0;if(c)f=c.rangeList[0].columns.start;else{var p=this._rowCellRectsHeaderFallback({row:s});f=e.getFirstVisibleColumn(this._logicalViewPort,this.viewModel,p)}var v=n.range().setRows(s,s).setColumns(f,f);this._setFocus(v)}},{key:"_rowCellRectsHeaderFallback",value:function(u){var s=this._rowCellRects(u);return Object.keys(s).length===0&&u.row!==void 0&&u.col===void 0?this._headerRects():s}},{key:"_processAndEmitKeyPress",value:function(u){var s=u.event,c={keyCode:s.keyCode},f=e.getActiveCell(this.viewModel);c.modifiers=s,c.dataSize={},c.viewPort={},c.dataSize=u.dataSize,c.viewPort=u.viewPort.rangeList[0],c.range=f&&f.rows?f:null,this._emit(r.protected.CELL_FOCUS_KEY,c)}},{key:"_removeFocus",value:function(){this.viewModel.deleteState(t.protected.FOCUSED),this.viewModel.deleteState(t.protected.ACTIVE_CELL)}},{key:"_setFocus",value:function(u){if(!this._resizeSelection){var s=d.curry(e.fitRangeToBounds)(this.viewModel.dataSize.rows.end,this.viewModel.dataSize.columns.end),c=n.range().setRows(u.rows.start,u.rows.start).setColumns(u.columns.start,u.columns.start),f=s(c);this.viewModel.setState(t.protected.FOCUSED,null,[f]),this.viewModel.setState(t.protected.ACTIVE_CELL,null,[f])}}},{key:"_setAsyncFocus",value:function(u){var s=this;d.convertSyncFunctionToPromise().then(function(){return s._setFocus(u)})}},{key:"_isFocusRangeValid",value:function(){return!!(this.getFocusState()&&this.getFocusState().rangeList.length&&this.getFocusState().rangeList[0]!==null)}},{key:"_cacheFocusToOuterWrapper",value:function(){return this._tableView.focus()}},{key:"setFocusState",value:function(u){if(!u)throw this._removeFocus(),new Error("The usage of range argument "+u+" is not correct in setCellFocus API. Please check JSDoc to see the correct usage.");if(this.viewModel.deleteState(t.protected.PENDING_FOCUS_FUNC),Array.isArray(u)){if(u.length===0)return this._removeFocus();var s=e.isRangeVisible(u[0],this.viewModel.viewBuffer.rangeList[0]);return s?this._setFocus(u[0]):this.viewModel.setState(t.protected.PENDING_FOCUS_FUNC,this._setAsyncFocus.bind(this),u)}}},{key:"getFocusState",value:function(){var u=this.viewModel.getStateByKey(t.protected.FOCUSED);return u||void 0}}]),a}();return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(7),l(16),l(284),l(23),l(5)],C=l.dj.d(A,function(n,e,t,r,o){"use strict";var a=function(s){return s.ctrlKey||s.metaKey||s.meta},i=function(u){d(s,u),y(s,[{key:"_handleSelectedAction",value:function(f){this.emit("selectedAction",f)}},{key:"emits",get:function(){return[o.exposed.SELECTION_CHANGED,"selectedAction"]}}]);function s(c){m(this,s);var f=h(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return f.adaptor=c.adaptor,f._events={},c.adaptor.on(o.protected.CELL_SELECTION_CLICK,function(p){return f._calculateProperSelection(p)}),c.adaptor.on(o.protected.CELL_SELECTION_KEY,function(p){return f._keyPressed(p)}),c.adaptor.on(o.protected.TABLE_SELECTED_ACTION,function(p){return f._handleSelectedAction(p)}),f}return y(s,[{key:"_calculateProperSelection",value:function(f){var p=n.range().setEntireRows(Number(f.row)),v=a(f),g=n.range().setEntireRows(p.rows.start,p.rows.start),E=this.adaptor.isRowSelected(g)<0;v?E?this.adaptor.setSelectionState([g]):this.adaptor.setSelectionState([]):this.adaptor.setIndividualRow(p),(p&&E||p&&v)&&this.emit(o.exposed.SELECTION_CHANGED,this.adaptor.getSelectionState())}},{key:"_keyPressed",value:function(f){if(a(f))if(f.keyCode===r.SPACE){this._calculateProperSelection(f);return}else if(f.keyCode===r.A)f.nativeEvent.preventDefault();else return;switch(f.keyCode){case r.ARROW_DOWN:case r.ARROW_UP:case r.PAGE_DOWN:case r.PAGE_UP:case r.HOME:case r.END:case r.SPACE:this._calculateProperSelection(f);break}}},{key:"setSelection",value:function(f){if(Array.isArray(f)){var p=void 0;if(f.length>=1){var v=void 0;v=f[0],p=[n.range().setEntireRows(v.rows.start,v.rows.start)]}else p=[];this.adaptor.setSelectionState(p)}}},{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"exposedAPI",value:function(){return{setSelection:this.setSelection.bind(this),getSelection:this.getSelection.bind(this)}}}],[{key:"adaptor",get:function(){return t}}]),s}(e);return i},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(7),l(16),l(284),l(23),l(5)],C=l.dj.d(A,function(n,e,t,r,o){"use strict";var a=function(f){return f.ctrlKey||f.metaKey||f.meta},i=function(f,p){return f<p?-1:f>p?1:0},u=function(f,p){var v=i(f.rows.start,p.rows.start);return v===0?i(f.rows.end,p.rows.end):v},s=function(c){d(f,c),y(f,[{key:"_handleSelectedAction",value:function(v){this.emit("selectedAction",v)}},{key:"emits",get:function(){return[o.exposed.SELECTION_CHANGED,"selectedAction"]}}]);function f(p){m(this,f);var v=h(this,(f.__proto__||Object.getPrototypeOf(f)).call(this));return v.adaptor=p.adaptor,p.adaptor.on(o.protected.CELL_SELECTION_CLICK,function(g){return v._calculateProperSelection(g)}),p.adaptor.on(o.protected.CELL_SELECTION_KEY,function(g){return v._keyPressed(g)}),p.adaptor.on(o.protected.TABLE_SELECTED_ACTION,function(g){return v._handleSelectedAction(g)}),v}return y(f,[{key:"_hasSelectionChanged",value:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],g=this.adaptor.getSelectionState()||[],E=!0;return v.sort(u),g.length===v.length&&(g.sort(u),E=v.reduce(function(D,F,w){return D||!n.isRangeEqual(F,g[w])},!1)),E}},{key:"_calculateProperSelection",value:function(v){var g=v.row!==void 0?n.range().setEntireRows(Number(v.row)):null,E=this.adaptor.getSelectionState()||[];a(v)?v.keyCode===r.A?this.adaptor.setAllRows():this.adaptor.setDiscontiguousRow(g):v.shiftKey?this.adaptor.setContiguousRows(g):this.adaptor.setIndividualRow(g),this._hasSelectionChanged(E)&&this.emit(o.exposed.SELECTION_CHANGED,{rangeList:this.adaptor.getSelectionState()})}},{key:"_keyPressed",value:function(v){if(a(v)){v.keyCode===r.SPACE?this._calculateProperSelection(v):v.keyCode===r.A&&(v.nativeEvent.preventDefault(),this._calculateProperSelection(v));return}switch(v.keyCode){case r.ARROW_DOWN:case r.ARROW_UP:case r.PAGE_DOWN:case r.PAGE_UP:case r.HOME:case r.END:this._calculateProperSelection(v);break;case r.SPACE:v.shiftKey?this._calculateProperSelection(v):this.adaptor.isRowSelected(n.range().setEntireRows(Number(v.row)))<0&&(v.ctrlKey=!0,this._calculateProperSelection(v));break;default:break}}},{key:"setSelection",value:function(v){if(Array.isArray(v)){var g=v.map(function(E){return n.range().setEntireRows(E.rows.start,E.rows.end)});this.adaptor.setSelectionState(g)}}},{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"exposedAPI",value:function(){return{setSelection:this.setSelection.bind(this),getSelection:this.getSelection.bind(this)}}}],[{key:"adaptor",get:function(){return t}}]),f}(e);return s},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(7),l(16),l(651),l(5),l(23)],C=l.dj.d(A,function(n,e,t,r,o){"use strict";var a=function(s){return s.ctrlKey||s.metaKey},i=function(u){d(s,u),y(s,[{key:"_handleSelectedAction",value:function(f){this.emit("selectedAction",f)}},{key:"emits",get:function(){return[r.exposed.SELECTION_CHANGED,"selectedAction"]}}]);function s(c){m(this,s);var f=h(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));f.adaptor=c.adaptor,f.previousFulcrum=n.range(),f.previousRangeList=[],f.ctrlClickSelectCell=c.hasOwnProperty("ctrlClickSelectCell")?c.ctrlClickSelectCell:!0;var p=t.event;return c.adaptor.on(p.RANGE_SELECTION,function(v){return f._handleKeySelection(v)}),c.adaptor.on(p.COLUMN_SELECTION,function(v){return f._handleColumnSelection(v)}),c.adaptor.on(p.ROW_SELECTION,function(v){return f._handleRowSelection(v)}),c.adaptor.on(p.SELECT_ALL,function(v){return f._handleSelectAll(v)}),c.adaptor.selectHeaders=!0,c.adaptor.applyToCells=!0,f}return y(s,[{key:"_handleSelectAll",value:function(f){var p=n.range().setEntireColumns(0,1/0);this._updateSelection(f,p)}},{key:"_handleColumnSelection",value:function(f){var p=f.activeCell,v=f.fulcrum,g=p.columns.start,E=Math.min(v.columns.start,g),D=Math.max(v.columns.end,g);f.groupedSelection||(a(f)||!f.shiftKey)&&(E=Math.min(p.columns.start,g),D=E);var F=Math.min(E,D),w=Math.max(E,D),x=n.range().setEntireColumns(F,w);this._updateSelection(f,x)}},{key:"_handleRowSelection",value:function(f){var p=f.activeCell,v=f.fulcrum,g=p.rows.start,E=Math.min(v.rows.start,g),D=Math.max(v.rows.end,g);(a(f)||!f.shiftKey)&&(E=Math.min(p.rows.start,g),D=E);var F=Math.min(E,D),w=Math.max(E,D),x=n.range().setEntireRows(F,w);this._updateSelection(f,x)}},{key:"_handleKeySelection",value:function(f){var p=f.fulcrum,v=f.activeCell,g=void 0;if(!a(f)&&!f.shiftKey)g=n.range().setRows(v.rows.start,v.rows.start).setColumns(v.columns.start,v.columns.start);else if(!a(f)&&f.shiftKey){var E=Math.min(p.rows.start,v.rows.start),D=Math.max(p.rows.end,v.rows.end),F=Math.min(p.columns.start,v.columns.start),w=Math.max(p.columns.end,v.columns.end),x=Math.min(F,w),R=Math.max(F,w),T=Math.min(E,D),S=Math.max(E,D);g=n.range().setRows(T,S).setColumns(x,R)}else if(a(f)){if(this.ctrlClickSelectCell&&!this._isNavigationKey(f.keyCode)&&!f.shiftKey)g=this.adaptor.getSelection(),n.isRangeInsideRangeList(v,g)?(g=n.removeRangeFromRangeList(g,v),this.adaptor.setSelection(g,{activeRange:n.range()})):(g.push(v),this.adaptor.setSelection(g,{activeRange:v})),this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()});else{var I=this.adaptor.getSelection();this.adaptor.setSelection(I)}return}this._updateSelection(f,g)}},{key:"_updateSelection",value:function(f,p){if(f.resizeSelectionInProgress){var v=f.fulcrum;this.previousFulcrum=v,this._modifyActiveRangeResize(p)}else if(a(f)&&f.shiftKey){var g=this.adaptor.getSelection();this.adaptor.setSelection(g)}else!a(f)&&f.shiftKey?f.dragEvent?this._modifyActiveRangeResize(p):this._additiveUpdate(f,p):!a(f)||a(f)&&f.keyCode===o.A?this._newSelection(p,f):this._discreteAdditiveUpdate(p,f)}},{key:"_discreteAdditiveUpdate",value:function(f,p){var v=p.fulcrum,g=this.adaptor.getSelection();n.isRangeInsideRangeList(f,g)?this.adaptor.setSelection(g,{activeRange:f}):(this.previousRangeList=g.slice(),g=n.removeRangeFromRangeList(g,f),g.push(f),this.previousFulcrum=v,this.adaptor.setSelection(g,{activeRange:f}),this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()}))}},{key:"_newSelection",value:function(f,p){var v=p.fulcrum,g=this.adaptor.getSelection(),E=g.length===1?n.isRangeEqual(f,g[0]):!1;this.adaptor.setSelection([f],{activeRange:f}),this.previousRange=f,this.previousRangeList=[],this.previousFulcrum=v,E||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})}},{key:"_additiveUpdate",value:function(f,p){var v=f.fulcrum;n.isRangeEqual(this.previousFulcrum,v)||v.rows.end===1/0&&this.previousFulcrum.columns.end===1/0||v.columns.end===1/0&&this.previousFulcrum.rows.end===1/0?this._modifyActiveRange(p):this._startNewActiveRange(p),this.previousRange=p,this.previousFulcrum=v}},{key:"_startNewActiveRange",value:function(f){var p=this.adaptor.getSelection();this.previousRangeList=p;var v=n.isRangeInsideRangeList(f,p);p=n.removeRangeFromRangeList(p,f),p.push(f),this.adaptor.setSelection(p,{activeRange:f}),v||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})}},{key:"_modifyActiveRange",value:function(f){var p=this.adaptor.getSelection(),v=this.adaptor.getSelection();n.isRangeInsideRangeList(f,this.previousRangeList)?(this.adaptor.setSelection(this.previousRangeList,{activeRange:f}),n.isRangeInsideRangeList(this.previousRange,this.previousRangeList)||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})):(p=n.removeRangeFromRangeList(this.previousRangeList,f),p.push(f),this.adaptor.setSelection(p,{activeRange:f}),n.isRangeInsideRangeList(this.previousRange,p)?n.isRangeInsideRangeList(f,v)||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()}):this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()}))}},{key:"_modifyActiveRangeResize",value:function(f){for(var p=this.adaptor.getSelection(),v=!0,g=0;g<p.length;g++)if(!n.isRangeEqual(f,p[g])){v=!1;break}if(!v){var E=this.adaptor.getActiveRange(),D=n.removeRangeFromRangeList(p,f);E.value&&(D=n.removeRangeFromRangeList(D,E.value)),D.push(f),this.adaptor.setSelection(D,{activeRange:f}),this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})}}},{key:"_isNavigationKey",value:function(f){return f&&(f===o.ARROW_LEFT||f===o.ARROW_RIGHT||f===o.ARROW_UP||f===o.ARROW_DOWN||f===o.PAGE_UP||f===o.PAGE_DOWN||f===o.HOME||f===o.END)}},{key:"setSelection",value:function(f){if(!!Array.isArray(f)){for(var p=[],v=f.slice(),g=v.shift();g;)p.push(g),v=n.removeRangeFromRangeList(v,g),g=v.shift();return this.adaptor.setSelection(p),p}}},{key:"getSelection",value:function(){return this.adaptor.getSelection()}},{key:"exposedAPI",value:function(){return{setSelection:this.setSelection.bind(this),getSelection:this.getSelection.bind(this)}}}],[{key:"adaptor",get:function(){return t}}]),s}(e);return i},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(7),l(16),l(68),l(3),l(5),l(23),l(96),l(179),l(652)],C=l.dj.d(A,function(n,e,t,r,o,a,i,u,s){"use strict";var c=function(x){return x.ctrlKey||x.meta||x.metaKey},f=Object.freeze({RANGE_SELECTION:"rangeSelection",COLUMN_SELECTION:"columnSelection",ROW_SELECTION:"rowSelection",SELECT_ALL:"selectAll"}),p=15,v=function(x,R){var T=Object.getOwnPropertyNames(R);if(T.length===0)return-1;if(x.x>=R[T[T.length-1]].right)return Number(T[T.length-1]);for(var S=0;S<T.length;S+=1){var I=T[S];if(x.x>=R[I].left&&x.x<R[I].right)return Number(I)}return-1},g=function(x,R){var T=Object.getOwnPropertyNames(R);if(T.length===0)return-1;if(x.y>=R[T[T.length-1]].bottom)return Number(T[T.length-1]);for(var S=0;S<T.length;S+=1){var I=T[S];if(x.y>=R[I].top&&x.y<R[I].bottom)return Number(I)}return-1},E=function(x,R,T){for(var S=Object.getOwnPropertyNames(R),I=S.length-1;I>-1;I-=1)if(x[T]>R[S[I]][T])return Number(S[I]);return Number(S[S.length-1])},D=function(x,R,T){for(var S=Object.getOwnPropertyNames(R),I=0;I<S.length;I+=1)if(x[T]<R[S[I]][T])return Number(S[I]);return Number(S[0])},F=function(w){d(x,w);function x(R){m(this,x);var T=h(this,(x.__proto__||Object.getPrototypeOf(x)).call(this));return T._viewModel=R.viewModel,T._logicalViewPort=R.viewPortList[0],T._cellNav=new u(R.viewModel),T._resizeSelection=new s(R),T._events={},T._cellSelection=null,T._headerRects=function(){return{}},T._rowRects=function(){return{}},T._rowCellRects=function(){return{}},T._previousRange=n.range(),T._previousLeftPosition=0,T._previousTopPosition=0,T._sizes=new i(T._viewModel),T}return y(x,[{key:"eventList",value:function(){var T=this,S={};return S[o.protected.HEADER_RECTS]=function(I){return T._setHeaderRects(I)},S[o.protected.ROW_RECTS]=function(I){return T._setRowRects(I)},S[o.protected.ROW_CELL_RECTS]=function(I){return T._setRowCellRects(I)},S[o.protected.TABLE_CELL_CLICK]=function(I){return T._handleCellClick(I)},S[o.internal.TABLE_KEY_PRESS]=function(I){return T._handleKeyPress(I)},S[o.protected.COL_HEADER_CLICK]=function(I){return T._handleColumnHeaderClick(I)},S[o.protected.ROW_SELECTION_CLICK]=function(I){return T._handleRowHeaderClick(I)},S[o.protected.DOCUMENT_MOUSE_MOVE_INTERVAL]=function(I){return T._autoScroll(I)},S[o.protected.DATA_AREA_MOUSE_MOVE]=function(I){return T._trackMouseSelection(I)},S[o.protected.DOCUMENT_MOUSE_UP]=function(I){return T._endScroll(I)},S[o.protected.RESIZE_SELECTION_BEGIN]=function(I){return T._handleResizeBegin(I)},S[o.protected.RESIZE_SELECTION_END]=function(I){return T._handleResizeEnd(I)},S}},{key:"_getActiveCell",value:function(){var T=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL);return T&&T.rangeList[0]}},{key:"_canDragCellSelection",value:function(){var T=this._viewModel.getStateByKey(r.dragInProgress),S=this._viewModel.getStateByKey(r.protected.EDIT_STATE);return!T&&!S}},{key:"_rowCellRectsHeaderFallback",value:function(T){var S=this._rowCellRects(T);return Object.keys(S).length===0&&T.row!==void 0&&T.col===void 0?this._headerRects():S}},{key:"_handleCellClick",value:function(T){this._resizeSelection.inProgress()||this._emitSelectionEvent(T)}},{key:"_handleResizeBegin",value:function(T){var S=T.event,I={x:S.x,y:S.y},B=this._logicalViewPort.getFirstVisibleRow(),P=this._viewModel.getStateByKey(r.ACTIVE_RANGE),L=this._getActiveCell(),O=P.value.rows.start,W=P.value.rows.end,j=P.value.columns.start,K=P.value.columns.end;if(P&&((!L||!(L.rows.start===O&&L.columns.start===j)&&!(L.rows.start===O&&L.columns.end===K)&&!(L.rows.start===W&&L.columns.end===j)&&!(L.rows.start===W&&L.columns.end===K))&&(L=n.range().setRows(O,O).setColumns(j,j),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[L]),this._fulcrum||(this._fulcrum=n.range().setRows(W,W).setColumns(K,K))),this._fulcrum.columns.start!==this._fulcrum.columns.end)){var H=L.columns.start===j?K:j,V=L.rows.start===O?W:O;this._fulcrum=n.range().setRows(V,V).setColumns(H,H)}var $={startRow:g(I,this._rowRects()),startCol:v(I,this._rowCellRectsHeaderFallback({row:B})),activeCell:this._getActiveCell(),fulcrum:this._fulcrum,location:S.location};this._resizeSelection.begin($)}},{key:"_handleResizeEnd",value:function(T){this._resizeSelection.end(),this.getActiveRange()&&!n.isRangeInside(this.getActiveRange().value,this._previousRange)?this._previousRange=this._getActiveCell():this._viewModel.setState(r.protected.ACTIVE_CELL,null,[this._previousRange])}},{key:"_trackMouseSelection",value:function(T){if(!!this._canDragCellSelection()){var S=T.event,I=S.pointer,B=S.rowsOnly,P=S.colsOnly,L=g(I,this._rowRects()),O=L;O<0&&(O=this._logicalViewPort.getFirstVisibleRow());var W=v(I,this._rowCellRectsHeaderFallback({row:O})),j=this._getActiveCell();if(!!j){var K=j.rows.start,H=j.columns.start,V=n.range().setRows(K,K).setColumns(H,H);if(W>-1&&!B&&(V=V.setColumns(W,W)),L>-1&&!P&&(V=V.setRows(L,L)),!n.isRangeEqual(this._previousRange,V)){if(this._resizeSelection.inProgress()){var $=this._getState(V);if(!$)return;this._fulcrum=$.resizeFulcrum,V=$.resizeActiveCell}this._previousRange=V,this._viewModel.setState(r.protected.ACTIVE_CELL,null,[V]),this._viewModel.setState(r.protected.FOCUSED,null,[V]),T.event.shiftKey=!0,T.event.dragEvent=!0,this._emitSelectionEvent(T)}}}}},{key:"_autoScroll",value:function(T){var S=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL);if(S=S&&S.rangeList[0],!!this._canDragCellSelection()&&!!S){var I=this._rowCellRectsHeaderFallback({row:S.rows.start});if(!(Object.keys(I).length<1)){var B=T.event,P=B.yDelta,L=B.xDelta,O=this._logicalViewPort.getScrollTop(),W=this._logicalViewPort.getScrollLeft(),j=this._logicalViewPort.getFirstVisibleColumn(),K=Math.floor(this._logicalViewPort.getLastVisibleColumn()),H=I[j].width/this._sizes.COL_WIDTH,V=Math.max(0,W+L/H),$=Math.max(0,O+P),G=this._setAutoScrollRange(T);if(T.event.rowsOnly||this._logicalViewPort.setScrollLeftPx(V),T.event.colsOnly||this._logicalViewPort.setScrollTopPx($),!n.isRangeEqual(this._previousRange,G)){if(this._resizeSelection.inProgress()){var Q=this._getState(G);if(!Q)return;this._fulcrum=Q.resizeFulcrum,G=Q.resizeActiveCell}this._previousRange=G,this._viewModel.setState(r.protected.FOCUSED,null,[G]),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[G]),this._fulcrum=this._fulcrum||n.range().setEntireColumns(K,K),T.event.shiftKey=!0,T.event.dragEvent=!0,this._emitSelectionEvent(T)}}}}},{key:"_getState",value:function(T){var S=this.getSelection();if(S.length===0)return null;var I={nextActiveCell:T,currentActiveCell:this._getActiveCell(),currentFulcrum:this._fulcrum};return this._resizeSelection.getState(I)}},{key:"_setAutoScrollRange",value:function(T){var S=T.event,I=S.yDelta,B=S.xDelta,P=S.pointer,L=this._getActiveCell(),O=this._logicalViewPort.getLastVisibleRow(),W=this._logicalViewPort.getFirstVisibleRow(),j=this._logicalViewPort.getLastVisibleColumn(),K=this._logicalViewPort.getFirstVisibleColumn();if(!T.event.rowsOnly)if(B>0)j=Math.min(j+p,this._viewModel.dataSize.columns.end),L=L.setColumns(j,j);else if(B<0){var H=Math.max(0,K-p);L=L.setColumns(H,H)}else{var V=v(P,this._rowCellRectsHeaderFallback({row:W}));V=t.getValidStartPoint(V),L=L.setColumns(V,V)}if(!T.event.colsOnly)if(I>0)O=Math.min(O+p,this._viewModel.dataSize.rows.end),L=L.setRows(O,O);else if(I<0){var $=Math.max(0,W-p);L=L.setRows($,$)}else{var G=g(P,this._rowRects());G=t.getValidStartPoint(G),L=L.setRows(G,G)}return L}},{key:"_endScroll",value:function(T){var S=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL);S=S&&S.rangeList[0];var I=T.event,B=I.yDelta,P=I.xDelta,L=I.containerRect;if(!!S){var O=this._rowCellRectsHeaderFallback({row:S.rows.start});if(!(Object.keys(O).length<1)){var W=this._rowCellRectsHeaderFallback({col:S.columns.start});if(!(Object.keys(W).length<1)){var j=this._getActiveCell();if(P>0){var K=E(L,O,"right");j=j.setColumns(K,K)}else if(P<0){var H=D(L,O,"left");j=j.setColumns(H,H)}if(B>0){var V=E(L,W,"bottom");j=j.setRows(V,V)}else if(B<0){var $=D(L,W,"top");j=j.setRows($,$)}this._viewModel.setState(r.protected.FOCUSED,null,[j]),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[j]),this._triggerCallbacks(T)}}}}},{key:"_triggerCallbacks",value:function(T){var S=T.event,I=S.yDelta,B=S.xDelta,P=S.callback,L={shiftKey:!0};I>0&&(L.keyCode=a.ARROW_DOWN,P(o.internal.TABLE_KEY_PRESS,L)),I<0&&(L.keyCode=a.ARROW_UP,P(o.internal.TABLE_KEY_PRESS,L)),B>0&&(L.keyCode=a.ARROW_RIGHT,P(o.internal.TABLE_KEY_PRESS,L)),B<0&&(L.keyCode=a.ARROW_LEFT,P(o.internal.TABLE_KEY_PRESS,L))}},{key:"_setHeaderRects",value:function(T){this._headerRects=T.event.children}},{key:"_setRowRects",value:function(T){this._rowRects=T.event.children}},{key:"_setRowCellRects",value:function(T){this._rowCellRects=T.event.children}},{key:"_computeEventForPlugin",value:function(T){var S={shiftKey:T.event.shiftKey,ctrlKey:T.event.ctrlKey,metaKey:T.event.meta||T.event.metaKey,groupedSelection:T.event.groupedSelection};return S}},{key:"_handleKeyPress",value:function(T){var S=T.event;switch(S.keyCode){case a.ARROW_LEFT:case a.ARROW_RIGHT:case a.ARROW_UP:case a.ARROW_DOWN:case a.PAGE_UP:case a.PAGE_DOWN:var I=this._getActiveCell();I&&(this._previousRange=n.range().setRows(I.rows.start,I.rows.start).setColumns(I.columns.start,I.columns.start)),this._emitSelectionEvent(T);break;case a.HOME:case a.END:this._emitSelectionEvent(T);break;case a.A:c(S)&&(T.event.nativeEvent.preventDefault(),this._selectAll(T));break;case a.SPACE:if(c(S)){var B=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL)||{},P=B.rangeList||[{columns:{start:0}}],L=P[0].columns.start;this._fulcrum=n.range().setRows(1/0,1/0).setColumns(L,L),this._emitColumnSelectionEvent(T,L)}else if(S.shiftKey){var O=this._viewModel.getStateByKey(r.protected.ACTIVE_CELL)||{},W=O.rangeList||[{rows:{start:0}}],j=W[0].rows.start;this._fulcrum=n.range().setRows(j,j).setColumns(1/0,1/0),this._emitRowSelectionEvent(T,j)}break;default:return!1}}},{key:"_selectAll",value:function(T){this._fulcrum=n.range().setRows(1/0,1/0).setColumns(1/0,1/0);var S=this._computeEventForPlugin(T);S.activeCell=t.getActiveCell(this._viewModel),S.fulcrum=this._fulcrum,S.keyCode=a.A,this.emit(f.SELECT_ALL,S)}},{key:"_emitSelectionEvent",value:function(T){var S=t.getActiveCell(this._viewModel);this._fulcrum=this._fulcrum||S,(!T.event.shiftKey||c(T.event))&&(this._fulcrum=S);var I=this._computeEventForPlugin(T);this._resizeSelection.inProgress()&&!S?I.activeCell=this._fulcrum:I.activeCell=S,I.fulcrum=this._fulcrum,this._resizeSelection.inProgress()&&(I.resizeSelectionInProgress=!0),T.event.keyCode&&(I.keyCode=T.event.keyCode),T.event.dragEvent&&(I.dragEvent=T.event.dragEvent),this.emit(f.RANGE_SELECTION,I)}},{key:"_handleColumnHeaderClick",value:function(T){var S=T.event.column,I=T.event.columnEnd,B=this._logicalViewPort.getFirstVisibleRow(),P=this._cellNav.getScrollTopPosition(B,this._rowRects()),L=0,O=n.range().setRows(L,L).setColumns(S,S);this._logicalViewPort.setScrollTopPx(P),this._viewModel.setState(r.protected.FOCUSED,null,[O]),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[O]),this._emitColumnSelectionEvent(T,S,I)}},{key:"_emitColumnSelectionEvent",value:function(T,S,I){var B=t.getActiveCell(this._viewModel);if(this._fulcrum=this._fulcrum||B,!T.event.shiftKey)I||(I=S),this._fulcrum=n.range().setRows(1/0,1/0).setColumns(S,I);else{var P=this._fulcrum.columns.start;I||(I=P),this._fulcrum=n.range().setRows(1/0,1/0).setColumns(Math.min(P,S,I),Math.max(this._fulcrum.columns.end,S,I))}var L=this._computeEventForPlugin(T);L.activeCell=B,L.fulcrum=this._fulcrum||B,this.emit(f.COLUMN_SELECTION,L)}},{key:"_handleRowHeaderClick",value:function(T){var S=T.event.row,I=this._rowCellRectsHeaderFallback({row:S}),B=t.getFirstVisibleColumn(this._logicalViewPort,this._viewModel,I),P=this._cellNav.getScrollLeftPosition(B,this._rowCellRectsHeaderFallback({row:S})),L=n.range().setRows(S,S).setColumns(B,B);this._logicalViewPort.setScrollLeftPx(P),this._viewModel.setState(r.protected.FOCUSED,null,[L]),this._viewModel.setState(r.protected.ACTIVE_CELL,null,[L]),this._emitRowSelectionEvent(T,S)}},{key:"_emitRowSelectionEvent",value:function(T,S){var I=t.getActiveCell(this._viewModel);if(this._fulcrum=this._fulcrum||I,!T.event.shiftKey)this._fulcrum=n.range().setRows(S,S).setColumns(1/0,1/0);else{var B=this._fulcrum.rows.start;this._fulcrum=n.range().setRows(B,B).setColumns(1/0,1/0)}var P=this._computeEventForPlugin(T);P.activeCell=I,P.fulcrum=this._fulcrum,this.emit(f.ROW_SELECTION,P)}},{key:"_handleDoubleClick",value:function(T){this.emit(o.internal.TABLE_SELECTED_ACTION,{selectedRange:this.getSelectionState()})}},{key:"setSelection",value:function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=S.activeRange;!Array.isArray(T)||(this._viewModel.setState(r.ACTIVE_RANGE,I),this._viewModel.setState(r.protected.SELECTED,this._cellSelection,T))}},{key:"getActiveRange",value:function(){return this._viewModel.getStateByKey(r.ACTIVE_RANGE)}},{key:"getSelection",value:function(){var T=this._viewModel.getStateByKey(r.protected.SELECTED);return T?T.rangeList:[]}},{key:"applyToCells",set:function(T){T?this._cellSelection=r.SELECT_CELLS:this._cellSelection=null}},{key:"selectHeaders",set:function(T){this._viewModel.setState(r.SELECT_HEADERS,!!T)}}],[{key:"event",get:function(){return f}}]),x}(e);return F},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(181),l(7),l(3)],C=l.dj.d(A,function(h,d,n){"use strict";var e=function(){function t(){m(this,t),this.dragType=null,this.cellType=null,this.inProgress=this._inProgress.bind(this),this.begin=this._begin.bind(this),this.getState=this._getState.bind(this),this.end=this._end.bind(this)}return y(t,[{key:"makeRange",value:function(o,a){return d.range().setRows(o,o).setColumns(a,a)}},{key:"resizeRow",value:function(o,a){var i=o;return o===a&&(i=a),i}},{key:"resizeColumn",value:function(o,a){var i=o;return o===a&&(i=a),i}},{key:"_begin",value:function(o){var a=o.location,i=o.activeCell,u=o.startRow,s=o.startCol,c=void 0,f=void 0;return a===h.TOP||a===h.BOTTOM?(i&&i.rows.start===u?c=h.ACTIVE:c=h.FULCRUM,f=h.ROW):(a===h.LEFT||a===h.RIGHT)&&(i&&i.columns.start===s?c=h.ACTIVE:c=h.FULCRUM,f=h.COLUMN),this.cellType=c,this.dragType=f,{cellType:c,dragType:f}}},{key:"_inProgress",value:function(){var o=this.dragType;return o===h.ROW||o===h.COLUMN}},{key:"_getState",value:function(o){var a=o.nextActiveCell,i=o.currentActiveCell,u=o.currentFulcrum,s=i,c=u;if(this.dragType===h.ROW){if(this.cellType===h.ACTIVE){var f=this.resizeRow(a.rows.start,i.rows.start);s=this.makeRange(f,i.columns.start)}else if(this.cellType===h.FULCRUM){var p=this.resizeRow(a.rows.start,u.rows.start);c=this.makeRange(p,u.columns.start)}}if(this.dragType===h.COLUMN){if(this.cellType===h.ACTIVE){var v=this.resizeColumn(a.columns.start,i.columns.start);s=this.makeRange(i.rows.start,v)}else if(this.cellType===h.FULCRUM){var g=this.resizeColumn(a.columns.start,u.columns.start);c=this.makeRange(u.rows.start,g)}}var E=d.isRangeEqual(u,c),D=d.isRangeEqual(i,s);if(E&&D)return null;var F={resizeActiveCell:s,resizeFulcrum:c};return F}},{key:"_end",value:function(){this.cellType=null,this.dragType=null}}]),t}();return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(654),l(5)],C=l.dj.d(A,function(n,e,t){"use strict";var r=function(o){d(a,o);function a(i,u){m(this,a);var s=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return s.adaptor=i.adaptor,s.adaptor.setConfig(u),i.adaptor.on(t.protected.COL_RESIZE,function(c){return s._handleResize(c)}),i.adaptor.on(t.internal.COL_RESIZE_DONE,function(c){return s._handleResizeDone(c)}),s}return y(a,[{key:"exposedAPI",value:function(){return{}}},{key:"_handleResize",value:function(u){this.adaptor.setColumnResize(u)}},{key:"_handleResizeDone",value:function(u){this.emit(t.exposed.COLUMN_RESIZED,u)}},{key:"listensOn",get:function(){return[t.protected.COL_RESIZE]}},{key:"emits",get:function(){return[t.exposed.COLUMN_RESIZED]}},{key:"treeTableEmits",get:function(){return[t.exposed.COLUMN_RESIZED]}}],[{key:"config",value:function(u){var s=function(c){d(f,c);function f(p){return m(this,f),h(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,p,u))}return f}(a);return s}},{key:"adaptor",get:function(){return e}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(16),l(3),l(5)],C=l.dj.d(A,function(e,t,r){"use strict";var o=function(a){n(i,a);function i(u){h(this,i);var s=d(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return s.viewModel=u.viewModel,s._handleResizeDone=s._handleResizeDone.bind(s),s.viewModel.setState(t.colResize,!0),s}return y(i,[{key:"setConfig",value:function(s){if(!!s){var c=s&&s[t.protected.FIT_LAST_COLUMN]===!0,f=s&&s[t.protected.COLLAPSE_COLUMN]===!0;if(c||f){var p=m({},t.protected.FIT_LAST_COLUMN,c);f&&(p[t.protected.COLLAPSE_COLUMN]=f),this.viewModel.setState(t.colResize,p)}}}},{key:"eventList",value:function(){var s=this,c={};return c[r.protected.COL_RESIZE]=function(f){return s.emit(r.protected.COL_RESIZE,f.event)},c[r.internal.COL_RESIZE_DONE]=function(f){return s._handleResizeDone(f)},c}},{key:"_updatePagedHeader",value:function(s,c){var f=this.viewModel.getColumnHeaders(),p={value:c,unit:"px"};f.length===0?this.viewModel.setColumnMetaData("width",p,s):f[s].width=p}},{key:"setColumnResize",value:function(s){var c=s.width,f=s.column;this.viewModel.setState(t.COLUMN_RESIZED,!0),typeof f=="number"&&this._updatePagedHeader(f,c)}},{key:"_handleResizeDone",value:function(s){var c={sizes:s.event};this.emit(r.internal.COL_RESIZE_DONE,c)}}]),i}(e);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(656),l(5)],C=l.dj.d(A,function(n,e,t){"use strict";var r=function(o){d(a,o);function a(i,u){m(this,a);var s=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return s.adaptor=i.adaptor,u&&s.adaptor.setConfig(u),i.adaptor.on(t.protected.TABLE_COLUMN_SORT,function(c){return s._handleSort(c)}),s}return y(a,[{key:"exposedAPI",value:function(){return{setSortIndicator:this.setSortIndicator.bind(this)}}},{key:"_handleSort",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=u.order,c=u.column,f=u.type;s!==void 0&&c>=0&&f&&this.adaptor.sortColumn({columnIndex:c,order:s,compare:f})}},{key:"setSortIndicator",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.adaptor.setSortIndicator(u)}},{key:"emits",get:function(){return[]}}],[{key:"config",value:function(u){var s=function(c){d(f,c);function f(p){return m(this,f),h(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,p,u))}return f}(a);return s}},{key:"adaptor",get:function(){return e}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(7),l(16),l(5),l(3)],C=l.dj.d(A,function(n,e,t,r){var o=function(a){d(i,a);function i(u){m(this,i);var s=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return s._viewModel=u.viewModel,s._viewModel.setState(r.protected.SORTABLE,!0),s._viewModel.setState(r.protected.CLEAR_SORT,!1),s._updateColumnSortState=s._updateColumnSortState.bind(s),s._viewModel.on(t.internal.DATA_SORTED,s._updateColumnSortState.bind(s)),s}return y(i,[{key:"setConfig",value:function(s){var c=s&&s[r.protected.CLEAR_SORT]===!0;c&&this._viewModel.setState(r.protected.CLEAR_SORT,!0)}},{key:"eventList",value:function(){var s=this,c={};return c[t.protected.SORT_AFFORDANCE_CLICKED]=function(f){return s.emit(t.protected.TABLE_COLUMN_SORT,f.event)},c[t.internal.COLUMN_REORDERED]=function(){return s._removeColumnSortState()},c}},{key:"sortColumn",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=s.columnIndex,f=s.order;f===void 0||isNaN(c)||c<0||(f===""?this._viewModel.sort([s]):(this.setSortIndicator(s),this._viewModel.sort([s])))}},{key:"_removeColumnSortState",value:function(){var s=this._viewModel.getStateByKey(r.protected.SORTED);if(s&&s.rangeList){var c=s.rangeList[0].columns.start;this._viewModel.deleteColumnMetaData(r.protected.SORTED,c)}}},{key:"_addColumnSortState",value:function(s,c){var f={order:c},p=n.range().setEntireColumns(s);this._viewModel.setColumnMetaData(r.protected.SORTED,f,s),this._viewModel.setState(r.protected.SORTED,c,[p])}},{key:"setSortIndicator",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=s.columnIndex,f=s.order;c=Number(c),Object.keys(s).length===0?(this._removeColumnSortState(),this._viewModel.deleteState(r.protected.SORTED)):!isNaN(c)&&c>=0&&f&&(this._removeColumnSortState(),this._addColumnSortState(c,f))}},{key:"_updateColumnSortState",value:function(s){if(this._removeColumnSortState(),s.sorted.length!==0){var c=s.sorted[0],f=c.columnIndex,p=c.order;f>=0&&this._addColumnSortState(f,p)}}}]),i}(e);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(3)],C=l.dj.d(A,function(h){var d=function(){function n(e){m(this,n),this._viewModel=e.viewModel,this._viewModel.setState(h.displayRowHeader,!0),this._viewModel.setState(h.rowHeaderWidth,0),this._viewModel.setState(h.DISPLAY_ROW_HEADER_INDICES,!0)}return y(n,[{key:"setConfig",value:function(t){!t||t&&t[h.DISPLAY_ROW_HEADER_INDICES]===!1&&this._viewModel.setState(h.DISPLAY_ROW_HEADER_INDICES,!1)}},{key:"eventList",value:function(){var t={};return t}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(659),l(5)],C=l.dj.d(A,function(n,e,t){"use strict";var r=function(o){d(a,o);function a(i){m(this,a);var u=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return u.adaptor=i.adaptor,i.adaptor.on(t.exposed.DROP_COMPLETED,function(s){return u._emitDropEvent(t.exposed.DROP_COMPLETED,s)}),i.adaptor.on(t.exposed.DROP_FAILED,function(s){return u._emitDropEvent(t.exposed.DROP_FAILED,s)}),i.adaptor.on(t.exposed.DROP_IN_PROGRESS,function(s){return u._emitDropEvent(t.exposed.DROP_IN_PROGRESS,s)}),u}return y(a,[{key:"_emitDropEvent",value:function(u,s){this.emit(u,s)}},{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[t.exposed.DROP_IN_PROGRESS,t.exposed.DROP_COMPLETED,t.exposed.DROP_FAILED]}},{key:"treeTableEmits",get:function(){return[t.exposed.DROP_IN_PROGRESS,t.exposed.DROP_COMPLETED,t.exposed.DROP_FAILED]}}],[{key:"adaptor",get:function(){return e}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(3),l(126),l(660),l(7),l(19),l(278),l(5),l(661),l(127)],C=l.dj.d(A,function(n,e,t,r,o,a,i,u,s,c){var f=function(v){d(g,v);function g(E){m(this,g);var D=h(this,(g.__proto__||Object.getPrototypeOf(g)).call(this)),F=E.options.dragAndDropConfig;return D._viewModel=E.viewModel,D._dataStore=E.dataStore,D._logicalViewPort=E.viewPortList[0],D.dragAndDropConfig=F,D._handleColumnDrop=D._handleColumnDrop.bind(D),D._removeDragInProgress=D._removeDragInProgress.bind(D),D._handleRowDrop=D._handleRowDrop.bind(D),D._handleDragInProgress=D._handleDragInProgress.bind(D),D._viewModel.setState(e.dragAndDrop,!0),F&&D._setDnDMod(F,E.options),D._widget=D._viewModel.getStateByKey(e.protected.WIDGET_TYPE).value,D._widgetRowDnd=D._widget==="TreeTable"?c:s,D._widgetRowDnd.setConfig(E),D}return y(g,[{key:"eventList",value:function(){var D={};return D[u.internal.COLUMN_REORDERED]=this._handleColumnDrop,D[u.internal.ROW_DROPPED]=this._handleRowDrop,D[u.internal.DRAG_STARTED]=this._handleDragInProgress,D[u.internal.DRAG_END]=this._removeDragInProgress,D}},{key:"_setDnDMod",value:function(D,F){var w=D.setDragDataBySelection,x=D.mode,R=D.setAvatar,T=D.canDrag,S=D.canDrop,I=D.onDrop;this._viewModel.setState(e.setDragData,w||!1),this._viewModel.setState(e.setAvatar,R||!1),w&&this._viewModel.setState(e.dragRows,!0),T&&this._viewModel.setState(e.protected.CAN_DRAG,T),S&&this._viewModel.setState(e.protected.CAN_DROP,S);var B=p(x);I&&this._setDropFromExternal(I,S,B),B.columns&&this._setColumnReorder(F.initializedControllers),B.reorderRows&&this._viewModel.setState(e.protected.REORDER_ROWS,!0),!B.reorderRows&&B.reparentRows&&this._viewModel.setState(e.protected.REPARENT_ROWS,!0)}},{key:"_setDropFromExternal",value:function(D,F,w){if(!(!D||typeof D!="function")){typeof F!="function"&&(F=function(){return!0});var x=r.wrapFunctionWithViewModel(D,this._viewModel),R=r.wrapFunctionWithViewModel(F,this._viewModel);this._viewModel.setState(e.receiveDrop,{onDrop:x,canDrop:R,dropType:w})}}},{key:"_setColumnReorder",value:function(D){var F=this;this._viewModel.setState(e.dragColumns,!0),this.columnController||D.map(function(w){w.map(function(x){x instanceof i&&(F.columnController=x)})},this)}},{key:"_handleColumnDrop",value:function(D){var F=this,w=D.event,x=w.colIndex,R=w.targetIndex,T=w.headerMeta,S=this._getNextState(x,R,T),I=this._getColumnDropObjectForEmit(D.event);this._emitDropEvent(u.exposed.DROP_IN_PROGRESS,I),a.convertSyncFunctionToPromise(function(){return F.columnController.columnReorder(D.event)}).then(function(){return F._processAfterReorder(S,I)},function(){return F._emitDropEvent(u.exposed.DROP_FAILED,I)}).finally(this._removeDragInProgress)}},{key:"_getColumnDropObjectForEmit",value:function(D){var F=D.columnId,w=D.targetIndex,x={source:{type:"column",ids:[F]},target:{type:"column",index:w}};return x}},{key:"_emitDropEvent",value:function(D,F){this.emit(D,F)}},{key:"_processAfterReorder",value:function(D,F){D&&this._updateSelection(D),this._emitDropEvent(u.exposed.DROP_COMPLETED,F)}},{key:"_handleRowDrop",value:function(D){this._widgetRowDnd.dropInProgress=!0,this._widgetRowDnd.putData(D.event).then(this._handleSuccessResult.bind(this)).finally(this._removeDragInProgress)}},{key:"_handleDragInProgress",value:function(D){var F=D?D.event:null;this._viewModel.setState(e.dragInProgress,F)}},{key:"_removeDragInProgress",value:function(){this._viewModel.deleteState(e.dragInProgress)}},{key:"_getNextState",value:function(D,F,w){var x=this._viewModel.getStateByKey(e.protected.SELECTED);if(!!x){var R=x.value,T=x.rangeList;if(!(R!==e.SELECT_CELLS||!T||T.length<=0)){var S=t.getFirstIndexAfterReorder(D,F,w),I=t.getColRangeIndicesForView(S,w),B=I.endIndex,P=this._logicalViewPort.getFirstVisibleRow(),L=o.range().setRows(P,P).setColumns(S,S),O=o.range().setEntireColumns(S,B);return{activeCell:L,activeRange:O}}}}},{key:"_updateSelection",value:function(D){var F=D.activeCell,w=D.activeRange;this._viewModel.setState(e.protected.FOCUSED,null,[F]),this._viewModel.setState(e.protected.ACTIVE_CELL,null,[F]),this._viewModel.setState(e.protected.SELECTED,e.SELECT_CELLS,[w]),this._viewModel.setState(e.ACTIVE_RANGE,w)}},{key:"_handleSuccessResult",value:function(D){var F=this,w=D.dropSuccessInfo,x=D.dropFailInfo;x.forEach(function(R){F.emit(u.exposed.DROP_FAILED,R)}),w&&this.emit(u.exposed.DROP_COMPLETED,w),this._widgetRowDnd.dropInProgress=!1}}]),g}(n);return f;function p(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return v.reduce(function(g,E){return g[E]=!0,g},{})}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(3)],C=l.dj.d(A,function(h){"use strict";var d=function(){function n(){m(this,n)}return y(n,null,[{key:"wrapFunctionWithViewModel",value:function(t,r){return function(){var a=r.getStateByKey(h.dragInProgress);return a&&a.value?null:t.apply(this,arguments)}}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(){function d(){m(this,d),this._dataStore=null,this._viewModel=null,this.dropInProgress=!1}return y(d,[{key:"setConfig",value:function(e){this._dataStore=e.dataStore,this._viewModel=e.viewModel}}]),d}();return new h},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(663),l(5)],C=l.dj.d(A,function(n,e,t){"use strict";var r=function(o){d(a,o);function a(i){m(this,a);var u=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return u.adaptor=i.adaptor,i.adaptor.on(t.protected.HEADER_CLICKED,function(s){return u._handleHeaderMenu(s)}),u}return y(a,[{key:"exposedAPI",value:function(){return{}}},{key:"_handleHeaderMenu",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.emit(t.exposed.HEADER_MENU,u)}},{key:"emits",get:function(){return[t.exposed.HEADER_MENU]}}],[{key:"adaptor",get:function(){return e}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(5),l(3),l(19)],C=l.dj.d(A,function(n,e,t,r){var o=function(a){d(i,a);function i(u){m(this,i);var s=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return s._viewModel=u.viewModel,s._handleHeaderMenu=s._handleHeaderMenu.bind(s),s._viewModel.setState(t.protected.HEADER_MENU_AFFORDANCE,!0),s}return y(i,[{key:"eventList",value:function(){var s={};return s[e.protected.HEADER_CLICKED]=this._handleHeaderMenu,s}},{key:"_handleHeaderMenu",value:function(s){var c={top:s.event.bottomRect,left:s.event.leftRect,columnIndex:s.event.columnIndex};this.emit(e.protected.HEADER_CLICKED,c)}}]),i}(n);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(665)],C=l.dj.d(A,function(h){"use strict";var d=function(){function n(e,t){m(this,n),this.adaptor=e.adaptor,this.adaptor.setConfig(t)}return y(n,[{key:"exposedAPI",value:function(){return{}}},{key:"emits",get:function(){return[]}}],[{key:"adaptor",get:function(){return h}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(3)],C=l.dj.d(A,function(h){var d=function(){function n(e){m(this,n),this._viewModel=e.viewModel,this._viewModel.setState(h.displaySearch,!0)}return y(n,[{key:"eventList",value:function(){var t={};return t}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(667)],C=l.dj.d(A,function(n,e){"use strict";var t=function(r){d(o,r),y(o,[{key:"emits",get:function(){return[]}}]);function o(a){m(this,o);var i=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return i.adaptor=a.adaptor,i}return y(o,[{key:"cut",value:function(){return this.adaptor.cut()}},{key:"copy",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.adaptor.copy(i)}},{key:"paste",value:function(){return this.adaptor.paste()}},{key:"exposedAPI",value:function(){return{cut:this.cut.bind(this),copy:this.copy.bind(this),paste:this.paste.bind(this)}}},{key:"exposedTreeTableAPIs",value:function(){return{cut:this.cut.bind(this),copy:this.copy.bind(this),paste:this.paste.bind(this)}}}],[{key:"adaptor",get:function(){return e}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(19),l(3),l(5),l(23),l(668),l(70),l(68)],C=l.dj.d(A,function(n,e,t,r,o,a,i,u){"use strict";var s=function(p){return p.ctrlKey||p.meta||p.metaKey},c=function(f){d(p,f);function p(v){m(this,p);var g=h(this,(p.__proto__||Object.getPrototypeOf(p)).call(this));g._viewModel=v?v.viewModel:null;var E=v?v.options:null,D=E?E.clipboardConfig:null;return g._onCutCallback=e.toPromise,g._onCopyCallback=e.toPromise,g._isLocalServer=null,D&&(D.onCut&&(g._onCutCallback=D.onCut),D.onCopy&&(g._onCopyCallback=D.onCopy),D.isLocalServer!==null&&(g._isLocalServer=D.isLocalServer||!1),g._onPasteCallback=D.onPaste,g._onFailureCallback=D.onFailure,g._onSuccessCallback=D.onSuccess),g._onFailure=g._onFailure.bind(g),g._onSuccess=g._onSuccess.bind(g),g._events={},g}return y(p,[{key:"eventList",value:function(){var g=this,E={};return E[r.internal.TABLE_KEY_PRESS]=function(D){return g._handleKeyPress(D)},E[r.internal.CLIPBOARD_COPY]=function(D){g._handleCopyEvent(D)},E[r.internal.CLIPBOARD_CUT]=function(D){g._handleCutEvent(D)},E[r.internal.CLIPBOARD_PASTE]=function(D){g._handlePasteEvent(D)},E}},{key:"_handleKeyPress",value:function(g){var E=g.event;if(!!s(E))switch(E.keyCode){case o.C:E.nativeEvent&&E.nativeEvent.preventDefault(),this._handleCopyEvent(E);break;case o.X:E.nativeEvent&&E.nativeEvent.preventDefault(),this._handleCutEvent(E);break;case o.V:break}}},{key:"cut",value:function(){this._handleCutEvent(null)}},{key:"copy",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(u.isDataTransferValid(g)){this._serviceWrite(g);return}this._handleCopyEvent(null)}},{key:"paste",value:function(){this._handlePasteEvent()}},{key:"_handleCutEvent",value:function(g){var E=this;this._isEditing()||this._getCutData().then(function(D){E._serviceWrite(D)})}},{key:"_handleCopyEvent",value:function(g){var E=this;this._isEditing()||this._getCopyData().then(function(D){E._serviceWrite(D)})}},{key:"_handlePasteEvent",value:function(g){this._isEditing()||this._serviceRead(g)}},{key:"_getCutData",value:function(){return this._onCutCallback()}},{key:"_getCopyData",value:function(){return this._onCopyCallback()}},{key:"_onSuccess",value:function(g){var E=this._onSuccessCallback;!E||E(g)}},{key:"_onFailure",value:function(g){var E=this._onFailureCallback;!E||E(g)}},{key:"_getServiceConfig",value:function(){var g={};return this._isLocalServer&&(g={isLocalServer:this._isLocalServer}),g}},{key:"_serviceRead",value:function(g){var E=this;if(!!this._onPasteCallback){var D=a.getInstance(this._getServiceConfig()),F=g&&g.event&&g.event.nativeEvent;D.read({event:F}).then(function(w){var x=w.dataTransfer,R=w.status,T=w.message;E._onPasteCallback(x),E._onSuccess({status:R,message:T})}).catch(function(w){return E._onFailure(w)})}}},{key:"_serviceWrite",value:function(g){var E=this;if(!!u.isDataTransferValid(g)){var D=a.getInstance(this._getServiceConfig());D.write({dataTransfer:g}).then(this._onSuccess).catch(function(F){return E._onFailure(F)})}}},{key:"_isEditing",value:function(){if(this._viewModel){var g=this._viewModel.getStateByKey(t.protected.EDIT_STATE);if(g)return!0;var E=this._viewModel.getStateByKey(t.protected.EDIT_PROCESSING);return E&&E.value?E.value:!1}return!1}},{key:"_getSelectionRangeList",value:function(){if(this._viewModel){var g=this._viewModel.getStateByKey(t.protected.SELECTED);if(g)return g.rangeList}return null}}]),p}(n);return c},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(669),l(677)],C=l.dj.d(A,function(y,m){let h,d;return{getInstance:function(t){return t&&t.isLocalServer?(d||(d=new y),d):(h||(h=new m),h)}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;function y(d,n){var e=Object.keys(d);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(d);n&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(d,r).enumerable})),e.push.apply(e,t)}return e}function m(d){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?y(Object(e),!0).forEach(function(t){h(d,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(e)):y(Object(e)).forEach(function(t){Object.defineProperty(d,t,Object.getOwnPropertyDescriptor(e,t))})}return d}function h(d,n,e){return n in d?Object.defineProperty(d,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):d[n]=e,d}A=[l(670),l(128),l(186),l(69),l(13)],C=l.dj.d(A,function(d,n,e,t,r){class o{constructor(){this._cache=new e,this._serverClipboardService=new d(this._cache)}get MIME_TYPES(){return t.MIME_TYPES}write(i){n.validateWrite(i);let u=e.clone(i.dataTransfer);return i=m(m({},i),{},{dataTransfer:u}),this._serverClipboardService.write(i).then(s=>s)}read(...i){return this._serverClipboardService.read(...i).then(this._handleReadSuccess.bind(this))}_handleReadSuccess(i){let{dataTransfer:u}=i;return this._cache.set(u),m(m({},i),{},{dataTransfer:u})}readTypes(...i){return this._serverClipboardService.readTypes(...i)}on(i,u){if(i!==t.EventsEnum.clipboardDataChange&&i!==t.EventsEnum.clipboardChange){r.warn("Server clipboard supports ".concat(t.EventsEnum.clipboardChange," and ").concat(t.EventsEnum.clipboardDataChange," events"));return}if(this._serverClipboardService.listeningClipboardChange||this._serverClipboardService.setupClipboardListener(),i===t.EventsEnum.clipboardChange)return this._serverClipboardService.on(t.EventsEnum.clipboardChange,u);if(i===t.EventsEnum.clipboardDataChange)return this._serverClipboardService.on(t.EventsEnum.clipboardDataChange,u)}}return o},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(80),l(674),l(69),l(70),l(185),l(13)],C=l.dj.d(A,function(y,m,h,d,n,e){const{StatusEnum:t,EventsEnum:r}=h;class o extends n{constructor(i){super();this._serverCache=i,this._listeningClipboardChange=!1}setupClipboardListener(){let i=m.getInstance();i.setupClipboardListener(),i.on(r.clipboardChange,this._handleClipboardChange.bind(this)),this._listeningClipboardChange=!0}get listeningClipboardChange(){return this._listeningClipboardChange}async _handleClipboardChange(){if(!this.hasListeners(r.clipboardChange)&&!this.hasListeners(r.clipboardDataChange))return;const{dataTransfer:i}=await this.read(),u=this._serverCache.get();if(this._serverCache.set(i),this.emit(r.clipboardChange,{dataTransfer:i}),!this.hasListeners(r.clipboardDataChange))return;await y.compare(i,u)||this.emit(r.clipboardDataChange,{dataTransfer:i})}write({dataTransfer:i}){return y.convertDataTransferToServerFormat(i).then(u=>m.getInstance().write(u.contents).then(()=>({status:t.success.writeGlobal,message:t.messageService.successMessage}))).catch(u=>(e.warn(u.message),{status:t.success.writeLocal,message:t.messageService.failureMessage}))}readTypes(){return m.getInstance().readTypes().then(this._handleTypesResponse)}_handleTypesResponse(i){let u=[];return i&&i.data&&i.data.flavors&&(u=i.data.flavors),{types:u}}read(i){const u={};return i&&Array.isArray(i.types)&&(u.flavors=[...i.types,h.MIME_TYPES.ACTION]),m.getInstance().read(u).then(this._handleReadSuccess)}_handleReadSuccess(i){let u=new d;return i.data&&y.convertServerFormatToDataTransfer(i.data,u),{status:t.success.readGlobal,message:t.messageService.successMessage,dataTransfer:u}}}return o},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";return Object.freeze({ONLY_TEXT:"ONLY_TEXT",CONTAINS_IMAGE:"CONTAINS_IMAGE",FROM_COPY_EVENT:"FROM_COPY_EVENT",OTHERS:"OTHERS",DATA_KIND_STRING:"string",DATA_KIND_FILE:"file",useNavigatorClipboard:"useNavigatorClipboard"})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({DataTransfer:{COPY:"copy",MOVE:"move",UNINITIALIZED:"uninitialized"},WRITE_TO_CACHE:"WRITE_TO_CACHE",READ_FROM_CACHE:"READ_FROM_CACHE",FAIL_READ:"FAIL_READ"})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({clipboardDataChange:"clipboardDataChange",clipboardChange:"clipboardChange"})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(93),l(67),l(69),l(675),l(185)],C=l.dj.d(A,function(y,m,h,d,n){let e;const{baseChannel:t,writeChannel:r,readChannel:o,readTypesChannel:a,clipboardChange:i}=d;class u extends n{constructor(){super();this._requestId=m.generateUuid(),this._map=new Map,this._onSubscribe=this._onSubscribe.bind(this),this._subscribe("".concat(r.response,"/*"),this._onSubscribe),this._subscribe("".concat(o.response,"/*"),this._onSubscribe),this._subscribe("".concat(a.response,"/*"),this._onSubscribe)}write(c){return this._publish(r.request,{contents:c})}read(c){return this._publish(o.request,c)}readTypes(){return this._publish(a.request)}_publish(c,f){let p=m.generateUuid();return new Promise((g,E)=>{let D={uid:p,requestId:this._requestId};f&&Object.assign(D,f),this._map.set(p,{resolve:g,reject:E}),y.publish("".concat(t).concat(c),D)})}_subscribe(c,f){let p="".concat(t).concat(c);y.subscribe(p,f)}_onSubscribe(c){let f=c.channel||"",p=this._extractUID(f);if(!this._map.has(p))return;let{resolve:v}=this._map.get(p);v&&v(c),this._map.delete(p)}_extractUID(c){let f=c.split("/");if(f.length>=5)return f[4]}static getInstance(){return e||(y.start(),e=new u),e}setupClipboardListener(){this._subscribe(i.onChange,this._handleClipboardDataChange.bind(this)),y.publish("".concat(t).concat(i.request),{})}_handleClipboardDataChange(){this.emit(h.EventsEnum.clipboardChange,{})}}return u},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return Object.freeze({baseChannel:"/v2/clipboardservice/",writeChannel:{request:"setClipboardDataRequest",response:"setClipboardDataResponse"},readChannel:{request:"getClipboardDataRequest",response:"getClipboardDataResponse"},readTypesChannel:{request:"requestAvailableDataFlavors",response:"sendAvailableDataFlavors"},clipboardChange:{request:"reqRegisterClipboardChange",response:"responseRegisterClipboardChange",onChange:"clipboardChange"}})},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(128)],C=l.dj.d(A,function(y){"use strict";function m(o){return o.map(a=>String(a))}const h="string",d="file",n="Files";class e{constructor(){this._contentMap=new Map,this.items=new t(this._contentMap)}get files(){let a=[];for(let i=0;i<this.items.length;i++){let u=this.items[i];u.kind===d&&a.push(u.getAsFile())}return a}get types(){return Array.from(this._contentMap.keys())}setData(...a){y.validateArguments(a,2,"dataTransfer.setData");let[i,u]=m(a);this.items.add(u,i)}getData(...a){y.validateArguments(a,1,"dataTransfer.getData");let[i]=m(a);return i=i.toLowerCase(),this._contentMap.has(i)?this._contentMap.get(i):""}}class t{constructor(a){this._contentMap=a,this._nextIndex=0}add(...a){let[i,u]=a;u?([i,u]=a,u=u.toLowerCase()):u="",this[this._nextIndex]=new r(i,u,this._contentMap),this._nextIndex++}get length(){return this._nextIndex}}class r{constructor(a,i,u){a instanceof window.Blob?(this._kind=d,u.set(n,""),this._type=a.type):typeof a=="string"&&(this._kind=h,this._type=i,u.set(i,a)),this._data=a}get kind(){return this._kind}get type(){return this._type}getAsString(a){this._data instanceof String&&a(this._data)}getAsFile(){if(this._data instanceof window.Blob)return this._data}}return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;function y(d,n){var e=Object.keys(d);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(d);n&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(d,r).enumerable})),e.push.apply(e,t)}return e}function m(d){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?y(Object(e),!0).forEach(function(t){h(d,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(e)):y(Object(e)).forEach(function(t){Object.defineProperty(d,t,Object.getOwnPropertyDescriptor(e,t))})}return d}function h(d,n,e){return n in d?Object.defineProperty(d,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):d[n]=e,d}A=[l(678),l(128),l(186),l(69),l(185)],C=l.dj.d(A,function(d,n,e,t,r){class o extends r{constructor(i){super();this._clientClipboardService=new d,this._cache=new e}get MIME_TYPES(){return t.MIME_TYPES}write(i){n.validateWrite(i);let u=e.clone(i.dataTransfer);return i=m(m({},i),{},{dataTransfer:u}),this._cache.set(u),this._clientClipboardService.write(i).then(s=>s,this._handleWriteFailure)}_handleWriteFailure(i){return{status:t.StatusEnum.success.writeLocal,message:i.message}}read(...i){return this._clientClipboardService.read(...i).then(this._handleReadSuccess.bind(this),this._handleReadFailure.bind(this))}_handleReadSuccess(i){let{dataTransfer:u}=i;return this._cache.validate(u)?this._cache.mix(u):this._cache.set(u),m(m({},i),{},{dataTransfer:this._cache.get()})}_handleReadFailure(i){return m(m({},i),{},{status:t.StatusEnum.success.readLocal,dataTransfer:this._cache.get()})}readTypes(...i){return this._clientClipboardService.readTypes(...i)}}return o},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(679),l(680),l(681),l(682),l(683),l(80),l(128),l(69),l(184)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){"use strict";const a=r.StatusEnum,i=r.TypeMetaDataEnum,u=r.MIME_TYPES;class s{constructor(){this._isNavigatorWriteTextSupported=h.isWriteTextSupported(),this._isNavigatorWriteSupported=h.isWriteSupported(),this._isNavigatorReadSupported=h.isReadSupported()}write(f){let{dataTransfer:p,event:v,useNavigatorClipboard:g}=f;return this._writeDataTransfer(p,v,g)}_writeDataTransfer(f,p,v){let g=e.getMimeMetaData(f,p,v);return{[i.ONLY_TEXT]:this._writeText.bind(this),[i.FROM_COPY_EVENT]:this._writeUsingCopyEvent.bind(this),[i.CONTAINS_IMAGE]:this._writeImageUsingNavigatorService.bind(this),[i.OTHERS]:this._writeOtherTypes.bind(this),[i.useNavigatorClipboard]:this._useOnlyNavigatorClipboard.bind(this)}[g](f,p)}_writeUsingCopyEvent(f,p){return e.setEventClipboardData(p.clipboardData.items,f),Promise.resolve({status:a.success.write})}_writeText(f){return this._isNavigatorWriteTextSupported?this._writeUsingNavigator(f,!0):this._writeOtherTypes(f)}_writeOtherTypes(f){return new y(f).write(f)}_writeImageUsingNavigatorService(f){return this._isNavigatorWriteSupported?this._writeUsingNavigator(f):(!f.types.includes(u.TEXT_PLAIN)&&f.files.length>0&&f.setData(u.TEXT_PLAIN,f.files[0].name),this._writeOtherTypes(f))}_useOnlyNavigatorClipboard(f){return this._isNavigatorWriteTextSupported&&e.hasOnlyTextMimeType(f)?this._writeUsingNavigator(f,!0):this._isNavigatorWriteSupported?this._writeUsingNavigator(f):Promise.reject(new Error("Navigator clipboard is not supported"))}_writeUsingNavigator(f,p){let v=new n(f);return p?v.writeText():v.write()}read(f){let p=f&&f.event;return this._isEventFromPaste(p)?new m(f).read():this._isNavigatorReadSupported?new d().read():Promise.reject(new Error("Navigator clipboard is not supported"))}readTypes(f){return Promise.resolve({types:[r.MIME_TYPES.INDETERMINATE_TYPE]})}_isEventFromPaste(f){return f&&o.isEventRunningNow(f)&&(o.isPasteEvent(f)||o.isPasteKeyDown(f))}}return s},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(288),l(80),l(98),l(70)],C=l.dj.d(A,function(y,m,h,d){class n{constructor(t){this._textarea=y.createTextBox(),this._dataTransfer=t}write(){return new Promise((t,r)=>{this._resolve=t,this._reject=r,this._triggerCopy()})}_triggerCopy(){this._removeEventListener=y.addEventListener(this._textarea,"copy",this._handleWriteSuccess.bind(this)),y.copy(this._textarea)||this._handleWriteFailure()}_handleWriteSuccess(t){m.setEventClipboardData(t.clipboardData.items,this._dataTransfer),t.preventDefault(),t.stopPropagation(),this._removeListenerAndRemoveTextbox(),this._resolve({status:h.success.writeGlobal,message:h.browserEvents.successMessage})}_handleWriteFailure(){this._removeListenerAndRemoveTextbox(),this._reject(new Error(h.browserEvents.failureMessage))}_removeListenerAndRemoveTextbox(){this._removeEventListener(),y.destroy(this._textarea)}}return n},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(98),l(70),l(186),l(288),l(184),l(13)],C=l.dj.d(A,function(y,m,h,d,n){"use strict";class e{constructor(r){this._event=r.event,this._removePasteListener=()=>{}}read(){let r={paste:this._handleEventFromPaste.bind(this),keydown:this._handleEventFromKeyDown.bind(this)},o=this._getHandlersType(),a=new Promise((i,u)=>{this._resolve=i,this._reject=u});return r[o](),a}_handleEventFromPaste(){let r=this._createDataTransferFromPasteEvent(this._event),o=h.clone(r);this._handlePasteSuccess(o)}_handleEventFromKeyDown(){let r=this._getReadPromise(),o=this._createTimeout();r.then(a=>{this._removePasteListener(),clearTimeout(o),this._handlePasteSuccess(a)},()=>{this._removePasteListener(),this._handlePasteFailure()})}_getHandlersType(){let r=this._event;if(n.isPasteEvent(r))return"paste";if(n.isPasteKeyDown(r))return"keydown"}_handlePasteSuccess(r){this._resolve({message:y.browserEvents.successMessage,status:y.success.readGlobal,dataTransfer:r})}_handlePasteFailure(){this._reject(new Error(y.browserEvents.failureMessage))}_getReadPromise(){return new Promise((r,o)=>{n.isPasteKeyDown(this._event)&&(this._removePasteListener=d.addEventListener(document,"paste",a=>{let i=this._createDataTransferFromPasteEvent(a),u=h.clone(i);r(u)})),this._rejectReadPromise=o})}_createDataTransferFromPasteEvent(r){return m.createInstance(r.clipboardData)}_createTimeout(){return setTimeout(()=>{this._rejectReadPromise(new Error)},1e3)}}return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){let y={isWriteSupported(){if(y.isCefClientSupported())return!1;let{navigator:m,ClipboardItem:h}=window;return!!(m&&m.clipboard&&m.clipboard.write&&h)},isReadSupported(){if(y.isCefClientSupported())return!1;let{navigator:m,ClipboardItem:h}=window;return!!(m&&m.clipboard&&m.clipboard.read&&h)},isWriteTextSupported(){if(y.isCefClientSupported())return!1;let{navigator:m}=window;return!!(m&&m.clipboard&&m.clipboard.writeText)},isCefClientSupported(){if(window.cefclient)return!0}};return y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(182),l(70),l(98),l(13)],C=l.dj.d(A,function(y,m,h,d){"use strict";class n{constructor(){this._onSuccess=this._onSuccess.bind(this),this._onFailure=this._onFailure.bind(this),this._processClipboardDataTransfer=this._processClipboardDataTransfer.bind(this)}read(){return navigator.clipboard.read().then(this._onSuccess,this._onFailure)}_onFailure(t){throw d.warn(t&&t.message),new Error(t.message)}_onSuccess(t){return this._processClipboardItems(t)}_processClipboardItems(t){return this._dataTransfer=new m,y.clipboardItemsToDataTransfer(t,this._dataTransfer).then(this._processClipboardDataTransfer)}_processClipboardDataTransfer(){return{status:h.success.readGlobal,message:h.navigator.successMessage,dataTransfer:this._dataTransfer}}}return n},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(182),l(98),l(13)],C=l.dj.d(A,function(y,m,h){"use strict";class d{constructor(e){this._dataTransfer=e,this._onSuccess=()=>({status:m.success.writeGlobal,message:m.navigator.successMessage}),this._onFailure=t=>{throw h.warn(t&&t.message),new Error(t.message)}}writeText(){let e=this._dataTransfer.getData("text/plain");return navigator.clipboard.writeText(e).then(this._onSuccess,this._onFailure)}write(){let e=y.convertToClipboardItem(this._dataTransfer);return navigator.clipboard.write([e]).then(this._onSuccess,this._onFailure)}}return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7),l(3)],C=l.dj.d(A,function(h,d){"use strict";var n=function(){function e(t){m(this,e),this._viewModel=t.viewModel,this._logicalViewPort=t.viewPortList[0]}return y(e,[{key:"setActiveCell",value:function(r){var o=r.activeRange,a=r.scrollInPixels,i=r.leftScrollFn,u=r.topScrollFn,s=[o];if(o){if(this._viewModel.setState(d.protected.ACTIVE_CELL,null,s),a){var c=a.scrollLeft,f=a.scrollCol,p=a.scrollFn;!isNaN(c)&&c!==null&&i(c,f,p)}if(a){var v=a.scrollTop;!isNaN(v)&&v!==null&&u(v)}}else this._viewModel.setState(d.protected.ACTIVE_CELL,null,[])}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(289)],C=l.dj.d(A,function(n){"use strict";var e=function(t){d(r,t);function r(){return m(this,r),h(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return y(r,[{key:"_hasModifier",value:function(a){var i=a.modifiers,u=i.ctrlKey,s=i.shiftKey,c=i.altKey,f=i.meta;return u||s||c||f}}]),r}(n);return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(3),l(5)],C=l.dj.d(A,function(n,e,t){"use strict";var r=function(o){d(a,o);function a(i){m(this,a);var u=h(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return u._viewModel=i.viewModel,u}return y(a,[{key:"eventList",value:function(){return{}}},{key:"setDefaultColumnWidth",value:function(u){u=Math.max(0,u),isNaN(u)||this._viewModel.setState(e.COL_WIDTH,u)}},{key:"setDefaultRowHeight",value:function(u){u=Math.max(0,u),isNaN(u)||this._viewModel.setState(e.ROW_HEIGHT,u)}}]),a}(n);return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(19),l(688),l(5)],C=l.dj.d(A,function(n,e,t,r){"use strict";var o=function(a){d(i,a);function i(u){m(this,i);var s=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return s.adaptor=u.adaptor,u.adaptor.on(r.internal.SCROLL_CHANGED,function(c){return s._emitScrollEvent(c)}),s}return y(i,[{key:"_emitScrollEvent",value:function(s){this.emit("scrollViewChanged",s)}},{key:"scrollToPosition",value:function(s){var c=this;function f(){if(typeof s.scrollTop=="number"&&typeof s.scrollLeft=="number"||typeof s.scrollTop=="number"&&s.scrollLeft===void 0||typeof s.scrollLeft=="number"&&s.scrollTop===void 0)c.adaptor.scrollToPosition(s);else throw new Error(`scrollToPosition needs scrollTop, scrollLeft, or both set as properties as positive integers.
|
||
Examples:
|
||
scrollToPosition({ scrollTop: 30 })
|
||
scrollToPosition({ scrollTop: 30, scrollLeft: 50 })`)}return e.convertSyncFunctionToPromise(function(){return f()})}},{key:"getScrollComponentDimensions",value:function(){return this.adaptor.getScrollComponentDimensions()}},{key:"exposedAPI",value:function(){return{scrollToPosition:this.scrollToPosition.bind(this),getScrollComponentDimensions:this.getScrollComponentDimensions.bind(this)}}},{key:"exposedTreeTableAPIs",value:function(){return{scrollToPosition:this.scrollToPosition.bind(this),getScrollComponentDimensions:this.getScrollComponentDimensions.bind(this)}}},{key:"emits",get:function(){return[r.exposed.SCROLL_VIEW_CHANGED]}},{key:"treeTableEmits",get:function(){return[r.exposed.SCROLL_VIEW_CHANGED]}}],[{key:"adaptor",get:function(){return t}}]),i}(n);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(16),l(5),l(30)],C=l.dj.d(A,function(n,e){var t=function(r){d(o,r);function o(a){m(this,o);var i=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this)),u=new n;return i._emit=u.emit.bind(u),i.on=u.on.bind(u),i._handleScrollChanged=i._handleScrollChanged.bind(i),i._viewModel=a.viewModel,i._logicalViewPort=a.viewPortList[0],i}return y(o,[{key:"eventList",value:function(){var i={};return i[e.internal.TABLE_SCROLL]=this._handleScrollChanged,i}},{key:"_handleScrollChanged",value:function(){var i=this.getScrollComponentDimensions(),u=this._viewModel.getStateByKey("scrollPositionChanged").value,s=this._viewModel.getStateByKey("ScrollChangeOnKeyPress").value;s===!0?(this._viewModel.setState("ScrollChangeOnKeyPress",!1),this._emit(e.internal.SCROLL_CHANGED,i)):u===!1&&this._emit(e.internal.SCROLL_CHANGED,i)}},{key:"scrollToPosition",value:function(i){var u=this.getScrollComponentDimensions(),s=u.scrollHeight,c=u.clientHeight,f=u.scrollWidth,p=u.clientWidth,v=s-c,g=f-p;if(!isNaN(i.scrollTop)){var E=Math.max(0,Math.min(i.scrollTop,v));this._logicalViewPort.setScrollTopPx(E)}if(!isNaN(i.scrollLeft)){var D=Math.max(0,Math.min(i.scrollLeft,g));this._logicalViewPort.setScrollLeftPx(D)}}},{key:"getScrollComponentDimensions",value:function(){return this._logicalViewPort.getScrollComponentDimensions()}}]),o}(n);return t},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";return{AVAILABLE:{COLUMNS:"columns",ROWS:"reorderRows"}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(691),l(692),l(694),l(3),l(7),l(5)],C=l.dj.d(A,function(h,d,n,e,t,r){"use strict";var o="",a=function(){function i(u){m(this,i),this._stateCategoryIndex={},this._stateRangeIndex=new h,this._events={},this._columnDataMapper=new d,this._rowDataMapper=new d,this._dataModel=u,this._viewColumnRange=u,this._sortState=null,this._previousSortState={},this._rowMetaData=new n({rankType:"row",dataViewMapper:this._rowDataMapper}),this._columnMetaData=new n({rankType:"column",dataViewMapper:this._columnDataMapper}),this._columnSpanningMetaData=new n({rankType:"column",dataViewMapper:this._columnDataMapper}),this._ownedListeners=[],this.setColumnHeaders([]),this.setColumnHeaderConfig({}),this._manageDataModelPaging=this._dataModel.managePaging.bind(this._dataModel),this._addOwnListeners(this._dataModel.on("pagedDataChanged",this._handlePagedDataChanged.bind(this))),this._addOwnListeners(this._dataModel.on("dataSizeChanged",this._emitDataSizeChanged.bind(this)))}return y(i,[{key:"viewRangeListToDataRangeList",value:function(s){var c=s.slice(0);return this._columnDataMapper.viewToModelRangeMapping(c)}},{key:"setRowMetaData",value:function(s,c,f){this._rowMetaData.setViewMetaData(s,c,f),this._emitViewDataChanged()}},{key:"deleteRowMetaData",value:function(s,c){this._rowMetaData.deleteViewMetaData(s,c),this._emitViewDataChanged()}},{key:"setColumnMetaData",value:function(s,c,f){this._columnMetaData.setViewMetaData(s,c,f),this._emitViewDataChanged()}},{key:"getColumnMetaDataUnified",value:function(){return this._columnMetaData.getUnifiedMetaData()}},{key:"deleteColumnMetaData",value:function(s,c){this._columnMetaData.deleteViewMetaData(s,c),this._emitViewDataChanged()}},{key:"setRenderType",value:function(s){var c={type:s};this._emit("renderTypeChanged",c)}},{key:"getStateForCustomEvent",value:function(){var s=!!this.getStateByKey(e.protected.EDIT_STATE);return{isEditing:s}}},{key:"_emitDataSizeChanged",value:function(){this._emit("dataSizeChanged",{dataSize:this.dataSize})}},{key:"_handlePagedDataChanged",value:function(s){var c=this.getStateByKey("viewBuffer");if(c){this._viewData=this._columnDataMapper.modelToViewDataMapping(s.pagedData,s.cellMetaData,c.rangeList),this._rowMetaData.setRangeList(c.rangeList),this._columnMetaData.setRangeList(c.rangeList),this._columnMetaData.setDataMetaData(s.columnMetaData),this._rowMetaData.setDataMetaData(s.rowMetaData),this._columnSpanningMetaData=s.columnSpanningMetaData;var f={},p=this._parseColumnMetaDataForSortState(s.columnMetaData[0][0]),v=this._translateSortStateToViewIndices(p),g=this._filterSortStateAgainstSortConfig(v),E=this._determineOneColumnForEachSortCriteria(g);if(E!==void 0&&(f.sorted=E),this._isSelectionManagedByDataStore()){var D=this._getSelectedIdsFromRowMetaData(s.rowMetaData[0]);f.selection=D}this._emitViewDataChanged(f)}}},{key:"_isSelectionManagedByDataStore",value:function(){return Boolean(this.getStateByKey(e.protected.DATASTORE_MANAGE_SELECTION)&&this.getStateByKey(e.protected.DATASTORE_MANAGE_SELECTION).value)}},{key:"_getSelectedIdsFromRowMetaData",value:function(s){var c=[];return s.forEach(function(f){Array.isArray(f)&&f[0].selected&&c.push(f[0].id)}),c}},{key:"_parseColumnMetaDataForSortState",value:function(s){var c=void 0;return s.forEach(function(f){f&&f.hasOwnProperty("sorted")&&Array.isArray(f.sorted)&&c===void 0&&(c=f.sorted)}),c}},{key:"_translateSortStateToViewIndices",value:function(s){var c=this,f=[];return Array.isArray(s)&&s.forEach(function(p){var v=c._convertDSCriteriaToViewCriteria(p);v.columnIndex.length>0?f=f.concat(v):f=f.concat([{}])}),f}},{key:"_convertDSCriteriaToViewCriteria",value:function(s){var c=this._columnDataMapper.getMappedViewIndicesForDataIndex(s.columnIndex);return Object.assign({},s,{columnIndex:c})}},{key:"_filterSortStateAgainstSortConfig",value:function(s){var c=this,f=[];return s.forEach(function(p){if(!Array.isArray(p.columnIndex)){f.push({});return}var v=[];p.columnIndex.forEach(function(g){c._doesSortTypeMatchWithConfiguration(Object.assign({},p,{columnIndex:g}))&&v.push(g)}),f.push(Object.assign({},p,{columnIndex:v}))}),f}},{key:"_determineOneColumnForEachSortCriteria",value:function(s){var c=[],f=this._getViewSortArrowColumn();return s.forEach(function(p){if(!Array.isArray(p.columnIndex)){c.push({});return}var v=p.columnIndex[0];p.columnIndex.indexOf(f)>=0&&(v=f),c.push(Object.assign({},p,{columnIndex:v}))}),c}},{key:"_getViewSortArrowColumn",value:function(){var s=this._getPreviousSortState();return s&&s.value?s.rangeList[0].columns.start:-1}},{key:"_doesSortTypeMatchWithConfiguration",value:function(s){return s.compare===this._getSortOrderConfiguredForColumnIndex(s.columnIndex)}},{key:"_getSortOrderConfiguredForColumnIndex",value:function(s){if(!Number.isInteger(s))return o;var c=this._columnMetaData.getHeaderMetaData()[s],f=c.parentId,p=this.getStateByKey(e.protected.GROUPED_COLUMN_HEADERS);return f===void 0||p&&p.value===!1?c.sortType:this._getSortTypeForParentId(f)}},{key:"_getSortTypeForParentId",value:function(s){var c=o;return this._columnSpanningMetaData.forEach(function(f){f.forEach(function(p){p.forEach(function(v){v&&v.value&&v.value[s]&&(c=v.value[s].sortType)})})}),c}},{key:"clearSortState",value:function(s){this._sortState=null,this.deleteState(e.protected.SORTED),this.deleteColumnMetaData(e.protected.SORTED,s.columns.start)}},{key:"clearCurrentSortState",value:function(){var s=this.getStateByKey(e.protected.SORTED);s&&this.clearSortState(s.rangeList[0])}},{key:"_didSortStateChange",value:function(s){if(!Array.isArray(this._sortState)||this._sortState.length!==s.length)return!0;var c=!1;return this._sortState.forEach(function(f,p){c||(f.columnIndex!==s[p].columnIndex||f.order!==s[p].order||f.compare!==s[p].compare)&&(c=!0)}),c}},{key:"_emitViewDataChanged",value:function(){var s=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f=this.getStateByKey("viewBuffer");if(f){var p=this._columnMetaData.getUnifiedMetaData(),v=this._rowMetaData.getUnifiedMetaData(),g=this._columnMetaData.getMetaDataRangeList(),E=this._rowMetaData.getMetaDataRangeList();if(this._viewData&&this._viewData.length===g.length&&this._viewData.length===E.length){for(var D=0;D<this._viewData.length;D+=1){var F=this._viewData[D].range,w=g[D],x=E[D];if(F.columns.start!==w.columns.start||F.columns.end!==w.columns.end||F.rows.start!==x.rows.start||F.rows.end!==x.rows.end)return}this.setState(e.protected.VIEW_DATA,this._viewData),this.setState(e.protected.ROW_METADATA,v),this._emit("viewDataChanged",{viewData:this._viewData,columnMetaData:p,rowMetaData:v,rangeList:f.rangeList,columnSpanningMetaData:this._columnSpanningMetaData}),Object.keys(c).forEach(function(R){switch(R){case"sorted":s._didSortStateChange(c.sorted)&&(s._sortState=c.sorted,s._emit(r.internal.DATA_SORTED,{sorted:c.sorted}));break;case"selection":var T=s.getStateByKey("selected")||[];Array.isArray(T)||(T=T.value||[]),T.join()!==c.selection.join()&&s._emit(r.internal.DATASTORE_SELECTION,{selectedIds:c.selection});break}})}}}},{key:"_columnMetaDataToString",value:function(s,c){var f=c?c[0]:0,p=f&&f.columns?f.columns.end:0;if(!s||!s[0]||!p)return"";for(var v=f&&f.columns?f.columns.start:0,g="",E="",D=0,F=" columnWidths = ",w=0,x=v;x<=p;x+=1){var R=null;try{s[0]&&s[0](x)&&(R=s[0](x).value)}catch(P){R=null}if(!!R){D++,R[e.protected.SORTED]&&(g+=" sortCol = "+x+" sort = "+JSON.stringify(R[e.protected.SORTED]));var T=Object.keys(R);T.length>w&&(w=T.length,E=" col="+x+" label= "+R.label+" prop count = "+T.length+" props="+T);var S="x",I=R&&R.styleData&&R.styleData.hasOwnProperty("maxWidth");I&&(S="s"+R.styleData.maxWidth);var B=R&&R.width&&R.width.hasOwnProperty("value");B&&(S="w"+R.width.value),F+=",["+x+"]"+S}}return"Col Count = "+D+g+E+F}},{key:"sort",value:function(s){for(var c=[],f=0;f<s.length;f+=1){var p=s[f];if(p.columnIndex<this.dataSize.columns.start||p.columnIndex>this.dataSize.columns.end)throw new Error("columnIndex is out of bounds");var v={columnIndex:this._columnDataMapper.viewToDataIndex(p.columnIndex),order:p.order,compare:p.compare};c.push(v)}this._dataModel.sort(c,this._getSortOptions())}},{key:"_getSortOptions",value:function(){var s=!1,c=this.getStateByKey(e.protected.SORT_BEHAVIOUR);return c&&c.value===!0&&(s=!0),{keepSorted:s}}},{key:"setColumnHeaders",value:function(s){if(!s||s.length===0){if(this._columnDataMapper.viewColumnIndexToDataIndex=[],this._viewColumnRange=this._dataModel,this._dataModel.setHeaders)this._dataModel.setHeaders(s);else{var c=[t.range().setColumns(0,-1).setRows(0,1/0)];this.setState("columnHeaders",[],c)}this._columnMetaData.setViewHeaders([]),this._emitDataSizeChanged();return}var f=[t.range().setColumns(0,s.length-1).setRows(0,1/0)];this._viewColumnRange={dataSize:f[0]},this._columnDataMapper.viewColumnIndexToDataIndex=s.map(function(p){return p.dataIndex}),this._columnMetaData.setViewHeaders(s),this._dataModel.setHeaders?this._dataModel.setHeaders(s):this.setState("columnHeaders",s,f)}},{key:"setColumnHeaderConfig",value:function(s){this._columnHeaderConfig=Object.assign({},s);var c=!!(s&&s.displayIndices);this.setState(e.DISPLAY_COLUMN_INDEX,c);var f=!!(s&&s.displayColumnLabel);this.setState(e.DISPLAY_COLUMN_LABEL,f);var p=!!(s&&s.hideColumnHeader);this.setState(e.HIDE_COLUMN_HEADER,p)}},{key:"getColumnHeaderConfig",value:function(){return this._columnHeaderConfig}},{key:"setRowHeaderConfig",value:function(s){this._rowHeaderConfig=s;var c=!!(s&&s.displayIndices),f=!!(s&&s.displayRowLabel);this.setState(e.DISPLAY_ROW_HEADER_INDICES,c),this.setState(e.displayRowHeader,f);var p=s&&s.rowHeaderWidth||0;this.setState(e.rowHeaderWidth,p)}},{key:"getRowHeaderConfig",value:function(){return this._rowHeaderConfig}},{key:"setSpanningHeaders",value:function(s){this._dataModel.setSpanningHeaders&&this._dataModel.setSpanningHeaders(s)}},{key:"getSpanningHeaders",value:function(){return this._dataModel.getSpanningHeaders?this._dataModel.getSpanningHeaders():{}}},{key:"updateHeader",value:function(s){return this._dataModel.updateHeader(s)}},{key:"updateRowHeader",value:function(s,c){return this._dataModel.updateRowHeader(s,c)}},{key:"getColumnHeaders",value:function(){return this._dataModel.getHeaders?this._dataModel.getHeaders()||[]:this.getStateByKey("columnHeaders").value}},{key:"getColumnCount",value:function(){var s=this.getColumnHeaders();return s.length||this.dataSize.columns.count}},{key:"getRowCount",value:function(){return this.dataSize.rows.count}},{key:"setState",value:function(s,c){var f=this,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(["all","keys"].indexOf(s)>=0)throw new Error("The key '"+s+"' is reserved, and cannot be used to setState");var v=p.slice(),g={value:c,rangeList:v,pointerList:[]};this._deleteState(s),this._stateCategoryIndex[s]=g,s===e.protected.SORTED&&this._setPreviousSortState(c,p),v.forEach(function(E){var D=f._stateRangeIndex.insert(E,s);g.pointerList.push(D)}),this._emit(s,this.getStateByKey(s))}},{key:"_setPreviousSortState",value:function(s,c){this._previousSortState=Object.create({value:s,rangeList:c})}},{key:"_getPreviousSortState",value:function(){return this._previousSortState}},{key:"deleteState",value:function(s){this._deleteState(s),this._emit(s)}},{key:"_deleteState",value:function(s){var c=this;if(!!this._stateCategoryIndex[s]){var f=this._stateCategoryIndex[s];delete this._stateCategoryIndex[s],f.pointerList.forEach(function(p){c._stateRangeIndex.remove(p)})}}},{key:"getStateByKey",value:function(s){var c=this._stateCategoryIndex[s];return c?{value:c.value,rangeList:c.rangeList.slice()}:null}},{key:"getStateByRangeList",value:function(s){var c=this,f={};return f.keys=[],s.forEach(function(p){c._stateRangeIndex.forEach(function(v){var g=v.key,E=v.value;f[E]||t.doesRangeIntersect(p,g)&&(f[E]=c.getStateByKey(E),f[E].firstMatch=g,f.keys.push(E))})}),f}},{key:"on",value:function(s,c){var f=this;this._events[s]||(this._events[s]=[]),this._events[s].push(c);var p={};return p.remove=function(){var v=f._events[s].indexOf(c);f._events[s].splice(v,1),p.remove=function(){return null}},p}},{key:"_addOwnListeners",value:function(s){this._ownedListeners.push(s)}},{key:"_removeOwnListeners",value:function(){this._ownedListeners.forEach(function(s){return s.remove()})}},{key:"destroy",value:function(){this._removeOwnListeners(),this._dataModel=null,this._events={}}},{key:"_emit",value:function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=this._events.all,p=this._events[s],v=Object.getOwnPropertyNames(c),g={};v.forEach(function(D){g[D]=c[D]}),g.eventName=s;var E=function(F){F&&F.forEach(function(w){w(g)})};E(p),E(f)}},{key:"_viewColumnRange",set:function(s){this._viewColumnObject=s},get:function(){return this._viewColumnObject.dataSize.columns}},{key:"viewBuffer",set:function(s){var c=s.size,f=s.rangeList,p=f.slice(),v=this._columnDataMapper.viewToModelRangeMapping(p);this.setState("viewBuffer",c,p),this._manageDataModelPaging(v)},get:function(){var s=this.getStateByKey("viewBuffer");return{size:s.value,rangeList:s.rangeList}}},{key:"viewPort",set:function(s){var c=s.size,f=s.rangeList;this.setState("viewPort",c,f)},get:function(){var s=this.getStateByKey("viewPort");return{size:s.value,rangeList:s.rangeList}}},{key:"dataSize",get:function(){var s=t.range();return s=s.setColumns(this._viewColumnRange.start,this._viewColumnRange.end),s=s.setRows(this._dataModel.dataSize.rows.start,this._dataModel.dataSize.rows.end),s}}]),i}();return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(){function n(e,t){m(this,n),this._next=null,this._prev=null,this._value=t,this._key=e}return y(n,[{key:"next",get:function(){return this._next},set:function(t){this._next=t}},{key:"prev",get:function(){return this._prev},set:function(t){this._prev=t}},{key:"isLast",get:function(){return this._next===null}},{key:"isFirst",get:function(){return this._prev===null}},{key:"key",get:function(){return this._key}},{key:"value",get:function(){return this._value}}]),n}(),d=function(){function n(){m(this,n),this._root=null}return y(n,[{key:"insert",value:function(t,r){var o=new h(t,r);return this._root!==null&&(this._root.prev=o,o.next=this._root),this._root=o,o}},{key:"find",value:function(t){if(this._root===null)return null;for(var r=this._root;r;){if(r.key===t)return r;r=r.next}return null}},{key:"forEach",value:function(t){if(this._root!==null)for(var r=this._root;r;)t(r),r=r.next}},{key:"removeWithKey",value:function(t){var r=this.find(t);this.remove(r)}},{key:"remove",value:function(t){t&&(t.isFirst?(this._root=t.next,this.root&&!this.root.isLast&&(t.next.prev=null)):t.isLast?t.prev.next=null:(t.prev.next=t.next,t.next.prev=t.prev))}},{key:"root",get:function(){return this._root}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(693),l(7)],C=l.dj.d(A,function(h,d){"use strict";var n=function(a,i){var u=[],s=[];if(i.length===0)s=a.slice(0);else{if(a.forEach(function(v){if(v.start>=i.length||v.end>=i.length)throw new Error("RangeIndex exceeds dataIndexMap size");var g=i.slice(v.start,v.end+1);u=u.concat(g)}),u.length===0)return[];u.sort(function(v,g){return v-g});var c={start:u[0],end:u[0]};s.push(c);for(var f=1;f<u.length;f+=1){var p=u[f];c.end+1===p||c.end===p?c.end=p:(c={start:p,end:p},s.push(c))}}return s},e=function(a,i){var u=[],s=a.map(function(f){return f.columns}),c=n(s,i);return u=u.concat(c.map(function(f){return d.range().setColumns(f.start,f.end).setRows(a[0].rows.start,a[0].rows.end)})),u},t=function(a,i,u){var s=e([a],u),c=[];return s.forEach(function(f){for(var p=!1,v=0;v<i.length;v+=1)if(d.isRangeInside(f,i[v])){p=!0,c.push(v);break}if(!p)throw new Error("Data Range to view range mapping not found")}),c},r=function(){function o(){m(this,o),this._viewColumnIndexToDataIndex=[]}return y(o,[{key:"viewToModelRangeMapping",value:function(i){var u=this,s=[],c=d.groupRangeListByRow(i);return c.forEach(function(f){var p=e(f,u.viewColumnIndexToDataIndex);s=s.concat(p)}),s}},{key:"modelToViewDataMapping",value:function(i,u,s){var c=this,f=[],p=i.map(function(v){return v.range});return s.forEach(function(v,g){var E=void 0;E=t(v,p,c.viewColumnIndexToDataIndex),E.sort(function(x,R){return i[x].range.columns.start-i[R].range.columns.start});var D=[];f[g]=function(x){if(x<D.length)return D[x];throw new Error("No Data Found for rowIndex: "+x)},f[g].range=v;for(var F=v.rows.start;F<=v.rows.end;F+=1){var w=o._createRow(F,E,i,u,c.viewColumnIndexToDataIndex);D[F]=w}}),f}},{key:"viewToDataIndex",value:function(i){var u=this.viewColumnIndexToDataIndex;return u.length>0?u[i]:i}},{key:"getMappedViewIndicesForDataIndex",value:function(i){var u=this.viewColumnIndexToDataIndex;return u.length>0?u.map(function(s,c){return s===i?c:-1}).filter(function(s){return s!==-1}):[]}},{key:"viewColumnIndexToDataIndex",set:function(i){this._viewColumnIndexToDataIndex=i},get:function(){return this._viewColumnIndexToDataIndex}}],[{key:"_createRow",value:function(i,u,s,c,f){var p=u.map(function(v){var g=s[v],E=[];return c&&(E=c[v]),{start:g.range.columns.start,end:g.range.columns.end,cells:g[i],metaData:E[i]||[]}});return h(p,f)}}]),o}();return r},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y={};return function(m,h){if(!Array.isArray(m))throw new Error("No rowData Present");var d=function n(e){var t=void 0;h.length===0?t=e:t=h[e];var r=n._lastAccessRowDataIndex;do{if(t>=m[r].start&&t<=m[r].end)return{value:m[r].cells[t],metaData:m[r].metaData[t]||y,isEqual:function(a){return a.value===this.value&&a.metaData===this.metaData}};r+=1,r=r%m.length}while(r!==n._lastAccessRowDataIndex);throw new Error("No Data Found for cellIndex: "+e)};return d._lastAccessRowDataIndex=0,d._rowData=m,d._dataIndexMap=h,d.isEqual=function(n){if(n._rowData.length!==m.length||h!==n._dataIndexMap)return!1;for(var e=0;e<=m.length;e+=1)if(d._rowData[e].data!==m[e].data)return!1;return!0},d}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";return function(){function h(d){m(this,h),this._flatRangeList=[],this._headerMetaData=[],this._dataMetaData=[],this._viewMetaData=[],this._rankType=d.rankType||"row",this._rankType==="row"?(this._flattenRangeDimension=function(n){return n.setColumns(0,0)},this._flattenData=function(n,e,t){return n[e](t)(0)}):this._rankType==="column"&&(this._flattenRangeDimension=function(n){return n.setRows(0,0)},this._flattenData=function(n,e,t){return n[e](0)(t)}),this._dataViewMapper=d.dataViewMapper}return y(h,[{key:"setViewHeaders",value:function(n){var e=n.slice(0);this._headerMetaData=e}},{key:"getHeaderMetaData",value:function(){return Object.assign({},this._headerMetaData)}},{key:"setRangeList",value:function(n){this._flatRangeList=n.map(this._flattenRangeDimension)}},{key:"setViewMetaData",value:function(n,e,t){this._viewMetaData[t]||(this._viewMetaData[t]={version:0,value:{}}),this._viewMetaData[t].value[n]=e,this._viewMetaData[t].version+=1}},{key:"deleteViewMetaData",value:function(n,e){!this._viewMetaData[e]||(delete this._viewMetaData[e].value[n],this._viewMetaData[e].version+=1)}},{key:"setDataMetaData",value:function(n){var e=this._transform(n,this._dataViewMapper,this._flattenData);this._dataMetaData=e}},{key:"getMetaDataRangeList",value:function(){return this._flatRangeList}},{key:"getUnifiedMetaData",value:function(){for(var n=this,e=this._dataMetaData,t=this._headerMetaData,r=[],o=function(s,c){return Object.keys(s).forEach(function(f){c[f]=s[f]}),c},a=function(s){var c=s;r.push(function(f){var p=e[c](f).value;p=Object(p);var v={};v=o(p,v);var g={_dataMetaData:e[c](f),isEqual:function(x){return this._headerMetaData===x._headerMetaData&&this._viewMetaDataVersion===x._viewMetaDataVersion&&this._dataMetaData.isEqual(x._dataMetaData)}};if(t[f]){var E=t[f];v=o(E,v),g._headerMetaData=t}if(n._viewMetaData[f]){var D=n._viewMetaData[f].value,F=n._viewMetaData[f].version;Object.keys(D).forEach(function(w){v[w]=D[w]}),g._viewMetaDataVersion=F}return g.value=v,g})},i=0;i<e.length;i+=1)a(i);return r}},{key:"_transform",value:function(n,e,t){for(var r=e.modelToViewDataMapping(n,n,this._flatRangeList),o=[],a=t.bind(this,r),i=0;i<r.length;i+=1){var u=a.bind(this,i);o.push(u)}return o}}]),h}()},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(696),l(707),l(708),l(731),l(732),l(3),l(79),l(777),l(778),l(19)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a,i,u){"use strict";var s=function(){function c(){m(this,c)}return y(c,null,[{key:"setViewModel",value:function(p,v,g,E){var D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},F=new p(g),w=new v(F);w.setState("lookAheadRowBuffer",3),w.viewPort={size:{left:0,top:0,width:0,height:0},rangeList:[E.range().setRows(0,11).setColumns(0,5)]};var x=D.CellComponent,R=D.RowComponent,T=D.TBodyComponent,S=D.TooltipComponent,I=D.widgetType;return w.setState(r.protected.component.CELL,x||h),w.setState(r.protected.component.ROW,R||d),w.setState(r.protected.component.TBODY,T||n),w.setState(r.protected.WIDGET_TYPE,I||"Table"),w.setState(r.protected.component.TOOLTIP,S||e),w}},{key:"initializeTableView",value:function(p,v,g,E,D){var F=new a(p),w=[new i({viewPortItem:p.viewPort.rangeList[0],viewModel:p,dataSize:F})],x={viewModel:p,dataStore:v,viewPortList:w,dataSize:F,options:D};o.parseViewModelWithConfig({viewModel:p,dataSize:F,columnModel:D.columnModel,attributes:D.attributes});var R=Object.keys(g).map(function(S){return new g[S](x)}),T=new t({viewModel:p,options:D,viewPortList:w,dataStore:v,controllers:R,pluginEnum:E});return T.initializeTable(),T}},{key:"mixinFacade",value:function(p,v,g){g=g||"exposedAPI",v.forEach(function(E){if(E[0][g]){var D=E[0][g]();for(var F in D){p[F]=D[F];var w=Object.getOwnPropertyDescriptor(D,F);(w.set||w.get)&&Object.defineProperty(p,F,Object.getOwnPropertyDescriptor(D,F))}}})}},{key:"facadeListeners",value:function(p,v,g){g=g||"emits",v.forEach(function(E){E[0][g]&&E[0][g].forEach(function(D){p._eventMap[D]=E[0]})})}},{key:"registerRenderer",value:function(p,v,g,E){return u.curry(c._updateRegistration)("renderer")(p,v,g,E)}},{key:"registerEditor",value:function(p,v,g,E){return u.curry(c._updateRegistration)("editor")(p,v,g,E)}},{key:"setupRegistration",value:function(p,v){p._registrationMap={renderer:{},editor:{}},v.setState(r.REGISTRATION,p._registrationMap)}},{key:"_updateRegistration",value:function(p){return function(v,g,E,D){v._registrationMap[p][E]=D,g.setState(r.REGISTRATION,v._registrationMap)}}}]),c}();return s},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(2),l(187),l(703),l(705),l(130),l(294),l(25)],C=l.dj.d(A,function(y,m,h,d,n,e,t){"use strict";var r=new e,o=function(i){var u=i.colIndex,s=i.rowIndex,c=i.data,f=i.focused,p=f===void 0?{}:f,v=i.getEditor,g=i.getRenderer,E=i.groupAttr,D=i.focusCached,F=i.getInteractiveRenderer,w=i.setInteractiveRenderer,x=i.styleData,R=i.customProps,T=i.additionalClass,S=i.eventCallback,I=i.editTrigger,B=i.editState,P=i.editValidation,L=i.editProcessing,O=i.selectionMap,W=i.registration,j=i.displaySearch,K=i.useEditorRendererDataFields,H=i.resizeSelection,V=i.readonly,$=n(S),G=$.handleMouseOverWithRenderer,Q=void 0,J=void 0,Y=void 0,X={},Z={},q=m,ee=c(s)(u);J=F(s,u),ee&&ee.metaData&&t.isReadOnly(ee.metaData)&&(V=ee.metaData.readonly),V===!0?(X.readonly=V,Y=null):Y=v(s,u),ee.metaData&&(j&&ee.metaData.searchHighlight&&(X.searchHighlight=ee.metaData.searchHighlight),ee.metaData.style&&(x.color=ee.metaData.style.color||x.color,x.backgroundColor=ee.metaData.style.backgroundColor||x.backgroundColor,x.fontWeight=ee.metaData.style.fontWeight||x.fontWeight,x.fontSize=ee.metaData.style.fontSize||x.fontSize,x.fontFamily=ee.metaData.style.fontFamily||x.fontFamily,x.fontStyle=ee.metaData.style.fontStyle||x.fontStyle,x.textAlign=ee.metaData.style.textAlign||x.textAlign),ee.metaData.rendererConfig&&(X.rendererConfig=ee.metaData.rendererConfig),ee.metaData.renderer&&(typeof ee.metaData.renderer=="string"?Q=W.renderer[ee.metaData.renderer]:Q=ee.metaData.renderer),"interactiveRenderer"in ee.metaData&&(typeof ee.metaData.interactiveRenderer=="string"?(J=W.renderer[ee.metaData.interactiveRenderer],w(s,u,J)):ee.metaData.interactiveRenderer?(J=ee.metaData.interactiveRenderer,w(s,u,J)):J=null),ee.metaData&&ee.metaData.editorConfig&&(Z.editorConfig=ee.metaData.editorConfig),"editor"in ee.metaData&&V!==!0&&(typeof ee.metaData.editor=="string"?Y=W.editor[ee.metaData.editor]:ee.metaData.editor?Y=ee.metaData.editor:Y=null)),J?(q=h,Q=J,X.interactiveRenderer=!0):Y&&(q=d),Q=Q||g(s,u)||r;var re=[s,u].join(","),he=B[s+","+u]?{rowIndex:s,colIndex:u}:!1;return y.createElement(q,{eventCallback:S,row:s,column:u,editType:"tableCell",rowIndex:s,colIndex:u,styleData:x,cellData:ee,groupAttr:E,focusClass:p[re],focusCached:D,additionalClass:T,focused:p,renderer:Q,editor:Y,customProps:R,editTrigger:I,editState:he,editValidation:P,editProcessing:L,renderMetaData:X,editorMetaData:Z,selectionMap:O,handleMouseOver:G,useEditorRendererDataFields:K,resizeSelection:H})};return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(81),l(5),l(181),l(2)],C=l.dj.d(A,function(n,e,t,r){var o=function(a){d(i,a);function i(){m(this,i);var u=h(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return u._handleMouseDown=u._handleMouseDown.bind(u),u._handleMouseUp=u._handleMouseUp.bind(u),u._borderResize=!1,u}return y(i,[{key:"_handleMouseDown",value:function(s){document.addEventListener("mouseup",this._handleMouseUp),window.addEventListener("blur",this._handleMouseUp);var c={resize:!0,location:this.props.cellResizeLocation,x:s.x,y:s.y};this.props.eventCallback(e.protected.RESIZE_SELECTION_BEGIN,c),this._borderResize=!0}},{key:"_handleMouseUp",value:function(s){document.removeEventListener("mouseup",this._handleMouseUp),window.removeEventListener("blur",this._handleMouseUp),this._borderResize=!1,this.props.eventCallback(e.protected.RESIZE_SELECTION_END,{resize:!1})}},{key:"_getClassFromLocation",value:function(s){var c="mw-table-resize-selection-affordance-top";return s===t.BOTTOM&&(c="mw-table-resize-selection-affordance-bottom"),s===t.LEFT&&(c="mw-table-resize-selection-affordance-left"),s===t.RIGHT&&(c="mw-table-resize-selection-affordance-right"),c}},{key:"componentDidMount",value:function(){this.reactRef&&this.reactRef.tagName&&this.reactRef.addEventListener("mousedown",this._handleMouseDown)}},{key:"componentWillUnmount",value:function(){this.reactRef&&this.reactRef.tagName&&this.reactRef.removeEventListener("mousedown",this._handleMouseDown)}},{key:"render",value:function(){var s=this,c=this.props,f=c.cellResizeLocation,p=c.colIndex,v=c.rowIndex,g=this._getClassFromLocation(f);return r.createElement("div",{ref:function(D){s.reactRef=D},"data-test-id":n.RESIZE_SELECTION_AFFORDANCE,"data-resize-column":p,"data-resize-row":v,"data-resize-location":f,className:g})}}],[{key:"createComponent",value:function(s,c){var f=s.eventCallback,p=s.colIndex,v=s.colStartIndex,g=s.rowIndex;return v=v||p,r.createElement(i,{key:"resize.col"+p+"row"+g+c,cellResizeLocation:c,colIndex:v,rowIndex:g,eventCallback:f})}}]),i}(r.Component);return o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(291),l(71),l(2)],C=l.dj.d(A,function(y,m,h){var d=function(e,t){var r=m.isDeepEqual(e.value,t.value),o=m.isDeepEqual(e.metaData,t.metaData),a=e.useEditorRendererDataFields===t.useEditorRendererDataFields,i=e.renderer===t.renderer;return r&&o&&a&&i};return h.memo(y,d)},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(32)],C=l.dj.d(A,function(y){var m=[],h=window.requestAnimationFrame,d=!1;function n(e,t,r,o){var a=r.style.display;r.style.display="none",e.insertBefore(t,o),m.push({node:r,display:a}),d||(d=!0,h(function(){d=!1;for(var i=0;i<m.length;i+=1){var u=m[i],s=u.node,c=u.display;s.parentNode&&(s.parentNode.removeChild(s),s.style.display==="none"&&(s.style.display=c))}m=[]}))}return{shouldCellUpdate:function(t,r,o,a){if(JSON.stringify(t.editState)!==JSON.stringify(r.editState)||t.focusClass!==r.focusClass||JSON.stringify(t.additionalClass)!==JSON.stringify(r.additionalClass)||t.renderer!==r.renderer||t.interactiveRenderer!==r.interactiveRenderer||t.editor!==r.editor||JSON.stringify(t.editValidation)!==JSON.stringify(r.editValidation)||t.editProcessing!==r.editProcessing)return!0;var i=t.cellData.isEqual(r.cellData),u=t.styleData!==r.styleData;t.styleData instanceof Object&&r.styleData instanceof Object&&(u=!y.shallowEqual(t.styleData,r.styleData));var s=t.cellMetaData.isEqual(r.cellMetaData);return!i||!s||u},replaceFirstNode:function(t,r,o){n(t,r,o,t.firstChild)},replaceLastNode:function(t,r,o){n(t,r,o,null)}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(130),l(122),l(120),l(121),l(71),l(2)],C=l.dj.d(A,function(y,m,h,d,n,e){var t="mw-string-renderer",r="mw-treetable",o=function(v,g){var E=n.isDeepEqual(v.value,g.value),D=n.isDeepEqual(v.metaData,g.metaData),F=v.useEditorRendererDataFields===g.useEditorRendererDataFields,w=v.renderer===g.renderer;return E&&D&&F&&w},a=function(v){var g=v.typeOfCell,E=v.treeNodeRendererClassName,D=E===void 0?"":E,F=v.treeCellContentClassName,w=F===void 0?"":F,x=v.useEditorRendererDataFields,R=v.metaData,T=v.value,S=function(P){return P==null?"":h().getDisplayValue(P,d.RENDERER,x).toString()},I=S(T);return i(g,w,I,D,R)},i=function(v,g,E,D,F){var w=void 0;return m.metaHasHighlightMatches(F)?w=s(E,F):w=u(v,E,D),g!==""&&(w.className=g),w};function u(p,v,g){return p===r?c(g,v):f(v)}function s(p,v){var g=e.createElement("div",{className:t,style:{textOverflow:"ellipsis",overflow:"hidden"}});return m.appendHighlightDomReact(g,p,v),g}function c(p,v){return e.createElement("span",{className:p},e.createElement("div",{className:t,style:{textOverflow:"ellipsis",overflow:"hidden"}},v))}function f(p){return e.createElement("div",{className:t,style:{textOverflow:"ellipsis",overflow:"hidden"}},p)}return e.memo(a,o)},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(16),l(23)],C=l.dj.d(A,function(h,d){"use strict";var n=function(){function e(t,r){m(this,e);var o=new h;t===void 0&&(t=""),this.config=r,this._emit=o.emit.bind(o),this.on=o.on.bind(o),this._handleKeyDown=this._handleKeyDown.bind(this),this._handleBlur=this._handleBlur.bind(this);var a=document.createElement("div");this._oldValue=t;var i=this._textField=document.createElement("input");i.input="text",i.value=t,i.tabIndex=0,a.appendChild(i),this._domNode=a,i.className="mwTableTextEditor",this._textField.addEventListener("blur",this._handleBlur),this._textField.addEventListener("keydown",this._handleKeyDown)}return y(e,[{key:"_handleBlur",value:function(){this._handleEdit()}},{key:"_handleEdit",value:function(){var r=this._textField.value,o=this._oldValue;o!==r?this._emit("editComplete",{newValue:r,oldValue:o}):this._emit("editCanceled")}},{key:"_handleKeyDown",value:function(r){switch(r.stopPropagation(),r.keyCode){case 27:this._emit("editCanceled");break;case 13:this._handleEdit();break;case d.PAGE_UP:case d.PAGE_DOWN:r.preventDefault();break;default:}}},{key:"setFocus",value:function(){this._textField.setSelectionRange(0,this._textField.value.length),this._textField.focus()}},{key:"getDomNode",value:function(){return this._domNode}},{key:"destroy",value:function(){this._textField.removeEventListener("blur",this._handleBlur),this._textField.removeEventListener("keydown",this._handleKeyDown),delete this._textField,delete this._domNode}},{key:"value",get:function(){return this._textField.value},set:function(r){this._textField.value=r}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(249),l(2)],C=l.dj.d(A,function(y,m){var h=function(n){var e=n.loading,t=n.style;return e?m.createElement("div",{className:"mw-table-progress-indicator",style:t},m.createElement("mw-progress-indicator",{className:"progressIndicator",size:"xsmall",type:"spinner"})):null};return h},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(2),l(187),l(704),l(22)],C=l.dj.d(A,function(y,m,h,d){"use strict";var n={baseStyle:"mw-table-cell",cellType:d.cellType.INTERACTIVE_TABLE_CELL},e=h(m,n);return e},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(m){for(var h=1;h<arguments.length;h++){var d=arguments[h];for(var n in d)Object.prototype.hasOwnProperty.call(d,n)&&(m[n]=d[n])}return m};A=[l(5),l(71),l(25),l(2)],C=l.dj.d(A,function(m,h,d,n){"use strict";var e=function(a,i){return function(u){var s=u.eventCallback,c=u.renderer,f=u.cellData,p=u.colIndex,v=u.rowIndex,g=u.cellMetaData,E=g===void 0?!1:g,D=u.renderMetaData;return i&&i.baseStyle&&(i.baseStyle=d.isReadOnly(D)?"mw-table-cell mw-table-cell-background":"mw-table-cell"),n.createElement(a,y({},u,{onMouseDown:function(w){return r(w)},onClick:function(w){return t(w,f,s,c,v,p,E,D)},onDoubleClick:function(){},type:i}))}};return e;function t(o,a,i,u,s,c,f,p){var v=arguments.length>8&&arguments[8]!==void 0?arguments[8]:m.internal.INTERACTIVE_CELL_CLICK,g={},E=u.handleAction({value:a.value,target:o.target});if(d.isReadOnly(p))return!1;if(f){var D=h.hasModifierKey(o);if(D)return;var F=f.value;E=u.handleAction(a.value,{actionName:"click",target:o.target}),g={node:F,row:s||0,column:c||0,oldValue:E.oldValue,newValue:E.newValue,metaData:a.metaData},E.hasChanged&&i(v,g)}else E&&(g={row:s,column:c,oldValue:E.oldValue,newValue:E.newValue},i(v,g))}function r(o){o.target.hasAttribute("data-clickable")&&o.stopPropagation()}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(187),l(293),l(22)],C=l.dj.d(A,function(y,m,h){"use strict";var d={baseStyle:"mw-table-cell mw-table-text-full",cellType:h.cellType.EDITABLE_TABLE_CELL},n=m(y,d);return n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){var h={enterEditEvent:"enterRowEditMode",editCompleteEvent:"rowEditComplete",editCanceledEvent:"leaveRowEditMode"},d={enterEditEvent:"enterEditMode",editCompleteEvent:"editComplete",editCanceledEvent:"editCancel",editValidationEvent:"editValidation",processEditEvent:"processEdit"},n={enterEditEvent:"enterEditMode",editCompleteEvent:"editComplete",editCanceledEvent:"editCancel",editValidationEvent:"editValidation",processEditEvent:"processEdit"},e={rowLabel:h,tableCell:d,treeCell:n},t=function(){function r(){m(this,r)}return y(r,null,[{key:"getEditEventByType",value:function(a,i){return e[a][i]}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(42),l(100),l(126),l(2)],C=l.dj.d(A,function(y,m,h,d){"use strict";var n={0:"",1:"mw-table-row-selected"},e="mw-table-row",t=function(i){var u=d.useContext(m),s=u.dndEnabled,c=i.selectionMap,f=c===void 0?{rows:function(){return 0}}:c,p=i.rowIndex,v=i.className,g=[];s&&f.rows(p)&&g.push(y.SOURCE_SELECTOR);var E=o(i,g),D=r(f,p,v);return d.createElement("tr",{role:"row","aria-rowindex":p,"data-test-id":p,"data-row-index":p,className:D.join(" ")},E)};return t;function r(a,i,u){var s=[e];return s.push(n[a.rows(i)]),u&&s.push(u),s}function o(a,i){for(var u=a.rowIndex,s=a.data,c=a.focused,f=c===void 0?{}:c,p=a.getEditor,v=a.getRenderer,g=a.getInteractiveRenderer,E=a.setInteractiveRenderer,D=a.customProps,F=a.eventCallback,w=a.headers,x=a.startCol,R=a.endCol,T=a.logicalRowHeight,S=a.focusCached,I=a.component,B=a.editTrigger,P=a.editState,L=a.selectionMap,O=a.resizeSelection,W=a.editValidation,j=a.editProcessing,K=a.registration,H=a.displaySearch,V=a.numberOfGutters,$=a.checkboxTreetable,G=a.useEditorRendererDataFields,Q=[],J=x;J<=R;J++){var Y=J-x,X=w[Y]?w[Y]:{},Z=X?X.styleData:{},q=void 0;if(X.parentId){var ee={parentId:X.parentId,colIndex:J,startCol:x,endCol:R,headerIndex:Y};q=h.getGroupCellAttribute(ee,w)}var re={minWidth:Z.minWidth,maxWidth:Z.maxWidth,width:Z.width,height:D.customHeight?D.customHeight:T+"px",minHeight:T+"px"},he=X?X.readonly:!1;Q.push(d.createElement(I.cell,{key:J,styleData:re,rowIndex:u,colIndex:J,additionalClass:i,data:s,focused:f,focusCached:S,getEditor:p,getRenderer:v,displaySearch:H,getInteractiveRenderer:g,setInteractiveRenderer:E,editValidation:W,editProcessing:j,customProps:D,eventCallback:F,editTrigger:B,editState:P,groupAttr:q,selectionMap:L,registration:K,numberOfGutters:V,checkboxTreetable:$,useEditorRendererDataFields:G,resizeSelection:O,readonly:he}))}return Q}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(2),l(7),l(5),l(3),l(78),l(99),l(30),l(68),l(709)],C=l.dj.d(A,function(n,e,t,r,o,a,i,u,s){"use strict";var c=function(F,w,x){for(var R=Math.max(F.rows.start,w.rows.start),T=Math.min(F.rows.end,w.rows.end),S=R;S<=T;S+=1)x[S]=1},f=function(F,w,x){for(var R=Math.max(F.rows.start,w.rows.start),T=Math.min(F.rows.end,w.rows.end),S=Math.min(F.columns.end,w.columns.end),I=x[S]||[],B=function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return O+a.selection.ACTIVE_RIGHT_BORDER},P=R;P<=T;P+=1)I[P]=B(I[P]);x[S]=I},p=function(F,w,x){for(var R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:a.selection.SELECTED,T=Math.max(F.rows.start,w.rows.start),S=Math.min(F.rows.end,w.rows.end),I=Math.max(F.columns.start,w.columns.start),B=Math.min(F.columns.end,w.columns.end),P=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return K+R},L=B;L>=I;L-=1){for(var O=x[L]||[],W=T;W<=S;W+=1)O[W]=P(O[W]);x[L]=O}},v=function(F){for(var w=F.metadata,x=w===void 0?{selections:[],activeRange:null}:w,R=F.viewBuffer,T=x.selections,S=x.selectionType,I=x.activeRange||e.range(),B=[],P=[],L=0;L<T.length;L+=1)e.doesRangeIntersect(R,T[L])&&(S===r.SELECT_CELLS?p(T[L],R,B):c(T[L],R,P));return p(I,R,B,a.selection.ACTIVE_SELECTED),f(I,R,B),{cellMap:B,cells:function(W){return function(j){var K=B[j]||[];return K[W]||0}},rows:function(W){return P[W]||0}}},g=function(D){d(F,D);function F(){m(this,F);var w=h(this,(F.__proto__||Object.getPrototypeOf(F)).call(this));return w.state={triggerEditState:!1,waitForMouseUp:!1},w._geomObjectY={translateY:0,physicalHeight:0},w._handleMouseDown=w._handleMouseDown.bind(w),w._handleMouseEvent=w._handleMouseEvent.bind(w),w._handleFocusOnly=w._handleFocusOnly.bind(w),w._handleClick=w._handleClick.bind(w),w}return y(F,[{key:"_makeRowElements",value:function(){for(var x=this.props,R=x.data,T=x.focused,S=T===void 0?{}:T,I=x.getEditor,B=x.getRenderer,P=x.getInteractiveRenderer,L=x.resizeSelection,O=x.setInteractiveRenderer,W=x.customProps,j=x.eventCallback,K=x.headers,H=x.startCol,V=x.endCol,$=x.logicalRowHeight,G=x.component,Q=x.startRow,J=x.endRow,Y=x.selectionMapFn,X=x.editTrigger,Z=x.editState,q=x.editValidation,ee=x.tableHasFocus,re=x.editProcessing,he=x.getKeyOnRowComponentFn,me=x.metadata,se=x.registration,te=x.displaySearch,oe=x.numberOfGutters,ue=x.checkboxTreetable,ce=x.useEditorRendererDataFields,ve=Y||v,Se=[],Be=ve(this.props),ke=Q;ke<=J;ke+=1){var Ge=he?he(W,ke):ke;Se.push(n.createElement(G.row,{key:Ge,rowIndex:ke,selectionMap:Be,data:R,editTrigger:X,editState:Z,editValidation:q,editProcessing:re,focusCached:ee,focused:S,getEditor:I,getRenderer:B,displaySearch:te,getInteractiveRenderer:P,setInteractiveRenderer:O,customProps:W,eventCallback:j,component:G,startCol:H,endCol:V,headers:K,activeRange:me.activeRange,logicalRowHeight:$,registration:se,numberOfGutters:oe,checkboxTreetable:ue,useEditorRendererDataFields:ce,resizeSelection:L}))}return Se}},{key:"_setTranslateX",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,R=x+"px",T="translateX("+R+")";this.tbodyRef.style.transform=T,this.tbodyRef.style.webkitTransform=T,this.tbodyRef.style.width="calc(100% + "+-x+"px)"}},{key:"_setTranslateY",value:function(x){var R=x.translateY||0,T=R+"px";this.tbodyRef.style.top=T,this.tbodyRef.style.height="calc(100% + "+-R+"px)"}},{key:"_getTranslateYAndHeight",value:function(){return this._getGeomObject(t.internal.COMPUTE_TRANSLATEY_AND_HEIGHT),{height:this._geomObjectY.physicalHeight,translateY:this._geomObjectY.translateY}}},{key:"_getRowRects",value:function(){for(var x=this.tbodyRef.childNodes,R={},T=0;T<x.length;T+=1)R[x[T].getAttribute("data-row-index")]=x[T].getBoundingClientRect();return R}},{key:"_getRowCellRects",value:function(x){var R=x.row,T=x.col,S="data-row",I="data-col",B="["+S+"]",P="["+I+"]",L="";if(R!==void 0&&T!==void 0)B="["+S+'="'+R+'"]',P="["+I+'="'+T+'"]',L="";else if(R!==void 0)B="["+S+'="'+R+'"]',L=I;else if(T!==void 0)P="["+I+'="'+T+'"]',L=S;else throw new Error("You must specify either a row, column, or both");var O=this.tbodyRef.querySelectorAll("tr "+B+P);if(O.length&&O[0].parentElement.classList.contains("mw-treetable-group-row"))return x.row=x.row+1,this._getRowCellRects(x);for(var W={},j=0;j<O.length;j+=1){var K=O[j];L!==""?W[K.getAttribute(L)]=K.getBoundingClientRect():W=K.getBoundingClientRect()}return W}},{key:"_handleMouseDown",value:function(x,R){var T=R.rowIndex,S=R.colIndex,I=E(R);if(this._setTriggerEditState(I,x),u.isCellInRanges(this.props.metadata.selections,T,S)){this.setState({waitForMouseUp:I}),this._handleFocusOnly(R);return}switch(R.cellType){case"TableCell":case"EditableTableCell":this._handleMouseEvent(x,R);break;case"InteractiveTableCell":x.target.hasAttribute("data-clickable")||this._handleMouseEvent(x,R);break;default:break}}},{key:"_setTriggerEditState",value:function(x,R){var T=this.props,S=T.focused,I=S===void 0?{}:S,B=T.editState,P=T.editProcessing,L=I[x],O=B[x],W=!P,j=!1;L&&!O&&!R.shiftKey&&W&&(j=x),this.setState({triggerEditState:j})}},{key:"_handleFocusOnly",value:function(x){var R={row:x.rowIndex,column:x.colIndex};this.props.eventCallback(t.protected.TABLE_CELL_FOCUS,R)}},{key:"_handleMouseEvent",value:function(x,R){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"tableCellClick",S=Number(R.rowIndex),I=Number(R.colIndex);x.button===o.MOUSE_LEFT_BUTTON&&this.props.eventCallback&&this.props.eventCallback(T,{row:S,column:I,meta:x.metaKey,ctrlKey:x.ctrlKey,shiftKey:x.shiftKey,altKey:x.altKey})}},{key:"_handleClick",value:function(x,R){var T=E(R);switch(R.cellType){case"TableCell":case"InteractiveTableCell":break;case"EditableTableCell":this.state.triggerEditState===T&&this._handleMouseEvent(x,R,"enterEditMode");break}}},{key:"_handleMouseUp",value:function(x,R){if(!!this.state.waitForMouseUp){var T=E(R);this.state.waitForMouseUp===T&&(this.setState({waitForMouseUp:!1}),this._handleMouseEvent(x,R))}}},{key:"_getGeomObject",value:function(x){var R={};this.props.eventCallback(x,R),this._geomObjectY=R.result||this._geomObjectY}},{key:"componentDidMount",value:function(){this.props.eventCallback(t.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTranslateX.bind(this),subscriberId:r.subscriber.TBODY_TRANSFORM,subscribeTo:r.publisher.HEADER_TRANSX,noRender:!0}),this.props.eventCallback(t.internal.NODE_PUBLISH,{publisherFn:this._getTranslateYAndHeight.bind(this),publisherId:r.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0}),this.props.eventCallback(t.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTranslateY.bind(this),subscriberId:r.subscriber.TBODY_TRANSFORM_Y,subscribeTo:r.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0}),this.props.eventCallback(t.protected.ROW_RECTS,{children:this._getRowRects.bind(this),noRender:!0}),this.props.eventCallback(t.protected.ROW_CELL_RECTS,{children:this._getRowCellRects.bind(this),noRender:!0}),(!this.props.getKeyOnRowComponentFn||this.props.eventsToHandle)&&(this._eventDelegator=new s(this.tbodyRef),this._eventDelegator.delegateEvents(this.props.eventsToHandle||{click:this._handleClick,doubleClick:function(){},mousedown:this._handleMouseDown,mouseup:this._handleMouseUp.bind(this)}))}},{key:"componentWillUnmount",value:function(){this._eventDelegator&&this._eventDelegator.destroyEvents()}},{key:"render",value:function(){var x=this,R=this.props,T=R.translateY,S=R.translateX,I=R.columnClass,B=R.editValidation,P="translateX("+S+"px)",L={transform:P,WebkitTransform:P,top:T+"px"},O="mw-table-tbody "+I;B&&B.error?O=O.concat(" errorState"):O=O.replace(/ errorState/g,"");var W=this._makeRowElements();return n.createElement("tbody",{ref:function(K){x.tbodyRef=K},className:O,style:L},W)}}]),F}(n.Component);return g;function E(D){var F=D.rowIndex,w=D.colIndex;return[F,w].join(",")}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(78),l(710),l(728),l(30)],C=l.dj.d(A,function(h,d,n,e){"use strict";var t=function(){function r(o,a){m(this,r),this._refNode=o,this._type=a}return y(r,[{key:"delegateEvents",value:function(a){var i=this._detector=new n(this._refNode),u={};a.doubleClick&&(u.doubleClick=d.doubleTap({options:{maxRadius:3},callbacks:{recognized:function(c,f){var p=e.getCellInfo(c.srcEvent);a.doubleClick(c.srcEvent,p)}}})),a.click&&(u.click=d.leftClick({callbacks:{recognized:function(c,f){var p=e.getCellInfo(c.srcEvent);a.click(c.srcEvent,p)}}})),a.doubleClick&&a.click&&u.click.getCoordinator().waitForFailure(u.doubleClick),i.add(Object.keys(u).map(function(s){return u[s]})),this._mouseDownCallback=function(s){var c=e.getCellInfo(s);s.button===h.MOUSE_LEFT_BUTTON&&a.mousedown(s,c)},this._mouseupCallback=function(s){var c=e.getCellInfo(s);a.mouseup&&s.button===h.MOUSE_LEFT_BUTTON&&a.mouseup(s,c)},this._refNode.addEventListener("mousedown",this._mouseDownCallback),this._refNode.addEventListener("mouseup",this._mouseupCallback)}},{key:"destroyEvents",value:function(){this._detector.destroy(),this._refNode.removeEventListener("mousedown",this._mouseDownCallback),this._refNode.removeEventListener("mouseup",this._mouseupCallback)}}],[{key:"TYPE",get:function(){return Object.freeze({CELL:"Cell"})}}]),r}();return t},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(711),l(718),l(719),l(720),l(721),l(722),l(723),l(724),l(725),l(726),l(727)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i){var u=function(c,f){return function(p){if(f){p.options||(p.options={});for(var v in f)f.hasOwnProperty(v)&&(p.options[v]=f[v])}var g=y(c(p.options));if(p.callbacks)for(var E in p.callbacks)p.callbacks.hasOwnProperty(E)&&g.on(E,p.callbacks[E]);if(p&&p.options&&p.options.pointerTypes){var D=p.options.pointerTypes;g.setPointerTypes(D)}return g}};return{click:u(n),tap:u(d),tapmove:u(h),slide:u(h,{numTaps:0}),flick:u(e),pan:u(t),rotate:u(r),pinch:u(o),doubleTap:u(d,{numTaps:2}),tripleTap:u(d,{numTaps:3}),leftClick:u(n,{button:m.LEFT}),rightClick:u(n,{button:m.RIGHT}),wheel:u(a),hover:u(i)}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(17),l(188),l(712),l(82),l(189),l(713),l(57)],C=l.dj.d(A,function(y,m,h,d,n,e,t){"use strict";var r=function(a){var i=a===d.RECOGNIZED||a===d.CANCELLED;return i?d.INACTIVE:a};return function(o){var a=d.INACTIVE,i=null,u=m(),s=m(),c=void 0,f=[e.MOUSE,e.TOUCH,e.PEN],p={began:function(F,w){},progress:function(F,w){},recognized:function(F,w){},cancelled:function(F,w){},after:function(F,w){}},v=function(F){var w=!0;if(F.srcEvent&&F.srcEvent.pointerType&&(w=f.indexOf(F.srcEvent.pointerType)!==-1),t.isCancel(F)&&(w=!0),!(c.isPrevented()||n.isWaitingState(a)||n.isDisabledState(a)||!w)){a=r(a),a===d.INACTIVE&&s.remove();var x=o.recognize({inputData:F,currentState:a}),R=x.targetState,T=x.actionData;g(R,T)}},g=function(F,w){if(i=null,n.isActiveState(F)&&c.needsToWait()&&(i={targetState:F,actionData:w},F=d.WAITING),a=F,n.isActiveState(a)&&(c.resetPrevented(),c.failThoseWaiting()),n.isInactiveState(a)&&c.allowThoseWaiting(),n.isActiveState(a))try{p[a](w,E)}catch(x){console.error("Exception thrown. Message: "+x.message),x.stack&&console.error("Stack: ",x.stack)}if(n.isEndedState(a))try{p.after()}catch(x){console.error("Exception thrown. Message: "+x.message),x.stack&&console.error("Stack: ",x.stack)}};o.subscribe&&u.own(o.subscribe(v),"unsubscribe");var E={attachInputStream:function(F){var w=!1;if(o.EVENT_SETS.forEach(function(R){R===F.EVENT_SET&&(w=!0)}),!w)return{unsubscribe:function(){}};var x=F.subscribe(v);return u.own(x,"unsubscribe"),x},on:function(F,w){if(typeof F=="string"){var x=y.after(p,F,w,!0);return u.own(x),x}else{var R=F,T=m();for(var S in R)if(R.hasOwnProperty(S)){var I=y.after(p,S,R[S],!0);u.own(I),T.own(I)}return T}},onTemp:function(F,w){if(typeof F=="string"){var x=y.after(p,F,w,!0);return s.own(x),x}else{var R=F,T=m();for(var S in R)if(R.hasOwnProperty(S)){var I=y.after(p,S,R[S],!0);s.own(I),T.own(I)}return T}},enable:function(){a=d.INACTIVE},disable:function(){a=d.DISABLED},setPointerTypes:function(F){f=F},setOptions:function(F){o.setOptions&&o.setOptions(F)},reset:function(){g(d.INACTIVE),o.reset()},getCoordinator:function(){return c},destroy:function(){s.remove(),u.remove()},attemptProcess:function(F){if(a===d.WAITING&&i){var w=F?d.INACTIVE:i.targetState;g(w,i.actionData)}},isActive:function(){return n.isActiveState(a)},isPossible:function(){return n.isPossibleState(a)||n.isWaitingState(a)}};return c=h(E),E}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return function(y){var m=[],h=[],d=[],n=[];return{prevents:function(t){m.push(t),t.getCoordinator().isPreventedBy(y)},isPreventedBy:function(t){h.push(t)},resetPrevented:function(){m.forEach(function(t){return t.reset()})},isPrevented:function(){return h.some(function(t){return t.isActive()})},waitForFailure:function(t){d.push(t),t.getCoordinator().isWaitingFor(y)},isWaitingFor:function(t){n.push(t)},needsToWait:function(){return d.some(function(t){return t.isPossible()})},failThoseWaiting:function(){n.forEach(function(t){t.reset(),t.attemptProcess(!0)})},allowThoseWaiting:function(){n.forEach(function(t){t.attemptProcess(!1)})}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{TOUCH:"touch",MOUSE:"mouse",PEN:"pen"}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{DOWN:"down",MOVE:"move",UP:"up",CANCEL:"cancel"}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=function(h,d){var n=void 0,e=-1;for(n=0;n<h.length;n++)h[n].pointerId===d.pointerId&&(e=n);return e===-1&&(e=h.length),e};return{type:"pointer",down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel",addEventToPointers:function(h,d){var n=y(h,d);h[n]=d,d.pointerType||(d.pointerType="mouse")},removeEventFromPointers:function(h,d){var n=y(h,d);h.splice(n,1)}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=function(h,d){var n=void 0,e=-1;for(n=0;n<h.length;n++)h[n].identifier===d.identifier&&(e=n);return e===-1&&(e=h.length),e};return{type:"touch",down:"touchstart",move:"touchmove",up:"touchend",cancel:"touchcancel",addEventToPointers:function(h,d){var n=d.touches,e=d.changedTouches[0];for(var t in n)if(n.hasOwnProperty(t)&&t!=="length"){var r=y(h,n[t]);n[t].pointerId=r+1,h[r]=n[t]}d.pointerType="touch",["pageX","pageY","screenX","screenY","clientX","clientY","target"].forEach(function(o){try{o in d||(d[o]=e[o])}catch(a){}})},removeEventFromPointers:function(h,d){var n=d.changedTouches;h.splice(0,h.length)}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=function(h,d){var n=void 0,e=-1;for(n=0;n<h.length;n++)h[n].pointerId===d.pointerId&&(e=n);return e===-1&&(e=h.length),e};return{type:"mouse",down:"mousedown",move:"mousemove",up:"mouseup",cancel:"",addEventToPointers:function(h,d){if(d.button===0||d.button===2){var n=0;d.pointerId=1,h[n]=d,d.pointerType="mouse"}},removeEventFromPointers:function(h,d){var n=y(h,d);h.splice(n,1)}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{LEFT:0,RIGHT:2}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(133),l(51),l(33),l(58),l(57),l(83),l(131),l(52),l(82),l(189),l(298),l(59)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s){var c=h.sequence,f=a.BEGAN,p=a.POSSIBLE,v=a.CANCELLED,g=n.trackInitial,E=n.trackUpdate,D=n.trackFinal,F=n.resetTracker,w=n.setActionData,x=o.createRecognizerData,R=o.markAsNoChange,T=o.markAsCancelled,S=o.markAsProgress,I=o.markAsInactive,B=o.markAsRecognized,P=o.applyIfUndetermined,L=o.applyOnTimeout,O=o.applyWhenNotSinglePrimary,W=o.applyOnDown,j=o.applyOnMove,K=o.applyOnUp,H=o.applyIfBegun,V=o.applyIfTargetStateIsComplete,$=o.applyIfActive,G=o.applyIfInactive,Q=o.applyIfTargetStateBegun,J=o.applyIfTargetStateIsActive,Y=i.hasBegun,X=function(ve){return ee(ve).onDown(ve.inputData),ve},Z=function(ve){return ee(ve).onUp(ve.inputData),ve},q=function(ve){return ee(ve).resetTimers(),ve},ee=function(ve){return ve.internalData.tapCount},re=function(ve){return ee(ve).isTap()?ve.targetState=f:Y(ve)?ve.targetState=v:ve.targetState=p,ve},he=function(ve){return ee(ve).reset(),ve},me=function(ve){return ve.inputData.srcEvent.button!==void 0&&ve.inputData.srcEvent.button!==ve.internalData.tapMoveOptions.button&&(ve=I(ve)),ve},se=c(g,X,H(T),P(re),Q(q)),te=c(E,P(H(S)),P(R)),oe=c(Z,P(H(c(D,B))),P(R)),ue=c(L(I),P(W(me)),P(W(se)),P(j(te)),P(K(oe)),P(G(I)),P($(T)),J(w),V(c(F,he)));return function(ce){var ve=y.mixin({button:0},ce||{}),Se=new u(ve),Be=new s;return{EVENT_SETS:["pointers"],setOptions:function(Ge){ve=y.mixin(ve,Ge||{}),Se.setOptions(ve)},reset:c(Se.reset.bind(Se),Be.reset.bind(Be)),subscribe:Se.observable.subscribe.bind(Se.observable),recognize:function(Ge){var rt=ue(x("tapmove",Ge,{positionTracker:Be,tapCount:Se,tapMoveOptions:ve})),ut=rt.targetState,ht=rt.actionData;return{targetState:ut,actionData:ht}}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(133),l(51),l(33),l(58),l(57),l(83),l(131),l(52),l(298),l(59)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i){var u=h.sequence,s=n.trackInitial,c=n.trackUpdate,f=n.trackFinal,p=n.resetTracker,v=n.setActionData,g=o.createRecognizerData,E=o.markAsNoChange,D=o.markAsPossible,F=o.markAsInactive,w=o.markAsRecognized,x=o.applyWhen,R=o.applyIfUndetermined,T=o.applyIfTargetStateIsActive,S=o.applyOnTimeout,I=o.applyWhenNotSinglePrimary,B=o.applyOnDown,P=o.applyOnMove,L=o.applyOnUp,O=o.applyIfTargetStateIsComplete,W=function(ee){return $(ee).onDown(ee.inputData),ee},j=function(ee){return $(ee).onUp(ee.inputData),ee},K=function(ee){return $(ee).isTap()},H=function(ee){return $(ee).isEarlyTap()},V=function(ee){return $(ee).reset(),ee},$=function(ee){return ee.internalData.tapCount},G=u(s,W,R(D)),Q=u(c,R(E)),J=function(ee){return ee.inputData.srcEvent.button!==void 0&&ee.inputData.srcEvent.button!==ee.internalData.tapOptions.button&&(ee=F(ee)),ee},Y=u(j,R(x(K,u(f,w))),R(x(H,D))),X=u(S(F),R(B(J)),R(B(G)),R(P(Q)),R(L(Y)),R(F),T(v),O(u(p,V))),Z=function(ee){var re=y.mixin({button:0},ee||{}),he=new a(re),me=new i;return{EVENT_SETS:["pointers"],setOptions:function(te){re=y.mixin(re,te||{}),he.setOptions(re)},reset:u(he.reset.bind(he),me.reset.bind(me)),subscribe:he.observable.subscribe.bind(he.observable),recognize:function(te){var oe=X(g("tap",te,{positionTracker:me,tapCount:he,tapOptions:re})),ue=oe.targetState,ce=oe.actionData;return{targetState:ue,actionData:ce}}}};return Z},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(33),l(51),l(58),l(132),l(57),l(52),l(82),l(59)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){var a=d.trackInitial,i=d.trackFinal,u=d.setActionData,s=n.isAncestorNode,c=h.sequence,f=r.RECOGNIZED,p=r.INACTIVE,v=r.POSSIBLE,g=t.createRecognizerData,E=t.applyWhen,D=t.applyWhenNotSinglePrimary,F=t.applyIfUndetermined,w=t.applyOnDown,x=t.applyOnMove,R=t.applyOnUp,T=t.markAsInactive,S=t.markAsNoChange,I=t.markAsPossible,B=t.applyIfTargetStateIsActive,P=function(V){var $=V.inputData;return s($.srcNode,$.target)},L=function(V){var $=V.inputData,G=V.internalData.clickOptions,Q=$.srcEvent,J=!1;return Q.button!==void 0?J=Q.button===G.button:G.button!==0&&(J=!0),J},O=function(V){var $=V.currentState;return $===v&&P(V)?V.targetState=f:V.targetState=p,V},W=c(E(L,c(I,a)),F(T)),j=c(i,O),K=c(D(T),w(W),x(S),R(j),F(T),B(u));return function(H){var V=m(),$=y.mixin({button:0},H||{}),G=new o;return{EVENT_SETS:["pointers"],reset:G.reset.bind(G),subscribe:V.subscribe.bind(V),recognize:function(J){var Y=K(g("click",J,{clickOptions:$,positionTracker:G})),X=Y.targetState,Z=Y.actionData;return{targetState:X,actionData:Z}}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(51),l(33),l(52),l(58),l(83),l(82),l(190),l(59)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){var a=n.trackInitial,i=n.trackUpdate,u=n.trackFinal,s=n.resetTracker,c=n.setActionData,f=m.sequence,p=e.computeMagnitude,v=d.createRecognizerData,g=d.markAsNoChange,E=d.markAsPossible,D=d.markAsRecognized,F=d.markAsInactive,w=d.applyIfUndetermined,x=d.applyIfPossible,R=d.applyOnDown,T=d.applyOnMove,S=d.applyWhen,I=d.applyOnUp,B=d.applyIfTargetStateIsActive,P=d.applyIfTargetStateIsComplete,L=r.DIRECTION_NONE,O=function(Q){var J=Q.internalData.flickOptions,Y=Q.internalData.positionTracker,X=Y.getActionProperties(),Z=X.center.direction,q=Q.inputData.pointers.length===J.pointers,ee=J.direction===L||J.direction===Z;return ee&&q},W=function(Q){var J=Q.internalData.flickOptions,Y=Q.internalData.positionTracker,X=Y.getActionProperties(),Z=p(X.center.delta),q=p(X.center.velocity);return Z>=J.minDistance&&q>J.minVelocity},j=f(a,w(E)),K=x(f(i,S(O,g),w(F))),H=x(f(S(W,D),w(F))),V=f(R(j),T(K),I(H),w(F),B(c),P(s)),$=function(Q){var J=h(),Y=new o,X=y.mixin({pointers:1,minDistance:20,direction:L,minVelocity:.3},Q||{});return{EVENT_SETS:["pointers"],reset:Y.reset.bind(Y),subscribe:J.subscribe.bind(J),recognize:function(q){var ee=V(v("flick",q,{positionTracker:Y,flickOptions:X})),re=ee.targetState,he=ee.actionData;return{targetState:re,actionData:he}}}};return $},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(133),l(51),l(33),l(190),l(58),l(83),l(52),l(59)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){var a=h.sequence,i=t.computeMagnitude,u=e.trackInitial,s=e.trackUpdate,c=e.trackFinal,f=e.resetTracker,p=e.setActionData,v=r.createRecognizerData,g=r.markAsNoChange,E=r.markAsCancelled,D=r.markAsInactive,F=r.markAsPossible,w=r.markAsBegan,x=r.markAsProgress,R=r.markAsRecognized,T=r.applyIfUndetermined,S=r.applyOnDown,I=r.applyOnMove,B=r.applyIfTargetStateIsActive,P=r.applyIfTargetStateIsComplete,L=r.applyOnUp,O=r.applyWhen,W=r.applyIfPossible,j=r.applyIfActive,K=r.applyIfInactive,H=r.applyIfBegun,V=n.DIRECTION_NONE,$=function(ee){var re=ee.internalData.panOptions,he=ee.inputData;return he.pointers.length!==re.pointers},G=function(ee){var re=ee.internalData.panOptions,he=ee.internalData.positionTracker,me=he.getActionProperties(),se=i(me.center.delta);return Math.abs(se)>=re.minDistance},Q=a(u,O($,a(H(R),T(D))),T(H(R)),T(F)),J=a(s,H(O($,R)),T(a(W(O(G,w)),H(x))),T(g)),Y=a(c,H(R),T(D)),X=a(S(Q),I(J),L(Y),T(K(D)),T(j(E)),B(p),P(f)),Z=function(ee){var re=d(),he=new o,me=y.mixin({pointers:1,minDistance:20,direction:V},ee||{});return{EVENT_SETS:["pointers"],reset:he.reset.bind(he),subscribe:re.subscribe.bind(re),recognize:function(te){var oe=X(v("pan",te,{positionTracker:he,panOptions:me})),ue=oe.targetState,ce=oe.actionData;return{targetState:ue,actionData:ce}}}};return Z},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(51),l(33),l(58),l(52),l(59)],C=l.dj.d(A,function(y,m,h,d,n,e){var t=m.sequence,r=d.trackInitial,o=d.trackUpdate,a=d.trackFinal,i=d.resetTracker,u=d.setActionData,s=n.createRecognizerData,c=n.markAsNoChange,f=n.markAsCancelled,p=n.markAsInactive,v=n.markAsPossible,g=n.markAsBegan,E=n.markAsProgress,D=n.markAsRecognized,F=n.applyIfUndetermined,w=n.applyOnDown,x=n.applyOnMove,R=n.applyIfTargetStateIsActive,T=n.applyIfTargetStateIsComplete,S=n.applyOnUp,I=n.applyWhen,B=n.applyIfPossible,P=n.applyIfActive,L=n.applyIfInactive,O=n.applyIfBegun,W=function(J){var Y=J.internalData.rotateOptions,X=J.inputData;return X.pointers.length!==Y.pointers},j=function(J){var Y=J.internalData.rotateOptions,X=J.internalData.positionTracker,Z=X.getActionProperties(),q=Z.angle.delta;return Math.abs(q)>=Y.minRotation},K=t(r,I(W,t(O(D),F(p))),F(O(D)),F(v)),H=t(o,O(I(W,D)),F(t(B(I(j,g)),O(E))),F(c)),V=t(a,O(D),F(p)),$=t(w(K),x(H),S(V),F(L(p)),F(P(f)),R(u),T(i)),G=function(J){var Y=h(),X=new e,Z=y.mixin({pointers:2,minRotation:20},J||{});return{EVENT_SETS:["pointers"],reset:X.reset.bind(X),subscribe:Y.subscribe.bind(Y),recognize:function(ee){var re=$(s("rotate",ee,{positionTracker:X,rotateOptions:Z})),he=re.targetState,me=re.actionData;return{targetState:he,actionData:me}}}};return G},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(51),l(33),l(58),l(52),l(59)],C=l.dj.d(A,function(y,m,h,d,n,e){var t=m.sequence,r=d.trackInitial,o=d.trackUpdate,a=d.trackFinal,i=d.resetTracker,u=d.setActionData,s=n.createRecognizerData,c=n.markAsNoChange,f=n.markAsCancelled,p=n.markAsInactive,v=n.markAsPossible,g=n.markAsBegan,E=n.markAsProgress,D=n.markAsRecognized,F=n.applyIfUndetermined,w=n.applyOnDown,x=n.applyOnMove,R=n.applyIfTargetStateIsActive,T=n.applyIfTargetStateIsComplete,S=n.applyOnUp,I=n.applyWhen,B=n.applyIfPossible,P=n.applyIfActive,L=n.applyIfInactive,O=n.applyIfBegun,W=function(J){var Y=J.internalData.pinchOptions,X=J.inputData;return X.pointers.length!==Y.pointers},j=function(J){var Y=J.internalData.pinchOptions,X=J.internalData.positionTracker.getActionProperties(),Z=X.spread.delta;return Math.abs(Z)>=Y.minDistance},K=t(r,I(W,t(O(D),F(p))),F(O(D)),F(v)),H=t(o,O(I(W,D)),F(t(B(I(j,g)),O(E))),F(c)),V=t(a,O(D),F(p)),$=t(w(K),x(H),S(V),F(L(p)),F(P(f)),R(u),T(i)),G=function(J){var Y=h(),X=new e,Z=y.mixin({pointers:2,minDistance:3},J||{});return{EVENT_SETS:["pointers"],reset:X.reset.bind(X),subscribe:Y.subscribe.bind(Y),recognize:function(ee){var re=$(s("pinch",ee,{positionTracker:X,pinchOptions:Z})),he=re.targetState,me=re.actionData;return{targetState:he,actionData:me}}}};return G},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(33),l(51),l(52)],C=l.dj.d(A,function(y,m,h){var d=m.sequence,n=h.createRecognizerData,e=h.applyWhen,t=h.applyIfUndetermined,r=h.markAsInactive,o=h.markAsRecognized,a=h.applyIfTargetStateIsActive,i=h.applyOnWheel,u=function(f){return f.actionData={type:f.type,srcEvent:f.inputData.srcEvent},f},s=d(i(o),t(r),a(u));return function(c){var f=y();return{EVENT_SETS:["wheel"],reset:function(){},subscribe:f.subscribe.bind(f),recognize:function(v){var g=s(n("wheel",v,{})),E=g.targetState,D=g.actionData;return{targetState:E,actionData:D}}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(33),l(58),l(51),l(52),l(59)],C=l.dj.d(A,function(y,m,h,d,n){var e=h.sequence,t=m.trackInitial,r=m.trackUpdate,o=m.resetTracker,a=m.setActionData,i=d.createRecognizerData,u=d.applyWhen,s=d.applyIfUndetermined,c=d.markAsInactive,f=d.markAsRecognized,p=d.applyIfTargetStateIsActive,v=function(D){var F=D.inputData,w=F.srcEvent;return w&&w.buttons===0&&(w.type==="pointermove"||w.type==="mousemove")},g=e(u(v,e(t,f)),s(c),p(a),o);return function(E){var D=y(),F=new n;return{EVENT_SETS:["pointers"],reset:F.reset.bind(F),subscribe:D.subscribe.bind(D),recognize:function(x){var R=g(i("hover",x,{positionTracker:F})),T=R.targetState,S=R.actionData;return{targetState:T,actionData:S}}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(729),l(730)],C=l.dj.d(A,function(y,m,h){return function(d,n){var e=[],t=m.fromNode(d),r=h.fromNode(d),o=function(u){Array.isArray(u)||(u=[u]),u.forEach(function(s){s.attachInputStream(t),s.attachInputStream(r)}),e=e.concat(u)},a=function(u){};return n&&o(n),{add:o,remove:a,getAttachedRecognizers:function(){return e},destroy:function(){t.destroy(),r.destroy(),e.forEach(function(u){return u.destroy()})},preventFocus:function(){t.preventFocus()},allowFocus:function(){t.allowFocus()},stopPropagation:function(){t.stopPropagation(),r.stopPropagation()},allowPropagation:function(){t.allowPropagation(),r.allowPropagation()},preventDefault:function(){t.preventDefault(),r.preventDefault()},allowDefault:function(){t.allowDefault(),r.allowDefault()},addHoverListeners:function(){return t.addHoverListeners()},resetAll:function(){t.clearInput(),e&&e.forEach(function(u){return u.reset()})}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(132),l(57),l(33),l(188),l(297)],C=l.dj.d(A,function(y,m,h,d,n){"use strict";var e=y.addDomListener,t=y.preventDefault,r=y.stopPropagation,o=n.getActiveImplementations,a=n.getImplementationForEvent,i=n.addListenersToRemovable,u=n.updateLastTouch,s=n.isCompatibilityEvent,c=o(),f=null,p=function(g,E){var D=d(),F=d(),w=d(),x=d(),R=d(),T=d(),S=g.ownerDocument,I=[],B=[],P=h(),L=function(Q){var J=Q;return f=u(Q,f),s(Q,f)&&(J=null),J},O=function(Q){P.emit(m.createFromPointers(I,Q,g))},W=function(Q){P.emit(m.createFromPointers(B,Q,g))},j=function(Q){if(Q=L(Q),Q){var J=a(Q);J.addEventToPointers(I,Q),O(Q)}},K=function(Q){if(Q=L(Q),Q){var J=a(Q);J.addEventToPointers(I,Q),O(Q),J.removeEventFromPointers(I,Q),I.length===0&&F.remove()}},H=function(Q){if(Q=L(Q),Q){var J=a(Q);J&&J.addEventToPointers(I,Q),F.remove(),O(Q),I=[]}},V=function(Q){if(Q=L(Q),Q){var J=a(Q);J.addEventToPointers(I,Q),F=i(c,F,S,{move:j,up:K,cancel:H},!0),D.own(e(g,"dragstart",H,!1)),D.own(e(g,"drag",H,!1)),D.own(e(g,"dragend",H,!1)),O(Q)}},$=function(Q){Q=L(Q),Q&&Q.buttons===0&&(B=[Q],W(Q))};return D=i(c,D,g,{down:V},!1),{EVENT_SET:"pointers",subscribe:P.subscribe,preventFocus:function(){w.remove(),w=i(c,w,g,{down:t},!1)},allowFocus:function(){w.remove()},stopPropagation:function(){x.remove(),x=i(c,x,g,{down:r,move:r,up:r},!1)},allowPropagation:function(){x.remove()},preventDefault:function(){R.remove(),R=i(c,R,g,{down:t,move:t,up:t},!1)},allowDefault:function(){R.remove()},clearInput:function(){F.remove(),I=[]},addHoverListeners:function(){return T.remove(),T=i(c,T,g,{move:$},!1),T},destroy:function(){D.remove(),F.remove(),w.remove(),x.remove(),R.remove(),T.remove()}}};return{fromNode:p}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(132),l(57),l(33),l(188)],C=l.dj.d(A,function(y,m,h,d){"use strict";var n=y.addDomListener,e=y.preventDefault,t=y.stopPropagation,r=function(a,i){var u=d(),s=d(),c=d(),f=h(),p=function(g){f.emit(m.createFromPointers([],g,a))};return u.own(n(a,"wheel",p,!1)),{EVENT_SET:"wheel",subscribe:f.subscribe,stopPropagation:function(){s.remove(),s.own(n(a,"wheel",t,!1))},allowPropagation:function(){s.remove()},preventDefault:function(){c.remove(),c.own(n(a,"wheel",e,!1))},allowDefault:function(){c.remove()},destroy:function(){u.remove()}}};return{fromNode:r}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(5),l(3),l(22),l(2)],C=l.dj.d(A,function(n,e,t,r){"use strict";var o=function(a){d(i,a);function i(){return m(this,i),h(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return y(i,[{key:"_dismissTooltip",value:function(s){var c=s.node,f=s.id;this.props.eventCallback(n.protected.NODE_NOTIFY,{publisherFn:function(){return!0},publisherId:e.publisher.TOOLTIP_DISMISS+f,noRender:!0})}},{key:"_addListeners",value:function(s){var c=s.node,f=s.id,p=this;function v(){c.removeEventListener("mouseleave",v),c.removeEventListener("wheel",v),c.removeEventListener("click",v),c.removeEventListener("mousedown",v),p._dismissTooltip({node:c,id:f})}return c.addEventListener("wheel",v),c.addEventListener("click",v),c.addEventListener("mouseleave",v),c.addEventListener("mousedown",v),v}},{key:"_getTipData",value:function(s){var c=s.node,f=s.content,p=s.id,v=c.getBoundingClientRect(),g=window.getComputedStyle(c),E={id:p,node:c,top:v.top,left:v.left+1,right:v.right,width:v.width,textDecoration:g.textDecorationLine||"none",backgroundColor:g.backgroundColor||"rgb(255, 255, 255)",content:f};return E}},{key:"_unsetPosition",value:function(){this.myTooltip.removeAttribute("style"),this.props.eventCallback(n.internal.NODE_UNSUBSCRIBE,{subscriberId:e.subscriber.TOOLTIP_LEAVE,noRender:!0})}},{key:"_subscribeToDismissal",value:function(s){var c=s.id,f=c===void 0?"":c,p=s.node,v=this._addListeners({id:f,node:p});this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:this._unsetPosition.bind(this),subscriberId:e.subscriber.TOOLTIP_LEAVE,subscribeTo:e.publisher.TOOLTIP_DISMISS+f,noRender:!0}),this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:v,subscriberId:e.subscriber.TOOLTIP_GLOBAL_LEAVE,subscribeTo:e.publisher.TOOLTIP_DISMISS,noRender:!0})}},{key:"_setPosition",value:function(s){this.myTooltip.style.top=s.top+"px",this.myTooltip.style.visibility="visible",this.myTooltip.style.textDecoration=s.textDecoration,this.myTooltip.firstChild.style.maxWidth=Math.max(t.dimensions.TOOLTIP_MIN_WIDTH,s.width)+"px",this.myTooltip.firstChild.style.backgroundColor=s.backgroundColor,this.myTooltip.firstChild.textContent=s.content;var c=this.props.adjustLeftFn||i._setAdjustLeft,f=c(s,this.myTooltip);this.myTooltip.style.left=Math.max(0,f)+"px"}},{key:"componentDidMount",value:function(){var s=this;this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:function(f){var p=s._getTipData(f);p.content.length>0&&(s._setPosition(p),s._subscribeToDismissal(p))},subscriberId:e.subscriber.TOOLTIP_ENTER,subscribeTo:e.protected.publisher.CELL_ENTER,noRender:!0})}},{key:"render",value:function(){var s=this;return r.createElement("div",{className:"mw-table-tooltip-wrapper",ref:function(f){s.myTooltip=f}},r.createElement("div",{"data-test-id":"mw-table-tooltip",className:"mw-table-tooltip"}))}}],[{key:"_setAdjustLeft",value:function(s,c){var f=s.node.querySelectorAll("[checkbox-label=true]")[0];if(f){var p=f.getBoundingClientRect().left,v=s.node.getBoundingClientRect().right;return v<p&&(p=v),p}var g=s.node.querySelectorAll(".mw-icon-label-renderer")[0],E=g&&g.querySelector('span [data-region="true"]');return E?E.getBoundingClientRect().left:s.left+Math.min(0,document.documentElement.clientWidth-(s.left+c.clientWidth))}}]),i}(r.Component);return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function d(n,e){var t=[],r=!0,o=!1,a=void 0;try{for(var i=n[Symbol.iterator](),u;!(r=(u=i.next()).done)&&(t.push(u.value),!(e&&t.length===e));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&i.return&&i.return()}finally{if(o)throw a}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(19),l(3),l(191),l(733),l(735),l(282),l(736)],C=l.dj.d(A,function(d,n,e,t,r,o,a){"use strict";var i=function(){function u(s){var c=this;h(this,u),this.initializeTable=this.initializeTable.bind(this),this.renderTable=this.renderTable.bind(this);var f=s.viewModel,p=s.viewPortList,v=s.options,g=s.controllers,E=s.dataStore,D=s.pluginEnum;this._viewModel=f,this._dataStore=E,f.setState(n.tableBottomLeftAffordanceHeight,0),f.setState(n.colResize,!1),f.setState("scrollPositionChanged",!1),f.setState(n.displaySearch,!1),f.setState(n.TABLE_AFFORDANCE_WIDTH,{run:function(){return 0}}),f.setState("ScrollChangeOnKeyPress",!1),v=v||{};var F=v,w=F.features;this.viewPortList=p,w=w||[],this.registry=[],this._adaptorList=new r,this.registry=g.map(function(I){return c._adaptorList.register(I.eventList()),[I]});var x=t.separateControllers(d.dedupe(d.flatten(w)),D),R=y(x,2),T=R[0],S=R[1];v.initializedControllers=this.registry,T.forEach(function(I){var B=new I({viewModel:f,dataStore:E,viewPortList:p,tableView:c,options:v});c._adaptorList.register(B.eventList()),c.registry.push([B])}),S=t.prunePlugins(S,D),this._setupPlugins(S,v)}return m(u,[{key:"_setupPlugins",value:function(c,f){var p=this,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];c.forEach(function(g){var E=void 0;typeof g.adaptor=="string"&&(E=o.EXPERIMENTAL_ADAPTORS[g.adaptor]);try{var D=void 0,F=E||g.adaptor,w=v.indexOf(F);w<0?(D=new F({viewModel:p._viewModel,dataStore:p._dataStore,viewPortList:p.viewPortList,tableView:p,options:f}),v.push(D),p.registry.push([new g({adaptor:D}),D])):(D=v[w],p.registry.push([new g({adaptor:D}),D])),p._adaptorList.register(D.eventList())}catch(x){}})}},{key:"initializeTable",value:function(){this._lifecycle=new a(this._viewModel,this._adaptorList,this.viewPortList)}},{key:"renderTable",value:function(){this._table=this._lifecycle.mount(),this.throttledResize=e(this._table._handleResize,1e3/60)}},{key:"removeTable",value:function(){this.throttledResize&&this.throttledResize.cancel(),this._lifecycle.unmount(),this._viewModel.destroy(),this._table=null}},{key:"focus",value:function(){this._table.focus()}},{key:"domNode",get:function(){return this._lifecycle.domNode}}]),u}();return i},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(19),l(734)],C=l.dj.d(A,function(h,d){var n=["px","%",""],e=function(){function t(){m(this,t)}return y(t,null,[{key:"column",value:function(o){var a={},i=o.label,u=o.dataIndex,s=o.width,c=s.value,f=s.unit;if(f=f||"",isNaN(u)||u<0)throw d.error.DATA_INDEX_REQUIRED;if(h.find(n,function(p){return f===p})===null)throw d.error.INVALID_UNIT;return a.name=i||"",a.dataIndex=u,a.width=c,a.unit=f,a}},{key:"validateColPct",value:function(o){var a=0,i=0,u=-1;o.forEach(function(c,f){if(c.width&&c.width.unit&&!isNaN(c.width.value)&&c.width.unit==="%"){var p=Math.abs(c.width.value);a+=p,p>i&&(u=f,i=p)}});var s=100-a;return s<0&&(u=-1),[s,u]}},{key:"separateControllers",value:function(o,a){var i=[],u=[];return a.CONTROLLERS.forEach(function(s){var c=0;s.forEach(function(f){var p=o.indexOf(f);p>-1&&(c++<1&&i.push(f),u.push(p))})}),u.sort(function(s,c){return c-s}).forEach(function(s){o.splice(s,1)}),[i,o]}},{key:"prunePlugins",value:function(o,a){var i=[];return a.INCOMPATIBLE.forEach(function(u){var s=0;u.forEach(function(c,f){var p=o.indexOf(c);p>-1&&s++>0&&i.push(p)})}),i.forEach(function(u){o.splice(u,1)}),o}}]),t}();return e},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=Object.freeze({error:{INVALID_UNIT:new Error("Invalid column width unit specified, only 'px' or '%' allowed"),DATA_INDEX_REQUIRED:new Error("The dataIndex property is required in the column configuration")}});return y},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(){function d(){m(this,d),this._handlers={}}return y(d,[{key:"register",value:function(e){var t=this,r=e;Array.isArray(e)||(r=[e]),r.forEach(function(o){for(var a in o)t._handlers[a]=t._handlers[a]||[],t._handlers[a].push(o[a])})}},{key:"handleEvent",value:function(e,t){var r=this._handlers[e];Array.isArray(r)&&r.forEach(function(o){return o(t)})}}]),d}();return h},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(737),l(774),l(775),l(776),l(25)],C=l.dj.d(A,function(h,d,n,e,t){var r=function(){function o(a,i,u){m(this,o),this._viewModel=a,this._viewPortList=u,this._adaptorList=i;var s=new e(this._viewModel,this._adaptorList,this._viewPortList);this.destroyInteractiveEvents=s.destroy.bind(s),this._buildComponents=new h(this._viewModel,s.eventCallback),this._render=new n(this._buildComponents.buildOuterWrapper(),this._viewModel)}return y(o,[{key:"mount",value:function(){var i=this._render.mount();return this._incomingData=new d(this._viewModel,this._render,this._buildComponents),t.renderUpdate(this._viewModel,this._viewPortList[0].getBufferedViewPort()),this._render.resize(),i}},{key:"unmount",value:function(){this.destroyInteractiveEvents(),this._render.unmount()}},{key:"domNode",get:function(){return this._render.domNode}}]),o}();return r},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(738),l(741)],C=l.dj.d(A,function(h,d){var n=function(){function e(t,r){m(this,e),this._viewModel=t,this._propManager=new h({},t,r),this._factory=new d(this._propManager),this._rowHeader=void 0,this._headerEl=[],this._tableComp=void 0}return y(e,[{key:"buildDataComponents",value:function(r){this._propManager.updateProps(r),this._headerEl=this._factory.makeHeaderComponent(),this._propManager.props.displayRowHeader&&(this._rowHeader=this._factory.makeRowHeaderComponent()),this._tableComp=this._factory.makeTableComponent()}},{key:"buildTable",value:function(){var r=this._factory.makeScrollComponent(this._tableComp,this._rowHeader);return[r,this._headerEl]}},{key:"buildOuterWrapper",value:function(){return this._factory.makeWrapperComponent(this.buildTable())}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(25),l(32),l(22),l(3),l(96),l(19),l(739),l(740),l(124),l(79)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a,i,u){var s=function(){function c(f,p,v){m(this,c),this._viewModel=p,this._dataStore=f,this._props={},this._props.eventCallback=v,this._rowComponentList=p.getStateByKey("RowComponent")||{},this._props.dataTestId=null,this._sorted=[],this._size=new t(p),this._helper=o,this._props.headers=[],this._tableWidth=r.curry(h.computeTableHeight),this._initViewStateProps(),p.getStateByKey(e.protected.testId)&&(this._props.dataTestId=p.getStateByKey(e.protected.testId).value),p.getStateByKey(e.protected.WIDGET_TYPE).value==="TreeTable"&&(this._helper=a),this._props.component={cell:p.getStateByKey(e.protected.component.CELL).value,row:p.getStateByKey(e.protected.component.ROW).value,tooltip:p.getStateByKey(e.protected.component.TOOLTIP).value,tbody:p.getStateByKey(e.protected.component.TBODY).value},this._props.selectHeaders=function(){return p.getStateByKey(e.SELECT_HEADERS).value},this._props.selectRowHeaders=p.getStateByKey(e.SELECT_ROW_HEADERS).value,this._props.dragAndDrop=p.getStateByKey(e.dragAndDrop).value,this._props.reorderRows=p.getStateByKey(e.protected.REORDER_ROWS).value,this._props.reparentRows=p.getStateByKey(e.protected.REPARENT_ROWS).value,this._props.dragColumns=p.getStateByKey(e.dragColumns)?p.getStateByKey(e.dragColumns).value:null,this._props.dragRows=p.getStateByKey(e.dragRows)?p.getStateByKey(e.dragRows).value:null,this._props.widgetType=p.getStateByKey(e.protected.WIDGET_TYPE).value;var g=d.getTreeColumnIndex(p);g=g?g.value:0,this._props.treeColumnIndex=this._props.widgetType==="TreeTable"?g:void 0,p.getStateByKey(e.setDragData)&&(this._props.setDragData=p.getStateByKey(e.setDragData).value),this._props.canDrag=p.getStateByKey(e.protected.CAN_DRAG).value,this._props.canDrop=p.getStateByKey(e.protected.CAN_DROP).value,p.getStateByKey(e.setAvatar)&&(this._props.setAvatar=p.getStateByKey(e.setAvatar).value),p.getStateByKey(e.receiveDrop)&&(this._props.receiveDrop=p.getStateByKey(e.receiveDrop).value)}return y(c,[{key:"_initViewStateProps",value:function(){var p=this,v=[{name:e.ROW_HEIGHT,default:this._size.ROW_HEIGHT},{name:e.protected.HEADER_MENU_AFFORDANCE,default:!1},{name:e.protected.SORTABLE,default:!1},{name:e.tableBottomLeftAffordanceHeight,default:0},{name:e.TABLE_AFFORDANCE_WIDTH,default:{run:function(){return 0}}},{name:e.TRANSLATE_X,default:0},{name:e.colResize,default:!1},{name:e.SELECT_HEADERS,default:!1},{name:e.SELECT_ROW_HEADERS,default:!1},{name:e.dragAndDrop,default:!1},{name:e.dragColumns,default:!1},{name:e.dragRows,default:!1},{name:e.REGISTRATION,default:{}},{name:e.protected.GRID_STYLE,default:"STANDARD"},{name:e.protected.USE_DATA_FIELDS,default:!1},{name:e.protected.GROUPED_COLUMN_HEADERS,default:!1},{name:e.protected.REORDER_ROWS,default:!1},{name:e.protected.REPARENT_ROWS,default:!1},{name:e.protected.CAN_DRAG,default:!1},{name:e.protected.CAN_DROP,default:!1}];v.forEach(function(D){var F=p._viewModel.getStateByKey(D.name);(!F||!F.value)&&p._viewModel.setState(D.name,D.default)}),this._props.metadata={selections:[]},this._props.gridStyle=this._viewModel.getStateByKey(e.protected.GRID_STYLE),this._props.useEditorRendererDataFields=this._viewModel.getStateByKey(e.protected.USE_DATA_FIELDS),this._props.resizeSelection=this._viewModel.getStateByKey(e.protected.RESIZE_SELECTION),this._props.customProps={};var g=this._viewModel.getStateByKey(e.protected.INIT_CUSTOM_PROPS_FUNC);g&&g.value(this._viewModel,this._props),this._props.dataSize=this._viewModel.dataSize;var E=this._viewModel.getStateByKey(e.colResize);this._props.fitLastColumn=E?E.value[e.protected.FIT_LAST_COLUMN]:void 0,this._props.collapseColumn=E?E.value[e.protected.COLLAPSE_COLUMN]:void 0}},{key:"setHeaderSortState",value:function(p){this._props.sorted[p._index]=p[e.protected.SORTED]||{order:""}}},{key:"getHeaderSortType",value:function(p){return this._props.headers[p].sortType}},{key:"_isA",value:function(p,v){return Object.keys(v).reduce(function(g,E){return g&&typeof p[E]=="function"},!0)}},{key:"_setColumnContent",value:function(p,v){var g=p(v).value,E=this._viewModel,D={getDomNode:1,handleAction:1},F={getDomNode:1};g.interactiveRenderer&&this._isA(g.interactiveRenderer,D)?i.addMetadataToCol(v,E,"interactiveRenderer",g.interactiveRenderer):(g.editor&&i.addMetadataToCol(v,E,"editor",g.editor),g.renderer&&this._isA(g.renderer,F)&&i.addMetadataToCol(v,E,"renderer",g.renderer))}},{key:"updateProps",value:function(p){var v=this._viewModel,g=p.viewData[0].range,E=v.dataSize,D=v.viewBuffer.rangeList[0];if(this._props.registration=v.getStateByKey(e.REGISTRATION).value,this._props.dataSize=this._viewModel.dataSize,this._props.editTrigger=v.getStateByKey(e.protected.EDIT_TRIGGER),this._props.editState=this.getEditState(v.getStateByKey(e.protected.EDIT_STATE)),this._props.colEditState=this.getEditState(v.getStateByKey(e.protected.COL_EDIT_STATE)),this._props.rowEditState=this.getEditState(v.getStateByKey(e.protected.ROW_HEADER_EDIT_STATE)),this._props.editValidation=this.getValidationState(v.getStateByKey(e.protected.EDIT_VALIDATION)),this._props.editProcessing=this.getEditState(v.getStateByKey(e.protected.EDIT_PROCESSING)),this._props.numberOfGutters=this.getNumberOfGutters(v.getStateByKey("numberOfGutters")),this._props.startRow=g.rows.start,this._props.endRow=g.rows.end,this._props.startCol=g.columns.start,this._props.endCol=g.columns.end,this._props.colResize=v.getStateByKey(e.colResize).value,this._props.tableAffordanceWidth=v.getStateByKey(e.TABLE_AFFORDANCE_WIDTH).value.run(),this._props.tableBottomLeftAffordanceHeight=v.getStateByKey(e.tableBottomLeftAffordanceHeight).value,this._props.displaySearch=v.getStateByKey(e.displaySearch)?v.getStateByKey(e.displaySearch).value:!1,this._props.checkboxTreetable=v.getStateByKey("checkboxTreetable")?v.getStateByKey("checkboxTreetable").value:!1,v.getStateByKey(e.displayRowHeader)){this._props.displayRowHeader=v.getStateByKey(e.displayRowHeader).value||v.getStateByKey(e.DISPLAY_ROW_HEADER_INDICES).value,this._props.rowHeaderWidth=v.getStateByKey(e.rowHeaderWidth).value,this._props.displayRowHeaderIndices=v.getStateByKey(e.DISPLAY_ROW_HEADER_INDICES).value;var F=v.getRowHeaderConfig.bind(v),w=F();this._props.topLeftRowHeaderLabel=w?w.topLeftRowHeaderLabel:"",this._props.enableEdit=w?w.enableEdit:!1}this._props.rowHeight=v.getStateByKey(e.ROW_HEIGHT).value,this._props.focused=h.getFocusedCell(v.getStateByKey(e.protected.FOCUSED));var x=v.getStateByKey("selected")||{},R=v.getStateByKey(e.ACTIVE_RANGE)||{};this._props.metadata={selections:x.rangeList||[],activeRange:R.value,selectionType:x.value},this._props.translateX=v.getStateByKey(e.TRANSLATE_X).value,this._props.height=h.computeTableHeight(Math.max(E.rows.count,this._props.endRow),this._size.ROW_HEIGHT),this._props.data=p.viewData[0],this._props.colMenuAffordance=v.getStateByKey(e.protected.HEADER_MENU_AFFORDANCE).value,this._props.sortable=v.getStateByKey(e.protected.SORTABLE).value,this._props.clearSort=v.getStateByKey(e.protected.CLEAR_SORT)?v.getStateByKey(e.protected.CLEAR_SORT).value:!1,this._props.scrollXPos=this._size.COL_WIDTH*this._props.startCol,this._props.scrollYPos=this._size.ROW_HEIGHT*this._props.startRow,this._props.translateY=this._size.ROW_HEIGHT*this._props.startRow,this._props.logicalColWidth=this._size.COL_WIDTH,this._props.logicalRowHeight=this._size.ROW_HEIGHT,this._props.viewBuffer=D,this._props.rowMetaData=p.rowMetaData,this._props.colMetaData=p.columnMetaData;var T=v.getColumnHeaders().length;this._props.lastDataColumn=T||E.columns.count,this._props.totalLogicalWidth=this._size.COL_WIDTH*this._props.lastDataColumn;var S=E.columns.count;this._allColumnsRendered=S===g.columns.count,T>n.buffers.UNPAGED_COL_LIMIT&&(this._allColumnsRendered=!1),this._setHeaders();var I=this._tableWidth(this._size.COL_WIDTH),B={headers:this._props.headers,allColumnsRendered:this._allColumnsRendered},P=u.getPercentColumnPageWidth(B);this._props.width=P||I(E.columns.count),this._props.columnClass=u.getTbodyHeaderClass(this._allColumnsRendered),this._props.tableClass=u.getTableHeaderClass(this._allColumnsRendered);var L=v.getStateByKey(e.protected.UPDATE_CUSTOM_PROPS_FUNC);L&&L.value(v,p,this._props),this._checkPendingFunctionForView(v,g),this._props.spanningColumnHeaders=v.getSpanningHeaders(),this._props.groupedColumnHeaders=v.getStateByKey(e.protected.GROUPED_COLUMN_HEADERS).value,this._props.spanningColumnHeaders||(this._props.spanningColumnHeaders=this._mixSpanningColumnHeaders(p.columnSpanningMetaData));var O=this._props.spanningColumnHeaders?Object.keys(this._props.spanningColumnHeaders).length!==0:!1;return this._props.collapseColumn&&(this._props.groupedColumnHeaders||O)&&(this._props.collapseColumn=!1),this._props.widgetType===e.protected.TYPE.TREETABLE&&this._setTreeColumnWidth(),this._props.displayColumnIndex=v.getStateByKey(e.DISPLAY_COLUMN_INDEX)?v.getStateByKey(e.DISPLAY_COLUMN_INDEX).value:!1,this._props.displayColumnLabel=v.getStateByKey(e.DISPLAY_COLUMN_LABEL)?v.getStateByKey(e.DISPLAY_COLUMN_LABEL).value:!0,this._props.displayColumnIndexOnly=this._props.displayColumnIndex&&!this._props.displayColumnLabel,this._props.hideColumnHeader=v.getStateByKey(e.HIDE_COLUMN_HEADER)?v.getStateByKey(e.HIDE_COLUMN_HEADER).value:!1,!this._props.groupedColumnHeaders&&O&&(this._props.displayColumnIndexOnly=!1,this._props.displayColumnIndex=!1),this._props}},{key:"_checkPendingFunctionForView",value:function(p,v){var g=p.getStateByKey(e.protected.PENDING_FOCUS_FUNC);!g||this._helper.isRangeInside(v,g.rangeList[0])&&(g.value(g.rangeList[0]),p.deleteState(e.protected.PENDING_FOCUS_FUNC))}},{key:"setDisabledState",value:function(){var p=this._viewModel;this._props.isTableDisabled=function(){return p.getStateByKey(e.TABLE_DISABLED)?p.getStateByKey(e.TABLE_DISABLED).value:!1}}},{key:"_mixSpanningColumnHeaders",value:function(p){var v={};return p[0].forEach(function(g){g.forEach(function(E){if(E){var D=Object.keys(E.value);D.forEach(function(F){v[F]=E.value[F]})}})}),v}},{key:"_getParsedHeader",value:function(p,v){var g=this._props,E=g.logicalColWidth,D=g.lastDataColumn,F=g.fitLastColumn,w=g.collapseColumn,x=g.treeColumnIndex,R=E,T="px",S={width:R,unit:T};if(v.label===null&&(v.label=p+1),v.width){S.width=Math.floor(v.width.value),S.unit=v.width.unit;var I=this._viewModel.getStateByKey(e.CAN_SCROLL_HORIZONTAL)?this._viewModel.getStateByKey(e.CAN_SCROLL_HORIZONTAL).value:void 0,B=D===p+1&&F&&!I;S.fillContainerWidth=B?"100%":void 0,v.fillContainerWidth=B}return v._index=p,p===x&&(v.reorder=!1),v.styleData=h.getTableHeaderStyle(S,this._allColumnsRendered,E,w),this.setHeaderSortState(v),v}},{key:"_setHeaders",value:function(){var p=this._props,v=p.colMetaData,g=p.startCol,E=p.endCol,D=this._viewModel,F=v||[function(){return{value:{}}}];D.deleteState("renderer"),D.deleteState("editor"),D.deleteState("interactiveRenderer");var w=[];this._props.sorted=[];for(var x=g;x<=E;x+=1){var R=F[0](x).value;w.push(this._getParsedHeader(x,R)),this._setColumnContent(F[0],x)}var T=D.getStateByKey("renderer")||{},S=D.getStateByKey("interactiveRenderer")||{},I=D.getStateByKey("editor")||{};this._props.getRenderer=r.curry(h.getContentFor)(T),this._props.getEditor=r.curry(h.getContentFor)(I),this._props.getInteractiveRenderer=r.curry(h.getContentFor)(S),this._props.setInteractiveRenderer=function(B,P,L){i.addMetadataToRange(B,B,P,P,D,"interactiveRenderer",L)},this._props.headers=w}},{key:"_setTreeColumnWidth",value:function(){var p=this,v=this._props.headers,g=!1,E=d.getTreeColumnIndex(this._viewModel);v.forEach(function(D){D._index===E.value&&(p._viewModel.setState(e.protected.TREE_COLUMN_INFO,{id:D.columnId,maxWidth:D.styleData.maxWidth}),g=!0)}),g||this._viewModel.setState(e.protected.TREE_COLUMN_INFO,{})}},{key:"getSortedState",value:function(p){return this._sorted[p]||{order:""}}},{key:"getValidationState",value:function(p){return p&&p.hasOwnProperty("value")?p.value:{error:!1}}},{key:"getNumberOfGutters",value:function(p){return p&&p.hasOwnProperty("value")?p.value:0}},{key:"getEditState",value:function(p){return p&&p.hasOwnProperty("value")?p.value:!1}},{key:"props",get:function(){return this._props}}]),c}();return s},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7)],C=l.dj.d(A,function(h){"use strict";var d=function(){function n(){m(this,n)}return y(n,null,[{key:"isRangeInside",value:function(t,r){return h.isRangeInside(t,r)}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(7)],C=l.dj.d(A,function(h){"use strict";var d=function(){function n(){m(this,n)}return y(n,null,[{key:"isRangeInside",value:function(t,r){var o=r.range;return h.isRangeInside(t,o)}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(299),l(755),l(303),l(759),l(761),l(767),l(768),l(772),l(773),l(2)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a,i,u){var s=function(){function c(f){m(this,c),this.propFactory=f,this._scrollNodeIntoView=new r}return y(c,[{key:"makeRowHeaderComponent",value:function(){var p=this.propFactory.props,v=p.height,g=p.startRow,E=p.endRow,D=p.eventCallback,F=p.scrollYPos,w=p.logicalRowHeight,x=p.rowMetaData,R=p.metadata,T=p.viewBuffer,S=p.displayRowHeaderIndices,I=p.enableEdit,B=p.displayRowHeader,P=p.rowEditState,L=p.editState,O=p.topLeftRowHeaderLabel,W=u.createElement(t,{scrollPos:F,displayRowHeaderIndices:S,scrollNodeIntoView:this._scrollNodeIntoView,displayRowHeader:B,rowHeaderHeight:v,eventCallback:D,rowHeight:w,rowMetaData:x,startRow:g,metadata:R,viewBuffer:T,enableEdit:I,topLeftRowHeaderLabel:O,rowEditState:P,cellEditState:L,endRow:E});return W}},{key:"makeTableComponent",value:function(p){var v=this.propFactory.props,g=v.height,E=v.width,D=v.tableClass,F=v.viewBuffer,w=v.customProps,x=v.widgetType,R=v.dataSize,T=v.startRow,S=v.startCol,I=v.eventCallback,B=v.translateX,P=v.scrollYPos,L=v.columnClass,O=v.displaySearch,W=v.endRow,j=v.endCol,K=v.metadata,H=v.headers,V=v.data,$=v.focused,G=v.editState,Q=v.editTrigger,J=v.editValidation,Y=v.editProcessing,X=v.logicalRowHeight,Z=v.getRenderer,q=v.getEditor,ee=v.getInteractiveRenderer,re=v.setInteractiveRenderer,he=v.component,me=v.registration,se=v.numberOfGutters,te=v.useEditorRendererDataFields,oe=v.checkboxTreetable,ue=v.resizeSelection;return u.createElement(d,{tableClass:D,height:g,width:E,widgetType:x,dataSize:R,scrollNodeIntoView:this._scrollNodeIntoView,translateY:P,translateX:B,eventCallback:I,columnClass:L,displaySearch:O,startRow:T,startCol:S,endRow:W,endCol:j,metadata:K,headers:H,data:V,focused:$,editTrigger:Q,editState:G,editValidation:J,editProcessing:Y,logicalRowHeight:X,getEditor:q,getRenderer:Z,getInteractiveRenderer:ee,setInteractiveRenderer:re,component:he,viewBuffer:F,customProps:w,registration:me,numberOfGutters:se,checkboxTreetable:oe,useEditorRendererDataFields:te,resizeSelection:ue})}},{key:"makeScrollComponent",value:function(p,v){var g=this.propFactory.props,E=g.eventCallback,D=g.tableBottomLeftAffordanceHeight,F=g.rowHeaderWidth,w=g.receiveDrop,x=g.tableAffordanceWidth,R=g.metadata,T=g.dragAndDrop,S=g.setDragData,I=g.setAvatar,B=g.dragColumns,P=g.dragRows,L=g.canDrag,O=g.canDrop,W=g.reorderRows,j=g.reparentRows,K=g.widgetType,H=n;return T&&(H=o),u.createElement(i,null,u.createElement(H,{eventCallback:E,scrollNodeIntoView:this._scrollNodeIntoView,table:p,dragAndDrop:T,dragColumns:B,reorderRows:W,reparentRows:j,widgetType:K,canDrag:L,canDrop:O,receiveDrop:w,dragRows:P,setDragData:S,setAvatar:I,metadata:R,rowHeader:v,rowHeaderWidth:F,tableAffordanceWidth:x,tableBottomLeftAffordanceHeight:D}))}},{key:"makeHeaderComponent",value:function(){var p=this.propFactory.props,v=p.eventCallback,g=p.tableAffordanceWidth,E=p.width,D=p.startCol,F=p.endCol,w=p.lastDataColumn,x=p.displayRowHeader,R=p.displayRowHeaderIndices,T=p.topLeftRowHeaderLabel,S=p.columnClass,I=p.scrollXPos,B=p.totalLogicalWidth,P=p.colMetaData,L=p.logicalColWidth,O=p.metadata,W=p.headers,j=p.viewBuffer,K=p.sorted,H=p.colResize,V=p.colMenuAffordance,$=p.sortable,G=p.clearSort,Q=p.spanningColumnHeaders,J=p.colEditState,Y=p.selectHeaders,X=p.editState,Z=p.groupedColumnHeaders,q=p.dragColumns,ee=p.dragAndDrop,re=p.widgetType,he=p.fitLastColumn,me=p.collapseColumn,se=p.setAvatar,te=p.canDrop,oe=p.hideColumnHeader,ue=p.displayColumnIndexOnly,ce=p.displayColumnLabel,ve=p.displayColumnIndex,Se=p.treeColumnIndex,Be=h;return ee&&q&&(Be=a),u.createElement(i,null,u.createElement(Be,{scrollNodeIntoView:this._scrollNodeIntoView,displayRowHeader:x,displayRowHeaderIndices:R,topLeftRowHeaderLabel:T,scrollXPos:I,flexWidth:E,fitLastColumn:he,hideColumnHeader:oe,displayColumnIndexOnly:ue,displayColumnLabel:ce,displayColumnIndex:ve,collapseColumn:me,lastDataColumn:w,width:E,eventCallback:v,startCol:D,endCol:F,tableAffordanceWidth:g,children:W,columnClass:S,logicalColWidth:L,totalLogicalWidth:B,headers:W,colMetaData:P,viewBuffer:j,metadata:O,sorted:K,clearSort:G,colResize:H,sortable:$,colMenuAffordance:V,spanningColumnHeaders:Q,groupedColumnHeaders:Z,selectHeaders:Y,cellEditState:X,colEditState:J,dragColumns:q,widgetType:re,setAvatar:se,dragAndDrop:ee,canDrop:te,treeColumnIndex:Se}))}},{key:"makeWrapperComponent",value:function(p,v){this.propFactory.props.isTableDisabled||this.propFactory.setDisabledState();var g=this.propFactory.props,E=g.eventCallback,D=g.maxWidth,F=g.dataTestId,w=g.component,x=g.selectHeaders,R=g.isTableDisabled,T=g.selectRowHeaders,S=g.gridStyle,I={maxWidth:D||"none"};return u.createElement(e,{dataTestId:F,style:I,scrollComponent:p,header:v,eventCallback:E,component:w,selectRowHeaders:T,isTableDisabled:R,selectHeaders:x,gridStyle:S})}}]),c}();return s},_,M),_.exports=C},function(_,M,l){var A,C,y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var d=function(){function e(t){h(this,e),this.config=t}return m(e,[{key:"getTooltip",value:function(r){return(r==null||(typeof r=="undefined"?"undefined":y(r))==="object")&&(r=""),typeof r!="string"&&(r=r.toString()),{text:r}}},{key:"getDomNode",value:function(r){var o=document.createElement("div");(r==null||(typeof r=="undefined"?"undefined":y(r))==="object")&&(r=""),typeof r!="string"&&(r=r.toString());var a=r.split(`
|
||
`);return a.forEach(function(i){return n(i,o)}),o.className="mw-default-header-cell",o}}]),e}();return d;function n(e,t){var r=document.createElement("span");r.textContent=e,t.appendChild(r),t.appendChild(document.createElement("br"))}},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},m=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(81),l(5),l(22),l(744),l(2)],C=l.dj.d(A,function(e,t,r,o,a){var i="mw-table-resize-affordance",u="mw-table-resize-right-only",s="mw-table-resize-affordance-collapsecolumn",c="mwTableHeaderAffordancePlaceholder",f=function(p){n(v,p);function v(){h(this,v);var g=d(this,(v.__proto__||Object.getPrototypeOf(v)).call(this));return g._handleMouseDown=g._handleMouseDown.bind(g),g._handleMouseUp=g._handleMouseUp.bind(g),g._handleMouseMove=g._handleMouseMove.bind(g),g.state={computedWidth:null},g}return m(v,[{key:"shouldComponentUpdate",value:function(E){if(this.props.shouldReportHeaderWidth||this.props.colWidth!==E.colWidth||this.props.logicalColWidth!==E.logicalColWidth||this.props.colIndex!==E.colIndex||this.props.colIndexEnd!==E.colIndexEnd||this.props.rightOnly!==E.rightOnly||this.props.isResizable!==E.isResizable)return!0}},{key:"_getComputedWidth",value:function(){return this.affordance.parentNode.offsetWidth}},{key:"_handleMouseDown",value:function(E){E.stopPropagation(),E.preventDefault(),E.target.hasAttribute("data-affordance-index")&&(document.addEventListener("mouseup",this._handleMouseUp),document.addEventListener("mousemove",this._handleMouseMove),this.setState({column:Number(E.target.getAttribute("data-col-index")),computedWidth:this._getComputedWidth(),startPos:E.clientX}))}},{key:"_handleMouseUp",value:function(E){document.removeEventListener("mouseup",this._handleMouseUp),document.removeEventListener("mousemove",this._handleMouseMove),this._handleMouseMove(E);for(var D=this._getComputedWidth(),F=this.props.colIndexEnd-this.props.colIndex+1,w=0;w<F;w=w+1)this.state.computedWidth!==D&&this.props.eventCallback(t.internal.COL_RESIZE_DONE,[{width:D/F,columnIndex:this.props.colIndex+w}])}},{key:"_handleMouseMove",value:function(E){var D=E.clientX-this.state.startPos;if(!(this.props.rightOnly&&o.isMovingLeft(D)))for(var F=this.props.colIndexEnd-this.props.colIndex+1,w=0;w<F;w=w+1){var x=D+this.state.computedWidth,R=this.props.logicalColWidth/F;this.props.collapseColumn&&(R=r.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN);var T=Math.max(R,x)/F;this.props.eventCallback(t.protected.COL_RESIZE,{width:T,column:this.props.colIndex+w})}}},{key:"_reportComputedWidth",value:function(){if(this.props.eventCallback)for(var E=this.props.colIndexEnd-this.props.colIndex+1,D=0;D<E;D=D+1)this.props.eventCallback(t.protected.COL_HEADER_MOUNT,{width:this._getComputedWidth()/E,column:this.props.colIndex+D,noRender:!0})}},{key:"componentDidUpdate",value:function(){this._reportComputedWidth()}},{key:"componentDidMount",value:function(){this._reportComputedWidth()}},{key:"render",value:function(){var E=this,D=this.props,F=D.colIndex,w=D.rightOnly,x=D.colIndexEnd,R=D.collapseColumn,T=D.colWidth,S=D.isResizable;x=x||F;var I=w?u:i;return R&&T<r.dimensions.COLLAPSE_COLUMN_AFFORDANCE_MIN&&(I=s),S===void 0&&(S=!0),S||(I=c),a.createElement("div",y({ref:function(P){E.affordance=P},"data-test-id":S?e.RESIZE_AFFORDANCE:e.RESIZE_AFFORDANCE_PLACEHOLDER,"data-affordance-index":F,"data-affordance-index-end":x},S?{onMouseDown:this._handleMouseDown}:null,{className:I}))}}]),v}(a.Component);return f},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(){function d(){m(this,d)}return y(d,null,[{key:"isMovingLeft",value:function(e){return e<0}}]),d}();return h},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(746),l(5),l(3),l(2)],C=l.dj.d(A,function(n,e,t,r){var o="hiddenAfterClearSort",a="sortDescFirst",i=function(u){d(s,u);function s(){m(this,s);var c=h(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return c._handleClick=c._handleClick.bind(c),c._handleMouseLeave=c._handleMouseLeave.bind(c),c._state={didClearSort:!1},c}return y(s,[{key:"shouldComponentUpdate",value:function(f){return f.sortClass!==this.props.sortClass||f.sortFirst!==this.props.sortFirst||f.sorted!==this.props.sorted}},{key:"_handleClick",value:function(f){var p=this.props,v=p.sorted,g=p.clearSort,E=p.sortType,D=p.sortFirst,F=p.colIndex,w=p.eventCallback,x=D===void 0?"ASC":D,R=n.getNext(v,g,x),T={order:R,type:E,column:F};g&&v&&R===""?this._state.didClearSort=!0:this._state.didClearSort=!1,setTimeout(function(){return w(e.protected.SORT_AFFORDANCE_CLICKED,T)},0)}},{key:"_handleMouseLeave",value:function(f){f.currentTarget.classList.remove("hiddenAfterClearSort"),this._state.didClearSort=!1}},{key:"render",value:function(){var f=this.props,p=f.colIndex,v=f.sorted,g=f.sortClass,E=f.clearSort,D=f.sortFirst;return E&&this._state.didClearSort&&(g+=" "+o),D&&D==="DESC"&&(g+=" "+a),r.createElement("div",{"data-affordance-index":p,"data-sorted":v,onClick:this._handleClick,onMouseLeave:E&&this._state.didClearSort?this._handleMouseLeave:null,className:g},r.createElement("svg",{width:"8px",height:"10px",viewBox:"0 0 8 10",version:"1.1"},r.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},r.createElement("g",{transform:"translate(-246.000000, -19.000000)",fill:"var(--mw-backgroundColor-iconFill)"},r.createElement("g",{transform:"translate(250.000000, 24.000000) rotate(180.000000) translate(-250.000000, -24.000000) translate(244.000000, 18.000000)"},r.createElement("polygon",{points:"5.9999 1 9.9999 6 1.9999 6"}),r.createElement("polygon",{points:"5 9 7 9 7 6 5 6"}),r.createElement("polygon",{points:"5 11 7 11 7 10 5 10"}))))))}}]),s}(r.Component);return i},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(115),l(19)],C=l.dj.d(A,function(h,d){"use strict";var n=d.values(h.order),e=d.values(h.order).reverse(),t=d.arrayMerge([""],n),r=d.arrayMerge([""],e),o=function(){function a(){m(this,a)}return y(a,null,[{key:"getNext",value:function(u,s,c){var f=void 0;c&&c==="DESC"?f=s?r:e:f=s?t:n;var p=f.indexOf(u);if(p===-1)return f[0];var v=d.arrayMerge(f.slice(p),f);return v.shift(),v[0]}}]),a}();return o},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(5),l(2)],C=l.dj.d(A,function(n,e){"use strict";var t=function(r){d(o,r);function o(){m(this,o);var a=h(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return a._handleMouseDown=a._handleMouseDown.bind(a),a._handleClick=a._handleClick.bind(a),a}return y(o,[{key:"shouldComponentUpdate",value:function(i){return i.sorted!==this.props.sorted}},{key:"_handleMouseDown",value:function(i){i.stopPropagation()}},{key:"_handleClick",value:function(){var i=this.menuRef.getBoundingClientRect();this.props.eventCallback(n.protected.HEADER_CLICKED,{columnIndex:this.props.colIndex,colStartIndex:this.props.colStartIndex,colEndIndex:this.props.colEndIndex,bottomRect:window.pageYOffset+i.bottom,leftRect:window.pageXOffset+i.left,noRender:!0})}},{key:"render",value:function(){var i=this,u=this.props,s=u.colIndex,c=u.sorted,f=u.colStartIndex,p=u.colEndIndex;return e.createElement("div",{className:"mwTableHeaderMenuAffordanceContainer",onMouseDown:this._handleMouseDown,onClick:this._handleClick},e.createElement("div",{"data-affordance-index":s,ref:function(g){i.menuRef=g},"data-sorted":c,colStartIndex:f,colEndIndex:p,className:"mwTableHeaderMenuAffordance"}))}}]),o}(e.Component);return t},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(81),l(2)],C=l.dj.d(A,function(y,m){var h=function(n){var e=n.displayColumnIndex,t=n.columnHeaderIndex,r=[];return e&&r.push("mw-table-header-index-font","mw-table-header-index-padding-bottom","mw-text-center"),e?m.createElement("div",{"data-test-id":y.HEADER_INDEX,className:r.join(" ")},[t]):null};return h},_,M),_.exports=C},function(_,M,l){var A,C,y=Object.assign||function(m){for(var h=1;h<arguments.length;h++){var d=arguments[h];for(var n in d)Object.prototype.hasOwnProperty.call(d,n)&&(m[n]=d[n])}return m};A=[l(5),l(42),l(750),l(84),l(301),l(2)],C=l.dj.d(A,function(m,h,d,n,e,t){var r=["mw-table-drag-icon","mw-table-dnd-source"],o=function(c){var f=c.avatarDefaultLabel,p=c.setAvatar,v=c.headerMeta,g=c.eventCallback,E=c.columnId,D=c.colIndex,F=c.onDragAction,w=c.scrollNode,x=c.dragType,R=x===void 0?"columns":x,T=c.canDrop,S=c.widgetType,I=c.treeColumnIndex,B=e(g),P=B.startDragSource,L=B.setDropTarget,O=v.reorder,W=O===void 0?!0:O,j=d.getDragDefaultType(S),K=t.useRef(null),H=h.getDragSourceType(R,j),V=function(){F(!1),n.removeInsertionLine(g);var X=K.current.index,Z={columnId:E,colIndex:D,targetIndex:X,headerMeta:v};K.current.valid&&g(m.internal.COLUMN_REORDERED,Z)},$=function(X){K.current=X},G=function(){var X={source:{ids:[E],type:H}};return{columnDnDSourceData:{data:{dragSourceType:j,value:X},dragType:R,count:1}}},Q=function(X,Z,q){var ee=d.getTargetValidation(D,v,g,$,Z,H,q),re=n.lifecycleAddOn(ee,n.debounceCheckForDragOut(X,h.targetLifeCycle.ENTER,g)),he=n.debounceCheckForDragOut(X,h.targetLifeCycle.LEAVE,g),me=n.debounceCheckForDragOut(X,h.targetLifeCycle.HOVER,g);return{enter:re,leave:he,hover:me,drop:V}},J=function(){F(!0);var X={getData:G,eventCallback:g,setAvatar:a(f,p)},Z=d.getColumnHeaderLifeCycle(X),q=P(Z),ee=Q(q,T,I),re=u(K.current,V),he=[d.getColumnHeaderTarget(ee)];return he.push(d.getTableCellTarget(ee)),he.push(d.getInsertionLineTarget(re)),L(q,{targetList:he},w)};return t.createElement("div",y({className:r.join(" "),onMouseDown:d.isColumnDraggable(W)?J:null},d.isColumnDraggable(W)?null:{disabled:!0},d.isColumnDraggable(W)?null:{"aria-disabled":!0}),t.createElement("svg",{viewBox:"0 0 6 10",width:"6px",height:"12px",fill:"var(--mw-backgroundColor-iconFill)"},t.createElement("rect",{width:"2",height:"2"}),t.createElement("rect",{y:"4",width:"2",height:"2"}),t.createElement("rect",{y:"8",width:"2",height:"2"}),t.createElement("rect",{x:"4",width:"2",height:"2"}),t.createElement("rect",{x:"4",y:"4",width:"2",height:"2"}),t.createElement("rect",{x:"4",y:"8",width:"2",height:"2"})))};return t.memo(o);function a(s,c){return c?function(f){return c(f)||i(s)}:function(){return i(s)}}function i(s){var c=document.createTextNode(s);return{node:c}}function u(s,c){var f=function(){return s&&s.valid};return{enter:f,drop:c}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(75),l(126),l(84),l(42),l(3)],C=l.dj.d(A,function(h,d,n,e,t){"use strict";var r=function(){function a(){m(this,a)}return y(a,null,[{key:"getColumnHeaderTarget",value:function(u){var s=e.TARGET_SELECTOR_TABLE_HEADER,c=e.COLUMN_REGIONS;return{dropTarget:s,columnRegions:c,lifecycle:u}}},{key:"getColumnHeaderLifeCycle",value:function(u){var s=u.getData,c=u.setAvatar,f=u.eventCallback,p=function(E,D){var F=s();return a.setDataByType(E,F),n.setAvatar(D,F,E,c),n.startAction({dragItem:E},f),!0},v=function(){n.endAction(f)};return{start:p,end:v}}},{key:"getTableCellTarget",value:function(u){var s=e.TARGET_SELECTOR_TABLE_BODY,c=e.COLUMN_REGIONS;return{dropTarget:s,columnRegions:c,lifecycle:u}}},{key:"getInsertionLineTarget",value:function(u){var s=".mw-table-insertion-line";return{dropTarget:s,lifecycle:u}}},{key:"getTargetValidation",value:function(u,s,c,f,p,v,g){return function(F,w,x){var R=E(F,w,x,p,v,g),T=n.getHorizontalPosition(F,w,x),S=R?"mw-table-vertical-line":"mw-table-vertical-line-invalid";return Object.assign(T,{lineClass:S}),n.setDropPosition(T,c),R};function E(D,F,w,x,R,T){var S=a.getColIndexFromTargetNode(D,F,w),I=S.rightTargetIndex||S.targetIndex;I>u&&(I=I-1);var B=d.cellInsideGroup(F.getAttribute("group-attr")),P=d.headerInsideGroup(F,w),L=B||P,O=d.columnDropValidation(u,S,s,L,D,x,R,T);return f({index:I,valid:O}),O}}},{key:"getColIndexFromTargetNode",value:function(u,s,c){var f=Number(s.getAttribute("data-col-index")),p=Number(s.getAttribute("data-col-index-end")),v=Number(s.getAttribute("data-col")),g=n.onTargetRight(c),E=v||f,D=v||p,F=g?o(D):void 0;return{targetIndex:E,rightTargetIndex:F}}},{key:"setDataByType",value:function(u,s){var c=h.NativeType.TEXT,f=s.columnDnDSourceData;f.data.dragSourceType&&(c=f.data.dragSourceType),u.setDataByType(c,f.data.value)}},{key:"isColumnDraggable",value:function(u){return u!==!1}},{key:"getDragDefaultType",value:function(u){return u===t.protected.TYPE.TREETABLE?e.TREETABLE_DEFAULT_TYPE:e.TABLE_DEFAULT_TYPE}}]),a}();return r;function o(a){return a+1}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y=Object.freeze({V_TRIGGER_AUTOSCROLL:32,H_TRIGGER_AUTOSCROLL:32,V_AUTOSCROLL_VALUE:16,H_AUTOSCROLL_VALUE:16}),m=[10,32],h=[0,32];function d(t){var r=h[1]-t,o=m[1]-m[0],a=h[1]-h[0];return r*(o/a)+m[0]}function n(t,r){var o=t.getBoundingClientRect(),a=o.left,i=o.top,u=r.xOffset,s=r.yOffset,c=a+u,f=i+s;return{mouseLeftPosition:c,mouseTopPosition:f}}function e(t,r,o){var a=o.getBoundingClientRect(),i=a.left,u=a.top,s=a.bottom,c=a.right,f=s-t,p=t-u,v=c-r,g=r-i;return{distanceFromContainerBottom:f,distanceFromContainerTop:p,distanceFromContainerRight:v,distanceFromContainerLeft:g}}return{scroll:function(r,o,a){var i=o.scrollWidth>o.clientWidth,u=o.scrollHeight>o.clientHeight;if(!(!i&&!u)){var s=n(r,a),c=s.mouseLeftPosition,f=s.mouseTopPosition,p=e(f,c,o),v=p.distanceFromContainerBottom,g=p.distanceFromContainerTop,E=p.distanceFromContainerRight,D=p.distanceFromContainerLeft;u&&(v<y.V_TRIGGER_AUTOSCROLL?o.scrollTop=o.scrollTop+d(v):g<y.V_TRIGGER_AUTOSCROLL&&(o.scrollTop=o.scrollTop-d(g))),i&&(E<y.H_TRIGGER_AUTOSCROLL?o.scrollLeft=o.scrollLeft+d(E):D<y.H_TRIGGER_AUTOSCROLL&&(o.scrollLeft=o.scrollLeft-d(D)))}}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(302),l(753),l(134),l(192),l(2)],C=l.dj.d(A,function(h,d,n,e,t){var r=function(g){var E={};function D(F){var w=g[F];return E[F]||!w?null:(E[F]=!0,w.parentId&&g[w.parentId]?(g[w.parentId].headerList.push(w),D(w.parentId)):w)}return D},o=function(g,E,D){var F=g.label,w=g.id,x=g.headerRenderer,R=g.width,T=g.columnId,S=g.headerEditor,I=g.sortType,B=g.clearSort,P=g.headerMenu,L=g.groupLength,O=g.colStartIndex,W=g.colEndIndex,j=g.reorder,K=D.colEditState?D.colEditState===T:!1;return t.createElement(d,{headerPosition:E,name:F,id:w,headerRenderer:x,headerEditor:S,width:R,columnId:T,eventCallback:D.eventCallback,colEditState:K,scrollNodeIntoView:D.scrollNodeIntoView,sortType:I,clearSort:B,headerMenu:P,groupLength:L,colStartIndex:O,colEndIndex:W,reorder:j})},a=function(g,E,D,F,w){var x=g.label,R=g.styleData,T=g.headerRenderer,S=g.headerEditor,I=g.columnId,B=g.colIndexEnd,P=g.colStartIndex,L=g.colEndIndex,O=D.eventCallback,W=D.logicalColWidth,j=D.colResize,K=D.colMenuAffordance,H=D.dragColumns,V=D.sorted,$=V===void 0?[]:V,G=D.sortable,Q=D.clearSort,J=D.scrollNodeIntoView,Y=D.displayColumnIndex,X=D.displayColumnIndexOnly,Z=D.groupedColumnHeaders,q=D.widgetType,ee=D.canDrop,re=g.id,he=g.sortType,me=g.headerMenu,se=g.groupLength,te=g.reorder,oe=D.colEditState?D.colEditState===I:!1;R=R||{};var ue=$[g._index]||{},ce=ue.order,ve=X?w.toString():x,Se=void 0;Z?Se=h:Se=S&&!X?n:e;var Be={headerEditor:S,headerRenderer:T,colEditState:oe},ke=t.createElement(Se,{id:re,colIndexEnd:B,groupLength:se,colStartIndex:P,colEndIndex:L,sortType:he,headerMeta:g,range:F,headerMenu:me,key:g._index,logicalColWidth:W,colIndex:g._index,styleData:R,eventCallback:O,colSelectionMap:E,sorted:ce,colResize:j,colMenuAffordance:K,sortable:G,clearSort:Q,name:ve,columnId:I,dragColumns:H,scrollNodeIntoView:J,displayColumnIndex:Y,columnHeaderIndex:w,displayColumnIndexOnly:X,reorder:te,widgetType:q,canDrop:ee});return X||(ke=i(ke,Be)),ke},i=function(g,E){return t.cloneElement(g,E)},u=function v(g,E,D){if(!g)return null;var F=g.headerList;if(!F)return g;for(var w=o(g,E,D),x=[],R=0;R<F.length;R++){var T=v(F[R],E+R,D);T&&x.push(T)}return x.length?t.createElement("th",{className:"mw-table-hierarchical-column-header"},t.createElement("table",{className:"mw-table-spanning-header-outer"},t.createElement("thead",{className:"mw-table-spanning-header-inner"},t.createElement("tr",null,w),t.createElement("tr",{className:"mw-table-spanning-header-row"},x)))):null},s=function v(g,E,D,F){if(!g)return null;var w=g.headerList;if(!w)return g;for(var x=!0,R=0;R<w.length;R++)w[R].headerList&&(x=!1);if(!x)for(var T=0;T<w.length;T++)return v(w[T],E+T,D);var S=w[0].props.colIndex,I=w[w.length-1].props.colIndex,B=w[0].props.colSelectionMap,P=w[0].props.headerMeta.columnHeaderIndex;return D.logicalColWidth=g.width,g.styleData=g.styleData||{},g.styleData.minWidth=g.width+"px",g.styleData.maxWidth=g.width+"px",g._index=S,g.colIndexEnd=I,a(g,B,D,F,P)},c=function(g,E,D){var F=[],w={},x=Object.keys(g),R=r(w);if(x.length===0)return D;for(var T=0;T<x.length;T+=1){var S=x[T];w[S]=Object.create(g[S]),w[S].headerList=[],w[S].width=0}return E.forEach(function(I,B){if(I.parentId&&w[I.parentId]){var P=I.styleData.minWidth;w[I.parentId].width+=P,w[I.parentId].headerList.push(D[B]);var L=R(I.parentId,w);L&&F.push(L)}else F.push(D[B])}),F},f=function v(g){var E=g.width?g.width:0;return g.headerList?(g.headerList.forEach(function(D){D.width&&(E+=D.width,E+=v(D))}),g.width=E>0?E:g.width,0):E},p=function(){function v(){m(this,v)}return y(v,null,[{key:"makeColumnHeaderGroup",value:function(E,D,F){var w=F.startCol,x=F.endCol,R=F.headers,T={start:w,end:x};if(T.start<0||T.start>T.end)return D;for(var S=[0],I=0;I<R.length;I++){var B=R[I],P=B.width?B.width.value:B.styleData.maxWidth;S[I+1]=P+S[I]}var L=c(E,F.headers,D);L.forEach(f);var O=u;return F.groupedColumnHeaders&&(O=s),L.map(function(W,j){return O(W,j,F,T)})}}]),v}();return p},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),m=function e(t,r,o){t===null&&(t=Function.prototype);var a=Object.getOwnPropertyDescriptor(t,r);if(a===void 0){var i=Object.getPrototypeOf(t);return i===null?void 0:e(i,r,o)}else{if("value"in a)return a.value;var u=a.get;return u===void 0?void 0:u.call(o)}};function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(81),l(134),l(28),l(193),l(2)],C=l.dj.d(A,function(e,t,r,o,a){var i=function(u){n(s,u);function s(c){h(this,s);var f=d(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,c));return f._handleMouseEnter=f._handleMouseEnter.bind(f),f}return y(s,[{key:"_handleMouseEnter",value:function(f){m(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"_handleMouseEnter",this).call(this,f,r.SPANNING_COLUMN_HEADER)}},{key:"render",value:function(){var f=this,p=this.props,v=p.headerPosition,g=p.colEditState,E=p.columnId,D=p.onContextMenu,F=["mw-table-header-column","mw-table-spanning-column-header","mw-table-flex-container"];return v>0&&F.push("mw-table-header-border-left"),a.createElement("th",{className:F.join(" "),onDoubleClick:this._handleDoubleClick,"data-edit-state":g,"data-column-id":E,onContextMenu:D},a.createElement("div",{className:"mw-table-header-label-container"},a.createElement("div",{ref:function(x){f.renderNode=x},"data-test-id":e.HEADER_LABEL,onMouseEnter:this._handleMouseEnter,className:"mw-table-header-label"})))}}]),s}(t);return o(i,r.COLUMN_HEADER)},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function m(h,d){var n=[],e=!0,t=!1,r=void 0;try{for(var o=h[Symbol.iterator](),a;!(e=(a=o.next()).done)&&(n.push(a.value),!(d&&n.length===d));e=!0);}catch(i){t=!0,r=i}finally{try{!e&&o.return&&o.return()}finally{if(t)throw r}}return n}return function(h,d){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return m(h,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();A=[l(5),l(3),l(28),l(130),l(129),l(71),l(2)],C=l.dj.d(A,function(m,h,d,n,e,t,r){var o=function(u){var s=r.useRef(),c=r.useRef(),f=r.useState(0),p=y(f,2),v=p[0],g=p[1],E=u.topLeftRowHeaderValue,D=u.topLeftRowHeaderRenderer,F=u.eventCallback,w=n(F),x=w.handleMouseOverWithRenderer,R=["mw-table-top-left-affordance","mw-table-no-left-border"],T=["mw-flex-child"],S=function(L){c.current.style.minWidth=L+"px"},I=function(L){u.eventCallback(m.internal.NODE_PUBLISH,{publisherFn:function(){return L},publisherId:h.publisher.TOP_LEFT_ROW_HEADER,noRender:!0})},B=function(){return D?D.getDomNode(E):E&&document.createTextNode(E)};return r.useLayoutEffect(function(){var P=B();P&&s.current&&s.current.appendChild(P),F(m.internal.NODE_SUBSCRIBE,{subscriberFn:function(W){return S(W)},subscriberId:h.subscriber.TOP_LEFT,subscribeTo:h.publisher.ROW_HEADER,noRender:!0});var L=c.current.scrollWidth+e.getHeaderPaddingSize();g(L),I(L)},[]),v>=e.getRowHeaderMaxWidth()&&T.push("mw-label-truncation"),r.createElement("div",{ref:c,className:R.join(" ")},r.createElement("div",{className:T.join(" "),onMouseEnter:function(L){x(L.target,d.TOPLEFT_HEADER,E,D,s.current)},ref:s}))};function a(i,u){return t.isDeepEqual(i.topLeftRowHeaderValue,u.topLeftRowHeaderValue)}return r.memo(o,a)},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(2),l(756),l(5),l(3),l(757)],C=l.dj.d(A,function(n,e,t,r,o){"use strict";var a=function(i){d(u,i);function u(){return m(this,u),h(this,(u.__proto__||Object.getPrototypeOf(u)).apply(this,arguments))}return y(u,[{key:"_setTableWidth",value:function(c){c==="100%"?(this.myTable.style.width=c,this.myTable.style.maxWidth=c):c>0&&(this.myTable.style.width=c+"px",this.myTable.style.maxWidth=c+"px")}},{key:"_setTableHeight",value:function(c){var f=c.height;f>=parseInt(this.props.height)?(this.myTable.style.height=f+"px",this.myTable.style.maxHeight=f+"px"):(this.myTable.style.maxHeight="none",this.myTable.style.height=this.props.height)}},{key:"_getGeomObject",value:function(c){var f={flexWidth:this.props.flexWidth,headerList:this.theadRef.childNodes[0].querySelectorAll("[data-col-index]"),headerThead:this.theadRef,noRender:!0};this.props.eventCallback(c,f),this._geomObject=f.result||this._geomObject}},{key:"componentDidMount",value:function(){this.props.eventCallback(t.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTableWidth.bind(this),subscriberId:r.subscriber.TABLE_WIDTH,subscribeTo:r.publisher.HEADER_ROW_WIDTH,noRender:!0}),this.props.eventCallback(t.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTableHeight.bind(this),subscriberId:r.subscriber.TABLE_HEIGHT,subscribeTo:r.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0})}},{key:"render",value:function(){var c=this,f=this.props,p=f.height,v=f.width,g=f.tableClass,E=f.dataSize,D=f.widgetType,F=f.scrollNodeIntoView,w=f.component,x={height:p,width:v,maxHeight:p,maxWidth:v},R=E.rows,T=R===void 0?{}:R,S=E.columns,I=S===void 0?{}:S,B=e.getRoleByWidgetType(D),P="mw-table "+g,L=T.count||0,O=I.count||0;this.props.tableHasFocus=F.tableContainerHasFocus();var W=n.createElement("table",{ref:function(K){c.myTable=K},role:B,"aria-rowcount":L,"aria-colcount":O,"data-test-id":"mwtable",style:x,className:P},n.createElement(w.tbody,this.props),n.createElement(o,{subscriberId:r.subscriber.INSERTION_TABLE_BODY,eventCallback:this.props.eventCallback}));return W}}]),u}(n.Component);return a},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[],C=l.dj.d(A,function(){"use strict";var h=function(){function d(){m(this,d)}return y(d,null,[{key:"getRoleByWidgetType",value:function(e){var t={Table:"grid",TreeTable:"grid"};return t[e]}},{key:"getTreeNode",value:function(e){var t=e.check,r=e.isExpandable,o=e.isExpanded,a={};return r&&(a.isExpanded=o),a.check=t,a}}]),d}();return h},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function m(h,d){var n=[],e=!0,t=!1,r=void 0;try{for(var o=h[Symbol.iterator](),a;!(e=(a=o.next()).done)&&(n.push(a.value),!(d&&n.length===d));e=!0);}catch(i){t=!0,r=i}finally{try{!e&&o.return&&o.return()}finally{if(t)throw r}}return n}return function(h,d){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return m(h,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();A=[l(5),l(3),l(2)],C=l.dj.d(A,function(m,h,d){var n=2,e=function(i){var u=i.eventCallback,s=i.subscriberId,c=d.useRef(null),f=d.useState({}),p=y(f,2),v=p[0],g=p[1],E=d.useState({}),D=y(E,2),F=D[0],w=D[1],x=d.useState(""),R=y(x,2),T=R[0],S=R[1];return d.useEffect(function(){w(o(v,c.current.parentNode,S))},[v.left]),d.useEffect(function(){v&&!v.hasOwnProperty("left")&&w(r(v,c.current,S))},[v.top,v.maxMarginLeftForLevel,v.topOffset,v.lineClass]),d.useEffect(function(){u(m.internal.NODE_SUBSCRIBE,{subscriberFn:function(B){return g(B)},subscriberId:s,subscribeTo:h.protected.publisher.DND_IN_ACTION,noRender:!0})},[]),d.createElement("div",{ref:c,style:F,className:"mw-table-insertion-line "+T})},t=function(){return!0};return d.memo(e,t);function r(a,i,u){var s=i.parentNode,c=i.left,f=a.lineClass,p=a.maxMarginLeftForLevel,v=p===void 0?0:p,g=0;if(u(f),a.top){var E=s.getBoundingClientRect(),D=E.top,F=E.bottom,w=E.width,x=E.height,R=s.parentNode.getBoundingClientRect(),T=R.height,S=R.width,I=T<x+n,B=S<w,P=F<=a.top+n,L=Math.ceil(a.top-D);c=v||c;var O=w-c;return P&&(I||B)&&(g=n),L=L-g,i.left=c,{top:L,left:c,width:O,borderTopWidth:n}}return{display:"none"}}function o(a,i,u){var s=3;if(u(a.lineClass),a.left){var c=a.left-i.getBoundingClientRect().left,f=i.getBoundingClientRect().width;return c=Math.ceil(c)===Math.ceil(f)?c-s:c-1,{left:c}}return{display:"none"}}},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function m(h,d){var n=[],e=!0,t=!1,r=void 0;try{for(var o=h[Symbol.iterator](),a;!(e=(a=o.next()).done)&&(n.push(a.value),!(d&&n.length===d));e=!0);}catch(i){t=!0,r=i}finally{try{!e&&o.return&&o.return()}finally{if(t)throw r}}return n}return function(h,d){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return m(h,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();A=[l(304),l(22),l(2)],C=l.dj.d(A,function(m,h,d){var n=function(t){var r=t.children,o=d.useState(h.dimensions.ABSOLUTE_MIN),a=y(o,2),i=a[0],u=a[1],s=d.useState(!1),c=y(s,2),f=c[0],p=c[1],v={indexWidth:i,setIndexWidth:u,isMaxWidth:f,setIsMaxWidth:p};return d.createElement(m.Provider,{value:v},r)};return n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(5),l(3),l(23),l(760),l(177),l(30),l(28),l(2)],C=l.dj.d(A,function(n,e,t,r,o,a,i,u){"use strict";var s=function(p){return p.preventDefault()},c=function(f){d(p,f);function p(v){m(this,p);var g=h(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,v));return g.state=v,g._handleResize=g._handleResize.bind(g),g._handleKeyDown=g._handleKeyDown.bind(g),g._handleFocus=g._handleFocus.bind(g),g._handleBlur=g._handleBlur.bind(g),g._handleMouseDown=g._handleMouseDown.bind(g),g._handleMouseUp=g._handleMouseUp.bind(g),g._stopToggle=!1,g._handleClipboardCopy=g._handleClipboardEvent.bind(g,n.internal.CLIPBOARD_COPY),g._handleClipboardCut=g._handleClipboardEvent.bind(g,n.internal.CLIPBOARD_CUT),g._handleClipboardPaste=g._handleClipboardEvent.bind(g,n.internal.CLIPBOARD_PASTE),g}return y(p,[{key:"_handleMouseUp",value:function(g){this.myOuterWrapper.removeEventListener("selectstart",s)}},{key:"_handleMouseDown",value:function(g){g.shiftKey&&this.myOuterWrapper.addEventListener("selectstart",s)}},{key:"_handleKeyDown",value:function(g){switch(g.keyCode){case t.ARROW_UP:case t.ARROW_DOWN:case t.ARROW_RIGHT:case t.ARROW_LEFT:case t.PAGE_UP:case t.PAGE_DOWN:case t.END:case t.HOME:case t.SPACE:g.preventDefault(),g.stopPropagation();break;case t.ALT:case t.SHIFT:case t.CTRL:case t.META:return}this.props.eventCallback&&(this.props.eventCallback(n.protected.KEY_PRESS,{nativeEvent:g,keyCode:g.keyCode,meta:g.metaKey,ctrlKey:g.ctrlKey,shiftKey:g.shiftKey,altKey:g.altKey,eventCallback:this.props.eventCallback}),this.props.eventCallback(n.protected.NODE_NOTIFY,{publisherFn:function(){return!0},publisherId:e.publisher.TOOLTIP_DISMISS,noRender:!0}))}},{key:"_handleFocus",value:function(g){this.props.eventCallback&&this.props.eventCallback("tableFocus",{target:g.target,noRender:!0}),this.setState({wrapperClass:"mw-table-outer-wrapper mw-table-outer-wrapper-focused"})}},{key:"_handleBlur",value:function(){(!this.state.editState||this.state.editProcessing)&&this.state.wrapperClass!=="mw-table-outer-wrapper-blurred"&&this.setState({wrapperClass:"mw-table-outer-wrapper-blurred"})}},{key:"_handleResize",value:function(g){this.myOuterWrapper&&this.state.eventCallback(n.internal.TABLE_RESIZE,{container:g})}},{key:"_isTableCellOrRowActive",value:function(g){if(g.scrollComponent&&g.scrollComponent.props&&g.scrollComponent.props.children&&g.scrollComponent.props.children.props&&g.scrollComponent.props.children.props.table&&g.scrollComponent.props.children.props.table.props&&g.wrapperClass){var E=g.scrollComponent.props.children.props.table.props,D=E.focused?Object.getOwnPropertyNames(E.focused).length:0,F=E.metadata&&E.metadata.selections?E.metadata.selections.length:0,w=g.wrapperClass,x=g.editState;if((D>0||F>0||x)&&w.indexOf("mw-table-outer-wrapper-focused")!==-1)return!0}return!1}},{key:"_setScrollAffordanceWidth",value:function(g){g>0?this.myOuterWrapper.classList.add("mw-table-has-vertical-scroll"):this.myOuterWrapper.classList.remove("mw-table-has-vertical-scroll")}},{key:"componentDidUpdate",value:function(){this.state.eventCallback(n.protected.FORCE_LAYOUT,{noRender:!0}),this.myOuterWrapper.contains(document.activeElement)||this._handleBlur(),this.state.isTableDisabled&&this.state.isTableDisabled()?(this.state.wrapperClass==="mw-table-outer-wrapper"&&(document.activeElement.blur(),this._handleBlur()),this.myOuterWrapper.removeAttribute("tabindex")):this.myOuterWrapper.setAttribute("tabindex","0"),this._isTableCellOrRowActive(this.state)&&this.setState({wrapperClass:"mw-table-outer-wrapper"})}},{key:"componentDidMount",value:function(){this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollAffordanceWidth.bind(this),subscribeTo:e.publisher.SCROLL_BAR_WIDTH,subscriberId:e.subscriber.TABLE_HAS_VERT_SCROLL,noRender:!0}),document.addEventListener("cut",this._handleClipboardCut,!1),document.addEventListener("copy",this._handleClipboardCopy,!1),document.addEventListener("paste",this._handleClipboardPaste,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("cut",this._handleClipboardCut,!1),document.removeEventListener("copy",this._handleClipboardCopy,!1),document.removeEventListener("paste",this._handleClipboardPaste,!1)}},{key:"_isTableActive",value:function(){var g=!1;if(this.myOuterWrapper)g=this.myOuterWrapper.contains(document.activeElement);else for(var E=document.activeElement.classList,D=0;D<E.length;D++)if(/mw-table.*/.test(E[D]))return g=!0,g;return g}},{key:"_handleClipboardEvent",value:function(g,E){!this._isTableActive()||this.props.eventCallback&&this.props.eventCallback(g,{nativeEvent:E,eventCallback:this.props.eventCallback})}},{key:"focus",value:function(){this.myOuterWrapper&&this.myOuterWrapper.focus()}},{key:"render",value:function(){var g=this,E=this.state,D=E.header,F=E.scrollComponent,w=E.component,x=E.dataTestId,R=E.wrapperClass,T=E.isTableDisabled,S=E.selectHeaders,I=S===void 0?function(){return 0}:S,B=E.selectRowHeaders,P=E.gridStyle,L=!!T&&T();R=R||"mw-table-outer-wrapper-blurred";var O=[R];return P&&o.hasOwnProperty(P.value)&&O.push(o[P.value]),I()&&O.push("mw-table-select-headers"),B&&O.push("mw-table-select-row-headers"),u.createElement("div",{className:"mw-table-component mw-table-scoped"},u.createElement("div",{ref:function(j){g.myOuterWrapper=j},tabIndex:"0","data-test-id":x,className:O.join(" "),onKeyDownCapture:this._handleKeyDown,onFocusCapture:this._handleFocus,onBlur:this._handleBlur,onMouseDownCapture:this._handleMouseDown,onMouseUp:this._handleMouseUp},D,F,u.createElement(w.tooltip,this.props)),u.createElement(r,{disabled:L}))}}]),p}(u.Component);return c},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(2)],C=l.dj.d(A,function(n){"use strict";var e=function(t){d(r,t);function r(){return m(this,r),h(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return y(r,[{key:"render",value:function(){var a=this,i=this.props.disabled;return i?n.createElement("div",{ref:function(s){a.disableWrapperRef=s},className:"mw-table-disable-layer",onContextMenu:function(s){return s.preventDefault()}}):null}}]),r}(n.Component);return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function n(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}}();function m(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function h(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n}function d(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}A=[l(5),l(3),l(294),l(129),l(762),l(19),l(2)],C=l.dj.d(A,function(n,e,t,r,o,a,i){var u=r.getRowHeaderMaxWidth(),s=new t,c=function(g,E,D,F,w){var x=[],R=D-E+1;if(R>0){var T=g.rowMetaData,S=r.getLabels(T,E,D);w=w||s,S.forEach(function(I){I.label=I.label||" ",x.push({key:I.rowIndex,rowIndex:I.rowIndex,headerRenderer:w,isMaxWidth:F,label:I.label})})}return x},f=function(g,E,D,F,w){for(var x=[],R=g;R<=E;R++){var T=D[R-g],S=i.createElement(o,{headers:T,rowIndex:R,lastRowIndex:E,enableEdit:F.enableEdit,displayRowHeaderIndices:F.displayRowHeaderIndices,key:R,eventCallback:F.eventCallback,scrollNodeIntoView:F.scrollNodeIntoView,rowHeight:F.rowHeight,rowEditState:F.rowEditState,rowSelectionMap:w});x.push(S)}return x},p=function(v){d(g,v);function g(E){m(this,g);var D=h(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,E));return D.state={topLeftWidth:0,isMaxWidth:!1},D.makeRowHeader=D.makeRowHeader.bind(D),D}return y(g,[{key:"setWidth",value:function(D){this.props.eventCallback(n.internal.NODE_PUBLISH,{publisherFn:function(){return D},publisherId:e.publisher.ROW_HEADER,noRender:!0}),this.rowHeader.style.width=D+"px"}},{key:"makeRowHeader",value:function(D){var F=this.props,w=F.rowMetaData,x=F.viewBuffer,R=x.rows.start,T=x.rows.end,S=[];return w&&w.length>0&&S.push(c(this.props,R,T,D)),a.transpose(S)}},{key:"componentDidUpdate",value:function(){var D=Math.min(this.rowHeader.scrollWidth,u);D>=u&&!this.state.isMaxWidth&&this.setState({isMaxWidth:!0}),this.setWidth(D)}},{key:"componentDidMount",value:function(){var D=this;this.props.eventCallback(n.internal.NODE_SUBSCRIBE,{subscriberFn:function(w){w>u&&(w=u),D.setState({topLeftWidth:w})},subscriberId:e.subscriber.ROW_HEADER,subscribeTo:e.publisher.TOP_LEFT_ROW_HEADER,noRender:!0})}},{key:"render",value:function(){var D=this,F=this.props,w=F.scrollPos,x=F.rowHeaderHeight,R=F.viewBuffer,T={},S={},I=this.makeRowHeader(this.state.isMaxWidth),B=r.getSelectionMap(this.props),P=this.state.topLeftWidth;return typeof w=="number"&&(T={height:x},S={minWidth:P+"px",transform:"translateY("+w+"px)",WebkitTransform:"translateY("+w+"px)"}),i.createElement("div",{className:"mw-table-row-header","data-test-id":"mw-table-row-header",style:T},i.createElement("div",{ref:function(O){D.rowHeader=O},className:"mw-table-tbody-row-header",style:S},f(R.rows.start,R.rows.end,I,this.props,B)))}}]),g}(i.Component);return p},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(763),l(305),l(765),l(2)],C=l.dj.d(A,function(y,m,h,d){"use strict";var n=function(t){var r=t.headers,o=t.rowIndex,a=t.lastRowIndex,i=t.displayRowHeaderIndices,u=t.enableEdit,s=t.eventCallback,c=t.scrollNodeIntoView,f=t.rowHeight,p=t.rowEditState,v=t.rowSelectionMap,g="rowLabel",E=["mw-table-flex-row"],D=r&&r.length>0||!1,F=u?y:m,w=D?["mw-table-header-index-font"]:["mw-table-flex-cell-full-width","mw-table-header-index-font"],x=function(T){return d.createElement(h,{indexDisplay:T+1,lastRowIndex:a,key:T,additionalClass:w,rowIndex:T,hasLabels:D,eventCallback:s,rowHeight:f,rowSelectionMap:v})};return d.createElement("div",{className:E.join(" "),"data-row-index":o},i?x(o):null,D?r.map(function(R){return d.createElement(F,{key:R.rowIndex,rowIndex:R.rowIndex,colIndex:R.colIndex||0,headerRenderer:R.headerRenderer,value:R.label,isMaxWidth:R.isMaxWidth,scrollNodeIntoView:c,editType:g,row:o,label:R.label,rowHeight:f,eventCallback:s,rowSelectionMap:v,editState:p})}):null)};return n},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(305),l(293)],C=l.dj.d(A,function(y,m){"use strict";var h=m(y);return h},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function e(t,r){for(var o=0;o<r.length;o++){var a=r[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function m(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}A=[l(81),l(291),l(292),l(2)],C=l.dj.d(A,function(e,t,r,o){var a=function(c,f){return c===f?"mw-table-flex-cell-edit":""},i=function(){},u=function(s){n(c,s);function c(){return h(this,c),d(this,(c.__proto__||Object.getPrototypeOf(c)).apply(this,arguments))}return y(c,[{key:"render",value:function(){var p=this,v=this.props,g=v.rowIndex,E=v.rowHeight,D=v.editState,F=v.isMaxWidth,w=v.scrollNodeIntoView,x=v.additionalClass,R=x===void 0?[]:x,T=v.onMouseDown,S=T===void 0?i:T,I=v.onMouseUp,B=I===void 0?i:I,P=v.onContextMenu,L=v.label,O=L===void 0?"":L,W=v.eventCallback,j=v.enterEditMode,K=v.headerRenderer,H=v.handleEditComplete,V=v.handleEditCanceled,$={},G=["mw-table-row-header-cell","mw-table-flex-cell-full-width","mw-cell-border-right"].concat(m(R));E&&($={minHeight:E+"px",maxHeight:E+"px"}),G.push(a(D,g));var Q=["mw-table-force-flex-padding-right"];(D===g||F)&&(Q=[]);var J=function(){j&&w.scrollIntoVerticalView(p.headerRef).then(function(){return j()})},Y=function(){return D===g?o.createElement(r,{value:O,key:"edit-"+g,eventCallback:W,handleEditCanceled:V,handleEditComplete:H,editType:"rowLabel"}):o.createElement(t,{value:O,key:"render-"+g,eventCallback:W,renderer:K})};return o.createElement("div",{style:$,ref:function(Z){p.headerRef=Z},key:"row-header-"+g,"data-edit-state":D,"data-label-index":g,"data-test-id":e.ROW_HEADER_LABEL,onMouseDown:S,onMouseUp:B,onContextMenu:P,onDoubleClick:J,className:G.join(" ")},o.createElement("div",{key:g,className:Q.join(" ")},Y()))}}]),c}(o.PureComponent);return u},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(766),l(306),l(193),l(28)],C=l.dj.d(A,function(y,m,h,d){"use strict";var n=m(h(y,d.ROW_HEADER));return n},_,M),_.exports=C},function(_,M,l){var A,C;function y(m){if(Array.isArray(m)){for(var h=0,d=Array(m.length);h<m.length;h++)d[h]=m[h];return d}else return Array.from(m)}A=[l(304),l(129),l(2)],C=l.dj.d(A,function(m,h,d){var n=function(){},e=function(r){var o=r.indexDisplay,a=r.rowHeight,i=r.eventCallback,u=r.additionalClass,s=u===void 0?[]:u,c=r.onMouseDown,f=c===void 0?n:c,p=r.onMouseUp,v=p===void 0?n:p,g=r.onContextMenu,E=g===void 0?n:g,D=r.rowIndex,F=r.hasLabels,w=r.lastRowIndex,x=d.useRef(),R=d.useContext(m),T=R.indexWidth,S=R.setIndexWidth,I={width:T+"px"},B=["mw-table-row-header-cell","mw-text-center","mw-cell-border-right"].concat(y(s));return a&&(I.minHeight=a+"px",I.maxHeight=a+"px"),d.useEffect(function(){w===D&&x.current.scrollWidth>x.current.clientWidth&&S(x.current.scrollWidth+h.getHeaderPaddingSize())},[w,F]),d.createElement("div",{ref:x,style:I,key:D,"data-index":D,"data-test-id":"mw-row-header-index",rowIndex:D,onMouseDown:f,onMouseUp:v,onContextMenu:E,eventCallback:i,className:B.join(" ")},d.createElement("div",{className:"mw-table-force-flex-padding-right"},o))};return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(20)],C=l.dj.d(A,function(h){var d=10,n=162,e=200,t=22;return function(){function r(){m(this,r)}return y(r,[{key:"getScrollNode",value:function(){return this._scrollNode}},{key:"tableContainerHasFocus",value:function(){return this._scrollNode.parentNode===document.activeElement}},{key:"scrollIntoView",value:function(a){var i=this,u=this._outOfLeftBoundary(a);return u.then(function(s){return s.needsRightBoundaryCheck?i._outOfRightBoundary(a).then(function(){return{isEditable:!0}}):{isEditable:s.isEditable}})}},{key:"scrollIntoVerticalView",value:function(a){var i=a.getBoundingClientRect(),u=this._container.getBoundingClientRect(),s=i.bottom-this._scrollNode.clientHeight-u.bottom,c=i.bottom-u.bottom-t,f=new h;return s>0?this._scrollNode.scrollTop+=s:c<0&&(this._scrollNode.scrollTop+=c),f.resolve(),f}},{key:"_outOfLeftBoundary",value:function(a){var i=this,u=a.left,s={left:u},c=this._container.getBoundingClientRect(),f=new h;return c.left-s.left>n?f.resolve({needsRightBoundaryCheck:!1,isEditable:!1}):s.left<c.left?(this._scrollNode.scrollLeft-=d,s.left+=d,setTimeout(function(){var p=i._outOfLeftBoundary(s);p.then(function(){return f.resolve({needsRightBoundaryCheck:!1,isEditable:!0})})})):f.resolve({needsRightBoundaryCheck:!0,isEditable:!0}),f}},{key:"_outOfRightBoundary",value:function(a){var i=this,u=a.left,s=a.right,c={left:u,right:s},f=this._container.getBoundingClientRect(),p=new h;return c.right>f.right&&f.right-c.left<e?(this._scrollNode.scrollLeft+=d,c.right-=d,c.left-=d,setTimeout(function(){var v=i._outOfRightBoundary(c);v.then(function(){return p.resolve()})})):p.resolve(),p}},{key:"container",set:function(a){this._container=a}},{key:"scrollNode",set:function(a){this._scrollNode=a}}]),r}()},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(303),l(307)],C=l.dj.d(A,function(y,m){"use strict";var h=m(y);return h},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(68),l(75),l(127),l(42),l(5),l(3),l(28),l(32),l(770),l(84),l(19),l(308)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u){"use strict";var s=null,c=d.AUTO_EXPAND_TIME,f={},p=u(),v=function(E){var D=function(Y,X){var Z=X.reorderRows,q=X.reparentRows,ee=X.setDragData,re=X.selections,he=X.setSelections,me=X.setDndSourceData,se=X.setinternalRowDndSourceData;if(Y.selections&&y.areSelectionIdsDifferent(re,Y.selections)){he(Y.selections);var te=Object.keys(Y.selections),oe=te.length,ue="rows",ce=r.createProxyNodesWithIds(te),ve={dragSourceType:d.TREETABLE_DEFAULT_TYPE,value:{source:{proxyNodes:ce,type:t.TREETABLE_ROW}}};ee&&(me(null),p.setSelectionDataForDrag(ee,ce).then(function(Se){me({data:Se,count:oe,dragType:ue})})),(Z||q)&&se({data:ve,count:oe,dragType:ue})}},F=function(Y){var X=function(ee,re){var he=Y.canDrag,me=Y.getData,se=Y.setAvatar,te=Y.eventCallback,oe=me();if(!B(re,ee)||Object.keys(oe).length<=0)return!1;if(p.isDataTransfer(oe))p.setMultipleDragItemDataByType(ee,oe);else{var ue=m.NativeType.TEXT;R(ee,ue,oe)}return h.dropInProgress||he&&!he({dataTransferItem:ee})?!1:(a.setAvatar(re,oe,ee,se),a.startAction({dragItem:ee},te),!0)},Z=function(ee,re){var he=Y.eventCallback;O(re,{dropCompleted:!0}),a.endAction(he)};return{start:X,end:Z}},w=function(Y){var X=Y.dndType;if(X===e.protected.REPARENT_ROWS){var Z={allowGlobal:!0,dropTarget:x("tableCell"),lifecycle:S(t.TREETABLE_ROW,Y)},q={allowGlobal:!0,dropTarget:x("scrollComponent"),lifecycle:S(t.TREETABLE,Y)};return[Z,q]}else{var ee={allowGlobal:!0,dropTarget:x(d.DROP_TARGET.TABLE_CELL),lifecycle:S(t.TREETABLE_ROW,Y),rowRegions:d.ROW_REGIONS.ROWS},re={allowGlobal:!0,dropTarget:x(d.DROP_TARGET.CONTAINER),lifecycle:S(t.TREETABLE,Y),rowRegions:d.ROW_REGIONS.CONTAINER},he={allowGlobal:!0,dropTarget:x(d.DROP_TARGET.CONTAINER.INSERTION_LINE),lifecycle:T(Y)};return[ee,re,he]}},x=function(Y){var X="";return Y===d.DROP_TARGET.TABLE_CELL?X=".mw-table-cell":Y===d.DROP_TARGET.CONTAINER?X=".mw-scrolling-div":Y===d.DROP_TARGET.CONTAINER.INSERTION_LINE&&(X=".mw-table-insertion-line"),X},R=function(Y,X,Z){var q=X,ee=Z.dndSourceDataToDropOutside,re=Z.internalRowDndSourceData;ee&&(p.setDragItemSourceType(Y),X=ee.data.dragSourceType||q,Y.setDataByType(X,ee.data.value)),re&&(X=re.data.dragSourceType,Y.setDataByType(X,re.data.value))},T=function(Y){var X=Y.eventCallback,Z=Y.context,q={};return q={enter:function(re,he,me){var se=Y.eventCallback,te=f,oe=te.dropPosition;return a.setDropPosition(oe,se),f.isDropValid},drop:function(re,he,me){G({dragItem:re,domNode:he,position:me,eventCallback:X})}},q.enter=a.lifecycleAddOn(q.enter,a.debounceCheckForDragOut(Z,d.targetLifeCycle.ENTER,X)),q.leave=a.debounceCheckForDragOut(Z,d.targetLifeCycle.LEAVE,X),q.hover=a.debounceCheckForDragOut(Z,d.targetLifeCycle.HOVER,X),q},S=function(Y,X){var Z=X.dndType,q=X.eventCallback,ee=X.context,re=X.canDrop,he={};return he={enter:function(se,te,oe){return $({dragItem:se,domNode:te,dropNodeType:Y,position:oe,dndType:Z,eventCallback:q,canDrop:re})},hover:function(se,te,oe){Q({dragItem:se,domNode:te,position:oe,dndType:Z})},leave:function(se,te,oe){H({dragItem:se,domNode:te,position:oe})},drop:function(se,te,oe){G({dragItem:se,domNode:te,position:oe,eventCallback:q})}},he.enter=a.lifecycleAddOn(he.enter,a.debounceCheckForDragOut(ee,d.targetLifeCycle.ENTER,q)),he.leave=a.lifecycleAddOn(he.leave,a.debounceCheckForDragOut(ee,d.targetLifeCycle.LEAVE,q)),he.hover=a.lifecycleAddOn(he.hover,a.debounceCheckForDragOut(ee,d.targetLifeCycle.HOVER,q)),he},I=function(Y){var X=Y.dragItem,Z=Y.domNode,q=Y.dropNodeType,ee=Y.position;f={sourceStylesSet:!1,hoverStylesSet:!1,type:q,hoverRowNode:o.getClosestRow(Z),dropPosition:{}};var re=ee?ee.row:1;f.insertionPosition=re,f.domNode=Z;var he=X.getDataByType(d.TREETABLE_DEFAULT_TYPE),me=r.getIdsFromProxyNodes(he.source.proxyNodes);f.sourceIds=me,f.targetId=Z.getAttribute("data-row-id");var se=h.getNodeInfo(Z,q);f.targetNodeInfo=se,f.level=parseInt(se.level),f.row=Z.getAttribute("data-row");var te=h.getCurrentRowMetaData(f.row).path||[];f.path=te;var oe=void 0;if(!f.sourceStylesSet){for(var ue in me)if(oe=Z.closest(".mw-table-inner-wrapper").querySelectorAll('[data-row-id="'+me[ue]+'"]'),oe.length>0)for(var ce=0;ce<oe.length;ce++)oe[ce].classList.add("mw-table-row-drag-source");f.sourceStylesSet=!0}},B=function(Y,X){var Z=X.getXYCoordinates();return!(r.isDragTargetDisclosureIcon(Y,Z)||r.isDragTargetCheckboxTree(Y,Z))},P=async function(Y){var X=Y.dragItem,Z=Y.dndType,q=Y.canDrop,ee=f,re=ee.targetId,he=ee.sourceIds,me=ee.domNode,se=K(Z,Y),te=h.isInternalDrag(),oe=r.isDraggedItemInTheNodePath(f,se.path),ue=r.isTargetOnScrollBar(me,X.getXYCoordinates()),ce=await i.asyncWrapper(q,{dataTransferItem:X,target:se});return f.isDropValid=!0,(he.includes(re)||ue||oe||!ce)&&te?(f.isDropValid=!1,!1):!0},L=function(Y,X){X(n.internal.ROW_DROPPED,Y)},O=function(Y){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=X.dropCompleted,q=X.clearStyles;if(f.hoverStylesSet||q){var ee=Y.closest("tr");if(ee){var re=ee.querySelectorAll("td");if(re.length>0){for(var he=0;he<re.length;he++)re[he].classList.remove("mw-table-dnd-valid-hover"),re[he].classList.remove("mw-table-dnd-invalid-hover");f.hoverStylesSet=!1}}}if(Z)for(var me=Y.closest(".mw-table-inner-wrapper"),se=me&&me.querySelectorAll(".mw-table-row-drag-source")||[],te=0;te<se.length;te++)se[te].classList.remove("mw-table-row-drag-source")},W=function(Y){j(),s=window.setTimeout(function(){h.expandNode(Y)},c)},j=function(){window.clearTimeout(s)},K=function(Y){var X=f,Z=X.targetId,q=X.type,ee=X.insertionPosition,re={};return re={proxyNode:{id:Z},type:q},f.target=re,Y==="reorderRows"&&(ee===d.REORDER.INSERT_ABOVE||ee===d.REORDER.INSERT_BELOW)&&(re=o.getReorderTargetParent(f)),re},H=function(Y){var X=Y.domNode,Z=Y.position,q=f,ee=q.insertionPosition,re=!1;if(O(X,{clearStyles:!0}),!Z)re=f.domNode===X;else{var he=ee===d.REORDER.INSERT_BELOW,me=ee===d.REORDER.INSERT_ABOVE,se=Z.row===d.REORDER.INSERT_AS_CHILD;re=(he||me)&&se}re&&j()},V=function(Y){var X=Y.domNode,Z=Y.dropNodeType;if(X.getAttribute("data-row-id")===null&&Z==="TREETABLE_ROW")return f.isDropValid=!1,!1;if(Z==="TREETABLE_ROW"){var q=h.getCurrentRowMetaData(X.getAttribute("data-row"));if(!q.path||q.path.length===0)return f.isDropValid=!1,!1}return!0},$=function(Y){var X=Y.domNode,Z=Y.eventCallback;if(O(X),!X||!V(Y))return!1;I(Y);var q=f,ee=q.insertionPosition;return ee===d.REORDER.INSERT_BELOW?(f.nextSibling=o.getNextSiblingInfo(f),f.dropPosition=o.getLinePositionBelowNode(f)):ee===d.REORDER.INSERT_ABOVE?(f.previousSibling=o.getPreviousSiblingInfo(f),f.dropPosition=o.getLinePositionAboveNode(f)):f.dropPosition={},a.setDropPosition(f.dropPosition,Z),{isValidDropAsync:async function(){var he=f,me=he.insertionPosition;me===d.REORDER.INSERT_AS_CHILD&&W({id:f.targetId});var se=await P(Y);return me!==d.REORDER.INSERT_AS_CHILD&&se&&(f.dropPosition.lineClass=d.REORDER.VALID_LINE),a.setDropPosition(f.dropPosition,Z),se}}},G=function(Y){var X=Y.dragItem,Z=Y.domNode,q=Y.eventCallback;j();var ee=X.getDataByType(d.TREETABLE_DEFAULT_TYPE).source.proxyNodes;L({dragItem:X,proxyNodes:ee,domNode:Z,currentNodeInfo:f},q),O(Z,{dropCompleted:!0}),a.removeInsertionLine(q)},Q=function(Y){var X=Y.domNode,Z=Y.dndType,q=Y.position;if(O(X),!(Z!==e.protected.REPARENT_ROWS&&q.row!==d.REORDER.INSERT_AS_CHILD)&&!f.hoverStylesSet){var ee=X.closest("tr");if(ee){var re=ee.querySelectorAll("td");if(re.length>0){for(var he=0;he<re.length;he++)f.isDropValid?re[he].classList.add("mw-table-dnd-valid-hover"):re[he].classList.add("mw-table-dnd-invalid-hover");f.hoverStylesSet=!0}}}};return{changeDragData:D,createDropTarget:w,setDragItemDataByType:R,isDragValid:B,removeDnDStyle:O,getSourceLifecycle:F}};return v},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(127),l(42),l(28),l(32)],C=l.dj.d(A,function(y,m,h,d){"use strict";var n={onTargetBelow:function(t){var r=t&&t===2;return r},getClosestRow:function(t){var r=t.closest("tr");return r},getLinePosition:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.insertBeforeChild,a=1,i=!1,u=!1,s=!1,c=t.level,f=t.hoverRowNode,p=t.nextSibling,v=t.domNode,g=t.isDropValid,E=t.insertionPosition,D=y.getTreeColumnWidth();o&&(c=p.level);var F=(c+1)*m.MARGIN_LEFT_FOR_ROOT;D?F=F>D?D:F:F=0;var w=v.getBoundingClientRect().top;if(n.onTargetBelow(E)&&(w=v.getBoundingClientRect().bottom),!f.nextSibling&&E===m.REORDER.INSERT_BELOW){i=!0;var x=f.closest(".mw-scrolling-div"),R=x&&x.getBoundingClientRect().height,T=x&&x.firstChild.getBoundingClientRect().height;u=R===T,s=y.hasHorizontalScroll()}!f.previousSibling&&E===m.REORDER.INSERT_ABOVE&&(a=0);var S=g?m.REORDER.VALID_LINE:m.REORDER.INVALID_LINE;return{top:w,lastRow:i,maxMarginLeftForLevel:F,topOffset:a,lineClass:S,hasHorizontalScroll:s,isTableHeightSameAsContainer:u}},getReorderTargetParent:function(t){var r=t.row,o=t.targetNodeInfo,a=t.insertionPosition,i={},u={},s=y.getCurrentRowMetaData(r).path,c=s&&s.length,f=c<=1;return f?(u.id=null,u.path=[]):(u.id=s[c-2],u.path=s.slice(0,c-1)),u.id===null?u.type=h.TREETABLE:u.type=h.TREETABLE_ROW,a===m.REORDER.INSERT_BELOW&&o.isExpandable&&o.isExpanded&&(u.id=o.id),i={proxyNode:{id:u.id},type:u.type},i},getNextSiblingInfo:function(t){var r=t.hoverRowNode,o=r.nextElementSibling,a=o&&o.firstChild,i=o?h.TREETABLE_ROW:h.TREETABLE,u=y.getNodeInfo(a,i);return u.rowNode=o,u},getPreviousSiblingInfo:function(t){var r=t.hoverRowNode,o=r.previousElementSibling,a=o&&o.firstChild,i=o?h.TREETABLE_ROW:h.TREETABLE,u=y.getNodeInfo(a,i);return u.rowNode=o,u},isItNoOperationForBelowNode:function(t){var r=t.sourceIds,o=t.level,a=t.hoverRowNode,i=t.domNode,u=t.nextSibling,s=u.level,c=u.rowNode,f=a.classList.contains("mw-table-row-selected"),p=!!(c&&c.classList.contains("mw-table-row-selected")),v=r.length>1,g=f||s>=o&&p;return!!(i.classList.contains("mw-scrolling-div")||g&&!v)},getLinePositionBelowNode:function(t){var r={},o=!0;return n.isItNoOperationForBelowNode(t)||(d.isNextSiblingItsChild(t)?r=n.getLinePosition(t,{insertBeforeChild:o}):r=n.getLinePosition(t)),r},isItNoOperationForAboveNode:function(t){var r=t.sourceIds,o=t.level,a=t.hoverRowNode,i=t.domNode,u=t.previousSibling,s=u.level,c=u.rowNode,f=a.classList.contains("mw-table-row-selected"),p=!!(c&&c.classList.contains("mw-table-row-selected")),v=r.length>1,g=f||s<=o&&p;return!!(i.classList.contains("mw-scrolling-div")||g&&!v)},getLinePositionAboveNode:function(t){var r={};return n.isItNoOperationForAboveNode(t)||(r=n.getLinePosition(t)),r}};return n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(42),l(28),l(84),l(127)],C=l.dj.d(A,function(h,d,n,e){"use strict";var t=null,r=0,o=1,a=2,i="first",u="child",s=function(){function g(){m(this,g)}return y(g,null,[{key:"createTargetForOutsideSource",value:function(D,F,w){return function(R,T){var S=D.dropType,I=S===void 0?{}:S,B=I.reparentRows?void 0:h.ROW_REGIONS.ROWS,P=n.createDnDContext(R),L=g.getTargetRowValidation(D.canDrop,w,P,I),O=n.getRowOnDrop(D.onDrop,P),W=n.lifecycleAddOn(L,n.debounceCheckForDragOut(P,h.targetLifeCycle.ENTER,w)),j=n.lifecycleAddOn(function(Q,J,Y){return n.removeRowTargetStyle(Q,J,Y,h.targetLifeCycle.LEAVE)},n.debounceCheckForDragOut(P,h.targetLifeCycle.LEAVE,w)),K=n.debounceCheckForDragOut(P,h.targetLifeCycle.HOVER,w),H=n.lifecycleAddOn(O,function(){return n.removeInsertionLine(w)}),V={enter:W,hover:K,leave:j,drop:H},$=n.getRowTargetList(V,B,!0),G={targetList:$};return F(P,G,T)}}},{key:"getTargetRowValidation",value:function(D,F,w,x){return function(T,S,I){var B=g.getTreeRowTargetInfo(S,I);g.expandTreenode(w,B);var P=B.place==="insertion",L=n.getContextCacheInfo(w,"targetInfo",B,P),O=L.proxyNode,W=L.type,j={proxyNode:O,type:W},K=D({dataTransferItem:T,target:j});return K===null||(K=n.getContextCacheInfo(w,"validation",K,P),x.reorderRows&&!P&&g.setInsertionPosition(T,S,F,I,K)),K}}},{key:"setInsertionPosition",value:function(D,F,w,x,R){var T=c({dragItem:D,domNode:F,position:x,validation:R}),S=n.getHorizontalLineClassByValidation(R);return Object.assign(T,{lineClass:S,validation:R}),n.setDropPosition(T,w)}},{key:"expandTreenode",value:function(D,F){D.autoExpandTimer&&clearTimeout(D.autoExpandTimer),F&&F.place===u&&(D.autoExpandTimer=window.setTimeout(function(){e.expandNode(F.proxyNode)},h.AUTO_EXPAND_TIME))}},{key:"getTreeRowTargetInfo",value:function(D,F){if(n.isWhitespace(D))return{type:d.TREETABLE,proxyNode:{id:t},place:"last"};if(n.isInsertionLine(D))return{place:"insertion"};var w=D.firstChild.getAttribute("data-row");if(w==="0"&&F&&F.row===r)return{type:d.TREETABLE,proxyNode:{id:t},place:i};var x=p(D),R=x.expanded,T=R==="true",S=D.firstChild.getAttribute("data-row-id");if(F&&F.row===a&&T)return{proxyNode:{id:S},type:d.TREETABLE_ROW,place:i};if(F&&F.row===o)return{proxyNode:{id:S},type:d.TREETABLE_ROW,place:u};var I=f(e.getCurrentRowMetaData(w).path,S),B=I===t?d.TREETABLE:d.TREETABLE_ROW,P={id:S},L=F.row===r?"before":"after",O={id:I};return{proxyNode:O,type:B,place:L,node:P}}}]),g}();return s;function c(g){var E=g.dragItem,D=g.domNode,F=g.position,w=g.validation;if(n.isWhitespace(D))return{};var x=n.getVerticalPosition(E,D,F,a),R=x.top,T=x.targetPosition;if(T.middle)return w&&D.classList.add(h.ROW_VALID_HOVER),!w&&D.classList.add(h.ROW_INVALID_HOVER),{};n.removeRowTargetStyle(E,D,F);var S=v(D,F);return{top:R,maxMarginLeftForLevel:S}}function f(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],E=arguments[1];if(g.length<=1)return t;if(g[g.length-1]===E)return g[g.length-2]}function p(g){var E=g&&g.firstChild&&g.firstChild.getAttribute("aria-expanded")?g.firstChild.getAttribute("aria-expanded"):void 0;return{expanded:E}}function v(g,E){var D=Number(g.firstChild.getAttribute("data-level-index"))||0,F=p(g),w=F.expanded;w==="true"&&E&&E.row===a&&D++;var x=(D+1)*h.MARGIN_LEFT_FOR_ROOT;return Math.min(g.firstChild.firstChild.clientWidth,x)}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(299),l(307)],C=l.dj.d(A,function(y,m){"use strict";var h=m(y);return h},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function m(h,d){var n=[],e=!0,t=!1,r=void 0;try{for(var o=h[Symbol.iterator](),a;!(e=(a=o.next()).done)&&(n.push(a.value),!(d&&n.length===d));e=!0);}catch(i){t=!0,r=i}finally{try{!e&&o.return&&o.return()}finally{if(t)throw r}}return n}return function(h,d){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return m(h,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();A=[l(100),l(2)],C=l.dj.d(A,function(m,h){var d=function(e){var t=e.children,r=h.useState(!1),o=y(r,2),a=o[0],i=o[1],u=h.useState(""),s=y(u,2),c=s[0],f=s[1],p=h.useState(!1),v=y(p,2),g=v[0],E=v[1],D=h.useState(null),F=y(D,2),w=F[0],x=F[1],R=h.useState(null),T=y(R,2),S=T[0],I=T[1],B=h.useState({}),P=y(B,2),L=P[0],O=P[1],W={dndEnabled:a,setDnDEnabled:i,dndSourceData:c,setDnDSourceData:f,dndTarget:g,setDnDTarget:E,dndNode:w,setDndNode:x,scrollNode:S,setScrollNode:I,dragPositionState:L,setDragPositionStateState:O};return h.createElement(m.Provider,{value:W},t)};return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function d(n,e){var t=[],r=!0,o=!1,a=void 0;try{for(var i=n[Symbol.iterator](),u;!(r=(u=i.next()).done)&&(t.push(u.value),!(e&&t.length===e));r=!0);}catch(s){o=!0,a=s}finally{try{!r&&i.return&&i.return()}finally{if(o)throw a}}return t}return function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return d(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function(){function d(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,e,t){return e&&d(n.prototype,e),t&&d(n,t),n}}();function h(d,n){if(!(d instanceof n))throw new TypeError("Cannot call a class as a function")}A=[l(290),l(3),l(7)],C=l.dj.d(A,function(d,n,e){var t=function(){function r(o,a,i){h(this,r),this._pendingRender=null,this._render=this._triggerRender,this._viewModel=o,this._renderer=a,this._build=i,o.on("dataSizeChanged",this._dataSizeChanged.bind(this)),o.on("viewDataChanged",this._viewDataChanged.bind(this)),o.on("renderTypeChanged",this._renderTypeChanged.bind(this))}return m(r,[{key:"_renderTypeChanged",value:function(a){var i=a.type;switch(i){case d.ASYNC:this._render=this._requestRender;break;case d.SYNC:this._render=this._triggerRender;break;default:throw new Error("Incorrect render type provided: "+i)}}},{key:"_dataSizeChanged",value:function(){this._removeDirtyStates(),this._renderer.resize()}},{key:"_removeDirtyStates",value:function(){var a=this._viewModel.getStateByKey(n.protected.SORTED);if(a&&a.rangeList){var i=a.rangeList[0].columns.start;this._viewModel.clearSortState(e.range().setColumns(i,i))}}},{key:"_requestRender",value:function(){var a=this;this._pendingRender===null&&(this._pendingRender=window.requestAnimationFrame(function(){a._triggerRender(),a._pendingRender=null}))}},{key:"_triggerRender",value:function(){var a=this._build.buildTable(),i=y(a,2),u=i[0],s=i[1];this._renderer.render(u,s)}},{key:"_viewDataChanged",value:function(a){this.buffEnd=this._viewModel.viewBuffer.rangeList[0].rows.end,this._build.buildDataComponents(a),this._render()}}]),r}();return t},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(3),l(205)],C=l.dj.d(A,function(h,d){var n=function(){function e(t,r){m(this,e),this._container=document.createElement("div"),this._container.style.height="100%",this._container.style.width="100%",this._table=t,this._viewModel=r}return y(e,[{key:"mount",value:function(){return this._tableComponent=d.render(this._table,this._container),this.resize(),this._tableComponent}},{key:"render",value:function(r,o){var a=this._viewModel.getStateByKey(h.protected.EDIT_TRIGGER)?this._viewModel.getStateByKey(h.protected.EDIT_TRIGGER):null,i=this._viewModel.getStateByKey(h.protected.EDIT_STATE)?this._viewModel.getStateByKey(h.protected.EDIT_STATE).value:!1,u=this._viewModel.getStateByKey(h.protected.EDIT_PROCESSING)?this._viewModel.getStateByKey(h.protected.EDIT_PROCESSING).value:!1;this._tableComponent&&this._tableComponent.setState({scrollComponent:r,header:o,editTrigger:a,editState:i,editProcessing:u})}},{key:"resize",value:function(){this._tableComponent._handleResize(this._container),this._tableComponent._handleResize(this._container)}},{key:"unmount",value:function(){d.unmountComponentAtNode(this._container),this._container.parentNode&&this._container.parentNode.removeChild(this._container),this._container=null,this._tableComponent=null}},{key:"domNode",get:function(){return this._container}}]),e}();return n},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(191),l(25),l(3)],C=l.dj.d(A,function(h,d,n){var e=function(){function t(r,o,a){var i=this;m(this,t),this._viewModel=r,this._adaptorList=o,this._viewModel.viewPortList=a,this._handlingUserInteraction=!1,this._triggerRender=!1,this._handleMetaDataUpdate=this._handleMetaDataUpdate.bind(this),this._handleMetaDataFlags=this._handleMetaDataFlags.bind(this),this.eventCallback=this.eventCallback.bind(this),this.throttledRender=h(d.renderUpdate,1e3/60),this.destroy=this.destroy.bind(this),r.on(n.REGISTRATION,function(){i.throttledRender(i._viewModel)}),r.on(n.protected.SELECTED,this._handleMetaDataUpdate),r.on(n.protected.FOCUSED,this._handleMetaDataUpdate),r.on(n.protected.SORTED,this._handleMetaDataUpdate),r.on(n.protected.EDIT_STATE,this._handleMetaDataUpdate),r.on(n.protected.COL_EDIT_STATE,this._handleMetaDataUpdate),r.on(n.protected.ROW_HEADER_EDIT_STATE,this._handleMetaDataUpdate),r.on(n.protected.ROW_HEIGHT,this._handleMetaDataUpdate),r.on(n.protected.COL_WIDTH,this._handleMetaDataUpdate),r.on(n.protected.EDIT_VALIDATION,this._handleMetaDataUpdate),r.on(n.protected.EDIT_PROCESSING,this._handleMetaDataUpdate),r.on(n.COLUMN_RESIZED,this._handleMetaDataFlags),r.on(n.protected.COLUMN_CONFIG,this._handleMetaDataFlags),r.on(n.TABLE_DISABLED,this._handleMetaDataUpdate),r.on(n.HIDE_COLUMN_HEADER,this._handleMetaDataUpdate)}return y(t,[{key:"_handleMetaDataFlags",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};o.value===!0&&this._handleMetaDataUpdate(o)}},{key:"_handleMetaDataUpdate",value:function(){this._handlingUserInteraction?this._triggerRender=!0:this.throttledRender(this._viewModel)}},{key:"destroy",value:function(){this.throttledRender.cancel()}},{key:"eventCallback",value:function(o,a){a=a||{},this._handlingUserInteraction=!0,this._adaptorList.handleEvent(o,{dataSize:this._viewModel.dataSize,viewPort:this._viewModel.viewPort,event:a});var i=this._viewModel.getStateByKey("scrollPositionChanged")||{value:!1};this._triggerRender&&!i.value&&this.throttledRender(this._viewModel),this._triggerRender=!1,this._viewModel.setState("scrollPositionChanged",!1),this._handlingUserInteraction=!1}}]),t}();return e},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(309)],C=l.dj.d(A,function(h){var d=function(){function n(e){m(this,n),this._viewModel=e}return y(n,[{key:"numRows",get:function(){var t=this;return function(){return t._viewModel.dataSize.rows.count}}},{key:"numColumns",get:function(){var t=this;return function(){return t._viewModel.dataSize.columns.count}}}]),n}();return d},_,M),_.exports=C},function(_,M,l){var A,C,y=function(){function h(d,n){for(var e=0;e<n.length;e++){var t=n[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(d,t.key,t)}}return function(d,n,e){return n&&h(d.prototype,n),e&&h(d,e),d}}();function m(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}A=[l(309),l(275),l(19),l(22),l(96),l(3),l(79),l(7),l(25)],C=l.dj.d(A,function(h,d,n,e,t,r,o,a,i){var u=function(){function s(c){var f=c.viewModel,p=c.dataSize;m(this,s),this._dataSize=p,this._viewModel=f,this.getBufferedViewPort=this.getBufferedViewPort.bind(this),this._viewModel.setState(r.TABLE_AFFORDANCE_WIDTH,h.from(function(){return 0})),this._viewModel.setState("headerRow",[]),this._viewModel.setState("scrollPositionChanged",!1),this._size=new t(this._viewModel),this._containerWidth=null}return y(s,[{key:"getFirstVisibleRow",value:function(){return 0}},{key:"getLastVisibleRow",value:function(){return 0}},{key:"getVisibleRowCount",value:function(){return 0}},{key:"getFirstVisibleColumn",value:function(){return 0}},{key:"getLastVisibleColumn",value:function(){return 0}},{key:"getVisibleColumnCount",value:function(){return 0}},{key:"getFirstBufferedRow",value:function(){return 0}},{key:"getLastBufferedRow",value:function(){return 0}},{key:"getFirstBufferedColumn",value:function(){return 0}},{key:"getLastBufferedColumn",value:function(){return 0}},{key:"_maxColIndex",value:function(){var f=this._viewModel.getColumnCount();return f-1}},{key:"getViewPort",value:function(f){return a.range().setRows(this.getFirstVisibleRow(),this.getLastVisibleRow()).setColumns(this.getFirstVisibleColumn(),this.getLastVisibleColumn(f))}},{key:"isCollapseColumn",value:function(){var f=this._viewModel.getStateByKey(r.colResize);return f?f.value[r.protected.COLLAPSE_COLUMN]:!1}},{key:"getBufferedViewPort",value:function(f){var p=this.getFirstBufferedColumn(),v=this.getLastBufferedColumn(f),g=this._viewModel.getColumnCount();if(o.notEnoughColumnsToPage(g)&&(p=0,v=this._maxColIndex()),this.isCollapseColumn()){f?this._containerWidth=f:f=this._containerWidth;var E=this.getFirstVisibleColumn(),D=this._getActualLastColumnVisible(E,f),F=this._getActualLastBufferedColumn(D),w=Math.max(v,F);v=w}var x=this.getLastBufferedRow();return i.isColumnHeaderHidden(this._viewModel)&&!!this._viewModel.getSpanningHeaders()&&(x=Math.min(this._dataSize.numRows()-1,x+this._getNumAdditionalBufferRows())),a.range().setRows(this.getFirstBufferedRow(),x).setColumns(p,v)}},{key:"_getActualLastBufferedColumn",value:function(f){var p=f+e.buffers.COL_OVERSCAN,v=this._maxColIndex();return Math.min(p,v)}},{key:"_getNumAdditionalBufferRows",value:function(){var f=this._viewModel.getSpanningHeaders(),p=0,v=1;return Object.values(f).forEach(function(g){for(;g.parentId;)v+=1,g=f[g.parentId];v>p&&(p=v),v=1}),p+1}},{key:"_getUnifiedColWidth",value:function(f,p){var v=-1,g=null;try{f&&f[0]&&f[0](p)&&(g=f[0](p).value)}catch(E){g=null}return g&&(g.styleData&&g.styleData.hasOwnProperty("maxWidth")&&(v=g.styleData.maxWidth),g.width&&g.width.hasOwnProperty("value")&&(v=g.width.value)),v}},{key:"_getHeaderColWidth",value:function(f,p){var v=f&&f[p]&&f[p].width&&f[p].width.hasOwnProperty("value")?f[p].width.value:-1;return v=Number.isInteger(v)?v:-1,v}},{key:"_getActualLastColumnVisible",value:function(f,p){var v=this._maxColIndex();if(!p)return-1;var g=this._viewModel.getColumnHeaders(),E=null,D=this._viewModel.getStateByKey("viewBuffer");D&&(E=this._viewModel.getColumnMetaDataUnified());for(var F=this._size.COL_WIDTH,w=0,x=v,R=f;R<=v;R++){var T=F,S=this._getHeaderColWidth(g,R),I=this._getUnifiedColWidth(E,R);if(I>-1?T=I:S>-1&&(T=S),w+=T,w>p){x=R;break}}return x}},{key:"setScrollTop",value:function(f){}},{key:"getScrollTop",value:function(){return 0}},{key:"getScrollLeft",value:function(){return 0}},{key:"getWidth",value:function(){return 0}},{key:"getHeight",value:function(){return 0}},{key:"setContainer",value:function(f){var p=this;this._viewModel.setState(r.VIEWPORT_CONTAINER,f);var v=n.curry(d.sum)(e.buffers.ROW_OVERSCAN*-1),g=n.curry(d.sum)(e.buffers.COL_OVERSCAN*-1),E=n.curry(d.sum)(e.buffers.ROW_OVERSCAN),D=n.curry(d.sum)(e.buffers.COL_OVERSCAN),F=h.from(function(){return f.clientHeight}),w=h.from(function(){return f.clientWidth}),x=h.from(function(){return f.scrollLeft}),R=h.from(function(){return f.scrollTop}),T=function(){return p._viewModel.getColumnCount()};this.getScrollTop=function(){return R.run()},this.getScrollLeft=function(){return x.run()},this.getWidth=function(){return w.run()},this.getHeight=function(){return F.run()},this.getBoundingRect=function(){return f.getBoundingClientRect()},this._viewModel.setState(r.TABLE_AFFORDANCE_WIDTH,h.from(function(){return f.offsetWidth-f.clientWidth}));var S=n.curry(d.max2)(0),I=function(J){J=J||e.ZERO_WIDTH_COLS;var Y=p._maxColIndex();return Math.max(Math.min(Y,J),-1)},B=function(J){J=J||e.ZERO_WIDTH_COLS;var Y=T();return Math.max(Math.min(Y,J),-1)},P=function(J){return Math.max(d.min2(J,p._dataSize.numRows()-1),-1)},L=function(J){return Math.max(d.min2(J,p._dataSize.numRows()),0)||e.ZERO_HEIGHT_ROWS},O=function(){var J=n.curry(d.calculateFirstVisible)(p._size.ROW_HEIGHT);return R.map(J).run()},W=function(){var J=n.curry(d.calculateFirstVisible)(p._size.COL_WIDTH);return x.map(J).run()},j=function(J,Y){for(var X=p.getHeight(),Z=0,q=0,ee=!1,re=void 0,he=Object.keys(J).sort(function(ve,Se){return ve-Se}),me=he.length-1;me>=0;me-=1)if(Z=Number(he[me]),re=J[Z].height,Z<=Y&&(q+=re),q>=X){ee=!0;break}if(ee){var se=Y-(Z-1),te=q-X;return se=se-Math.ceil(te/re),se}var oe=X-q,ue=Math.floor(oe/re),ce=Y+1-(Z-ue);return ce},K=function(J,Y){for(var X=p.getHeight(),Z=0,q=0,ee=!1,re=void 0,he=Object.keys(J).sort(function(ve,Se){return ve-Se}),me=0;me<he.length;me++)if(Z=Number(he[me]),re=J[Z].height,Z>=Y&&(q+=re),q>=X){ee=!0;break}if(ee){var se=Z-Y+1,te=q-X;return se=se-Math.ceil(te/re),se}var oe=X-q,ue=Math.floor(oe/re),ce=Z+ue+1-Y;return ce};this.getVisibleColumnCount=function(Q){var J=Q?h.from(function(){return Q}):w,Y=n.curry(d.roundedDivision)(p._size.COL_WIDTH);return J.map(Y).chain(B)},this.getVisibleRowCount=function(){var Q=n.curry(d.roundedDivision)(p._size.ROW_HEIGHT);return F.map(Q).chain(L)};var H=n.fork(d.calculateMaxFirstVisible,T,this.getVisibleColumnCount),V=function(J){return n.fork(d.calcVisible,W,p.getVisibleColumnCount)(J)},$=n.fork(d.calculateMaxFirstVisible,this._dataSize.numRows,this.getVisibleRowCount),G=n.fork(d.calcVisible,O,this.getVisibleRowCount);this.getLastVisibleColumn=function(Q){return n.compose(I,V)(Q)},this.getLastVisibleRow=n.compose(P,G),this.getFirstVisibleColumn=n.compose(function(Q){return Math.min(W(),Q)},H),this.getPreviousViewPortCount=j,this.getNextViewPortCount=K,this.getFirstVisibleRow=n.compose(function(Q){return Math.min(O(),Q)},$),this.getFirstBufferedColumn=n.compose(S,g,this.getFirstVisibleColumn),this.getFirstBufferedRow=n.compose(S,v,this.getFirstVisibleRow),this.getLastBufferedRow=n.compose(P,E,this.getLastVisibleRow),this.getLastBufferedColumn=function(Q){return n.compose(I,D,p.getLastVisibleColumn)(Q)},this.setScrollRightPx=function(Q,J,Y){p._viewModel.setState("LastScrollColumn",J),p._viewModel.setState("LastScrollColumnFn",Y);var X=f.scrollLeft;f.scrollLeft=Q,p._viewModel.setState("scrollPositionChanged",X!==f.scrollLeft)},this.setScrollLeftPx=function(Q){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;p._viewModel.deleteState("LastScrollColumn"),p._viewModel.deleteState("LastScrollColumnFn");var Y=f.scrollLeft,X=!0;f.scrollLeft=Q,Y===f.scrollLeft&&(X=!1),p._viewModel.getStateByKey("scrollPositionChanged").value!==!0&&p._viewModel.setState("scrollPositionChanged",Y!==f.scrollLeft);var Z=f.scrollWidth-f.clientWidth;return!J&&Q>Z&&(p._viewModel.setState("LastScrollColumn",Q/p._size.COL_WIDTH),p._viewModel.setState("LastScrollColumnFn",function(){return Q})),X},this.setScrollTopPx=function(Q){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;p._viewModel.deleteState("LastScrollRow"),p._viewModel.deleteState("LastScrollRowFn");var Y=f.scrollTop,X=!0;f.scrollTop=Q,Y===f.scrollTop&&(X=!1),p._viewModel.getStateByKey("scrollPositionChanged").value!==!0&&p._viewModel.setState("scrollPositionChanged",Y!==f.scrollTop);var Z=f.scrollHeight-f.clientHeight;return!J&&Q>Z&&(p._viewModel.setState("LastScrollRow",Q/p._size.ROW_HEIGHT),p._viewModel.setState("LastScrollRowFn",function(){return Q})),X},this.setScrollBottomPx=function(Q,J,Y){p._viewModel.setState("LastScrollRow",J),p._viewModel.setState("LastScrollRowFn",Y);var X=f.scrollTop;f.scrollTop=Q,p._viewModel.setState("scrollPositionChanged",X!==f.scrollTop)},this.getScrollComponentDimensions=function(){var Q=f.scrollHeight,J=f.scrollWidth,Y=f.scrollTop,X=f.scrollLeft,Z=f.clientWidth,q=f.clientHeight;return{scrollHeight:Q,scrollWidth:J,scrollTop:Y,scrollLeft:X,clientWidth:Z,clientHeight:q}}}}]),s}();return u},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(10),l(11),l(780),l(781),l(41)],C=l.dj.d(A,function(y,m,h,d,n){return function(e){const t=y.create("div",{class:"navigator"}),r=y.create("div",{class:"nav-row"},t);f(r);const o=p(e);y.place(o,r);const a=h(e);y.place(a.domNode,r);const i=d(e);y.place(i.domNode,r);const u=e.config;y.place(u.domNode,r);const s=i.resultGroup;return y.place(s,t),{domNode:t,refresh:c};function c(){a.refresh(),i.refresh(),e.highlightor.inHighlight?m.add(t,"inHighlight"):m.remove(t,"inHighlight");const v=document.getElementById("Back"),g=document.getElementById("Forward"),E=e.history.get(),D=E.id,F=E.stack;F[D-1]?m.add(v,"enabled"):v&&m.remove(v,"enabled"),D<F.length-1?m.add(g,"enabled"):g&&m.remove(g,"enabled")}function f(v){y.create("button",{id:"OpenFile",class:"open-button",title:"Open files",onclick:function(){n.publish({action:"openFiles"})}},v),y.create("button",{id:"OpenFolder",class:"open-button",title:"Open folder",onclick:function(){n.publish({action:"openFolder"})}},v)}function p(v){const g=y.create("div",{id:"NavGroup"});return y.create("div",{id:"Back",class:"nav-button",onclick:function(){v.back()}},g),y.create("div",{id:"Forward",class:"nav-button",onclick:function(){v.forward()}},g),g}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(10),l(11),l(27)],C=l.dj.d(A,function(y,m,h){return function(d){const n=y.create("div",{id:"FileSelector",class:"file-selector",tabIndex:0,onblur:f}),e=y.create("div",{class:"top",onmousedown:c},n),t=y.create("div",{class:"list"},n);let r=!1;return document.addEventListener("keydown",function(v){v.isComposing||v.keyCode===229||(v.ctrlKey||v.metaKey)&&v.key==="l"&&c()}),n.addEventListener("keydown",function(v){if(v.isComposing||v.keyCode===229||!r)return;let g;switch(v.key){case"Escape":f();break;case"Enter":const E=n.querySelector(".list .item.file.preselect");if(E){const D=E.getAttribute("filename");u(D),f()}break;case"ArrowUp":g=n.querySelectorAll(".list .item.file"),p(g,-1);break;case"ArrowDown":g=n.querySelectorAll(".list .item.file"),p(g,1);break;default:console.log("other key: ",v.key)}}),{domNode:n,refresh:a};function a(){const v=d.data,g=v.files.data;if(g.length===0)return;const E=[],D={};g.forEach(function(T){const S=T.group;D[S]||(D[S]=!0,E.push({name:S,disp:T.groupDisplay,type:"group"})),E.push({name:T.name,hlcount:T.hlcount,type:"file"})}),d.highlightor.inHighlight?(m.add(n,"inHighlight"),E.filter(function(T){return T.type==="file"}).forEach(function(T){d.config.showComments?T.hits=T.hlcount.full:T.hits=T.hlcount.filter})):m.remove(n,"inHighlight");const w=E.map(i),x=v.currentFile,R=E.filter(function(T){return T.type==="file"&&T.name===x})[0];s(R),t.innerHTML="",w.forEach(function(T){t.appendChild(T)})}function i(v,g){const E=v.type,D=y.create("div",{class:"item "+E});D.setAttribute("filename",v.name),d.data.currentFile===v.name&&(m.add(D,"current"),m.add(D,"preselect")),g&&E==="file"&&(D.onmousedown=function(R){const T=v.name;u(T)});const w=y.create("div",{class:"text"},D);E==="group"?w.textContent=v.disp:w.textContent=v.name;const x=y.create("div",{class:"hits",textContent:"("+v.hits+")"},D);return v.hits===0&&m.add(x,"zero"),D}function u(v){const g=d.highlightor;if(g.inHighlight){const E=g.getResults();let D=null;E.some(function(F){if(F.file===v)return D=F,!0}),D&&g.setCurrent(D)}d.show(v)}function s(v){const g=i(v,!1),E=y.create("div",{class:"selector-button"});e.innerHTML="",e.appendChild(g),e.appendChild(E)}function c(){if(h.publish("expandConfig",!1),n.focus(),r=!r,r){m.add(n,"expand"),t.querySelectorAll(".preselect").forEach(function(E){m.remove(E,"preselect")});const g=t.querySelector(".current");g&&(g.scrollIntoViewIfNeeded(),m.add(g,"preselect"))}else m.remove(n,"expand")}function f(){m.remove(n,"expand"),r=!1}function p(v,g){let E=-1;const D=v.length;for(let w=0;w<D;w++)if(v[w].classList.contains("preselect")){E=w;break}E===-1&&console.error("no preselect");let F=E+g;F<0&&(F=0),F>=D&&(F=D-1),v[E].classList.remove("preselect"),v[F].classList.add("preselect"),v[F].scrollIntoViewIfNeeded(!1)}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(1),l(10),l(11),l(14),l(27),l(56),l(252),l(37),l(50),l(41),l(38)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i){return function(u){let s=null;const c=m.create("div",{class:"search-group"}),f=m.create("div",{class:"input-group"},c),p=m.create("div",{class:"result-group"}),v=m.create("div",{class:"search-list"},c),g=y([t]),E=new g({id:"SearchList",renderRow:I,keepScrollPosition:!0,query:function(j){return!window.cr.traceConfig.tokenLevelTrace&&j.type==="blk"?!1:j.show}});u.searchList=E,m.place(E.domNode,v),E.startup(),m.create("label",{class:"search-icon search-item square",for:"SearchInput"},f);const D=m.create("input",{id:"SearchInput",class:"search-input search-item",type:"search",placeholder:o.getString("SimulinkCoderApp:report:Search"),oninput:function(j){const K=j.target.value;P(K)},onkeypress:function(j){const K=j.target,H=K.value;j.key==="Enter"?H?L(H):O():j.key==="Escape"&&(j.stopPropagation(),H||K.blur())},onblur:function(){h.remove(v,"show")},onfocus:function(j){n.publish("expandConfig",!1),B()}},f);n.subscribe("closeSearchList",function(){h.remove(v,"show")});const F=m.create("div",{class:"hl-text search-item"},p),w=m.create("div",{class:"search-text search-item"},p),x=m.create("div",{class:"search-result search-item",onclick:function(){n.publish("expandConfig",!1);const j=u.highlightor;if(j.inHighlight){const K=j.getCurrent();K&&u.show(K.file,K.line,!0)}}},p),R=m.create("div",{class:"search-nav-previous search-item square button",onclick:function(){if(n.publish("expandConfig",!1),!this.classList.contains("disabled")){const K=u.highlightor;K.pre();const H=K.getCurrent();H&&u.show(H.file)}}},p),T=m.create("div",{class:"search-nav-next search-item square button",onclick:function(j){if(n.publish("expandConfig",!1),!this.classList.contains("disabled")){const H=u.highlightor;H.next();const V=H.getCurrent();V&&u.show(V.file)}}},p);return m.create("div",{class:"search-overview search-item square button",onclick:function(){n.publish("expandConfig",!1),console.log("overview")}},p),m.create("div",{class:"search-clear search-item square button",onclick:function(){n.publish("expandConfig",!1),O()}},p),document.addEventListener("keydown",function(j){j.isComposing||j.keyCode===229||(j.ctrlKey||j.metaKey?j.key==="f"?D.focus():j.key==="n"?u.highlightor.inHighlight&&T.click():j.key==="p"&&u.highlightor.inHighlight&&R.click():j.key==="Escape"&&u.highlightor.inHighlight&&O())}),{domNode:c,resultGroup:p,refresh:W};function I(j){const K=m.create("div",{class:"row"}),H=m.create("div",{class:"typedef"},K),V=m.create("div",{class:"text"},K);return V.innerHTML=r.highlightText(j.text,s),H.setAttribute("type",j.type),j.type==="blk"&&!j.traceable&&h.add(K,"eb"),K.onmousedown=function(){L(j)},K}function B(){if(D.value){const K=E.store.data.filter(function(H){return H.show}).length;if(K>0){const H=K*30+1;d.set(v,"height",H+"px"),h.add(v,"show")}else h.remove(v,"show")}else d.set(v,"height","50vh"),h.add(v,"show");E.refresh()}function P(j){const K=j.trim(),H=E.store.data;if(K)try{s=new RegExp(j.trim(),"gi"),H.forEach(function(V){V.show=V.text.search(s)!==-1})}catch(V){}else s=null,H.forEach(function(V){V.show=!0});B(),E.refresh()}function L(j){const K=u.highlightor;typeof j=="string"?K.byString(j):j.type==="blk"?K.byModel(j):K.byToken(j);const H=K.getCurrent();H?u.show(H.file):u.refresh(),D.blur()}function O(){u.highlightor.clear(),u.refresh(),D.blur()}function W(){E.store!==u.data.types&&(E.store=u.data.types,E.store.data.forEach(function(K){K.show=!0}));const j=u.highlightor;if(j.inHighlight){h.remove(p,"eb"),h.remove(p,"plain");const K=j.input,H=j.mode,V=j.getResults().length;if(H==="diff")h.add(p,"plain"),w.textContent=o.getString("SimulinkCoderApp:report:HL_LineUpdate");else if(H==="external")h.add(p,"plain"),w.textContent=j.input;else if(Array.isArray(K)){h.add(p,"plain");const $=o.getString("SimulinkCoderApp:report:HL_SelectedBlk");w.innerHTML=e.substitute($,['<span class="num">'+K.length+"</span>"])}else{const $=r.createUnit(K);if(m.place($,w,"only"),F.textContent=o.getString("SimulinkCoderApp:report:Highlighting")+": ",K.type==="blk"&&V===0){const G="simulinkcoder.internal.util.getReason",Q=i.build,J=K.sid,Y=K.text;r.mvm.feval(G,1,[Q,J,Y]).then(([X])=>{if(!X)return;const Z=o.getString(X);if(!Z)return;const q=/'\$\{0\}'/;w.innerHTML=Z.replace(q,'<span class="typedef" type="blk"></span>');const ee=w.querySelector("span");ee.textContent=K.text;const re=K.sid;re&&(ee.onclick=function(he){he.stopPropagation(),a.publish({action:"blk2mdl",sids:[re]})}),F.innerHTML="",h.add(p,"eb")})}}V===0?x.innerText=0:x.innerText=j.getIndex()+1+" / "+V,V<=1?(h.add(R,"disabled"),h.add(T,"disabled")):(h.remove(R,"disabled"),h.remove(T,"disabled"))}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(167),l(4),l(10),l(11),l(14),l(9),l(37),l(50),l(38)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){return function(a){const i=new y,u=new y;let s=null;const c={bySids:T,byModel:R,byToken:I,byString:B,byDiff:P,byExternalInput:L,byRecord:S,byMLFB:O,clear:f,updateCurrent:g,getCurrent:p,setCurrent:v,getResults:D,getIndex:F,next:w,pre:x,addStyle:K,reg:null,input:null,inHighlight:!1,mode:""};return c;function f(){i.setData([]),s=null,c.inHighlight=!1,c.mode="",c.input=null,c.reg=null;const H=a.data;H&&H.files.data.forEach(function(V){V.codeList.forEach(function(G){G.hlcache=[]});let $=V.codeList.firstTk;for(;$;)$.hl_hint=0,$=$.next})}function p(){return c.inHighlight?s:null}function v(H){s=H}function g(){if(c.inHighlight){if(a.config.showComments)s||(s=i.data[0]);else if(u.data.length>0){let $=i.index[s.id];const G=i.data,Q=G.length;for(;!s.isCode;)$++,$>=Q&&($=0),s=G[$]}}}function E(){return a.config.showComments?i:u}function D(){return E().data}function F(){return s?E().index[s.id]:-1}function w(){const H=E(),V=H.data,$=V.length;let G=H.index[s.id];G++,G>=$&&(G=0),s=V[G]}function x(){const H=E(),V=H.data,$=V.length;let G=H.index[s.id];G--,G<0&&(G=$-1),s=V[G]}function R(H){const V=H.text,$="search model: "+V;console.time($),f();const G=H.sid,Q=a.data;let J=[];o.component&&o.component==="HDL"&&a.data.traceStyle==="Line Level"?J=Q.queryLinesBySid(G):J=Q.queryBySid(G);const Y={},X=J.filter(function(Z){const q=Z.file+":"+Z.line;if(!Y.hasOwnProperty(q))return Y[q]=!0,!0}).map(function(Z){const q=Z.file,ee=Z.line;return{id:q+":"+ee,file:q,line:ee}});J.forEach(function(Z){Z.hl_hint=1}),W(X),c.inHighlight=!0,c.input=H,c.mode="model",console.timeEnd($)}function T(H){const V="model to code";console.time(V),f();const $=a.data,G=$.types,Q=H.map(function(Z){return G.queryBySid(Z)}).filter(function(Z){return Z});if(Q.length===0){console.timeEnd(V);return}const J=$.queryBySid(H),Y={},X=J.filter(function(Z){const q=Z.file+":"+Z.line;if(!Y.hasOwnProperty(q))return Y[q]=!0,!0}).map(function(Z){const q=Z.file,ee=Z.line;return{id:q+":"+ee,file:q,line:ee}});J.forEach(function(Z){H.some(ee=>Z.sid.has(ee))?Z.hl_hint=1:Z.hl_hint=2}),W(X),c.inHighlight=!0,c.input=Q.length>1?Q:Q[0],c.mode="model",console.timeEnd(V)}function S(H){const V="record to code";console.time(V),f();const G=H.tokens.map(Y=>{const X=a.data.files.get(Y.file);if(X){const Z=X.codeList[Y.line-1];if(Z)return Z.tokens.find(ee=>ee.col===Y.col)}}).filter(Y=>Y),Q={},J=G.filter(function(Y){const X=Y.file+":"+Y.line;if(!Q.hasOwnProperty(X))return Q[X]=!0,!0}).map(function(Y){const X=Y.file,Z=Y.line;return{id:X+":"+Z,file:X,line:Z}});G.forEach(function(Y){Y.hl_hint=1}),W(J),c.inHighlight=!0,c.input=H.sid,c.mode="model",console.timeEnd(V)}function I(H){const V=H.token,$=V.token,G="search token: "+$;console.time(G),f();const Q=V.usage;W(Q),s=V,c.inHighlight=!0,c.mode="token",c.input=H,console.timeEnd(G)}function B(H){const V="search string: "+H;console.time(V),f();const $=H.trim(),G=new RegExp($,"gi");c.reg=G;const Q=[];a.data.files.data.forEach(function(Y){const X=Y.name;Y.codeList.forEach(function(Z){const q=Z.id,ee=Z.rawCode,re=Z.cutoff;let he;do if(he=G.exec(ee),he){const me=he.index,se=G.lastIndex;if(me>=se)return;const te=X+":"+q+"c"+me;Q.push({id:te,file:X,line:q,loc:[me,se],isCode:me<re})}while(he)})}),W(Q,"string"),c.inHighlight=!0,c.mode="string",c.input=$,console.timeEnd(V)}function P(H){console.time("diff"),f();const V=a.data,$=[];V.files.data.forEach(function(G){const Q=G.name,J=H.files.get(Q);if(J){const Y=G.codeList,X=J.codeList;Y.forEach(function(Z){const q=Z.rawCode.trim();if(q&&!X.some(function(re){return q===re.rawCode.trim()})){const re=Z.id;$.push({id:Q+":"+re,file:Q,line:re})}})}}),W($),c.inHighlight=!0,c.mode="diff",c.input="Code update",console.timeEnd("diff")}function L(H){f();const V=H.title;let $=H.data;$=Array.isArray($)?$:[$],$.forEach(function(G){G.id=G.file+":"+G.line,G.loc&&(G.id=G.id+"c"+G.loc[0])}),W($,"external"),c.inHighlight=!0,c.mode="external",c.input=V}function O(H){const V=H.sid,$=H.data.index,Q=[...a.data.records.values()].filter(Z=>{const q=Z.sid;if(!q||q.size===0)return!1;for(const ee of q){const re=ee.lastIndexOf(":");if(ee.slice(0,re)===V){const me=ee.slice(re+1),[se,te]=me.split("-").map(oe=>parseInt(oe));if(se<=$&&$<=te)return!0}}return!1});let J=H.blockPath;H.type!=="EMChart"&&(J+="/"+H.blockName);const Y=H.data.pos;J+=` Ln:${Y.line}, Col:${Y.column}`;const X={sid:J,tokens:Q};this.byRecord(X)}function W(H,V){V==="external"&&(H=H.filter(function(re){const me=a.data.files.get(re.file),se=me.codeList[re.line-1];return me.codeList.length>re.line&&!!se&&!!se.rawCode})),V!=="string"&&H.forEach(function(re){re.isCode=j(re.file,re.line)});const $=H.filter(function(re){return re.isCode});i.setData(H),u.setData($);const Q=a.config.showComments?H:$;s=Q[0];const J=a.data.currentFile,Y=Q.filter(function(re){return re.file===J}),X=a.code.grid,Z=X.getScrollPosition().y,q=Math.ceil(Z/X.rowHeight);Y.some(function(re){if(s=re,s.line>q)return!0});const ee=a.data.files;H.forEach(function(re){const he=re.file,me=re.line,se=ee.get(he);if(se){const te=se.codeList[me-1];te&&(te.hlcache?te.hlcache.push(re):te.hlcache=[re])}}),ee.data.forEach(function(re){const he=re.name,me=H.filter(function(te){return te.file===he}),se=$.filter(function(te){return te.file===he});re.hlcount={full:me.length,filter:se.length}})}function j(H,V){return a.data.files.get(H).codeList[V-1].isCodeLine}function K(H){const V=c;if(!V.inHighlight)return;const $=a.data.files,G=V.mode,Q=a.data.currentFile,J=parseInt(H.getAttribute("line")),X=$.get(Q).codeList[J-1].hlcache;if(G==="model"||G==="diff")X.length>0&&(d.add(H,"hl"),V.getCurrent()===X[0]&&d.add(H,"current"),H.querySelectorAll(".tk").forEach(function(q){const ee=q.id,re=a.data.records.get(ee);re&&re.hl_hint&&(d.add(q,"hl-hint"),q.setAttribute("hl-level",re.hl_hint))}));else if(G==="token"){const Z=H.querySelectorAll(".tk");e.forEach(Z,function(q){const ee=q.id,re=i.get(ee);re&&(d.add(q,"hl"),V.getCurrent()===re&&d.add(q,"current"))})}else if(G==="string"||G==="external"){const Z=X;if(Z.length===0)return;const q=V.getCurrent(),re=H.querySelector(".code-text").querySelectorAll("c");Z.forEach(function(he){if(he.loc){const me=he.loc[0],se=he.loc[1];for(let te=me;te<se;te++){const oe=re[te];d.add(oe,"hl"),he===q&&d.add(oe,"current")}}else d.add(H,"hl"),he===q&&d.add(H,"current")})}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(10),l(11),l(56),l(784),l(35),l(790),l(41),l(815),l(50),l(38),l(37)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i){return function(s){t.subscribe("highlight",function(v){const g=s.highlightor;if(v){g.byExternalInput(v);const E=g.getCurrent();E?s.show(E.file):s.refresh()}else g.clear(),s.refresh()}),t.subscribe("showFile",function({file:v,line:g,select:E}){s.show(v,g,E)}),a.readonly||(t.subscribe("m2c",function(v){const g=Array.isArray(v)?v:[v],E=s.highlightor;if(g.length>0){E.bySids(g);const D=E.getCurrent();D?s.show(D.file):s.refresh()}else E.clear(),s.refresh()}),t.subscribe("record2code",function(v){const g=s.highlightor;g.byRecord(v);const E=g.getCurrent();E?s.show(E.file):s.refresh()}),t.subscribe("mlfb2code",function(v){const g=s.highlightor;g.byMLFB(v);const E=g.getCurrent();E?s.show(E.file):s.refresh()}));const c=v=>{const g=v.message;if(g){const E=u(v);y.place(E,"ErrorPage","only"),s.data=null,a.build=a.model,m.add(s.domNode,"error")}else{m.remove(s.domNode,"error");const E=s.highlightor;E.clear(),s.code.file="";const D=s.data;s.data=r(v),a.build=s.data.build;const F=s.history;F.init();let w=!1;if(D){const R=D.currentFile;s.data.files.get(R)&&(s.data.currentFile=R,w=!0),D.build===s.data.build&&D.ref===s.data.ref&&E.byDiff(D)}const x=E.getCurrent();if(x)s.show(x.file);else if(E.clear(),w)s.refresh();else{const R=F.load();R?(s.gotoState(R),F.get().id--):s.show(null,1,!1)}}s.busy.hide(),p(f),t.publish({action:"CodeReady",file:s.data?s.data.currentFile:void 0,err:g})};t.subscribe("init",c);let f=null;function p(v){v&&v.closeProgressDialog&&v.closeProgressDialog()}t.subscribe("lock",function(v){p(f);const g=y.create("div",{textContent:v});let E="Loading ...";a.model&&(E=o.getString("SimulinkCoderApp:report:ProgressBarGenCode"),m.add(g,"typedef"),g.setAttribute("type","blk")),f=e.displayProgressDialog(E,g,{indeterminate:!0})}),t.subscribe("unlock",function(){p(f)}),t.subscribe("refresh",function(v){a.build=v.build,i.start()}),t.subscribe("switchModel",function(){i.start()}),s.loadData=c,t.publish({action:"ready"})};function u(s){const c=s.message,f=s.errorType,p=y.create("div",{class:"error-page"}),v=y.create("div",{class:"error-text"},p);v.innerText=c;const g=s.xil;if(g&&g.length!==0){y.create("div",{class:"error-suggest",textContent:"Generated code:"},p);const E=y.create("div",{id:"XIL",style:"padding: 8px"},p),D=y.create("table",{id:"XILTable"},E),F=y.create("tr",{},D);return y.create("th",{},F),y.create("th",{textContent:"Model Block"},F),g.forEach(w=>{const x=y.create("tr",{},D);y.create("td",{class:"xil-icon"},x);const R=y.create("td",{},x);y.create("a",{class:"xil-blk",innerHTML:w,href:`matlab:Simulink.BlockPath('${w}').open('Force', 'on')`},R)}),p}if(y.create("div",{class:"error-suggest",textContent:o.getString("SimulinkCoderApp:report:Suggest")},p),f==="STFMismatch"){const E=y.create("div",{class:"action"},p);y.create("div",{class:"name",textContent:o.getString("SimulinkCoderApp:report:GenerateCodeGroupName_STFMismatch")},E),y.create("div",{class:"text",textContent:o.getString("SimulinkCoderApp:report:GenerateCodeText_STFMismatch")},E)}else if(f==="HDLSubsystemUnpinned"){const E=y.create("div",{class:"action"},p);y.create("div",{class:"name",textContent:"Pin a subsystem"},E),y.create("div",{class:"text",textContent:'Select and pin a subsystem. Then click "View code" in the Review Results section on the HDL Code tab.'},E)}else{const E=y.create("div",{class:"action"},p);y.create("div",{class:"name",textContent:o.getString("SimulinkCoderApp:report:GenerateCodeGroupName")},E),y.create("div",{class:"text",textContent:o.getString("SimulinkCoderApp:report:GenerateCodeText")},E);const D=y.create("div",{class:"action"},p);y.create("div",{class:"name",textContent:o.getString("SimulinkCoderApp:report:ReloadCodeGroupName")},D);const F=o.getString("SimulinkCoderApp:report:ReloadBtnName");y.create("div",{class:"text",textContent:h.substitute(o.getString("SimulinkCoderApp:report:ReloadCodeText"),[F])},D);const w="ReloadBtn",x=y.create("div",{class:"btn-row"},D);let R=n.byId(w);R||(R=new d({id:w,label:F,class:"btn",onClick:function(){window.cr.busy.show(),t.publish({action:"start"})}}),R.startup()),y.place(R.domNode,x)}return p}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l.dj.c(_.i),l(1),l(11),l(8),l(6),l(0),l(73),l(785),l(787),l(788),l(789),l(138)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i){i.deprecated({deprecated:{module:"dijit/form/Button"},replacement:{module:"mw-form/PushButton"},geckNumber:1352405}),d("dijit-legacy-requires")&&t(0,function(){var s=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];y(s)});var u=m("dijit.form.Button"+(d("dojo-bidi")?"_NoBidi":""),[r,o],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:a,_setValueAttr:"valueNode",_setNameAttr:function(s){this.valueNode&&this.valueNode.setAttribute("name",s)},postCreate:function(){this.inherited(arguments),this._setLabelFromContainer()},_setLabelFromContainer:function(){this.containerNode&&!this.label&&(this.label=e.trim(this.containerNode.innerHTML),this.onLabelSet())},_setShowLabelAttr:function(s){this.containerNode&&h.toggle(this.containerNode,"dijitDisplayNone",!s),this._set("showLabel",s)},setLabel:function(s){n.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0"),this.set("label",s)},onLabelSet:function(){this.inherited(arguments),!this.showLabel&&!("title"in this.params)&&(this.titleNode.title=e.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});return d("dojo-bidi")&&(u=m("dijit.form.Button",u,{onLabelSet:function(){this.inherited(arguments),this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(s){this._created&&this.textDir!=s&&(this._set("textDir",s),this._setLabelAttr(this.label))}})),u},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(18),l(6),l(73),l(87),l(272),l(46),l(786)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){return m("dijit-legacy-requires")&&d(0,function(){var o=["dijit/form/_FormValueWidget"];require(o)}),y("dijit.form._FormWidget",[n,t,e,r],{setDisabled:function(o){h.deprecated("setDisabled("+o+") is deprecated. Use set('disabled',"+o+") instead.","","2.0"),this.set("disabled",o)},setValue:function(o){h.deprecated("dijit.form._FormWidget:setValue("+o+") is deprecated. Use set('value',"+o+") instead.","","2.0"),this.set("value",o)},getValue:function(){return h.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0"),this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!m("msapp")?'name="'+this.name.replace(/"/g,""")+'"':"",this.inherited(arguments)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(9),l(1),l(34),l(14),l(0),l(54),l(4),l(18),l(45),l(106)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a){return m("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,intermediateChanges:!1,scrollOnFocus:!0,_setIdAttr:"focusNode",_setDisabledAttr:function(i){if(this._set("disabled",i),/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)?(h.set(this.focusNode,"disabled",i),r("trident")&&"readOnly"in this&&h.set(this.focusNode,"readonly",i||this.readOnly)):this.focusNode.setAttribute("aria-disabled",i?"true":"false"),this.valueNode&&h.set(this.valueNode,"disabled",i),i){this._set("hovering",!1),this._set("active",!1);var u="tabIndex"in this.attributeMap?this.attributeMap.tabIndex:"_setTabIndexAttr"in this?this._setTabIndexAttr:"focusNode";y.forEach(n.isArray(u)?u:[u],function(s){var c=this[s];r("webkit")||a.hasDefaultTabStop(c)?c.setAttribute("tabIndex","-1"):c.removeAttribute("tabIndex")},this)}else this.tabIndex!=""&&this.set("tabIndex",this.tabIndex)},_onFocus:function(i){if(i=="mouse"&&this.isFocusable())var u=this.own(t(this.focusNode,"focus",function(){c.remove(),u.remove()}))[0],s=r("pointer-events")?"pointerup":r("MSPointer")?"MSPointerUp":r("touch-events")?"touchend, mouseup":"mouseup",c=this.own(t(this.ownerDocumentBody,s,n.hitch(this,function(f){c.remove(),u.remove(),this.focused&&(f.type=="touchend"?this.defer("focus"):this.focus())})))[0];this.scrollOnFocus&&this.defer(function(){o.scrollIntoView(this.domNode)}),this.inherited(arguments)},isFocusable:function(){return!this.disabled&&this.focusNode&&d.get(this.domNode,"display")!="none"},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(i){}},compare:function(i,u){return typeof i=="number"&&typeof u=="number"?isNaN(i)&&isNaN(u)?0:i-u:i>u?1:i<u?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(i,u){this._lastValueReported==null&&(u===null||!this._onChangeActive)&&(this._resetValue=this._lastValueReported=i),this._pendingOnChange=this._pendingOnChange||typeof i!=typeof this._lastValueReported||this.compare(i,this._lastValueReported)!=0,(this.intermediateChanges||u||u===void 0)&&this._pendingOnChange&&(this._lastValueReported=i,this._pendingOnChange=!1,this._onChangeActive&&(this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer(function(){this._onChangeHandle=null,this.onChange(i)})))},create:function(){this.inherited(arguments),this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&(this._onChangeHandle.remove(),this.onChange(this._lastValueReported)),this.inherited(arguments)}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(12),l(8),l(35)],C=l.dj.d(A,function(y,m,h,d){var n=y("dijit.form._ButtonMixin"+(h("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){return e.stopPropagation(),e.preventDefault(),this.disabled||this.valueNode.click(e),!1},_onClick:function(e){if(this.disabled)return e.stopPropagation(),e.preventDefault(),!1;this.onClick(e)===!1&&e.preventDefault();var t=e.defaultPrevented;if(!t&&this.type=="submit"&&!(this.valueNode||this.focusNode).form)for(var r=this.domNode;r.parentNode;r=r.parentNode){var o=d.byNode(r);if(o&&typeof o._onSubmit=="function"){o._onSubmit(e),e.preventDefault(),t=!0;break}}return!t},postCreate:function(){this.inherited(arguments),m.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(e){this._set("label",e);var t=this.containerNode||this.focusNode;t.innerHTML=e,this.onLabelSet()},onLabelSet:function(){}});return h("dojo-bidi")&&(n=y("dijit.form._ButtonMixin",n,{onLabelSet:function(){this.inherited(arguments);var e=this.containerNode||this.focusNode;this.applyTextDir(e)}})),n},_,M),_.exports=C},function(_,M){_.exports=`<span class="dijit dijitReset dijitInline" role="presentation"
|
||
><span class="dijitReset dijitInline dijitButtonNode"
|
||
data-dojo-attach-event="ondijitclick:__onClick" role="presentation"
|
||
><span class="dijitReset dijitStretch dijitButtonContents"
|
||
data-dojo-attach-point="titleNode,focusNode"
|
||
role="button" aria-labelledby="\${id}_label"
|
||
><span class="dijitReset dijitInline dijitIcon" data-dojo-attach-point="iconNode"></span
|
||
><span class="dijitReset dijitToggleButtonIconChar">●</span
|
||
><span class="dijitReset dijitInline dijitButtonText"
|
||
id="\${id}_label"
|
||
data-dojo-attach-point="containerNode"
|
||
></span
|
||
></span
|
||
></span
|
||
><input \${!nameAttrSetting} type="\${type}" value="\${value}" class="dijitOffScreen"
|
||
data-dojo-attach-event="onclick:_onClick"
|
||
tabIndex="-1" aria-hidden="true" data-dojo-attach-point="valueNode"
|
||
/></span>
|
||
`},function(_,M,l){var A,C;A=[l(26)],C=l.dj.d(A,function(y){var m={warn:function(d){console&&console.warn&&console.warn(d)},error:function(d){console&&console.error&&console.error(d)}},h={deprecated:function(d){var n,e,t=!!y.isDebug||!!window.showDeprecationsAsErrors;t&&this._isConfigValid(d)&&(e=!!window.showDeprecationsAsErrors||d.deprecationLevel===this.ERROR?this.ERROR:this.WARN,n="DEPRECATED: ",d.deprecated&&(n+=d.deprecated.module,d.deprecated.method&&(n+="."+d.deprecated.method+"()"),n+="."),d.replacement&&(n+=" Use "+d.replacement.module,d.replacement.method&&(n+="."+d.replacement.method+"()"),n+=" instead."),d.removalVersion&&(n+=" Will be removed in version: "+d.removalVersion+"."),d.geckNumber&&(n+=" Please use g"+d.geckNumber+" to track latest information regarding this deprecation"),d.additionalInformation&&(n+=" "+d.additionalInformation),m[e](n))},_isConfigValid:function(d){var n=!!d.deprecated&&typeof d.deprecated=="object"&&d.deprecated.hasOwnProperty("module");return d.replacement&&(n=n&&typeof d.replacement=="object"&&d.replacement.hasOwnProperty("module")),d.geckNumber&&(n=n&&typeof d.geckNumber=="number"),n||m.error("Supplied deprecationConfig properties are not valid. Please refer to http://inside.mathworks.com/wiki/Web_Widgets_Deprecation_API for right API"),n}};return Object.defineProperties(h,{WARN:{value:"warn",enumerable:!0},ERROR:{value:"error",enumerable:!0}}),h},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(21),l(6),l(144),l(45),l(791),l(794),l(796),l(799),l(312)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){var a={displayAlertDialog:function(u,s,c){var f="AlertDialog";c=c||{};var p=this._createIconAndMessageWidget(s,"error",c);this._setupIconAndMessageWidget(p);var v=[{type:o.OK.type,label:o.OK.label,"data-test-id":f+"Button1"}],g=c.closeCallback?c.closeCallback:function(){},E={eventName:f+"Closed",dialogTitle:u,response:1,buttonText:v[0].label},D=r.createDialog({title:u,content:p,dialogType:c.modal===!1?r.MODELESS:r.MODAL,buttons:v,draggable:!0,specifiedFocusItem:this._parseAndGetSpecifiedFocusedItem(c,v),"data-test-id":c["data-test-id"]?c["data-test-id"]:f,className:"mw"+f});return D.on("close",function(){g(E)}),D.addButtonEventListener(o.OK,null,!0),D},_createIconAndMessageWidget:function(u,s,c){var f=c.icon?c.icon:s,p=c.customIconAltText||"";return new n({message:u,icon:f,customIconAltText:p})},_setupIconAndMessageWidget:function(u){var s=d.getBox(),c=Math.max(80,Math.min(.4*s.h,300));u.messageNode.style.maxHeight=c+"px"},_resizeToFitOversizeButtons:function(u){parseInt(window.getComputedStyle(u.domNode).width)>400&&(u.domNode.querySelector(".mwDialogBody").style.maxWidth="none")},_parseAndGetSpecifiedFocusedItem:function(u,s){return isNaN(u.specifiedFocusItem)?u.specifiedFocusItem:s[u.specifiedFocusItem-1]},displayConfirmDialog:function(u,s,c){var f="ConfirmDialog";c=c||{};var p=this._createIconAndMessageWidget(s,"question",c);this._setupIconAndMessageWidget(p);var v=[],g=[o.TYPE.DO_IT,o.TYPE.DONT_DO_IT,o.TYPE.CANCEL,o.TYPE.APPLY,o.TYPE.REVERT];if(c.buttonText&&c.buttonText.length>=1)for(var E=0;E<c.buttonText.length&&E<5;E++)v.push({type:g[E],label:c.buttonText[E],"data-test-id":f+"Button"+(E+1)});else v=[{type:o.TYPE.DO_IT,label:o.OK.label,"data-test-id":f+"Button1"},{type:o.TYPE.CANCEL,label:o.CANCEL.label,"data-test-id":f+"Button2"}];var D=c.closeCallback?c.closeCallback:function(){},F={eventName:f+"Closed",dialogTitle:u,response:1,buttonText:v[0].label},w=c.defaultCancelButton<=v.length?c.defaultCancelButton:v.length,x=v[w-1].label,R=r.createDialog({title:u,dialogType:r.MODAL,content:p,buttons:v,draggable:!0,className:"mw"+f,"data-test-id":c["data-test-id"]?c["data-test-id"]:f,specifiedFocusItem:this._parseAndGetSpecifiedFocusedItem(c,v),defaultActionButton:c.defaultAcceptButton<=v.length?v[c.defaultAcceptButton-1]:v[0]});return R.on("close",function(){F.response=w,F.buttonText=x,D(F)}),v.forEach(function(T,S){R.addButtonEventListener(T,function(){w=S+1,x=T.label},!0)}),this._resizeToFitOversizeButtons(R),R},displayProgressDialog:function(u,s,c){var f="ProgressDialog";c=c||{};var p=c.className===void 0?"":" "+c.className,v='<div class="mwProgressDialogMessage" data-test-id="progress-message-node"></div><div class="mwProgressDialogProgressBar"></div>',g=this._createIconAndMessageWidget(v,"none",c),E=g.messageNode.children[1],D=g.messageNode.children[0];i(D,s);var F=new t({indeterminate:c.indeterminate===void 0?!1:c.indeterminate,value:c.value===void 0?0:c.value,color:c.color||c.colorStyle||"Info",showPercentage:c.showPercentage===void 0?!1:c.showPercentage,"data-test-id":f+"ProgressBar"});F.placeAt(E),F.startup(),F.resize({w:g.icon==="none"?360:317}),this._setupIconAndMessageWidget(g);var w=[],x=c.showCancelButton===void 0?!1:c.showCancelButton;x&&(w=[{type:o.CANCEL.type,label:c.cancelButtonText===void 0?o.CANCEL.label:c.cancelButtonText,"data-test-id":f+"Button1"}]);var R=r.createDialog({title:u,dialogType:r.MODAL,content:g,buttons:w,draggable:!0,closeOnEscape:x,hideCloseButton:!x,specifiedFocusItem:this._parseAndGetSpecifiedFocusedItem(c,w),className:"mw"+f+p,"data-test-id":c["data-test-id"]?c["data-test-id"]:f});if(x){var T={eventName:f+"Closed",dialogTitle:u,response:"cancel",buttonText:w[0].label,dialog:R},S=c.cancelCallback?c.cancelCallback:function(){},I=function(){S(T)};R.on("close",I),R.addButtonEventListener(o.CANCEL,I,!1),R._destroyCache=R.destroy,R.destroy=function(){},R.closeProgressDialog=function(){this.destroy=this._destroyCache,this.destroy()},R.disableCancelButton=function(){this.disableButton(w[0])},R.enableCancelButton=function(){this.enableButton(w[0])}}else R.closeProgressDialog=function(){this.destroy()};return R.progressBar=F,R.progressMessageNode=D,R.updateMessage=function(B){i(this.progressMessageNode,B)},R}},i=function(u,s){typeof s=="string"&&(u.style.whiteSpace="pre-wrap"),h.set(u,s,{parseContent:!0})};return a.displayAlertBanner=function(u,s,c){m.experimental("Notifications.displayAlertBanner");var f="AlertBanner";c=c||{};var p=this._createIconAndMessageWidget(s,"error",c),v=c.closeCallback?c.closeCallback:function(){},g={eventName:f+"Closed",dialogTitle:u,response:"closed"},E=new e({title:u,content:p,duration:c.duration?c.duration:4e3,class:"mw"+f,"data-test-id":c["data-test-id"]?c["data-test-id"]:f});return E.set("onHide",function(){v(g),E.destroyRecursive()}),E.placeAt(y.body()),E.startup(),E.show(),E},a},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(39),l(46),l(144),l(792)],C=l.dj.d(A,function(y,m,h,d,n){var e={error:n.errorIconAltText,warning:n.warningIconAltText,info:n.infoIconAltText,question:n.questionIconAltText,success:n.successIconAltText,none:""};return y([m,h],{templateString:'<div class="${baseClass}"><img class="${baseClass}Icon" src="" draggable="false" ondragstart="return false;" data-dojo-attach-point="iconNode"><div class="${baseClass}Message" data-test-id="message-node" data-dojo-attach-point="messageNode">${!message}</div></div>',baseClass:"mwIconAndMessageWidget",icon:"error",customIconAltText:"",message:"",_setIconAttr:function(t){var r="";t||(t="error"),this._set("icon",t);var o=this.baseClass+"Icon";this.iconNode.src=this._ICON_blank,this.iconNode.className="",this.iconNode.classList.add(this.baseClass+"Icon"),t.match(/^(error|warning|info|question|success|none)$/)?(this.iconNode.classList.add("mwAlertIcon32",this._getIconClassName(this.icon)),r=t):t.match(/^(data:image\/)/i)?(r="customDataURI",this.iconNode.src=t):t.match(/\./)?(r="customURI",this.iconNode.src=t):(r="customCSSClass",this.iconNode.classList.add(t)),this.iconNode.width,this.iconNode.height,this.iconNode.setAttribute("data-icon-id",r),this._setImgAltAttributeValue()},_setCustomIconAltTextAttr:function(t){this._set("customIconAltText",t),this._setImgAltAttributeValue()},_setImgAltAttributeValue:function(){var t=e[this.icon]||this.customIconAltText;this.iconNode.setAttribute("alt",t)},_getIconClassName:function(t){return"mwAlertIcon"+t.charAt(0).toUpperCase()+t.slice(1)},_setMessageAttr:function(t){this._set("message",t),typeof t=="string"&&(this.messageNode.style.whiteSpace="pre-wrap"),d.set(this.messageNode,t,{parseContent:!0})},_ICON_blank:"data:image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw=="})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(62),l(48),l(793)],C=l.dj.d(A,function(y,m){return m(y,"mw-notifications/l10n/nls/NotificationsResources",l.dj.c(),!0)},_,M),_.exports=C},function(_,M,l){_.exports={root:{errorIconAltText:"Error Icon",warningIconAltText:"Warning Icon",infoIconAltText:"Information Icon",questionIconAltText:"Question Icon",successIconAltText:"Success Icon"}}},function(_,M,l){var A,C;A=[l(1),l(39),l(46),l(34),l(0),l(795)],C=l.dj.d(A,function(y,m,h,d,n,e){return y([m,h],{templateString:'<div class="${baseClass}" style="display:none;"><div class="${baseClass}Container" data-dojo-attach-point="containerNode"><div class="${baseClass}Title" data-dojo-attach-point="titleNode">${!title}</div><div class="${baseClass}Content" data-dojo-attach-point="contentNode"></div></div></div>',baseClass:"mwBanner","data-test-id":"",title:"Banner Title",content:"This is the Banner Content Area",duration:4e3,wipeInDuration:500,wipeOutDuration:350,_hideTimer:0,isVisible:!1,onHide:function(){},postCreate:function(){d.set(this.domNode,"data-test-id",this["data-test-id"])},_setContentAttr:function(t){n.isString(t)?this.contentNode.innerHTML=t:(t.placeAt(this.contentNode),t.startup())},show:function(){if(this.isVisible||(this.set("isVisible",!0),e.wipeIn({node:this.domNode,duration:this.wipeInDuration}).play()),this.duration>0){var t=setTimeout(n.hitch(this,this.hide),this.duration);this.set("_hideTimer",t)}},hide:function(){this.isVisible&&(this.set("isVisible",!1),clearTimeout(this._hideTimer),e.wipeOut({node:this.domNode,duration:this.wipeOutDuration,onEnd:this.onHide}).play())}})},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(0),l(60),l(6),l(9),l(17),l(259),l(12),l(14),l(24),l(73),l.dj.c(_.i)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i){h.isAsync||a(0,function(){var p=["./fx/Toggler"];i(p)});var u=h.fx={},s={_fire:function(p,v){return this[p]&&this[p].apply(this,v||[]),this}},c=function(p){this._index=-1,this._animations=p||[],this._current=this._onAnimateCtx=this._onEndCtx=null,this.duration=0,d.forEach(this._animations,function(v){v&&(typeof v.duration!="undefined"&&(this.duration+=v.duration),v.delay&&(this.duration+=v.delay))},this)};c.prototype=new m,y.extend(c,{_onAnimate:function(){this._fire("onAnimate",arguments)},_onEnd:function(){this._onAnimateCtx.remove(),this._onEndCtx.remove(),this._onAnimateCtx=this._onEndCtx=null,this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=n.after(this._current,"onAnimate",y.hitch(this,"_onAnimate"),!0),this._onEndCtx=n.after(this._current,"onEnd",y.hitch(this,"_onEnd"),!0),this._current.play(0,!0))},play:function(p,v){if(this._current||(this._current=this._animations[this._index=0]),!v&&this._current.status()=="playing")return this;var g=n.after(this._current,"beforeBegin",y.hitch(this,function(){this._fire("beforeBegin")}),!0),E=n.after(this._current,"onBegin",y.hitch(this,function(F){this._fire("onBegin",arguments)}),!0),D=n.after(this._current,"onPlay",y.hitch(this,function(F){this._fire("onPlay",arguments),g.remove(),E.remove(),D.remove()}));return this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onAnimateCtx=n.after(this._current,"onAnimate",y.hitch(this,"_onAnimate"),!0),this._onEndCtx&&this._onEndCtx.remove(),this._onEndCtx=n.after(this._current,"onEnd",y.hitch(this,"_onEnd"),!0),this._current.play.apply(this._current,arguments),this},pause:function(){if(this._current){var p=n.after(this._current,"onPause",y.hitch(this,function(v){this._fire("onPause",arguments),p.remove()}),!0);this._current.pause()}return this},gotoPercent:function(p,v){this.pause();var g=this.duration*p;return this._current=null,d.some(this._animations,function(E,D){return g<=E.duration?(this._current=E,this._index=D,!0):(g-=E.duration,!1)},this),this._current&&this._current.gotoPercent(g/this._current.duration),v&&this.play(),this},stop:function(p){if(this._current){if(p){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=this._animations[this._index]}var v=n.after(this._current,"onStop",y.hitch(this,function(g){this._fire("onStop",arguments),v.remove()}),!0);this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this.stop(),this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onEndCtx&&this._onEndCtx.remove()}}),y.extend(c,s),u.chain=function(p){return new c(y.isArray(p)?p:Array.prototype.slice.call(p,0))};var f=function(p){this._animations=p||[],this._connects=[],this._finished=0,this.duration=0,d.forEach(p,function(g){var E=g.duration;g.delay&&(E+=g.delay),this.duration<E&&(this.duration=E),this._connects.push(n.after(g,"onEnd",y.hitch(this,"_onEnd"),!0))},this),this._pseudoAnimation=new e.Animation({curve:[0,1],duration:this.duration});var v=this;d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(g){v._connects.push(n.after(v._pseudoAnimation,g,function(){v._fire(g,arguments)},!0))})};return y.extend(f,{_doAction:function(p,v){return d.forEach(this._animations,function(g){g[p].apply(g,v)}),this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(p,v){var g=this._pseudoAnimation;g[p].apply(g,v)},play:function(p,v){return this._finished=0,this._doAction("play",arguments),this._call("play",arguments),this},pause:function(){return this._doAction("pause",arguments),this._call("pause",arguments),this},gotoPercent:function(p,v){var g=this.duration*p;return d.forEach(this._animations,function(E){E.gotoPercent(E.duration<g?1:g/E.duration,v)}),this._call("gotoPercent",arguments),this},stop:function(p){return this._doAction("stop",arguments),this._call("stop",arguments),this},status:function(){return this._pseudoAnimation.status()},destroy:function(){this.stop(),d.forEach(this._connects,function(p){p.remove()})}}),y.extend(f,s),u.combine=function(p){return new f(y.isArray(p)?p:Array.prototype.slice.call(p,0))},u.wipeIn=function(p){var v=p.node=t.byId(p.node),g=v.style,E,D=e.animateProperty(y.mixin({properties:{height:{start:function(){if(E=g.overflow,g.overflow="hidden",g.visibility=="hidden"||g.display=="none")return g.height="1px",g.display="",g.visibility="",1;var w=r.get(v,"height");return Math.max(w,1)},end:function(){return v.scrollHeight}}}},p)),F=function(){g.height="auto",g.overflow=E};return n.after(D,"onStop",F,!0),n.after(D,"onEnd",F,!0),D},u.wipeOut=function(p){var v=p.node=t.byId(p.node),g=v.style,E,D=e.animateProperty(y.mixin({properties:{height:{end:1}}},p));n.after(D,"beforeBegin",function(){E=g.overflow,g.overflow="hidden",g.display=""},!0);var F=function(){g.overflow=E,g.height="auto",g.display="none"};return n.after(D,"onStop",F,!0),n.after(D,"onEnd",F,!0),D},u.slideTo=function(p){var v=p.node=t.byId(p.node),g=null,E=null,D=function(w){return function(){var x=r.getComputedStyle(w),R=x.position;if(g=R=="absolute"?w.offsetTop:parseInt(x.top)||0,E=R=="absolute"?w.offsetLeft:parseInt(x.left)||0,R!="absolute"&&R!="relative"){var T=o.position(w,!0);g=T.y,E=T.x,w.style.position="absolute",w.style.top=g+"px",w.style.left=E+"px"}}}(v);D();var F=e.animateProperty(y.mixin({properties:{top:p.top||0,left:p.left||0}},p));return n.after(F,"beforeBegin",D,!0),F},u},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(14),l(11),l(24),l(46),l(39),l(797),l(798)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){var o=y([e,n,t],{baseClass:"mwProgressBar",templateString:r,resize:function(a){var i;if(a&&a.w)i=a.w;else{var u=d.getContentBox(this.domNode.parentNode);i=u.w}(i===NaN||i===0)&&(i=100),m.set(this.gutterNode,"transform","scaleX("+i/100+")")},startup:function(){this.inherited(arguments),this.resize()},_setValueAttr:function(a){this.inherited(arguments),m.set(this.progressNode,"transform","translateX("+(this.value-100)+"px)")},_showAnimationWave:function(a){var i=this.baseClass+"NoWave";a===!1?h.add(this.domNode,i):h.remove(this.domNode,i)}});return o},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(1),l(34),l(247)],C=l.dj.d(A,function(y,m,h){var d=y([],{value:0,indeterminate:!1,showPercentage:!0,color:"Info","data-test-id":"",constructor:function(){this["data-test-id"]=this.baseClass.substring(2)},_setValueAttr:function(n){n=Math.min(Math.max(parseInt(n),0),100),this._set("value",n),this.progressTextNode.textContent=this.value+"%",m.set(this.domNode,"data-value",this.value)},_setIndeterminateAttr:function(n){this._set("indeterminate",n);var e=this.baseClass+"Indeterminate";this.indeterminate?this.domNode.classList.add(e):this.domNode.classList.remove(e)},_setShowPercentageAttr:function(n){this._set("showPercentage",n);var e=this.baseClass+"Invisible";this.showPercentage?this.progressTextNode.classList.remove(e):this.progressTextNode.classList.add(e)},_setColorStyleAttr:function(n){h.deprecated({deprecated:{module:"mw-notifications/ProgressBar",method:"_setColorStyleAttr"},replacement:{module:"mw-notifications/ProgressBar",method:"_setColorAttr"}}),+this.set("color",n)},_getColorStyleAttr:function(){return this.color},_setColorAttr:function(n){this._isHexColorCode(n)?(this._set("color",n),this.domNode.style.setProperty("--progress-color",n)):this._setColorEnum(n)},_setColorEnum:function(n){var e,t;switch(n.toLowerCase()){case"error":e="Error",t="var(--progress-color-error)";break;case"warning":e="Warning",t="var(--progress-color-warning)";break;case"success":e="Success",t="var(--progress-color-success)";break;default:e="Info",t="var(--progress-color-info)";break}this._set("color",e),this.domNode.style.setProperty("--progress-color",t)},_isHexColorCode:function(n){return/^#([0-9A-F]{3}){1,2}$/i.test(n)}});return d},_,M),_.exports=C},function(_,M){_.exports='<div data-test-id="${data-test-id}" data-value="${value}">\n <div data-dojo-attach-point="gutterNode" class="${baseClass}Gutter">\n <div data-dojo-attach-point="progressNode" class="${baseClass}Progress"></div>\n </div>\n <div data-dojo-attach-point="progressTextNode" class="${baseClass}Text">50%</div>\n</div>'},function(_,M,l){"use strict";var A,C;A=[l(0),l(800),l(311),l(67),l(814)],C=l.dj.d(A,function(y,m,h,d,n){let e=()=>d.generateUuid(),t=o=>(o.uuid=e(),o.id=o.id?o.id:"dialog_"+o.uuid,o.className=typeof o.className=="string"?y.trim(o.className):"",o.dialogType=o.dialogType==="modal"?"modal":"modeless",o.hideCloseButton=typeof o.hideCloseButton=="boolean"?o.hideCloseButton:!1,o.closeOnEscape=typeof o.closeOnEscape=="boolean"?o.closeOnEscape:!0,o.resizable=typeof o.resizable=="boolean"?o.resizable:!1,o.draggable=typeof o.draggable=="boolean"?o.draggable:o.dialogType==="modeless",o);return{MODAL:"modal",MODELESS:"modeless",ROLE:h,numberOfOpenDialogs:m.numberOfOpenDialogs.bind(m),createDialog(o){o=t(o);let a=new m(o,n);return a._constructAndDisplayDialog(o),a}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(11),l(14),l(8),l(55),l(4),l(72),l(310),l(311),l(805),l(806),l(807),l(101),l(808),l(809),l(811),l(812),l(813)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o,a,i,u,s,c,f,p,v){let g=D=>n(D,h("mozilla")?"DOMMouseScroll":"mousewheel",F=>{let w=F.type==="DOMMouseScroll"?F.detail*-40:F.wheelDelta,x=w>0;!x&&-w>D.scrollHeight-D.clientHeight-D.scrollTop?(D.scrollTop=D.scrollHeight,u(F)):x&&w>D.scrollTop&&(D.scrollTop=0,u(F))});class E{constructor(F,w){return this._eventSignals=[],this.domNode=this._createDomNodes({id:F.id,dialogType:F.dialogType,role:F.role,uuid:F.uuid}),this.domNode.widget=this,this._trackEventListener.bind(this),this.focus=w,this}_constructAndDisplayDialog(F){this._buildDialog(F),this._renderDialog(F.title),this._show()}static numberOfOpenDialogs(){let F={};return F.modal=E.prototype._allModalDialogs.length,F.modeless=E.prototype._allModelessDialogs.length,F}addButtonEventListener(F,w,x){s.addButtonEventListener(this,F,w,x)}enableButton(F){s.enableButton(this,F)}disableButton(F){s.disableButton(this,F)}on(F,w){let x=n(this.domNode,F,w);this._eventSignals.push(x)}close(){n.emit(this.domNode,"close",{bubbles:!1,cancelable:!0}),this.destroy()}destroy(){if(!this.domNode)return;n.emit(this.domNode,"restorefocus",{bubbles:!0}),this._isModal?(f.removePrevent(this),this._allModalDialogs.splice(this._allModalDialogs.indexOf(this),1)):this._allModelessDialogs.splice(this._allModelessDialogs.indexOf(this),1),this._focusHandle&&this._focusHandle.unwatch(),this._eventSignals.forEach(w=>{w.remove()}),this._eventSignals=[];let F;for(F in this._buttonEventHandlers)this._buttonEventHandlers[F].remove();if(this._buttonEventHandlers={},this._resizeEventSignals&&i.disable(this),this._dragEventSignals&&a.disable(this),this._browserResizeHandler&&v.removeBrowserResizeHandler(this),this._contentWidget&&this._contentWidget.destroyRecursive(),document.body.removeChild(this.domNode),this._isModal===!0){document.body.removeChild(this._underlay);let w=this._allModalDialogs;w.length>1&&w.sort((x,R)=>x.domNode.style.zIndex-R.domNode.style.zIndex),w.length>=1&&w[w.length-1]._underlay.classList.remove(this._stackedModalDialogClass)}for(F in this)this.hasOwnProperty(F)&&delete this[F]}moveTo(F){o.moveTo(this,F)}resizeTo(F){o.resizeTo(this,F)}bringToTop(){let F=[],w=this;if(this._isModal)F=this._allModalDialogs.filter(x=>x!==w,this),F.sort((x,R)=>x.domNode.style.zIndex-R.domNode.style.zIndex),F.push(this),F.forEach((x,R)=>{x.domNode.style.zIndex=w._startZ+R*2,x._underlay.style.zIndex=x.domNode.style.zIndex-1,R!==F.length-1&&x._underlay.classList.add(this._stackedModalDialogClass),y.remove(x.domNode,"mwModalDialogFg")},this),y.add(this.domNode,"mwModalDialogFg");else{F=this._allModelessDialogs.filter(R=>R!==w&&(R._alwaysOnTop===void 0||R._alwaysOnTop===!1),this);let x=document.getElementsByClassName("mwNonModalDialog");x.length>0&&(x=Array.prototype.slice.call(x),x=x.map(R=>({domNode:R})),F=F.concat(x)),F.sort((R,T)=>R.domNode.style.zIndex-T.domNode.style.zIndex),F.push(this),F.forEach((R,T)=>{R.domNode.style.zIndex=w._startZ+T*2,y.remove(R.domNode,"mwModelessDialogFg"),x.length>0&&y.remove(R.domNode,"dojoxFloatingPaneFg")},this),y.add(this.domNode,"mwModelessDialogFg")}}set title(F){this._titleText="",F&&typeof F=="string"&&(this._titleText=F),this._titleBar._titleNode.textContent=this._titleText,this._titleBar._titleNode.offsetWidth<this._titleBar._titleNode.scrollWidth&&(this._titleBar._titleNode.title=this._titleText)}get title(){return this._titleText}_show(){m.set(this.domNode,"visibility","visible"),this.moveTo(this._specifiedPosition),this.focus.focus(this),this._contentWidget&&this._contentWidget.startup(),this._isModal&&f.prevent(this),n.emit(this.domNode,"show",{bubbles:!1,cancelable:!0}),n.emit(this.domNode,"_dialogDimensionChange",{bubbles:!1,cancelable:!0})}_trackEventListener(F){return this._eventSignals.push(F),F}_removeEventListener(F){let w=this._eventSignals.indexOf(F);w>-1&&(this._eventSignals.splice(w,1),F.remove())}_createDomNodes(F){let{dialogType:w,id:x,role:R,uuid:T}=F,S=document.createElement("div");S.id=x,S.className="mwDialog",S.tabIndex="0",w==="modal"?(S.setAttribute("aria-modal",!0),R=R===r.ALERT_DIALOG?R:r.DIALOG):(S.setAttribute("aria-modal",!1),R=r.DIALOG),S.setAttribute("role",R);let I=this._titleBar=document.createElement("div");I.className="mwDialogTitleBar",I.setAttribute("data-test-id","dialog-title-bar");let B=this._titleBar._titleNode=document.createElement("span");B.className="mwTitleNode",B.id="dialogTitle_"+T,B.setAttribute("data-test-id","dialog-title-node");let P=this._controlNodeBar=document.createElement("div");P.className="mwControlNodeBar",P.setAttribute("data-test-id","dialog-control-node-bar");let L=this._contentArea=document.createElement("div");return L.id="dialogContent_"+T,L.className="mwDialogBody",L.setAttribute("data-test-id","dialog-content-area"),I.appendChild(B),I.appendChild(P),S.appendChild(I),S.appendChild(L),S.setAttribute("aria-labelledby",B.id),S.setAttribute("aria-describedby",L.id),S}_buildDialog(F){let w=this;if(this.domNode.setAttribute("data-focus","temporary"),F.className&&y.add(this.domNode,F.className),!F.hideCloseButton){let x=this._closeNode=document.createElement("span");x.className="mwCloseNode",x.title=t.close,x.setAttribute("tabindex","0"),x.setAttribute("role","button"),x.setAttribute("data-test-id","dialog-close-node"),x.setAttribute("draggable",!1);let R=this._closeSVG=p.createCloseIcon();x.appendChild(R),this._controlNodeBar.appendChild(x),this._trackEventListener(n(x,"click",()=>{w.close()}))}if(F.closeOnEscape&&this.on("keydown",x=>{x.keyCode===d.ESCAPE&&(w.close(),u(x))}),F.content&&(this._contentWidget=new c({widget:F.content,contentArea:this._contentArea}),o.selectionWithinDialogBounds(this)),F.buttons&&Array.isArray(F.buttons)&&F.buttons.length>0){let x=s.createButtonBar(this,F.buttons,F.defaultActionButton);this.domNode.appendChild(x)}else y.add(this._contentArea,"mwNoButtons");if(F.dialogType==="modal"){this._isModal=!0,this._startZ=this._modalDialogBeginZIndex,y.add(this.domNode,"mwModalDialog");let x=document.createElement("div");x.className="mwUnderlay",document.body.appendChild(x),this._underlay=x}else this._startZ=this._modelessDialogBeginZIndex,y.add(this.domNode,"mwModelessDialog");F["data-test-id"]&&this.domNode.setAttribute("data-test-id",F["data-test-id"]),F.bindingNode&&(this._bindingNode=F.bindingNode),F.position&&(this._specifiedPosition=F.position),F.specifiedFocusItem&&(this.specifiedFocusItem=F.specifiedFocusItem),this._addControllers(F)}_renderDialog(F){document.body.appendChild(this.domNode),this._isModal?this._allModalDialogs.push(this):this._allModelessDialogs.push(this);let w=window.getComputedStyle(this.domNode),x=parseInt(w.width),R=parseInt(w.height);const T=parseInt(w.getPropertyValue("--mw-borderWidth-dialog"))*2;this._buttonBar&&parseInt(w.minWidth)<this._buttonBar._buttonBarWidth&&(this.domNode.style.minWidth=this._buttonBar._buttonBarWidth+T+"px"),x>document.documentElement.clientWidth?this.domNode.style.width=document.documentElement.clientWidth+"px":this.domNode.style.width=w.width,R>document.documentElement.clientHeight?this.domNode.style.height=document.documentElement.clientHeight+"px":this.domNode.style.height=w.height,this.title=F}_addControllers(F){let w=this;this._scrollWheelListener=null,F.draggable?this._setDragController():this._titleBar.style.cursor="default",F.resizable&&(i.enable({widget:this,bindingNode:this._bindingNode}),this._resizeHandlers.forEach(x=>{w._resizeEventSignals.push(n(x,e.press,()=>{w.bringToTop()}))}),this._resizeEventSignals.push(n(this.domNode,i.resizeEvent,x=>{w._isCenter=!1,w._specifiedPosition={x:x.dimension.x,y:x.dimension.y},w._resolveScrollBar(),w._titleBar._titleNode.offsetWidth<w._titleBar._titleNode.scrollWidth?w._titleBar._titleNode.title=w.title:w._titleBar._titleNode.title="",w._contentArea.scrollHeight>w._contentArea.clientHeight?y.add(this._contentArea,"mwOverflow"):y.remove(this._contentArea,"mwOverflow")}))),this.on(e.press,()=>{w.bringToTop()}),this._resolveScrollBar(),o.addScrollHandler(this),v.addBrowserResizeHandler(this)}_resolveScrollBar(){if(this._contentArea.scrollHeight-this._contentArea.clientHeight>0){if(this._contentArea.offsetWidth-this._contentArea.scrollWidth>0){let F=this._standardContentPadding-(this._contentArea.offsetWidth-this._contentArea.scrollWidth);this._contentArea.style.setProperty("--mw-paddingRight-dialogBody","".concat(F,"px"))}this._scrollWheelListener||(this._scrollWheelListener=this._trackEventListener(g(this._contentArea)))}else this._contentArea.style.setProperty("--mw-paddingRight-dialogBody","".concat(this._standardContentPadding,"px")),this._scrollWheelListener&&(this._removeEventListener(this._scrollWheelListener),this._scrollWheelListener=null)}_setDragController(){a.draggable({dialog:this,bindingNode:this._bindingNode})}_disableResizeHandlers(){i.disable(this)}_enableResizeHandlers(){i.enable({widget:this,bindingNode:this._bindingNode})}}return E.prototype._modalDialogBeginZIndex=950,E.prototype._modelessDialogBeginZIndex=100,E.prototype._standardContentPadding=20,E.prototype._stackedModalDialogClass="mwModalDialogStackedBackground",E.prototype._allModalDialogs=[],E.prototype._allModelessDialogs=[],E},_,M),_.exports=C},function(_,M,l){_.exports={ok:"OK",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",switchPanes:"\u30A6\u30A3\u30F3\u30C9\u30A6\u306E\u5207\u308A\u66FF\u3048",close:"\u9589\u3058\u308B",yes:"\u306F\u3044",no:"\u3044\u3044\u3048",help:"\u30D8\u30EB\u30D7",submit:"\u9001\u4FE1",save:"\u4FDD\u5B58",find:"\u691C\u7D22",create:"\u4F5C\u6210",dontSave:"\u4FDD\u5B58\u3057\u306A\u3044",apply:"\u9069\u7528",revert:"\u5143\u306B\u623B\u3059"}},function(_,M,l){_.exports={ok:"\uD655\uC778",cancel:"\uCDE8\uC18C",switchPanes:"\uCC3D \uC804\uD658",close:"\uB2EB\uAE30",yes:"\uC608",no:"\uC544\uB2C8\uC694",help:"\uB3C4\uC6C0\uB9D0",submit:"\uC81C\uCD9C",save:"\uC800\uC7A5",find:"\uCC3E\uAE30",create:"\uB9CC\uB4E4\uAE30",dontSave:"\uC800\uC7A5 \uC548 \uD568",apply:"\uC801\uC6A9",revert:"\uB418\uB3CC\uB9AC\uAE30"}},function(_,M,l){_.exports={ok:"\u786E\u5B9A",cancel:"\u53D6\u6D88",switchPanes:"\u5207\u6362\u7A97\u53E3",close:"\u5173\u95ED",yes:"\u662F",no:"\u5426",help:"\u5E2E\u52A9",submit:"\u63D0\u4EA4",save:"\u4FDD\u5B58",find:"\u67E5\u627E",create:"\u521B\u5EFA",dontSave:"\u4E0D\u4FDD\u5B58",apply:"\u5E94\u7528",revert:"\u8FD8\u539F"}},function(_,M,l){_.exports={root:{ok:"OK",cancel:"Cancel",switchPanes:"Switch Windows",close:"Close",yes:"Yes",no:"No",help:"Help",submit:"Submit",save:"Save",find:"Find",create:"Create",dontSave:"Don't Save",apply:"Apply",revert:"Revert"},"ja-jp":!0,"ko-kr":!0,"zh-cn":!0}},function(_,M,l){"use strict";var A,C;A=[l(24),l(4),l(45),l(101)],C=l.dj.d(A,function(y,m,h,d){let n=(r,o,a,i,u)=>{let s={};return u?(s.l=Math.max(u.x,Math.min(u.x+o.x,u.x+u.w-a.w)),s.t=Math.max(u.y,Math.min(u.y+o.y,u.y+u.h-a.h)),r._specifiedPosition={x:s.l-u.x,y:s.t-u.y}):(s.l=Math.max(0,Math.min(o.x,i.w-a.w)),s.t=Math.max(0,Math.min(o.y,i.h-a.h)),r._specifiedPosition={x:s.l,y:s.t}),r._isCenter=!1,s},e=(r,o,a,i,u)=>{let s={};return u?(a.w>=u.x+u.w||a.w>=i.w-u.x||a.w>=u.w?s.l=Math.max(0,u.x):s.l=(u.x>=0?u.x:0)+(u.x+u.w<=i.w?u.w/2:(i.w-u.x)/2)-a.w/2,a.h>=u.y+u.h||a.h>=i.h-u.y||a.h>=u.h?s.t=Math.max(0,u.y):s.t=(u.y>=0?u.y:0)+(u.y+u.h<=i.h?u.h/2:(i.h-u.y)/2)-a.h/2):(s.l=Math.max(0,i.w/2-a.w/2),s.t=Math.max(0,i.h/2-a.h/2)),r._isCenter=!0,s},t=(r,o,a,i,u,s,c)=>{let f={};return c?(f.l=Math.max(c.x,Math.min(o.x-a+i,c.x+c.w-o.w)),f.t=Math.max(c.y,Math.min(o.y-u+s,c.y+c.h-o.h))):(f.l=o.x,f.t=o.y),f};return{moveTo(r,o){let a=y.position(r.domNode),i={},u=h.getBox();if(typeof r._bindingNode=="object"){let s=y.position(r._bindingNode);o?i=n(r,o,a,u,s):i=e(r,o,a,u,s)}else o?i=n(r,o,a,u):i=e(r,o,a,u);r.domNode.style.left="".concat(i.l,"px"),r.domNode.style.top="".concat(i.t,"px"),m.emit(r.domNode,"_dialogDimensionChange",{bubbles:!1})},resizeTo(r,o){if(r.domNode){let a=o.heightUnits||"px",i=o.widthUnits||"px";this._isValidUnit(a)&&this._isValidUnit(i)&&(o.height&&(r.domNode.style.height="".concat(o.height).concat(a)),o.width&&(r.domNode.style.width="".concat(o.width).concat(i)),(o.height||o.width)&&m.emit(r.domNode,"_dialogDimensionChange",{bubbles:!1}))}},addScrollHandler(r){let o=window.pageYOffset,a=window.pageXOffset;r._trackEventListener(m(document,"scroll",()=>{let i=window.pageYOffset,u=window.pageXOffset,s=y.position(r.domNode),c={};if(typeof r._bindingNode=="object"){let f=y.position(r._bindingNode);c=t(r,s,u,a,i,o,f)}else c=t(r,s,u,a,i,o);r.domNode.style.left="".concat(c.l,"px"),r.domNode.style.top="".concat(c.t,"px"),o=i,a=u}))},selectionWithinDialogBounds(r){let o;r._trackEventListener(m(document,"mousedown",a=>{a.target===r._contentWidget.domNode&&(o=!0)})),r._trackEventListener(m(document,"mouseup",()=>{o=!1})),r._trackEventListener(m(document,"mousemove",a=>{o&&a.target!==r._contentWidget.domNode&&d(a)}))},_isValidUnit(r){return["px"].some(a=>a===r)}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(24),l(4),l(45),l(101)],C=l.dj.d(A,function(y,m,h,d){let n=(t,r,o,a,i,u,s)=>{let c={};return u?(i.yLocked?c.t=t.y:c.t=Math.max(0,Math.max(u.y,Math.min(r.h-t.h,Math.min(o.pageY-a.y,u.y+u.h-t.h)))),i.xLocked?c.l=t.x:c.l=Math.max(0,Math.max(u.x,Math.min(r.w-t.w,Math.min(o.pageX-a.x,u.x+u.w-t.w))))):s?(c.l=Math.max(-(t.w-s*2),Math.min(o.pageX-a.x,r.w-s)),c.t=Math.max(0,Math.min(o.pageY-a.y,r.h-s))):(c.l=Math.max(0,Math.min(o.pageX-a.x,r.w-t.w)),c.t=Math.max(0,Math.min(o.pageY-a.y,r.h-t.h))),c},e=t=>{let r=t.target.closest("span"),o=!0;return r&&(o=r.getAttribute("Draggable")),o!=="false"};return{dragEvent:"move",draggable(t){let r=this,{dialog:o,bindingNode:a,allowOutOfView:i}=t,u=i?i.minVisibleSize:void 0,s=o._titleBar,c=!1,f={x:0,y:0},p={l:0,t:0},v={xLocked:!1,yLocked:!1},g,E,D;o._dragEventSignals=[],(()=>{o._dragEventSignals.push(m(s,"mousedown",w=>{o.bringToTop(),w.button===0&&e(w)&&(d(w),c=!0,E=h.getBox(),g=y.position(o.domNode),this._disableContentAreaEvents(o.domNode),typeof a=="object"&&(D=y.position(a),v.xLocked=g.w>=D.x+D.w||g.w>=E.w-D.x||g.w>=D.w,v.yLocked=g.h>=D.y+D.h||g.h>=E.h-D.y||g.h>=D.h),f.x=w.pageX-g.x,f.y=w.pageY-g.y)})),o._dragEventSignals.push(m(document,"mouseup",()=>{c&&o.domNode&&m.emit(o.domNode,"_dialogDimensionChange",{bubbles:!1}),c=!1,this._enableContentAreaEvents(o.domNode)})),o._dragEventSignals.push(m(document,"mousemove",w=>{if(c){if(!w.synthetic&&(w.buttons&1)!==1)return;d(w),g=y.position(o.domNode),typeof a=="object"?(p=n(g,E,w,f,v,D),o._specifiedPosition={x:p.l-D.x,y:p.t-D.y}):(p=n(g,E,w,f,v,D,u),o._specifiedPosition={x:p.l,y:p.t}),o.domNode.style.left="".concat(p.l,"px"),o.domNode.style.top="".concat(p.t,"px"),o._isCenter=!1,m.emit(o.domNode,r.dragEvent,{bubbles:!1,position:{x:p.l,y:p.t}})}}))})()},disable(t){t._dragEventSignals.forEach(r=>{r.remove()}),t._dragEventSignals=[]},_disableContentAreaEvents(t){t&&t.classList&&t.classList.add("mwDialogDisableEvents")},_enableContentAreaEvents(t){t&&t.classList&&t.classList.remove("mwDialogDisableEvents")}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(11),l(10),l(24),l(14),l(4),l(36),l(45),l(101)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){let o=(E,D,F,w,x,R)=>{let T;return R?T=Math.max(d.get(E.domNode,"min-width"),Math.min(x.w-D.x,Math.min(F.pageX-w.x-D.x,Math.min(d.get(E.domNode,"max-width")?d.get(E.domNode,"max-width"):R.w+R.x-D.x,R.w+R.x-D.x)))):T=Math.max(d.get(E.domNode,"min-width"),Math.min(F.pageX-w.x-D.x,Math.min(d.get(E.domNode,"max-width")?d.get(E.domNode,"max-width"):x.w-D.x,x.w-D.x))),T},a=(E,D,F,w,x,R)=>{let T;return R?T=Math.max(d.get(E.domNode,"min-width"),Math.min(D.x+D.w,Math.min(D.x+D.w-(F.pageX-w.x),Math.min(d.get(E.domNode,"max-width")?d.get(E.domNode,"max-width"):D.x+D.w-R.x,D.x+D.w-R.x)))):T=Math.max(d.get(E.domNode,"min-width"),Math.min(D.x+D.w-(F.pageX-w.x),Math.min(d.get(E.domNode,"max-width")?d.get(E.domNode,"max-width"):D.x+D.w,D.x+D.w))),T},i=(E,D,F,w,x,R)=>{let T;return R?T=Math.max(d.get(E.domNode,"min-height"),Math.min(x.h-D.y,Math.min(F.pageY-w.y-D.y,Math.min(d.get(E.domNode,"max-height")?d.get(E.domNode,"max-height"):R.h+R.y-D.y,R.h+R.y-D.y)))):T=Math.max(d.get(E.domNode,"min-height"),Math.min(F.pageY-w.y-D.y,Math.min(d.get(E.domNode,"max-height")?d.get(E.domNode,"max-height"):x.h-D.y,x.h-D.y))),T},u=(E,D,F,w,x,R)=>{let T;return R?T=Math.max(d.get(E.domNode,"min-height"),Math.min(D.y+D.h,Math.min(D.y+D.h-(F.pageY-w.y),Math.min(d.get(E.domNode,"max-height")?d.get(E.domNode,"max-height"):D.y+D.h-R.y,D.y+D.h-R.y)))):T=Math.max(d.get(E.domNode,"min-height"),Math.min(D.y+D.h-(F.pageY-w.y),Math.min(d.get(E.domNode,"max-height")?d.get(E.domNode,"max-height"):D.y+D.h,D.y+D.h))),T},s=(E,D,F,w,x,R,T,S)=>{let I={};if(typeof R=="object"){let B=h.position(R);T==="e"?I.w=o(E,D,F,w,x,B):T==="w"&&(I.w=a(E,D,F,w,x,B)),S==="s"?I.h=i(E,D,F,w,x,B):S==="n"&&(I.h=u(E,D,F,w,x,B))}else T==="e"?I.w=o(E,D,F,w,x):T==="w"&&(I.w=a(E,D,F,w,x)),S==="s"?I.h=i(E,D,F,w,x):S==="n"&&(I.h=u(E,D,F,w,x));return T==="w"&&(I.l=D.x+D.w-I.w),S==="n"&&(I.t=D.y+D.h-I.h),I},c=(E,D)=>E.l<D.l||E.h+E.t>D.h||E.l+E.w>D.w,f=(E,D)=>{let F=E.l<D.l?(D.l-E.l)/E.w:0,w=E.w+E.l>D.w?(D.w-E.l)/E.w:1,x=0,R=E.t+E.h>D.h?(D.h-E.t)/E.h:1;const T=(w-F)*E.w;return(R-x)*E.h>100&&T>100},p=(E,D)=>!(c(E,D)&&!f(E,D)),v=(E,D,F,w,x,R,T,S)=>{if(!F.synthetic&&(F.buttons&1)!==1)return;r(F);let I=s(E,D,F,w,x,R,T,S),B={},P,L={l:I.l?I.l:D.x,t:I.t?I.t:D.y,h:I.h?I.h:D.h,w:I.w?I.w:D.w};!p(L,x)||((T==="e"||T==="w")&&(E.domNode.style.width="".concat(I.w,"px")),T==="w"&&(E.domNode.style.left="".concat(I.l,"px")),(S==="s"||S==="n")&&(E.domNode.style.height="".concat(I.h,"px")),S==="n"&&(E.domNode.style.top="".concat(I.t,"px")),D=h.position(E.domNode),E._contentArea&&(P=h.position(E._contentArea),B={w:P.w,h:P.h}),g(E,D,B))};function g(E,D,F){n.emit(E.domNode,"resize",{bubbles:!1,dimension:D,contentSize:F})}return{resizeEvent:"resize",enable(E){let{widget:D,bindingNode:F}=E;D._resizeEventSignals=[];let w,x,R={x:0,y:0};(()=>{let S=!1,I=!1,B=!1,P=!1,L=!1,O=!1,W=!1,j=!1;D._resizeHandlers=[];let K=document.createElement("div");y.add(K,"mwResizableHandle mwResizable-e"),m.place(K,D.domNode,"last"),D._resizeHandlers.push(K);let H=document.createElement("div");y.add(H,"mwResizableHandle mwResizable-s"),m.place(H,D.domNode,"last"),D._resizeHandlers.push(H);let V=document.createElement("div");y.add(V,"mwResizableHandle mwResizable-w"),m.place(V,D.domNode,"last"),D._resizeHandlers.push(V);let $=document.createElement("div");y.add($,"mwResizableHandle mwResizable-n"),m.place($,D.domNode,"last"),D._resizeHandlers.push($);let G=document.createElement("div");y.add(G,"mwResizableHandle mwResizable-se"),m.place(G,D.domNode,"last"),D._resizeHandlers.push(G);let Q=document.createElement("div");y.add(Q,"mwResizableHandle mwResizable-ne"),m.place(Q,D.domNode,"last"),D._resizeHandlers.push(Q);let J=document.createElement("div");y.add(J,"mwResizableHandle mwResizable-sw"),m.place(J,D.domNode,"last"),D._resizeHandlers.push(J);let Y=document.createElement("div");y.add(Y,"mwResizableHandle mwResizable-nw"),m.place(Y,D.domNode,"last"),D._resizeHandlers.push(Y),D._resizeHandlers.forEach(X=>{D._resizeEventSignals.push(n(X,"mousedown",Z=>{Z.button===0&&(r(Z),w=t.getBox(),x=h.position(D.domNode),this._disableContentAreaEvents(D.domNode),X===K?(S=!0,R.x=Z.pageX-(x.x+x.w),e("*")[0].style.cursor="ew-resize"):X===H?(I=!0,R.y=Z.pageY-(x.y+x.h),e("*")[0].style.cursor="ns-resize"):X===V?(B=!0,R.x=Z.pageX-x.x,e("*")[0].style.cursor="ew-resize"):X===$?(P=!0,R.y=Z.pageY-x.y,e("*")[0].style.cursor="ns-resize"):X===G?(L=!0,R.x=Z.pageX-(x.x+x.w),R.y=Z.pageY-(x.y+x.h),e("*")[0].style.cursor="nwse-resize"):X===Q?(O=!0,R.x=Z.pageX-(x.x+x.w),R.y=Z.pageY-x.y,e("*")[0].style.cursor="nesw-resize"):X===J?(W=!0,R.x=Z.pageX-x.x,R.y=Z.pageY-(x.y+x.h),e("*")[0].style.cursor="nesw-resize"):X===Y?(j=!0,R.x=Z.pageX-x.x,R.y=Z.pageY-x.y,e("*")[0].style.cursor="nwse-resize"):this._enableContentAreaEvents(D.domNode))}))}),D._resizeEventSignals.push(n(document,"mouseup",()=>{[S,O,P,j,B,W,I,L].includes(!0)&&D.domNode&&n.emit(D.domNode,"_dialogDimensionChange",{bubbles:!1}),S=!1,I=!1,B=!1,P=!1,L=!1,O=!1,W=!1,j=!1,this._enableContentAreaEvents(D.domNode),e("*")[0].style.cursor=""})),D._resizeEventSignals.push(n(document,"mousemove",X=>{S?v(D,x,X,R,w,F,"e"):I?v(D,x,X,R,w,F,null,"s"):B?v(D,x,X,R,w,F,"w"):P?v(D,x,X,R,w,F,null,"n"):L?v(D,x,X,R,w,F,"e","s"):O?v(D,x,X,R,w,F,"e","n"):W?v(D,x,X,R,w,F,"w","s"):j&&v(D,x,X,R,w,F,"w","n")}))})()},disable(E){E._resizeEventSignals.forEach(D=>{D.remove()}),E._resizeEventSignals=[],E._resizeHandlers.forEach(D=>{m.destroy(D)}),E._resizeHandlers=[]},_disableContentAreaEvents(E){E&&E.classList&&E.classList.add("mwDialogDisableEvents")},_enableContentAreaEvents(E){E&&E.classList&&E.classList.remove("mwDialogDisableEvents")}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(11),l(4),l(312),l(13)],C=l.dj.d(A,function(y,m,h,d){const n=[h.TYPE.HELP,h.TYPE.SPL1,h.TYPE.SPL2],e=[h.TYPE.DO_IT,h.TYPE.DONT_DO_IT,h.TYPE.CANCEL,h.TYPE.APPLY,h.TYPE.REVERT],t=96,r=5;function o(f){let p=[];for(let g in e){p[g]=[];for(let E in f)f[E].type===e[g]&&p[g].push(f[E])}let v=[];for(let g in p)p[g].length!==0&&v.push(p[g][0]);return v}function a(f,p,v){let g=document.createElement("div");g.className="mwActionButtonBar",g.setAttribute("data-test-id","dialog-action-button-bar");let E=o(p),D;for(let F in E)D=document.createElement("span"),D.className="mwButton",D.tabIndex="0",D.textContent=E[F].label,D.setAttribute("data-button-type",E[F].type),D.setAttribute("aria-disabled","false"),D.setAttribute("role","button"),E[F]["data-test-id"]&&D.setAttribute("data-test-id",E[F]["data-test-id"]),f._trackEventListener(m(D,"click",u("".concat(E[F].type,"ButtonClick"),f))),(v===E[F].type||v===E[F]||v===void 0&&v!==h.NO_DEFAULT_ACTION&&F==="0")&&(f._defaultButton=D),g.appendChild(D),f._buttonBar._buttonBarWidth+=t;return g}function i(f,p){let v=document.createElement("div");v.className="mwSplButtonBar",v.setAttribute("data-test-id","dialog-supplemental-button-bar");let g;for(let E in p)g=document.createElement("span"),g.className="mwButton",g.tabIndex="0",g.setAttribute("role","button"),g.textContent=p[E].label,g.setAttribute("data-button-type",p[E].type),g.setAttribute("aria-disabled","false"),p[E]["data-test-id"]&&g.setAttribute("data-test-id",p[E]["data-test-id"]),f._trackEventListener(m(g,"click",u("".concat(p[E].type,"ButtonClick"),f))),v.appendChild(g),f._buttonBar._buttonBarWidth+=t;return v}function u(f,p){let v=()=>{p.close()};return()=>{m.emit(p.domNode,f,{bubbles:!1,close:v})}}function s(f,p){return m(f.domNode,"".concat(p,"ButtonClick"),v=>{let g=!1;f._buttonEvents[p].forEach(E=>{typeof E.func=="function"&&E.func(),g=g||E.dismiss}),f.domNode&&g&&v.close()})}function c(f){let p="";return f.hasOwnProperty("type")?p=f.type:p=f,p}return{addButtonEventListener(f,p,v,g){try{let E=c(p);f._buttonEvents[E]===void 0&&(f._buttonEvents[E]=[]),f._buttonEvents[E].push({func:v,dismiss:g}),f._buttonEventHandlers[E]&&f._buttonEventHandlers[E].remove();let D=f._buttonBar.querySelector("span[data-button-type="+E+"]"),F=D&&D.getAttribute("aria-disabled");(!F||F==="false")&&(f._buttonEventHandlers[E]=s(f,E))}catch(E){d.log("Button or type of button is invalid.")}},enableButton(f,p){let v=c(p);f._buttonEventHandlers[v]&&f._buttonEventHandlers[v].remove(),f._buttonEventHandlers[v]=s(f,v);let g=f._buttonBar.querySelector("span[data-button-type="+v+"]");y.remove(g,"mwDisabled"),g.setAttribute("tabIndex","0"),g.setAttribute("aria-disabled","false")},disableButton(f,p){let v=c(p);f._buttonEventHandlers[v]&&f._buttonEventHandlers[v].remove();let g=f._buttonBar.querySelector("span[data-button-type="+v+"]");y.add(g,"mwDisabled"),g.setAttribute("tabIndex","-1"),g.setAttribute("aria-disabled","true")},createButtonBar(f,p,v){let g=f._buttonBar=document.createElement("div");g.className="mwDialogButtonBar",g.setAttribute("data-test-id","dialog-button-bar"),f._buttonEvents={},f._buttonEventHandlers={},f._buttonBar._buttonBarWidth=r*2;let E=!1,D=!1,F=[],w=[];return p.forEach(x=>{n.indexOf(x.type)!==-1?w.push(x):e.indexOf(x.type)!==-1&&F.push(x)}),w.length>0?(D=!0,g.appendChild(i(f,w))):y.add(g,"mwNoSplBtn"),F.length>0&&(E=!0,g.appendChild(a(f,F,v))),E===!0&&D===!0&&(f._buttonBar._buttonBarWidth+=r*2),g}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0),l(34),l(10),l(14),l(810)],C=l.dj.d(A,function(y,m,h,d,n){class e{constructor(r){this.widget=r.widget,this.contentArea=r.contentArea,n(this),this._addWidget(this.widget)}_addWidget(r){if(y.isString(r)){let o=h.create("div");o.className="mwContentMessage",m.set(o,"textContent",r),m.set(o,"data-test-id","dialog-content-widget"),d.set(o,"whiteSpace","pre-line"),h.place(o,this.contentArea,"first"),this.domNode=o}else y.isFunction(r.placeAt)?(m.set(r.domNode,"data-test-id","dialog-content-widget"),r.placeAt(this.contentArea,"first"),this.domNode=r.domNode):(m.set(r,"data-test-id","dialog-content-widget"),h.place(r,this.contentArea,"first"),this.domNode=r)}}return e},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(0)],C=l.dj.d(A,function(y){return function(m){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m.widget,d=()=>{};y.isFunction(h.startup)?m.startup=()=>{h.startup()}:m.startup=d,y.isFunction(h.destroyRecursive)?m.destroyRecursive=n=>{h.destroyRecursive(n)}:m.destroyRecursive=d,y.isFunction(h.destroy)?m.destroy=n=>{h.destroy(n)}:m.destroy=d}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(4)],C=l.dj.d(A,function(y){function m(n){let e,t;document.body.createTextRange?(e=document.body.createTextRange(),e.moveToElementText(n),e.select()):window.getSelection&&(t=window.getSelection(),e=document.createRange(),e.selectNodeContents(n),t.removeAllRanges(),t.addRange(e))}function h(n){(n.metaKey||navigator.platform.toUpperCase().indexOf("MAC")<0&&n.ctrlKey)&&d(n)}function d(n){switch(n.keyCode){case"A".charCodeAt(0):n.target!==document.body&&(n.target.value?n.target.setSelectionRange(0,n.target.value.length):m(n.target)),n.preventDefault();break;case"O".charCodeAt(0):n.preventDefault();break;case"S".charCodeAt(0):n.preventDefault();break}}return{prevent:n=>{document.body.style.cursor="default",n._preventKeyListener=y(document.body,"keydown",h)},removePrevent:n=>{document.body.style.cursor="initial",n._preventKeyListener.remove()}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){function y(m){let h=12,d=12,n={mwCloseSVG:"M9.09,1.5L6,4.59,2.91,1.5,1.5,2.91,4.59,6,1.5,9.08,2.91,10.5,6,7.41,9.09,10.5,10.5,9.08,7.41,6,10.5,2.91,9.09,1.5h0Z",mwMinimizeSVG:"M10,7H2V5H10",mwMaximizeSVG:"M2,2H10V10H2L2,2",mwRestoreSVG:"M2,4H8V10H2L2,4 M4,4V2H10V8H8"};const e=document.createElementNS("http://www.w3.org/2000/svg","svg"),t=document.createElementNS("http://www.w3.org/2000/svg","path"),r=document.createElementNS("http://www.w3.org/2000/svg","rect"),o=document.createElementNS("http://www.w3.org/2000/svg","g");return e.setAttribute("viewBox","0 0 12 12"),e.classList.add(m),r.setAttribute("width",h),r.setAttribute("height",d),r.setAttribute("fill","none"),t.setAttribute("d",n[m]),t.setAttribute("fill","var(--mw-backgroundColor-iconFill, #616161)"),o.appendChild(r),o.appendChild(t),e.appendChild(o),(m==="mwMaximizeSVG"||m==="mwRestoreSVG")&&(t.setAttribute("stroke","var(--mw-backgroundColor-iconFill, #616161)"),t.setAttribute("fill","var(--mw-backgroundColor-secondary, #e6e6e6)")),e}return{createMaximizeIcon(){return y("mwMaximizeSVG")},createMinimizeIcon(){return y("mwMinimizeSVG")},createRestoreIcon(){return y("mwRestoreSVG")},createCloseIcon(){return y("mwCloseSVG")}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(4),l(45)],C=l.dj.d(A,function(y,m){let h=(r,o,a,i)=>{let u,s,c=a._dimension;return i?a._isCenter?(u=Math.max(0,Math.max(i.x,Math.min(o.width-r.width,Math.min(i.x+i.width/2-r.width/2,i.x+i.width-r.width)))),s=Math.max(0,Math.max(i.y,Math.min(o.height-r.height,Math.min(i.y+i.height/2-r.height/2,i.y+i.height-r.height))))):(u=Math.max(0,Math.max(i.x,Math.min(o.width-r.width,Math.min(a._specifiedPosition.x+i.x,i.x+i.width-r.width)))),s=Math.max(0,Math.max(i.y,Math.min(o.height-r.height,Math.min(a._specifiedPosition.y+i.y,i.y+i.height-r.height))))):a._isCenter?(u=Math.max(0,Math.min(o.width/2-r.width/2,o.width-r.width)),s=Math.max(0,Math.min(o.height/2-r.height/2,o.height-r.height))):(u=Math.max(0,Math.min(c.x,o.width-r.width)),s=Math.max(0,Math.min(c.y,o.height-r.height))),{left:u,top:s}},d=(r,o)=>r.left<o.left||r.bottom>o.bottom||r.right>o.right,n=(r,o,a)=>{let i;return r._isOutOfBound?i=e(r,o,a):i=t(r,o,a),i},e=(r,o,a)=>{let i=a,u=r._dimension;const s=(u.visibleWidthEndPer-u.visibleWidthStartPer)*o.width,c=(u.visibleHeightEndPer-u.visibleHeightStartPer)*o.height,f={};if(i.width>s)f.width=u.width,f.left=Math.min(u.left,i.right-s);else{const p=i.width,v=u.visibleWidthEndPer-u.visibleWidthStartPer;f.width=p/v,u.visibleWidthStartPer>0?f.left=-1*(u.visibleWidthStartPer*f.width):f.left=i.width-p}if(i.height>c)f.height=u.height,f.top=Math.min(u.top,i.bottom-c);else{const p=i.height;f.height=p/(u.visibleHeightEndPer-u.visibleHeightStartPer),f.top=i.bottom-p}return f},t=(r,o,a)=>{let i={},u=r._dimension,s=a,c=typeof r._bindingNode=="object"?r._bindingNode.getBoundingClientRect():void 0;i.width=s.width<u.width?s.width:u.width,i.height=s.height<u.height?s.height:u.height;let f=h(i,a,r,c);return i.left=f.left,i.top=f.top,i};return{addBrowserResizeHandler(r){r._trackEventListener(y(r.domNode,"_dialogDimensionChange",()=>{r._dimension=r.domNode.getBoundingClientRect();const o=m.getBox(),a={width:o.w,height:o.h,left:o.l,top:o.t,bottom:o.h,right:o.w};r._isOutOfBound=d(r._dimension,a),r._dimension.visibleWidthStartPer=r._dimension.left<a.left?(a.left-r._dimension.left)/r._dimension.width:0,r._dimension.visibleWidthEndPer=r._dimension.right>a.right?(a.right-r._dimension.left)/r._dimension.width:1,r._dimension.visibleHeightStartPer=0,r._dimension.visibleHeightEndPer=r._dimension.bottom>a.bottom?(a.bottom-r._dimension.top)/r._dimension.height:1})),r._browserResizeHandler=[],r._browserResizeHandler.push(y(window,"resize",()=>{if(!r.domNode)return;const o=r.domNode.getBoundingClientRect(),a=m.getBox(),i={width:a.w,height:a.h,left:a.l,top:a.t,bottom:a.h,right:a.w};let u=n(r,o,i);r.domNode.style.left="".concat(u.left,"px"),r.domNode.style.top="".concat(u.top,"px"),r.domNode.style.width="".concat(u.width,"px"),r.domNode.style.height="".concat(u.height,"px")}))},removeBrowserResizeHandler(r){r._browserResizeHandler.forEach(o=>{o.remove()}),r._browserResizeHandler=[]}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(4),l(12),l(34),l(11),l(55),l(106),l(139),l(13),l(101)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){let a={TEXT:"text",CHECKBOX:"checkbox",RADIO:"radio",PASSWORD:"password"};return{_activeClass:"active",_focusedClass:"focused",_defaultButtonClass:"mwDefaultButton",focus(i){let u=this,s=0,c=0;i._firstFocusItem=null,i._lastFocusItem=null,this._getFocusItems(i),i._focusHandle=t.watch("curNode",(f,p,v)=>{if(v===null?(i._defaultButton&&(d.remove(i._defaultButton,u._defaultButtonClass),d.remove(i._defaultButton,u._activeClass)),p&&d.remove(p,u._activeClass),d.remove(i.domNode,u._focusedClass)):u._setFocusForNewNode(v,i)===!1&&(i._firstFocusItem?d.remove(i.domNode,u._focusedClass):(i._latestFocusedItem=v,d.add(i.domNode,u._focusedClass))),i._isModal&&v&&i.domNode&&i.domNode.classList.contains("mwModalDialogFg")&&v.ownerDocument===i.domNode.ownerDocument){do{if(v===i.domNode||d.contains(v,"dijitPopup"))return;v=v.parentNode}while(v);if(c++,c>5)return;s||(s=setTimeout(()=>{c=0,s=0},1e3)),this._forceFocusInModalDialog(i)}}),i._underlay&&i._trackEventListener(y(i._underlay,"click",()=>{this._forceFocusInModalDialog(i)})),this.focusItem(i),i.on("click",()=>{this._getFocusItems(i),i._latestFocusedItem&&i._latestFocusedItem!==i.domNode&&h.get(i._latestFocusedItem,"aria-disabled")!=="true"?t.focus(i._latestFocusedItem):i._firstFocusItem?t.focus(i._firstFocusItem):t.focus(i.domNode)}),i._keyDownReady=!1,i.on("keydown",f=>{u._onKeyDown(f,i)}),i.on("keyup",f=>{u._onKeyUp(f,i)})},_checkIfContentAreaNode(i,u){return!!(this._isPopupDescendant(i,u)||m.isDescendant(i,u))},_generalFocusOrder(i){return[i._contentArea,i._buttonBar,i._closeNode]},_setFocusForNewNode(i,u){let s=this._generalFocusOrder(u);for(let c=0;c<s.length;c++){let f=s[c];if(f&&f===u._contentArea&&this._checkIfContentAreaNode(i,f))return u._latestFocusedItem=i,u._defaultButton&&d.add(u._defaultButton,this._defaultButtonClass),d.add(u.domNode,this._focusedClass),!0;if(f&&f===u._buttonBar&&m.isDescendant(i,f))return u._latestFocusedItem=i,u._defaultButton&&d.remove(u._defaultButton,this._defaultButtonClass),d.add(u.domNode,this._focusedClass),!0;if(f&&i===f)return u._latestFocusedItem=i,d.add(u.domNode,this._focusedClass),!0}return!1},_forceFocusInModalDialog(i){window.requestAnimationFrame(()=>{i._firstFocusItem?t.focus(i._latestFocusedItem):t.focus(i.domNode)})},_getFocusItems(i){if(i._firstFocusItem=(i._contentArea?e.getFirstInTabbingOrder(i._contentArea):void 0)||(i._buttonBar?e.getFirstInTabbingOrder(i._buttonBar):void 0),!i._firstFocusItem){let u=this._getControlNodes(i);for(let s=0;s<u.length;s++)if(u[s]){i._firstFocusItem=u[s];break}}i._lastFocusItem=e.getLastInTabbingOrder(i.domNode)||i._firstFocusItem},_isPopupDescendant(i,u){try{let s=null;for(;i;){if(d.contains(i,"dijitPopup")){let c=h.get(i,"dijitPopupParent");c&&(s=i=document.getElementById(c))}if(i===u)return s;i=i.parentNode}}catch(s){}return!1},focusItem(i){if(i.bringToTop(),i.specifiedFocusItem){let u;if(typeof i.specifiedFocusItem=="object"){let s="span[data-test-id=".concat(i.specifiedFocusItem["data-test-id"],"]");u=i.domNode.querySelector(s),u||(i._firstFocusItem=i._buttonBar?e.getFirstInTabbingOrder(i._buttonBar):i._closeNode?i._closeNode:void 0)}else u=m.byId(i.specifiedFocusItem);if(u===null)r.log("specifiedFocusItem couldn't be found"),this._focusDefaultItem(i);else if(m.isDescendant(u,i.domNode))if(e.isFocusable(u))t.focus(u);else{let s=e.getFirstInTabbingOrder(u);s!==void 0?t.focus(s):(r.log("specifiedFocusItem is not focusable"),this._focusDefaultItem(i))}else r.log("specifiedFocusItem should be an id"),this._focusDefaultItem(i)}else this._focusDefaultItem(i)},_focusDefaultItem(i){i._firstFocusItem?i._buttonBar&&i._defaultButton&&m.isDescendant(i._firstFocusItem,i._buttonBar)&&i._defaultButton!==i._firstFocusItem&&h.get(i._defaultButton,"aria-disabled")!=="true"?t.focus(i._defaultButton):t.focus(i._firstFocusItem):t.focus(i.domNode)},_isFormElement(){function i(f){let p=f&&f.toLowerCase(),{TEXT:v,CHECKBOX:g,RADIO:E,PASSWORD:D}=a;return[v,g,E,D].includes(p)}let u=t.curNode;if(u.tagName.toLowerCase()==="input"){let f=u.getAttribute("type");return i(f)}let c=u.getAttribute("role");return c?i(c):!1},_getTabFocusOrder(i){return[i._closeNode,i._firstFocusItem]},_getShiftTabFocusOrder(i){return[i._closeNode,i._lastFocusItem]},_getControlNodes(i){return[i._closeNode]},_getForceFocusNodesForTab(i){return[i._lastFocusItem,i._closeNode]},_getForceFocusNodesForShiftTab(i){return[i._firstFocusItem,i._closeNode]},_getNextFocusNode(i,u){let s=this._getTabFocusOrder(u);this._setNodeToFocus(i,s)},_getPreviousFocusNode(i,u){let s=this._getShiftTabFocusOrder(u);this._setNodeToFocus(i,s)},_setNodeToFocus(i,u){let s=u.indexOf(i),c=u.length,f=s+1;for(;f!==s;){if(f<c&&u[f]){t.focus(u[f]);break}else f>=c&&(f=-1);f=f+1}},_onKeyDown(i,u){if(u._keyDownReady=!0,i.keyCode===n.TAB){this._getFocusItems(u);let s=i.target;i.shiftKey&&this._getForceFocusNodesForShiftTab(u).includes(s)?(this._getPreviousFocusNode(s,u),o(i)):!i.shiftKey&&this._getForceFocusNodesForTab(u).includes(s)&&(this._getNextFocusNode(s,u),o(i))}else(i.keyCode===n.ENTER||i.keyCode===n.SPACE)&&(u._contentArea&&u._defaultButton&&m.isDescendant(t.curNode,u._contentArea)&&e.isFocusable(t.curNode)&&t.curNode.tagName&&this._isFormElement()&&i.keyCode===n.ENTER?(o(i),d.add(u._defaultButton,"active")):u._buttonBar&&m.isDescendant(t.curNode,u._buttonBar)&&e.isFocusable(t.curNode)?(o(i),d.add(t.curNode,"active")):this._getControlNodes(u).includes(t.curNode)&&(o(i),t.curNode.click(i)))},_onKeyUp(i,u){u._keyDownReady&&(i.keyCode===n.SPACE?u._buttonBar&&m.isDescendant(t.curNode,u._buttonBar)&&e.isFocusable(t.curNode)&&(d.remove(t.curNode,"active"),o(i),t.curNode.click(i)):i.keyCode===n.ENTER&&(u._contentArea&&u._defaultButton&&m.isDescendant(t.curNode,u._contentArea)&&e.isFocusable(t.curNode)&&t.curNode.tagName&&this._isFormElement()?(d.remove(u._defaultButton,"active"),o(i),u._defaultButton.click(i)):u._buttonBar&&m.isDescendant(t.curNode,u._buttonBar)&&e.isFocusable(t.curNode)&&(d.remove(t.curNode,"active"),o(i),t.curNode.click(i))))}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(167),l(173),l(176),l(194),l(816),l(318),l(135),l(38)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r){return function(o){console.time("init");const a=window.cr&&!window.cr.traceConfig.lineLevelTrace||r.readonly?null:o.trace?JSON.parse(o.trace):null;let i=r.readonly?[]:o.blocks||[];i=Array.isArray(i)?i:[i],r.component&&r.component==="HDL"||(i=i.map(K=>({blk:K.RTWName,sid:K.SIDString}))),i.forEach(function(K){let H=K.blk.replace(/\n/gm," ");const V=K.sid.search(/#.+:[0-9]+$/);V>0&&(H+="@"+K.sid.substr(V+1)+"^"),K.blk=H});const u=new y({data:i,idProperty:"blk"}),s=new Map(i.map(K=>[K.sid,K]));u.queryBySid=function(K){const H=this.query({sid:K})[0];if(H)return H;const V=K.split("#"),$=V[0];if($!==K){const Q=this.query({sid:$})[0];if(Q){var G=Object.create(Q);return G.blk=Q.blk+"@"+V[1]+"^",G.sid=K,G}}};const c=o.files.map(S).filter(K=>K),f=e.analyze(c),p=new y({data:c,idProperty:"name"});a&&I(p,a);const v=new y({data:L(f,u)});v.queryBySid=function(K){const H=this.query({sid:K,type:"blk"})[0];if(H)return H;const V=K.split("#"),$=V[0];if($!==K){const G=this.query({sid:$,type:"blk"})[0];if(G){const Q=Object.create(G);return Q.text=G.text+"@"+V[1]+"^",Q.sid=K,Q}}};const g=P(p.data);r.readonly||(r.component&&r.component==="HDL"?W(p,u):O(p));const E=j(o.cm);let D;Array.isArray(o.anno)?D=o.anno:o.anno?D=[o.anno]:D=[];const F=o.coverage,w=o.pInfo,x=c.filter(K=>K.group==="model");let R=null;c.length>0&&(R=x.length>0?x[0].name:c[0].name);const T={files:p,records:g,types:v,currentFile:R,define:f,blocks:u,sid2rtwname:s,trace:a,traceStyle:o.traceStyle,cm:E,annotation:D,coverage:F,profiling:w,build:o.build,ref:o.ref,arch:o.arch||{},review:o.review,features:o.features};return T.queryBySid=function(K){const H=Array.isArray(K)?K:[K],V=[];for(const $ of this.records.values())($.sid?[...$.sid]:[]).some(Q=>H.some(J=>J===Q||J.startsWith(Q+"#")||Q.startsWith(J+"#")))&&V.push($);return V},T.queryLinesBySid=function(K){let H=[];const V=u.queryBySid(K);return V&&(H=V.loc.map(G=>{let Q=[];return Q.file=G.file.split("/").pop().split("\\").pop(),Q.line=G.line,Q})),H},m.init(T),h.init(T),d.init(T),console.timeEnd("init"),T;function S(K){if(K.code===void 0)return null;const H=K.name,V=" init "+H;console.time(V);const $=K.code,G=$.length>1e7?"":H.slice(H.lastIndexOf(".")+1),Q=n.parseCode($,G),J=Q.lang,Y=Q.codeList;let X=0;for(let ee=0;ee<Y.length;ee++){const re=Y[ee],he=re.tokens.lenghth;X<he&&(X=he),re.show=!0,re.expand=!0,re.hlcache=[]}let Z=Y.firstTk;for(;Z;)Z.file=H,Z.id=H+":"+Z.line+"c"+Z.col,Z=Z.next;const q={name:H,codeList:Y,maxCols:X,lang:J,ext:G,group:K.group,groupDisplay:K.groupDisplay,path:K.path,type:K.type};return console.timeEnd(V),q}function I(K,H){console.time("unRollTrace");const V=H.fileRecords;for(const $ in V){const G=V[$].records;if(!G)continue;const Q=K.get(H.sources[$]);if(!!Q)for(const J of G)B(J,Q,H)}console.timeEnd("unRollTrace")}function B(K,H,V){let{tk:$,els:G,ct:Q}=K;if(Array.isArray(G)){for(let he=0;he<G.length;he++){const se=G[he].split(":"),te=parseInt(se[0]),oe=V.sidPrefixes[te];se[0]=oe,G[he]=se.join(":")}G.forEach(he=>{const me=s.get(he);me&&(me.traceable=!0)})}const[J,Y,X,Z]=$,ee=H.codeList[J-1].tokens;let re=null;for(const he of ee)if(he.col===Y){re=he;break}for(;re&&!(re.line>X);){if(re.line===X&&re.col>=Z)break;if(re.sid)for(const he of G)re.sid.add(he);else re.sid=new Set(G);if(Q){re.customTrace=new Map;for(const he in Q){const me=V.categoricalProps[he],se=V.categoricalValues[Q[he]];re.customTrace.set(me,se)}}re=re.next}}function P(K){const H=new Map;return K.forEach(function(V){if(V.type==="source"||V.type==="header"||V.lang===t){let $,G=V.codeList.firstTk;for(;G;){let Q=!0;const J=G.type;if(J==="blk"){const Y=G.token,X=u.get(Y);if(X)G.sid||(G.sid=new Set),G.sid.add(X.sid);else{const Z=Y.lastIndexOf(":");if(Z!==-1){const q=Y.slice(0,Z),ee=Y.slice(Z),re=u.get(q);re&&(G.sid||(G.sid=new Set),G.sid.add(re.sid+ee))}}$=Y}else if(J==="req")$?(G.blockpath=$,G.req_id=G.token.match(/\d+/)[0]):G.type=null;else if(G.style!=="comment"&&G.token.trim()){const Y=G.define;Y&&(G.type=Y.def)}else Q=!1;Q&&(window.cr&&!window.cr.traceConfig.tokenLevelTrace?G.traceable=!1:G.traceable=G.sid&&G.sid.size>0,H.set(G.id,G)),G=G.next}}}),H}function L(K,H){if(r.component&&r.component==="HDL"){const ee=H.data.map(function(re){return{text:re.blk,type:"blk",sid:re.sid,traceable:!0}});return ee.forEach(function(re,he){re.id=he}),ee}const V=Array.from(K.values()).map(function(q){return{text:q.fullname,type:q.def,file:q.file,line:q.line,token:q}}),$=V.filter(function(q){return q.type==="cls"}).sort(X),G=V.filter(function(q){return q.type==="fcn"}).sort(X),Q=V.filter(function(q){return q.type==="var"}).sort(X),J=V.filter(function(q){return q.type==="type"}).sort(X),Y=H.data.map(function(q){return{text:q.blk,type:"blk",sid:q.sid,traceable:q.traceable}});function X(q,ee){return q.text>ee.text?1:q.text<ee.text?-1:0}const Z=$.concat(G).concat(Q).concat(J).concat(Y);return Z.forEach(function(q,ee){q.id=ee}),Z}function O(K){for(const H of K.data)for(const V of H.codeList){const $=new Set;for(const G of V.tokens)G.type!=="blk"&&G.sid&&G.sid.size>0&&G.sid.forEach(Q=>$.add(Q));V.sid=$,V.isTraceable=$.size>0}}function W(K,H){H.data.forEach(function(V){V.loc=Array.isArray(V.loc)?V.loc:[V.loc],V.loc.forEach(function($){const Q=$.file.split("/").pop().split("\\").pop(),J=$.line,Y=K.get(Q);if(Y&&Y.codeList){const X=Y.codeList[J-1];X&&X.isCodeLine&&(X.isTraceable=!0,X.sid=V.sid)}})})}function j(K){if(r.readonly||!K)return null;const H=Array.isArray(K.FcnInfo)?K.FcnInfo:[K.FcnInfo],V=new y({idProperty:"Name",data:H}),$=Array.isArray(K.GlobalVarInfo)?K.GlobalVarInfo:[K.GlobalVarInfo],G=new y({idProperty:"Name",data:$});return{fcn:V,var:G}}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(313),l(135),l(818),l(819),l(821),l(822),l(316),l(824),l(825)],C=l.dj.d(A,function(y,m,h,d,n,e,t,r,o){const a=new Map;a.set("c",m),a.set("cpp",m),a.set("h",m),a.set("hpp",m),a.set("cu",h),a.set("xml",d),a.set("arxml",d),a.set("a2l",n),a.set("vhd",e),a.set("v",t),a.set("sv",r);const i={parseCode:u};return window.tokenizer=i,i;function u(s,c){let f=a.get(c.toLowerCase());f||(f=o);const p=f.parse(s),v=p.length-1;for(let D=0;D<v;D++)p[D].tokens.push(new y(`
|
||
`,null));let g=null,E=null;return p.forEach(function(D){let F=1;D.tokens.forEach(function(w){w.line=D.id,w.col=F,F+=w.token.length,g?(g.next=w,w.prev=g):E=w,g=w})}),p.firstTk=E,f.createScope(p),{lang:f,codeList:p}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){var y=function(){this.modes={},this.mimeModes={},this.defineMIME("text/plain","null"),this.defineMode("null",function(){return{token:function(h){h.skipToEnd()}}})};return y.prototype.defineMIME=function(m,h){this.mimeModes[m]=h},y.prototype.defineMode=function(m,h){arguments.length>2&&(h.dependencies=Array.prototype.slice.call(arguments,2)),this.modes[m]=h},y.prototype.resolveMode=function(m){return typeof m=="string"&&this.mimeModes.hasOwnProperty(m)?m=this.mimeModes[m]:m&&typeof m.name=="string"&&this.mimeModes.hasOwnProperty(m.name)&&(m=this.mimeModes[m.name]),typeof m=="string"?{name:m}:m||{name:"null"}},y.prototype.getMode=function(m,h){h=this.resolveMode(h);var d=this.modes[h.name];if(!d)throw new Error("Unknown mode: "+h);return d(m,h)},y.prototype.startState=function(m,h,d){return m.startState?m.startState(h,d):!0},y.prototype.splitLines=function(m){return m.split(/\r?\n|\r|\n/)},y.prototype.copyState=function(m,h){if(h===!0)return h;if(m.copyState)return m.copyState(h);var d={};for(var n in h){var e=h[n];e instanceof Array&&(e=e.concat([])),d[n]=e}return d},y.prototype.registerGlobalHelper=Math.min,y.prototype.registerHelper=Math.min,y},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(195),l(135)],C=l.dj.d(A,function(y,m){return{__proto__:m,name:"CUDA",setup:function(h){y(h);const d=h.mimeModes["text/x-c++src"],e={__proto__:d.keywords,__global__:!0,__device__:!0,__shared__:!0,__host__:!0,__constant__:!0,__launch_bounds__:!0,gridDim:!0,blockIdx:!0,blockDim:!0,threadIdx:!0,wrapSize:!0,dim3:!0,cudaMalloc:!0,cudaMemcpy:!0,cudaMemcpyHostToDevice:!0,cudaMemcpyDeviceToHost:!0,cudaFree:!0},t={__proto__:d,keywords:e};return h.defineMIME(this.name,t),h.getMode({},{name:this.name})}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(820),l(102)],C=l.dj.d(A,function(y,m){return{__proto__:m,setup:function(h){y(h);const d={name:"text/xml"};return h.getMode({},d)},blockBegin:{style:"xml tag bracket",token:"<"},blockEnd:[{style:"xml tag bracket",token:"</"},{style:"xml tag bracket",token:"/>"}],comment:{style:"xml comment"}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";var y={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},m={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1},h=function(n){n.defineMode("xml",function(e,t){var r=e.indentUnit,o={},a=t.htmlMode?y:m;for(var i in a)o[i]=a[i];for(var i in t)o[i]=t[i];var u,s;function c(O,W){function j(V){return W.tokenize=V,V(O,W)}var K=O.next();if(K=="<")return O.eat("!")?O.eat("[")?O.match("CDATA[")?j(v("xml atom","]]>")):null:O.match("--")?j(v("xml comment","-->")):O.match("DOCTYPE",!0,!0)?(O.eatWhile(/[\w\._\-]/),j(g(1))):null:O.eat("?")?(O.eatWhile(/[\w\._\-]/),W.tokenize=v("xml meta","?>"),"xml meta"):(u=O.eat("/")?"closeTag":"openTag",W.tokenize=f,"xml tag bracket");if(K=="&"){var H;return O.eat("#")?O.eat("x")?H=O.eatWhile(/[a-fA-F\d]/)&&O.eat(";"):H=O.eatWhile(/[\d]/)&&O.eat(";"):H=O.eatWhile(/[\w\.\-:]/)&&O.eat(";"),H?"xml character":"xml error"}else return O.eatWhile(/[^&<]/),null}c.isInText=!0;function f(O,W){var j=O.next();if(j==">"||j=="/"&&O.eat(">"))return W.tokenize=c,u=j==">"?"endTag":"selfcloseTag","xml tag bracket";if(j=="=")return u="equals","xml operator";if(j=="<"){W.tokenize=c,W.state=w,W.tagName=W.tagStart=null;var K=W.tokenize(O,W);return"xml error"}else return/[\'\"]/.test(j)?(W.tokenize=p(j),W.stringStartCol=O.column(),W.tokenize(O,W)):(O.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function p(O){var W=function(j,K){for(;!j.eol();)if(j.next()==O){K.tokenize=f;break}return"xml string"};return W.isInAttribute=!0,W}function v(O,W){return function(j,K){for(;!j.eol();){if(j.match(W)){K.tokenize=c;break}j.next()}return O}}function g(O){return function(W,j){for(var K;(K=W.next())!=null;){if(K=="<")return j.tokenize=g(O+1),j.tokenize(W,j);if(K==">")if(O==1){j.tokenize=c;break}else return j.tokenize=g(O-1),j.tokenize(W,j)}return"xml doctype"}}function E(O,W,j){this.prev=O.context,this.tagName=W,this.indent=O.indented,this.startOfLine=j,(o.doNotIndent.hasOwnProperty(W)||O.context&&O.context.noIndent)&&(this.noIndent=!0)}function D(O){O.context&&(O.context=O.context.prev)}function F(O,W){for(var j;;){if(!O.context||(j=O.context.tagName,!o.contextGrabbers.hasOwnProperty(j)||!o.contextGrabbers[j].hasOwnProperty(W)))return;D(O)}}function w(O,W,j){return O=="openTag"?(j.tagStart=W.column(),x):O=="closeTag"?R:w}function x(O,W,j){return O=="word"?(j.tagName=W.current(),s="xml tag",I):o.allowMissingTagName&&O=="endTag"?(s="xml tag bracket",I(O,W,j)):(s="xml error",x)}function R(O,W,j){if(O=="word"){var K=W.current();return j.context&&j.context.tagName!=K&&o.implicitlyClosed.hasOwnProperty(j.context.tagName)&&D(j),j.context&&j.context.tagName==K||o.matchClosing===!1?(s="xml tag",T):(s="xml error",S)}else return o.allowMissingTagName&&O=="endTag"?(s="xml tag bracket",T(O,W,j)):(s="xml error",S)}function T(O,W,j){return O!="endTag"?(s="xml error",T):(D(j),w)}function S(O,W,j){return s="xml error",T(O,W,j)}function I(O,W,j){if(O=="word")return s="xml attribute",B;if(O=="endTag"||O=="selfcloseTag"){var K=j.tagName,H=j.tagStart;return j.tagName=j.tagStart=null,O=="selfcloseTag"||o.autoSelfClosers.hasOwnProperty(K)?F(j,K):(F(j,K),j.context=new E(j,K,H==j.indented)),w}return s="xml error",I}function B(O,W,j){return O=="equals"?P:(o.allowMissing||(s="xml error"),I(O,W,j))}function P(O,W,j){return O=="xml string"?L:O=="word"&&o.allowUnquoted?(s="xml string",I):(s="xml error",I(O,W,j))}function L(O,W,j){return O=="xml string"?L:I(O,W,j)}return{startState:function(O){var W={tokenize:c,state:w,indented:O||0,tagName:null,tagStart:null,context:null};return O!=null&&(W.baseIndent=O),W},token:function(O,W){if(!W.tagName&&O.sol()&&(W.indented=O.indentation()),O.eatSpace())return null;u=null;var j=W.tokenize(O,W);return(j||u)&&j!="xml comment"&&(s=null,W.state=W.state(u||j,O,W),s&&(j=s)),j},indent:function(O,W,j){var K=O.context;if(O.tokenize.isInAttribute)return O.tagStart==O.indented?O.stringStartCol+1:O.indented+r;if(K&&K.noIndent)return n.Pass;if(O.tokenize!=f&&O.tokenize!=c)return j?j.match(/^(\s*)/)[0].length:0;if(O.tagName)return o.multilineTagIndentPastTag!==!1?O.tagStart+O.tagName.length+2:O.tagStart+r*(o.multilineTagIndentFactor||1);if(o.alignCDATA&&/<!\[CDATA\[/.test(W))return 0;var H=W&&/^<(\/)?([\w_:\.-]*)/.exec(W),V=!0;if(H&&H[1])for(V=!1;K&&o.implicitlyClosed.hasOwnProperty(K.tagName);)K=K.prev;else if(H)for(;K;){var $=o.contextGrabbers[K.tagName];if($&&$.hasOwnProperty(H[2]))K=K.prev;else break}for(;K&&K.prev&&!K.startOfLine;)K=K.prev;if(K){var G=V?r:0;return K.indent+G}return O.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:o.htmlMode?"html":"xml",helperType:o.htmlMode?"html":"xml",skipAttribute:function(O){O.state==P&&(O.state=I)}}}),n.defineMIME("text/xml","xml"),n.defineMIME("application/xml","xml"),n.mimeModes.hasOwnProperty("text/html")||n.defineMIME("text/html",{name:"xml",htmlMode:!0})};return h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(195),l(102)],C=l.dj.d(A,function(y,m){return{__proto__:m,name:"ASAP2",blockBegin:{style:"keyword",token:"begin"},blockEnd:{style:"keyword",token:"end"},comment:{style:"comment"},setup:function(h){y(h);const n={name:"clike",keywords:{begin:!0,end:!0}};return h.defineMIME(this.name,n),h.getMode({},{name:this.name})}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(823),l(315)],C=l.dj.d(A,function(y,m){return{__proto__:m,setup:function(h){y(h);const d={name:"vhdl"};return h.getMode({},d)},detectBlockPath:function(h){const d=/<.+>\/*[a-z|A-Z|0-9|_]*/;return this.detectPattern(h,d,"blk",0)},blockBegin:[{style:"keyword",token:"IS"},{style:"keyword",token:"COMPONENT"},{style:"keyword",token:"THEN"},{style:"keyword",token:"PROCESS"}],blockEnd:[{style:"keyword",token:"END"},{style:"keyword",token:"ELSIF"}],comment:{style:"comment"}}},_,M),_.exports=C},function(_,M,l){var A,C;A=[],C=l.dj.d(A,function(){"use strict";function y(d){for(var n={},e=d.split(","),t=0;t<e.length;++t){var r=e[t].toUpperCase(),o=e[t].charAt(0).toUpperCase()+e[t].slice(1);n[e[t]]=!0,n[r]=!0,n[o]=!0}return n}function m(d){return d.eatWhile(/[\w\$_]/),"meta"}var h=function(n){n.defineMode("vhdl",function(e,t){var r=e.indentUnit,o=t.atoms||y("null"),a=t.hooks||{"`":m,$:m},i=t.multiLineStrings,u=y("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),s=y("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),c=/[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/,f;function p(w,x){var R=w.next();if(a[R]){var T=a[R](w,x);if(T!==!1)return T}if(R=='"')return x.tokenize=g(R),x.tokenize(w,x);if(R=="'")return x.tokenize=v(R),x.tokenize(w,x);if(/[\[\]{}\(\),;\:\.]/.test(R))return f=R,null;if(/[\d']/.test(R))return w.eatWhile(/[\w\.']/),"number";if(R=="-"&&w.eat("-"))return w.skipToEnd(),"comment";if(c.test(R))return w.eatWhile(c),"operator";w.eatWhile(/[\w\$_]/);var S=w.current();return u.propertyIsEnumerable(S.toLowerCase())?(s.propertyIsEnumerable(S)&&(f="newstatement"),"keyword"):o.propertyIsEnumerable(S)?"atom":"variable"}function v(w){return function(x,R){for(var T=!1,S,I=!1;(S=x.next())!=null;){if(S==w&&!T){I=!0;break}T=!T&&S=="--"}return(I||!(T||i))&&(R.tokenize=p),"string"}}function g(w){return function(x,R){for(var T=!1,S,I=!1;(S=x.next())!=null;){if(S==w&&!T){I=!0;break}T=!T&&S=="--"}return(I||!(T||i))&&(R.tokenize=p),"string-2"}}function E(w,x,R,T,S){this.indented=w,this.column=x,this.type=R,this.align=T,this.prev=S}function D(w,x,R){return w.context=new E(w.indented,x,R,null,w.context)}function F(w){var x=w.context.type;return(x==")"||x=="]"||x=="}")&&(w.indented=w.context.indented),w.context=w.context.prev}return{startState:function(w){return{tokenize:null,context:new E((w||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(w,x){var R=x.context;if(w.sol()&&(R.align==null&&(R.align=!1),x.indented=w.indentation(),x.startOfLine=!0),w.eatSpace())return null;f=null;var T=(x.tokenize||p)(w,x);if(T=="comment"||T=="meta")return T;if(R.align==null&&(R.align=!0),(f==";"||f==":")&&R.type=="statement")F(x);else if(f=="{")D(x,w.column(),"}");else if(f=="[")D(x,w.column(),"]");else if(f=="(")D(x,w.column(),")");else if(f=="}"){for(;R.type=="statement";)R=F(x);for(R.type=="}"&&(R=F(x));R.type=="statement";)R=F(x)}else f==R.type?F(x):(R.type=="}"||R.type=="top"||R.type=="statement"&&f=="newstatement")&&D(x,w.column(),"statement");return x.startOfLine=!1,T},indent:function(w,x){if(w.tokenize!=p&&w.tokenize!=null)return 0;var R=x&&x.charAt(0),T=w.context,S=R==T.type;return T.type=="statement"?T.indented+(R=="{"?0:r):T.align?T.column+(S?0:1):T.indented+(S?0:r)},electricChars:"{}"}}),n.defineMIME("text/x-vhdl","vhdl")};return h},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(317),l(316)],C=l.dj.d(A,function(y,m){return{__proto__:m,name:"SystemVerilog",setup:function(h){y(h);const d=h.mimeModes["text/x-systemverilog"],e={__proto__:d.keywords,alias:!0,endinterfac:!0,longint:!0,shortreal:!0,always_co:!0,endpackag:!0,mb:!0,matches:!0,always_ff:!0,always_lat:!0,modport:!0,solve:!0,ch:!0,endprogra:!0,assert:!0,endpropert:!0,new:!0,static:!0,assume:!0,string:!0,before:!0,endsequen:!0,ce:!0,struct:!0,bind:!0,super:!0,bins:!0,binsof:!0,enum:!0,bit:!0,break:!0,expect:!0,tagged:!0,export:!0,extends:!0,package:!0,this:!0,extern:!0,packed:!0,throughout:!0,byte:!0,final:!0,first_matc:!0,timeprecisi:!0,on:!0,timeunit:!0,priority:!0,chandle:!0,foreach:!0,program:!0,property:!0,clocking:!0,protected:!0,forkjoin:!0,const:!0,constraint:!0,context:!0,continue:!0,cover:!0,covergroup:!0,coverpoint:!0,cross:!0,type:!0,typedef:!0,union:!0,unique:!0,pure:!0,rand:!0,randc:!0,randcase:!0,randsequence:!0,ignore_bin:!0,illegal_bin:!0,import:!0,dist:!0,do:!0,virtual:!0,void:!0,wait_order:!0,ref:!0,interface:!0,intersect:!0,endclass:!0,endclockin:!0,join_any:!0,join_none:!0,sequence:!0,shortint:!0,with:!0,within:!0,wildcard:!0,endgroup:!0,local:!0,logic:!0},t={__proto__:d,keywords:e};return h.defineMIME(this.name,t),h.getMode({},{name:this.name})}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[l(102)],C=l.dj.d(A,function(y){return{__proto__:y,name:"Plain Text",parse:function(m){return m.split(`
|
||
`).map(function(n,e){return{id:e+1,rawCode:n,tokens:[{token:n,style:null}],cutoff:n.length,isCodeLine:!0}})},createScope:function(m){}}},_,M),_.exports=C},function(_,M,l){"use strict";var A,C;A=[],C=l.dj.d(A,function(){return{get:h,forward:o,back:r,init:m,getState:n,pushState:e,push:t,save:a,load:i,print:d};function m(){const u=window.cr;let s=this.get();if(s){const c=s.stack,f=s.id,p=c[f],v=u.data.files;s.stack=c.filter(function(E){return v.get(E.file)});const g=s.stack.indexOf(p);g===-1?s.id=s.stack.length:s.id=g}else{s={id:0,stack:[]};const c=u._config.model;this[c]=s}}function h(){const s=window.cr._config.model;return this[s]}function d(){const u=this.get(),c=u.stack.map(function(f,p){let v=f.file+":"+f.scroll.y;return p===u.id&&(v="*"+v),v});console.log(c.join(", "))}function n(){const s=window.cr.code,c=s.file;if(c){const f=s.grid;return{file:c,scroll:f.getScrollPosition(),selection:Object.keys(f.selection)}}}function e(u){const s=this.get();let c=s.id;const f=s.stack;f[c]=u;const p=f[c-1];p&&p.file===u.file&&p.scroll.y===u.scroll.y?(p.scroll=u.scroll,p.selection=u.selection):++c,s.id=c,f.length=c+1}function t(){const u=this.getState();u&&this.pushState(u)}function r(){const u=this.get(),s=u.id;if(s<=0)return;const c=u.stack;return c[s]=n(),u.id=s-1,c[u.id]}function o(){const u=this.get(),s=u.id,c=u.stack;if(!(s>=c.length-1))return c[s]=n(),u.id=s+1,c[u.id]}function a(){const u=this.get();if(u){const s=this.getState();s&&(u.stack[u.id]=s)}}function i(){const u=this.get();return u.stack[u.id]}},_,M),_.exports=C},function(_,M,l){var A,C;A=[l(43),l(48),l(53)],C=l.dj.d(A,function(y,m){return m(y,"",l.dj.c(),!0)},_,M),_.exports=C}]);
|