PageSourceSearch

http://mediatheque-maizieres.fr/ui/plug-in/syracuse-dist/js/1635.36dbd76374377906d023.js

js mediatheque-maizieres.fr collected 2026-10-03 01:02:56 UTC 72,489 bytes, 2 lines download raw bytes

1/*! For license information please see 1635.36dbd76374377906d023.js.LICENSE.txt */
2(self.webpackChunk_name_=self.webpackChunk_name_||[]).push([[1635],{76981:function(t,e,r){"use strict";var n=r(27361),o=r.n(n),i=r(75472),a=r.n(i),c=r(23493),u=r.n(c),l=r(91033);function s(t,e){if(t){if("string"==typeof t)return f(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var h={"responsive-sm":0,"responsive-md":576,"responsive-lg":768,"responsive-xl":992},p=function(t,e,r){var n,i=o()(t,"clientWidth",0);if(0!==i){var c,u=a()(Object.entries(e),(function(t){return t[1]})),l=o()(u.findLast((function(t){return i>=t[1]})),[0]),h=u.map((function(t){return t[0]})).filter((function(t){return t!==l}));if(h.length&&(c=t.classList).remove.apply(c,function(t){if(Array.isArray(t))return f(t)}(n=h)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||s(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l){t.classList.add(l);var p=o()(r,"context.responsiveSizeChanged",null);"function"==typeof p&&p({width:i,className:l})}}},d=u()(p,200),m={};e.Z={bind:function(t,e,r){var n=r.context._uid;m[n]=new l.Z((function(t,n){var i,a=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=s(t))){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(t);try{for(a.s();!(i=a.n()).done;){var c=i.value;d(c.target,o()(e,"value",h),r)}}catch(t){a.e(t)}finally{a.f()}})),m[n].observe(t),p(t,o()(e,"value",h),r)},inserted:function(t,e,r){p(t,o()(e,"value",h),r)},update:function(t,e,r){p(t,o()(e,"value",h),r)},unbind:function(t,e,r){var n=r.context._uid;m[n]&&(m[n].disconnect(),delete m[n])}}},3257:function(t,e){var r,n,o,i;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},a(t)}i=function(){return function t(e,r,n){function o(a,c){if(!r[a]){if(!e[a]){if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[a]={exports:{}};e[a][0].call(l.exports,(function(t){return o(e[a][1][t]||t)}),l,l.exports,t,e,r,n)}return r[a].exports}for(var i=void 0,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t,e,r){"use strict";var n=t("wheel"),o=t("amator"),i=t("ngraph.events"),c=t("./lib/kinetic.js"),u=t("./lib/createTextSelectionInterceptor.js"),l=u(),s=u(!0),f=t("./lib/transform.js"),h=t("./lib/svgController.js"),p=t("./lib/domController.js");function d(t,e){var r=(e=e||{}).controller;if(r||(h.canAttach(t)?r=h(t,e):p.canAttach(t)&&(r=p(t,e))),!r)throw new Error("Cannot create panzoom for the current type of dom element");var u=r.getOwner(),d={x:0,y:0},y=!1,w=new f;r.initTransform&&r.initTransform(w);var x,S="function"==typeof e.filterKey?e.filterKey:v,O="number"==typeof e.pinchSpeed?e.pinchSpeed:1,E=e.bounds,L="number"==typeof e.maxZoom?e.maxZoom:Number.POSITIVE_INFINITY,j="number"==typeof e.minZoom?e.minZoom:0,C="number"==typeof e.boundsPadding?e.boundsPadding:.05,z="number"==typeof e.zoomDoubleClickSpeed?e.zoomDoubleClickSpeed:1.75,_=e.beforeWheel||v,P=e.beforeMouseDown||v,D="number"==typeof e.zoomSpeed?e.zoomSpeed:1,k=m(e.transformOrigin),A=e.enableTextSelection?s:l;!function(t){var e=a(t);if("undefined"!==e&&"boolean"!==e&&!(g(t.left)&&g(t.top)&&g(t.bottom)&&g(t.right)))throw new Error("Bounds object is not val
2id. It can be: undefined, boolean (true|false) or an object {left, top, right, bottom}")}(E),e.autocenter&&function(){var t,e,n=0,o=0,i=rt();if(i)n=i.left,o=i.top,t=i.right-i.left,e=i.bottom-i.top;else{var a=u.getBoundingClientRect();t=a.width,e=a.height}var c=r.getBBox();if(0!==c.width&&0!==c.height){var l=e/c.height,s=t/c.width,f=Math.min(s,l);w.x=-(c.left+c.width/2)*f+t/2+n,w.y=-(c.top+c.height/2)*f+e/2+o,w.scale=f}}();var T,I,M,F,N,Z,G,B,R,q=0,U=!1,$=!1;N="smoothScroll"in e&&!e.smoothScroll?{start:v,stop:v,cancel:v}:c((function(){return{x:w.x,y:w.y}}),(function(t,e){Ct(),Q(t,e)}),e.smoothScroll);var V=!1;ct();var H={dispose:function(){ut()},moveBy:at,moveTo:Q,smoothMoveTo:function(t,e){return at(t-w.x,e-w.y,!0)},centerOn:function(t){var e=t.ownerSVGElement;if(!e)throw new Error("ui element is required to be within the scene");var r=t.getBoundingClientRect(),n=r.left+r.width/2,o=r.top+r.height/2,i=e.getBoundingClientRect();return at(i.width/2-n,i.height/2-o,!0)},zoomTo:jt,zoomAbs:it,smoothZoom:Et,smoothZoomAbs:function(t,e,r){var n={scale:w.scale},i={scale:r};return Ct(),new Promise((function(r,a){G=o(n,i,{step:function(r){it(t,e,r.scale)},done:function(){Dt(),Pt(),r(!0)}})}))},showRectangle:function(t){Ct(),K(t)},smoothShowRectangle:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;Ct();var r=t,n=function(t){var e=u.getBoundingClientRect(),r=J(e.width,e.height),n=r.x/t.scale,o=r.y/t.scale,i=t.x/-t.scale,a=t.y/-t.scale;return{top:a,left:i,bottom:a+o,right:i+n}}(w),i=600;return"function"==typeof e&&(i=e(n,r)),new Promise((function(t,e){B=o(n,r,{duration:i,step:function(t){K(t)},done:function(){Dt(),Pt(),t(!0)}})}))},pause:function(){ut(),V=!0},resume:function(){V&&(ct(),V=!1)},isPaused:function(){return V},getTransform:function(){return w},getMinZoom:function(){return j},setMinZoom:function(t){j=t},getMaxZoom:function(){return L},setMaxZoom:function(t){L=t},getTransformOrigin:function(){return k},setTransformOrigin:function(t){k=m(t)},getZoomSpeed:function(){return D},setZoomSpeed:function(t){if(!Number.isFinite(t))throw new Error("Zoom speed should be a number");D=t}};i(H);var Y="number"==typeof e.initialX?e.initialX:w.x,W="number"==typeof e.initialY?e.initialY:w.y,X="number"==typeof e.initialZoom?e.initialZoom:w.scale;return Y==w.x&&W==w.y&&X==w.Scale||it(Y,W,X),H;function K(t){var r=function(t){var r=u.getBoundingClientRect(),n=J(r.width,r.height),o=t.right-t.left,i=t.bottom-t.top;if(!Number.isFinite(o)||!Number.isFinite(i))throw new Error("Invalid rectangle");var a=n.x/o,c=n.y/i,l=Math.min(a,c);"number"==typeof e.maxZoom&&l>e.maxZoom&&(l=Math.min(l,e.maxZoom)),"number"==typeof e.minZoom&&l<e.minZoom&&(l=Math.max(l,e.minZoom));var s=new f;return s.x=-(t.left+o/2)*l+n.x/2,s.y=-(t.top+i/2)*l+n.y/2,s.scale=l,s}(t);!function(t){w.x=t.x,w.y=t.y,w.scale=t.scale,kt("pan"),kt("zoom"),nt()}(r)}function J(t,e){if(r.getScreenCTM){var n=r.getScreenCTM(),o=n.a,i=n.d,a=n.e,c=n.f;d.x=t*o-a,d.y=e*i-c}else d.x=t,d.y=e;return d}function Q(t,e){w.x=t,w.y=e,et(),kt("pan"),nt()}function tt(t,e){Q(w.x+t,w.y+e)}function et(){var t=rt();if(t){var e,n,o,i,a=!1,c=(o=(e=r.getBBox()).left,i=e.top,{left:(n={x:o*w.scale+w.x,y:i*w.scale+w.y}).x,top:n.y,right:e.width*w.scale+n.x,bottom:e.height*w.scale+n.y}),u=t.left-c.right;return u>0&&(w.x+=u,a=!0),(u=t.right-c.left)<0&&(w.x+=u,a=!0),(u=t.top-c.bottom)>0&&(w.y+=u,a=!0),(u=t.bottom-c.top)<0&&(w.y+=u,a=!0),a}}function rt(){if(E){if("boolean"==typeof E){var t=u.getBoundingClientRect(),e=t.width,r=t.height;return{left:e*C,top:r*C,right:e*(1-C),bottom:r*(1-C)}}return E}}function nt(){y=!0,x=window.requestAnimationFrame(lt)}function ot(t,e,r){if(b(t)||b(e)||b(r))throw new Error("zoom requires valid numbers");var n=w.scale*r;if(n<j){if(w.scale===j)return;r=j/w.scale}if(n>L){if(w.scale===L)return;r=L/w.scale}var o=J(t,e);w.x=o.x-r*(o.x-w.x),w.y=o.y-r*(o.y-w.y),E&&1===C&&1===j?(w.scale*=r,et()):et()||(w.scale*=r),kt("zoom"),nt()}function it(t,e,r){ot(t,e,r/w.scale)}function at(t,e,r){return new Promise((function(n,i){if(Ct(),r){var a=0,c=0;Z=o({x:0,y:0},{x:t,y:e},{step:function(t){tt(t.x-a,t.y-c),a=t.x,c=t.y},done:function(){Dt(),Pt(),n(!0)}})}else tt(t,e),Dt(),Pt(),n(!0)}))}function ct(){u.addEventListener("mousedown",vt,{passive:!1}),u.addEventListener("dblclick",yt,{passive:!1}),u.addEventListener("touchstart",ft,{passive:!1}),u.addEventListener("keydown",st,{passive:!1}),n.addWheelListener(u,St,{passive:!1}),nt()}function ut(){n.removeWheelListener(u,St),u.removeEventListener("mousedown",vt),u.removeEventListener("keydown",st),u.removeEventListener("dblclick",yt),u.removeEventListener("touchstart",ft),x&&(window.cancelAnimationFrame(x),x=0),Ct(),wt(),xt(),A.release(),Pt()}function lt(){y&&(y=!1,r.applyTransform(w),kt("transform"),x=0)}function st(t){var e=0,r=0,n=0;if(38===t.keyCode?r=1:40===t.keyCode?r=-1:37===t.keyCode?e=1:39===t.keyCode?e=-1:189===t.keyCode||109===t.keyCode?n=1:187!==t.keyCode&&107!==t.keyCode||(n=-1),!S(t,e,r,n)){if(e||r){t.preventDefault(),t.stopPropagation();var o=u.getBoundingClientRect();at(.05*(i=Math.min(o.width,o.height))*e,.05*i*r)}if(n){var i,a=zt(100*n);jt((i=k?Lt():{x:(c=u.getBoundingClientRect()).width/2,y:c.height/2}).x,i.y,a)}var c}}function ft(t){if(function(t){e.onTouch&&!e.onTouch(t)||(t.stopPropagation(),t.preventDefault())}(t),1===t.touches.length)return function(t){var e=Ot(t.touches[0]);T=e;var r=J(e.x,e.y);I=r.x,M=r.y,Ct(),ht()}(t,t.touches[0]);2===t.touches.length&&(F=mt(t.touches[0],t.touches[1]),R=!0,ht())}function ht(){U||(U=!0,document.addEventListener("touchmove",pt),document.addEventListener("touchend",dt),document.addEventListener("touchcancel",dt))}function pt(t){if(1===t.touches.length){t.stopPropagation();
2var e=J((s=Ot(t.touches[0])).x,s.y),r=e.x-I,n=e.y-M;0!==r&&0!==n&&_t(),I=e.x,M=e.y,at(r,n)}else if(2===t.touches.length){R=!0;var o=t.touches[0],i=t.touches[1],a=mt(o,i),c=1+(a/F-1)*O,u=Ot(o),l=Ot(i);if(I=(u.x+l.x)/2,M=(u.y+l.y)/2,k){var s=Lt();I=s.x,M=s.y}jt(I,M,c),F=a,t.stopPropagation(),t.preventDefault()}}function dt(t){if(t.touches.length>0){var e=J((r=Ot(t.touches[0])).x,r.y);I=e.x,M=e.y}else{var r,n=new Date;n-q<300&&(k?Et((r=Lt()).x,r.y,z):Et(T.x,T.y,z)),q=n,Pt(),xt()}}function mt(t,e){var r=t.clientX-e.clientX,n=t.clientY-e.clientY;return Math.sqrt(r*r+n*n)}function yt(t){!function(t){e.onDoubleClick&&!e.onDoubleClick(t)||(t.preventDefault(),t.stopPropagation())}(t);var r=Ot(t);k&&(r=Lt()),Et(r.x,r.y,z)}function vt(t){if(!P(t)){if(U)return t.stopPropagation(),!1;if(1===t.button&&null!==window.event||0===t.button){Ct();var e=Ot(t),r=J(e.x,e.y);return I=r.x,M=r.y,document.addEventListener("mousemove",gt),document.addEventListener("mouseup",bt),A.capture(t.target||t.srcElement),!1}}}function gt(t){if(!U){_t();var e=Ot(t),r=J(e.x,e.y),n=r.x-I,o=r.y-M;I=r.x,M=r.y,at(n,o)}}function bt(){A.release(),Pt(),wt()}function wt(){document.removeEventListener("mousemove",gt),document.removeEventListener("mouseup",bt),$=!1}function xt(){document.removeEventListener("touchmove",pt),document.removeEventListener("touchend",dt),document.removeEventListener("touchcancel",dt),$=!1,R=!1,U=!1}function St(t){if(!_(t)){Ct();var e=t.deltaY;t.deltaMode>0&&(e*=100);var r=zt(e);if(1!==r){var n=k?Lt():Ot(t);jt(n.x,n.y,r),t.preventDefault()}}}function Ot(t){var e=u.getBoundingClientRect();return{x:t.clientX-e.left,y:t.clientY-e.top}}function Et(t,e,r){var n=w.scale,i={scale:n},a={scale:r*n};return Ct(),new Promise((function(r,n){G=o(i,a,{step:function(r){it(t,e,r.scale)},done:function(){Dt(),Pt(),r(!0)}})}))}function Lt(){var t=u.getBoundingClientRect();return{x:t.width*k.x,y:t.height*k.y}}function jt(t,e,r){return Ct(),ot(t,e,r)}function Ct(){B&&(B.cancel(),B=null),G&&(G.cancel(),G=null),Z&&(Z.cancel(),Z=null),N.cancel()}function zt(t){return 1-Math.sign(t)*Math.min(.25,Math.abs(D*t/128))}function _t(){$||(kt("panstart"),$=!0,N.start())}function Pt(){$&&(R||N.stop(),kt("panend"))}function Dt(){kt("zoomend")}function kt(t){H.fire(t,H)}}function m(t){if(t)return"object"===a(t)?(g(t.x)&&g(t.y)||y(t),t):void y()}function y(t){throw console.error(t),new Error(["Cannot parse transform origin.","Some good examples:",'  "center center" can be achieved with {x: 0.5, y: 0.5}','  "top center" can be achieved with {x: 0.5, y: 0}','  "bottom right" can be achieved with {x: 1, y: 1}'].join("\n"))}function v(){}function g(t){return Number.isFinite(t)}function b(t){return Number.isNaN?Number.isNaN(t):t!=t}e.exports=d,function(){if("undefined"!=typeof document){var t=document.getElementsByTagName("script");if(t){for(var e,r=0;r<t.length;++r){var n=t[r];if(n.src&&n.src.match(/\bpanzoom(\.min)?\.js/)){e=n;break}}if(e){var o=e.getAttribute("query");if(o){var i=e.getAttribute("name")||"pz",a=Date.now();!function t(){var r=document.querySelector(o);if(!r)return Date.now()-a<2e3?void setTimeout(t,100):void console.error("Cannot find the panzoom element",i);var n=function(t){for(var e=t.attributes,r={},n=0;n<e.length;++n){var o=c(e[n]);o&&(r[o.name]=o.value)}return r}(e);console.log(n),window[i]=d(r,n)}()}}}}function c(t){if(t.name&&"p"===t.name[0]&&"z"===t.name[1]&&"-"===t.name[2])return{name:t.name.substr(3),value:JSON.parse(t.value)}}}()},{"./lib/createTextSelectionInterceptor.js":2,"./lib/domController.js":3,"./lib/kinetic.js":4,"./lib/svgController.js":5,"./lib/transform.js":6,amator:7,"ngraph.events":9,wheel:10}],2:[function(t,e,r){function n(t){return t.stopPropagation(),!1}function o(){}e.exports=function(t){if(t)return{capture:o,release:o};var e,r,i,a=!1;return{capture:function(t){a=!0,r=window.document.onselectstart,i=window.document.ondragstart,window.document.onselectstart=n,(e=t).ondragstart=n},release:function(){a&&(a=!1,window.document.onselectstart=r,e&&(e.ondragstart=i))}}}},{}],3:[function(t,e,r){function n(t){return t&&t.parentElement&&t.style}e.exports=function(t,e){if(!n(t))throw new Error("panzoom requires DOM element to be attached to the DOM tree");var r=t.parentElement;return t.scrollTop=0,e.disableKeyboardInteraction||r.setAttribute("tabindex",0),{getBBox:function(){return{left:0,top:0,width:t.clientWidth,height:t.clientHeight}},getOwner:function(){return r},applyTransform:function(e){t.style.transformOrigin="0 0 0",t.style.transform="matrix("+e.scale+", 0, 0, "+e.scale+", "+e.x+", "+e.y+")"}}},e.exports.canAttach=n},{}],4:[function(t,e,r){function n(){return"function"==typeof cancelAnimationFrame?cancelAnimationFrame:clearTimeout}function o(){return"function"==typeof requestAnimationFrame?requestAnimationFrame:function(t){return setTimeout(t,16)}}e.exports=function(t,e,r){"object"!==a(r)&&(r={});var i,c,u,l,s,f,h,p,d,m,y="number"==typeof r.minVelocity?r.minVelocity:5,v="number"==typeof r.amplitude?r.amplitude:.25,g="function"==typeof r.cancelAnimationFrame?r.cancelAnimationFrame:n(),b="function"==typeof r.requestAnimationFrame?r.requestAnimationFrame:o();return{start:function(){i=t(),f=d=l=h=0,c=new Date,g(u),g(m),u=b(w)},stop:function(){g(u),g(m);var e=t();s=e.x,p=e.y,c=Date.now(),(l<-y||l>y)&&(s+=f=v*l),(h<-y||h>y)&&(p+=d=v*h),m=b(x)},cancel:function(){g(u),g(m)}};function w(){var e=Date.now(),r=e-c;c=e;var n=t(),o=n.x-i.x,a=n.y-i.y;i=n;var s=1e3/(1+r);l=.8*o*s+.2*l,h=.8*a*s+.2*h,u=b(w)}function x(){var t=Date.now()-c,r=!1,n=0,o=0;f&&((n=-f*Math.exp(-t/342))>.5||n<-.5?r=!0:n=f=0),d&&((o=-d*Math.exp(-t/342))>.5||o<-.5?r=!0:o=d=0),r&&(e(s+n,p+o),m=b(x))}}},{}],5:[function(t,e,r){function n(t){return t&&t.ownerSVGElement&&t.getCTM}e.exports=function(t,e){if(!n(t))throw new Error("svg element is required for svg.panzoom to work");var r=t.ownerSVGElement;if(!r)throw new Error("Do not apply panzoom to the root <svg> element. Use its child instead (e.g. <g></g>). As of March 2016 only FireFox supported transform on the root element");return e.disableKeyboardInteraction||r.setAttribute("tabindex",0),{getBBox:function(){var e=t.getBBox();return{left:e.x,top:e.y,width:e.width,height:e.height}},getScreenCTM:function(){return r.getCTM()||r.getScreenCTM()},getOwner:function(){return r},applyTransform:function(e){t.setAttribute("transform","matrix("+e.scale+" 0 0 "+e.scale+" "+e.x+" "+e.y+")")},initTransform:function(e){var n=t.getCTM();null===n&&(n=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGMatrix()),e.x=n.e,e.y=n.f,e.scale=n.a,r.removeAttributeNS(null,"viewBox")}}},e.exports.canAttach=n},{}],6:[function(t,e,r){e.exports=function(){this.x=0,this.y=0,this.scale=1}},{}],7:[function(t,e,r){var n=t("bezier-easing"),o={ease:n(.25,.1,.25,1),easeIn:n(.42,0,1,1),easeOut:n(0,0,.58,1),easeInOut:n(.42,0,.58,1),linear:n(0,0,1,1)};function i(){}function a(){var t=new Set,e=new Set,r=0;return{next:n,cancel:n,clearAll:function(){t.clear(),e.clear(),cancelAnimationFrame(r),r=0}};function n(t){e.add(t),r||(r=requestAnimationFrame(o))}function o(){r=0;var n=e;
2e=t,(t=n).forEach((function(t){t()})),t.clear()}}e.exports=function(t,e,r){var n=Object.create(null),a=Object.create(null),c="function"==typeof(r=r||{}).easing?r.easing:o[r.easing];c||(r.easing&&console.warn("Unknown easing function in amator: "+r.easing),c=o.ease);var u="function"==typeof r.step?r.step:i,l="function"==typeof r.done?r.done:i,s=function(t){if(!t)return"undefined"!=typeof window&&window.requestAnimationFrame?{next:window.requestAnimationFrame.bind(window),cancel:window.cancelAnimationFrame.bind(window)}:{next:function(t){return setTimeout(t,1e3/60)},cancel:function(t){return clearTimeout(t)}};if("function"!=typeof t.next)throw new Error("Scheduler is supposed to have next(cb) function");if("function"!=typeof t.cancel)throw new Error("Scheduler is supposed to have cancel(handle) function");return t}(r.scheduler),f=Object.keys(e);f.forEach((function(r){n[r]=t[r],a[r]=e[r]-t[r]}));var h,p="number"==typeof r.duration?r.duration:400,d=Math.max(1,.06*p),m=0;return h=s.next((function e(){var r=c(m/d);m+=1,function(e){f.forEach((function(r){t[r]=a[r]*e+n[r]}))}(r),m<=d?(h=s.next(e),u(t)):(h=0,setTimeout((function(){l(t)}),0))})),{cancel:function(){s.cancel(h),h=0}}},e.exports.makeAggregateRaf=a,e.exports.sharedScheduler=a()},{"bezier-easing":8}],8:[function(t,e,r){var n=.1,o="function"==typeof Float32Array;function i(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function c(t){return 3*t}function u(t,e,r){return((i(e,r)*t+a(e,r))*t+c(e))*t}function l(t,e,r){return 3*i(e,r)*t*t+2*a(e,r)*t+c(e)}function s(t){return t}e.exports=function(t,e,r,i){if(!(0<=t&&t<=1&&0<=r&&r<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&r===i)return s;for(var a=o?new Float32Array(11):new Array(11),c=0;c<11;++c)a[c]=u(c*n,t,r);return function(o){return 0===o?0:1===o?1:u(function(e){for(var o=0,i=1;10!==i&&a[i]<=e;++i)o+=n;--i;var c=o+(e-a[i])/(a[i+1]-a[i])*n,s=l(c,t,r);return s>=.001?function(t,e,r,n){for(var o=0;o<4;++o){var i=l(e,r,n);if(0===i)return e;e-=(u(e,r,n)-t)/i}return e}(e,c,t,r):0===s?c:function(t,e,r,n,o){var i,a,c=0;do{(i=u(a=e+(r-e)/2,n,o)-t)>0?r=a:e=a}while(Math.abs(i)>1e-7&&++c<10);return a}(e,o,o+n,t,r)}(o),e,i)}}},{}],9:[function(t,e,r){e.exports=function(t){!function(t){if(!t)throw new Error("Eventify cannot use falsy object as events subject");for(var e=["on","fire","off"],r=0;r<e.length;++r)if(t.hasOwnProperty(e[r]))throw new Error("Subject cannot be eventified, since it already has property '"+e[r]+"'")}(t);var e=function(t){var e=Object.create(null);return{on:function(r,n,o){if("function"!=typeof n)throw new Error("callback is expected to be a function");var i=e[r];return i||(i=e[r]=[]),i.push({callback:n,ctx:o}),t},off:function(r,n){if(void 0===r)return e=Object.create(null),t;if(e[r])if("function"!=typeof n)delete e[r];else for(var o=e[r],i=0;i<o.length;++i)o[i].callback===n&&o.splice(i,1);return t},fire:function(r){var n,o=e[r];if(!o)return t;arguments.length>1&&(n=Array.prototype.splice.call(arguments,1));for(var i=0;i<o.length;++i){var a=o[i];a.callback.apply(a.ctx,n)}return t}}}(t);return t.on=e.on,t.off=e.off,t.fire=e.fire,t}},{}],10:[function(t,e,r){function n(t,e,r){t.addEventListener("wheel",e,r)}e.exports=n,e.exports.addWheelListener=n,e.exports.removeWheelListener=function(t,e,r){t.removeEventListener("wheel",e,r)}},{}]},{},[1])(1)},"object"===a(e)?t.exports=i():(n=[],void 0===(o="function"==typeof(r=i)?r.apply(e,n):r)||(t.exports=o))},67322:function(t,e,r){"use strict";r.r(e);var n=r(8081),o=r.n(n),i=r(23645),a=r.n(i)()(o());a.push([t.id,'.flowchart-tree{overflow:hidden;flex:1 1 auto;position:relative;padding:0;margin:0}.flowchart-tree ul{padding:0;margin:0;display:flex}.flowchart-tree>ul{margin-bottom:2em;position:absolute}.flowchart-tree>ul.org-smooth{transition:transform .5s}.flowchart-tree li{display:flex;flex-direction:column;position:relative;flex:auto}.flowchart-tree li::before{box-sizing:border-box;content:"";position:absolute;z-index:0;border:0px solid #a6b2be}.flowchart-tree li:not(:only-child)::before{border-top-width:2px;width:100%;height:3em;top:0px}.flowchart-tree li:first-child::before{width:calc(50% + 1px);right:0;border-left-width:2px;border-top-left-radius:7px}.flowchart-tree li:first-child:not(:only-child)>.nodecontent::before{border-left-width:0px}.flowchart-tree li:last-child::before{width:calc(50% + 1px);border-right-width:2px;border-top-right-radius:7px}.flowchart-tree li:last-child:not(:only-child)>.nodecontent::before{border-left-width:0px}.flowchart-tree .nodecontent{align-self:center;position:relative;margin:3em 5px}.flowchart-tree .nodecontent::after{box-sizing:border-box;content:"";position:absolute;z-index:0;border:0px solid #a6b2be;border-left-width:2px;width:2px;height:3em;left:calc(50% - 1px);bottom:-3em}.flowchart-tree .nodecontent::before{box-sizing:border-box;content:"";position:absolute;z-index:0;border:0px solid #a6b2be;border-left-width:2px;width:2px;height:3em;left:calc(50% - 1px);top:-3em}.flowchart-tree .collapsed>ul{display:none}.flowchart-tree .collapsed>.nodecontent::after{display:none}.flowchart-tree .leaf>.nodecontent::after{display:none}.flowchart-tree>ul>li>.nodecontent::before{display:none}.flowchart-tree li.vertical>ul{flex-direction:column;align-items:flex-start;margin:0 10px;position:relative}.flowchart-tree li.vertical>ul>li>.nodecontent{margin:10px 0 0 10px}.flowchart-tree li.vertical>ul>li>.nodecontent::before{height:2px;width:8px;top:calc(50% - 1px);left:-8px;border-width:2px 0 0 0}.flowchart-tree li.vertical>ul>li::before{border-width:0 0 0 2px;left:0px;height:100%;width:10px;border-radius:0}.flowchart-tree li.vertical>ul>li:first-child::before{top:-2px;height:calc(100% + 2px);border-top-width:2px;border-top-left-radius:7px}.flowchart-tree li.vertical>ul>li:last-child::before{height:calc(50% + 6px);border-bottom-width:2px;border-bottom-left-radius:7px}.flowchart-tree li.vertical>ul>li:last-child>.nodecontent::before{display:none}.flowchart-tree li.vertical>ul::before{box-sizing:border-box;content:"";position:absolute;top:-2px;left:10px;height:10px;width:calc(50% - 19px);border-top:2px solid #a6b2be}.flowchart-tree li.vertical>.nodecontent::after{border-width:0 2px 2px 0;border-bottom-right-radius:7px;width:10px;left:auto;right:calc(50% - 1px)}.flowchart-tree .collapse-button{z-index:1;position:absolute;border-radius:50%;width:1em;height:1em;background-color:#a6b2be;color:#fff;bottom:-1.5em;
2left:50%;margin-left:-0.5em;font-size:3em;display:flex;align-items:center;border:none;text-decoration:none;padding:0}.flowchart-tree .collapse-button i{margin:0 auto;transition:transform .2s}.flowchart-tree .collapse-button.expanded i{transform:rotate(180deg)}.flowchart-tree .cards-group-users{padding:1.5em 1.5em;display:grid;grid-template-columns:repeat(3, 1fr);grid-column-gap:1em;grid-row-gap:1em;border:5px solid #a6b2be;border-radius:.8em;margin:0 1em;max-height:30em;overflow-y:auto}.flowchart-tree.panzoom-disabled{display:flex;justify-content:center;overflow-y:auto}.flowchart-tree.panzoom-disabled>ul{position:relative}.card{border:5px solid #a6b2be;padding:10px;border-radius:.8em;min-width:12em;max-width:20em;transition:all .1s;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1em}.card:hover{box-shadow:0px 0px 8px 2px rgba(0,0,0,.3)}.card p{margin:0}.card .user-photo-circle{min-width:4em !important;width:4em !important;height:4em !important;border-radius:50% !important;object-fit:cover !important;object-position:center right !important;background-color:#a6b2be}.card span.chart-highlight{background:#ffeb55;border-radius:4px;display:inline-block}.card.flowchart-highlight{background-color:#ffffc2;border-color:#c2c200;border-style:dashed}.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.fade-scale-enter-active,.fade-scale-leave-active{transition:opacity .3s,transform .3s}.fade-scale-enter,.fade-scale-leave-to{opacity:0;transform:scale(0.1)}.organizational-chart{display:flex;flex-direction:column;min-height:70vh;background-color:#fff}.organizational-chart form{padding:.5em 0;display:flex;gap:.5em;align-items:center}.organizational-chart form .organizational-chart-searchfield{min-width:10em;flex:0 1 20em}.organizational-chart form .organizational-chart-navigator{display:flex;z-index:2;gap:.5em;flex:auto}.organizational-chart .flowchart-tree{user-select:none;border:2px solid #a6b2be;border-radius:.8em}.organizational-chart .flowchart-tree .organizational-chart-message{align-self:center}.organizational-chart .organizational-chart-panel{background-color:rgba(86,102,117,.1);border:1px solid rgba(86,102,117,.1);padding:.4em .6em;border-radius:.8em}.organizational-chart .organizational-chart-message{font-size:1.2em}.organizational-chart button{border:none;background-color:#566675;border-radius:.4em;display:inline-block;padding:.4em .8em;color:#fff;transition:all .1s}.organizational-chart button:hover{background-color:#404c58}.organizational-chart button:disabled{background-color:rgba(64,76,88,.5)}.organizational-chart.responsive-sm .organizational-chart-panel{flex-wrap:wrap}.organizational-chart.responsive-sm .organizational-chart-panel .organizational-chart-searchfield{flex:0 0 100%}',""]),e.default=a},1635:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return tt}});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"responsive",rawName:"v-responsive"}],staticClass:"organizational-chart"},[r("form",{on:{submit:function(e){return e.preventDefault(),t.applyFilter.apply(null,arguments)}}},[r("div",{staticClass:"organizational-chart-navigator organizational-chart-panel"},[r("div",{staticClass:"organizational-chart-searchfield",class:{"has-error":t.inputHasErrors}},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.filterInput,expression:"filterInput"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.resolveLabel("OrganizationalChartViewerSearchPlaceholder")},domProps:{value:t.filterInput},on:{input:function(e){e.target.composing||(t.filterInput=e.target.value)}}})]),t._v(" "),r("button",{attrs:{type:"submit",title:t.resolveLabel("OrganizationalChartViewerSearchPlaceholder")}},[r("i",{staticClass:"fas fa-search"})]),t._v(" "),r("button",{attrs:{title:t.resolveLabel("ClearText")},on:{click:function(e){return e.preventDefault(),t.onClear.apply(null,arguments)}}},[r("i",{staticClass:"fas fa-times"})]),t._v(" "),r("div",{staticStyle:{flex:"auto"}}),t._v(" "),r("button",{attrs:{title:t.resolveLabel("OrganizationalChartViewerCenterButtonLabel")},on:{click:function(e){return e.preventDefault(),t.onHome.apply(null,arguments)}}},[r("i",{staticClass:"fas fa-home"})]),t._v(" "),r("button",{attrs:{disabled:t.maxDepth>=t.dataMaxDepth,title:t.resolveLabel("OrganizationalChartViewerDepthExpandButtonLabel")},on:{click:function(e){return e.preventDefault(),t.onExpand.apply(null,arguments)}}},[r("i",{staticClass:"fas fa-chevron-down"})]),t._v(" "),r("button",{attrs:{disabled:t.maxDepth<=0,title:t.resolveLabel("OrganizationalChartViewerDepthCollapseButtonLabel")},on:{click:function(e){return e.preventDefault(),t.onCollapse.apply(null,arguments)}}},[r("i",{staticClass:"fas fa-chevron-up"})]),t._v(" "),t.chartIsFiltered?r("button",{attrs:{title:t.resolveLabel("OrganizationalChartViewerShowFullChartButtonLabel")},on:{click:function(e){return e.preventDefault(),t.onShowFullChart.apply(null,arguments)}}}
2,[r("i",{staticClass:"fas fa-user-friends"})]):t._e(),t._v(" "),r("button",{attrs:{title:t.resolveLabel(t.fullscreen?"ExitFullscreenText":"EnterFullscreenText")},on:{click:function(e){return e.preventDefault(),t.toggleFullscreen.apply(null,arguments)}}},[r("i",{staticClass:"fas fa-expand"})])])]),t._v(" "),r("div",{ref:"container",staticClass:"flowchart-tree",class:{"panzoom-disabled":t.panzoomDisabled}},[t.message?r("div",{staticClass:"organizational-chart-message organizational-chart-panel"},[t._v("\n      "+t._s(t.message)+"\n    ")]):r("Level",{attrs:{data:t.filteredData||[]}})],1)])};n._withStripped=!0;var o=r(1996),i=r(3257),a=r.n(i);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function u(t){if(!t)return[0,0,0];var e=t.parentElement,r=t.scrollWidth,n=e.offsetWidth,o=t.scrollHeight,i=e.offsetHeight,a=r>n?n/r:1,c=o>i?i/o:1;return[a,c,Math.min(a,c)]}var l=r(12740),s=r.n(l),f=r(20629),h=r(50361),p=r.n(h),d=r(27361),m=r.n(d),y=r(44908),v=r.n(y),g=r(76826),b=r.n(g);function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function x(t){return Array.isArray(t)&&0!==t.length?t.reduce((function(t,e){return t.concat(e).concat(Array.isArray(e.Children)?x(e.Children):[])}),[]):[]}function S(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;Array.isArray(t)&&e&&t.forEach((function(t){e(t,r),t.Children&&S(t.Children,e,r+1)}))}function O(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Array.isArray(t)&&0!==t.length?t.filter((function(t){Array.isArray(t.Children)&&(t.Children=O(t.Children,e,r+1));var n,o=m()(t,"Properties",[])||[],i=m()(t,"Label","");return!!function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=v()(b()(e||"").toUpperCase().split(" ").map((function(t){return t.trim()})).filter((function(t){return t})).filter((function(t){return t.length>=r})));if(0===n.length)return!1;var o=b()(t||"").toUpperCase();return n.every((function(t){return o.includes(t)}))}([].concat((n=o,function(t){if(Array.isArray(t))return w(t)}(n)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return w(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(t,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[i]).join(" "),e)||!!Array.isArray(t.Children)&&t.Children.length>0})):[]}var E=r(9669),L=r.n(E);function j(t){return j="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},j(t)}function C(){C=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),c=new k(n||[]);return o(a,"_invoke",{value:z(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(A([])));S&&S!==r&&n.call(S,a)&&(w=S);var O=b.prototype=v.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==j(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)}
vendor: 4,843 bytes, line 2
2)):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function z(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=_(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function A(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(j(e)+" is not iterable")}return g.prototype=b,o(O,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},E(L.prototype),l(L.prototype,c,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new L(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(O),l(O,u,"Generator"),l(O,a,(function(){return this})),l(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=A,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(D),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),y}}
vendor: 4,429 bytes, line 2
2,catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;D(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _(t){return P.apply(this,arguments)}function P(){var t;return t=C().mark((function t(e){var r,n,o,i;return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r="".concat(m()(window,"master.basePath"),"DirectoryChartService.svc/Query"),t.next=3,L().post(r,{settings:e});case 3:return n=t.sent,o=m()(n,"data.d",[])||[],i=m()(n,["data","errors",0,"msg"]),t.abrupt("return",{data:o,message:i});case 7:case"end":return t.stop()}}),t)})),P=function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){z(i,n,o,a,c,"next",t)}function c(t){z(i,n,o,a,c,"throw",t)}a(void 0)}))},P.apply(this,arguments)}function D(t){return D="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},D(t)}function k(){k=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:j(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(A([])));S&&S!==r&&n.call(S,a)&&(w=S);var O=b.prototype=v.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==D(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function j(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=C(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function z(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(z,this),this.reset(!0)}function A(e){if(e||""===e){var r=e[a];if(r)return r.call(e);
2if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(D(e)+" is not iterable")}return g.prototype=b,o(O,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},E(L.prototype),l(L.prototype,c,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new L(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(O),l(O,u,"Generator"),l(O,a,(function(){return this})),l(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=A,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function A(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}s().use(f.ZP);function T(){return new f.ZP.Store({strict:!1,state:{filter:null,data:null,groupingSize:8,maxDepth:2,dataMaxDepth:0,scale:0},mutations:{filter:function(t,e){var r=(e||"").trim().toUpperCase();(!r||r.length>=3)&&(t.filter=r,r&&(t.maxDepth=t.dataMaxDepth))},data:function(t,e){if(Array.isArray(e)){var r=0;S(e,(function(t,e){r=e>r?e:r})),t.dataMaxDepth=r,t.data=Object.freeze(e)}},groupingSize:function(t,e){t.groupingSize=e},maxDepth:function(t,e){t.maxDepth=e},scale:function(t,e){"number"==typeof e&&(t.scale=e)}},actions:{query:function(t,e){return(r=k().mark((function r(){var n,o,i,a;return k().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=t.commit,r.next=3,_(e);case 3:return o=r.sent,i=o.data,a=o.message,n("data",i),r.abrupt("return",a);case 8:case"end":return r.stop()}}),r)})),function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function a(t){A(i,n,o,a,c,"next",t)}function c(t){A(i,n,o,a,c,"throw",t)}a(void 0)}))})();var r}},getters:{filter:function(t){return t.filter},filteredData:function(t,e){return t.data?e.filter?Object.freeze(O(p()(t.data),e.filter)):t.data:null},filteredDataCount:function(t,e){return e.filteredData?x(e.filteredData).length:null},groupingSize:function(t){return t.groupingSize},maxDepth:function(t){return t.maxDepth},dataMaxDepth:function(t){return t.dataMaxDepth},scale:function(t){return t.scale},showPhotos:function(t,e){return e.scale>.3}}})}var I=r(813),M=r.n(I),F=r(23279),N=r.n(F),Z=r(58613),G=r.n(Z),B=r(37135);function R(t){return R="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},R(t)}function q(){q=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:j(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",m="completed",y={};function v(){}function g(){}function b(){}var w={};l(w,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(D([])));S&&S!==r&&n.call(S,a)&&(w=S);var O=b.prototype=v.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==R(s)&&n.call(s,"__await")?e.resolve(s.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)}
vendor: 4,843 bytes, line 2
2)):e.resolve(s).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function j(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=C(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=f(e,r,n);if("normal"===l.type){if(o=n.done?m:p,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function C(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function z(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(z,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(R(e)+" is not iterable")}return g.prototype=b,o(O,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},E(L.prototype),l(L.prototype,c,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new L(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(O),l(O,u,"Generator"),l(O,a,(function(){return this})),l(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),y}}
2,catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function U(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function V(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function H(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){V(i,n,o,a,c,"next",t)}function c(t){V(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Y(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 W(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(r),!0).forEach((function(e){X(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Y(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function X(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=R(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=R(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==R(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var K={name:"OrganizationalChart",directives:{responsive:r(76981).Z},components:{Level:o.Z},props:{settings:{type:[Object,String],default:function(){return null}},groupSize:{type:Number,default:8}},data:function(){return{filterInput:null,panzoomInstance:null,errorMessage:null,jsonSettings:null,fullscreen:!1}},computed:W(W({},(0,f.Se)(["filter","filteredData","filteredDataCount","groupingSize","maxDepth","dataMaxDepth","scale"])),{},{chartIsFiltered:function(){if((m()(this.jsonSettings,"rootUserId","")||"").length>0)return!0;var t=m()(this.jsonSettings,"maxDepth");return"number"==typeof t&&-1!==t},message:function(){return this.errorMessage?this.errorMessage:"number"==typeof this.filteredDataCount&&0===this.filteredDataCount?this.resolveLabel("SearchEmptyText"):null},groupingSizeProxy:{get:function(){return this.groupingSize},set:function(t){this.setGroupingSize(t)}},inputHasErrors:function(){var t=(this.filterInput||"").trim().toUpperCase();return t&&t.length<3},panzoomDisabled:function(){return!this.panzoomInstance}}),watch:{filteredData:function(){if(!this.filteredDataCount)return this.panzoomDestroy();this.filteredDataCount<50&&this.setMaxDepth(this.dataMaxDepth),this.panzoomRefresh(!0)},groupingSizeProxy:function(t,e){"number"==typeof e&&this.panzoomRefresh(!0)},maxDepth:function(t,e){"number"==typeof e&&this.panzoomRefresh(!0)}},created:function(){var t=this;return H(q().mark((function e(){var r,n,o,i;return q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.panzoomRefreshDebounced=N()(t.panzoomRefresh,100),t.setGroupingSize(t.groupSize),!t.settings){e.next=9;break}if(r=(0,B.dW)(t.settings),n=U(r,2),o=n[0],i=n[1],!o){e.next=9;break}return t.jsonSettings=i,e.next=8,t.query(t.jsonSettings);case 8:t.errorMessage=e.sent;case 9:case"end":return e.stop()}}),e)})))()},beforeCreate:function(){this.$store=T()},beforeDestroy:function(){this.panzoomDestroy()},mounted:function(){this.markInstance=new(M())(this.$refs.container)},methods:W(W(W({},(0,f.OI)({setFilter:"filter",setData:"data",setGroupingSize:"groupingSize",setMaxDepth:"maxDepth",setScale:"scale"})),(0,f.nv)(["query"])),{},{toggleFullscreen:function(){var t=this;document.fullscreenElement?document.exitFullscreen().then((function(){return t.fullscreen=!1})):this.$el.requestFullscreen().then((function(){return t.fullscreen=!0}))},onHome:function(){this.panzoomRefresh(!0,0)}
2,onZoomEnd:function(t){var e=G()(this.panzoomInstance,"getTransform.scale");"number"==typeof e&&this.setScale(e)},onExpand:function(){this.setMaxDepth(Math.min(this.maxDepth+1,this.dataMaxDepth))},onCollapse:function(){this.setMaxDepth(Math.max(this.maxDepth-1,0))},getPanzoomTarget:function(){return this.$el.querySelector(".flowchart-tree > ul")},panzoomRefresh:function(t){var e=this;setTimeout((function(){t&&e.panzoomDestroy();var r=e.getPanzoomTarget();r&&r.classList.add("org-smooth"),e.panzoomInit(),e.refreshHighlight(),setTimeout((function(){r&&r.classList.remove("org-smooth")}),100)}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:600)},panzoomInit:function(){var t=U(u(this.getPanzoomTarget()),3),e=t[0],r=t[2];if(e<1)return this.panzoomInstance?this.panzoomInstance.setMinZoom(r):(this.panzoomInstance=function(t){if(t){var e=(i=u(t),l=3,function(t){if(Array.isArray(t))return t}(i)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(i,l)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}(i,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=e[0],n=e[2];if(r>=1)return null;var o={maxZoom:1,minZoom:n,initialZoom:n,zoomSpeed:.5,smoothScroll:!1,onTouch:function(t){return!t.target.closest("button")&&!t.target.closest("a")&&!t.target.closest(".cards-group-users")}};return a()(t,o)}var i,l}(this.getPanzoomTarget()),this.panzoomInstance&&this.panzoomInstance.on("zoom",this.onZoomEnd)),void this.setScale(r);this.panzoomDestroy(),this.setScale(1)},panzoomDestroy:function(){this.panzoomInstance&&(this.panzoomInstance.dispose(),this.panzoomInstance=null);var t=this.getPanzoomTarget();t&&(t.style=""),this.setScale(1)},focusOn:function(t){var e=this;this.panzoomInstance&&t instanceof HTMLElement&&setTimeout((function(){var r=e.getPanzoomTarget(),n="flowchart-highlight";r.querySelectorAll(".".concat(n)).forEach((function(t){t.classList.remove(n)}));var o=t.getBoundingClientRect(),i=o.x,a=o.y,c=o.height,u=o.width,l=r.getBoundingClientRect(),s=l.x,f=l.y,h=(i-s)/e.scale,p=(a-f)/e.scale,d={top:p,left:h,bottom:p+c/e.scale,right:h+u/e.scale};t.classList.add(n),e.panzoomInstance.smoothShowRectangle(d)}),1)},applyFilter:function(){this.setFilter(this.filterInput)},onClear:function(){this.setMaxDepth(0),this.filterInput=null,this.applyFilter()},refreshHighlight:function(){this.$nextTick((function(){this.markInstance.unmark(),this.filter&&this.markInstance.mark(this.filter,{element:"span",className:"chart-highlight",filter:function(t,e){return!((e||"").length<3)&&t.parentElement.classList.contains("highlight-enabled")}})}))},onShowFullChart:function(){var t=this;return H(q().mark((function e(){return q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.jsonSettings={showUserPhoto:m()(t.jsonSettings,"showUserPhoto")},e.next=3,t.query(t.jsonSettings);case 3:t.errorMessage=e.sent;case 4:case"end":return e.stop()}}),e)})))()}})},J=K,Q=(r(98493),(0,r(51900).Z)(J,n,[],!1,null,null,null));Q.options.__file="src/apps/organizational-chart/App.vue";var tt=Q.exports},1996:function(t,e,r){"use strict";r.d(e,{Z:function(){return F}});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ul",[t._l(t.managers,(function(e){return r("Card",{key:e.Id,attrs:{data:e,depth:t.depth}})})),t._v(" "),t.hasEmployees?[t.useGrouping?r("CardsGroup",{attrs:{data:t.employees,expandable:t.hasManagers,depth:t.depth}}):t._l(t.employees,(function(e){return r("Card",{key:e.Id,attrs:{data:e,depth:t.depth}})}))]:t._e()],2)};n._withStripped=!0;var o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("li",{class:{leaf:!t.hasChildren}},[r("div",{staticClass:"nodecontent"},[r("User",{attrs:{data:t.data}}),t._v(" "),t.hasChildren?r("button",{staticClass:"collapse-button",class:{expanded:t.expanded},attrs:{title:t.resolveLabel(t.expanded?"OrganizationalChartViewerCollapseButtonLabel":"OrganizationalChartViewerExpandButtonLabel")},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.toggle.apply(null,arguments)}}},[r("i",{staticClass:"fas fa-angle-down"})]):t._e()],1),t._v(" "),r("transition",{attrs:{name:"fade-scale"}
2,on:{"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[t.hasChildren&&t.expanded?r("Level",{ref:"level",attrs:{data:t.children,depth:t.depth+1}}):t._e()],1)],1)};o._withStripped=!0;var i=r(27361),a=r.n(i),c=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("a",{staticClass:"card",class:{"flowchart-highlight":t.highlight},attrs:{id:t.domId,href:t.permalink,target:"_blank"}},[t.photo?[r("div",{staticClass:"user-photo-circle"},[r("transition",{attrs:{name:"fade"}},[t.showPhotos?r("img",{staticClass:"user-photo-circle",attrs:{loading:"lazy",src:t.photo}}):t._e()])],1)]:t._e(),t._v(" "),r("h4",{staticClass:"highlight-enabled"},[t._v(t._s(t.label))]),t._v(" "),r("div",{staticClass:"properties"},t._l(t.properties,(function(e,n){return r("p",{key:n,staticClass:"highlight-enabled"},[t._v("\n      "+t._s(e)+"\n    ")])})),0)],2)};c._withStripped=!0;var u=r(20629);function l(t){return l="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},l(t)}function s(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){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==l(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var p={name:"OrganizationalChartUser",props:{data:{type:Object,required:!0}},computed:f(f({},(0,u.Se)(["showPhotos"])),{},{highlight:function(){return a()(this.data,"Highlight")},permalink:function(){return a()(this.data,"PermaLink")},label:function(){return a()(this.data,"Label")},id:function(){return a()(this.data,"Id")},domId:function(){return"_".concat(this.id)},photo:function(){var t=a()(this.data,"UserPhotoUrl","").trim();return t?"".concat(a()(window,"master.webpackBasePath","")).concat(t):null},properties:function(){return a()(this.data,"Properties",[])||[]}}),beforeCreate:function(){this.$options.components.Level=r(1996).Z}},d=r(51900),m=(0,d.Z)(p,c,[],!1,null,null,null);m.options.__file="src/apps/organizational-chart/components/User.vue";var y=m.exports;function v(t){return v="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},v(t)}function g(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 b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){w(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function w(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==v(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var x={name:"OrganizationalChartCard",components:{User:y},props:{data:{type:Object,required:!0},depth:{type:Number,default:0}},data:function(){return{expanded:!0}},computed:b(b({},(0,u.Se)(["maxDepth","filter"])),{},{children:function(){var t=a()(this.data,"Children");return Array.isArray(t)&&t.length?t:null},hasChildren:function(){return Array.isArray(this.children)&&this.children.length>0}}),watch:{maxDepth:function(t){this.expanded=this.depth<t}},beforeCreate:function(){this.$options.components.Level=r(1996).Z},created:function(){this.expanded=this.depth<this.maxDepth},methods:{toggle:function(){this.expanded=!this.expanded},afterEnter:function(t){this.$root.panzoomRefreshDebounced()},afterLeave:function(t){this.$root.panzoomRefreshDebounced()}}},S=(0,d.Z)(x,o,[],!1,null,null,null);S.options.__file="src/apps/organizational-chart/components/Card.vue";var O=S.exports,E=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.expandable?r("li",[r("div",{staticClass:"nodecontent"},[t.expanded?r("CardsGroupInner",{ref:"inner",attrs:{data:t.data}}):r("div",{staticClass:"card"},[r("h4",[t._v("\n        "+t._s(t.resolveLabel("OrganizationalChartViewerCardsGroupLabel",null,[t.groupSize]))+"\n      ")])]),t._v(" "),r("button",{staticClass:"collapse-button",class:{expanded:t.expanded},attrs:{title:t.resolveLabel(t.expanded?"OrganizationalChartViewerCollapseButtonLabel":"OrganizationalChartViewerExpandButtonLabel")},on:{click:t.toggle}},[r("i",{staticClass:"fas fa-angle-down"})])],1)]):r("li",{staticClass:"leaf"},[r("div",{staticClass:"nodecontent"},[r("CardsGroupInner",{ref:"inner",attrs:{data:t.data}})],1)])};E._withStripped=!0;var L=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"cards-group-users"},t._l(t.data,(function(t){return r("User",{key:t.Id,attrs:{data:t}})})),1)};L._withStripped=!0;var j={name:"OrganizationalChartCardsGroupInner",components:{User:y},props:{data:{type:Array,default:function(){return[]}}},mounted:function(){this.$el.addEventListener("wheel",this.wheelHandler,!0)},beforeDestroy:function(){this.$el.removeEventListener("wheel",this.wheelHandler)},methods:{wheelHandler:function(t){return t.stopPropagation(),!1}}},C=(0,d.Z)(j,L,[],!1,null,null,null);C.options.__file="src/apps/organizational-chart/components/CardsGroupInner.vue";var z={name:"OrganizationalChartCardsGroup",components:{CardsGroupInner:C.exports},props:{data:{type:Array,default:function(){return[]}},expandable:{type:Boolean,default:!0}},data:function(){return{expanded:!0}},computed:{groupSize:function(){return this.data.length}},beforeCreate:function(){this.$options.components.Level=r(1996).Z},methods:{toggle:function(){this.expanded=!this.expanded,this.$root.panzoomRefreshDebounced(!1)}}},_=(0,d.Z)(z,E,[],!1,null,null,null);function P(t){return P="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},P(t)}function D(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 k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
2e%2?D(Object(r),!0).forEach((function(e){A(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function A(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=P(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=P(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==P(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t){var e=t.Children;return Array.isArray(e)&&e.length>0}_.options.__file="src/apps/organizational-chart/components/CardsGroup.vue";var I={name:"OrganizationalChartLevel",components:{Card:O,CardsGroup:_.exports},props:{data:{type:Array,default:function(){return[]}},depth:{type:Number,default:0}},computed:k(k({},(0,u.Se)(["groupingSize"])),{},{filteredData:function(){return this.data},managers:function(){return this.filteredData.filter((function(t){return T(t)}))},employees:function(){return this.filteredData.filter((function(t){return!T(t)}))},hasEmployees:function(){return this.employees.length>0},useGrouping:function(){return this.employees.length>this.groupingSize},hasManagers:function(){return this.managers.length>0}})},M=(0,d.Z)(I,n,[],!1,null,null,null);M.options.__file="src/apps/organizational-chart/components/Level.vue";var F=M.exports},98493:function(t,e,r){var n=r(67322);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals),(0,r(45346).Z)("57305095",n,!1,{})}}]);

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.