PageSourceSearch

https://kpp.al/_next/static/chunks/788-6f680435f7d86c3b17f9.js

js kpp.al collected 2026-10-02 00:16:02 UTC 69,463 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[788],{55517:function(t,e,r){"use strict";var n=r(22122),i=r(2949),o=r(67294),s=(r(45697),r(86010)),c=r(14670),u=r(59693),a=o.forwardRef((function(t,e){var r=t.absolute,c=void 0!==r&&r,u=t.classes,a=t.className,l=t.component,f=void 0===l?"hr":l,h=t.flexItem,d=void 0!==h&&h,p=t.light,b=void 0!==p&&p,v=t.orientation,y=void 0===v?"horizontal":v,m=t.role,g=void 0===m?"hr"!==f?"separator":void 0:m,w=t.variant,x=void 0===w?"fullWidth":w,E=(0,i.Z)(t,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return o.createElement(f,(0,n.Z)({className:(0,s.Z)(u.root,a,"fullWidth"!==x&&u[x],c&&u.absolute,d&&u.flexItem,b&&u.light,"vertical"===y&&u.vertical),role:g,ref:e},E))}));e.Z=(0,c.Z)((function(t){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:t.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,u.U1)(t.palette.divider,.08)},middle:{marginLeft:t.spacing(2),marginRight:t.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(a)},16453:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=class{constructor(t,e,r){this.ds=t,this.id=e,this.children=r,this.count=0}countNodes(t){var e=this;if(this.count++,!t||!Object.keys(t).length)return!1;t[this.children]&&t[this.children].forEach((t=>{e.countNodes(t)}))}findNodeById(t){const e=this;return this.countNodes(this.ds),new Promise(((r,n)=>{if(!t)return n(new Error("Parameter id is invalid."));!function t(r,n,i){e.count&&(r[e.id]===n?(e.count=0,i(null,r)):(1===e.count&&(e.count=0,i("The node doesn't exist.",null)),e.count--,r[e.children]&&r[e.children].forEach((e=>{t(e,n,i)}))))}(this.ds,t,((t,e)=>{t?n(new Error(t)):r(e)}))}))}matchConditions(t,e){var r=!0;return Object.keys(e).some((n=>{if("string"===typeof e[n]||"number"===typeof e[n]||"boolean"===typeof e[n]){if(t[n]!==e[n])return r=!1,!0}else if(e[n]instanceof RegExp){if(!e[n].test(t[n]))return r=!1,!0}else if("object"===typeof e[n]&&(Object.keys(e[n]).some((i=>{switch(i){case">":if(!(t[n]>e[n][i]))return r=!1,!0;break;case"<":if(!(t[n]<e[n][i]))return r=!1,!0;break;case">=":if(!(t[n]>=e[n][i]))return r=!1,!0;break;case"<=":if(!(t[n]<=e[n][i]))return r=!1,!0;break;case"!==":if(t[n]===e[n][i])return r=!1,!0}})),!r))return!1})),r}async findChildren(t){if(!t)throw new Error("Parameter id is invalid.");try{return(await this.findParent(t))[this.children]}catch(e){throw new Error("The child nodes don't exist.")}}findNodes(t){const e=this;return this.countNodes(this.ds),new Promise((async(r,n)=>{if(!t||!Object.keys(t).length)return n(new Error("Parameter conditions are invalid."));let i=[];!function t(r,n,o){e.count&&(e.matchConditions(r,n)?(i.push(r),1===e.count&&(e.count=0,o(i.length?null:"The nodes don't exist.",i.slice(0)))):1===e.count&&(e.count=0,o(i.length?null:"The nodes don't exist.",i.slice(0))),e.count--,r[e.children]&&r[e.children].forEach((e=>{t(e,n,o)})))}(this.ds,t,((t,e)=>{t?n(new Error(t)):r(e)}))}))}findParent(t){const e=this;return this.countNodes(this.ds),new Promise(((r,n)=>{if(!t)return n(new Error("Parameter id is invalid."));!function t(r,n,i){1===e.count?(e.count=0,i("The parent node doesn't exist.",null)):(e.count--,"undefined"!==typeof r[e.children]&&(r[e.children].forEach((function(t){t[e.id]===n&&(e.count=0,i(null,r))})),r[e.children].forEach((function(e){t(e,n,i)}))))}(this.ds,t,((t,e)=>{t?n(new Error(t)):r(e)}))}))}async findSiblings(t){const e=this;if(!t)throw new Error("Parameter id is invalid.");try{return(await this.findParent(t))[this.children].filter((r=>r[e.id]!==t))}catch(r){throw new Error("The sibling nodes don't exist.")}}findAncestors(t){const e=this;return new Promise((async(r,n)=>{if(!t)return n(new Error("Parameter id is invalid."));let i=[];try{r(await async function t(r){try{if(r===e.ds[e.id]){if(!i.length)throw new Error("The ancestor nodes don't exist.");return i.slice(0)}{const n=await e.findParent(r);return i.push(n),t(n[e.id])}}catch(n){throw new Error("The ancestor nodes don't exist.")}}(t))}catch(o){n(o)}}))}validateParams(t,e){if(!t)throw new Error("Parameter id is invali
1d.");if(!e||e.constructor!==Object&&e.constructor!==Array||e.constructor===Object&&!Object.keys(e).length||e.constructor===Array&&!e.length||e.constructor===Array&&e.length&&!e.every((t=>t&&t.constructor===Object&&Object.keys(t).length)))throw new Error("Parameter data is invalid.")}async addChildren(t,e){this.validateParams(t,e);try{const r=await this.findNodeById(t);e.constructor===Object?r[this.children]?r[this.children].push(e):r[this.children]=[e]:r[this.children]?r[this.children].push(...e):r[this.children]=e}catch(r){throw new Error("Failed to add child nodes.")}}async addSiblings(t,e){this.validateParams(t,e);try{const r=await this.findParent(t);e.constructor===Object?r[this.children].push(e):r[this.children].push(...e)}catch(r){throw new Error("Failed to add sibling nodes.")}}addRoot(t){if(!t||t.constructor!==Object||t.constructor===Object&&!Object.keys(t).length)throw new Error("Parameter data is invalid.");try{this.ds[this.children]=[Object.assign({},this.ds)],delete t[this.children],Object.keys(this.ds).filter((t=>t!==this.children)).forEach((e=>{t[e]||delete this.ds[e]})),Object.assign(this.ds,t)}catch(e){throw new Error("Failed to add root node.")}}async updateNode(t){if(!t||t.constructor!==Object||t.constructor===Object&&!Object.keys(t).length||t.constructor===Object&&Object.keys(t).length&&!t[this.id])throw new Error("Parameter data is invalid.");try{const e=await this.findNodeById(t[this.id]);Object.assign(e,t)}catch(e){throw new Error("Failed to update node.")}}async updateNodes(t,e){const r=this;if(!t||t.constructor===Array&&!t.length||!e)throw new Error("Input parameter is invalid.");try{for(const n of t)e[r.id]=n,await this.updateNode(e)}catch(n){throw n}}async removeNode(t){const e=this;if(t===this.ds[this.id])throw new Error("Input parameter is invalid.");const r=await this.findParent(t),n=r[this.children].map((t=>t[e.id])).indexOf(t);r[this.children].splice(n,1),this.count=0}async removeNodes(t){const e=this;if(!t||t.constructor===Array&&!t.length||t.constructor===Object&&!Object.keys(t).length)throw new Error("Input parameter is invalid.");try{if(t.constructor===String||t.constructor===Number)await this.removeNode(t);else if(t.constructor===Array)for(const e of t)await this.removeNode(e);else{const r=(await this.findNodes(t)).map((t=>t[e.id]));for(const t of r)await this.removeNode(t)}}catch(r){throw new Error("Failed to remove nodes.")}}}},62060:function(t,e,r){"use strict";e.Z=void 0;var n=d(r(67294)),i=u(r(45697)),o=r(6326),s=u(r(16453)),c=u(r(89953));function u(t){return t&&t.__esModule?t:{default:t}}function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return h=function(){return t},t}function d(t){if(t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!==typeof t)return{default:t};var e=h();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=n?Object.getOwnPropertyDescriptor(t,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=t[i]}return r.default=t,e&&e.set(t,r),r}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var r=[],n=!0,i=!1,o=void 0;try{for(var s,c=t[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}
1(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var b={datasource:i.default.object.isRequired,pan:i.default.bool,zoom:i.default.bool,zoomoutLimit:i.default.number,zoominLimit:i.default.number,containerClass:i.default.string,chartClass:i.default.string,NodeTemplate:i.default.elementType,draggable:i.default.bool,collapsible:i.default.bool,multipleSelect:i.default.bool,onClickNode:i.default.func,onClickChart:i.default.func},v=(0,n.forwardRef)((function(t,e){var i=t.datasource,u=t.pan,a=t.zoom,h=t.zoomoutLimit,b=t.zoominLimit,v=t.containerClass,y=t.chartClass,m=t.NodeTemplate,g=t.draggable,w=t.collapsible,x=t.multipleSelect,E=t.onClickNode,S=t.onClickChart,_=(0,n.useRef)(),O=(0,n.useRef)(),j=(0,n.useRef)(),N=p((0,n.useState)(0),2),T=N[0],I=N[1],P=p((0,n.useState)(0),2),C=P[0],k=P[1],A=p((0,n.useState)(""),2),D=A[0],Z=A[1],L=p((0,n.useState)(!1),2),M=L[0],F=L[1],V=p((0,n.useState)("default"),2),R=V[0],Y=V[1],q=p((0,n.useState)(!1),2),H=q[0],z=q[1],U=p((0,n.useState)(""),2),W=U[0],B=U[1],G=p((0,n.useState)(""),2),J=G[0],X=G[1],K=p((0,n.useState)(i),2),Q=K[0],$=K[1];(0,n.useEffect)((function(){$(i)}),[i]);var tt=new s.default(i,"id","children");return(0,n.useImperativeHandle)(e,(function(){return{exportTo:function(t,e){t=t||"OrgChart",e=e||"png",z(!0);var n=_.current.scrollLeft;_.current.scrollLeft=0;var i=_.current.scrollTop;_.current.scrollTop=0,Promise.resolve().then((function(){return d(r(61120))})).then((function(o){o(O.current,{width:O.current.clientWidth,height:O.current.clientHeight,onclone:function(t){t.querySelector(".orgchart").style.background="none",t.querySelector(".orgchart").style.transform=""}}).then((function(o){"pdf"===e.toLowerCase()?function(t,e){Promise.resolve().then((function(){return d(r(19832))})).then((function(r){var n=Math.floor(t.width),i=Math.floor(t.height),o=new r(n>i?{orientation:"landscape",unit:"px",format:[n,i]}:{orientation:"portrait",unit:"px",format:[i,n]});o.addImage(t.toDataURL("image/jpeg",1),"JPEG",0,0),o.save(e+".pdf")}))}(o,t):function(t,e){var r="WebkitAppearance"in document.documentElement.style,n=!!window.sidebar,i="Microsoft Internet Explorer"===navigator.appName||"Netscape"===navigator.appName&&navigator.appVersion.indexOf("Edge")>-1;!r&&!n||i?window.navigator.msSaveBlob(t.msToBlob(),e+".png"):(B(t.toDataURL()),X(e+".png"),j.current.click())}(o,t),z(!1),_.current.scrollLeft=n,_.current.scrollTop=i}),(function(){z(!1),_.current.scrollLeft=n,_.current.scrollTop=i}))}))},expandAllNodes:function(){O.current.querySelectorAll(".oc-node.hidden, .oc-hierarchy.hidden, .isSiblingsCollapsed, .isAncestorsCollapsed").forEach((function(t){t.classList.remove("hidden","isSiblingsCollapsed","isAncestorsCollapsed")}))}}})),n.default.createElement("div",{ref:_,className:"orgchart-container "+v,onWheel:a?function(t){!function(t){var e=[],r=1;""===D?Z("matrix("+t+", 0, 0, "+t+", 0, 0)"):(e=D.split(","),-1===D.indexOf("3d")?(r=Math.abs(window.parseFloat(e[3])*t))>h&&r<b&&(e[0]="matrix("+r,e[3]=r,Z(e.join(","))):(r=Math.abs(window.parseFloat(e[5])*t))>h&&r<b&&(e[0]="matrix3d("+r,e[5]=r,Z(e.join(","))))}(1+(t.deltaY>0?-.2:.2))}:void 0,onMouseUp:u&&M?function(){F(!1),Y("default")}:void 0},n.default.createElement("div",{ref:O,className:"orgchart "+y,style:{transform:D,cursor:R},onClick:function(t){t.target.closest(".oc-node")||(S&&S(),o.selectNodeService.clearSelectedNodeInfo())},onMouseDown:u?function(t){if(t.target.closest(".oc-node"))F(!1);else{F(!0),Y("move");var e=0,r=0;if(""!==D){var n=D.split(",");-1===D.indexOf("3d")?(e=parseInt(n[4]),r=parseInt(n[5])):(e=parseInt(n[12]),r=parseInt(n[13]))}if(t.targetTouches){if(1===t.targetTouches.length)I(t.targetTouches[0].pageX-e),k(t.targetTouches[0].pageY-r);else if(t.targetTouches.length>1)return}else I(t.pageX-e),k(t.pageY-r)}}:void 0,onMouseMove:u&&M?function(t){var e=0,r=0;if(t.targetTouches){if(1===t.targetTouches.length)e=t.targetTouches[0].pageX-T,r=t.targetTouches[0].pageY-C;else if(t.targetTouches.length>1)return}else e=t.pageX-T,r=t.pageY-C;if(""===D)-1===D.indexOf("3d")?Z("matrix(1,0,0,1,"+e+","+r+")"):Z("matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,"+e+", "+r+",0,1)");else{var n=D.split(",");-1===D.indexOf("3d")?(n[4]=e,n[5]=r+")"):(n[12]=e,n[13]=r),Z(n.join(","))}}:void 0},n.default.createElement("ul",null,n.default.createElement(c.default,{datasource:function t(e,r){return e.relationship=r+(e.children&&e.children.length>
10?1:0),e.children&&e.children.forEach((function(r){t(r,"1"+(e.children.length>1?1:0))})),e}(Q,"00"),NodeTemplate:m,draggable:g,collapsible:w,multipleSelect:x,changeHierarchy:function(t,e){return tt.removeNode(t.id).then((function(){return tt.addChildren(e,t)})).then((function(){$(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},tt.ds))}))},onClickNode:E}))),n.default.createElement("a",{className:"oc-download-btn hidden",ref:j,href:W,download:J},"\xa0"),n.default.createElement("div",{className:"oc-mask ".concat(H?"":"hidden")},n.default.createElement("i",{className:"oci oci-spinner spinner"})))}));v.propTypes=b,v.defaultProps={pan:!1,zoom:!1,zoomoutLimit:.5,zoominLimit:7,containerClass:"",chartClass:"",draggable:!1,collapsible:!0,multipleSelect:!1};var y=v;e.Z=y},89953:function(t,e,r){"use strict";function n(t){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i,o=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!==typeof t)return{default:t};var e=u();if(e&&e.has(t))return e.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}r.default=t,e&&e.set(t,r);return r}(r(67294)),s=(i=r(45697))&&i.__esModule?i:{default:i},c=r(6326);function u(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return u=function(){return t},t}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var r=[],n=!0,i=!1,o=void 0;try{for(var s,c=t[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var d={datasource:s.default.object,NodeTemplate:s.default.elementType,draggable:s.default.bool,collapsible:s.default.bool,multipleSelect:s.default.bool,changeHierarchy:s.default.func,onClickNode:s.default.func},p=function t(e){var r=e.datasource,n=e.NodeTemplate,i=e.draggable,s=e.collapsible,u=e.multipleSelect,d=e.changeHierarchy,p=e.onClickNode,b=(0,o.useRef)(),v=h((0,o.useState)(!1),2),y=v[0],m=v[1],g=h((0,o.useState)(),2),w=g[0],x=g[1],E=h((0,o.useState)(),2),S=E[0],_=E[1],O=h((0,o.useState)(),2),j=O[0],N=O[1],T=h((0,o.useState)(),2),I=T[0],P=T[1],C=h((0,o.useState)(!1),2),k=C[0],A=C[1],D=h((0,o.useState)(!1),2),Z=D[0],L=D[1],M=["oc-node",y?"isChildrenCollapsed":"",k?"allowedDrop":"",Z?"selected":""].filter((function(t){return t})).join(" ");(0,o.useEffect)((function(){var t=c.dragNodeService.getDragInfo().subscribe((function(t){A(!!t&&!document.querySelector("#"+t.draggedNodeId).closest("li").querySelector("#"+b.current.id))}
1)),e=c.selectNodeService.getSelectedNodeInfo().subscribe((function(t){t?u?t.selectedNodeId===r.id&&L(!0):L(t.selectedNodeId===r.id):L(!1)}));return function(){t.unsubscribe(),e.unsubscribe()}}),[u,r]);var F=function t(e){var r=e.parentNode.closest("li");if(r)if(r.firstChild.classList.contains("hidden"))e.classList.remove("isAncestorsCollapsed"),r.firstChild.classList.remove("hidden");else{var n,i=Array.from(e.parentNode.children).some((function(t){return t.classList.contains("hidden")}));i||V(e),(n=e.classList).add.apply(n,f(("isAncestorsCollapsed"+(i?"":" isSiblingsCollapsed")).split(" "))),r.firstChild.classList.add("hidden"),r.parentNode.closest("li")&&!r.parentNode.closest("li").firstChild.classList.contains("hidden")&&t(r)}},V=function(t){var e=t.previousSibling,r=Array.from(t.parentNode.children).some((function(t){return t.classList.contains("hidden")}));for(t.classList.toggle("isSiblingsCollapsed",!r);e;)r?e.classList.remove("hidden"):e.classList.add("hidden"),e=e.previousSibling;for(e=t.nextSibling;e;)r?e.classList.remove("hidden"):e.classList.add("hidden"),e=e.nextSibling;t.parentNode.closest("li").firstChild.classList.contains("hidden")&&F(t)},R=function(t){t.stopPropagation(),P(!I),_(!S),V(t.target.closest("li"))};return o.default.createElement("li",{className:"oc-hierarchy"},o.default.createElement("div",{ref:b,id:r.id,className:M,draggable:i?"true":void 0,onClick:function(t){p&&p(r),c.selectNodeService.sendSelectedNodeInfo(r.id)},onDragStart:function(t){var e,n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},r);delete n.relationship,t.dataTransfer.setData("text/plain",JSON.stringify(n)),e=b.current.id,c.dragNodeService.sendDragInfo(e)},onDragOver:function(t){t.preventDefault()},onDragEnd:function(){c.dragNodeService.clearDragInfo()},onDrop:function(t){t.currentTarget.classList.contains("allowedDrop")&&(c.dragNodeService.clearDragInfo(),d(JSON.parse(t.dataTransfer.getData("text/plain")),t.currentTarget.id))},onMouseEnter:function(t){var e=t.target.closest("li"),r=e.parentNode.closest("li"),n=e&&r?r.firstChild.classList.contains("hidden"):void 0,i=Array.from(e.parentNode.children).some((function(t){return t.classList.contains("hidden")}));x(!n),_(!i),P(!i),N(!y)},onMouseLeave:function(){x(void 0),_(void 0),N(void 0),P(void 0)}},n?o.default.createElement(n,{nodeData:r}):o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:"oc-heading"},r.relationship&&"1"===r.relationship.charAt(2)&&o.default.createElement("i",{className:"oci oci-leader oc-symbol"}),r.name),o.default.createElement("div",{className:"oc-content"},r.title)),s&&r.relationship&&"1"===r.relationship.charAt(0)&&o.default.createElement("i",{className:"oc-edge verticalEdge topEdge oci ".concat(void 0===w?"":w?"oci-chevron-down":"oci-chevron-up"),onClick:function(t){t.stopPropagation(),x(!w),F(t.target.closest("li"))}}),s&&r.relationship&&"1"===r.relationship.charAt(1)&&o.default.createElement(o.default.Fragment,null,o.default.createElement("i",{className:"oc-edge horizontalEdge rightEdge oci ".concat(void 0===S?"":S?"oci-chevron-left":"oci-chevron-right"),onClick:R}),o.default.createElement("i",{className:"oc-edge horizontalEdge leftEdge oci ".concat(void 0===I?"":I?"oci-chevron-right":"oci-chevron-left"),onClick:R})),s&&r.relationship&&"1"===r.relationship.charAt(2)&&o.default.createElement("i",{className:"oc-edge verticalEdge bottomEdge oci ".concat(void 0===j?"":j?"oci-chevron-up":"oci-chevron-down"),onClick:function(t){t.stopPropagation(),m(!y),N(!j)}})),r.children&&r.children.length>0&&o.default.createElement("ul",{className:y?"hidden":""},r.children.map((function(e){return o.default.createElement(t,{datasource:e,NodeTemplate:n,id:e.id,key:e.id,draggable:i,collapsible:s,multipleSelect:u,changeHierarchy:d,onClickNode:p})}))))};
1p.propTypes=d,p.defaultProps={draggable:!1,collapsible:!0,multipleSelect:!1};var b=p;e.default=b},6326:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.selectNodeService=e.dragNodeService=void 0;var n=r(78975),i=new n.Subject,o=new n.Subject,s={sendDragInfo:function(t){return i.next({draggedNodeId:t})},clearDragInfo:function(){return i.next()},getDragInfo:function(){return i.asObservable()}};e.dragNodeService=s;var c={sendSelectedNodeInfo:function(t){return o.next({selectedNodeId:t})},clearSelectedNodeInfo:function(){return o.next()},getSelectedNodeInfo:function(){return o.asObservable()}};e.selectNodeService=c},78975:function(t,e,r){"use strict";r.r(e),r.d(e,{ArgumentOutOfRangeError:function(){return Et},AsyncSubject:function(){return nt},BehaviorSubject:function(){return Z},ConnectableObservable:function(){return C},EMPTY:function(){return q},EmptyError:function(){return St},GroupedObservable:function(){return A},NEVER:function(){return ye},Notification:function(){return Q},NotificationKind:function(){return U},ObjectUnsubscribedError:function(){return _},Observable:function(){return E},ReplaySubject:function(){return et},Scheduler:function(){return F},Subject:function(){return N},Subscriber:function(){return b},Subscription:function(){return h},TimeoutError:function(){return _t},UnsubscriptionError:function(){return f},VirtualAction:function(){return gt},VirtualTimeScheduler:function(){return mt},animationFrame:function(){return yt},animationFrameScheduler:function(){return vt},asap:function(){return ht},asapScheduler:function(){return ft},async:function(){return pt},asyncScheduler:function(){return dt},bindCallback:function(){return Tt},bindNodeCallback:function(){return Ct},combineLatest:function(){return zt},concat:function(){return ne},config:function(){return s},defer:function(){return ie},empty:function(){return H},forkJoin:function(){return oe},from:function(){return Gt},fromEvent:function(){return ce},fromEventPattern:function(){return ae},generate:function(){return le},identity:function(){return g},iif:function(){return he},interval:function(){return pe},isObservable:function(){return xt},merge:function(){return ve},never:function(){return me},noop:function(){return wt},observable:function(){return m},of:function(){return J},onErrorResumeNext:function(){return ge},pairs:function(){return we},partition:function(){return je},pipe:function(){return w},queue:function(){return Y},queueScheduler:function(){return R},race:function(){return Ne},range:function(){return Pe},scheduled:function(){return Bt},throwError:function(){return X},timer:function(){return ke},using:function(){return De},zip:function(){return Ze}});var n=r(70655);function i(t){return"function"===typeof t}var o=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack;o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function c(t){setTimeout((function(){throw t}),0)}var u={closed:!0,next:function(t){},error:function(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;c(t)},complete:function(){}},a=function(){return Array.isArray||function(t){return t&&"number"===typeof t.length}}();function l(t){return null!==t&&"object"===typeof t}var f=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),h=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var e;if(!this.closed){var r=this,n=r._parentOrParents,o=r._ctorUnsubscribe,s=r._unsubscribe,c=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var u=0;u<n.length;++u){n[u].remove(this)}if(i(s)){o&&(this._unsubscribe=void 0);try{s.call(this)}catch(b){e=b instanceof f?d(b.errors):[b]}}if(a(c)){u=-1;for(var h=c.length;++u<h;){var p=c[u];if(l(p))try{p.unsubscribe()}catch(b){e=e||[],b instanceof f?e=e.concat(d(b.errors)):e.push(b)}}}if(e)throw new f(e)}},t.prototype.add=function(e){var r=e;if(!e)return t.EMPTY;switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||"function"!==typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof t)){var n=r;(r=new t)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof t){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.push(r),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function d(t){return t.reduce((function(t,e){return t.concat(e instanceof f?e.errors:e)}),[])}var p=function(){return"function"===typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),b=function(t){function e(r,n,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=u;break;case 1:if(!r){o.destination=u;break}if("object"===typeof r){r instanceof e?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new v(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new v(o,r,n,i)}return o}return n.ZT(e,t),e.prototype[p]=function(){return this},e.create=function(t,r,n){var i=new e(t,r,n);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(h),v=function(t){function e(e,r,n,o){var s,c=t.call(this)||this;c._parentSubscriber=e;var a=c;return i(r)?s=r:r&&(s=r.next,n=r.error,o=r.complete,r!==u&&(i((a=Object.create(r)).unsubscribe)&&c.add(a.unsubscribe.bind(a)),a.unsubscribe=c.unsubscribe.bind(c))),c._context=a,c._next=s,c._error=n,c._complete=o,c}return n.ZT(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,r=s.useDeprecatedSynchronousErrorHandling;if(this._error)r&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=t,e.syncErrorThrown=!0):c(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;c(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(r){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw r;c(r)}},e.prototype.__tryOrSetError=function(t,e,r){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(n){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(c(n),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(b);function y(t){for(;t;){var e=t,r=e.closed,n=e.destination,i=e.isStopped;
vendor: 5,158 bytes, line 1
1if(r||i)return!1;t=n&&n instanceof b?n:null}return!0}var m=function(){return"function"===typeof Symbol&&Symbol.observable||"@@observable"}();function g(t){return t}function w(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return x(t)}function x(t){return 0===t.length?g:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var E=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=function(t,e,r){if(t){if(t instanceof b)return t;if(t[p])return t[p]()}return t||e||r?new b(t,e,r):new b(u)}(t,e,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){s.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),y(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=S(e))((function(e,n){var i;i=r.subscribe((function(e){try{t(e)}catch(r){n(r),i&&i.unsubscribe()}}),n,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[m]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:x(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=S(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function S(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var _=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}(),O=function(t){function e(e,r){var n=t.call(this)||this;return n.subject=e,n.subscriber=r,n.closed=!1,n}return n.ZT(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var r=e.indexOf(this.subscriber);-1!==r&&e.splice(r,1)}}},e}(h),j=function(t){function e(e){var r=t.call(this,e)||this;return r.destination=e,r}return n.ZT(e,t),e}(b),N=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return n.ZT(e,t),e.prototype[p]=function(){return new j(this)},e.prototype.lift=function(t){var e=new T(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new _;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new _;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new _;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new _;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new _;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new O(this,t))},e.prototype.asObservable=function(){var t=new E;return t.source=this,t},e.create=function(t,e){return new T(t,e)},e}(E),T=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return n.ZT(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):h.EMPTY},e}(N);var I=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new P(t,r),i=e.subscribe(n);return n.closed||(n.connection=r.connect()),i},t}(),P=function(t){function e(e,r){var n=t.call(this,e)||this;return n.connectable=r,n}return n.ZT(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},e}(b),C=function(t){function e(e,r){var n=t.call(this)||this;return n.source=e,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return n.ZT(e,t),e.prototype._subscribe=function(t){return this.get
1Subject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new h).add(this.source.subscribe(new k(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t},e.prototype.refCount=function(){return(t=this).lift(new I(t));var t},e}(E),k=function(t){function e(e,r){var n=t.call(this,e)||this;return n.connectable=r,n}return n.ZT(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(j);var A=function(t){function e(e,r,n){var i=t.call(this)||this;return i.key=e,i.groupSubject=r,i.refCountSubscription=n,i}return n.ZT(e,t),e.prototype._subscribe=function(t){var e=new h,r=this.refCountSubscription,n=this.groupSubject;return r&&!r.closed&&e.add(new D(r)),e.add(n.subscribe(t)),e},e}(E),D=function(t){function e(e){var r=t.call(this)||this;return r.parent=e,e.count++,r}return n.ZT(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(h),Z=function(t){function e(e){var r=t.call(this)||this;return r._value=e,r}return n.ZT(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);return r&&!r.closed&&e.next(this._value),r},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new _;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(N),L=function(t){function e(e,r){var n=t.call(this,e,r)||this;
vendor: 1,410 bytes, line 1
1return n.scheduler=e,n.work=r,n.pending=!1,n}return n.ZT(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this},e.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),setInterval(t.flush.bind(t,this),r)},e.prototype.recycleAsyncId=function(t,e,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var r=!1,n=void 0;try{this.work(t)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,r=e.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,r){return t.call(this)||this}return n.ZT(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(h)),M=function(t){function e(e,r){var n=t.call(this,e,r)||this;
1return n.scheduler=e,n.work=r,n}return n.ZT(e,t),e.prototype.schedule=function(e,r){return void 0===r&&(r=0),r>0?t.prototype.schedule.call(this,e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,r){return r>0||this.closed?t.prototype.execute.call(this,e,r):this._execute(e,r)},e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?t.prototype.requestAsyncId.call(this,e,r,n):e.flush(this)},e}(L),F=function(){function t(e,r){void 0===r&&(r=t.now),this.SchedulerAction=e,this.now=r}return t.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},t.now=function(){return Date.now()},t}(),V=function(t){function e(r,n){void 0===n&&(n=F.now);var i=t.call(this,r,(function(){return e.delegate&&e.delegate!==i?e.delegate.now():n()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return n.ZT(e,t),e.prototype.schedule=function(r,n,i){return void 0===n&&(n=0),e.delegate&&e.delegate!==this?e.delegate.schedule(r,n,i):t.prototype.schedule.call(this,r,n,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}},e}(F),R=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.ZT(e,t),e}(V))(M),Y=R,q=new E((function(t){return t.complete()}));function H(t){return t?function(t){return new E((function(e){return t.schedule((function(){return e.complete()}))}))}(t):q}function z(t){return t&&"function"===typeof t.schedule}var U,W=function(t){return function(e){for(var r=0,n=t.length;r<n&&!e.closed;r++)e.next(t[r]);e.complete()}};function B(t,e){return new E((function(r){var n=new h,i=0;return n.add(e.schedule((function(){i!==t.length?(r.next(t[i++]),r.closed||n.add(this.schedule())):r.complete()}))),n}))}function G(t,e){return e?B(t,e):new E(W(t))}function J(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t[t.length-1];return z(r)?(t.pop(),B(t,r)):G(t)}function X(t,e){return new E(e?function(r){return e.schedule(K,0,{error:t,subscriber:r})}:function(e){return e.error(t)})}function K(t){var e=t.error;t.subscriber.error(e)}U||(U={});var Q=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,r){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}},t.prototype.accept=function(t,e,r){return t&&"function"===typeof t.next?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){switch(this.kind){case"N":return J(this.value);case"E":return X(this.error);case"C":return H()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return"undefined"!==typeof e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();var $=function(t){function e(e,r,n){void 0===n&&(n=0);var i=t.call(this,e)||this;
1return i.scheduler=r,i.delay=n,i}return n.ZT(e,t),e.dispatch=function(t){var e=t.notification,r=t.destination;e.observe(r),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new tt(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(Q.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(Q.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(Q.createComplete()),this.unsubscribe()},e}(b),tt=function(){return function(t,e){this.notification=t,this.destination=e}}(),et=function(t){function e(e,r,n){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=n,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return n.ZT(e,t),e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var r=this._events;r.push(e),r.length>this._bufferSize&&r.shift()}t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new rt(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=n.length;if(this.closed)throw new _;if(this.isStopped||this.hasError?e=h.EMPTY:(this.observers.push(t),e=new O(this,t)),i&&t.add(t=new $(t,i)),r)for(var s=0;s<o&&!t.closed;s++)t.next(n[s]);else for(s=0;s<o&&!t.closed;s++)t.next(n[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||Y).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,r=this._windowTime,n=this._events,i=n.length,o=0;o<i&&!(t-n[o].time<r);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&n.splice(0,o),n},e}(N),rt=function(){return function(t,e){this.time=t,this.value=e}}(),nt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return n.ZT(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),h.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),h.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(N),it=1,ot=function(){return Promise.resolve()}(),st={};function ct(t){return t in st&&(delete st[t],!0)}var ut=function(t){var e=it++;return st[e]=!0,ot.then((function(){return ct(e)&&t()})),e},at=function(t){ct(t)},lt=function(t){function e(e,r){var n=t.call(this,e,r)||this;
1return n.scheduler=e,n.work=r,n}return n.ZT(e,t),e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.actions.push(this),e.scheduled||(e.scheduled=ut(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,n);0===e.actions.length&&(at(r),e.scheduled=void 0)},e}(L),ft=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.ZT(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,r=this.actions,n=-1,i=r.length;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n<i&&(t=r.shift()));if(this.active=!1,e){for(;++n<i&&(t=r.shift());)t.unsubscribe();throw e}},e}(V))(lt),ht=ft,dt=new V(L),pt=dt,bt=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return n.ZT(e,t),e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,n);0===e.actions.length&&(cancelAnimationFrame(r),e.scheduled=void 0)},e}(L),vt=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.ZT(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,r=this.actions,n=-1,i=r.length;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while(++n<i&&(t=r.shift()));if(this.active=!1,e){for(;++n<i&&(t=r.shift());)t.unsubscribe();throw e}},e}(V))(bt),yt=vt,mt=function(t){function e(e,r){void 0===e&&(e=gt),void 0===r&&(r=Number.POSITIVE_INFINITY);var n=t.call(this,e,(function(){return n.frame}))||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return n.ZT(e,t),e.prototype.flush=function(){for(var t,e,r=this.actions,n=this.maxFrames;(e=r[0])&&e.delay<=n&&(r.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=r.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(V),gt=function(t){function e(e,r,n){void 0===n&&(n=e.index+=1);var i=t.call(this,e,r)||this;
1return i.scheduler=e,i.work=r,i.index=n,i.active=!0,i.index=e.index=n,i}return n.ZT(e,t),e.prototype.schedule=function(r,n){if(void 0===n&&(n=0),!this.id)return t.prototype.schedule.call(this,r,n);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(r,n)},e.prototype.requestAsyncId=function(t,r,n){void 0===n&&(n=0),this.delay=t.frame+n;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,r){void 0===r&&(r=0)},e.prototype._execute=function(e,r){if(!0===this.active)return t.prototype._execute.call(this,e,r)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(L);function wt(){}function xt(t){return!!t&&(t instanceof E||"function"===typeof t.lift&&"function"===typeof t.subscribe)}var Et=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),St=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),_t=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}();function Ot(t,e){return function(r){if("function"!==typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new jt(t,e))}}var jt=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Nt(t,this.project,this.thisArg))},t}(),Nt=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.project=r,i.count=0,i.thisArg=n||i,i}return n.ZT(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(e)},e}(b);function Tt(t,e,r){if(e){if(!z(e))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return Tt(t,r).apply(void 0,n).pipe(Ot((function(t){return a(t)?e.apply(void 0,t):e(t)})))};r=e}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i,o=this,s={context:o,subject:i,callbackFunc:t,scheduler:r};return new E((function(n){if(r){var c={args:e,subscriber:n,params:s};return r.schedule(It,0,c)}if(!i){i=new nt;try{t.apply(o,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];i.next(t.length<=1?t[0]:t),i.complete()}]))}catch(u){y(i)?i.error(u):console.warn(u)}}return i.subscribe(n)}))}}function It(t){var e=this,r=t.args,n=t.subscriber,i=t.params,o=i.callbackFunc,s=i.context,c=i.scheduler,u=i.subject;if(!u){u=i.subject=new nt;try{o.apply(s,r.concat([function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t.length<=1?t[0]:t;e.add(c.schedule(Pt,0,{value:n,subject:u}))}]))}catch(a){u.error(a)}}this.add(u.subscribe(n))}function Pt(t){var e=t.value,r=t.subject;r.next(e),r.complete()}function Ct(t,e,r){if(e){if(!z(e))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return Ct(t,r).apply(void 0,n).pipe(Ot((function(t){return a(t)?e.apply(void 0,t):e(t)})))};r=e}return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i={subject:void 0,args:e,callbackFunc:t,scheduler:r,context:this};return new E((function(n){var o=i.context,s=i.subject;if(r)return r.schedule(kt,0,{params:i,subscriber:n,context:o});if(!s){s=i.subject=new nt;try{t.apply(o,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t.shift();r?s.error(r):(s.next(t.length<=1?t[0]:t),s.complete())}]))}catch(c){y(s)?s.error(c):console.warn(c)}}return s.subscribe(n)}))}}function kt(t){var e=this,r=t.params,n=t.subscriber,i=t.context,o=r.callbackFunc,s=r.args,c=r.scheduler,u=r.subject;if(!u){u=r.subject=new nt;try{o.apply(i,s.concat([function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t.shift();if(n)e.add(c.schedule(Dt,0,{err:n,subject:u}));else{var i=t.length<=1?t[0]:t;e.add(c.schedule(At,0,{value:i,subject:u}))}}]))}catch(a){this.add(c.schedule(Dt,0,{err:a,subject:u}))}}this.add(u.subscribe(n))}function At(t){var e=t.value,r=t.subject;r.next(e),r.complete()}function Dt(t){var e=t.err;t.subject.error(e)}var Zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.ZT(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(b),Lt=function(t){function e(e,r,n){var i=t.call(this)||this;return i.parent=e,i.outerValue=r,i.outerIndex=n,i.index=0,i}return n.ZT(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(b);function Mt(){return"function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Ft=Mt(),Vt=function(t){return t&&"number"===typeof t.length&&"function"!==typeof t};function Rt(t){return!!t&&"function"!==typeof t.subscribe&&"function"===typeof t.then}var Yt=function(t){if(t&&"function"===typeof t[m])return n=t,function(t){var e=n[m]();if("function"!==typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Vt(t))return W(t);if(Rt(t))return r=t,function(t){return r.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,c),t};if(t&&"function"===typeof t[Ft])return e=t,function(t){for(var r=e[Ft]();;){var n=void 0;try{n=r.next()}catch(i){return t.error(i),t}if(n.done){t.complete();break}if(t.next(n.value),t.closed)break}return"function"===typeof r.return&&t.add((function(){r.return&&r.return()})),t};
1var e,r,n,i=l(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function qt(t,e,r,n,i){if(void 0===i&&(i=new Lt(t,r,n)),!i.closed)return e instanceof E?e.subscribe(i):Yt(e)(i)}var Ht={};function zt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=void 0,n=void 0;return z(t[t.length-1])&&(n=t.pop()),"function"===typeof t[t.length-1]&&(r=t.pop()),1===t.length&&a(t[0])&&(t=t[0]),G(t,n).lift(new Ut(r))}var Ut=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Wt(t,this.resultSelector))},t}(),Wt=function(t){function e(e,r){var n=t.call(this,e)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return n.ZT(e,t),e.prototype._next=function(t){this.values.push(Ht),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var r=0;r<e;r++){var n=t[r];this.add(qt(this,n,void 0,r))}}},e.prototype.notifyComplete=function(t){0===(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r){var n=this.values,i=n[r],o=this.toRespond?i===Ht?--this.toRespond:this.toRespond:0;n[r]=e,0===o&&(this.resultSelector?this._tryResultSelector(n):this.destination.next(n.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(r){return void this.destination.error(r)}this.destination.next(e)},e}(Zt);function Bt(t,e){if(null!=t){if(function(t){return t&&"function"===typeof t[m]}(t))return function(t,e){return new E((function(r){var n=new h;return n.add(e.schedule((function(){var i=t[m]();n.add(i.subscribe({next:function(t){n.add(e.schedule((function(){return r.next(t)})))},error:function(t){n.add(e.schedule((function(){return r.error(t)})))},complete:function(){n.add(e.schedule((function(){return r.complete()})))}}))}))),n}))}(t,e);if(Rt(t))return function(t,e){return new E((function(r){var n=new h;return n.add(e.schedule((function(){return t.then((function(t){n.add(e.schedule((function(){r.next(t),n.add(e.schedule((function(){return r.complete()})))})))}),(function(t){n.add(e.schedule((function(){return r.error(t)})))}))}))),n}))}(t,e);if(Vt(t))return B(t,e);if(function(t){return t&&"function"===typeof t[Ft]}(t)||"string"===typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new E((function(r){var n,i=new h;return i.add((function(){n&&"function"===typeof n.return&&n.return()})),i.add(e.schedule((function(){n=t[Ft](),i.add(e.schedule((function(){if(!r.closed){var t,e;try{var i=n.next();t=i.value,e=i.done}catch(o){return void r.error(o)}e?r.complete():(r.next(t),this.schedule())}})))}))),i}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function Gt(t,e){return e?Bt(t,e):t instanceof E?t:new E(Yt(t))}var Jt=function(t){function e(e){var r=t.call(this)||this;return r.parent=e,r}return n.ZT(e,t),e.prototype._next=function(t){this.parent.notifyNext(t)},e.prototype._error=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(b),Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.ZT(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(b);function Kt(t,e){if(!e.closed){if(t instanceof E)return t.subscribe(e);var r;try{r=Yt(t)(e)}catch(n){e.error(n)}return r}}function Qt(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"===typeof e?function(n){return n.pipe(Qt((function(r,n){return Gt(t(r,n)).pipe(Ot((function(t,i){return e(r,t,n,i)})))}),r))}:("number"===typeof e&&(r=e),function(e){return e.lift(new $t(t,r))})}var $t=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new te(t,this.project,this.concurrent))},t}(),te=function(t){function e(e,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=r,i.concurrent=n,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return n.ZT(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(n){return void this.destination.error(n)}this.active++,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new Jt(this),r=this.destination;r.add(e);var n=Kt(t,e);n!==e&&r.add(n)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(Xt);function ee(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Qt(g,t)}function re(){return ee(1)}function ne(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return re()(J.apply(void 0,t))}function ie(t){return new E((function(e){var r;try{r=t()}catch(n){return void e.error(n)}return(r?Gt(r):H()).subscribe(e)}))}function oe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var r=t[0];if(a(r))return se(r,null);if(l(r)&&Object.getPrototypeOf(r)===Object.prototype){var n=Object.keys(r);return se(n.map((function(t){return r[t]})),n)}}if("function"===typeof t[t.length-1]){var i=t.pop();return se(t=1===t.length&&a(t[0])?t[0]:t,null).pipe(Ot((function(t){return i.apply(void 0,t)})))}return se(t,null)}function se(t,e){return new E((function(r){var n=t.length;if(0!==n)for(var i=new Array(n),o=0,s=0,c=function(c){var u=Gt(t[c]),a=!1;r.add(u.subscribe({next:function(t){a||(a=!0,s++),i[c]=t},error:function(t){return r.error(t)},complete:function(){++o!==n&&a||(s===n&&r.next(e?e.reduce((function(t,e,r){return t[e]=i[r],t}),{}):i),r.complete())}}))},u=0;u<n;u++)c(u);else r.complete()}
1))}function ce(t,e,r,n){return i(r)&&(n=r,r=void 0),n?ce(t,e,r).pipe(Ot((function(t){return a(t)?n.apply(void 0,t):n(t)}))):new E((function(n){ue(t,e,(function(t){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(t)}),n,r)}))}function ue(t,e,r,n,i){var o;if(function(t){return t&&"function"===typeof t.addEventListener&&"function"===typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,r,i),o=function(){return s.removeEventListener(e,r,i)}}else if(function(t){return t&&"function"===typeof t.on&&"function"===typeof t.off}(t)){var c=t;t.on(e,r),o=function(){return c.off(e,r)}}else if(function(t){return t&&"function"===typeof t.addListener&&"function"===typeof t.removeListener}(t)){var u=t;t.addListener(e,r),o=function(){return u.removeListener(e,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var a=0,l=t.length;a<l;a++)ue(t[a],e,r,n,i)}n.add(o)}function ae(t,e,r){return r?ae(t,e).pipe(Ot((function(t){return a(t)?r.apply(void 0,t):r(t)}))):new E((function(r){var n,o=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.next(1===t.length?t[0]:t)};try{n=t(o)}catch(s){return void r.error(s)}if(i(e))return function(){return e(o,n)}}))}function le(t,e,r,n,i){var o,s;if(1==arguments.length){var c=t;s=c.initialState,e=c.condition,r=c.iterate,o=c.resultSelector||g,i=c.scheduler}else void 0===n||z(n)?(s=t,o=g,i=n):(s=t,o=n);return new E((function(t){var n=s;if(i)return i.schedule(fe,0,{subscriber:t,iterate:r,condition:e,resultSelector:o,state:n});for(;;){if(e){var c=void 0;try{c=e(n)}catch(a){return void t.error(a)}if(!c){t.complete();break}}var u=void 0;try{u=o(n)}catch(a){return void t.error(a)}if(t.next(u),t.closed)break;try{n=r(n)}catch(a){return void t.error(a)}}}))}function fe(t){var e=t.subscriber,r=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(o){return void e.error(o)}else t.needIterate=!0;if(r){var n=void 0;try{n=r(t.state)}catch(o){return void e.error(o)}if(!n)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(o){return void e.error(o)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}}function he(t,e,r){return void 0===e&&(e=q),void 0===r&&(r=q),ie((function(){return t()?e:r}))}function de(t){return!a(t)&&t-parseFloat(t)+1>=0}function pe(t,e){return void 0===t&&(t=0),void 0===e&&(e=pt),(!de(t)||t<0)&&(t=0),e&&"function"===typeof e.schedule||(e=pt),new E((function(r){return r.add(e.schedule(be,t,{subscriber:r,counter:0,period:t})),r}))}function be(t){var e=t.subscriber,r=t.counter,n=t.period;e.next(r),this.schedule({subscriber:e,counter:r+1,period:n},n)}function ve(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return z(i)?(n=t.pop(),t.length>1&&"number"===typeof t[t.length-1]&&(r=t.pop())):"number"===typeof i&&(r=t.pop()),null===n&&1===t.length&&t[0]instanceof E?t[0]:ee(r)(G(t,n))}var ye=new E(wt);function me(){return ye}function ge(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return q;var r=t[0],n=t.slice(1);return 1===t.length&&a(r)?ge.apply(void 0,r):new E((function(t){var e=function(){return t.add(ge.apply(void 0,n).subscribe(t))};return Gt(r).subscribe({next:function(e){t.next(e)},error:e,complete:e})}))}function we(t,e){return new E(e?function(r){var n=Object.keys(t),i=new h;return i.add(e.schedule(xe,0,{keys:n,index:0,subscriber:r,subscription:i,obj:t})),i}:function(e){for(var r=Object.keys(t),n=0;n<r.length&&!e.closed;n++){var i=r[n];t.hasOwnProperty(i)&&e.next([i,t[i]])}e.complete()})}function xe(t){var e=t.keys,r=t.index,n=t.subscriber,i=t.subscription,o=t.obj;if(!n.closed)if(r<e.length){var s=e[r];n.next([s,o[s]]),i.add(this.schedule({keys:e,index:r+1,subscriber:n,subscription:i,obj:o}))}else n.complete()}function Ee(t,e){function r(){return!r.pred.apply(r.thisArg,arguments)}return r.pred=t,r.thisArg=e,r}function Se(t,e){return function(r){return r.lift(new _e(t,e))}}var _e=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Oe(t,this.predicate,this.thisArg))},t}(),Oe=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.predicate=r,i.thisArg=n,i.count=0,i}return n.ZT(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(r){return void this.destination.error(r)}e&&this.destination.next(t)},e}(b);function je(t,e,r){return[Se(e,r)(new E(Yt(t))),Se(Ee(e,r))(new E(Yt(t)))]}function Ne(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!a(t[0]))return t[0];t=t[0]}return G(t,void 0).lift(new Te)}var Te=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Ie(t))},t}(),Ie=function(t){function e(e){var r=t.call(this,e)||this;return r.hasFirst=!1,r.observables=[],r.subscriptions=[],r}return n.ZT(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var r=0;r<e&&!this.hasFirst;r++){var n=qt(this,t[r],void 0,r);this.subscriptions&&this.subscriptions.push(n),this.add(n)}this.observables=null}},e.prototype.notifyNext=function(t,e,r){if(!this.hasFirst){this.hasFirst=!0;for(var n=0;n<this.subscriptions.length;n++)if(n!==r){var i=this.subscriptions[n];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)},e}(Zt);function Pe(t,e,r){return void 0===t&&(t=0),new E((function(n){void 0===e&&(e=t,t=0);var i=0,o=t;if(r)return r.schedule(Ce,0,{index:i,count:e,start:t,subscriber:n});for(;;){if(i++>=e){n.complete();break}if(n.next(o++),n.closed)break}}))}function Ce(t){var e=t.start,r=t.index,n=t.count,i=t.subscriber;r>=n?i.complete():(i.next(e),i.closed||(t.index=r+1,t.start=e+1,this.schedule(t)))}function ke(t,e,r){void 0===t&&(t=0);var n=-1;return de(e)?n=Number(e)<1?1:Number(e):z(e)&&(r=e),z(r)||(r=pt),new E((function(e){var i=de(t)?t:+t-r.now();return r.schedule(Ae,i,{index:0,period:n,subscriber:e})}))}function Ae(t){var e=t.index,r=t.period,n=t.subscriber;if(n.next(e),!n.closed){if(-1===r)return n.complete();t.index=e+1,this.schedule(t,r)}}function De(t,e){return new E((function(r){var n,i;try{n=t()}catch(s){return void r.error(s)}try{i=e(n)}catch(s){return void r.error(s)}var o=(i?Gt(i):q).subscribe(r);return function(){o.unsubscribe(),n&&n.unsubscribe()}}))}function Ze(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t[t.length-1];return"function"===typeof r&&t.pop(),G(t,void 0).lift(new Le(r))}var Le=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Me(t,this.resultSelector))},t}(),Me=function(t){function e(e,r,n){void 0===n&&(n=Object.create(null));var i=t.call(this,e)||this;return i.resultSelector=r,i.iterators=[],i.active=0,i.resultSelector="function"===typeof r?r:void 0,i}return n.ZT(e,t),e.prototype._next=function(t){var e=this.iterators;a(t)?e.push(new Ve(t)):"function"===typeof t[Ft]?e.push(new Fe(t[Ft]())):e.push(new Re(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var r=0;r<e;r++){var n=t[r];
1if(n.stillUnsubscribed)this.destination.add(n.subscribe());else this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,n=0;n<e;n++){if("function"===typeof(s=t[n]).hasValue&&!s.hasValue())return}var i=!1,o=[];for(n=0;n<e;n++){var s,c=(s=t[n]).next();if(s.hasCompleted()&&(i=!0),c.done)return void r.complete();o.push(c.value)}this.resultSelector?this._tryresultSelector(o):r.next(o),i&&r.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(r){return void this.destination.error(r)}this.destination.next(e)},e}(b),Fe=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return Boolean(t&&t.done)},t}(),Ve=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[Ft]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),Re=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.parent=r,i.observable=n,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return n.ZT(e,t),e.prototype[Ft]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t){this.buffer.push(t),this.parent.checkIterators()},e.prototype.subscribe=function(){return Kt(this.observable,new Jt(this))},e}(Xt)},70655:function(t,e,r){"use strict";r.d(e,{ZT:function(){return i},pi:function(){return o}});var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function i(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var o=function(){return(o=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.